123 points · by kobieps · 2y ago · 64 comments
I have a screen for my simrig (racing wheel and pedals setup almost like a car cockpit) with a wireless keyboard that has a touchpad in it mounted to the rig. On my desk across the room, I have a screen, mouse and keyboard, and the PC that powers that rig. I have to turn one or the other monitor off in order to just use the one mouse next to it on it alone. If this was for Windows also, I would use it to keep the monitors separated with their own input devices.
I could imagine several creative workflows that could use setups separated like this, perhaps in a photo studio or a CNC shop.
Although to be honest, I rarely use the second display. I mainly use it while screen sharing in a meeting so I can have notes and stuff up on my main display.
As in, with every significant (user-magnitude-defined) motion of the mouse, all screens darken/grey-out except for a bright spotlight surrounding your mouse. Allows you to always see where your mouse is even up to near-blindness, as that spotlight is going to be 3-6cm in diameter regardless of the screen resolution, and obvious as heck.
Edit: been looking for a tool like this myself. Still have decent vision, but with six monitors at ≈1.5-2k resolution each, a cursor can go missing, fast. Would love to have cursor highlighting (no stupid Win98 “tail”, thanks) on any mouse movement.
I wish it was this easy to start with Swift. The SwiftUI API makes the menu stuff almost this easy, but dealing with Xcode projects and Apple Developer program auth stuff always put me off.
And SwiftUI seems great on the surface until you spend time with it and try to actually do anything remotely custom. I spent about a week trying to get a swipe gesture able to push the keyboard out of the way (like you see in Apple Notes and most messaging applications). The web is full of half working hacks that throw up warning messages when the app is running. When things don't work its incredibly difficult figure out whats going on. The documentation is atrocious and the debugging tools are absolute rubbish compared to what you'll find in any modern web browser.
Coming back to writing typescript in VS Code or writing rust in Intellij felt like a breath of fresh air compared to working in Xcode. Everything works, and it works fast and reliably. I have good documentation and I can read the code I'm calling if I get confused.
I really like Swift as a language and I think Apple has a lot of great ideas there, but developing a swiftui app using apple's developer tooling was a miserable experience. Xcode feels like a cobbled together, buggy mess.
My least favorite thing is when the compiler takes a look at my view body and times out trying to infer some kind of generic, and the tells me “hey this 100 line code block has an error, but we don’t know where or what exactly” so I have to comment out code until I find the specific call expression.
> Coming back to writing typescript in VS Code or writing rust in Intellij felt like a breath of fresh air compared to working in Xcode. Everything works, and it works fast and reliably. I have good documentation and I can read the code I'm calling if I get confused.
Some of the tools we use are fast because they have less or no baggage, and some aren't because they have tons. In terms of what Xcode tries to accomplish, it fairs better and is capable of more than any tool I can think of, but there's no way it could compete with anything else that has a relatively austere set of requirements. It is indeed a cobbled together buggy mess, but I just don't think you get 20+ years in without a bit of that.
IntelliJ is an interesting example in that they have managed to build tools that are both rich with features and somewhat performant, and to your implied point, they probably have to in order to compete; if all Xcode did was compile raw Swift and let you visually debug, it would almost certainly lose that fight. Maybe VSCode or Nova will usurp Xcode, and make the experience of just writing Swift and SwiftUI faster against Foundation, AppKit UIKit, etc.. but then you'll need to still likely run it on some emulator, potentially analyze performance issues, preview layouts visually, maybe run cloud builds, configure CoreData models, blah blah blah. Not all the time, but it's there.
Comparatively, other tools just delegate responsibility to other huge projects that haven't always been around or all that great or not great enough. Writing any web code without Chrome or Firefox devtools would suuuuuuck, and ultimately that's usually what I'm doing. Webstorm and VSCode are.. ok at the full package I guess, but not as good as discrete applications.
Webpack is also miserably slow and arcane compared to esbuild or vite, but have their own limitations.
node-hid uses native code to control human interface devices. Source code here: https://github.com/node-hid/node-hid/blob/484d13460a89939530...
If it's the former, it's possible and very viable too https://www.objc.io/blog/2020/05/19/swiftui-without-an-xcode...
I just do something like: `cat base.swift foo.swift | swift -`
I can see this as being nothing more than a Battle Royale for control of whatever UI element you are trying to interact with, while fighting off the control that other users want to have of other UI elements that they are trying to interact with.
In other words, a massively shitty hairball where everyone gets frustrated to the point of rage-quitting.
Edit: just try using a remote-access/remote-support software, like RustDesk, where each user (when more than one have access to a desktop) get their own cursor (even if you can’t see the other person’s cursor). You end up walking on eggshells trying to avoid the other person’s application/UI focus.
If anyone has installed this project and wants to check this, here is a test page that can help: https://codepen.io/ahmedbnabouelezz/pen/wvWZWjO
FTA: “DynaMouse allows you to assign a specific display to a dedicated mouse device (including the built-in mac trackpads) so that when you have multiple screens in a studio-like/complex workstation setup (and far apart from each other), you don't have to drag your mouse over to the other screen.”
Personally, I would've probably tried to avoid confusion by wording it a bit differently (like "Mac-based studios" or "Mac-using studios") knowing that there is a product called "Mac Studio".
(Seems to be a cross between the Mac Mini & Pro? Pretty sure used to be just the high-end Mini, not differently named. Or low-end Pro, I seem to remember they suddenly made the Pro a lot more expensive a few years ago.)
I prefer “natural” scrolling on trackpad, but not on my mouse.
...and for the use cases, having an extended desktop (eg: airplay to HDTV mounted on the wall) and being able to have your primary "desktop" mouse 100% glued to your main screen, but a secondary "click the play next video button on the tv" mouse is genius!
I'm pretty sure if somebody were sufficiently innovative they could paint a bullseye/target around the virtual cursors with some sort of minor performance penalty (a-la: xNeko - https://github.com/crgimenes/neko).