This is pretty much what Tauri solves. It re-uses the systems WebView. So the built apps are tiny (kb to a few mb)
HN user
djxfade
Anyone know why? Some of the tiers more than doubled in price, that's pretty insane.
On macOS, I use a free app called Fluor, that lets me auto switch the Fn key behavior based on which app is active.
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?
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.
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.
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.
What if I just simply promise to not enjoy it?
It is, it's called inline styles
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.
Whats the point of the obfuscation in the first place, if they offer mappings to deobfuscate it?
Totally possible today with modern SPA technology that all major browsers support
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.
I think what they meant to say was that Rosetta 2 is going away in the future, leaving only native AARCH64 binaries compatible
You could simply set Windows XP to use the classic theme as well.
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)); // 20This is what Apple did when they finally dumped the OS X branding. macOS 15 also reports as 10.15.
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?
Probably due to different font rendering in the OS.
Statamic https://statamic.com/
Yes it does support this
Sounds kinda like Backpacker: https://en.wikipedia.org/wiki/Backpacker_(video_game_series)
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.
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.
Couldn't I just make an aggregate audio device which uses the mic on my MacBook Pro, and speakers of the AirPods?
Yes definetly. Apple's implementation is solid.
Modern Mac's use a very similar sleep state, where they can still receive notifications and perform simple background tasks.
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.
iCloud Drive, and actually the entire iCloud ecosystem is opt-in
It's possible to avoid this issue. I implemented a Canvas based clone of the classic MS Paint back in the days. One of the tricks to avoid this, was to use decimal pixel coordinates, so instead of drawing a pixel at (100, 200), you would draw at (100.5, 200.5).