frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
479•klaussilveira•7h ago•120 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
818•xnx•12h ago•490 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
40•matheusalmeida•1d ago•3 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
161•isitcontent•7h ago•18 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
158•dmpetrov•8h ago•69 comments

A century of hair samples proves leaded gas ban worked

https://arstechnica.com/science/2026/02/a-century-of-hair-samples-proves-leaded-gas-ban-worked/
97•jnord•3d ago•14 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
53•quibono•4d ago•7 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
211•eljojo•10h ago•135 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
264•vecti•9h ago•125 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
332•aktau•14h ago•158 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
329•ostacke•13h ago•86 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
415•todsacerdoti•15h ago•220 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
27•kmm•4d ago•1 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
344•lstoll•13h ago•245 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
5•romes•4d ago•1 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
53•phreda4•7h ago•9 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
202•i5heu•10h ago•148 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
116•vmatsiiako•12h ago•38 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
153•limoce•3d ago•79 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
248•surprisetalk•3d ago•32 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
28•gfortaine•5h ago•4 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1004•cdrnsf•17h ago•421 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
49•rescrv•15h ago•17 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
74•ray__•4h ago•36 comments

Evaluating and mitigating the growing risk of LLM-discovered 0-days

https://red.anthropic.com/2026/zero-days/
38•lebovic•1d ago•11 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
78•antves•1d ago•59 comments

How virtual textures work

https://www.shlom.dev/articles/how-virtual-textures-really-work/
32•betamark•14h ago•28 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
41•nwparker•1d ago•11 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
8•gmays•2h ago•2 comments

Claude Opus 4.6

https://www.anthropic.com/news/claude-opus-4-6
2275•HellsMaddy•1d ago•981 comments
Open in hackernews

How to Run WordPress completely from RAM

https://rickconlee.com/how-to-run-wordpress-completely-from-ram/
33•indigodaddy•4mo ago

Comments

CaptainOfCoit•3mo ago
Alternatively, copy everything to /dev/shm before launch, call it a day. Now everything is loaded from RAM. Updates involve copying from source directory to /dev/shm then restart.
progval•3mo ago
How is that different from what the article documents?
CaptainOfCoit•3mo ago
I guess it's the same, except I expressed it in ~30 words instead of ~2K words, and using 3.2MB less of data to communicate it :)
tambourine_man•3mo ago
Ironically, Cloudflare is preventing me from reading the site:

  Sorry, you have been blocked
  You are unable to access rickconlee.com
DoctorOW•3mo ago
Out of curiosity do you know why Cloudflare has blocked you? Browser integrity check, IP reputation, etc? I'm trying to have more lax settings for my static website, and would love to make sure it's as accessible as possible.
luckylion•3mo ago
Likely country blocks in this case, can't have the mean Europeans read the precious content. Works fine with a US VPN (bad IP reputation), doesn't work with my german local provider (good IP reputation).
codingminds•3mo ago
Works fine from Norway, so probably not a country block. Site blocking EU usually block Norway as well.
celsoazevedo•3mo ago
Working in the UK too. Also works with a VPN via Portugal, France, Netherlands, and Denmark. Only got blocked when accessing via Brazil.
andileni•3mo ago
Same here. My German IP is blocked.
celsoazevedo•3mo ago
From my experience with Cloudflare, hard blocks are either caused by something that is similar to known exploits or by the site operator blocking countries/ip ranges. Everything else it's the annoying captcha or the less annoying "managed challenge" (usually a quick check before loading the page or a request to manually click a box).
zygentoma•3mo ago
For me it's just visiting the site from my phone with a very typical German network provider (o2). Just followed the hacker news link ...
kuschku•3mo ago
I'm blocked on Firefox on Ubuntu 25.04, on a German residential FTTH line, and I'm also blocked with Firefox and Chrome on Android 15 over 5G.
tambourine_man•3mo ago
No idea. Vanilla desktop and mobile Safari, cable and 5G, all blocked.

