7 ms·
Why Use Debian Stable on the Desktop?
- lucideer 9y agohttp://webcache.googleusercontent.com/search?q=cache:nHJYRopzoTAJ:wayoflinux.com/blog/debian-stable-on-desktop+&cd=1&hl=en&ct=clnk&gl=ie http://webcache.googleusercontent.com/search?q=cache:nHJYRop...
- vog 9y agoSite is down. Google Cache: https://webcache.googleusercontent.com/search?q=cache:nHJYRopzoTAJ:wayoflinux.com/blog/debian-stable-on-desktop+&cd=1&hl=de&ct=clnk&gl=de https://webcache.googleusercontent.com/search?q=cache:nHJYRo... <obligatory-rant> I'll never understand why serving static(!) sites is so hard. Are modern blog systems still that bad? HN traffic is far below 100 req/sec (perhaps below 10 req/sec), which should be an absolute no-brainer for any modern webserver. [1] Heck, given a good internet connection, one should be able to run 10 such blogs on a Raspberry Pi and still survive HN. </obligatory-rant> [1] According to ServerFault, challenges start at 100000 req/sec: https://serverfault.com/q/408546/175421 https://serverfault.com/q/408546/175421
- FreeHugs 9y agochallenges start at 100000 req/sec Only if you have a well configured cache in front of your cms. If you don't expect any significant traffic, it's perfectly reasonable to serve directly from your cms. And that might be super slow because optimizing a cms for perfomance does not make sense. That should be the job of a cache in front of the cms.
- majewsky 9y agoThe best performance can be had by just dumping some .html files into a directory and pointing nginx/Apache/whatever at it. Static site generators are a thing now.
- mantas 9y agoWho cares about performance for a random blog? As long as you don't get hit by HN, of course.
- majewsky 9y agoOn the other hand, why bother writing a blog if you don't expect any readers? There's this hidden assumption here that "the HN crowd" = "a huge amount of visitors". The typical HN crowd for a front-page article will be on the order of 10,000 visitors. That's really not much on the scale of the internet.
- mantas 9y agoWhy implement premature optimisations if you expect 100 or 1000 readersa day? There's a huuuuge difference between 10k an hour or 10k a day.
- vog 9y agoThis argument doesn't make any sense to me. It might be true for self-written blog software, but amusingly those tend to have quite good performance ... either because these are static generators, or because these are rendered on the fly, but with very simple and hence fast templates. However, there is no such excuse for popular CMS. Those have been developed over 10+ years, and have a wide range of users - small as well as large blogs. Finally, I wouldn't call static HTML pages "premature optimization", but rather "the natural thing to do". Let's have a look at the data access pattern: On average, articles are written once, updated seldomly, and read at least 10x as often as written. With increasing popularity, this ratio shifts even more to the "read" direction. [1] Since the datasets are small (order of KiB or MiB), complete regeneration is feasible. Moreover, it is much simpler and less error-prone than caching. And you can speed up site generation with classic build tools (make, tup, etc.), if you want. [1] That is, with increased popularity more articles are written due to the increased motivation, but disproportionally more readers will arrive.
- majewsky 9y ago> I'll never understand why serving static(!) sites is so hard. It's not hard. They're all adding stupid bloat for no good reason. When my blog was on the frontpage, traffic peaked at 1 Mbit/s (that's megabits, not megabytes) and CPU load peaked at 5% of a single core (and only because that box runs a dozen services in parallel). Everyone who's blog cannot withstand the HN crowd deserves to have their computer operator's license revoked.
- Macha 9y agoA couple of years ago I had a couple of articles on a static blog hit HN. Out of the box nginx on Ubuntu 14.04 on the 1GB Linode (then the second tier) handled it perfectly fine. With no disruption to a teamspeak server that was on the same host at the time.
- russianhun 9y agoAccording to support, my site just got DDoS-ed. Makes me wonder who can get THAT pissed off with an article about Debian. Anyway, it makes me feel like I'm doing something right. :D (BTW you're right, it's a cheap host and quite slow even when it's working. Site runs on Grav (flat-file CMS), which is a lot faster than e.g. WP and ilk (on the same chep host))
- vog 9y agoThanks for clearing this up. It's good to know that there is sane blog software out there, and that it is actually used.
- russianhun 9y agoI'm trying to make it insanely sane :D Looking for a better host already...
- ZenoArrow 9y agoOr in other words, "I use Debian Stable on my home computer and here's how I've justified it to myself". If Debian Stable does everything you want out of an operating system, by all means use it, there's no reason not to, but some other people may want to make use of the newer features of Linux and its surrounding ecosystem that aren't available in Debian Stable yet. The idea that Debian Stable is a good choice for all users ignores those with different desired features than the author. In other words, people have different priorities. If you've found something that works for you, good for you, there's no need to justify it.
- digi_owl 9y agoThe more i have had to deal with the Linux ecosystem, the less i want to do with the bleeding edge of it. Because you will find shit breaking, willfully, every other month or so, because some caffeine addled code monkey thought he could do a decade+ usage-tested lib better in a new language over the weekend.
- majewsky 9y agoAs a contrary anecdote, Arch Linux has only gotten more stable for me over the past years. I'm running it in multiple servers and had only one incident where a downgrade was necessary (which is not particularly hard either).
- dsr_ 9y agoThis particular article seems to be an ad for consulting/support services, but their underlying point is one that I agree with: Desktop usage (terminals, browsers, editors, word processing, spreadsheets, presentations, media listening/viewing and light creation) should not be surprising. It should not change out from underneath the user. I've run Debian Stable for more than 15 years as my primary desktop system, almost always with XFCE. I add the Google Chrome repository and download the latest Firefox and Firefox Nightly. That's it. The whole thing runs really nicely on an i5-2500 with 16GB RAM and 2 SSDs in a ZFS mirror. I'll need new hardware when I switch from 2 1920x1200 monitors to a big 4K screen; I won't need to change my OS.
- russianhun 9y agoJust wondering what made you think it's "an ad for consulting/support services" Edit: I found the "offending phrase", I think. I dare you to click the link, it leads to a (free) online book. :D
- laumars 9y ago> The whole thing runs really nicely on an i5-2500 with 16GB RAM and 2 SSDs in a ZFS mirror. To be fair, I'd expect any OS to run nicely on that spec.
- pletnes 9y agoNot windows 10.
- KozmoNau7 9y agoW10 runs fine on my laptop, a Thinkpad T440 with an i5-4300U, 8GB RAM and SSD. W10 does a fair few things wrong, but performance is not really one of them, unless you're on a Pentium 4 or something.
- krutzger 9y agoI converted a similar laptop from win10 to Ubuntu and now it is all cool and quiet. Windows seem to require many many CPU cycles just to update itself and index files (yet cortana never seems to find anything, but that's another discussion).
- aceofspad4s 9y agoUsing Debian Stable on a desktop is probably the closer to hell that you could ever get. Imagine to never be able to get that one feature you need because it's only in a more recent version. The best option for a stable desktop is Gentoo, where you can run old software but then unmask recent stuff if you need it. As a recent example I'll say that MTP support in stable (libmtp) was flaky for my mobile phone. With Debian I would've had to suck dicks in the bug tracker forever to get the fix backported. With Gentoo I just unmask a more recent version et voilà. And that applies to any software you could ever need: you are always going to need more recent versions of certain packages at some point. Stuff that gets fixed, a certain new feature you want, a more recent kernel... I know someone is going to mention apt pinning but that only works in theory since pinning a more recent version of a certain package usually means you have to update half your packages to unstable because of dependencies. And in that case why even use stable?
- willtim 9y agoIMHO the best option currently for a stable OS with up-to-date desktop apps is NixOS. NixOS allows one to have a stable base OS then install packages in the user account from a different channel. Since it uses deterministic builds, the binary caches typically mean no building needs to happen locally. NixOS permits multiple versions of any application/library/dependency to be installed side-by-side, even libc. I run such a configuration and all my desktop packages are completely up-to-date, while my base OS and system components are tracking a stable release.
- qznc 9y agoThere is a fundamental difference between system and applications. All common Linux distro unify them into one package management mechanism. Your comment suggests that NixOS is flexible enough to make a split. Android and iOS clearly separate system and applications and it mostly works fine. Ubuntu tries to split off applications via snap [0], but so far adoption seems marginal. [0] https://www.ubuntu.com/desktop/snappy https://www.ubuntu.com/desktop/snappy
- 9y ago
- snarfy 9y agoBecause you're a masochist?
- billsix 9y agoAs a Debian user for 15 years, I like it, but as a developer looking to contribute packages, I am displeased. I can't figure out how to update Gambit Scheme to the newest version by making a package, setting up a local repo, etc. The documentation on the subject in debian is all over the place on many sites giving conflicting answers. Gentoo and Arch in my limited experience are much simpler to build packages for. Redhat too. One build file is all that's required.
- majewsky 9y agoI regularly build Arch packages. I once tried to build a Debian package, followed the tutorial, but gave up after nearly two hours. The amount of ceremony involved in Debian packaging is just absurd.
- qznc 9y agoThe problem with Debian is that there is no One True Way to build packages. Instead everybody builds wrapper scripts calling other wrapper scripts and it builds up into a giant mess. I'm guilty of this myself. The script I made is heavily inspired by Arch. The resulting script for Firefox is like this: https://github.com/qznc/simpledeb/blob/master/test/firefox.DEBBUILD https://github.com/qznc/simpledeb/blob/master/test/firefox.D...
- samueloph 9y agoDebian Maintainer here (currently in the process of becoming a Debian Developer). I agree that the documentation lacks various improvements, but i would like to add that there's a difference between building a deb package and building a deb package for Debian. Tl;DR: To build a deb package for Debian involves lots of extra steps and cautions than to build a simple deb package because Debian is pretty strict with what can enter the official repository. The documentation needs to be improved for both cases anyway.
- billsix 9y agoI'd like to update Gambit Scheme from the 4.2 series to the 4.8 series in debian unstable. if you have some time to help me figure it out, please email my username at Gmail.
- morganvachon 9y agoAs a serial distro hopper, my only complaint about using Debian Stable over the years is hardware compatibility. As the author noted, Stable isn't for the latest and greatest hardware. This was especially true for me a couple of years back when trying to run Debian Jessie on a then-new Intel Braswell based system. The video driver as shipped was unable to render at any resolution above 1024x768, and there were severe artifacts especially with certain fonts. Switching to Ubuntu cleared up the issues (newer kernel and newer X11 driver). That said, Debian Stable is an ideal desktop OS for older hardware. I have a Mac Mini from the first generation of Intel Macs, upgraded to a Core 2 Duo CPU, that runs BunsenLabs Linux (based on Jessie and a 3.x kernel) just fine. In fact, it's one of the few Linux distros that still supports that 11 year old machine, long after even Apple left it behind.
- UncleEntity 9y agoIt's literally the only distro I can run on my two My Book Live mini-file servers being powerPC and all. Have to run a patched kernel though. Couldn't see running it as my desktop distro since I like to fiddle with stuff and having an older compiler and python isn't really all that desirable. Back when I hacked on blender I was even having a hard time keeping up on 'bleeding-edge' fedora since one of the main devs liked to upgrade to the newest python release as soon as it was out.
- morganvachon 9y agoDebian has dropped PPC support moving forward, so you're on borrowed time. You may want to look into OpenBSD or NetBSD as a backup plan if you intend to keep that hardware long-term. I've found OpenBSD to be nearly painless to maintain and not too much of a learning curve (admittedly coming from Slackware being the Linux distro I cut my teeth on nearly 20 years ago). That said, I don't know how difficult it would be to install a non-Linux OS on that particular device; I know it was designed for and shipped with Debian. I've had success installing the various BSDs on all kinds of obscure hardware but I've yet to get my hands on a MyBook Live.
- nickik 9y agoAs an Arch Linux user for years this hurts me. I can't even imagine living with all that old crufty stuff and then when you actually upgrade something you have library issues and so on. For those who are to afraid to run Arch, consider openSUSE Tumbleweed. It is as up to date (or more so) as Arch Linux but they do a lot of automated testing, plus they do a lot of automatic snapshots so you can go back if needed (that is if you are willing to run Btrfs).
- cbcoutinho 9y agoI totally agree, have been a happy Tumbleweed user for over a year now. Installation is a breeze compared to Arch.
- nickik 9y agoHow dare you say that installing Arch is not easy?????
- cbcoutinho 9y ago> compared to Arch Have you ever tried to install Tumbleweed? I was comparing the two, not using absolutes.
- ac29 9y agoI think the one of the biggest things for me about stable/LTS distros aside from dealing with "old, crusty stuff", is that said software is upgraded all at once every two or three years. Doing 5 or 10 minutes of work a month looking into changelogs for packages and adjusting settings and what not is much more managable than having everything change underneath you all at once, possibly by several major versions. Its almost a miracle that stable->stable upgrades even work.
- Dowwie 9y agoI use Debian 9 with gnome. I don't know what I'm missing by not using one of these other distributions and don't care enough to seek out that information because I have thus far managed to do everything I need with Debian, and have used it for years. Damn. Maybe I need to look around.
- mmjaa 9y agoI have been a Debian user forever, but my current go-to for "recommending Linux to friends" is Ubuntu Studio. Latest release pretty much rocks, everything works smoothly out of the box, and the system is set up and ready for multimedia audio/video/etc. content creation. It still quite Debian underneath, but there is a lot to be said for having a multimedia workstation ready to go, out of the box, on the other end of the spectrum ..
- Dowwie 9y agoYeah, it's nice to experience a low-friction setup that does great many things. I used Ubuntu for a little while but kept breaking it. I'm a bull in an operating system china shop.
- russianhun 9y agoSry folk, some oversensitive kid took it on themselves to correct what they didn't agree with, and DDoS-ed the site for about an hour or so. Should be back online now...