sheheryar

1.1K posts

sheheryar banner
sheheryar

sheheryar

@_snaerr

systems guy. crackhead cto.

nyc Katılım Mayıs 2023
239 Takip Edilen546 Takipçiler
sheheryar
sheheryar@_snaerr·
@tylertrails does your contact at foundation know how far the wallets are in for implementing this rfc, now that it's stabilized?
English
1
0
0
71
Tyler
Tyler@tylertrails·
@_snaerr I saw your recent PR about Solana message signing. Am I understanding correctly that this is currently just a shitshow? I can't find any way to support offchain message signing that works for browser and hardware wallets without horrible UX or many many code paths.
English
2
0
1
83
sheheryar
sheheryar@_snaerr·
> kernel32 performs various path transformations as it passes filenames from user programs to ntdll and the kernel this can be reimplemented. unfucking the err handling, less so > They bypass libc and go straight to the kernel, breaking LD_PRELOAD shims Linux users rely on linux has a stable syscall abi. LD_PRELOAD is a massive hack. would you argue against certificate pinning in favour of allowing users to mitm themselves?
English
2
0
10
2.4K
Daniel Colascione
Daniel Colascione@dcolascione·
For starters, kernel32 performs various path transformations as it passes filenames from user programs to ntdll and the kernel. A program using ntdll directly, especially if it isn't careful to emulate win32 semantics (which I doubt Zig takes care to do) will behave unlike other Windows programs, e.g. when figuring out what actual disk file a string path names. Is the direct ntdll way better? Yes, it is, viewed in isolation. I quite like NT. Win32 is aesthetically suboptimal. But a direct ntdll program is *different*, and it's the difference that will cause subtle headaches for all sorts of users and integrators. Maturity in software is understanding that you sometimes have a duty to put up with an ugly interface for the greater good of a consistent interface. Our decisions ramify in time, and it's better for everyone to be consistently warty than for every program to be selfishly special. Plus, it's just rude to do this stuff, because 1) Zig is making a lot of work for the Windows team by making them support a second API surface they never signed up to support, and 2) Zig is constraining the evolution of the Windows platform by forcing Microsoft to freeze internal APIs in amber when they should be able to improve them. The Zig people do the same thing on Linux, by the way. They bypass libc and go straight to the kernel, breaking LD_PRELOAD shims Linux users rely on. And for what? Nothing! It's infuriating. The interface layers Zig bypasses on Linux and Windows are thin and add practically no overhead. Zig programs are not faster or better for having bypassed these layers that everyone else has relied on for decades. So what's the root cause of Zig-ism? Vibes about being closer to the metal? A feeling of power stemming from wielding esoteric knowledge? A kind of glee in annoying people like me, with my silly appcompat war stories and spiritually boomer worries about long term ecosystem evolution? Is it some kind of innumerate gutfeel that load bearing elements of the system are "bloat"? Do they understand how shared libraries work? A decade ago, the Zig people would be posting on forums about how they optimized (but in actuality pessimizd) their Gentoo systems by compiling with -O99 -funroll-all-loops -DMOAR_SPEED, saying a numerically "for sure felt smoother". A decade before that, the Zig people would have been attaching enormous spoilers and illegally loud mufflers to their Honda Civics. Probably painting them red too, because as everyone knows, the red ones go faster. There's just a sort of timeless personality type prone to this sort of thing. And that's fine. People are allowed to be ridiculous. Except this generation, this personality type comes armed with a trendy programming language. The Gentoo system gets reimaged with Debian stable. The Honda Civic eventually gets compressed into a cube in some landfill. We cannot serve similar justice unto Zig programs doing flagrantly stupid things forever.
English
14
9
174
70.7K
ani
ani@anaisbetts·
This is weapons-grade nonsense - there are about ~302348334 ways this will subtly fuck you over, everything from path canonicalization to WOW64 issues to TLS and SEH handling. No one should use zig for anything tbh.
Zig@ziglang

Bypassing Kernel32.dll for Fun and Nonprofit #2026-02-03" target="_blank" rel="nofollow noopener">ziglang.org/devlog/2026/#2

English
11
9
224
48K
sheheryar
sheheryar@_snaerr·
@ludwigABAP in my experience it anxiously ruminates in circles to eventually do what opus does in a few prompts
English
1
0
1
64
ludwig
ludwig@ludwigABAP·
codex dont stop, it keep going man
ludwig tweet media
English
12
0
76
7.2K
sheheryar
sheheryar@_snaerr·
i love using agents. they also still suck in the same way they've sucked for the last year.
English
0
0
2
163
sheheryar
sheheryar@_snaerr·
gave opus 4.5 and gpt-5.2-codex xhigh an honest shot i have no idea what the fuck you guys are on about
English
2
0
1
234
tetsuo.mlir
tetsuo.mlir@tetsuo_cpp·
@LiamKearney99 Also mental health conditions. Some of them carry a *lot* of stigma so that can be pretty sensitive.
English
2
0
4
163
Lewis Campbell
Lewis Campbell@LewisCTech·
As an amateur rust systems programmer (lol), I really question the utility of rust for more general purpose programming. Idiomatic rust allocates *a lot*. Think Vec<String>, collecting iterators, etc. Are you not then better off with a modern GC where allocations are cheaper?
English
78
4
315
91.9K
sheheryar
sheheryar@_snaerr·
aarch64 framework computer when
English
0
0
1
1.9K
quantized
quantized@quantize_d·
everyone can code now? then tell claude code to make this. then tell him to fix all mistakes!! im waiting..
English
68
22
765
89.6K
molson 🧠⚙️
molson 🧠⚙️@Molson_Hart·
I am breaking the news to my wife. I don’t like women anymore. Or men. I only like China now. I am a Chinasexual.
English
122
242
4.7K
163.9K
yuzu
yuzu@yuzu_4ever·
would you still love me if i was a bomb?
English
14
3
97
4.2K