dan15

Joined 14 years ago

Karma
90
Submissions
101
Member since
Sep 8
[ my public key: https://keybase.io/daniel15; my proof: https://keybase.io/daniel15/sigs/K6tdwXC_1JOwqVVDqul5RkUBKPYFa4MIJlSKPm6nZIE ]
View on Hacker News

Recent submissions

Comment · 15 days ago
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)

Comment · 3 months ago
Probably to compete with DeepSeek, which AFAIK also retains data (or at least OpenRouter says they do)
Comment · 6 months ago
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).
Comment · 7 months ago
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.
Comment · 8 months ago
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.
Comment · 8 months ago
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.
Comment · 8 months ago
"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.
Comment · 1 year ago
This doesn't really matter if you disable password authentication.
Comment · 1 year ago
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.
Comment · 1 year ago
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.

Comment · 1 year ago
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?
Comment · 2 years ago
> which database is more common.

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

Comment · 2 years ago
I'm still wondering why Diaspora didn't take off but Mastodon did...
Comment · 2 years ago
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.

Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton