HNHacker News
TopNewBestAskShowJobs

apgwoz

7,308 karma · joined February 20, 2007

Personal: - http://sigusr2.net/ - My topcolor is #ccff66

Email: - web@apgwoz.com

Elsewhere: - https://github.com/apg

[ my public key: https://keybase.io/apg; my proof: https://keybase.io/apg/sigs/FVP39qxp7ptdAG2Nfeigd5-mN2nceMwWnPl2-EIhP4I ]

submissionscomments
apgwoz··on Bio – Experimental Lisp dialect, written in Zig
Everyone forgets about Dylan. (https://en.wikipedia.org/wiki/Dylan_(programming_language)?w...)
apgwoz··on Show HN: I built a Jeopardy game maker with buzzer support
“I’m a lawyer for Sony Pictures Television, producers of the hit syndicated television show “Jeopardy.” While we appreciate our fans, we cannot allow this to continue. You must cease and desist” arriving in your inbox in 3…2…
apgwoz··on GNU Justified Public License
More concretely, Tom7 built a typesetting system (think TeX) that doesn’t only use the bounding boxes of words, or possible hyphenation to align justified text. His system allows for the text to be rewritten via an LLM if rewording would reduce excess spacing compared to the original.
apgwoz··on Show HN: 2d web paddle game
Well yes, of course. The way the different angles are computed isn’t intuitive. If a ball bounces off a table, it doesn’t change direction from its normal reflected bounce just because it didn’t hit the center.

That’s why I’m suggesting there must be something that guides the idea that hit position changes the angle. If the paddle was actually parabolic, and just drawn as a rectangle, that’s an intuitive reason for the different reflective angles.

apgwoz··on Show HN: 2d web paddle game
I agree, it's fun. However, who wants to play pong? It's not exactly a flashy "CLICK ME" type game.
apgwoz··on Show HN: 2d web paddle game
I've never "studied" "paddle dynamics" in these games, and when implementing pong, always just reflected, which doesn't provide good game play, but pong is always a "I'm trying out a different framework" type exercise.

Pong using where it hits to affect the angle never totally made sense to me. I assume the explanation is "the paddle is drawn as a rectangle, but is actually parabolic." Additionally, I've always wondered why I've never seen a pong where the paddles have acceleration to some maximum velocity, and if the paddle is not stationary, you get lateral spin, causing non-linear ball paths on the return hit.

apgwoz··on Show HN: 2d web paddle game
It wasn't until I read the comments that I actually gave it a chance. Would love to see a "Oh, you think it's Pong? It's not!" indicator on the page.
apgwoz··on Encryption at Rest: Whose Threat Model Is It Anyway?
It’s certainly possible that there’s a valid oversight here, but Salesforce has a rather talented security team, and the company truly lives by “Trust is our #1 value”^1

I can’t speak for the implementation, but my guess is that it’s been very thoroughly vetted by both internal security and external pen tests. They wouldn’t market a high profile security feature without that.

(1: I am an ex-Heroku / Salesforce employee)

apgwoz··on I got tired of hearing that YC fired Sam, so here's what actually happened
This is Sam being given an ultimatum and making a choice before being fired. Is it effectively the same thing? Yes. But technically, he left to pursue OpenAI. YC never said “You’rrrrrrrrrrrre Firedddd!!!” (In my best Spacely Sprockets voice); it just politely asked him to leave if he couldn’t give 100%.
apgwoz··on Iran president helicopter in hard landing – state media
Well, clearly, the assassins _made_ the weather difficult for helicopters so they could plausibly deny accountability like any good assassin.
apgwoz··on OpenBSD Desktop
There's a userspace frequency scaler (https://tildegit.org/solene/obsdfreqd) that increases my battery life to well beyond what I actually need. I easily get 6-8 hours on my Thinkpad X1 Nano (previous generation). This is not even close to the M series Macbook battery lifes, but works well enough for me.

I do not run heavyweight stuff though, but that's with WiFi, cwm/dwm, Emacs, compilers (go, cc) and Chrome. I've had a bit of trouble with Firefox performance, so having to use Chrome has been my biggest hurdle.

apgwoz··on The Internet Archive's last-ditch effort to save itself
I recently read an article (can't find it, but similar to this: https://blog.reedsy.com/how-much-do-authors-make/) which pointed out that the publishing industry is very similar to Venture Capital where 1 hit pays for a ton of the other books that sell at most 1000s of copies.

So, if you make books available for free, with unlimited copies, the publisher never gets their advance back, never funds the next hit, etc, etc, etc.

I'm all for freedom for information, but unless we can come up with a distribution model that ensures authors actually get paid... I've gotta side with the publishers here. They gotta pay the authors somehow.

apgwoz··on Hertz is ditching even more electric cars
You _can_, but if I have a reservation a week in advance, then it’s not much use. Someone could return the car with no batter at 3:15, for my 3:30 reservation.
apgwoz··on Hertz is ditching even more electric cars
We use Zipcar for a second car at the moment and the closest one is an EV. I’ve only used it to go (at most) 10 miles round trip, but I’ve picked it up at 15% charge before and had anxiety the whole time… I agree that EV is a poor choice for rental.
apgwoz··on List of people offering their time for free to have a "coffee chat"
> Free as in speech

When did they change this? I distinctly remember this previously being “free as in freedom, not as in beer.”

It’s always had to be further disambiguated by using “libre” and “gratis” — not sure “as in free speech” is better.

Update: welp, I must be misremembering. Wayback machine shows at least since 2010… so it’s either a reallly old framing or, I’m misremembering, completely!

apgwoz··on List of people offering their time for free to have a "coffee chat"
The point of free as in beer is that it’s not free. So, if someone is giving it to you, it’s gratis.

As opposed to “free, as in freedom” to use the beer not just for drinking, but to redistribute, inspect, add ingredients to it, understand how it was made, etc.

apgwoz··on Show HN: Podlite - a lightweight markup language for organizing knowledge
Perl's POD, yes. But you're right! The spec authors are Perl folx, and this is clearly derivative. What's kind of interesting is that POD stands for "Plain Old Documentation" and then there's a "lite" version of it... so "lite-r Plain Old Documentation" --- I don't see a clear summary of the differences, though.
apgwoz··on The $10k BYD Seagull EV is scaring the U.S. auto industry
This is exactly the size I want for my second car. Bring it on.

As it stands, I’ll end up spending $10k more on a used, 2023 Bolt EUV.

apgwoz··on ValKey is a new open-source Redis Fork
They should have kept the name PlaceholderKV. I'd remember that far easier than ValKey. One is funny, the other is boring. :)

Also, see the Linux Foundation release: https://www.linuxfoundation.org/press/linux-foundation-launc...

apgwoz··on Redis Renamed to Redict
I didn’t think you were commenting on Drew, fwiw. This keeps happening, and the people stepping up sometimes have different motivations. I believe Drew’s are well intentioned, and am pointing it out as “I think it’s possible to go well.”
apgwoz··on Redis Renamed to Redict
Codeberg is more like GitHub which is where redis was previously hosted as a project.
apgwoz··on Redis Renamed to Redict
Ah! Good to know about contributors being free.

I’d still expect the size of redict’s community to be big enough to convert some folks to paid. But maybe I am overestimating the size of that community since the Redis company took over?

apgwoz··on Redis Renamed to Redict
> When developers do this is it really for the good of the community or is it a career advancing move?

Drew had the opportunity to make money with this fork by hosting it on SourceHut, and potentially creating subscribers out of redict contributors. Instead, he chose to host on Codeberg, a German non-profit, that is more GitHub like. I think, this alone, shows that (in this case) it’s about community and preservation over everything else.

apgwoz··on Redis Renamed to Redict
I think Drew recognizes that people contributing to redict are likely more familiar/comfortable with GitHub, and that this is truly not a selfish act.
apgwoz··on Redis Renamed to Redict
> Uh, this article is so strangely written.

What part do you think is strange?

To me, the article presents an alternate narrative that (in my opinion) rightly calls out relicensing of F/OSS as the actual fork since it’s being done in a (usually) hostile manner against the wishes of the community that lifted it to be relevant in the first place.

I think the crack at Drew is (maybe) fair given the explanation of redemption, but also unnecessary. Drew’s hardline software freedom advocacy is the relevant information to the story. His promise of redict’s safe harbor is backed up by his profound stewardship of other projects.

apgwoz··on Show HN: Free Plain-Text Bookmarking
I wrote a KV store on top of Bit.ly once: https://github.com/apg/bitdb -- The "todo list" example has a good description of what's going on: https://github.com/apg/bitdb/blob/master/examples/todo.py

And I know of a generic blob store on top of (older) Snapchat API: https://github.com/hausdorff/snapchat-fs

It's really fun to "exploit" APIs in this way to create alternative uses.

apgwoz··on Lcl.host: fast, easy HTTPS in your local dev environment
Not affiliated with them, but it seems this was a mistake. https://news.ycombinator.com/item?id=39768685 -- maybe give it another shot?
apgwoz··on Boeing 737 MAX suffers landing gear failure, rolls off runway
Maybe I've become incredibly biased against the 737 MAX through years of reporting / citations of substantial problems, but I'm sort of in the "ha! I'll believe it when I see it" for the MAX to do anything properly.
apgwoz··on Show HN: NeedleDrop – Guess the movie from a song
I guessed "Dazed and Confused," for that song, which was also wrong--sadly. I guess "School's Out" might have been a _better_ pick for Dazed though.
apgwoz··on Faster: Fast persistent recoverable log and key-value store
> I've been digging into a weird bug, deep in Go, that causes FIN_ACK packets to get delayed by hundreds and hundreds of ms.

Just going to put it out there: have you considered the problem might actually be [Nagle’s Algorithm](https://en.wikipedia.org/wiki/Nagle's_algorithm)? This algorithm is the source of 10s of thousands of hours of wasted debugging time of “weird bugs related to latency of networking.” Even the “greats” have wasted time debugging something that ended up being “I forgot about Nagle.”

← PreviousPage 6 of 34Next →