HNHacker News
TopNewBestAskShowJobs

dan15

90 karma · joined September 8, 2012

[ my public key: https://keybase.io/daniel15; my proof: https://keybase.io/daniel15/sigs/K6tdwXC_1JOwqVVDqul5RkUBKPYFa4MIJlSKPm6nZIE ]
submissionscomments
dan15··on Upcoming critical PHP security release (CVE-2026-109618 / -109619)
Facebook hasn't used PHP for a very long time. It's been using Hack for over 12 years, which was initially based off PHP but it's deviated quite significantly now. It's now nearly entirely statically-typed, and has a bunch of features that PHP doesn't have. IO is fully asynchronous using async/await syntax (like C# or JavaScript), functions can be marked as pure, and a bunch of other things useful in large codebases.

It still uses the same request model as PHP, since that's genuinely useful for web requests. It's easier to avoid memory leaks if each request is entirely self-contained and there's no global state persisted between requests (other than APC and opcode caches)

dan15··on Muse Code and Muse Spark 1.2
Probably to compete with DeepSeek, which AFAIK also retains data (or at least OpenRouter says they do)
dan15··on Whohas – Command-line utility for cross-distro, cross-repository package search
Do Linux users actually use Homebrew day to day? My impression of it was that it's mostly for MacOS users that want to keep doing things the same way instead of learning the Linux way (using the OS package manager).
dan15··on What Claude Code chooses
A lot of the sites that use shadcn's default styling are AI-generated. The people that use it in hand-written code usually customize the appearance at least a little bit.
dan15··on What Claude Code chooses
It uses shadcn so often, to the point where seeing shadcn components with default styling often means the site was built by AI. It's like Bootstrap 10 years ago - so many sites used it with default styling that it was instantly recognizable.
dan15··on What Claude Code chooses
Fewer people view their site (since their questions can be answered by LLMs) which means their paid services (Tailwind Plus and links to sponsors) get fewer views and thus fewer purchases.
dan15··on How we rebuilt Next.js with AI in one week
"from scratch"? No way. It's using Next.js test suites and the AI is almost certainly using Next.js code as part of the output.
dan15··on Beginner Guide to VPS Hetzner and Coolify
This doesn't really matter if you disable password authentication.
dan15··on Beginner Guide to VPS Hetzner and Coolify
There's many providers that have similar pricing, sometimes as their normal day-to-day pricing, and sometimes as sale pricing just for events like Black Friday. I've been happy with HostHatch, GreenCloudVPS ("Budget KVM" like), and RackNerd. RackNerd always have a sale running. GreenCloudVPS often have stock for their cheap ones (starting at $15/year). HostHatch has decent regular pricing (they're trying to compete with Hetzner), but their sale pricing is especially good.
dan15··on Beginner Guide to VPS Hetzner and Coolify
You need to keep an eye on the configurator page, or monitor it some other way. AFAIK they don't have many servers in the USA, so their US VPSes are available sporadically when people cancel theirs.

You have to order through the OVHcloud US site to see the US locations. If you use their "global" / Canadian site, you'll only see the Canada location.

dan15··on Covert web-to-app tracking via localhost on Android
The majority of internet users are either unwilling or unable to pay for content, and so far advertising has been the best business model to allow these users to access content without paying. Do you have a better suggestion?
dan15··on Grats: A More Pleasant Way to Build TypeScript GraphQL Servers
> which database is more common.

SQLite is #1 by far, with MySQL a distant second.

dan15··on No one cares about open-source, until
I'm still wondering why Diaspora didn't take off but Mastodon did...
dan15··on Htmx changes license to Zero-Clause BSD
I used one of their 20% off coupons for a Simplehuman bin a while back (one of the ones with recycling on the left and trash on the right).

Having said that, I don't think they actually take coupons any more. It stopped when all the physical stores closed. The offer here is a cash back offer, where you pay the full price then another company (like TopCashback, Rakuten, apparently Microsoft too) gives you 10% cash back.

dan15··on Tell HN: Microsoft.com added 192.168.1.1 to their DNS record
I'm surprised 192.168.1.0 is still there 2.5 hours later https://dnstools.ws/lookup/microsoft.com/A/
dan15··on 1.1.1.1 lookup failures on October 4th, 2023
In a way they're lucky DNSSEC took it down, otherwise they may have not noticed the issue of using stale data for much longer.
dan15··on Man found guilty of child porn because he ran a Tor exit node
> I was shopping around for an alternative after mullvad blocked port forwarding

AirVPN let you forward several ports (up to 20, if I remember correctly) and you can pick the port numbers.

dan15··on Tell HN: Freenom (the operator of .tk, .ml, .ga, .cf, .gq TLDs) is falling apart
Yeah, that's pretty common. If you get a large amount of traffic, they take the domain from you and try to sell it back to you as as "premium" domain at a hugely inflated price.

You don't have any rights to free domains. Freenom are the 'official' owner of the domain and can do whatever they want with it.

dan15··on Tell HN: Freenom (the operator of .tk, .ml, .ga, .cf, .gq TLDs) is falling apart
That's right. The 'official' NIC URL for .tk is http://www.dot.tk/, but this is ran by Freenom. Similarly, the official URL for .gq is http://www.dominio.gq, which initially looks different, but it has a "powered by Freenom" logo at the bottom right.
dan15··on Tell HN: Freenom (the operator of .tk, .ml, .ga, .cf, .gq TLDs) is falling apart
Freenom own the TLD so you don't really have a choice. Every other registrar that offers the TLD is just going via Freenom anyways, and any major issues that affect Freenom will affect the entire TLD.
dan15··on IPv6 Internet is broken
This article is from 2021 so I'm not sure why it's being posted again

    Last-Modified: Fri, 13 Aug 2021 04:23:25 GMT
dan15··on Cloudflare R2 storage: Rapid and reliable object storage, minus the egress fees
Note that you can't use a free Cloudflare account just for things like images, video and other binary files, as they'll suspend the account. It must be used primarily for a website, not content hosting. If you only want to use Cloudflare for files, you need a paid account.
dan15··on Yahoo Answers to shut down May 4, 2021
I've got several spare VPSes that are currently just idling, so I'll see if I can donate them to this cause.
dan15··on Fed up with the Mac, I spent six months with a Linux laptop
> Finding a mail client I don't hate on linux is tricky

Have you tried Mailspring?

> My chosen password manager (1password) still has a fairly awful linux experience

Maybe a good time to try something open-source such as Bitwarden? The fact that 1password is closed-source is a major disadvantage.

dan15··on Fed up with the Mac, I spent six months with a Linux laptop
For email, Mailspring is great, cross-platform, and open-source.
dan15··on Fed up with the Mac, I spent six months with a Linux laptop
It's... not hard at all to uninstall stuff on Windows. They'll all be in the Apps & Features list.
dan15··on Google users locked out after 15 years' use
AFAIK the FB algorithm also prefers posts from friends over posts from business pages, since that's the content that people prefer seeing.
dan15··on LocalCDN – an extension that emulates CDN to improve your online privacy
> Huh, isn't that just a normal caching HTTP proxy like Squid?

I don't think caching HTTP proxies are as useful any more now that most sites are using HTTPS. They can't easily cache content from origins that use TLS due to the encryption, unless you install a root certificate that allows the proxy to spoof any origin.

You could connect to the proxy via HTTP which then uses HTTPS to the origin, but then you'd get mixed content warnings (loading scripts via HTTP when the page is loaded via HTTPS).

dan15··on Kitty – A fast, featureful, GPU based terminal emulator
How does it compare to the new Windows Terminal?
dan15··on App suddenly crashing on startup due to FBSDKRestrictiveDataFilterManager.m
Many of the ads teams have dedicated QA, too.
Page 1 of 4Next →