News for hackers. Stuff that matters.
Re:OpenBSD/arm64 on Apple M1 systems by spockz on Saturday March 19, 2022 @01:33PM (#30735724)
What are the benefits of running (open)BSD on a workstation? Especially a laptop?

Edit: this could of course also be used for running a server on a M1 mini!

Re:OpenBSD/arm64 on Apple M1 systems by messe on Saturday March 19, 2022 @01:43PM (#30735821)
Honestly, the biggest advantage OpenBSD has always had for me was its internal consistency and excellent documentation. If you’re a heavy command line user, you can usually figure out either what command you need to run or what you need to look up in the man pages. It’s also great for C development, as it has far better docs for libc than glibc does.

If you have supported hardware (and that’s a bit if and caveat; smaller than it used to be, but still quite large), then everything just works. Even little things like the built-in screen brightness buttons, just work regardless of if you’re in x11 or a terminal (same with volume buttons), because it’s designed as a complete system rather than a distribution of otherwise unrelated open source projects.

Re:OpenBSD/arm64 on Apple M1 systems by paulmd on Saturday March 19, 2022 @03:00PM (#30736642)
Ya, same for FreeBSD. You can literally operate a system with nothing but the handbook in most cases - the documentation is much more systematic and developed than Linux. What you get isn't just a "how to use a GUI" tutorial or manpages, it's a comprehensive look at how you do routine sysadmin tasks. The kind of thing that Linux pushes off to web tutorials or stackoverflow.

Compare:

https://help.ubuntu.com/lts/ubuntu-help/index.html

https://docs.freebsd.org/doc/13.0-RELEASE/usr/local/share/do...

It of course helps that nothing ever changes in BSD-land. After 50 years of development, they are largely feature-complete and are not going to be doing massive changes just for the sake of massive changes. As such they get much lower levels of "documentation rot", things rust a lot slower when nothing ever changes and as such it's a lot easier (and more productive) to build comprehensive documentation.

But the amount of churn in linux is insane, Ubuntu has used three completely different init systems in the 15 years since I started using Linux seriously. For java development, I routinely see and use StackOverflow answers from like 2009 that are completely valid still, and yet answers from that era are completely useless for Linux, which has invalidated that acquired-knowledge twice since then. You can pretty much sysadmin FreeBSD out of the handbook, and if you need to search then an answer from 2009 is usually still valid.

It's absolutely a cathedral-vs-bazaar situation. Cathedral is presented as a negative in that metaphor, but the cathedral ensures enough stability that you can start Having Nice Things instead of just constantly scrambling to rewrite everything every time a vendor thinks they've built a better mousetrap.

Re:OpenBSD/arm64 on Apple M1 systems by zozbot234 on Saturday March 19, 2022 @05:07PM (#30737587)
> ...it's a comprehensive look at how you do routine sysadmin tasks. The kind of thing that Linux pushes off to web tutorials or stackoverflow.

A lot of useful material with near-official status is kept under the Linux Documentation Project, https://tldp.org/ They have a git repository at https://github.com/tLDP/LDP

There are some cases of real churn in Linux but they're rare. The new init systems and such come with plenty of useful features that simplify many administration tasks: the reason for people being so unsatisfied with them is that they bring lots of what's effectively cowboy-coded hacks and prototype-quality code in order to enable these features. But rewriting all of this stuff from the ground up with a clean, Unix-like design (or rather, Plan9-, Limbo- or Amoeba-like, given that Linux now supports the needed foundational features for these) while preserving its feature set would involve more rather than less churn.

Re:OpenBSD/arm64 on Apple M1 systems by silverlyra on Saturday March 19, 2022 @06:37PM (#30738186)
> or rather, Plan9-, Limbo- or Amoeba-like [design], given that Linux now supports the needed foundational features for these

I‘d be curious to hear more about what you're referring to, if you were willing to expand. What foundational features are new to Linux that would be really useful for cleaner init system (etc.) designs?

Re:OpenBSD/arm64 on Apple M1 systems by adastra22 on Saturday March 19, 2022 @07:55PM (#30738683)
Given the examples maybe he is referring to heterogeneous single-system images over a local or wide area network?
Re:OpenBSD/arm64 on Apple M1 systems by tux2bsd on Saturday March 19, 2022 @07:14PM (#30738424)
> It of course helps that nothing ever changes in BSD-land.

ZFS would like a word. FreeBSD, for all intents and purposes, pioneered the adoption of ZFS for the everyday enthusiast.

I'm yet to dive in, I've only dabbled.

Re:OpenBSD/arm64 on Apple M1 systems by paulmd on Sunday March 20, 2022 @02:34AM (#30740627)
Yeah, it's great! Even if you don't get deeply into it, the ability to take and send snapshots, the intelligent caching layer, and the data integrity stuff is all super useful. It's the same stuff that BTRFS sells but it actually, you know, works without constant intervention and data loss. And Zed is great, it ties the whole snapshot thing into the software update process and so on.

It's definitely a bit heavier than other filesystems but it's one of those things where I can't imagine setting up a Linux/Unix system without it anymore.

I wouldn't exactly classify ZFS as a "new" feature though. ZFS dates to 2004, OpenZFS dates to 2006, and OpenSolaris dates to 2010. 20 years is pretty well into "mature technology" by most standards, even 16 years is very mature by software standards.

Re:OpenBSD/arm64 on Apple M1 systems by stjohnswarts on Saturday March 19, 2022 @10:32PM (#30739514)
How does it compare to some of the better run wikis like the Arch wiki? I think I'll take a look around, never thought about checking there freebsd for info on general command line stuff.
Re:OpenBSD/arm64 on Apple M1 systems by brundolf on Saturday March 19, 2022 @02:38PM (#30736414)
Sounds like it might address a lot of the misgivings I have with using Linux as a workstation; maybe I'll play with it some time
Re:OpenBSD/arm64 on Apple M1 systems by messe on Saturday March 19, 2022 @02:48PM (#30736532)
It’s not a perfect OS, but it’s definitely pleasant to use.

These days I’m on macOS, mainly because of the hardware but also a few pieces of software that I have hard time replacing (Scrivener and Mathematica).

Re:OpenBSD/arm64 on Apple M1 systems by ILMostro7 on Sunday March 20, 2022 @12:36AM (#30740159)
I know that Mathematica is available on Linux. I wonder how much more would be needed for Wolfram to make a FreeBSD release.
Re:OpenBSD/arm64 on Apple M1 systems by perihelions on Sunday March 20, 2022 @04:47PM (#30746459)
I think it already runs on FreeBSD. It's in the handbook somewhere:

- "Linux® Binary Compatibility"

- "Describes the Linux® compatibility features of FreeBSD. Also provides detailed installation instructions for many popular Linux® applications such as Oracle® and Mathematica®."

https://docs.freebsd.org/en/books/handbook/book/#preface-ove...

Re:OpenBSD/arm64 on Apple M1 systems by ILMostro7 on Sunday March 20, 2022 @05:27PM (#30746821)
That's excellent! Thanks for that.

I wasn't able to find that exact reference in the docs of the current release (using a mobile device at the moment). However, there is a very useful forum thread for anyone interested. It's not a straightforward install, but it's definitely possible to install/use Mathematica on FreeBSD.

https://forums.freebsd.org/threads/freebsd-13-0-runs-mathema...

Re:OpenBSD/arm64 on Apple M1 systems by tksb on Saturday March 19, 2022 @05:57PM (#30737922)
Scrivener is a gem for sure, but I'm always curious if anyone actively using it has tried Highland? I guess I'm biased as it feels extremely "at home" on macOS.
Re:OpenBSD/arm64 on Apple M1 systems by messe on Saturday March 19, 2022 @09:01PM (#30739010)
It looks nice, I'll be sure to try it out! Upfront, I don't think it'll cover all my scrivener uses (it seems to be missing a lot of the outlining and research features—please correct me if I'm wrong), but I'm curious enough to try it for a short story or two.
Re:OpenBSD/arm64 on Apple M1 systems by cyberpunk on Saturday March 19, 2022 @02:52PM (#30736564)
It's great, if you don't need something like zoom, or to interact with those weird 'usb button' projectors or whatever.

Or video accelerated YouTube.. Or Microsoft office..

Really, I love OpenBSD, but I only really use it for (internet) networking these days, FreeBSD looks after my storage, and it's all proxmox with ubuntu 20.04 vms running k8s for apps.

Someday I'll switch back, but working as a freelancer with a lot of different customers bsds are just too painful to run bare metal (def works with ssh/mosh/tmux though!)

Re:OpenBSD/arm64 on Apple M1 systems by brynet on Monday March 21, 2022 @01:10PM (#30756734)
Zoom actually works fine under chromium on OpenBSD, with full microphone/webcam support. It just requires some configuration to enable a few things which are disabled by default for security reasons.

https://www.openbsd.org/faq/faq13.html#enablerec

https://www.openbsd.org/faq/faq13.html#webcam

https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/chromium...

Re:OpenBSD/arm64 on Apple M1 systems by morganvachon on Sunday March 20, 2022 @08:33PM (#30748511)
> Or video accelerated YouTube

You can get GPU accelerated YouTube videos in OpenBSD, provided you have a supported GPU in the first place. You have to use Firefox and enable gfx.webrender.all and layers.acceleration.force-enabled in about:config. I've been able to get up to 2Kp60 smooth as butter on Intel HD 530 graphics in OpenBSD 7.0. 4Kp60 plays and drops a few frames, but my monitor is 2K so I have no need for 4K playback anyway.

Re:OpenBSD/arm64 on Apple M1 systems by wolverine876 on Saturday March 19, 2022 @04:31PM (#30737340)
Most people do most things in a web browser these days. Can't Microsoft Office be used as a hosted app in a browser, at least the bulk of common functionality?
Re:OpenBSD/arm64 on Apple M1 systems by hsbauauvhabzb on Saturday March 19, 2022 @07:11PM (#30738405)
Only if you want something more useless and buggy than the thick client.
Re:OpenBSD/arm64 on Apple M1 systems by ori_b on Saturday March 19, 2022 @02:08PM (#30736107)
Simple, consistent, well documented, easy to debug, and easy to administer. Comfortable.
Re:OpenBSD/arm64 on Apple M1 systems by messe on Saturday March 19, 2022 @02:35PM (#30736392)
I think “comfortable” sums it up better than anything else. When I run OpenBSD, I know what’s running on my system (up until the firmware at least), but more importantly I understand it. Even the kernel is easy to dive into.
Re:OpenBSD/arm64 on Apple M1 systems by ILMostro7 on Sunday March 20, 2022 @12:43AM (#30740191)
How does that compare to something like Gentoo? Just trying to get the sense of the use-case and perception.
Re:OpenBSD/arm64 on Apple M1 systems by LAC-Tech on Saturday March 19, 2022 @07:20PM (#30738456)
What are the benefits of running (open)BSD on a workstation? Especially a laptop?

I've got the same questions about macOS to be honest

Re:OpenBSD/arm64 on Apple M1 systems by socialdemocrat on Sunday March 20, 2022 @12:51AM (#30740230)
Large selection of well designed and user friendly applications. Stuff just works because software and hardware is well integrated

Not to mention consistency. On all other competing platforms consistency across applications tends to be rather bad.

Re:OpenBSD/arm64 on Apple M1 systems by aerique on Sunday March 20, 2022 @04:13AM (#30741009)
Yes, but what about macOS?
Re:OpenBSD/arm64 on Apple M1 systems by ILMostro7 on Sunday March 20, 2022 @12:47AM (#30740219)
Commercial/Proprietary software support, mainly. Certain companies or institutions may require Windows or MacOS only. I prefer MacOS ecosystem (*nix-like) to Windows.
Re:OpenBSD/arm64 on Apple M1 systems by bogeholm on Sunday March 20, 2022 @04:20AM (#30741037)
I develop data engineering/science applications at $BIGCORP daily on a Mac, targeting Linux instances on AWS. What I like:

- It’s UNIX, and has been since Snow Leopard, that makes some development tasks easier. YMMV

- I like the UI (personal preference)

- MS Office stuff is native

- I’ve heard the fan on my M1 box twice in a year

- Can run x86 Docker images via emulation, usually seamlessly

Docker is running in a Linux VM of course on a Mac, so there’s a slight performance hit.

Even all the SIP stuff doesn’t get in the way, in my experience.

Re:OpenBSD/arm64 on Apple M1 systems by Ar-Curunir on Sunday March 20, 2022 @12:11AM (#30740024)
this is a troll, right? MacOS is much better for most users than Windows or Linux, and I say this as someone who used desktop Linux for 10+yrs before throwing the towel in.
Re:OpenBSD/arm64 on Apple M1 systems by ILMostro7 on Sunday March 20, 2022 @12:50AM (#30740226)
That's a subjective and misleadingly useless response.
Re:OpenBSD/arm64 on Apple M1 systems by makeitdouble on Saturday March 19, 2022 @06:39PM (#30738201)
I’d see it as stability, in the “won’t need upgrades” outside of security ones.

A bunch of us have a trail of old macs that are weird to use because of the whole system is stuck on the last supported OS, which happens to be the most bloated for that hardware, and doesn’t receive updates anymore. Moving to another simpler system altogether makes it a better proposition. As a matter of choice, BSD is more familiar than linux in many ways.

M1 laptops are not in that position yet, but in 2 years I’d totally imagine getting rid of macos on sub machines.

Re:OpenBSD/arm64 on Apple M1 systems by atmosx on Saturday March 19, 2022 @05:35PM (#30737786)
Benefits? If you are not developing _for_ the platform or don’t have specific use cases (e.g. package creation) literally none. It will be an uphill battle where you will spent man-hours trying to find workarounds to things elsewhere are trivial. Or have another system laying around which IMO beats the purpose.

If you are an OS & BSD aficionado, you like to spent time working with OpenBSD because <reasons> ok, but otherwise I would advise against it.

Re:OpenBSD/arm64 on Apple M1 systems by kytazo on Sunday March 20, 2022 @01:31AM (#30740414)
I'm sure you get less surveillance and more freedom as of free software freedom I mean I love the hardware but I really detest the apple logo