HNHacker News
TopNewBestAskShowJobs

philsnow

5,123 karma · joined February 8, 2012

the nyan must flow
submissionscomments
philsnow··on My Homelab Setup
I agree with you that they're more or less equal. I don't like the idea of my reverse proxy dealing with letsencrypt for me, personally, but that's just a preference.

One tricky thing about nginx though, from the "If is evil" nginx wiki [0]:

> The if directive is part of the rewrite module which evaluates instructions imperatively. On the other hand, NGINX configuration in general is declarative. At some point due to user demand, an attempt was made to enable some non-rewrite directives inside if, and this led to the situation we have now.

I use nginx for homelab things because my use-cases are simple, but I've run into issues at work with nginx in the past because of the above.

[0] https://nginx-wiki.getpagespeed.com/config/if-is-evil

philsnow··on Supertoast tables
Unexpectedly, I love the animated ascii diagrams, very cogmind-esque.

Anybody know how they designed those?

philsnow··on I built Timeframe, our family e-paper dashboard
I got a 4-pack of zigbee power plugs that report usage, and I have a home assistant automation that goes ding (or whatever) when the washer or dryer had been using electricity for at least a few minutes and then stops using electricity.
philsnow··on Building a model that visualizes strategic golf
> In saying “every point,” we obviously have to turn a continuous problem into a discrete problem, and the choice of what level of resolution to use is non-trivial. Right now, when I set that resolution to only make a calculation for each two-yard by two-yard square, I can get the map done in a couple minutes. When I set the resolution at one foot by one foot, the process usually takes over an hour. TL;DR: I can make maps for shots from general areas on a hole pretty quickly, but as I get closer to mapping “every point” on a hole, it gets exponentially more time consuming.

Are you making an assumption that you need to have the same resolution at every point on the course? Maybe there are broad areas of fairway that have similar scores (so lower res is fine) and specific "sharp" areas (you'd probably need finer resolution on the hole-wards side of bunkers vs the side that's farther away from the hole?).

There's lots of techniques in computer graphics for figuring out when you can downsample, and you're going to have lots of opportunities to tune those techniques to the problem of golf course strategy analysis (trees, as you mention, probably cast "shadows" of uncertainty and those shadows would need better sampling).

(disclaimer: I golf <1x / year so I don't even know all the words you used in the article)

philsnow··on California's new bill requires DOJ-approved 3D printers that report themselves
> The forced changeover from coal gas to natural gas is largely credited with a reduction of suicide by 40% after it was done.

The mechanism of that reduction very well could be reducing the level of depression in the populace and thus suicidal ideation, rather than just making the means less handy (or of course, some combination). Coal gas, like any other gas used for combustion, doesn't burn perfectly and UK homes likely had persistent amounts of carbon monoxide roughly all the time since heat gets used not-quite-year-round.

From https://en.wikipedia.org/wiki/Carbon_monoxide_poisoning#Chro... :

> Chronic exposure to relatively low levels of carbon monoxide may cause persistent headaches, [...], depression [...].

philsnow··on Running My Own XMPP Server
> Google Talk and Facebook Messenger were XMPP all the way through and worked with vanilla XMPP clients

I remember this, it was great to connect to absolutely every chat platform with bitlbee and pretend that all my chats were just DMs on some irc server somewhere

philsnow··on Running My Own XMPP Server
This is a great explanation; Prosody/ejabberd seem to kind of be "everything to everybody" but because they are so general it's hard to know if they're a good fit for any one particular purpose.

Snikket seems to just be a focus or lens on Prosody that answers that question for the mission statement you gave.

philsnow··on HeyWhatsThat
It doesn't seem to request location in a modern-enough way on safari on ios. It just seems to think that it can't get the location and suggests that I go open the Maps app.
philsnow··on Apple patches decade-old iOS zero-day, possibly exploited by commercial spyware
They said upthread that they had blocked 17.0.0.0/8 ("Apple"), but maybe there are teams inside Apple that are somehow operating services outside of Apple's /8 in the name of Velocity? I kind of doubt it, though, because they don't seem like the kind of company that would allow for that kind of cowboying.
philsnow··on Warcraft III Peon Voice Notifications for Claude Code
The author might not be malicious, but from going through some of the audio packs, they're really not quality-checking PRs. For instance, sc_medic/sounds/WhereDoesItHurt.mp3 sounds like two-and-a-half sounds stuck together ("Critical? You Rang? Please state the nat--", it cuts off right there, and doesn't include the phrase "Where does it hurt?").

