dan15
dan15 on Hacker News
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)
Probably to compete with DeepSeek, which AFAIK also retains data (or at least OpenRouter says they do)
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).
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.
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.
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.
"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.
This doesn't really matter if you disable password authentication.
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.
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.
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?
> which database is more common.
SQLite is #1 by far, with MySQL a distant second.
I'm still wondering why Diaspora didn't take off but Mastodon did...
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.
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.
> 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.
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.
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.
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.
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
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.
I've got several spare VPSes that are currently just idling, so I'll see if I can donate them to this cause.
> 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.
For email, Mailspring is great, cross-platform, and open-source.
It's... not hard at all to uninstall stuff on Windows. They'll all be in the Apps & Features list.
AFAIK the FB algorithm also prefers posts from friends over posts from business pages, since that's the content that people prefer seeing.
> 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).
How does it compare to the new Windows Terminal?
Many of the ads teams have dedicated QA, too.