News for hackers. Stuff that matters.
Re:OpenBSD Desktop by skydhash on Friday May 10, 2024 @12:25PM (#40320819)
I'm running a Debian VM on my M1 Mac (it's a mess to cleanup dependencies and tooling after a project on macOS). I also use i3wm and before launching Firefox, the whole OS consumed only 300 MB of ram. In the past I use Arch with i3wm to have enough free ram (on a 8GB laptop) for Android Studio and Firefox. Some people are angry with Apple for their 8GB offering, but it would be great to imagine what can be done with less and the operating system being just an operating system, not an application suite.
Re:OpenBSD Desktop by gawa on Friday May 10, 2024 @01:39PM (#40321679)
Are you saying you're using a debian VM on your Mac as a daily driver? Running i3wm and Firefox and ultimately living in Linux, but on your Mac? Does that mean you never have to use MacOS much (beside upgrading the host mac OS, and launching the VM right after boot)? If that's your setup I would love to hear more about it, the pros and the cons.
Re:OpenBSD Desktop by skydhash on Friday May 10, 2024 @02:16PM (#40322119)
It's not my setup and it's fairly recent. I love some of the Mac software (Bear, Things, Dash, Doppler) and the Mac hardware. But dealing with project dependencies and tooling is a pain on every OS I've been. SO I bought Parallels (issues with graphic in UTM), configured a base OS, and clone it for each project. So personal workflows are still macOS-centric, but dev workflow is Linux.

I could do what you said, but the apps are nicer than Linux ones. But I still care about data portability (it's trivial to export data in all the app I use) so it's more a want, not a need.

Re:OpenBSD Desktop by malux85 on Friday May 10, 2024 @04:06PM (#40323292)
This was exactly my setup for like 4 years a few years ago.

MacOS was the host and it was immediate boot into Debian VM and it was my main machine I used to dev every day.

Pros and cons: I switched to parallels vm software from virtualbox because it just seemed to run a LOT smoother which meant the machine ran dramatically cooler. I think this was due to the graphics driver - higher frame rates and no display glitches

I’m not a gamer but very occasionally I like to play older strategy games - this I did outside the Linux vm, since high performance graphics wasn’t good inside the vm as one would expect.

I allocated like 90% of the system RAM (machine was an Intel Mac with 64GB of ram) to the vm

Once inside the booted machine running full screen it felt native, I would forget I was in a vm

Bridged networking so other machines on my lan can ssh in,

Any other questions you have let me know!

Re:OpenBSD Desktop by detourdog on Friday May 10, 2024 @12:53PM (#40321161)
I have always found MacPorts as the best way to manage tooling.

All packages and dependencies are installed under /opt/.

The consistent pathing is the only sane way to manage tooling.

Re:OpenBSD Desktop by AlexeyBrin on Friday May 10, 2024 @05:13PM (#40323851)
Homebrew also installs everything under /opt/ on aarch64. Pretty convenient when you want to nuke it and start fresh.
Re:OpenBSD Desktop by detourdog on Friday May 10, 2024 @08:55PM (#40325180)
I had thought Homebrew's purpose was to leverage Apple's bundled what not. I haven't looked at Homebrew in over a decade.
Re:OpenBSD Desktop by jetti on Sunday May 12, 2024 @09:50AM (#40334464)
It may have started that way but now it is used to install and manage applications and it makes it really easy to do so. There is even a Linux version of homebrew now