I wouldn't use this repo outside of some kind of sandbox.

philsnow··on Apple Platform Security (Jan 2026) [pdf]
The HSMs that Signal and Apple are using are on-device though. Yes you still have to trust Signal / Apple to not exfil your key matter once decrypted by the HSM, but I submit that that is materially better than having the HSMs be hosted in a datacenter.
philsnow··on Apple Platform Security (Jan 2026) [pdf]
What is "Google Messages"? I can't count the number of articles people have written over time about how many first-party messaging apps Google themselves have put out (and then put down), not to mention what messaging apps get shoveled on by third-party android integrators.

> the main reason a message wouldn't be properly end-to-end encrypted in Google's Messages app is when communicating with an iPhone user, because Apple has dragged their feet on implementing RCS features in iMessage

(or with any other android user who isn't using a first-party device / isn't using this one app)

> [...] Android's equivalent cloud backup service has been properly end-to-end encrypted by default for many years. Meaning that you don't need to convince the whole world to turn on an optional feature before your backups can be fully protected.

You make it out to seem that it's impossible for Google to read your cloud backups, but the article you link to [0] earlier in your post says that "this passcode-protected key material is encrypted to a Titan security chip on our datacenter floor" (emphasis added). So they have your encrypted cloud backup, and the only way to get the key material to decrypt it is to get it from an HSM in their datacenter, every part of which and the access to which they control... sounds like it's not really any better than Apple, from what I'm reading here. Granted, that article is from 2018 and I certainly have not been keeping up on android things.

[0] https://security.googleblog.com/2018/10/google-and-android-h...

philsnow··on Flameshot
> dump to s3 so I can paste around links to screenshots everywhere for work

This has got to be the "todo list app" for people who aren't app devs; mine [0] is for MacOS + launchd + hammerspoon and I use Shottr for annotation

[0] https://github.com/philsnow/shots-filed

philsnow··on Drug trio found to block tumour resistance in pancreatic cancer in mouse models
What do you mean by "without a brain"?

There are multiple examples in the literature of people leading perfectly ordinary lives whilst unknowingly having no more than 5% of the typical amount of brain matter (typically because of hydrocephalus). For example, https://www.science.org/doi/10.1126/science.7434023 from 1980.

philsnow··on Apple introduces new AirTag with longer range and improved findability
From the linked article:

> For the first time, users can use Precision Finding on Apple Watch Series 9 or later, or Apple Watch Ultra 2 or later, to find their AirTag, bringing a powerful experience to the wrist.

philsnow··on EU–INC – A new pan-European legal entity
Please please tell me it's pronounced "yoink"

https://www.youtube.com/watch?v=CJh1hmmLLzw

philsnow··on Many hells of WebDAV
> One niceish thing about WebDAV/CalDAV is it's pretty set in stone for now.

I don't know if you've ever heard "Latin is a dead language"; many people think that statement is a somewhat negative-sentiment one, amounting to something along the lines of "there's no good reason to learn Latin, it's dead", but I've heard that it's actually supposed to be a positive-sentiment statement, something like "we can have confidence that contemporary interpretations of this text haven't changed in the last ~1800 years because the language itself stopped changing around then".

