Better HN
topnewbestaskshowjobs
Log inSign up

jewel

1,994 karma · joined May 22, 2011 (15y ago) · 448 submissions

Just another programmer
Submissions

comment 1mo ago · link · parent

Debian is a special case (probably even among open source projects) because it has a well-developed system of governance:

https://www.debian.org/devel/constitution

It sounds like in this case someone is not following an agreed-upon policy. And of course, even with governance like this one, the rest of the maintainers can move in a direction you don't agree with.

comment 1mo ago · link · parent

Anything that compiles to a static site will be nearly immune!

comment 3mo ago · link · parent

This made me think of https://e4rat.sourceforge.net/, which moves boot files into sequential runs, which was helpful on spinning disks where seeks were slow but sequential reads were fast.

Just as an idea for a feature your defragmenter could have.

(Also this is a side thought; but I wonder if AWS AMIs and EBS volumes will boot faster if also organized sequentially.)

comment 3mo ago · link · parent

My understanding is that the harness is the set of function calls (or tool calls) that let the LLM interact with your codebase. It's independent of the IDE or CLI.

The tool calls will be, among other things, something like ReadFile, RipGrep, PatchFile, Shell.

When people talk about the value of different harnesses, they're also implicitly talking about the quality of the system prompt.

The same exact model, when given a different set of tools and a different system prompt, can behave differently.

comment 3mo ago · link · parent

Even if your files are properly encrypted, if you keep them on, say, Google Drive, then you might lose access to them if your account gets inadvertently blocked.

I think GP is trying to say something along those lines. Not that encryption isn't trustworthy, but that even with homomorphic encryption you still give up autonomy.

6.

Tech experts warn against using AI clone of murdered woman's voice in court(ksl.com ↗)

3 points · by jewel · 3mo ago · discuss

comment 4mo ago · link · parent

"Hobbyhacking"?

comment 4mo ago · link · parent

I believe it's a reference to a joke meme that goes something like "Write Windows 12 from scratch. Make no mistakes." At least that's the first context I heard it in.

comment 5mo ago · link · parent

I had an Eye-Fi card in my DSLR years ago and had a python script [0] running on my home server that'd download the photos as they were taken. It'd play a noise over the home audio system to let the taker know that the photo had transferred.

It worked fairly well but at some point I got nervous that it might miss a photo and switched back to a boring SD card.

[0]: https://www.returnbooleantrue.com/2009/01/eye-fi-standalone-...

comment 5mo ago · link · parent

Interesting. Can you elaborate on which harness you've tried it with? I'd love to switch to deepseek for my personal use.

Also, which SOTA western models are you comparing it with? Just to give more flavor.

comment 5mo ago · link · parent

As an alternative to the VoIP phone: Redpocket has a $2.67/mo plan. We loaded that SIM into a small android phone (Unihertz Jelly phone).

It works great as a home phone but has the additional advantage of being able to wander if a pre-cellularized needs to go somewhere. For example, my 13-year-old takes it when going on a long bike-ride with his friends.

We keep it in our closet and only comes out when needed. They aren't allowed to give the number out to friends.

comment 6mo ago · link · parent

Also the consumption of AI-generated text could be having an influence on the tone of how people write.

So even if AI was not used to write an article, it could "smell" like AI to someone who consumes less of it.

comment 10mo ago · link · parent

"If it's not worth writing, it's not worth reading."

  - https://claytonwramsey.com/blog/prompt/

comment 11mo ago · link · parent

The way I think you'd set this up is you'd create a trust with the millions and then the trustees would pay the company its monthly fee from the trust's funds.

With enough funds, the trust should be able to both pay for your preservation and grow its balance. You'd even be able to inherit the remaining funds when revived.

Of course in practice there is still the possibility of the trustees being corrupt.

comment 12mo ago · link · parent

Here's a "Walk with me" video of the bridge: https://youtu.be/DA9NPmwWDWE?t=385

comment 1y ago · link · parent

Here's a philosophical question. Does anyone account for inflation when looking at their long term history? I've been thinking of looking at everything in 2019 dollars.

It might also be useful to adjust for inflation going backwards, e.g. everything shows in 2025 dollars.

comment 1y ago · link · parent

My neighbor just did the exact same thing. The way FAT filesystems work is they change the first byte of the filename to an invalid character to make them a tombstone.

Since he hadn't used the SD card yet, we were able to restore the files with "TestDisk", a companion tool that ships with PhotoRec. Under "Advanced" there is an "Undelete" tool. This will let you browse the filesystem, find your missing files, and copy them to another drive.

For those old enough to remember, MSDOS came with undelete.exe which worked the same way.

comment 1y ago · link · parent

