HackerLangs
TopNewTrendsCommentsPastAskShowJobs

hun3

no profile record

Submissions

What does it mean to be a programming language, anyhow? (2021) [pdf]

dl.acm.org
1 points·by hun3·6 mesi fa·0 comments

Every board game rulebook is awful [pdf] (2024)

boardgametextbook.com
3 points·by hun3·6 mesi fa·1 comments

Is the nervous system a democracy? (2016)

scientificamerican.com
2 points·by hun3·6 mesi fa·0 comments

Profiling with Ctrl-C (2024)

yosefk.com
92 points·by hun3·6 mesi fa·13 comments

comments

hun3
·19 giorni fa·discuss
> The OS is a thin layer providing an abstract and consistent interface regardless of the hardware configuration.

This is called a hardware abstraction layer, not OS.

https://en.wikipedia.org/wiki/Hardware_abstraction
hun3
·19 giorni fa·discuss
System WebView but Electron is now the system
hun3
·19 giorni fa·discuss
The operating system has historically trusted the applications not to do dumb things too much.

Only now we're witnessing the consequences much more frequently thanks to accelerated slop.
hun3
·21 giorni fa·discuss
(zenzi)³

I mean zenzi-cubic
hun3
·mese scorso·discuss
China has proxies that sell cheaper access to frontier models in exchange for permission to train on your data.
hun3
·mese scorso·discuss
Right.

As an example: Oracle and PostgreSQL don't have dirty reads: READ UNCOMMITTED does nothing. MySQL's concurrency model depends on the engine.
hun3
·mese scorso·discuss
What keeps users themselves from vibe-coding their own software?

If you don't own quality, why should I pay? You're just a middleman at that point.
hun3
·mese scorso·discuss
If you squint hard enough, you'll notice your bank account serves as an IPC semaphore replenishing API credit balances.

Your wallet is now a real-time communication channel.
hun3
·2 mesi fa·discuss
_RealShipOpts has a constructor.
hun3
·2 mesi fa·discuss
With consent, yes.
hun3
·2 mesi fa·discuss
No, "virtual machine" alone doesn't make things safer.

Shrink your attack surface.

Use a completely locked down seccomp. Use nsjail or gVisor for containers. Use microvm or libkrun for full OS.

Lesser attack surface is what matters. Virtualization is only half of the story.
hun3
·2 mesi fa·discuss
Avoiding problems outside your business problem domain, and can therefore guide the AI more effectively towards building the right thing.
hun3
·2 mesi fa·discuss
(Note that this still assumes that each biased-coin toss is i.i.d.)
hun3
·2 mesi fa·discuss
They are orthogonal.

Suppose you have 100ms audio latency and no wait time. Then, natural pause will trigger response immediately but you won't notice it has started until after ~200ms (round-trip time). Twice as annoying.
hun3
·3 mesi fa·discuss
But it's still a bit more difficult to sue them for leaking your company's data.

At least for now.
hun3
·3 mesi fa·discuss
You can write unambiguous (UB-free) code and the compiler's output will be deterministic. There will even be a spec that explains how your source maps to your program's behavior. LLM has neither.

Also, if you need to control performance, you still need to know how CPU cache and branch prediction works, both of which exists at the abstraction level of assembly.
hun3
·3 mesi fa·discuss
How can you read a language you didn't learn?
hun3
·3 mesi fa·discuss
PatchGuard would like to have a word with you.
hun3
·3 mesi fa·discuss
Ironic, since Unix is itself an embodiment of "worse is better."
hun3
·3 mesi fa·discuss
I used floating timestamps as some kind of an identity. If there is ever a conflict, I just increase it by 1 ulp until it doesn't collide with anything. Sorry.