Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
661.
▲
by
jart
2y ago
Those poor little AI clouds will never keep people reeled in unless they invent something like CUDA.
662.
▲
by
jart
2y ago
Life is hell if the world won't let you be who you were born to be. I'm not sure if I would have made it if I'd been born into a world without computers.
663.
▲
by
jart
2y ago
Google used to have a near monopoly on the most expensive, educated, devoted, and conscientiously willful people and imposed very few demands on their time. The lengths to which they were willing to go, to make everything they did with the
664.
▲
by
jart
2y ago
Stuff like this is why I built Cosmo. I saw the writing on the wall, when the Java installer started adding toolbars to my browser. I made a solemn vow on that day to never build software that can't run unless my users install someone
665.
▲
by
jart
2y ago
It's not possible to reverse. Once you send information to an online service, you should assume it'll become public domain in only a matter of years. Digital information is permanent. Hacks happen. Crypto will be broken. Culture w
666.
▲
by
jart
2y ago
It's called cosmocc. https://github.com/jart/cosmopolitan/releases/download/3.5.1... the documentation is here: https://github.com/jart/cosmopolitan/blob/master/t
667.
▲
by
jart
2y ago
> At least this has the same quirks everywhere. That would make a great slogan for the project.
668.
▲
by
jart
2y ago
blink is almost as good as qemu-user and it works great compiled with cosmocc. https://github.com/jart/blink
669.
▲
by
jart
2y ago
Is that an embedded device with a small address space? APE used to require a 47bit address space. The release I published today fixes that. Maybe give it another try?
670.
▲
by
jart
2y ago
Cosmo author here. I'm familiar with the new rules. They were first implemented in https://github.com/freebsd/freebsd-src/commit/e0f5c1387df23c... which makes a clear intentional allowance for what APE i
671.
▲
by
jart
2y ago
Cosmo author here. Could you please clarify what specific object file features we're abusing? The only hacky thing I did was remove the shebang line, and POSIX was awesome enough to change their rules to let us do it. https:/
672.
▲
by
jart
2y ago
You're basically just benchmarking the WIN32 filesystem versus a Linux VM in that case. The Windows file system is famously slow. It'd make more sense to compare a Cosmo binary running on WIN32 with a WIN32 native program. For exa
673.
▲
by
jart
2y ago
Cosmo author here. We used to build our code with musl-cross-make. Once Cosmopolitan got good enough that we could compile GCC using Cosmo, our build latency dropped in half. https://x.com/JustineTunney/status/1726
674.
▲
by
jart
2y ago
Wow! This might actually make it possible for Actually Portable Executable to support running on Windows ARM. I'm already putting the ARM code inside all my binaries. There's just never been a way to encode that in the PE headers.
675.
▲
by
jart
2y ago
If you're thinking slower than you want about work, then maybe it's because the work isn't worth thinking about. If you're forgetting things at work, then maybe it's because they weren't worth remembering. Abse
676.
▲
by
jart
2y ago
I've seen llamafile go about 10x faster on CPU if you try it.
677.
▲
by
jart
2y ago
It's definitely better than what NVIDIA does, inventing an entirely new ISA each year. If the hardware isn't paying the cost for a frontend, then it shovels the burden onto software. There's a reason every AI app has to bundl
678.
▲
by
jart
2y ago
I would have assumed it just decodes the x86 into a 32-bit ARM-like internal ISA, similar to how a JIT works in software. x86 decoding is extremely costly in software if you build an interpreter. Probably like 30% maybe and that's assu
679.
▲
by
jart
2y ago
Just get rid of the whole resume / application system. Don't 90% of people get their jobs by knowing people anyway? Or some recruiter finding your GitHub. Applying for jobs with strangers where your competition is a stack of paper
680.
▲
by
jart
2y ago
Why does everyone keep repeating this mantra? I wrote the x86 decoder for https://github.com/jart/blink which is based off intel's xed disassembler. It's so tiny to do if you you have the know-how to do it.
681.
▲
by
jart
2y ago
Then show me the low-cost ARM version of AMD's 96-core Threadripper.
682.
▲
by
jart
2y ago
How fast do you read? I can visualize just about anything I've ever seen. I can dream of new visual experiences I've never had. I can even rotate shapes in my head. But I dislike words and I read very slowly (only for English thou
683.
▲
by
jart
2y ago
> Waymo nest I love this
684.
▲
by
jart
2y ago
I think that's accurate. Example code: static privileged int GetPid(void) { int res; #ifdef __x86_64__ asm volatile("syscall" : "=a"(res) : "0"(_
685.
▲
by
jart
2y ago
Is there a way for me to curl their executable into my UNIX terminal so I can read the assembly? Or does Any Run keep the samples to themselves? I know a lot about portable executable but very little about these online services.
686.
▲
by
jart
2y ago
Are you telling me this thing spawned 50 new processes on your computer? Could you zip up all the executable files and whatever it installed and upload it somewhere so we can analyze the assembly?
687.
▲
by
jart
2y ago
Got some sleep and took a second look. You actually want: long ax = 1; asm volatile("syscall" : "+a"(ax) : "D"(1), "S"("hello world!\n"), "d"(14) : "rcx", "
688.
▲
by
jart
2y ago
You want: long ax; asm volatile("syscall" : "=a"(ax) : "0"(1), "D"(1), "S"("hello world!\n"), "d"(14)); You can also say: long ax = 1; asm volatile
689.
▲
by
jart
2y ago
I predict people generations hence will look upon Adderall and Tech the same way those of us today look back upon Tea and the British Empire.
690.
▲
by
jart
2y ago
My take is more cynical. They actually want your soul. By collecting all the information that was ever used to train the neural network between your ears, they can create a synthetic version of you, to impersonate you, and some might even a
More ›