HNHacker News
TopNewBestAskShowJobs

paholg

396 karma · joined July 3, 2017

[ my public key: https://keybase.io/paho; my proof: https://keybase.io/paho/sigs/o9yHMvmMOPfwkKqOGiymsDtB9qOquhKlK4uD82lb_PA ]
submissionscomments
paholg··on Ideal monitor rotation for programmers (2021)
I use two displays with the same specs as yours, but have them both vertical. Code goes on one, browser/documentation on the other, and I don't have to turn my head too much to go between them.

But then I _really_ like a vertical display for coding.

paholg··on Amazon Prime Video starts showing ads in January unless you pay $2.99/month xtra
Maybe not all, but I want to ban most advertising.

Ads in public spaces, such as on billboards, buildings, taxis, etc. should be illegal. Being in public is not an agreement to receive advertisement.

Any product or service that has advertisements should at least be forced to offer a reasonably-priced paid version. This goes for streaming services as well.

This also goes for things like TVs. Why does my TV try to advertise to me? By allowing it, we end up with all products trying to advertise to us, and living in an ad-filled hellscape with no escape.

Advertising may have existed as long as commerce, and there may be appropriate forms, but it's getting worse and worse.

I don't want to have to "drink a verification can of mountain dew" or keep my eyes open while forced to watch ads in my own room, as in that Black Mirror episode.

paholg··on You can buy the entire Debian 12 archive on 21 DVDs
That USB has 21 isos on it. I wonder why they didn't just make it a giant bootable USB.
paholg··on You can buy the entire Debian 12 archive on 21 DVDs
Sure, I wasn't suggesting to order those exact ones.

If I was in a position of offering something of roughly 100 GB on physical media, I would spend more effort looking into it, but would expect something of roughly that price to be available.

paholg··on You can buy the entire Debian 12 archive on 21 DVDs
Or just a USB drive. You can get a 128 GB flash drive for under $10; I'm sure it would be much less if buying in bulk.

Edit: A quick search shows some on AliExpress for $0.99.

paholg··on Epic vs. Google: Google Loses
Jesus, that's the exact kind of reasoning that happens in Catch 22. When did reality become more farsical than parody?

I'd laugh, if it wasn't a situation with so much real harm to real people.

paholg··on Plants may be absorbing 20% more CO2 than we thought, new models find
You could do an experiment where you have a plant in a pot on a scale, weigh how much water you give it, and calculate expected evaporation.

Then, at some point, remove and weigh the plant to see if it contains all of the accumulated mass.

If I recall correctly, other than the last step, that was how someone first noticed that plants must be gaining mass from the air.

paholg··on Terraform Cloud Pricing Changes Sticker Shock
As others said, we checked the state file into git. It was up to you to ensure you pulled after taking a lock.
paholg··on Terraform Cloud Pricing Changes Sticker Shock
At a prior company, we had a terraform slack channel, where people would post lock and unlock emojis and apply terraform manually.

Obviously, it's not a perfect system, and it doesn't indefinitely scale, but it worked well enough.

paholg··on Push ifs up and fors down
That's called RAII, and I'm a big fan (not of the name, though. It's a terrible name).

https://en.m.wikipedia.org/wiki/Resource_acquisition_is_init...

paholg··on Apple announces that RCS support is coming to iPhone next year
That's not competition.
paholg··on Iowa teen grew 7k pounds of veggies, then gave them all away
I'm an American, and am familiar with some of those. Never heard kilopound before--that one seems the craziest to me for some reason.

It's like, lets take this wild unit system where we have bespoke units for every scale, but then for this one we'll use a sane prefix.

paholg··on Why Rust in Production?
My current and previous jobs have been in Rust. They're definitely out there.
paholg··on Why can't you multiply vectors? [video]
I found it a much nicer way to think about physical concepts.

Torque and magnetism, for example, make much more sense as bivectors.

And never having to do the right-hand rule is a nice plus.

paholg··on Bevy 0.12
Bevy is structured in a way that you really don't have to interact with the borrow-checker very much. Components and Resources will probably always use owned types, and Querys and Refs let you interact with them without having to worry too much.

I've been playing with Bevy a bit, and I just checked my repo; it has 0 lifetimes.

paholg··on Frink is a programming language designed to make physical calculations simple
Rust as well. There are at least a few libraries to do it, but I'll link the one I wrote:

https://crates.io/crates/dimensioned

paholg··on Who invented file extensions in file names?
When I type `ls`, I generally want to see file names and types, and nothing else. It would be really unfortunate to need a full `ls -l` to see file types.

In fact, I always want to see file types alongside their names, so I really don't mind that the two are together.

paholg··on Who invented file extensions in file names?
Ah, but to make the 3 character limit matter, you need to have the source files on dos. So, it's not enough to compile a binary for dos, but one needs to run the compiler itself on dos!
paholg··on Who invented file extensions in file names?
Why are filename extensions awful? I find it incredibly useful to tell what kind of file something is by just glancing at it. Or do you envision tools like `ls` and file browsers also showing metadata at all times?
paholg··on Ask HN: Who is hiring? (November 2023)
Note: Your pricing page seems to be a template that hasn't been filled in. It's full of filler text, and what isn't Latin is about plants.

Edit: Actually, not just your pricing page, but pretty much your whole website.

paholg··on Why can't you multiply vectors? [video]
There's also a cross-product in 7 dimensions, but just those two: https://en.m.wikipedia.org/wiki/Seven-dimensional_cross_prod...

I wish we would stop teaching/using the cross-product. Bivectors make a ton more sense, and as a bonus do away with the right hand rule.

paholg··on Was Rust Worth It?
In addition to memory safety and performance, Rust offers something that, as far as I'm aware, no other mainstream languages offer: protection from data races.

And it offers those things along with a fantastic type system, and great tooling.

paholg··on Life After “Calvin and Hobbes”
Sorry, what? Him making something you like doesn't entitle you to his output for the rest of time.
paholg··on Big layoffs coming at Convoy, a logistics startup backed by Bezos and Gates
They've raised $670 million???

It's a SaaS product. In what world would they need close to that much money? Am I missing something?

Or do companies really just raise as much money as possible, and hire assuming they'll be endlessly exponentially growing, regardless of what they need to build their product?

paholg··on Why Async Rust?
A nicety of axum is it uses hyper under the hood.
paholg··on Making Rust supply chain attacks harder with Cackle
Let's say crate B depends on crate A with a pinned dependency, and uses one of its types in a public interface.

Crate C depends on them both. It now can't bring in updates to A until B does, and when B updates that's a breaking change, so it better bump its major version.

Take a look at this trick, for example, for foundational crates updating their major version: https://github.com/dtolnay/semver-trick

Now imagine that being an issue every single patch update.

paholg··on mAh Is an Industry Mistake
> Not the natural unit though, that would be Coulomb (C).

To be pedantic, you mean SI unit. The natural unit of charge is the electron (e).

paholg··on Could Earth be the only planet with intelligent life?
I'm sure the angels are working hard on the Y256 bug to prevent that from happening.
paholg··on Google deal may have kept Apple from building search engine, exec says
I recently switched my default search engine to give Kagi a try. It was a lot less straightforward than I expected.

You can't add a new search engine anywhere in firefox settings; you have to go to the search website, then right click the URL, and the menu includes an option to add the search. Then you can go back to settings and set it as default.

paholg··on The most copied StackOverflow snippet of all time is flawed (2019)
One example: I display available memory in my status bar, which expects strings to be a constant width. If it displayed 1000kb, it would cause alignment issues and annoy the heck out of me
← PreviousPage 4 of 6Next →