Better HN
topnewbestaskshowjobs
Log inSign up

klodolph

25,928 karma · joined Aug 31, 2009 (17y ago) · 6,811 submissions

Negative, I am a meat popsicle.
Submissions

comment 7h ago · link · parent

In this case you’re really setting a lower bound on the borrow of B, not an upper bound on the lifetime of A.

I assure you this is not pedantry or a nitpick. The classic case here is if you want to borrow a local variable inside a thread… you need to ensure that the thread lifetime is bounded from above by the lifetime of the borrowed variable. This is why we have weird workarounds like std::thread::scope. If we could just express an upper bound on lifetime, it wouldn’t be necessary.

comment 8h ago · link · parent

Rust, unfortunately, lets you express lower bounds on lifetimes but not upper bounds. There is no way in Rust to express “this object must be released by that point in the program,” a guarantee which is extremely useful.

comment 17h ago · link · parent

> I don't think that anyone needs you to tell them to do things how they want to do them.

Categorically false. People do need that. People lack confidence in their own judgment and place too much weight on the opinions of others. Or perhaps, people try too hard to make something that cannot be criticized.

The result? People spend too much time polishing their writing and less time on the more important parts.

> If you prefer to waste people's time, that's your business.

It’s not a binary choice in the first place. I want people to think of this more as as a space of possibilities. As a writer, you’re making decisions without a complete understanding of your reader or a complete understanding of what you are writing about.

In the end you should be pressing “publish” and it’s normal to press that button for posts that still waste your readers’ time.

The internet has kind of made people into defensive writers, which is bad, and I think this article’s admonition is an extension of that.

comment 1d ago · link · parent

If the article is “less about bloggers” then it’s an object lesson in how text can be misleading. I don’t think I can be expected to ignore the title of the post.

comment 1d ago · link · parent

I don’t agree at all. The whole field has been in a race to the bottom for over ten years and it’s about as cheap as you could imagine.

Back in years past there were horror stories of people putting their data into Glacier and then getting hit with some kind of inscrutable bill when they retrieved it. Those days are gone.

comment 2d ago · link · parent

I think bloggers should mostly write how they feel like. Yes, there’s an audience, or a potential audience, but you calculate how much you want to optimize for the audience and how much to optimize for other qualities.

Maybe you are optimizing for the enjoyment of blogging. Maybe you are optimizing for getting your thoughts down in fixed form, because you think there you have something important to say. Maybe you are optimizing for blogging as a habit. It takes time to edit blog posts down and make them brief, and if you have other shit to do, the posts could be longer.

Next, you don't know whether a blog post will be popular / reposted / recirculated. It happens after you write it. By then, it is too late to decide whether you want to write it carefully.

Rather than assume people are not interested in my blog posts, I just believe that I don’t know which blog posts of mine people want to read, and then I’m happy when one gets higher readership.

comment 3d ago · link · parent

You would argue that by replying to the parent comment, hopefully, since that’s the place “never accessed” appeared.

comment 3d ago · link · parent

It is unreasonable for you to expect to get the cheapest long-term storage rates and the cheapest retrieval. I don’t know why I’m explaining this, but here’s how you do it:

1. Start by describing your data access patterns. How much data, how often to retrieve it.

2. Fire up a spreadsheet and plug in different options. Consider lifecycle rules while you’re at it.

The parent comment explicitly said “never accessed” so if your data access pattern is different, you will (obviously) choose a different option.

comment 3d ago · link · parent

Google Cloud Storage archival tier is $0.0012/GB-month. That works out to $1.20/month for 1 TB.

S3 has the same thing.

comment 5d ago · link · parent

> "Expose for the shadows, develop for the highlights"

As a historical note, this practice has been mostly unworkable for a long time. I haven’t met anyone who does this.

The basic idea for this technique is to use a spot meter to measure both the dark and light parts of your scene, and adjust exposure and development time to map those to the correct tonal values. There some big reasons people don’t do this:

