Recent submissions

Comment · 1 month ago
PHP still rules the world, even though many doesn't want to realize it. It's still the biggest web language by a far margin
Comment · 2 months ago
Realistically, what would the business case for Apple be where it would make sense to make Linux a first-class citizen on their hardware? Their product is a combination of hardware and software that works together to form the final product.
Comment · 4 months ago
This is pretty much what Tauri solves. It re-uses the systems WebView. So the built apps are tiny (kb to a few mb)
Comment · 4 months ago
Anyone know why? Some of the tiers more than doubled in price, that's pretty insane.
Comment · 4 months ago
On macOS, I use a free app called Fluor, that lets me auto switch the Fn key behavior based on which app is active.
Comment · 7 months ago
I disagree. What if, hear me out, parents actually parent, instead of relegating the parenting to companies, and ruining the internet for the rest of us?
Comment · 11 months ago
This.

One common use case for the @ operator, is when "destructuring" array members into variables. In some cases, you can't know if the member will be available, but it's not important if it's missing. In that case, you can silence the warning.

$array = ['apple', 'pear']; @list($mainFruit, $secondaryFruit, $tertiaryFruit);

Since I suppress the warning that would occur due to the third member not being present, the program will continue executing instead of halting.

Comment · 1 year ago
It was implemented in some of the earlier Leopard beta's iirc. Possible speculation from my side, but it was probably removed due to licensing once Oracle expressed interest in acquiring Sun Microsystems.
Comment · 1 year ago
As a side note, I personally HATE apps that opens links in an in-app web view (apps like Instagram, Facebook, etc). I really wish Apple could have a system wide preference where it could force in-app web views to open in the browser.
Comment · 1 year ago
What if I just simply promise to not enjoy it?
Comment · 1 year ago
It is, it's called inline styles
Comment · 1 year ago
It goes both ways. If you try to post anything remotely criticizing Donald Trump or his government on /r/conservative you'll also get banned. Even if you try to keep it objective.
Comment · 1 year ago
Whats the point of the obfuscation in the first place, if they offer mappings to deobfuscate it?
Comment · 1 year ago
Totally possible today with modern SPA technology that all major browsers support
Comment · 1 year ago
Open System Settings, click "Sound" in the sidebar. Under the "Sound Effects" section, you'll find a toggle labeled "Play sound on startup". Turn this off to permanently disable it. Otherwise, the startup sound is tied to the audio level you had before last shutdown.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton