Readit News logoReadit News
valty commented on Deej: An open-source hardware volume mixer for Windows and Linux   github.com/omriharel/deej... · Posted by u/EclipseMantis
emmanueloga_ · 2 years ago
Depends, which OS are you on? The first search result (eqMac [1]) says it supports Hotkeys. Hopefully you can find one that meets your reqs!

--

1: https://github.com/bitgapp/eqMac

valty · 2 years ago
> "says"

I had of course already checked and it does not. https://github.com/bitgapp/eqMac/issues/380

So please remind me of why your condescending comment was necessary?

valty commented on Deej: An open-source hardware volume mixer for Windows and Linux   github.com/omriharel/deej... · Posted by u/EclipseMantis
emmanueloga_ · 2 years ago
valty · 2 years ago
And which one has a keyboard shortcut for bass/treble smarty pants?
valty commented on Deej: An open-source hardware volume mixer for Windows and Linux   github.com/omriharel/deej... · Posted by u/EclipseMantis
valty · 2 years ago
What I really need is a software bass/treble control that can be mapped to keyboard shortcut.
valty commented on Context: The Missing Feature of Programming Languages   medium.com/source-and-bug... · Posted by u/andsoitis
valty · 2 years ago
This line of thinking led me to think: global variables should be, rather, considered good!

Plain text is the problem. We write code so it can be easily read as plain text. Not as living, breathing, running code.

Globals are considered bad because they are hard to trace and reason about. But this is only so with plain text. You cannot click on a variable and see all it's dependencies. We must painstakingly trace these.

If we visualized the dependencies and the flow of our code, we could see the complexity as we go. And the "context" becomes automatic. There is no difference between explicit and implicit context.

The key for globals, is to have one large graph data structure where everything is related. All your data is modeled the same. No mini-databases spread out over the code. No ad-hoc indexes strewn throughout. No modularity. One single giant data model.

valty commented on Ask HN: Fastest cross-platform GUI stack/strategy    · Posted by u/valty
mbalex99 · 2 years ago
I wouldn’t say I’ve had horror stories just minor gripes and frustrations. You can mix and match AppKit and UIKit with SwiftUI. So there is always an escape hatch.

SwiftUI is insanely productive when it comes to building mostly simple list and form applications.

I highly recommend that you try it, you can always build a component or large sections using UIKit if you run into issues.

At Ditto almost all of our enterprise customers use SwiftUI over UIKit because SwiftUI is so productive for the vast majority of use cases. Does it have parity with UIKit? No… but it’s never been a dealbreaker for us.

valty · 2 years ago
Yeh horror story was probably too strong a word. I need to try it.
valty commented on Ask HN: Fastest cross-platform GUI stack/strategy    · Posted by u/valty
toast0 · 2 years ago
For Mac, I'm not super in touch, but I get the impression Apple is all in on Swift UI, and their developer support model is clear: use old tech at your peril, it may not be supported in the next version. So I would use Swift UI.

For Windows, I think it goes the other way. Microsoft is always coming around with a new UI model that's half-ass and will be dead next year. Use the old ways: MFC will never die.

valty · 2 years ago
I've heard a lot of horror stories with Swift UI.

I think it's crazy that it's closed source too. It's a big black box which makes debugging hard. Plus its the kind of framework that does a lot of magic stuff where you scratch your head wondering what is going on.

valty commented on Ask HN: Fastest cross-platform GUI stack/strategy    · Posted by u/valty
cookiengineer · 2 years ago
Alternatively there's also ImGui: https://github.com/ocornut/imgui
valty · 2 years ago
Wow 55K GitHub stars. This is like some record.
valty commented on Ask HN: Fastest cross-platform GUI stack/strategy    · Posted by u/valty
ActorNightly · 2 years ago
>Something that when the rest of someone's computer is slowing down, this can stay responsive.

Yeah so without having to overwrite some very deep OS settings, which will likely raise some red flags for your app requiring administrator privilege to run, you aren't going to get this. If someone has a browser thats taking up most resources, its gonna throttle everything.

There is generally very little reason to write anything but web apps these days for things that don't need to touch specific hardware. If you stick to as much native js/css/html as possible (i.e avoid large libraries), it will load blazingly fast and use way less resources then web apps that are considered fast.

valty · 2 years ago
Good point. I would prefer to write in HTML/JS. Vanilla JS is probably the way to go.

I think modern frameworks are so bad at perf because they assume people just have so much compute available and are focusing on one app at a time.

u/valty

KarmaCake day62November 7, 2022View Original