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 Slack to destroy >90d history of free communities
That's what slack used to offer, and it was actually usable for small communities.

90 days is useless for basically everyone.

paholg··on Slack to destroy >90d history of free communities
They have a cloud offering with import and export tools, so one can still use that and migrate to self-hosted when or if they want.

Your question was why is Zulip better; I'd argue that's a pretty strong reason.

paholg··on Slack to destroy >90d history of free communities
Zulip is open source and you can self-host it.
paholg··on Employees who stay in companies longer than two years get paid 50% less (2014)
With options, there's always a risk that they will be worth nothing, or very little.

I would rather have some options in several companies than a lot of options in one to increase the chance that some of them will be valuable. That approach does require you to buy the options, whereas staying at one company means you can delay the purchase

paholg··on Daylight Computer – New 60fps e-paper tablet
Awesome! I want!
paholg··on Daylight Computer – New 60fps e-paper tablet
It says you can install any Android app. So I can just like browse websites in Firefox? How is that experience?
paholg··on Alacritty – A fast, cross-platform, OpenGL terminal emulator
Like all similar software, it's emulating a physical terminal: https://en.m.wikipedia.org/wiki/Computer_terminal.
paholg··on Making a Postgres query 1k times faster
One branch of the OR is comparing IDs as though they're monotonically increasing, so either they are or the query is broken.
paholg··on Go performance from version 1.0 to 1.22
I don't have a ton of Go experience (intentionally), but I don't find it very good for ease of code or safety.

It's a simple language to a fault, but I would not call it easy. There are so many footguns in the language itself and the standard library.

I just reviewed a PR that added a bunch of `defer response.Body.Close()` calls after http requests to fix leaks. I don't know why Go is allergic to RAII, but I hate it.

I also find it very hard to read. There's so much boilerplate sprinkled throughout everything, it's hard to follow what code is actually doing.

While I am very in favor of a good static type system, I think dynamically typed languages like Ruby or Python win over Go by any metric except speed.

paholg··on Airlines in the U.S. charge separately for checked bags in order to reduce tax
What they describe has happened to me many times. It's always a free gate-check.

Sometimes the bags are unloaded at the gate, sometimes you have to go to baggage claim.

paholg··on GNU Stow needs a co-maintainer
It's not the same.

It's been a while, so I'm sure to get things wrong, but you basically had different package groups you could set up. So a service would have its group that it could update, test, and deploy with at once.

But like if I produced a package, and another team depended on it, there was no guarantee that the group I ran in CI had versions in common with the group that they deployed.

I also remember some weirdness just within one package, like maybe your PR build was based on your local group setup and not anything "official".

The coolest thing about it is that you could make a PR against multiple repos at the same time, even if one depended on the other. Like you could add a function to a library in one repo and call it from another repo in one PR.

paholg··on Cache is King: A guide for Docker layer caching in GitHub Actions
If you have the ability to choose the tooling, I recommend looking into building docker images with nix.

Yes, nix is complex. But its caching story is soooo much better than docker's, and all the other docker issues just disappear.

https://nix.dev/tutorials/nixos/building-and-running-docker-...

paholg··on Robinhood's new, attractive and expensive credit card
Can you explain?
paholg··on Ask HN: Mnemonic for shift() and unshift()?
But you can do left shifts and right shifts. Your analogy works in comparison to right shifts, but it's backwards if compared to left shifts.
paholg··on Rust data structures with circular references (2021)
Yep! Sorry.
paholg··on Sudo-rs dependencies: when less is better
Ah, I guess I just checked the wrapper.

That's what I get for doing it on my phone over ssh. I would have probably looked deeper with a real keyboard.

paholg··on Sudo-rs dependencies: when less is better
I just checked on NixOs, and ldd reports sudo is not dynamic.
paholg··on Rust data structures with circular references (2021)
Note: the two of you are linking to different crates. Samsara provides a Gc type, but it is not the gc crate.
paholg··on Show HN: Auto-generate an OpenAPI spec by listening to localhost
Why though when I can just generate it from my actual code and not have to maintain two copies of my api spec?
paholg··on Show HN: Auto-generate an OpenAPI spec by listening to localhost
It's going to be very language/framework dependent.

I'm using aide for a Rust/Axum server: https://github.com/tamasfe/aide

paholg··on Show HN: Auto-generate an OpenAPI spec by listening to localhost
I don't want to write OpenApi. Yaml is a terrible programming language, and keeping it in sync with actual code is always a nightmare.

I've been using a tool to generate OpenApi from code, and am pretty happy with that workflow. Even if writing the API before logic, I'd much rather write the types and endpoints in a real programming language, and just have a `todo` in the body.

You can still write API-driven code without literally writing OpenApi first.

paholg··on A cargo ship's 'WindWing' sails saved it up to 12 tons of fuel per day
In addition to what others are saying, look at the sails of giant ships of the past. They're just big rectangles that block the wind, they don't work anything like a wing.
paholg··on A cargo ship's 'WindWing' sails saved it up to 12 tons of fuel per day
If you're saving a $1 in fuel today, then in ten years doing the same thing you'll save more than $1 because fuel will cost more.

I'm not sure it's a useful characterization, since inflation affects everything, but it's not wrong.

paholg··on A cargo ship's 'WindWing' sails saved it up to 12 tons of fuel per day
The keel issue, at least, can be solved by using a kite instead of a sail.

There appears to be at least one company working on this: https://www.cnn.com/2023/06/30/travel/airseas-giant-kites-sh...

paholg··on You really don't want the US Government to win its antitrust suit
I currently have, and would want it to work on the following devices, with 3 being the most important:

1. A Linux computer 2. An Android phone 3. A Chromecast

I believe 1 works, but not either of the others.

paholg··on You really don't want the US Government to win its antitrust suit
It's too bad we have no evidence of products from different companies working together. I can't imagine how we would get, say, software from one company to work on hardware from another. Or a device from one manufacturer to communicate with one from another through some kind of standardized protocol.
paholg··on You really don't want the US Government to win its antitrust suit
> It's also not like the government is trying to break Apple into multiple companies, like Standard Oil.

If only.

paholg··on You really don't want the US Government to win its antitrust suit
Yes, I do. Don't assume you know what I want!

I want not just the US Government to win its antitrust suit, but I want it to bring many more (against not just Apple).

> On the other hand, I don't believe companies should be forced to make their products work with competitors' products

To me, this is the crux of the issue. They shouldn't get to be competitors. No one company should be able to have such a large market share in so many different spaces. This is so obviously bad for consumers, as well as for smaller companies that might want to enter any of these spaces.

> Everything worked fine and I never felt that, for instance, my iPhone was trying to nudge me to switch to a Mac, or that my Apple Watch harbored secret disdain for the Windows platform.

I'm glad things have worked well for you, but this clearly is not the case in general. For example, I'd be happy to subscribe to Apple TV+, but they are not interested in me as I don't have any of their hardware to stream on.

paholg··on Why isn't dental health considered primary medical care?
I would love dental insurance that covers that tail risk, but it doesn't seem to exist. Every dental plan I've had covers at most $1500 or $2000 per year. That's meaningless when something comes up that costs ten times as much.
paholg··on Why you should use a terminal editor to write a commit message
Wait do people write all their commit messages with `-m`? No wonder they're always so bad.

I use an editor to write commit messages because it lets me take my time, to format them, to edit them after the initial draft.

If I know the message will be under 50 characters, I might use `-m`, but the rest of the time I want an editor.

Always relevant: https://cbea.ms/git-commit/

← PreviousPage 2 of 6Next →