- You can’t change development for pictures in roll film,

- We have good variable contrast paper,

- It’s harder to do in color.

comment 5d ago · link · parent

(This is almost exactly what we do already.)

comment 5d ago · link · parent

This is exactly the one thing I was thinking about. There are a lot of (image-related) things you can’t reasonably do in post, but that’s an especially important one.

comment 5d ago · link · parent

Multi-agent coding orchestration setup.

comment 1w ago · link · parent

Yeah. I’m not really a professional here but I would say sensitometry is something of an interest of mine. Take what I’m saying with the appropriate grain of salt.

Your camera has some sensor which records some range of values. The range is a lot wider than your monitor can reproduce and generally follows some curve up to a maximum value, where the highlights clip.

Log is something of a fantasy in that it represents an idealized, mathematical idea of what your camera does, but it does not really correspond to what the sensor does or what the monitor displays. You can convert your video to log, or from log, but the log data itself is only really useful as an intermediate step when post-processing. I don’t think you need to capture in log. I would just go for some “regular” wide like Canon’s Wide DR.

YMMV, I am a little old-school about these things and there is a lot of stuff that I prefer to do in-camera. (Be warned that while doing things in post gives you flexibility to undo your work and change your mind, there are a lot of things you can’t reasonably do in post… even things that seem basic like white balance are better to do with lighting or filters, and if you don’t understand the sensitometry then you can easily end up with footage that you can’t rescue in post.)

comment 1w ago · link · parent

Writing English in the AI era is like going for an hour-long walk in the park, when previously it took you 15 minutes via a crowded subway, where you were stabbed in the neck by a raging lunatic while a nearby passenger blasted Coldplay at 100 dB.

comment 1w ago · link · parent

GHA over Jenkins is insane. Every time I’ve touched GHA, I’ve just been shocked with how bad the ecosystem is.

It feels like, I don’t know. You go to somebody’s house and they have one plate, one cup, one spork. They’re living in a 30th floor walk-up, but one of the windows is missing so there’s a giant hole in the wall.

That’s kind of the subjective experience I get when I see people using GitHub actions.

comment 1w ago · link · parent

Here’s my take: if you don’t personally have a Mac, you should not be making Mac builds of your software.

Same for Windows.

I may be a little old-school about this. That’s fine. I think most people out there who are trying to support multiple platforms with their code should be going one of three directions—(1) some kind of web app, (2) an open-source tool where end-users compile it or run it in their Python interpreter or Node.js or whatever, or (3) a pre-built binary for systems they personally run at home.

I also am not writing out, like, an essay on how to replace GitHub actions for every possible use case that people have GitHub actions for. I am just providing some suggestions for one possible direction. If you get off GitHub actions, you are going to end up with something that is missing some of the features that GitHub actions, maybe some features that you like. The same is true in the reverse—if you switch to GitHub actions, you will obviously lose features that were present in whatever other system you had before. GitHub actions is, after all, completely terrible and switching to it would just be a kind of disaster in a bunch of different ways.

I don’t like to put this kind of wall-of-text disclaimer in comments on HN, and hopefully y’all can figure this stuff out without the wall-of-text disclaimer. It would be kind of… absurd… perhaps, to expect some random commentator on Hacker News to give you exactly the answer that satisfies your needs, unless you put those needs in a question.

Instead I limited myself to two suggestions. If you don’t like them, then figure something else out yourself. You will not have trouble making something better than GitHub actions.

comment 1w ago · link · parent

Just about anything else, tbh. Jenkins is the option I would go for, but that’s a reflection of my personal preferences for self-hosting. Self-hosting has gotten way easier since LLMs can debug things so well, so I’m self-hosting more than ever before even though I have less time available.

You don’t have to go Jenkins, it’s just that GitHub Actions are uniquely bad and I would avoid them.

