Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
llimllib
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
llimllib
8mo ago
> who has a js engine that is both fast and embeds well? nobody Fabrice Bellard! https://github.com/bellard/mquickjs (I agree with you, just wanted to note this super neat project)
32.
▲
by
llimllib
8mo ago
I created one I like: https://github.com/llimllib/mdriver it can echo images with kitty image protocol, and streams the output, which I use to show LLM output as it arrives It doesn't handle paging - you can pipe
33.
▲
by
llimllib
8mo ago
Not OP, but I use ripgrep and customize it with an alias as well, so it applies equally there
34.
▲
by
llimllib
9mo ago
Yes I think the device itself is fine, but the Apple TV apps are mostly terrible and often very laggy/poorly written. The way developers use the UI toolkit that the Apple TV provides also seems to tend towards apps where it's very
35.
▲
by
llimllib
9mo ago
https://go.dev/doc/faq#assertions
36.
▲
by
llimllib
9mo ago
I'm not generally opposed to vibe-coded tools, I've even created some. However I wouldn't be excited to trust one with my AWS key and read/write access to my infra
37.
▲
by
llimllib
10mo ago
I have a benchmark program I use, a solution to day 5 of the 2017 advent of code, which is all python and negligible I/O. It still runs 8.8x faster on pypy than on python 3.14: $ hyperfine "mise exec python@pypy3.11 -- pytho
38.
▲
by
llimllib
10mo ago
if it's useful, they do actually have arm workers now for linux and mac: https://github.com/actions/runner-images/tree/main?tab=readm...
39.
▲
by
llimllib
10mo ago
the equivalent in typescript would be "export type" not just "type", since as I pointed out that type is exported without you being able to control it
40.
▲
by
llimllib
10mo ago
counterpoint: JSDoc is not typescript If you define a type in a file with @typedef, it is automatically exported and there is nothing you can do to control that: https://github.com/microsoft/TypeScript/issues
41.
▲
by
llimllib
10mo ago
some people don't want to give clicks to X, no we're not done with it. It doesn't harm you does it?
42.
▲
by
llimllib
11mo ago
I use a little shell alias that drops me into duckdb with the file loaded into a table for interactive querying: https://github.com/llimllib/personal_code/blob/c1a74b1b9527f...
43.
▲
by
llimllib
1y ago
For go, it's available in /x/sys/unix: https://pkg.go.dev/golang.org/x/sys/unix#MemfdSecret
44.
▲
by
llimllib
1y ago
I’m curious about the particular program though! On my Mac it doesn’t exist and I didn’t find it in a quick search
45.
▲
by
llimllib
1y ago
> i can write some configuration to hook a shell command to a bind is `reflow` a binary that comes with kakoune or something?
46.
▲
by
llimllib
1y ago
the lack of a `gq` equivalent to reflow a paragraph, which julia mentioned, was the nail in the coffin for me when I tried it. It's a nice project though, I just use that feature constantly
47.
▲
by
llimllib
1y ago
I should have been more specific, I tested with: `rm -rf node_modules && docker run --rm -ti -v $PWD:/app node:20.19.0-alpine3.20 sh -c "cd /app && time npm i"` So an overlay FS (if I'm understanding
48.
▲
by
llimllib
1y ago
node/npm operations are vastly slower for me on docker with a linux vm, I have tested this before. APFS does suck though, don't get me wrong edit: I just tested, 36s for an `npm i` on a decently large project I have locally, 46s w
49.
▲
by
llimllib
1y ago
That water's _starchier_ but it's not a myth. Here's Kenji on it: https://www.seriouseats.com/how-to-cook-pasta-salt-water-boi... (I get what you're saying, spiritually, your pasta water from your giant
50.
▲
by
llimllib
1y ago
yeah! There are like 12 three-county zip codes, some are really fun, like places where a boat delivers the mail and goes to multiple states along the lake. And some zips don't refer to geographical areas at all, and others are military
51.
▲
by
llimllib
1y ago
link to the zip code data is broken too; https://public.opendatasoft.com/explore/assets/us-zip-code-l... 404s Even when I worked for Medicare I couldn't get the damned post office to give us accurate zip code
52.
▲
by
llimllib
1y ago
This CL documents the switch of UserConfigDir from ~/Library/Preferences to ~/Library/Application Support: https://go-review.googlesource.com/c/go/+/181177 From my perspective it makes sen
53.
▲
by
llimllib
1y ago
I expect _applications_ to put their config there, as the author says; something that lives in /Applications or ~/Applications and has a bundle specifier. I wish I expected CLI programs to put their config in ~/.config, but I
54.
▲
by
llimllib
1y ago
Pomax's primer on bézier curves is the reference they used: https://pomax.github.io/bezierinfo/ They do a pretty good job introducing the mathematics gently I think. But maybe work backwards from whatever you don&
55.
▲
by
llimllib
1y ago
By naively, I meant without normalization. You know much more about this than I do though edit: this is what I mean for example, that `tést` != `tést` in rg, because \ue9 (e with accent) != e\u0301 (e followed by combining character accent)
56.
▲
by
llimllib
1y ago
Kind of! This script is assuming that you're dealing with a byte slice, which means you've already encoded your unicode data. If you just encoded your string to bytes naïvely, it will probably-mostly still work, but it will get so
57.
▲
by
llimllib
1y ago
std.mem.eql is here, super easy to read: https://github.com/ziglang/zig/blob/master/lib/std/mem.zig#L... My read is it would use SIMD if T is @Vector, and not otherwise? But I'm neither a
58.
▲
Speeding up the JavaScript ecosystem – Semver
(marvinh.dev)
23 points
by
llimllib
1y ago
|
0 comments
59.
▲
The Cyber Resilience Act: A Five Alarm Fire
(redmonk.com)
3 points
by
llimllib
1y ago
|
0 comments
60.
▲
by
llimllib
1y ago
lol, yes absolutely it's bananas. I wouldn't even consider myself in the JS world!
More ›