HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jart

no profile record

Submissions

Social Animus

justine.lol
129 points·by jart·지난달·112 comments

The Great Unwind

occupywallst.com
324 points·by jart·5개월 전·347 comments

Hammurabi Currency Converter

justine.lol
3 points·by jart·9개월 전·1 comments

The Fastest Mutexes

justine.lol
896 points·by jart·2년 전·345 comments

comments

jart
·지난달·discuss
https://justine.lol/tmp/your-opinion-has-this-much-value.gif
jart
·2개월 전·discuss
It's honestly not that difficult to be rigorous. The things you mentioned in the blog post are pretty obvious forms of degenerate practices once you get used to seeing them. The best way to make your argument would be to bring up pointer overflow being ub. What's great about undefined behavior is that the C language doesn't require you to care. You can play fast and loose as much as you want. You can even use implicit types and yolo your app, writing C that more closely resembles JavaScript, just like how traditional k&r c devs did back in the day under an ilp32 model. Then you add the rigor later if you care about it. For most stuff, like an experiment, we obviously don't care, but when I do, I can usually one shot a file without any UB (which I check by reading the assembly output after building it with UBSAN) except there's just one thing that I usually can't eliminate, which is the compiler generating code that checks for pointer overflow. Because that's just such a ridiculous concept on modern machines which have a 56 bit address space. Maybe it mattered when coding for platforms like i8086. I've seen almost no code that cares about this. I have to sometimes, in my C library. It's important that functions like memchr() for example don't say `for (char *p = data, *e = data + size; p<e; ...` and instead say `for (size_t i = 0; i < n; ++i) ...data[i]...`. But these are just the skills you get with mastery, which is what makes it fun. Oh speaking of which, another fun thing everyone misses is the pitfalls of vectorization. You have to venture off into UB land in order to get better performance. But readahead can get you into trouble if you're trying to scan something like a string that's at the end of a memory page, where the subsequent page isn't mapped. My other favorite thing is designing code in such a way that the stack frame of any given function never exceeds 4096 bytes, and using alloca in a bounded way that pokes pages if it must be exceeded. If you want to have a fun time experiencing why the trickiness of UB rules are the way they are, try writing your own malloc() function that uses shorts and having it be on the stack, so you can have dynamic memory in a signal handler.
jart
·2개월 전·discuss
So my mission critical infrastructure depends on a group whose bar for entry is having a proton mail account.

