Hacker News new | past | comments | ask | show | jobs | submit | irth's comments login

re 2: an added benefit of not using actual macOS spaces is that it seems (at least from my limited usage) to be much more reliable than yabai (not blaming yabai here, of course).

I also tried implementing an i3 like workspace numbering/creating on top of yabai - it was an uphill battle due to how limited native macOS space management is and I never finished, so thank you for creating AeroSpace :)

I actually use it in tandem with yabai now - I added an "exec-on-window-hide"[0] option similar to "exec-on-workspace-change", and use it to make the hidden windows transparent (and to make them visible again)[1].

I wonder if hooks like that would be a good way to have a nice middle-ground to let people who don't care as much about SIP to extend upon AeroSpace's model?

I'll probably send over a pull request for your consideration soon.

[0] https://github.com/irth/AeroSpace/commit/54b48aa0edf9817031c...

[1] https://gist.github.com/irth/0bc96778c6073c756d3bb657f1bfe8b...


There's a clone of dmenu - https://github.com/oNaiPs/dmenu-mac, but it doesn't integrate with Spotlight or similar.


Yeah, Ive seen that, but it would be a hard sell getting macOS guys to run that and replace the spotlight keybind with that entirely. I tend to agree with them too.. I just would like to see Spotlight have the ability to do dmenu scripting stuff. There's no reason it couldn't except lack of vision.

I honestly think Apple would be half keen to do it themselves, they just probably haven't seen the idea to steal it yet


I implemented something like this as a Raycast extension[0]. Demo attached[1].

[0] https://github.com/irth/dmenu_raycast

[1] https://akko-cdn.hackrc.dev/media/e34cdc7683fece5260124ef47c...


Amazing!! I had never heard of Raycast! I'll be checking this out first thing in the morning! Thank you!


let me know if you have any suggestions. i’ll probably try to make it more self contained (e.g. make it possible to install the script into PATH from the extension itself) and eventually get it into Raycast extension store (haven’t read their guidelines yet though)


you can get windows-style alt-tab with https://alt-tab-macos.netlify.app/


Right. Got it, love it.

But it won’t work with AeroSpace.

I mean, it will work, but it won’t work with all windows from _visible spaces_.

Because ever window from _every space_ will be in the current space (tucked in the lower right corner).


ah, right! Apparently I didn't read your first comment properly, sorry about that.


I wonder what's inside the Pine64 docks.

https://pine64.com/product/pinebook-pro-usb-c-docking-deck/

I'm currently using the PinePhone USB-C dock with my Macbook but I don't think it has Gigabit ethernet, but I don't have a cable wired up to my room still so I mainly use it for HDMI and USB type A ports.


That corporate spyware won’t steal your credit card. I’d rather have my data stolen than money


Well, you give them the card for a free trial, then end up forgetting to cancel, and the effect is similar.


Pretty cool! I do have a bit of a problem with forgetting that I was productive and assuming I am just not doing anything meaningful everyday. I also came across the idea of a "done list", but for anything, not just home stuff - I implemented it as a simple app[1] so that I can get points and track my week on a nice graph (inspired by Duolingo, I want to make a daily goal setting eventually too) :)

Your project reminded me of that.

[1] https://doneth.at - might be buggy and not very performant, I implemented it just for myself. I do hash passwords though ;)


You don't need it to run DOS binaries on DOS.


It’s not clear if this is DOS or a DOS shell that actually executes Linux binaries. The description is confusing, hence my question.


It is literally DOS, so it executes real mode binaries natively.

Okay, actually, this is more like VMWare ESX in the 4.0 days. It's kind of, uh, inside out.

Basically it's DOS, which launches Linux via DSL, which then runs a task out of init in vm86 mode that uses KVM to _continue_ the DOS that launched it as if it were the only thing running.

The DOS doesn't know anything has happened, even though the rug has been pulled out from under it, and it is now running in a KVM VM guest. You just can't tell anything is different because all the BIOS/real mode stuff is unchanged.

You get your prompt back when a native Linux binary finishes but it's the linux kernel emulating the DOS session after that first command, until you reboot.


it's a read only compressed file system so I am not so sure about that


It is, though. Under memory pressure the kernel will drop any page that's backed by a file, and then page it back in as needed. "swap" is just making _all_ memory be backed by files.


Squashfs is read-only, it can’t be used for swap.


To be honest, WSL translated Linux syscall to NT the same way that it translates Win32 calls to NT. NT has its own API and has a thing called "personalities" which they used to implement both OS/2 and Win32 binaries support, and recently Linux. So where WINE is an additional layer on top of Linux syscalls, WSL1 is on the same "level" as Win32.


It runs client side, though


It's nice when tools prevent you from pwning yourself :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: