Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
301.
▲
by
jart
2y ago
And now GLD with its 1 year return at 40% is outperforming them both, which is a really scary thought. How bad do things have to be, that all our blood sweat and tears scurrying off to work each mourning earns less than a piece of metal dug
302.
▲
by
jart
2y ago
You mean VFIFX? What a disaster. My retirement plan put me in that until I realized investment advice for young people is a tax on the inexperienced and vulnerable. VFFSX (S&P 500) does 2x better returns every time. I feel guilty saying
303.
▲
by
jart
2y ago
Hi troad, I read your book: https://justine.lol/sectorlisp2/troades.html I don't remember saying that. You might be thinking about https://justine.lol/ape.html where I said we should be focusing o
304.
▲
by
jart
2y ago
Go on vast.ai and rent an x86 linux machine for an hour. It's worth it for this.
305.
▲
by
jart
2y ago
Author here. If anyone wants to see an example of an awesome program you can run on the 520 byte version of my lambda calculus virtual machine (Blc) then check out https://github.com/woodrush/lambdalisp If you run the
306.
▲
by
jart
2y ago
I never would have been able to understand lambda calculus well enough to write the blog post if I started with [0]. I say just pull out the shell and start coding things. Then read [0] later to appreciate things on a deeper level.
307.
▲
by
jart
2y ago
Both countries are officially named China, so only one can be right.
308.
▲
by
jart
2y ago
I can't think of a faster easier tool for composing and controlling a bunch of heterogeneous things. Even if you write a Python script that does it, you're still using shell to run it. Notebooks are good for experimenting and expl
309.
▲
by
jart
2y ago
I put gnuplot code and python code in my shell scripts all the time. Someone like you should think of it as a jupyter notebook that doesn't need a web browser.
310.
▲
by
jart
2y ago
Why can't they just take a class on shell scripting? The whole point of computer science is to automate things, because that's what gives you leverage. If you don't care about understanding computer science, at least skip to
311.
▲
by
jart
2y ago
If I'm reading this thread correctly, it sounds like truckers staged a protest in Canada blockading roads. The government couldn't move the trucks because the cops sympathized with the protestors. So the government debanked the tr
312.
▲
by
jart
2y ago
> But I do not expect TypeScript to be the primary language I use for the rest of my career! That's like saying, "I do not expect English to be the primary language I use for the rest of my life." Think about what it would
313.
▲
by
jart
2y ago
I came here to basically say this. io_uring is a leap into the past. It's going to be blocked in a lot of environments since it makes system calls unmanageable. Now mmap() on the other hand is a real enlightened system call. I got prob
314.
▲
by
jart
2y ago
It's the stated mission of my project. Rust's stated mission is memory safety. So using raw system calls is a distraction for them.
315.
▲
by
jart
2y ago
System calls take 10x longer on Windows than they do on UNIX. That's what i/o completion ports are working around. They solve a problem UNIX doesn't have.
316.
▲
by
jart
2y ago
Rust isn't standardized. Last time I checked, everyone who uses it depends on its nightly build. Their toolchain is enormous and isn't vendorable. The binaries it builds are quite large. Programs take a very long time to compile.
317.
▲
by
jart
2y ago
This kind of error is a right of passage with WIN32 programming. For example, to do nontrivial i/o on Windows you have to create an OVERLAPPED object and give it to ReadFile() and WriteFile() which will return a pending status code, an
318.
▲
by
jart
2y ago
No the solution isn't to rewrite it in Rust. The solution is to have the option of compiling your C/C++ program with memory safety whenever things go loopy. ASAN, MSAN, and UBSAN are one great way to do that. Another up and coming
319.
▲
by
jart
2y ago
Well at least American telecoms are fighting them. The European MO is to not only let themselves be conquered, but they actually pay China to do it. Thankfully American online services are on Europe's side, and work harder than anyone
320.
▲
by
jart
2y ago
I don't think people like Nat Friedman are at risk of going to jail.
321.
▲
by
jart
2y ago
Where do you think government policy comes from? If the people who are smart and wealthy enough to torch half a million dollars on original independent research care more about who's breaking the law rather than what's true, then
322.
▲
by
jart
2y ago
It's hilarious how McDonalds ends up being the safest premade meals you can get (outside a big tech company cafeteria) at least from a scary plastic chemical standpoint. They actually have the resources and a big enough PR problem to s
323.
▲
by
jart
2y ago
I love articles like this. If you want to see a tutorial on how you can take this a step further, by creating a tiny ELF file that runs on Linux, FreeBSD, NetBSD, and OpenBSD 7.3 then check out https://justine.lol/sizetricks
324.
▲
by
jart
2y ago
Hey that brought it down to about 650ms. Thank you! That's a noticeable improvement.
325.
▲
by
jart
2y ago
Any idea how I get unbroken?
326.
▲
by
jart
2y ago
I am serious. If you're not logged in then reddit pages will take 150ms to respond if you exclude the snooserv ?rdt=xxxx redirect (which makes it take 200ms total). master jart@luna:~/cosmo$ time curl --tcp-fastopen -L '
327.
▲
by
jart
2y ago
That's wonderful. Can you help me understand why every single button click on Reddit has an 800ms user visible latency gap? Reddit has always been this way, ever since its very beginning. Its latency has always been so slow compared to
328.
▲
by
jart
2y ago
Bruh it's just predicting next token.
329.
▲
by
jart
2y ago
Read Anthropic's blog. They talk about how Claude tries to do unprompted stuff all the time, like stealing its own weights and hacking into stuff. They did this just as recently as two days ago. https://www.anthropic.com
330.
▲
by
jart
2y ago
That's the sort of thing ideas guys think. I came up with a novel idea once, called Actually Portable Executable: https://justine.lol/ape.html It took me a couple days studying binary formats to realize it's possi
More ›