|
Python is a lovely language for writing code fast. it is a poo poo language for reading code, crucially reading someone else’s code. if you don’t get that your teammates’ efficiency at reading and debugging your code is orders of magnitude more important than your efficiency at writing it then you are an amateur, and I do not want to bet my oncall shift on your work
|
# ? Oct 24, 2020 02:27 |
|
|
# ? May 28, 2024 04:45 |
|
i just used terminal to uninstall an app. 2020 is truly the year of Linux on the desktop.
|
# ? Oct 24, 2020 02:32 |
|
Mister Panos posted:i just used terminal to uninstall an app. 2020 is truly the year of Linux on the desktop. Was it faster than if you had used a GUI?
|
# ? Oct 24, 2020 02:39 |
|
Spazmo posted:Python is a lovely language for writing code fast.
|
# ? Oct 24, 2020 02:57 |
|
mystes posted:I feel like that isn't as true once you factor in the time you spend running your code and discovering that it has a bunch of trivial mistakes that would have been easily caught by the type system in any other language. only if you don’t use an ide and don’t at a minimum use type-hinting.
|
# ? Oct 24, 2020 02:58 |
|
DoomTrainPhD posted:only if you don’t use an ide and don’t at a minimum use type-hinting.
|
# ? Oct 24, 2020 02:59 |
|
mystes posted:Once you use type hinting it's just like a normal statically typed language with a worse type system, so you might as well use something else. having actual functions means you can write procedural code without getting hassled in review. this is very nice when you just need a little script to perform a task, and type hinting is still cool and good at that scale. adding hints is far cheaper than trying to remember wtf is going in even for 100 LOC
|
# ? Oct 24, 2020 03:08 |
|
Nomnom Cookie posted:having actual functions means you can write procedural code without getting hassled in review. this is very nice when you just need a little script to perform a task, and type hinting is still cool and good at that scale. adding hints is far cheaper than trying to remember wtf is going in even for 100 LOC mystes fucked around with this message at 04:20 on Oct 24, 2020 |
# ? Oct 24, 2020 04:04 |
|
You can now install Linux through the App Store iSH Download and import the Alpine x86 mini root to get a package manager
|
# ? Oct 24, 2020 05:10 |
|
Perplx posted:You can now install Linux through the App Store iSH
|
# ? Oct 24, 2020 05:13 |
|
Perplx posted:You can now install Linux through the App Store iSH hell yea macs are finally usable
|
# ? Oct 24, 2020 06:44 |
|
Beamed posted:hell yea macs are finally usable not even close
|
# ? Oct 24, 2020 06:46 |
|
way too long since we've had our share of phoronix posting Systemd 247-RC1 Released With Systemd-OOMD, Systemd-Homed Now Defaults To Btrfs
|
# ? Oct 27, 2020 11:08 |
|
Tankakern posted:way too long since we've had our share of phoronix posting
|
# ? Oct 27, 2020 11:31 |
|
where’s systemd-kerneld
|
# ? Oct 27, 2020 11:54 |
|
systemd/linux
|
# ? Oct 27, 2020 13:07 |
|
from two pages ago sorry:spankmeister posted:[alpine] is optimized for size, which makes it slow. If you replace it with for example debian you can expect performance gains, which in large deployments can be significant. what's a distro that's optimized for minimal attack surface / installed poo poo? for containers there's distroless images which do exactly this: https://github.com/GoogleContainerTools/distroless but for a personal headless server, i'm not sure what's the right choice. ideally i guess i'd want a distro with nothing but full-disk encryption, networking, firewall, and ssh? then i would install a virtualization or container host and call it a day as i start deploying actual services on it. (ubuntu core need not apply) should i seriously go for tinycore linux? it's 11mb yet it uses glibc instead of musl, so i guess it might perform better than alpine
|
# ? Oct 27, 2020 13:44 |
|
That "distroless" container thing looks like an extremely convoluted way of circling back to the equivalent of a service launched via a normal systemd unit file with cgroup isolation and ephemeral uid/gid. At that point you can just throw away the entire container thing and build a deb package of the application and wow! it's so much simpler!
|
# ? Oct 27, 2020 13:58 |
|
i guess the idea is that you use that as a base and then install your deps in it and you still get the benefits of the whole-system isolation
|
# ? Oct 27, 2020 14:27 |
|
Antigravitas posted:That "distroless" container thing looks like an extremely convoluted way of circling back to the equivalent of a service launched via a normal systemd unit file with cgroup isolation and ephemeral uid/gid. this is on a similar level of missing the point as the infamous hackernews "what's the point of dropbox? you can just use ftp + curlftps + svn" comment yes, you can build a minimal part of docker yourself from the essential kernel components the reason you use docker is because of the entire frigging ecosystem built around it over a decade, from public/private registries to cli utilities to compose files to storage drivers to monitoring tools to reverse proxies to everything else it's also the reason why improved docker alternatives like podman put in a ton of work to be as close to a drop-in replacement as possible, and why standardization efforts like oci exist in the first place
|
# ? Oct 27, 2020 14:52 |
|
eyh Fedora 33 is out https://lwn.net/Articles/835366/
|
# ? Oct 27, 2020 15:16 |
|
Tankakern posted:eyh Fedora 33 is out quote:To make the default Fedora experience better, we’ve set nano as the default editor. Fedora is bad now
|
# ? Oct 27, 2020 15:21 |
|
I primarily take offence with the practice of bundling 350MB of random garbage into a tarball along with your 500 loc Flask application. And then writing another gigantic pile of code because someone came to the realisation that this is a stupid thing to do, like that's a revelation. It's extremely javascriptian. Btw., podman can't come to Debian 11 fast enough, jfc. spankmeister posted:Fedora is bad now Weird, have they forgotten that ed is the standard editor?
|
# ? Oct 27, 2020 15:28 |
|
Tankakern posted:way too long since we've had our share of phoronix posting sick, linux got jetsam. there's perf engineers at apple making six fat figgies just having meetings about moving daemons between memory priority bands, now linux people can get in on that grift!
|
# ? Oct 27, 2020 16:10 |
|
Antigravitas posted:I primarily take offence with the practice of bundling 350MB of random garbage into a tarball along with your 500 loc Flask application. And then writing another gigantic pile of code because someone came to the realisation that this is a stupid thing to do, like that's a revelation. It's extremely javascriptian. building huge loving docker images is actually awesome and i am so incredibly grateful that i don't have any BUT MAH MEGABYTES types to deal with at work
|
# ? Oct 27, 2020 21:35 |
|
Fedora 33 report: For the first time since Fedora 22, I decided to do a fresh install because supposedly BTRFS is the new hotness. The install went smooth, and about 40 minutes after booting into Fedora my computer hard-froze and refused to boot back into Fedora. Reinstalled F33 with ext4 and it's been stable ever since. BTRFS: Not even once.
|
# ? Oct 27, 2020 21:55 |
|
Antigravitas posted:I primarily take offence with the practice of bundling 350MB of random garbage into a tarball along with your 500 loc Flask application. And then writing another gigantic pile of code because someone came to the realisation that this is a stupid thing to do, like that's a revelation. It's extremely javascriptian. The python poo poo is going to require 350MB of random libs anyway, so I'd much rather have them in a single, easily versioned, easily hash-checked tarball instead of spread all over /usr/bin/butts and /opt/fartz And no, static linking isn't quite the same, just like cgroups aren't quite the same either
|
# ? Oct 27, 2020 22:12 |
|
Nomnom Cookie posted:building huge loving docker images is actually awesome and i am so incredibly grateful that i don't have any BUT MAH MEGABYTES types to deal with at work someone at work built a 20GB docker image that really should have been a VM
|
# ? Oct 27, 2020 22:16 |
|
carry on then posted:someone at work built a 20GB docker image that really should have been a VM we can find a middle ground between "a single binary with no tools" and "the entire backend bundled into a single container, including chef to deploy new app versions"
|
# ? Oct 27, 2020 22:18 |
|
NihilCredo posted:what's a distro that's optimized for minimal attack surface / installed poo poo? My home router runs alpine right now but I regret it as it was a turbo pain in the rear end to get ipv6 working, for some reason I don't remember. I've used tinycore a lot in the past for the same situation. It works great, but the way it's set up is a bit esoteric. I think that was during the hosed up phase where I had all of my machines network boot, and it's awesome if you literally live in a computer.
|
# ? Oct 27, 2020 22:34 |
|
NihilCredo posted:what's a distro that's optimized for minimal attack surface / installed poo poo? Buildroot
|
# ? Oct 27, 2020 22:35 |
|
NihilCredo posted:from two pages ago sorry: I think that's what Qubes is for, but I don't know enough about it to recommend it or not.
|
# ? Oct 27, 2020 22:51 |
|
my current docker image record is 28GB
|
# ? Oct 27, 2020 23:06 |
|
jeez i just meant it's nice having ps and bash and apt on the container. put in a little work to base all your images on a common upstream and you only pay for it once
|
# ? Oct 27, 2020 23:52 |
|
spankmeister posted:I think that's what Qubes is for, but I don't know enough about it to recommend it or not. qubes kicks rear end but it's strictly a distro for desktop use + for people who prioritize security over literally everything else, especially including performance and usability like, i couldn't play a smooth 1080p youtube video on my 6600k with 16GB ram. but boy i was drat sure that battle for wesnoth had no idea what kind of youtube i was watching
|
# ? Oct 28, 2020 00:03 |
|
dougdrums posted:I recently put arch on a personal machine that does goofy gpgpu poo poo I made up, because I forgot the (totally unnecessary) luks password. It replaced ubuntu server, and it took me less time to configure than unfucking all the bullshit ubuntu does by default. The nice part is that now I have a backup installation image for that exact machine, with only the poo poo that's required, in case I gently caress it up again. great post of the kind i was looking for, thanks. there's an arch build for the pi4 so when i cave in and buy an 8gb for more manchild toys i will give it a try two other distros came to mind while i was thinking. balenaos is a very slick distro for managing small (iot, but not necessarily) container hosts, with the big caveat that the slick experience is predicated on using their saas to manage them all. you can self-host instead but it's apparently kind of a pain. and k3os is for the people who dehumanized themselves and faced to da kubez
|
# ? Oct 28, 2020 00:07 |
|
can't believe people are actually advocating non-red hat linux unironically in here
|
# ? Oct 28, 2020 00:17 |
|
that distroless thing looks interesting except for the loving name "serverless" my rear end, i hired a taxi, this is a "Carless" drive
|
# ? Oct 28, 2020 00:27 |
|
spankmeister posted:Fedora is bad now having nano as the default editor sounds like a cheap april fool's joke
|
# ? Oct 28, 2020 00:38 |
|
|
# ? May 28, 2024 04:45 |
|
I wonder if they'll ever get Fedora Silverblue to the point where it becomes the default version of the distribution because it is really good. The stupid Gnome Software application is still an utter trainwreck that hangs forever 80% of the time though and I don't think that will ever change.
|
# ? Oct 28, 2020 00:42 |