Recent submissions

Comment · 11 months ago
That's how you get this feature: https://wiki.php.net/rfc/deprecate-bareword-strings.

tldr: undefined constants were treated as a string (+ a warning), so `$x = FOO` was `$x = "FOO"` + a warning if `FOO` was not a defined constant. Thankfully this feature was removed in PHP 8.

Comment · 1 year ago
> what's next?

Removing existing Docker images? Seems unlikely.

Comment · 1 year ago
It's still risky if you pay unless you have a contract guaranteeing what the renewal price would be.
Comment · 1 year ago
> OR they acknowledge that it's almost impossible to build a website without some form of tracking

Why would it be almost impossible to "build a website" without tracking?

Comment · 1 year ago
Another weird idea: make this kind of tracking illegal. Why would anyone willingly agree to be tracked?
Comment · 1 year ago
Or just ban this kind of data collection. Is there any reason anyone would willingly click "Accept" when a website asks to share your data with 500+ partner sites?
Comment · 1 year ago
Does any host provide more compensation than refund for downtime?
Comment · 1 year ago
What is the right way to make ripgrep behave closer to `git grep`? Plain `rg` ignores files inside hidden folders like `.github`, `rg --hidden` will search `.github` but also search inside `.git`. I currently have this alias that I don't remember where I found: `rg --hidden --glob '!*/.git/*'`. Is there a better way?

I would prefer a solution that works from outside git repos, so no piping `git ls-files` into rg.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton