Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chubot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
chubot
2mo ago
James Mickens! I was hoping for more jokes …
2.
▲
by
chubot
2mo ago
Yes!
3.
▲
by
chubot
2mo ago
Yes thanks for finding the Python 2.4 release page which shows the optimization! So I remembered correctly -- Python already had that optimization back then. (There seems to be a large amount of confusion on that in this subthread) And th
4.
▲
by
chubot
2mo ago
Python has always had a bytecode compiler that did some minor optimizations, since its inception in the 90's. The issue is that optimizations are very hard to do correctly in the compiler because Python is so dynamic. Any piece of co
5.
▲
by
chubot
2mo ago
Related to the point about worse performance, I'm pretty sure I was there when reduce was "banished" from Python 3 -- demoted to functools.reduce(), instead of the builtin reduce() in Python 2 The story is that sometime in 20
6.
▲
by
chubot
2mo ago
What metrics were you tracking that moved?
7.
▲
by
chubot
3mo ago
I think Charles Babbage is a special case -- IIRC his son also picked up his work, after his death. So he actually worked on it for "generations", by having a child who also worked on his ideas :-)
8.
▲
by
chubot
3mo ago
It seems like that's pretty easy to disprove -- GC time is proportional to allocation time. (allocation happens in the mutator, GC happens in the collector -- there is a symmetry) The constant factor could be 500 or 50,000, but it'
9.
▲
by
chubot
3mo ago
I have an LG TV with a similar problem. I think it’s supposed to pixel clean when you turn it off, and I do every night. Yet for some reason I can’t escape these annoying pixel cleaning interruptions. Seems like a bug in the firmware.
10.
▲
by
chubot
3mo ago
This reads like Claude in its abstraction ... I'd rather hear the story about what degree you actually got, what the dissertation was, and some concrete experiences of being disillusioned along the way, etc. Complexity becomes a way t
11.
▲
by
chubot
3mo ago
(revised comment) Hm on first reading I was confused by the extern "fil-c" framing -- that seems to imply a bridge between C and Fil-C, which introduces some nasty language/runtime inter-op issues. But I like this part I wan
12.
▲
by
chubot
4mo ago
Its' the exact opposite ... Google, nVidia, Amazon, Apple, etc. all have a deep bench of code that is a moat. They have lots of throwaway code too, but those companies are precisely the ones that pay attention to code quality, and com
13.
▲
by
chubot
4mo ago
OK yes thanks for that link Speaking personally, the fate of Docker, Inc. was clear to me when they took their $40M Series C round in 2014. I had met with Solomon in April 2014 (after their $15M Series B) and tried to tell him what I had l
14.
▲
by
chubot
4mo ago
Hm I actually heard some great and rare metal on FM radio in Philadelphia the other day -- and I was SURPRISED because I thought radio was dead too I just Googled and it turns out it was https://wkdu.org/ 91.7 FM, Drexel Un
15.
▲
by
chubot
4mo ago
all code possible to run on a computer already exists. It's some permutation of all the bits of available memory. It's in there somewhere This seems either mathematically impossible or vacuous, depending on what you mean ...
16.
▲
by
chubot
5mo ago
I think that is basically the approach modernish uses: https://github.com/modernish/modernish But it does feel complex to me. Personally I just write in the common subset of bash and OSH, which is very large. I never
17.
▲
by
chubot
5mo ago
OK interesting, I knew about the -e -n flags issue, which means that any portable shell script has to use printf, not echo. Didn't quite realize that the use of backslash also forces printf ... what a mess
18.
▲
by
chubot
5mo ago
OK interesting, yeah I think dash is just plain broken ... $ dash -c 'echo "c:\\new"' c: ew $ busybox ash -c 'echo "c:\\new"' c:\new It requires 4 backslashes: $ dash -c
19.
▲
by
chubot
5mo ago
FWIW Oils has an option to prevent the ambiguity: osh-0.37$ echo "c:\new" c:\new osh-0.37$ shopt --set no_parse_backslash osh-0.37$ echo "c:\new" echo "c:\new" ^ [ int
20.
▲
by
chubot
5mo ago
In this case, it's not a new thing ... back in 2005 (yes 21 years ago), people talked about the achievements of Noam Shazeer at Google (and Jeff Dean and Sanjay, etc) I always appreciated Jeff having a level head ... which this article
21.
▲
by
chubot
6mo ago
BTW Chuck Klosterman discussed this at length in this 2022 book on the 90's: https://en.wikipedia.org/wiki/The_Nineties_(book) I think it's a pretty deep point -- your memory and consciousness are shaped by t
22.
▲
by
chubot
6mo ago
I liked this story, thanks for sharing I have to admit I feel similarly conflicted after a few recent REAL WORLD experiences. The first is that Gemini and Claude taught me a whole bunch of things about beer that I feel like I should have k
23.
▲
by
chubot
6mo ago
Yup totally, how you breathe during the day is a habit that basically persists at night So breathing better during the day can be trained, even at an old age, and it improves sleep Not everyone breathes suboptimally of course, but I think m
24.
▲
by
chubot
6mo ago
I came around to it a few weeks late, but Zef and this article by Filip are also great work! https://zef-lang.dev/implementation https://news.ycombinator.com/item?id=47843194 It has list of more than 20 opt
25.
▲
by
chubot
6mo ago
These days, video evidence can be called into doubt pretty easily
26.
▲
by
chubot
6mo ago
Ha, that’s the thing that gets me too. Also people watching mashed up YouTube clip compilations - these seem obviously designed for addiction. The other thing is watching the videos in public with the tinny speakers blaring. Judging by re
27.
▲
by
chubot
7mo ago
If Go interfaced with C as well as Python, I’d use it a lot more. But I’m using the slower language because it still integrates with more things For example, one reason AI is all in Python is because CUDA is basically part of the C ecosyst
28.
▲
by
chubot
7mo ago
They tell me I don't have a real job because I just tell the computer what to do, and I don't do the thing myself (to which I can't help but respond that they're absolutely right) Hm interesting So they are making the
29.
▲
by
chubot
8mo ago
Wow a few years ago I wanted to resurrect some of my old code, to do essentially what ncdu does Then I found ncdu, and haven’t looked back since. So it saved me a lot of time Thank you and RIP
30.
▲
by
chubot
8mo ago
FWIW here is another piece of trivia about job control: the API means you can't spawn a child process "safely" in POSIX -- you have to trust that that the executable you're spawning is well-behaved (or use more advanced
More ›