Cloudflare Ray ID: 98d7e0b319f3f390

gminic•3mo ago
I have also been blocked. We are probably in a country where the author has decided to block us on CloudFlare.
imcritic•3mo ago
This site is infected with cloudflare, can't see the article.
ashitlerferad•3mo ago
And pagespeed score reflects that. It does not matter if it’s in ram, most of the pages/load will be on the CDN and caching anyways.

Servers put the most requested into RAM also.

celsoazevedo•3mo ago
> most of the pages/load will be on the CDN and caching anyways

Not always. Most CDNs for websites (essentially reverse proxies) don't cache pages by default so private content isn't made publicly available. You have to enable/configure what is cached.

In this case, Cloudflare isn't caching the HTML: "cf-cache-status: DYNAMIC". If page cache was enabled, it would be something like "HIT" or "MISS".

3eb7988a1663•3mo ago
I assume that modern filesystem caching to RAM is incredibly sophisticated, but wouldn't a typical website already be fully served from RAM? If you only have a few megabytes of code + assets, won't the OS see this is hot data, not being updated, so it is no longer being read from disk sometime after the initial read?
onli•3mo ago
The code contains database calls that have to run, reads and writes. Processors are sophisticated, but if they (or rather, they and the os) were that smart, WordPress installations would be a lot faster by default.

And maybe that's not surprising, think about it: the typical server does a lot of other things additionally to serving one specific WordPress site.

handsclean•3mo ago
A performance problem I’ve run into with small websites like this one is many caching systems are tuned for bigger companies or hotter programs, and basically every load ends up an “exceptional” cold start case. VMs wake up, Cloudflare actually only keeps your data one place, there’s no sane HTTP caching value, and, yeah, files are read from disk. Worse, it’s easy to miss during testing by loading things more frequently. I’m sure there are filesystem or server parameters to tweak, but I do think small websites that want great performance should be, somewhere somehow, managing caching manually.
pixl97•3mo ago
> files are read from disk.

Disk as in spinning round circles, or disk as in NVMe drive, because there's a pretty massive difference in latency.

matt_heimer•3mo ago
Its not the the data is only cached by Cloudflare in one place, its that it is cached at the edge node nearest to the user that last made the request. Geographically different users will likely hit a completely different edge node that needs to hit your origin to populate its cache.

Cloudflare has a free tiered caching option that helped my site. Instead of cache missing on local edge nodes always having to hit the origin, the edge node can sometimes pull the data from another Cloudflare server. It reduced load on my origin.

Agree with needing to tune and validate caching, one of the biggest changes my PHP site was tuning apc/OPcache sizes.

r1ch•3mo ago
Cloudflare will actually slow down TTFB for small, less popular sites since they don't maintain a keepalive connection to the origin. This means you pay an additional TCP/TLS setup cost from the Cloudflare POP to the origin which is worse than a direct connection. I also tried testing a smart-placed worker and cloudflared, neither of which seemed to help.
matt_heimer•3mo ago
They can use keepalive but it's likely the small sites are not getting enough traffic on the edge nodes to maintain the connections.

You don't think taking a small hit on TTFB is a good trade off for the improved scaling that a CDN offers?

Gone are the days that you don't have to worry about bot traffic being a DDOS. An unresponsive site is a lot worse than an extra TCP/TLS setup.

matt_heimer•3mo ago
Depends on the amount of data/assets. With all the AI bots its easy for (default) caches to be undersized since sites no longer have most frequently accessed URLs, every URL (and query param combo) ends up being frequently accessed.
mhitza•3mo ago
It would have been nice to provide performance comparison between the stock installation and running from RAM.
tkubacki•3mo ago
Mandatory reminder - don't use WordPress in 2025.

Use headless CMS plus static site generator. e.g. Strapi plus Astro

