HackerLangs
TopNewTrendsCommentsPastAskShowJobs

skybrian

26,883 karmajoined قبل 17 سنة
Retired software engineer and amateur accordionist.

Accordion videos I like: https://mastodon.social/@skybrian/tagged/accordionsongs

Social media: https://bsky.app/profile/skybrian.bsky.social https://tildes.net/

Blog (inactive): https://skybrian.substack.com/

Submissions

Mitigating Prompt Injection with Finite Automata over Agent Trajectories

dystopiabreaker.xyz
2 points·by skybrian·قبل 4 أشهر·0 comments

Codebase Is the Prompt

blog.exe.dev
2 points·by skybrian·قبل 5 أشهر·0 comments

Go.sum Is Not a Lockfile

words.filippo.io
3 points·by skybrian·قبل 6 أشهر·0 comments

comments

skybrian
·قبل ساعتين·discuss
It's unclear to me why they needed to compile Rust to WebAssembly to write a website. It looks like iroh has a JavaScript API:

https://docs.iroh.computer/languages/javascript

Edit: actually, that's a Node.js-specific API. For browsers, it seems like they should have a platform-independent JavaScript/TypeScript API that includes a WebAssembly file (if needed) instead of expecting you to compile WebAssembly yourself.
skybrian
·قبل 3 ساعات·discuss
Military power, sure. In Ukraine they hit everything they can see.

But during peacetime, you don't make money running a delivery service that way, so it's not going to replace those jobs.
skybrian
·قبل 5 ساعات·discuss
The "and physical" is the part I'm particularly skeptical of. Sure, drones are scary, but nobody's really solved getting a robot to deliver a package to your front porch in a civilian setting, and it seems unlikely to be solved quickly.
skybrian
·قبل 11 ساعة·discuss
> you couldn’t find out what time the movies were playing because moviephone just redirected you to their app

Uh, movies are definitely not more "real" than YouTube videos and they're just as passive.
skybrian
·قبل 13 ساعة·discuss
You don’t need a Mac Mini just for that, but they’re fairly inexpensive (or were anyway) and quality is very good. The people who buy them may never use all the performance available, but they’re more interested in convenience than getting the cheapest thing possible.

You can sort of justify it by assuming it will last a long time and they’ll use it for other things, too.
skybrian
·قبل 21 ساعة·discuss
At that point does it make sense to use http/3 to avoid head-of-line blocking on the network?
skybrian
·قبل 21 ساعة·discuss
What’s an example of a study that you think is convincing?
skybrian
·قبل 23 ساعة·discuss
A more modern way to do this might be to support WebAssembly plugins.

The extensions might need to be rewritten, but hey, we have AI for that now, so why not :-)
skybrian
·أمس·discuss
Before Facebook, after people lost touch with their high school or college friends, they often didn't have a good way to get back in touch again.

This is harder to do accidentally now, for better or worse.

But I suppose there are lots of other alternatives nowadays.
skybrian
·أمس·discuss
I wonder if it would help to ask it to write a rough draft and then reorder it?
skybrian
·أمس·discuss
I think it's still useful in a "hello world" sort of way. It means you actually tried the new model.
skybrian
·أمس·discuss
If you can’t resolve imports to source files then no static analysis tools will work. So, it has to be plugged into the compiler somehow.
skybrian
·أمس·discuss
The TypeScript compiler is (was) slow, but you don’t need it to minify code. This sounds like some other problem with the tools in your project’s build. (There are faster tools available these days.)

A faster type checker will help with performance problems in text editors since type info is needed for a lot of queries.
skybrian
·أول أمس·discuss
Deno resolves import statements in its own way. For example, you can import URLs and JSR packages directly, but the file is usually loaded from Deno’s global module cache. To resolve imports you need to look at the deno.json file and deno.lock file. They also added Deno Workspaces (monorepos) which adds more complexity.

This means you need to plug an import resolver to the TypeScript compiler. Deno uses the TypeScript compiler API, but all the import resolution code is in Rust. I’ve done a partial reimplementation in TypeScript using a coding agent, but there’s quite a lot to it.

I don’t think Deno will be able to upgrade until the TypeScript compiler API is ready.
skybrian
·أول أمس·discuss
[dead]
skybrian
·أول أمس·discuss
No TypeScript compiler API yet, but I'm encouraged to hear that they're working on it.
skybrian
·أول أمس·discuss
I’m wondering about privacy tradeoffs. Looks like they’re similar to Discord where the chats won’t show up in web searches and you can’t read anything without joining. But if anyone can join, it’s not like Signal either and end-to-end encryption wouldn’t make sense.

(They do have end-to-end encryption for video.)
skybrian
·قبل 3 أيام·discuss
There's a Cambrian explosion of promising-sounding AI tools, all of which seem to work reasonably well for their authors, but it's unclear which ones to try. It seems like what we're missing are in-depth product reviews?
skybrian
·قبل 4 أيام·discuss
You will probably want a search engine though. Perhaps a small LLM would work well as a component for that?
skybrian
·قبل 4 أيام·discuss
It’s true that they are only as good as their input data, but the same is true if you do your own web searches.