philsnow··on The story of Squeak, a practical Smalltalk written in itself (1997) [pdf]
> There was also a feature that allowed method lookup by putting in the inputs and expected outputs (I still haven't seen anything like this).

Do you mean like hoogle [0]? Or does what you're talking about operate on values rather than type signatures?

[0] https://hoogle.haskell.org/?hoogle=a%20-%3E%20a

philsnow··on Netflix Open Content
The ios gmail app does the same thing, but why? I would assume the app could just transparently relay the click through its already-open grpc channel to google's servers, and it would be faster for them and (more importantly) for me.
philsnow··on Outside, Dungeon, Town: Integrating the Three Places in Videogames (2024)
One thing that is really useful about the distinction is that almost necessarily, there are different scales involved.

Ultima VI was the first of its (mainline, not 'online' or 'underworld') series to not really have the "town/dungeon/overworld" distinction. It got fairly awkward to have towns and the overworld be on the same "layer", because the towns could really only have a dozen or so buildings because otherwise they'd take up the entire overworld.

Breath of the Wild / Tears of the Kingdom kind of have the same issue: there appear to only be a few dozen Gerudo for instance, and only a few hundred people total in the entire world.

philsnow··on Fabrice Bellard Releases MicroQuickJS
Do you mean that files produced with "wide" tabs might have hard newlines embedded more readily in longer lines? Or that maybe people writing with "narrow" tabs might be comfortable writing 6-deep if/else trees that wrap when somebody with their tabs set to wider opens the same file?
philsnow··on Frinkiac – 3M "The Simpsons" Screencaps
Is the reason there isn't a perfect show/movie-to-meme site with All the features and All the shows, that such a site would attract notice from rightsholders and then implode from fending off spurious legal complaints?
philsnow··on Unreal Tournament 2004 is back
> a strategy-less map

I only really played ut2k4 not 99, but in the 2k4 Face map there was a "ledge" (I don't know the term, like a stray polygon edge or something) out of sight on one side where you could fake like you had fallen off, land on the ledge, wait a couple seconds and then crouch or do whatever it was that made you drop the flag.

The game would show the message "so and so dropped the flag" which IIRC was the same message it shows when you die while holding the flag, and to most people it seems like you fell into the void and died, but you're actually just hanging out on the ledge.

There wasn't a way back up from the ledge, so you can't do this to shake people chasing you and then go score, but if you do this while you're ahead, the other team can't score until they get their flag back...

okay that's not really "strategy", it's super cheap.

philsnow··on Unreal Tournament 2004 is back
Sounds a lot like emacs, there's a core written in C etc but the overwhelming majority of the bits that make it an editor are in a scripting layer that you can change at runtime (and indeed there's hardly any reason to use emacs if you're not doing so)
philsnow··on The RAM shortage comes for us all
Hadn't heard of it before..

> Foxhole is a massively multiplayer game where

nope, not my cup of tea, but thanks for the "if you like this you might like this" rec :)

philsnow··on The RAM shortage comes for us all
Red chip supply problems in your factory are usually caused by insufficient plastic bars, which is usually caused by oil production backing up because you're not consuming your heavy oil and/or petroleum fast enough.

Crack heavy oil to light, and turn excess petroleum into solid fuel. As a further refinement, you can put these latter conversions behind pumps, and use the circuit network to only turn the pumps on when the tank storage of the respective reagent is higher than ~80%.

hth, glhf

philsnow··on Samsung's 60% DRAM price hike signals a new phase of global memory tightening
I've got ~5k+ tabs, and I've also seen basically zero crashes in the last decade. I'm on Macos, not very many extensions though one of them is Sidebery (and before that Tree Style Tabs) which seems to slow things down quite a lot.
philsnow··on Memories of .us
Some browsers (and web servers, proxies, and other things) treat "example.com" and "example.com." differently for various things, like the default limit of per-domain parallel connections. See for instance https://daniel.haxx.se/blog/2022/05/12/a-tale-of-a-trailing-...
philsnow··on Native Secure Enclave backed SSH keys on macOS
> if you don't balance security theory with operational practice, critical business functions can fail

i.e. people will circumvent the secure-but-onerous path. (I don't think they can be faulted for trying to get their work done either, I'm agreeing with you)

philsnow··on Show HN: Forty.News – Daily news, but on a 40-year delay
Also (unrelated to my knowledge): https://olduse.net/
← PreviousPage 2 of 34Next →