HNHacker News
TopNewBestAskShowJobs

djxfade

858 karma · joined June 13, 2019

submissionscomments
djxfade··on A heap overflow and SSO misconfiguration to compromise OpenAI internal repos
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
djxfade··on Asahi Linux Progress Report: Linux 7.2
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.
djxfade··on Deno Desktop
This is pretty much what Tauri solves. It re-uses the systems WebView. So the built apps are tiny (kb to a few mb)
djxfade··on Hetzner Price Adjustment
Anyone know why? Some of the tiers more than doubled in price, that's pretty insane.
djxfade··on I Hate (Most) Keyboard 'Fn' Keys
On macOS, I use a free app called Fluor, that lets me auto switch the Fn key behavior based on which app is active.
djxfade··on Meta Platforms: Lobbying, dark money, and the App Store Accountability Act
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?
djxfade··on PHP 8.5
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.

djxfade··on Apple will phase out Rosetta 2 in macOS 28
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.
djxfade··on uBlock Origin Lite in Apple App Store
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.
djxfade··on Duke Nukem: Zero Hour N64 ROM Reverse-Engineering Project Hits 100%
What if I just simply promise to not enjoy it?
djxfade··on Show HN: CSS Extras
It is, it's called inline styles
djxfade··on A competitor crippled a $23.5M bootcamp by becoming a Reddit moderator
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.
djxfade··on Playing “Minecraft” without Minecraft (2024)
Whats the point of the obfuscation in the first place, if they offer mappings to deobfuscate it?
djxfade··on WASM 3.0 Completed
Totally possible today with modern SPA technology that all major browsers support
djxfade··on Fartscroll-Lid: An app that plays fart sounds when opening or closing a MacBook
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.
djxfade··on Blurry rendering of games on Mac
I think what they meant to say was that Rosetta 2 is going away in the future, leaving only native AARCH64 binaries compatible
djxfade··on The History of Windows XP
You could simply set Windows XP to use the classic theme as well.
djxfade··on Exploring Coroutines in PHP
That's not totally correct. PHP has a "short function" syntax for that specific use case, it automatically captures data without the 'use' statement.

    $a = 5;
    $b = fn ($c) => $a * $b;
    print($b(2)); // 10
    print($b(4)); // 20
djxfade··on Why do all browsers' user agents start with "Mozilla/"? (2008)
This is what Apple did when they finally dumped the OS X branding. macOS 15 also reports as 10.15.
djxfade··on Benchmark: snapDOM vs html2canvas
Very cool! How does this work from a technical standpoint? Do you have to implement a full HTML/CSS renderer in JS, or is there an official browser API to capture the elements as image data?
djxfade··on PDF to Text, a challenging problem
Probably due to different font rendering in the OS.
djxfade··on I use zip bombs to protect my server
Statamic https://statamic.com/
djxfade··on A single line of code cost $8000
Yes it does support this
djxfade··on Live Map of the London Underground
Sounds kinda like Backpacker: https://en.wikipedia.org/wiki/Backpacker_(video_game_series)
djxfade··on Norway on track to be first to go all-electric
We do pay carbon tax for all our exports. I know that doesn't defend it. But at least we pay our fair share. Even tough I can definetly see why it looks bad from a moral standpoint.
djxfade··on Juno for YouTube has been removed from the App Store
I never understood why Reddit couldn’t just have kept the API free, and embedded ads in the feed directly. They would get their ad revenue, and third party developers would actually help them make money.
djxfade··on Show HN: A macOS app to prevent sound quality degradation on AirPods
Couldn't I just make an aggregate audio device which uses the mic on my MacBook Pro, and speakers of the AirPods?
djxfade··on State of S3 – Your Laptop is no Laptop anymore – a personal Rant
Yes definetly. Apple's implementation is solid.
djxfade··on State of S3 – Your Laptop is no Laptop anymore – a personal Rant
Modern Mac's use a very similar sleep state, where they can still receive notifications and perform simple background tasks.
djxfade··on Corcel – Use WordPress backend with Laravel or any PHP application
PHP hasn't been behind in tooling, WordPress has (and still is). Frameworks like Laravel are very much up to par when it comes to tooling.
Page 1 of 10Next →