If you are relying on the free version of GitHub actions for small projects, I would consider just running something on a NUC or Pi at home.

comment 1w ago · link · parent

I think my main advice is to avoid GH actions at all, unless avoiding them is somehow painful. There is just a long bad history here.

comment 2w ago · link · parent

Yeah, my cap is higher but I don’t use it.

comment 2w ago · link · parent

I added DMARC and DKIM together, around the same time as some particular life events 10 years ago. Just now, I cross-checked the information against the commits in my Git repos.

Back then, I didn’t use Terraform or anything like that, but I had text files with logs that described the DNS setup in detail so I could fix things. By grepping through the logs, I’m able to put a definitive bound on when I added DMARC—it was no later than June 2016, over 10 years ago.

At the time I thought, “Obviously, we should all be setting this up, because recipients will start rejecting mail from insecure domains, if they don’t already.” This was also back when I self-hosted email. I eventually stopped doing that because I thought it was too time-consuming.

comment 2w ago · link · parent

I set up DMARC on my personal domain so long ago I can't even remember when I did it. 10 years+?

I had kinda assumed that a lot of providers would start rejecting domains without DMARC support. I'm surprised it's happening this late.

comment 2w ago · link · parent

I am guessing a combination of tighter manufacturing tolerances, smaller sector sizes, and manufacturers over time cheaping out would contribute to decreased reliability of 3.5" disks. People also, as far as I remember, universally used sleeves for 5.25" disks, but almost never had cases for 3.5" disks.

On the other hand, 3.5" disks have higher magnetic coercivity, which makes them less susceptible to data loss from stray magnetic fields (e.g. nearby motors).

comment 2w ago · link · parent

I used to do floppy disk data recovery as a service for students at college. Roughly speaking, we helped one student out every three hours, out of 2,500 students, during busy hours. Based on the rates and hours, I think it would come out to something like 25% of the student body, each year, coming to us with a data loss incident involving floppy disks.

YMMV. I’m sure a lot of people were shoving these things into backpacks, and this was post-2000, so the quality of disks for sale was poorer than it was in the 90s and 80s.

I’ve also (since then, for myself) repaired drives. The drives fail because they’re mechanical and have motors, and anything that moves or has a motor in it will need some kind of service. Servicing a floppy drive requires specialized equipment which is hard to find (or requires a lot of patience—it’s possible to repair a floppy drive with just a screwdriver, but it’s not fun; guess how I know?)

comment 2w ago · link · parent

I don’t remember and I don’t have access to the numbers any more. Our system was massive. Because it was massive, we designed it to minimize cost and minimize human effort required to run it. Errors were mostly invisible unless they required human intervention—

—which happened often enough. Tape stuck in a drive, operator has to go into the tape library to fish it out. You have to turn the robots off first. Individual tape errors were invisible because we used erasure codes. We would have to see, like, four correlated failures in order to lose data.

I did the math and we were comfortable with that level of redundancy, based on our data for how often tapes fail. When I say I did the math, I mean I personally did the math, but I don’t have the figures handy.

comment 3w ago · link · parent

I worked with a few more orders of magnitude and saw lots of errors.

comment 3w ago · link · parent

Maybe it just reached its peak with “just according to keikaku (translator’s note: keikaku means plan)”

comment 3w ago · link · parent

You can figure it out from context if don't know one or two words in a paragraph. If you are missing a word from most lines of dialogue then you are probably going to struggle.

comment 3w ago · link · parent

People who can figure out words from radicals probably have >500 word vocabularies to begin with. I’d say if you started learning on some natural progression, you would start learning how to figure things out from radicals once you knew somewhere around 300 kanji (which would mean you have a vocabulary of 1,500 words, ish).

Before that point, you are probably going to have too much trouble generalizing.

comment 3w ago · link · parent

It’s just a choice of which key to use. I don’t think it was some decision made with this intent, I think it is just the unexpected result of a decision.
12345
228