Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheFlyingFish
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
TheFlyingFish
21d ago
I'm aware of the Bun Rust rewrite, but what has Astro done with experimental agent-based work?
2.
▲
by
TheFlyingFish
1mo ago
DuckDB is heavily focused on analytical workflows, so it stores data in a compressed columnar format. So "rewrite one row" is more efficient in SQLite, but "sum all the values in this column" is vastly more efficient in
3.
▲
by
TheFlyingFish
2mo ago
Feed aggregators (inoreader, feedly) make this difficult, though. One request may end up serving any number of end users, so you can't personalize ads the same way. Good, you might say, and I wouldn't disagree, but Google et al su
4.
▲
by
TheFlyingFish
4mo ago
Are you suggesting that AI-written code tends to be more secure than human-written code? Because there are many examples to the contrary, starting with MoltBook.
5.
▲
by
TheFlyingFish
4mo ago
Tangent: Much like PHP, "modern" CF isn't actually that bad to work with these days. In particular the superset-of-html syntax has been superseded for pure logic by "CFScript" which is just an ECMAScript dialect. Th
6.
▲
by
TheFlyingFish
7mo ago
The linked article isn't describing a form of input sanitization, it's a complete separation between trusted and untrusted contexts. The trusted model has no access to untrusted input, and the untrusted model has no access to tool
7.
▲
by
TheFlyingFish
7mo ago
He's living the hacker dream. Made a billion bucks, then went right back to writing code. People upvote because they wish they were him.
8.
▲
by
TheFlyingFish
7mo ago
The HN zeitgeist has something of a love/hate relationship with the web, I've noticed. HN in general seems to skew a little older than a lot of online communities, so a lot of HN users were adults back in the early days of the web
9.
▲
by
TheFlyingFish
7mo ago
If you're crazy then I am too. 50% odds it was written by a human, 50% bot.
10.
▲
by
TheFlyingFish
7mo ago
I imagine offloading a lot of the heavy lifting to Vite helps cut down on the code size.
11.
▲
by
TheFlyingFish
7mo ago
I once managed to trigger what I think was a race condition in a microwave's beep routine. It was one of the type that does a single long beep rather than individual beeps, and like most it would cut the beep short when you opened the
12.
▲
by
TheFlyingFish
7mo ago
I've never used a Lisp either, but I get the impression that "forcing you to write the AST" is sort of the secret sauce. That is, if your source code is basically an AST to begin with, then transforming that AST programmatica
13.
▲
by
TheFlyingFish
9mo ago
Technically native selects do have a very rudimentary form of filtering: start typing text with the select focused and it will auto-select the first matching option. E.g. if the select is a list of US states, type "N" and it will
14.
▲
by
TheFlyingFish
9mo ago
That works if you're dealing with a known set of keys (i.e. what most statically-typed languages would call a struct). It falls down if you need something where the keys are unknowable until runtime, like a lookup table. I do like data
15.
▲
by
TheFlyingFish
10mo ago
I haven't used Deno, but I do use Bun purely as a replacement for npm. It does the hard-linking thing that seems to be increasingly common for package managers these days (i.e. it populates your local node_modules with a bunch of hard
16.
▲
by
TheFlyingFish
10mo ago
Requests is a great example of my point, actually. Creating a brand-new Python venv and running `uv add requests` tells me that a total of 5 packages were added. By contrast, creating a new Rust project and running `cargo add reqwest` (whic
17.
▲
by
TheFlyingFish
10mo ago
I've worried about this for a while with Rust packages. The total size of a "big" Rust project's dependency graph is pretty similar to a lot of JS projects. E.g. Tauri, last I checked, introduces about 600 dependencies j
18.
▲
by
TheFlyingFish
11mo ago
uv helps a lot with the first problem. Not so much with the second, though.
19.
▲
by
TheFlyingFish
11mo ago
SPy looks really interesting! I've run across projects like MyPyc before, but as you say they kill a lot of the "joy" of Python by removing things like decorators and operator overloading. One question, more out of curiosity
20.
▲
by
TheFlyingFish
11mo ago
Reader mode is based on a whole slew of heuristics including tag names, class names, things like link-to-text-content ratio, and other stuff I can't recall. IIRC it considers semantic tag names a stronger signal than e.g. class names,
21.
▲
Salter's Screwdriver Theory of Latency
(jrs-s.net)
3 points
by
TheFlyingFish
1y ago
|
0 comments
22.
▲
by
TheFlyingFish
1y ago
I've used Python a lot over the last ~10 years. It's probably my favorite language, although I'm not immune to its weak points. To answer your questions in order, a) I haven't done much work with embedded Python, but lik
23.
▲
by
TheFlyingFish
2y ago
After playing around for a while, a few things come to mind: * Being able to specify a db at startup would be pretty cool. I'm teaching a class on SQL this summer and I'm already envisioning workflows where a gatekeeper proxy spin
24.
▲
by
TheFlyingFish
2y ago
Lots of people here mentioning reasons to both use and avoid the cloud. I'll just chip in one more on the pro-cloud side: reliability at low scale. To expand: At $dayjob we use AWS, and we have no plans to switch because we're ti
25.
▲
by
TheFlyingFish
2y ago
Isn't the problem with deflation that it de-incentivizes investment (why accept risk when you can just stuff your mattress with money and grow your wealth risk-free), which tanks the economy? Lowering prices sounds nice, but my underst
26.
▲
by
TheFlyingFish
2y ago
I think it might actually be patents rather than copyright restrictions that are in play here.
27.
▲
by
TheFlyingFish
2y ago
My feeling is that the most important situation to consider here is where the updating happens from third-party JS. If you're writing your own JS, it isn't that much harder to just target the selectedoption as well as the original
28.
▲
by
TheFlyingFish
2y ago
I'm with you! I've always had a hard time finding Literary Works anything but a total slog. Recently I tried The Road by Cormac McCarthy and just couldn't get through it. Far too grim for my taste. Anyway, if this is where to
29.
▲
by
TheFlyingFish
2y ago
The problem with a "kill list" like that is that most of these overused tropes are overused because originally, they worked really well. E.g. if you strictly followed the first item on your list, you'd miss out on the Belgari
30.
▲
by
TheFlyingFish
2y ago
Wasn't sshuttle created by the now CEO of Tailscale?
More ›