News for hackers. Stuff that matters.

irth

Re:AeroSpace is an i3-like tiling window manager for macOS on Thursday June 13, 2024 @11:52AM (#40671145)
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)
Re:AeroSpace is an i3-like tiling window manager for macOS on Saturday June 08, 2024 @12:30AM (#40615288)
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...

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.
ah, right! Apparently I didn't read your first comment properly, sorry about that.
Re:AeroSpace is an i3-like tiling window manager for macOS on Thursday June 06, 2024 @02:06PM (#40600505)
you can get windows-style alt-tab with https://alt-tab-macos.netlify.app/
Re:USB-C hubs and my slow descent into madness (2021) on Monday April 04, 2022 @07:39PM (#30913397)
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
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 ;)

Re:DOS Subsystem for Linux on Tuesday September 22, 2020 @12:43PM (#24556714)
You don't need it to run DOS binaries on DOS.
Re:SoftRAM 95 (1996) on Thursday December 12, 2019 @04:18AM (#21770486)
it's a read only compressed file system so I am not so sure about that
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.
Re:Vim.wasm on Thursday April 25, 2019 @02:31AM (#19745572)
It runs client side, though
also, VS Code has those features, but is an extensible editor and not an IDE so you don't get them out of the box but that's by design
Re:Lessons learned porting 50k loc from Java to Go on Saturday April 06, 2019 @05:44AM (#19590034)
Depending on how it's used in the Java code, it might be fine to replace it with an empty string.
Re:Running VSCode in Docker on Friday April 05, 2019 @12:57PM (#19584529)
I think they meant the other way - accessing the editor/IDE remotely?

edit: or even not necessarily remotely - just a way to have the same setup everywhere you go

Re:Show HN: Thoughter on Wednesday April 03, 2019 @07:37PM (#19568143)
Keep in mind that "thot" is nowadays being used as an acronym[1] that you might want to avoid being associated with.

[1] https://www.urbandictionary.com/define.php?term=Thot

Re:Sway 1.0 on Monday March 11, 2019 @05:35PM (#19363067)
I think AwesomeWM allows that
I used to do 120G/month when I had a limit that high, in Poland, for around 8$/month (I was able to use 2G and 3G and everything in between, too, but most of the time I was on 4G)
Re:We Must Revive Gopherspace (2017) on Sunday February 17, 2019 @03:40AM (#19183375)
Oh, this one's pretty cool. Makes me wanna do a similar thing for another website that's as nice looking.
Re:We Must Revive Gopherspace (2017) on Saturday February 16, 2019 @03:24PM (#19180741)
> Gopher is not HTML

Gopher can easily serve HTML content (and any other content type, too)

I made a Gopher HackerNews proxy a few years ago, you can see it in action by running

    lynx gopher://hn.irth.pl
and check out the source at https://github.com/irth/gophernews
Javascript does have an extendable transpiler (Babel) that allows everyone to make changes, and you can make proposals to the TC39 commitee, too.
Re:LinuxBoot: Linux as Firmware on Monday January 29, 2018 @07:06PM (#16261780)
One line config change to hide the hypervisor from the VM and it works. (Source: worked for me)
1 (because it's a bool anyway)
but someone can replace the link to the form
Re:Roamer: A Plain-Text File Manager on Wednesday August 30, 2017 @07:27AM (#15131216)
maybe it's because the code binary is exiting right after it starts the editor, and roamer deletes the file

try EDITOR="code -w". It'll open a new instance, in the foreground

Re:Why I Deleted 349 Answers and a Blog from Quora.com on Saturday August 12, 2017 @07:16PM (#15000587)

    $ curl -I http://blog.justoutsourcing.com/2017/08/deleted-348-answers.html
    HTTP/1.1 301 Moved Permanently
    Date: Sat, 12 Aug 2017 23:16:48 GMT
    Server: Apache/2.4.25
    Location: https://www.google.com/search?q=first+draft+software+justoutsourcing
    Content-Type: text/html; charset=iso-8859-1
What?
Re:Knolling on Tuesday August 08, 2017 @05:39AM (#14956060)
I don't really do non-computer activities at my desk but I still have way too much stuff: drives/flash drives, a cpu fan, cables, adapters, notes (I like to sometimes use pen and paper when programming), a broken microphone...

Older »