5,772 karma · joined January 26, 2011
@AshleyGullen@mastodon.gamedev.place
https://www.construct.net/en/blogs/ashleys-blog-2
[1] https://www.construct.net/en/blogs/ashleys-blog-2/safari-rel...
[2] https://www.construct.net/en/blogs/construct-official-blog-1...
Software decode has its uses - if you just want a small GIF-style looping clip, hardware support doesn't matter much, and it's nice to have one codec that can be relied upon to work everywhere.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Media_Capab...
I think it's high time the web had a single audio and video codec choice that is both open and widely supported, which is why I've proposed support for AV1 and Opus for the Interop 2024 effort [2] [3].
[1] https://apps.microsoft.com/detail/av1-video-extension/9MVZQV...
[2] https://github.com/web-platform-tests/interop/issues/485
[3] https://github.com/web-platform-tests/interop/issues/484
[1] https://www.construct.net/en/blogs/construct-official-blog-1...
We put our money where our mouth is as we develop Construct[1], a fully browser-based game development editor. It's only available in the browser. You can install it in Chrome and Edge so it looks much like a locally installed app. We actually used to have an NW.js wrapper for things like file system access, but browsers now support enough features (including the File System Access API in Chrome/Edge) that we retired the NW.js wrapper and just do everything 100% in the browser now. It works great for us and I think it will only get better.
[1] https://stackoverflow.com/questions/40196817/what-is-the-ins...
That could be entirely branchless, right?
func("hello world");
func("hello world");
Then naively it seems that can be optimized to this:
let s = "hello world";
func(s);
func(s);
However once compressed, the second result is usually larger! It's basically because the second example adds the `let s =` part which is new unique content it has to store.
So if you want to minify JavaScript to a shorter version uncompressed, it's good to transform the first to the second. However if you want to minify JavaScript to the smallest compressed size, it's actually better to do the reverse transform and turn the second case in to the first! But then you get in to tradeoffs with parse time with a longer input, especially with very long strings - so I'm not sure any of today's minifiers actually do that. (Edit - turns out Closure Compiler does: https://github.com/google/closure-compiler/wiki/FAQ#closure-...)
[1] https://www.mozilla.org/en-US/firefox/115.0/releasenotes/
Wouldn't they have been better off just supporting Vulkan?
There's several people here commenting that physical work can be refreshing and rewarding compared to office jobs, but often that's only in a part-time or volunteer capacity. I can attest to it being a nice change, but only ever as a part-time project. I would guess anything you do full time long-term will some time or another feel a bit of a grind. Manual work in particular can take a serious physical toll over the years, and being mostly sat down indoors for your job can end up being tempting too. I also know a couple of musicians who are perpetually on the road, and it's not always a glamorous globetrotting lifestyle - one said they mostly see highways and airports. But then there are great gigs too.
I think there's probably no such thing as a perfect job. That's not to say a change can't be refreshing or worthwhile though! Perhaps it's just that after many years most people eventually get a bit tired of whatever they're doing, and then the grass can look greener on the other side.
I've filed dozens of issues with Apple and many of them go in to great detail. However when you're pushed for time and dealing with multiple potential emergencies, you can't always manage much more than a "heads up, this looks wrong" type issue. In the case of the first bug, it was indeed a real problem with Safari and it was Apple's responsibility to fix it. Given that Apple are a trillion-dollar company with thousands of employees, and we have a handful of people in an office in south-west London, I think it's reasonable that Apple does more of the heavy lifting investigating Safari issues anyway. Ultimately it's up to Apple to make Safari a high-quality browser, not us, although we still do our bit with bug reports where we can.