What the hell kind of magic number is this? Define that stuff in an environment variable, and write a singleton to make the value transparently available where you need it.
- 0 Posts
- 23 Comments
I believe it. I don’t work at Amazon, but I’ve seen proudly launched pieces of shiny crap support promotions at other companies.
It’s realer than vibe coding.
I can live without documentation and comments, but then you’ve got to write really well-structured, self-documenting code. Which means long variable names (or better: local constants) that describe exactly what’s in them, and function names that describe clearly what the function is for, and readable code that shows what it does.
But perhaps expecting that kind of discipline from people who lack the discipline to write documentation, was not entirely realistic.
The system I’m working on is shit. The devs all know it, the users all complain about it. It needs to be fixed, and not only do I seem to be the person most driven to fix it, it turns out I’ve been hired explicitly to replace the shittiest part of it. So that’s actually pretty good, right?
Except my PO doesn’t quite want me to do that yet. First, he needs me to shovel more shit onto it. Shit that’s going to be the first stuff that I’ll replace once I get to replace stuff, and then that stuff will be a lot easier, whereas now it would be a lot harder and too slow to be useable. But new features are more important than making this useable.
He’s a nice guy, but he doesn’t get technical priorities, and priorities are the primary responsibility for a PO.
All these traitors using USB… A real patriot connects their peripherals only through the USA.
March was the first month of the Roman year. Not sure why that changed.
But if that’s how you’re going to run it, why not also train it in that mode?
Or they are passionate and curious about reinventing the wheel.
Well, there’s multiple months in a year, but only one day per day, so that makes total sense somehow.
Isn’t this basically a kind of insider trading? They wouldn’t be allowed to buy that stock, knowing that this deal is about to happen, but receiving it as part of the deal is okay? That doesn’t feel right to me.
What!? It’s more user friendly this way. No need to make the user switch to a totally different device when you can tell them right here!
/s
(I hate pointing out sarcasm, but it’s better not to risk it these days.)
Do they have any evidence that F-droid serves more malware than Play Store?
This does sound very interesting. I should have said the debuggers I’m familiar with don’t do it. Or if they do, I have no idea how.
Certainly setting breakpoints on certain conditions instead of just a line, would help a lot. Being able to step backwards through the execution even more so.
I can also see the variables change by logging them.
Debuggers are great if you want to see in detail what’s going on in a specific loop or something, but across a big application with a framework that handles lots of things in unreadable code, multiple components modifying your state, async code, etc.; debuggers are a terrible way to track what’s going on.
And often when I’ve found where it goes wrong, I want to check what was happening in a previous bit of code, a previous iteration or call. Debuggers don’t go back; you have to restart and run through the whole thing, again finding exactly where it went wrong, but now just a bit before that, which is often impossible.
With logging, you just log everything, print a big warning where the thing has gone wrong, and scroll back a bit.
Debuggers are a fantastic bit of technology, but in practice, simple logging has helped me far more often. That said, there are issues where debuggers do beat logging, but they’re a small minority in my experience. Still useful to know both tools.
Nothing wrong with console.log.
Yeah, super annoying. In Linux you can rename or move it and the app using it doesn’t care.
Although having the option of listing the app using a file so I can kill the app would also be really nice to have. I’m sure Linux has something for that too, but I don’t know what it is.
No man, Woz has a completely different beard.
That’s not what I picked up from it. The biggest idea that it presents very early in the book is that of a shared subjective truth: most of the things that make up our society, like countries, laws, corporations, etc. do not exist objectively; they only exist because we all believe in them. Objectively, these things don’t exist, but our society is built upon everybody agreeing that these imaginary orders exist, and we’re constantly inventing new imaginary structures on top of that.



There’s a few frames missing, unfortunately.