

That’s why I always carry around my pocket globe and compass to scale and compare distances accurately.


That’s why I always carry around my pocket globe and compass to scale and compare distances accurately.


I’m all fairness, he’s drawing direct apples to apples comparisons between electrical generation to gasoline production, fuel energy per acreage for corn ethanol vs solar vs wind, cost benefits for investment now and the long term sustainability of stable materials vs consumables. His audience is probably not the people that generally need to be told that electric over fossil fuels is just better, but it’s still cool to be able to fully understand the context by giving direct conversions, and useful for having that discussion with others. Honestly, my wife and I started looking at trade in values to possibly switch one of our vehicles to an EV soon, basically entirely because of the points he made about the financial viability now. So, he inspired me, for what that’s worth.


I mean… he has like 4 videos about led Christmas lights, but… this is definitely in the top 5.


deleted by creator
I mean… that is just good design. The main function should be the initializer and orchestrator of the logic. You should be able to look at the main function and tell, at a high level, what the program is doing. It should be usually pretty basic and procedural. Other functions handle the details and complexity.


It’s a silly riddle that, for some reason, has stuck around in my head for decades, I think from an old tv show (anyone else remember Crashbox?). I remembered the answer immediately. So, this would be less of a test of my reasoning/problem solving skills, and more of a test of my ability to find and store vast amounts of useless trivia and instantly recall it decades after the fact. If that’s what you’re hiring for, I’m your guy!
Propogation of Errors by Bleak Knowledge About Coding


Take it up with the Employers under paying, the Landlords over charging, and the Goverment Officials that prioritize anyone but the poor. They got my money. Ask them for yours.


Damn, Santa has so many Elf mouths to feed. And don’t act like we don’t owe him one. Didn’t see a damn thing.


Mines nothing amazing, really, but i find it handy.
I 🏴☠️ movies. The downloads often come with excess files, images, text, sample videos, etc. The only files I want beside the movie file are subtitle files if they came with the download. And the video files often have obnoxiously long file names with coding info in it, the uploader’s name, etc. And sometimes they get nested weirdly.
Most of the time, the file name and nesting is not really a big deal since I use plex and does good at ignoring nesting and it typically matches the title to imdb entries even if the file name is full of garbage. But sometimes it doesn’t match correctly and has to be manually fixed. And I just want my files to be clean, readable, and get rid of the bloat.
So I made a script that walks through my movie libraries, deletes all unneeded files, generates a directory structure dependent on whether or not there are subtitles, and renames the files (and directories) by removing all of the junk words and coding and leaving only the title and release year. Like I said, it’s nothing amazing, but it’s the only utility I ever wrote in it’s entirety for myself that I actually use on the regular.


Sure. There were worse problems to. SQL injection vulnerabilities, dense functions with hundreds of lines of spaghetti code, absolutely zero test coverage on any project, etc. That’s just the easiest to show an example of and it’s also the one that made me flinch every time I saw it.
"".equals() 😨


Joined a new team and one of my first tasks was a refactor on a shared code file (Java) that was littered with data validations like if ("".equals(id) || id == null) { throw new IllegalArgumentException() }
The dev who wrote it clearly was trying to make sure the string values were populated but they apparently A) didn’t think to just put the null check first so they didnt have to write their string comparison so terribly or else didnt understand short circuiting and B) didn’t know any other null-safe way to check for an empty string, like, say StringUtils.isEmpty()


I don’t agree about the movie being better, mostly because I think getting Mark’s inner monologue made much of the humor land so much better than the vocalized stuff in the movie. And they had to handwave a bunch of the more technical sciences and engineering that I found genuinely interesting in the book. But it was very cinematic and a pretty solid adaptation.
I expect PHM will have to do some more handwaving on the science, which will be unfortunate, but I also think Ryan can deliver on the humor a bit better than Matt did, so I am anticipating that to work quite well. I feel like Ryan’s personality will be a good foil for both the ultra series nature of the threat and the characters dealing with it and the more out there sci-fi elements in PHM (compared to The Martian).


I wont judge a whole movie just from three still images. I’ll reserve my true judgement for later. But I will say that the costume design looks suitable. And the actors, physically, arent far off from what I would expect for their characters, so I’m at least pleased with that. The tone invoked by the imagery feels a bit off, but, again, without context, that’s basically no information at all.
Ah yeah, those eggs would be moist. They didn’t have cinnamon and vanilla in them, did they? 😝
Also, I’ve never air fried sausage links before. I can see how that would probably get the whole sausage cooked through before much browning on the casing happens that way. When pan-searing, the casing gets much darker from direct contact with the pan, and it taken longer for that heat to conduct in the meat in the middle. I usually sear them and get them nice and brown, tossing them around to get even browning all over, and pull them at the first sign that casing is about to split.
Personally I’d brown the sausage a bit more and get a softer scramble on the eggs, bit it looks good. Well done
Had to do a double take and zoom in to see that they were just painted. I was confused and concerned for a second there.
Is this guy dumb or secretly anti-billionaire? Gathering a bunch of billionaires in a small area, walking slowly in public streets, specifically to rally in favor of billionaire in this political climate. I would be more surprised if a shooter DIDNT take the opportunity.