In my imagination, I thought that the large GPU clusters were dynamically allocating whole machines to different tasks depending on load.

So, hypothetically, if ChatGPT's peak load and their minimum load were a 3× ratio, they'd reallocate 2/3 of their servers to training when it's not peak time.

Doing the same thing inside an individual GPU seems irrelevant to anyone operating at scale when they can approximate the same behavior with entire servers or even entire racks.

comment 1y ago · link · parent

Talk to the other vendors. I know of a place that had about that same amount and decided to have a redundant copy of all of their data in another vendor's S3-compatible product. That vendor paid for all of their egress fees as long as they signed a 12-month contract and used their tool for the migration.

comment 1y ago · link · parent

The front-to-back symmetry is interesting. It may cause some confusion for other drivers, in some limited circumstances, when they can't tell which way the vehicle is facing.

It appears, based on my study of the footage on https://www.youtube.com/watch?v=lIRW8bfy4kE, that it could possibly switch which side is the front and the back by just changing the color of the lights. With RGB LEDs that would be pretty easy to do. But my question is, when would that be useful?

It would be neat that it could pull into a driveway and then leave in "reverse", but that doesn't seem like it'd come up that often for a robotaxi.

The back wheels look like they can steer. That's useful for parking in tight spaces.

comment 1y ago · link · parent

Yes! That has been supported for a long while. At least on Android, go to Settings -> Chats -> Chat Backups. Set up a schedule and a passphrase and a folder, and it will export your chats every day.

I do that and then sync that folder with another computer using SyncThing.

comment 1y ago · link · parent

I used to work at a place that had a second copy of all the git repositories on a server, available over ssh. We could push there and then, at deploy time, instruct the servers to pull from that repo instead of bitbucket.

If I were to set up the same thing again today, I'd add some automation to automatically keep it in sync with github as well as automate the servers so that they'd attempt to pull from both on every deploy.

I share this as an idea for those who need an emergency or backup deploy mechanism.

comment 1y ago · link · parent

I wonder if you could work around this problem by having two EBS volumes on each host, and write to them both. You'd have the OS report the write was successful as soon as either drive reported success. With reads you could alternate between drives for double the read performance during happy times, but quickly detect when one drive is slow and reroute those reads to the other drive.

We could call this RAID -1.

You'd need some accounting to ensure that the drives are eventually consistent, but based on the graphs of the issue it seems like you could keep the queue of pending writes in RAM for the duration of the slowdown.

Of course, it's quite likely that there will be correlated failures, as the two EBS volumes might end up on the same SAN and set of physical drives. Also it doesn't seem worth paying double for this.

comment 1y ago · link · parent

If you're using cloud storage for backups, don't forget to turn on Object Lock. This isn't as good as offline storage, but it's a lot better than R/W media.

At work we've been using restic to back up to B2. Restic does a deduplicating backup, every time, so there's no difference between a "full" and an "incremental" backup.

comment 1y ago · link · parent

I think you have that backwards; it should decrease latency and decrease throughput.

I don't imagine the overhead will be too bad though, so it may decrease latency while keeping throughput essentially the same.

Of course you'll want to benchmark on your specific load. For example, at my day job it'd make no difference because we don't use threads, each Passenger worker has just one thread and handles one request at a time.

comment 2y ago · link · parent

For compiled languages it should be fine, as you're only going to compile the permuted source code, not execute it.

Given a sufficiently bad compiler bug anything is possible, but I think given that it's trying to minimize the size of an input that gives a particular output I don't think it's likely to explore distant branches.

comment 2y ago · link · parent

When I give it that same prompt, it writes a python program and then executes it to find the answer: https://chatgpt.com/share/66e35a15-602c-8011-a2cb-0a83be35b8...

comment 2y ago · link · parent

I've heard it called "Platform risk". Also "Playing in someone else's walled garden", or something along those lines. I realize that's not a term for the inevitable rugpull, but that's the closest I can think of.

comment 2y ago · link · parent

This has security implications! Example exploitable ruby code:

  unless person_id =~ /^\d+$/
    abort "Bad person ID"
  end
  sql = "select * from people where person_id = #{person_id}"
In addition to injection attacks, this also can bite people when parsing headers, where a bad header is allowed to sneak past a filter.

comment 2y ago · link · parent

We have a product that uses ChatGPT via the API, using the 3.5 turbo version. Our query involves some dates. Instead of giving back text like it usually does, today it has been giving errors because it does not think 2024-02-29 is a valid date.

This is easy to reproduce with the web interface, at least sometimes [0]. It start out by saying it's not a valid date and then as it's explaining why it isn't it realizes its mistake and sometimes corrects itself.

[0] https://chat.openai.com/share/37490c9f-81d6-499f-b491-116536...

12345
15