Readit News logoReadit News
inDigiNeous commented on We replaced H.264 streaming with JPEG screenshots (and it worked better)   blog.helix.ml/p/we-mass-d... · Posted by u/quesobob
inDigiNeous · 3 months ago
That was a fun read. Kudos to the writer. This is software development life.
inDigiNeous commented on Electron-based apps cause system-wide lag on macOS 26 Tahoe   github.com/electron/elect... · Posted by u/STRML
rayiner · 6 months ago
Individuals used to make sophisticated native apps as shareware for $10 back in the 1990s and today big teams rely on crap like Electron. The enshittification of everything.
inDigiNeous · 5 months ago
Well, back in the day you had 4 megs of ram, MS-DOS and other OSes that are simple as they come, and full access to the hardware.

These days if you want to support macOS, Windows, Linux: I say good luck to you, Electron can save you there.

Electron is not crap, but many javascript developers are crap. You can make fast and memory efficient apps in Electron, if you know how to code.

(Note: Slack or Discord developers don't have that skill)

inDigiNeous commented on Electron-based apps cause system-wide lag on macOS 26 Tahoe   github.com/electron/elect... · Posted by u/STRML
taroth · 6 months ago
One-liner for electron developers to fix the issue:

`browserwindow.setHasShadow(false)`

inDigiNeous · 5 months ago
Thank you for this!

Could possibly just hotpatch my existing app, add this to the packed in javascript .asar resource file and not having to make a new build with updated Electron version.

inDigiNeous commented on Why fastDOOM is fast   fabiensanglard.net/fastdo... · Posted by u/wicket
gwern · a year ago
> The MPV patch of v0.1 is without a doubt build 36 (e16bab8). The "Cripy optimization" turns status bar percentage rendering into a noop if they have not changed. This prevents rendering to a scrap buffer and blitting to the screen for a total of 2 fps boost. At first I could not believe it. I assume my toolchain had a bug. But cherry-picking this patch on PCDOOMv2 confirmed the tremendous speed gain.

Good example of how the bottlenecks are often not where you think they are, and why you have to profile & measure (which I assume Viti95 did in order to find that speedup so early on). The status bar percentage?! Maybe there's something about the Doom arch which makes that relatively obvious to experts, but I certainly would've never guessed that was a bottleneck a priori.

inDigiNeous · a year ago
Reminds me of the performance optimization somebody discovered in Super Mario World for SNES, where displaying the player score in was very inefficient, taking about 1/6 of the frametime allocated.

"SMW is incredibly inefficient when it displays the player score in the status bar. In the worst case (playing as Luigi, both players with max score), it can take about a full 1/6 of the entire frame to do so, lowering the threshold for slowdown. Normally, the actual amount of processing time is roughly proportional to the sum of the digits in Mario's score when playing as Mario, and the to the sum of the digits in both players' scores when playing as Luigi. This patch optimizes the way the score is stored and displayed to make it roughly constant, slightly faster than even in the best case without."

https://www.smwcentral.net/?p=section&a=details&id=35746

inDigiNeous commented on Parallel-hashmap: drop-in replacement for unordered_map, unordered_set   github.com/greg7mdp/paral... · Posted by u/klaussilveira
inDigiNeous · a year ago
I remember dropping parallel hashmap into my C++ app after years of using the standard library containers, and being honestly positively surprised my app got significantly faster after that.

So thanks for the developer of this!

inDigiNeous commented on M4 MacBook Pro   apple.com/newsroom/2024/1... · Posted by u/tosh
nottorp · a year ago
On a tangent, if I have a M3 pro laptop how do I test HDR? Download a test movie from where, play it with what?

I may or may have not seen HDR content accidentally, but I’m not sure.

inDigiNeous · a year ago
You can just search for HDR videos in Youtube.
inDigiNeous commented on Vulkan1.3 on the M1 in one month   rosenzweig.io/blog/vk13-o... · Posted by u/todsacerdoti
DeathArrow · 2 years ago
>Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

That doesn't stop them from implementing both Metal and Vulkan.

inDigiNeous · 2 years ago
Sure, but a lot of extra work for something like that. Also, Apple Walled Garden..
inDigiNeous commented on Vulkan1.3 on the M1 in one month   rosenzweig.io/blog/vk13-o... · Posted by u/todsacerdoti
talldayo · 2 years ago
It feels unlikely. Much smaller companies (Broadcom, Qualcomm) have no trouble writing compliant Vulkan drivers (let alone singular people), so I find it hard to give Apple the pass here. Assuming good faith on their part, Vulkan should be available; or at least some kind of cross-platform API target. Otherwise people are just going to ignore Mac and keep focusing on DirectX, like the status quo.

Vulkan is everyone's ticket out of that mess. Not only does it provide Apple an industry-standard API for third-parties to develop on, it flips the DirectX problem on it's head. Because you support Vulkan 1.3 you get DXVK support alongside DX9, DX11 and DX12 support. Now it doesn't matter what third parties do, because you win every time; Steam Deck politics.

The status-quo is simply detracting from the value of using MacOS; the only feasible explanation is that Apple is hoping to somehow force developers into using Metal natively. Outside Tomb Raider and Resident Evil, I just don't see it happening.

> The Apple Metal platform surely is customized to the needs of Apple

That clearly doesn't stop anyone from writing Vulkan drivers for the hardware, though. OP appears to be blatant evidence of this.

For example; CUDA is well-customized to Nvidia's specific hardware, but their hardware also supports Vulkan drivers. Same goes for Intel with oneAPI and AMD's ROCm; all of them still support Vulkan. Apple is quite literally one of the only mainstream manufacturers that does not support it.

inDigiNeous · 2 years ago
Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

With Vulkan, they would have to wait for a committee to approve required changes, and still they could not probably optimize it to match their GPU an CPU hardware profiles in such an efficient way.

And not least at all, to optimize the developer experience and tools. Apple GPU debugging tools are probably the best tools you get for graphics development debugging, and you get that only on macOS.

IMO Metal is a nicer API than Vulkan. At the same time, you can ask, why should Microsoft get to keep DirectX, and not just write a Vulkan driver ?

inDigiNeous commented on Yerba mate, from Paraguay to Syria   globalvoices.org/2024/05/... · Posted by u/PaulHoule
inDigiNeous · 2 years ago
I love mate. It has probably saved my life as a software developer, not tolerating the strong effect of coffee on my sleep, but yerba mate, and especially freshly stored in vacuum bags, slightly dried but not smoked is my favorite.

Meta Mate (https://metamate.cc/) makes a total bomb of a mate product, can highly recommend if you are in Europe and want to try out their refreshing Meta Mate 23.

Have to order another batch from them now, I've tested many mates but theirs just tastes and works the best for me.

Was introduced to mate by a fellow software developer back in the day, happy that he did, would not have figure out it otherwise.

inDigiNeous commented on Microsoft says new Surface Pro is faster than 15" M3 MacBook Air   macrumors.com/2024/05/20/... · Posted by u/mgh2
bubblyal · 2 years ago
Very excited to see this. Microsoft Windows was always a bottleneck for us when it came to ad content delivery to Windows users. With this incredible performance of Surface Pro, we will deliver ads to those users at a speed they have never see before. By the time you close one ad, 3 others are already open. Thank you Satya for making this happen.
inDigiNeous · 2 years ago
Hehe spot on. 58% faster ad delivery, in 58% more random places than you would have expected!

u/inDigiNeous

KarmaCake day704October 15, 2012
About
Building software for creating digital mandalas. http://OmniGeometry.com
View Original