246 karma · joined Oct 8, 2021 (5y ago) · 102 submissions
comment 3mo ago · link · parent
[1] https://en.wikipedia.org/wiki/Red_Storm_Rising_(video_game)?...
comment 3mo ago · link · parent
3.
Seven Obscure Languages in Seven Weeks(pragprog.com ↗)
1 points · by iroddis · 3mo ago · 1 comment
comment 3mo ago · link · parent
This entire essay could be about AI adoption as well. Some programmers love to program, and while AI is great at producing the code, it doesn’t really viscerally appeal if one loves coding itself.
comment 5mo ago · link · parent
When I talked to the dealers, they said that the speedometers only have to be accurate +/- 10% according to the SAE specifications.
After DieselGate I assumed that the high reading was to game the fuel consumption game.
Never again, VW auto group…
comment 5mo ago · link · parent
Do you do any tracking of resource consumption over the runtime of a job? We have many jobs that use the requested memory only for a portion of the runtime, and are otherwise compute bound. It would be nice to be able to learn the profiles through time of jobs and layer them to get better resource utilization.
comment 5mo ago · link · parent
I’m not sure what this means. Computers are based on binary, but not everything is a single bit. Even if you wanted to use a ternary base the digit values would be 0, 1, and 2, not -1,0,1.
If anything this project is a testament to Claude’s ability to generate anything meaningful from the non-sensical requirements.
Also, you should probably want to remove the “hand-coded” claim.
9.
The Sludge on the Wall(grox.io ↗)
1 points · by iroddis · 6mo ago · discuss
comment 7mo ago · link · parent
comment 7mo ago · link · parent
Were the concepts weighted by response counts? I’d imagine a good grade is a happy concept for everyone, but kissing a girl for the first time might only be good for about 50% of people.
comment 8mo ago · link · parent
Do you use a keyboard with mappings to make it easier? Rely on the editor to insert them for you?
comment 8mo ago · link · parent
comment 9mo ago · link · parent
Many, many telemetry metrics have been added in the name of power and efficiency. If a page refreshes every 30 seconds, is it still worthwhile doing it when the tab isn’t active? It would be better to wait until the tab is active again, then refresh immediately.
That being said, all of these capabilities are a privacy nightmare, only increasing the precision of browser fingerprinting and user monitoring. Firefox could have taken a stance on refusing to implement them, but I don’t think it has an easy opt out.
comment 10mo ago · link · parent
You could be an amazing player, but everyone will point out the cheat codes are on. The last refuge will be deeply niche programming or areas not well represented in, or not generalizable from, the vast training corpus.
comment 10mo ago · link · parent
Given the time, it’s hard not to view this same argument through the lens of AI. People who love crafting their creative works will still do it, even when AI can do it. They will still inspire others because they demonstrate what humans can do, and what we can aspire to.
comment 10mo ago · link · parent
Languages like Python are the worst for exacerbating issues. Perl at least would parse the entire codebase and do some validation. Python doesn’t evaluate until runtime, meaning that unless you have 100% test coverage of all functions and branches a typo could cause an issue long after the process started.
As others have mentioned it sounds like you co-worker has good ideas. Adding test coverage, being stricter about configs (don’t ignore known keys, validate structure … as much as people hat XML, DTDs are an amazing help for catching config errors) are all things that will pay off down the road.
Long story short, instead of looking at your coworkers suggestions as a way to guard against their mistakes, take some time to understand that they live in a more chaotic worldview than you do, and have strong experience in dealing with it. Heck, put them in charge of QA processes. They sound like they’ve got the experience, and will feel better when that experience is appreciated.
comment 11mo ago · link · parent
That being said, as someone who struggles with maintaining large amounts of context when I’m debugging, I’d find context-specific execution hard to follow and debug. As a concrete example, the switch to an Admin context could appear far away from the call to GetPermissions without any obvious way to figure that out. Contexts end up being a sort of global state.
If you continue with this route, it would be nice if there was a way to print out the stack of the current contexts in play and where they were set in the code.
Are contexts scoped at all? Can they be layered?
comment 1y ago · link · parent
I don’t have anything against async, I see the value of event-oriented “concurrency”, but the complaint that async is a poison pill is valid, because the use of async fundamentally changes the execution model to co-operative multitasking, with possible runtime issues.
If a language chooses async, I wish they’d just bite the bullet and make it obvious that it’s a different language / execution model than the sync version.
comment 1y ago · link · parent
Plus, it’s a rare win/win of indulgence and plausible productivity.
comment 1y ago · link · parent
I’m guessing some languages would allow for checking to ensure that any induced effects are correctly noted and advertised so that the system as a whole can be more easily reasoned about.
comment 1y ago · link · parent
comment 1y ago · link · parent
I would highly recommend them to anyone interested, they’re also surprisingly re-readable.