j45•3mo ago
While WP is not my first choice, it's also not good to give binary answers as the only factual options.

There will be lots strapi and astro or whatever preference/interpretation we have personally can't do.

tkubacki•3mo ago
It's always "in most cases". I simply don't see space for WordPress on green field sites anymore. If something is so small it does not require CMS - it's better to use pure HTML. Otherwise "in most cases" it's better to use headless CMS.
blue_cookeh•3mo ago
Do you work with non-technical users? There are few (none that I'm actually aware of) static site generators that are friendly enough for a comms team in a large enterprise for example. I note that Strapi also puts key features such as SSO behind an Enterprise pay wall... so that's already a massive negative.

WordPress has it's place, a blanket no against one of the most popular CMSes on the Internet is a pretty hot take.

j45•3mo ago
That's understandable, but diy not the default place of the majority.
yallpendantools•3mo ago
WP has corporate momentum/network effect though, in the same way that Jira, Jenkins, and Java (among other things) have.

For a long time now WP no longer just caters to the hacker "Code is Poetry" crowd---and, of course, even less so nowadays with the controversies WP has embroiled itself with. The people who are inclined to choose WP by default do so because of the wealth of plugins available to them, be that Shopify integration or fine-grained tracking of a marketing campaign. They would wonder why someone would ever prefer something "headless". They think static websites are the dinosaurs the Y2K comet wiped out.

Sure we can argue about whether WP is the "best solution" but WP is definitely the solution that works acceptably out-of-the-box. Your CMS of choice probably has a bunch of out-of-the-box solutions for common concerns as well but I doubt that it can handle the edge cases that Head of Marketing will inevitably introduce with their ol' reliable set of integrated services. Shopify + Google Analytics + Salesforce + Airtable[1] always worked for them with WP but suddenly this allegedly-better "headless" CMS is throwing all sorts of dumb errors.

And if a plugin is not available, there is no shortage of WP/PHP developers who can make one at a reasonable price. In contrast, I'm sorry, but honestly your comment is the first time I've heard about Strapi and Astro.

I'm not saying I like the status quo but if someone asks me for a WP site, I give them a hardened EC2 box with WP over Apache/NGINX. Then I return to frying bigger fish.

[1] Just an example.

dfajgljsldkjag•3mo ago
AI slop - AI generated image at the top and text is full of em-dashes and chatGPT-isms.
lawrenceduk•3mo ago
Yeah I skimmed it and it all read like when I ask ChatGPT to go wild and be “fun”.
evanelias•3mo ago
The bigger tell is that half the article is unnecessary space-filling hyperbole...

The overwhelming majority of the speed-up here would come from the database, which is trivially easy to run on tmpfs. When using Docker, it's literally a one-liner! For example:

docker run -d --tmpfs /var/lib/mysql -p 127.0.0.1::3306/tcp -e MYSQL_ROOT_PASSWORD=[password] mariadb:11.8

Of course you need a really good backup story for this to be a reasonable choice.

indigodaddy•3mo ago
Wow that's neat, had no idea about --tmpfs flag (I submitted this article because I found it interesting but am not the author)
croisillon•3mo ago
"Let’s break down the tune. This is not a just WordPress install. This is a brass-knuckle brawl between performance and everything that dares to slow it down."
egypturnash•3mo ago
Pagespeed gives this man's site a 72: https://pagespeed.web.dev/analysis/https-rickconlee-com/foj4...

And my plain ol' wordpress an 83: https://pagespeed.web.dev/analysis/http-egypt-urnash-com/a1r...

My site's a WP that I started up in like 2012 and it's been running continuously ever since, it's sitting behind Apache, it's got a cache plugin, nothing special at all.

VladVladikoff•3mo ago
Shoemakers kids have holes in their shoes. In my heyday of freelance work my website was always the last priority. The freelance work I was doing kept me so busy I had no time to spit shine my own site.

This is a Wordpress site, pagespeed is 96 https://pagespeed.web.dev/analysis/https-www-storwell-com/wn...

celsoazevedo•3mo ago
While the site is using a CDN (Cloudflare), pages are not cached ("cf-cache-status: DYNAMIC"). Sometimes this actually makes the site slower to load as we're going <-> cloudflare <-> server instead of directly to the server.
El_RIDO•3mo ago
I can recommend the WP Super Cache plugin[0] - it can generate pre-gzipped static sites and then you can setup your webserver[1] to prefer those, or non-compressed static files and only when not in cache actually bother passing down the request into PHP.

Gives me an 97 and 88 respectively[2] on that pagespeed tool.

[0] https://wordpress.org/plugins/wp-super-cache/

[1] https://github.com/simonrupf/docker-php-wp/blob/master/etc/n...

[2] https://pagespeed.web.dev/analysis/https-bobcat-dssr-ch/0ziq... / https://pagespeed.web.dev/analysis/https-simon-rupf-net/auk5...

eichin•3mo ago
Never heard of pagespeed before (yeah, lucky 10k etc, but also I'm just not a web dev) and this pointed up some huge easy wins on my image heavy homelab site, so thanks for that (setting `Cache-control` at all, and forcing `img loading="lazy"`.) To shortcut some obvious followups: (a) the pagespeed engine is called "lighthouse" and it's on github (Apache licensed)(b) it's also built in to Chrome DevTools (inspect) but for me it was all the way over on the » section of the toolbar. So you can run it locally on a private/staging site. again, thanks!
notdian•3mo ago
Linux page cache + PHP-FPM OPcache already keep hot PHP in RAM (no per-request disk hits after warm-up), and if your dataset fits in memory you size innodb_buffer_pool you don’t move the whole MariaDB datadir to tmpfs and throw away durability.
bornfreddy•3mo ago
Reminds me of MongoDB (first few years at least). Screaming fast. Until a crash happens and the data is missing - then all that's left is screaming.

I also run MariaDB in RAM, but only for integration tests where data is fictional anyway. Otherwise I'm sure you can't come up with a better solution than they did just by using some sysadmin tricks.

nchmy•3mo ago
Im skeptical about this. PHP Opcache already loads and compiles all php files into ram, such that it only happens once (or again when theyre modified). Its the single most useful thing you can do with a wordpress site (other than running on decent hardware, which most hosts do not have)

Mysql/mariadb have a lot of ram caching as well - they haven't just been sitting on their hands for decades... Still, lets say that this helps - you could probably just use db replication to another machine (or even another container on same machine) that persists to disk.

And the (likely AI-generated) colour commentating got tiring fairly quickly.

Most of all, without a before/after comparison, this is meaningless

dvfjsdhgfv•3mo ago
> It’s mounted in a tmpfs-backed RAMDisk

> Because even well-cached files still require filesystem-level permission checks, read cycles, and sometimes fragmentation reassembly.

I'd assume tmpfs still requires filesystem-level permission checks, or am I mistaken?

andrewflnr•3mo ago
I think they're saying that the metadata checks on cached files still have to go to disk. I would be surprised if that was consistently true, but I can't make any other sense out of it.
zygentoma•3mo ago
It just says

Sorry, you have been blocked You are unable to access rickconlee.com Why have I been blocked?

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data. What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 98d88522ad55dbab Your IP: 2a02:3035:671:c0fa:cfc0:827c:68bc:ba8e Performance & security by Cloudflare

Thanks cloudflare!

gminic•3mo ago
I have also been blocked. We are probably in a country where the author has decided to block us on CloudFlare.
xyzzy9563•3mo ago
Why not just use a reverse proxy that caches pages into RAM, or use Cloudflare or such?
aleaph•3mo ago
RAM is expensive. You can go a long way by using NGINX fastcgi cache for non-authenticated traffic, avoiding even hitting PHP altogether.