I bet they claimed to be protecting trans people to get that policy changed too.
jart
·2개월 전·discuss
The compiler is still able to devirtualize and inline the p->f() call, even with an external linkage call preceding it. https://clang.godbolt.org/z/jE3o56ozz
jart
·2개월 전·discuss
I know, right? It's like, finally—a threat actor who's intelligent enough to understand what capital means in the open source community and is willing to devote resources to engage with it authentically (even if it's for evil nefarious ends). The xz incident showed that the open source community has many other good defense mechanisms for verifying and spotting malicious work and then solving it. But we won't even get to play that game if we're inundated with anonymous agent spam so that GitHub can juice its MAU numbers. Maybe they should require every account buy a $40 yubikey. I don't know what the answer is. But I know that no one gains when your measure of success is driving the cost of burning open source developers out down to literally zero.
jart
·2개월 전·discuss
This is great example of the toxic effect money has on open source. Reward people with respect and recognition instead. Weird anonymous accounts no one's ever heard of will leave, because someone (or something) who's concealing their identity has nothing to gain from recognition. Honestly GitHub should have a real names policy. Because if you're not Satoshi Nakamoto then there's only three reasons I can think of to be anonymous on GitHub: (1) to avoid obtaining your employer's authorization, (2) to spam, harass, and engage in toxic behaviors, or (3) you're not even human. All three of these are the last things I want when engaging on the GitHub platform. Don't get me wrong, I love robots. But I'm perfectly capable of talking to the robot on my own. I don't want to talk to your robot. I also don't want people slipping me intellectual property below the board without their employer's consent. And I certainly don't enjoy all the hate and harassment. GitHub has tried to help with the last part, by making overt displays of hate something that can get you in trouble. The issue is that people just get more guilesome with more anonymous accounts, because the issue was never disrespect (which can actually be strategic and pro-social if we look at Torvalds' career), but rather bad faith participation. If GitHub can guarantee that all its users are human real names good faith actors, then we might be able to start talking about open bounties.
jart
·2개월 전·discuss
I only wrote that text file a few weeks ago. Also isn't stealing code what open source is all about?

If only you could see how much code I've stolen from Rich Felker, David Gay, Sun Microsystems, etc.
jart
·2개월 전·discuss
Have you ever read my side of the story? https://justine.lol/dox/4chan.txt
jart
·2개월 전·discuss
I'm not sure you understand how the Internet works. I'm here to share thoughts, not to prove I'm smarter than people.
jart
·2개월 전·discuss
They're funded by patronage. It's the most ancient economical model.
jart
·2개월 전·discuss
There are a million doctors in the U.S. so if they're each seeing 60 patients per day that would mean that 17% of the population needs to be seen by a doctor daily.

That would put hospitals somewhere between churches and offices in terms of the impact they have attracting attendance.
jart
·2개월 전·discuss
Oscar Toledo did it in 510 bytes https://github.com/nanochess/cubicDoom
jart
·2개월 전·discuss
Firefox is the best. While Google tries to regulate the ad industry, Mozilla is working to safeguard our freedom to refuse.
jart
·2개월 전·discuss
Do you have an adblocker? First thing this website did was try to get me to install a chrome extension.
jart
·2개월 전·discuss
Anthropic will probably do what Google did in the 2000s, which is give jobs to all the open source developers whose work helped them get there.

Civilization isn't monotonic. People keep solving the same problems over and over again, telling the same stories with a different twist. For example in 1964 having a GUI work environment with a light pen as your mouse was a solved problem on IBM System/360. They had tools similar to CAD. So why don't we all just use that rather than make the same mistakes again. Each time a new way of doing things comes out, people get an opportunity to rewrite everything.
jart
·2개월 전·discuss
You have to push the robot to be as fanatical as you are. It holds so much back, always aiming to do the simple normal thing that most people do, rather than the top-notch stuff it knows.
jart
·2개월 전·discuss
So you're both saying all the alpha in Claude comes from open source devs like me? Even when I'm wrong I'm right.
jart
·2개월 전·discuss
I value software that reveals knowledge. The frontier LLMs were trained on all the code that institutions had been keeping to themselves. So they're revealing programing know-how on a scale that just wasn't possible with open source. LLMs are the ultimate Prometheus. Information is more accessible and useful now than it's ever been.
jart
·2개월 전·discuss
> This makes a lot of sense to me. It relates to an idea I've seen circulating elsewhere: if a PR was mostly written by an LLM, why should a project maintainer spend time reviewing and discussing that PR as opposed to firing up their own LLM to solve the same problem?

The same argument applies to open source itself. Why use someone's project when you can just have the robot write your own? It's especially true if the open source project was vibe coded. AI and technology in general makes personalization cheap and affordable. Whereas earlier you had to use something that was mass produced to be satisfactory for everyone, now you have the hope of getting something that's outstanding for just you. It also stimulates the labor economy, because you have lots of people everywhere reinventing open source projects with their LLMs.
jart
·3개월 전·discuss
Photopea is great but I switched to Pixelmator Pro. I just paid $49.99 one time. It's a clean native app. It doesn't install all these horrors of horror on my system like Photoshop did. It doesn't try to pressure me into using some half baked AI tool. (I mean could you imagine what that must be like being an artist who hates AI and Adobe shoves it in your face?) I can't believe I was paying $40/month for Photoshop for so long. Thankfully I got all my money back and more by shorting Adobe's stock. After spending so many years drinking unicorn blood, no software company deserves to fall more. Everyone who invested in them, hoping to get rich off torturing artists and tax payers, deserves to lose their money too.