Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asveikau
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
211.
▲
by
asveikau
5mo ago
> TI-BASIC programs are stored as tokens, not text: every command, function, and variable is a token of 1 or 2 bytes. The OS detokenizes (token→display string) to show a program and tokenizes (keypress/text→token) on entry; the pars
212.
▲
by
asveikau
5mo ago
Not sure where I heard this, but I'm reminded of a story about someone predicting the dotcom crash early, circa 1998. For 2 years they were demonstrably crazy, and missed out on massive stock market gains. Then they were right. (And ye
213.
▲
by
asveikau
5mo ago
> when a new frontend framework came out every 3 months. > No one cares anymore. I never cared about this. I think this captures something that I've been searching for the words for. (Maybe I should have gotten an LLM to write th
214.
▲
by
asveikau
5mo ago
It's superfluous, goes against unix philosophy, solves problems that don't exist in the most obnoxious ways possible, and your distro packager is certainly better.
215.
▲
by
asveikau
5mo ago
Can confirm, I hate flatpak
216.
▲
by
asveikau
5mo ago
Depends on the use case, but TikTok is an alternative for many of them, I would say it generally feels more like the place where interesting things are happening vs. meta properties.
217.
▲
by
asveikau
5mo ago
Just want to come back with a simple example. This means if the program is multi threaded, you cannot rely on calling malloc in the child, because at the time of the fork another thread could have happened to be inside malloc doing manipula
218.
▲
by
asveikau
5mo ago
I never said it was a kernel imposed constraint. It remains unsafe behavior, and frankly you'd be stupid to ignore it if you want to write a stable multi threaded program. In colloquial shorthand, you can't do it. Signal safety
219.
▲
by
asveikau
5mo ago
I did not say they are constrained in what syscalls they can make, as if some nanny at the syscall entry point will punish you for doing wrong. I said that it interacts poorly with threads due to inherent race conditions. See the other comm
220.
▲
by
asveikau
5mo ago
I'm not talking about glibc implementation details. I'm talking about how mixing fork(2) with threads creates harmful race conditions. The forked child has only 1 thread in its process. If the parent's threads are holding a l
221.
▲
by
asveikau
5mo ago
Yeah, I think it is a reasonable transition path or implementation detail for some systems to implement it in userland atop fork(2), and others to natively spawn a new process without copying the old address space.
222.
▲
by
asveikau
5mo ago
That's not true. Just one example, if you do anything with threads you are pretty screwed. For example if another thread holds a mutex at the time of fork(2), and you also want that mutex.
223.
▲
by
asveikau
5mo ago
The things you can do between fork and exec are sometimes underestimated. Off the top of my head, you can call dup2(), you can set a process group id, probably a few other things. If you contrast that with win32, where you optionally pack a
224.
▲
by
asveikau
5mo ago
First, it's a joke. Second, there's the recent example of Instagram accounts being compromisable by asking a chat bot for a password reset with no authentication of the email address used for the reset. So yes, prompt injection or
225.
▲
by
asveikau
5mo ago
> The two big ones, are the execute bit, and the very fact that windows files represent the data on disk, while Linux ones are just a hardlink to the inode. This contrast is somewhat true of FAT but not NTFS. Which is to say, in FAT, the
226.
▲
by
asveikau
5mo ago
I was always disappointed with the design of wsl2. The wsl1 design of a syscall layer atop NT had greater architectural purity. They way I heard it, they introduced a virtual machine into the design specifically in order to bypass poor NT f
227.
▲
by
asveikau
5mo ago
I just have msys on my PATH.
228.
▲
by
asveikau
5mo ago
Correct, but my point was if they had taken measures to counteract that nobody would have been surprised.
229.
▲
by
asveikau
5mo ago
> certainly would have led to a path where Macintosh was just another abandoned experiment like the Apple III. This seems really extreme. You're saying a trackpad would have made the whole thing a failure?
230.
▲
by
asveikau
5mo ago
> Microsoft 30 years ago was the gold standard for bending over backwards for backward compatibility And for reselling you the same office suite every couple of years. (Full disclosure, I worked there in the 2000s... So if anything I sho
231.
▲
by
asveikau
5mo ago
Is it me or are people too eager to "one track mind" everything into AI? If I had said thirty years ago that Microsoft would remote disable old copies of Office asking you to upgrade, literally no one would be surprised. This is
232.
▲
by
asveikau
5mo ago
> Apple and Android will prefer it, My thought upon reading this is why would Apple or Android bother including rsync? I've noticed that I've needed to install it manually on fresh installs of Debian, FreeBSD... But then, I jus
233.
▲
by
asveikau
5mo ago
From the article in the comment above, it seems like lack of government involvement is a factor. The article says the courts were unwilling to settle purchase contract disputes. Sounds like a government that is not performing what we toda
234.
▲
by
asveikau
5mo ago
You and I must be watching a very different YouTube. I don't see a lot of AI generated stuff in my recommendations or search. My teenage daughter gets served a lot of iffy stuff with the ElevenLabs Adam voice though. Though sometimes
235.
▲
by
asveikau
5mo ago
The idea that you can automatically detect AI generated content seems misguided. It will make mistakes. I think I've heard of things being wrongfully tagged as AI generated on other platforms.
236.
▲
by
asveikau
5mo ago
15 years ago it was Pope Benedict, who was a pretty different figure. I can speak only for myself, but I would have had more cynicism about him than I would for Francis or Leo.
237.
▲
by
asveikau
5mo ago
I personally remember that people were calling the DHS a mistake since 2002. I also, as a DC native, was utterly shocked when I first heard "normies" taking DHS seriously as an entity. A friend mentioned DHS was hiring, and I th
238.
▲
by
asveikau
5mo ago
> HN is unusually non-tribalistic I think there are a few tribes coexisting here. Like I alluded to earlier, no tribe represents everyone here. But tribalism definitely exists in pockets.
239.
▲
by
asveikau
5mo ago
Often they do what Republicans used to do, which is mask it, dress it up to be polite and plausibly deniable, or make it seem like they're just a mainstream right of center person. Other times it surfaces as the way people vote on comm
240.
▲
by
asveikau
5mo ago
Can't say I've made any attempt to quantify it or talk to mods, but I feel this site is more receptive to racist right wing garbage than most communities I read or comment in.
More ›