21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 9mo ago · link · parent
Every TS project I've worked on has an assertNever(val) thing specifically to check for this kinda stuff
comment 9mo ago · link · parent
Unmounting and then remounting the same component is actually a bad thing when you lose your component state in the process. And when you have enough useEffect's in your system that's exactly what happens unless you're liberally sprinkling useMemo
comment 9mo ago · link · parent
It's not the end of the world, but I've had to help more than one person walk through this process cuz they're like "I can't update the OS????"
comment 9mo ago · link · parent
I say this as someone who does browse the web view for repos a lot, so I get the niceness of browsing online... but even then sometimes I'm just checking out a repo cuz ripgrep locally works better.
comment 9mo ago · link · parent
Even for really old stuff like Space Harrier the feeling of moving along with the screen gives you a more visceral experience than almost any VR setup. Hard to fake the effects of gravity!
[0] has a list (in japanese) of moving arcade machines. Mikado in Takadanobaba has some of these. These things are getting older and older of course so the window of opportunity is unfortunately shrinking as time goes on.
(EDIT: just realised that list itself is over 10 years old at this point so YMMV)
comment 9mo ago · link · parent
I think if you orient your experimentation right you can think of some good tactics that are helpful even when you're not using AI assistance. "Making this easier for the robot" can often align with "making this easier for the humans" as well. It's a decent forcing function
Though I agree with the sentiment. People who have been doing this for less than a year convinced that they have some permanent lead over everyone.
I think a lot about my years being self taught programming. Years spent spinning my wheels. I know people who after 3 months of a coding bootcamp were much further than me after like ... 6 years of me struggling through material.
comment 9mo ago · link · parent
Already at the level of what stories are covered you have made choices about what's important or not.
Your newspaper not covering your neighbors lawsuit against the city against some issue because they find it to be "not important" is already a viewpoint-based choice
A newspaper presenting both sides on an issue (already simplifying on the "there are two sides to an issue" thing) is one thing. Do you also have to present expert commentary that says that one side is actually just entirely in bad faith? Do you write a story and then conclude "actually this doesn't matter" when that is the case?
There are plenty of descriptions that some people would describe as fair story telling and others would describe as a hit piece. Probably for any article on any controversial topic written in good faith you are likely able to find some people who would claim it's not.
I think it's important to acknowledge that even good faith journalism is filled with subjectivity. That doesn't mean one gives up, you just have to take into account the position of the people presenting information and roll with that.
comment 9mo ago · link · parent
I think generally it's more about sketching the high level structure of the code. I will routinely write things like :
documents = ...
by_client = documents.group_by(client)
for client, doc_set in by_client:
for doc in doc_set: csv.write(doc)
Not at all following the actual APIs I use, but I can fill in the blanks when getting the code in place.The above is very simple, of course, usually I'm working through something where I just want to play through what pieces of data I might or might be missing
comment 9mo ago · link · parent
comment 9mo ago · link · parent
There can be a futility to it all in that the “ideal option” simply isn’t produced of course.
I find boots theory is often a bit too convenient in this topic though. There is unlikely to be magic structural solutions that allow every part of your life to remain as convenient. At one point our lives will have to change in structure.
EDIT: to be extra clear, I think systemic coordinated changes is needed. I just think the “it’s the corporations doing this!” narrative to obscure the needs for reorganization of daily life on top of systemic change
comment 9mo ago · link · parent
Society’s choices and lifestyles are the cause of fossil fuel consumption, at a very high level. The plastic bag exists because it has users.
There are quantitative arguments against many silly consumer-focused initiatives. In aggregate tho companies aren’t burning fossil fuels for fun. Burning fossil fuels costs money, and a lot of people would rather not spend that money!!
comment 9mo ago · link · parent
I don't get this, are you saying that this aliasing is just an artifact of the emulation? Like the GBA speaker/headphone jack itself would also be affected by the same aliasing right? And in that case the song was composed for that, right?
I don't think it would be right to go as far as to say that there's a huge strong interplay in every single GBA title's song with the hardware (I'm sure some stuff was phoned in and only listened to by the composer in whatever MIDI DAW thing they were using) but at one point the GBA was the target right?
comment 9mo ago · link · parent
Obviously technically the same things are possible but I gotta imagine there's a bit less noise on projects hosted on other platforms
comment 9mo ago · link · parent
I don't think I've ever seen something this exploitable that is so prevalent. Like couldn't you just sit in an airport and open up a wifi hotspot and almost immediately own anyone with ATI graphics?
comment 9mo ago · link · parent
And he was like "people say 'even the music?' The music was the easiest part!!!'
It does make me feel like once you get into the right headspace and figure out how most of the tooling works all of this becomes quite smooth.
comment 9mo ago · link · parent
So many times when trying to just go for simplicity with SQLite it takes me like one working day until I run up against enough annoyances to where resolving those is more work than setting up the "set up and forget" postgres instance.
Granted, this is for personal stuff... but "Postgres packaged for low maintenance" is present in a lot of OS package managers! Even for smaller data analysis work SQLite perf leads _loads_ to be desired (once had QGIS struggling with a sqlite DB... pg made everything mostly instant. Indices etc... but stuff I _couldn't easily get with sqlite_)
If SQLite works for you that's great, I do think it's worth it for people to _try_ to do simple pg setups to understand just how painful it is to use pg (for me: not that high)
comment 9mo ago · link · parent
If Anthropic is positioned as "thing for professionals to do professional work" then I think you just avoid this issue entirely. Fee for service. OpenAI trying to be the thing everyone is using won't work in that model, though.
comment 9mo ago · link · parent
Fraud is always fun to look at because people are constantly looking for those little windows of trust that end up forming in these flows because otherwise everything would take months to execute upon.
[0]:https://mainichi.jp/english/articles/20181121/p2a/00m/0na/00...
comment 9mo ago · link · parent
How does that make any sense to the company? Who's out here wanting their salary in stablecoin? And who among those want that and can't receive dollars and then turn them into stablecoin?
There's a sliver of talent that won't have access to the US banking system, but I can't imagine that making it worth putting up with risk + txn costs of stablecoins for the whole company.