HN user

dfinninger

481 karma
Posts0
Comments192
View on HN
No posts found.

Django+Postgres.

So far I haven’t needed anything fancy like Htmx, but interested in looking into it in the future.

I’ve tried playing with things like Elixir or Go, but I know Python and am instantly productive in it. If I want to do something to play with a new stack, I will. But I want something done, then Python is the fastest way for me to get something useable.

My favorite:

alias gfp=“git commit --amend --no-edit && git push --force-with-lease”

For those “whoops, for got to add $x file” moments or typos

Which is interesting because, anecdotally, I’ve had the exact opposite experience. I’ve lived in Dallas and Austin for a collective 27 years. And the number of outages I’ve had bewilders friends and family that are out of state. Since I’ve moved out of Texas a few years ago I haven’t had a single power outage.

In my family while growing up we kept flashlights and candles handy, and us kids were (very lightly) drilled on where to find them when the power went out. And again, this was in the middle of the metro, not out in any rural parts.

Django was actually fine. They had the same codebase running on Python 2 and three, so you could update whenever. Since Django includes so many batteries, I didn’t have any trouble porting that over.

However, early versions of Python 3 were slower than Python 2, and also some breaking changes were getting rolled back (e.g. PEP-414, which was targeting Python 3.3), which contributed to a lot of library authors dragging their feet in upgrading their support.

So, yes, it was libraries causing the most headaches, but there was a sense at the time of wondering when the upgrade would become “real”. Depreciating py2 took 11 years after the release of 3.0.

In a one-pedal-driving scenario the neutral position is when the gas pedal is slightly depressed.

By default, with no feet on pedals, the EV will decelerate. An ICE car will coast when nothing is depressed.

I highly recommend YNAB. It pulled my financial life together a decade ago. Synced apps on the phone and web. It also introduced me to envelope budgeting, which I found to be super useful.

If you want to do investment tracking, I don’t think it’s the best for that.

I think the point is that those three senior engineers could figure out how to do some SAML wrapper or remote execution on top of Open-Source Terraform instead of paying for the turn-key “Enterprise” features.

The easy default here would be to have a runbook that executed on a particular inventory group.

The “linear” execution strategy is the default (which you linked to). By default, if there is an error on one host it will continue executing on all other hosts. You need to set a flag to stop executing on all hosts[1].

The parent process would not be notified of any failures until the end of the run, unless you supplied a custom callback plugin[2].

[1] https://docs.ansible.com/ansible/2.8/user_guide/playbooks_er...

[2] https://docs.ansible.com/ansible/latest/plugins/callback.htm...

Something that I picked up after watching one of J. Kenji López-Alt’s videos was chaining ingredients. Specifically the difficult ones and not necessarily just reusing the rest of the green onion in the bottom of the fridge.

So, now I give myself a budget of one or two “difficult/time consuming” ingredients. This can be Demi-glacé or some other homemade reduction, soy-marinated eggs, slow-cooked brisket, etc. And I make more of it than I need to.

Then I make and eat the meal I was planning on, but I now have a leftover ingredient. Then for my next meal, I can re-use that ingredient and choose another difficult one. It helps with inspiration and effort level.

An example would be: make homemade tomato sauce then make Spaghetti. Next make dough and reuse the sauce into some homemade pizza. Then use the rest of the dough for garlic bread next to a salad (and maybe there’s a little red sauce left for dipping). Etc.

Of course, I’m not doing this for individual meals, I’m batching it up into 3-4 servings each.

I drive an electric car, but my wife has had a difficult time getting gas sometimes in Portland due to the operating hours, like you said. There have been days where she couldn’t fill up because there was no one at the pump. She’s excited for the change.

Not the most complex software, but definitely the most needlessly complex software.

I worked for a company where IT owned customer onboarding for historical reasons. Each customer had their own DB in the same server so that each site would be isolated. So onboarding was basically cloning a “gold DB” and templating some values.

The script that cloned the DB was over 50k lines of Batch files (Windows .bat). There were so many includes, GOTOs, random black holes, passwords in plain text, reliance on special IP whitelisting in the AD server… it had been grown organically by someone who didn’t know how to program and it was a major mess.

It took me three weeks to figure out what was happening, and another to make sure the details were correct.

I replaced the whole thing with <10 lines of an actual scripting language. Proved it worked. But the management at the time didn’t want to change the process…

My Facebook rant at the time got me invited to speak to an upcoming class at my Alma Mater about software quality.

Calling out excel, photoshop, and text editors (I’m assuming coding)… those are all computationally expensive tasks.

My mom runs her entire business off of her iPhone and iPad. I’d say that she’s doing “real work”. She just doesn’t need a discrete GPU.

My sister is in a similar boat with her business.

There are definitely certain classes of work that lend themselves to larger screens and an actively-cooled chassis. But many people don’t need the extras and are quite happy with the “mobile experience“. It’s just a different market. They love the updates coming down the pipe.

I usually go for “ciw“ to make changes from wherever I am in the word. It lets me use w or e because I’m not usually paying attention to which one I’m smashing. :)

It’s changed a good bit since last year. Since your talking about boarded up buildings I assume you were near Pioneer Square? They’ve taken that down (including the crazy dystopian metal grate around the Apple Store).

This conference is also east side at the convention center, I highly recommend checking out all the awesome restaurants on Williams and Broadway (Eater has lists for both).

Where are you staying? There are some parts of the core downtown (Old Town) that you might want to avoid, but the rest of Portland is not what the media portrays. Hell, even my family in the burbs (Beaverton, Cornelius) think it’s some crazy wasteland and constantly ask us if we feel safe and I have to laugh at them every time.

Go for a walk, rent a bike, and check out the amazing restaurant and brewery scene!

Apollo just auto-redirects to the app for me. Maybe it’s an issue with the official Reddit app or a config value somewhere?

How to quit cars 3 years ago

When you factor in a couple hours of wading through security checkpoints (at least in the US), it flips the timescale again for the short/medium trips.

You can pin messages in iMessage, which turns it into a big photo. Also when you hit the search button in Photos it’ll show you big images of people’s faces if you want to see photos of a particular person (if you’ve trained your phone on those faces).

I do wish the “favorites” view in the phone app made the headshots big like iMessage, though.

I’ve had as AS diagnosis for over a decade now and it was definitely a relief. Just having a name for why I wasn’t “normal”. Why everyone around was able to just do so much more than I could. That this was a real thing, I’m not somehow faking it, and there’s someone who can help.

I wish you luck and hope you find some physical relief as well!

Unless I’m mistaken, that refers to farmland and not developed housing. The opening words describe harvesting keep, fish, and animal husbandry. It seems to be decrying the fact that rent can be charged for a field of wheat, where nature did the work.

If there’s housing on that property, then that is something that was developed by the (current or previous) landlord for direct use by the tenant.

However, I’m unfamiliar with this work, so if a different conclusion is drawn elsewhere it would be interesting to read.