News for hackers. Stuff that matters.
Re:Netflix uses FreeBSD 9.0 by kbar13 on Saturday December 21, 2013 @11:36PM (#6949362)
When are people gonna shake the false impression that *BSD are outdated and their flavor of Debuntu is far superior?
Re:Netflix uses FreeBSD 9.0 by EliRivers on Sunday December 22, 2013 @04:22AM (#6949836)
Who says BSD is outdated? I've never heard anyone say that, and I thought I'd heard all the OS whinges going.
Re:Netflix uses FreeBSD 9.0 by Slackwise on Sunday December 22, 2013 @12:04AM (#6949439)
When people also acknowledge that Gentoo is effectively the best of both worlds?
Re:Netflix uses FreeBSD 9.0 by hypnotist on Sunday December 22, 2013 @03:29AM (#6949762)
Actually, Arch[1] is the best of both worlds.

1.https://www.archlinux.org

Comparison to others: https://wiki.archlinux.org/index.php/Arch_Compared_to_Other_...

Re:Netflix uses FreeBSD 9.0 by Slackwise on Sunday December 22, 2013 @12:10PM (#6950815)
Arch is closer to Fedora than Gentoo or BSD.

Gentoo still uses a BSD Ports-like system called Portage. You can still have a sync'd directory of Ebuilds, which correspond to FreeBSD Makefiles, only you have the added benefit of USE flags, compilation options, and even binary packages.

You can run Portage on FreeBSD.

Gentoo still uses, by default, OpenRC, which is a BSD-like init system that also handles dependencies. It is compatible with other FreeBSD and NetBSD scripts as well.

You can run OpenRC on FreeBSD and NetBSD.

Arch, on the other hand, has Fedora's systemd, which is completely incompatible with any of the BSD's thanks to its use of cgroups, which are a Linux kernel only feature, and the developers of systemd have dismissed, openly, the BSDs as outdated and unimportant.

Arch also uses binary packages for most of its packages, which is closer to rpm/dpkg than it is to Portage/ports.

The AUR is a limited system designed for pulling in alternative and source packages. It lacks USE flags and compile-time and runtime end user control. The AUR is mostly managed by the community, and many AUR packages have a lower quality than the base pacman available packages. The less popular a particular AUR package, the less people will be involved in it, and the lower quality it will be.

On the flipside, the BSDs have impeccable quality packages. They're not configurable without tweaking stuff manually, but the defaults are rock solid.

Gentoo's core Portage tree packages are managed by official developers who are assigned duties. And like the AUR, the community is able to apply any number of "overlays" on top of the Portage tree, giving the community direct ease of modification of not only community packages, but core ones as well.

So, how is Arch the "best of BSD and Linux" when it has absolutely nothing to do with BSD?

Re:Netflix uses FreeBSD 9.0 by rakoo on Sunday December 22, 2013 @03:07PM (#6951514)
> So, how is Arch the "best of BSD and Linux" when it has absolutely nothing to do with BSD?

You're being a little biased here.

Systemd has been default since 2012, yet Archlinux started in 2002. Before systemd, the default system (initscripts[0]) was very much BSD-like by design. Not anymore, that's true.

Regarding packages, you don't have to use binary packages; you can very well use the ABS [1], which AFAIK really is what ports are about:

- You get a tree where you can download recipes. They're called PKGBUILD in Arch, ebuild in Gentoo, but essentially do the same thing. Take a look at nginx's PKGBUILD [2], and you will recognize a logic similar to the corresponding ebuild [3], yet far simpler (because less configurable, I hear you coming)

- You have a set of tools to create a fake root, calculate dependencies, build the package according to global properties (there are compile flags [4], but I have no idea how they compares to the famous USE flags) and install the package.

- Pre-built packages are just packages that were built by the Archlinux team with sensible defaults and have proven to be stable enough (by Arch's standards), so I as a user don't have to bother re-compiling. But the process behind is completely done with PKGBUILDs.

The AUR is "just" a staging zone where packages get to be tested by the community at large. When it's popular enough and a Trusted User commits to maintaining the package, the PKGBUILD can be part of the [extra] repository, where all packages are automatically built and proposed to arch users... but still, with the same build process.

To me, Arch sits between Gentoo/*BSD and "higher-level" distros: it keeps the process as close as possible to upstream applications by providing a minimal framework to install and update them, so that users can get understand how gluing packages together works, and what they have to do to have a functional system that does what they want, and not spend time on understanding how the packages work inside. Arch is more about understanding and using the system as a whole, than understanding every brick.

[0] https://wiki.archlinux.org/index.php/Initscripts [1] https://wiki.archlinux.org/index.php/ABS#What_is_the_Arch_Bu... [2] https://projects.archlinux.org/svntogit/community.git/tree/t... [3] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-... [4] https://wiki.archlinux.org/index.php/Makepkg#Architecture.2C...

Re:Netflix uses FreeBSD 9.0 by lmm on Sunday December 22, 2013 @06:46AM (#6950054)
Even on Arch, ZFS is awkward (btrfs is most of the way there but maturity is important in a filesystem), sound is still the mess that it always is on linux, and the system keeps changing underfoot.
Re:Netflix uses FreeBSD 9.0 by diadara on Sunday December 22, 2013 @12:50AM (#6949509)
ain'tnobody got time for that. Gentoo is cool and all but I don't want to compile everything from source.
Re:Netflix uses FreeBSD 9.0 by mackal on Sunday December 22, 2013 @11:42AM (#6950733)
I used to use Gentoo back in the day, then I got a laptop and was like "I won't have time to compile everything!" Then I distro hopped for a few years, never really being happy, I am now happily back on Gentoo.
Re:Netflix uses FreeBSD 9.0 by meddlepal on Sunday December 22, 2013 @01:00AM (#6949527)
Didn't gentoo do away with the stage 1/2/3 stuff a couple Years ago?
Re:Netflix uses FreeBSD 9.0 by aceperry on Sunday December 22, 2013 @01:54AM (#6949607)
They did, but then you have to spend all of your time fixing broken packages whenever you do a world update. :P
Re:Netflix uses FreeBSD 9.0 by Spittie on Sunday December 22, 2013 @11:22AM (#6950681)
When people will understand that the best of both worlds is what works for them?
Re:Netflix uses FreeBSD 9.0 by rakoo on Sunday December 22, 2013 @03:32AM (#6949768)
Pshh. Gentoo is so last decade. Arch is where it's at.
Re:Netflix uses FreeBSD 9.0 by dscrd on Sunday December 22, 2013 @06:13AM (#6950003)
FreeBSD package server was compromised quite a long time ago. Have they restored it yet? It not being there is sort of a deal-breaker for me, since I really cannot be bothered to compile all the 3rd party packages I use from source.
Re:Netflix uses FreeBSD 9.0 by uggedal on Sunday December 22, 2013 @08:00AM (#6950173)
Re:Netflix uses FreeBSD 9.0 by dethstar on Saturday December 21, 2013 @11:37PM (#6949364)
Too bad those mods/upgrades/updates are not free software?
Re:Netflix uses FreeBSD 9.0 by Sanddancer on Saturday December 21, 2013 @11:49PM (#6949408)
They are. Most companies using BSD-licensed software realize that it just makes sense to not release contributions back to the community. Having to backport whenever a new release comes out just to hide a couple shiny features quickly becomes very much not worth it. Netflix in particular is a major contributor in code, cash, and community, so saying the mods aren't free software is utter ignorance. The meme that only restrictively-licensed free software gets people to contribute back has frankly been debunked from here to mars and back.
Re:Netflix uses FreeBSD 9.0 by xradionut on Sunday December 22, 2013 @08:55AM (#6950292)
How many companies have contributed to help OpenSSH??? Damn few.
Re:Netflix uses FreeBSD 9.0 by clarry on Sunday December 22, 2013 @12:19PM (#6950843)
How many companies have made changes worth contributing back, but decided to keep to themselves? That'd be interesting to know.
Re:Netflix uses FreeBSD 9.0 by ams6110 on Sunday December 22, 2013 @02:15PM (#6951297)
RedHat contributed their ssh-ldap-helper to allow ssh to effectively use an LDAP server as its authorized_keys source.
Re:Netflix uses FreeBSD 9.0 by cperciva on Saturday December 21, 2013 @11:53PM (#6949415)
... except that they are. Scott Long and Adrian Chadd are working full-time for Netflix, and other developers (e.g., Kirk McKusick, Gleb Smirnoff) have been hired from time to time for other work. Aside from short time periods while Netflix is testing kernel patches (on live traffic!) all their FreeBSD code is in the SVN repository.
Re:Netflix uses FreeBSD 9.0 by protomyth on Sunday December 22, 2013 @08:59AM (#6950304)
If the company is willing to contribute it back, it is probably good software and the company will probably be a good partner. If the only reason the contribute the code back is because of the license, I would imagine they will suck as a partner and the code probably won't be of good quality.

I look at BSD / MIT as foundational licenses that anyone can use. Those companies that don't understand the business case for getting their changes put back into the mainline of a project just aren't worth your time. It is a nice self selection process by companies and a good indicator if they will get the whole open source thing. Its like a spam filter for source code.

For example, Netflix is contributing source and money back.

Re:Netflix uses FreeBSD 9.0 by mathgladiator on Saturday December 21, 2013 @11:47PM (#6949403)
I'm curious as to what you mean by this since it does not compute.