linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

chemicalwonka, in What happens when Linus dies/retires?
@chemicalwonka@discuss.tchncs.de avatar

Clone him

b3nsn0w,
@b3nsn0w@pricefield.org avatar

you mean fork him under a new maintainer?

sirico,
@sirico@feddit.uk avatar

Git clone

Cwilliams, in Yes, Ubuntu Is Withholding Security Patches for Some Software

Even if Ubuntu does start doing slightly sketchy things, they’ll still be a million times better than Windows or MacOS

drwho,

And how many respins of Ubuntu are out there that just have their own repos? Quite a few, as I recall.

ares35,
@ares35@kbin.social avatar

canonical has already crossed that 'slightly sketchy' line.

pete_the_cat, in Why btrfs gets huge perf hit with background IO work?

It probably has to do with the CoW nature of BTRFS compared to the others which don’t do CoW.

sarahnya,

Bcachefs does use CoW iirc~

backhdlp,
@backhdlp@lemmy.blahaj.zone avatar

It does, it says so in the first sentence of the Wikipedia article

pete_the_cat,

Ah, BCacheFS is also a lot less of a clusterfuck then BTRFS is too

nixcamic, in One single partition for Linux versus using a partition table?

Why would you put home on ext4 instead of btrfs?

mambabasa,
@mambabasa@slrpnk.net avatar

I didn’t need home folder snapshots.

nixcamic,

Btrfs offers a lot more than just snapshots.

mambabasa,
@mambabasa@slrpnk.net avatar

Like what?

nixcamic,

Data integrity protection, higher resiliency, less chance of being corrupted, etc.

mambabasa,
@mambabasa@slrpnk.net avatar

But I heard ext4 was more stable. What are the trade offs?

TCB13, in on arch btw.
@TCB13@lemmy.world avatar
PoisonedPrisonPanda,

This is the way.

Choo choo mtherfcker

TCB13,
@TCB13@lemmy.world avatar

Absolutely obliterated.

AngryCommieKender,

And that’s how you create an Arch Unstable user

brax,

Choo choo UBUNTU

TCB13,
@TCB13@lemmy.world avatar

Choo choo proprietary stuff and holding security unless you subscribe to services. :P

fl42v,
TCB13,
@TCB13@lemmy.world avatar

Choo choo debian+flatpak. Rock solid OS with the latest software. :)

fl42v,

Wheeeew nixos + ???. More or less unbreakable is with both latest and stable packages that you can easily mix and match (:

meekah,
@meekah@lemmy.world avatar
fl42v,

Damn, English is weird 🤣

meekah,
@meekah@lemmy.world avatar

It sure is :D

TCB13,
@TCB13@lemmy.world avatar
vivia, in How Ubuntu Linux snuck into high-end Dell laptops (and why it's called 'Project Sputnik')

Earlier this year I was given one of those XPS machines with Ubuntu and decided to install Debian on it. The camera driver was so bad - I can’t remember technical details but you can’t simply get it to run on another kernel, it was a mess of hacks to get it to work. I decided I won’t get a camera driver. “We ship a laptop with Ubuntu” does not necessarily mean working Linux drivers.

EDIT: To add insult to injury, the touch bar suddenly decided to stop responding to input. It’s already bad enough to not have tactile feedback for Esc / Fn keys / Delete / Print Screen.

xcjs,
@xcjs@programming.dev avatar

I bought a used 2018 model over a new current model because of the lack of physical function keys.

Also, Dell, bring back Fn + Left for Home and Fn + Right for End!

Who looked at a great keyboard layout and decided, “I know! I’ll make this Developer Edition hardware more difficult to develop on!”

Pantherina,

Crazy! So it was only the ubuntu kernel, with some akmods or PPA?

vivia,

You needed: kernel driver, closed source userspace driver, GStreamer plugin, v4l2 loopback driver, v4l2 relay daemon copying frames from the GStreamer source into v4l2 loopback. Technically I could have made it work, I just decided not to.

launchpad.net/~oem-solutions-group/…/intel-ipu6github.com/intel/ipu6-camera-bins

Pantherina,

Damn Dell. What the fuck XD

Madison420, in What happens when Linus dies/retires?

We mummify him and put him on display like Stalin… Err no wait… liberache.

chemicalwonka, (edited )
@chemicalwonka@discuss.tchncs.de avatar

Lenin is mummified and inside a glass chamber.

Madison420, (edited )

Yeah I know, I knew it as soon as I hit send but I dunno, once there’s an edit people get like weird about it.

Ed: although class chamber is accidentally perfect lol.

rob64,

I was thinking a nice golden throne. More appropriate for a god-emperor.

apt_install_coffee, in Calling all Linux enthusiasts! Help us create a comprehensive guide to Linux firewalls and security!

I build Linux routers for my day job. Some advice:

  • your firewall should be an appliance first and foremost; you apply appropriate settings and then other than periodic updates, you should leave it TF alone. If your firewall is on a machine that you regularly modify, you will one day change your firewall settings unknowingly. Put all your other devices behind said firewall appliance. A physical device is best, since correctly forwarding everything to your firewall comes under the “will one day unknowingly modify” category.
  • use open source firewall & routing software such as OpenWRT and PFSense. Any commercial router that keeps up to date and patches security vulnerabilities, you cannot afford.
cole,
@cole@lemdro.id avatar

opinions on Ubiquiti routers?

apt_install_coffee,

I had an EdgeRouter X for years before I started my job. They are solid devices, and I’d definitely put them above most consumer routers.

Because they only charge for the hardware, they will eventually run into the same disincentive to provide consistent timely updates. If you do buy an Ubiquiti or similar enthusiast brand, do still keep an eye out for the CVEs that don’t get patched.

Floey, in One single partition for Linux versus using a partition table?

I just use /

I don’t think having a swap partition or file would be all that useful because I have plenty of memory. I’ve never had to reinstall Linux so I’m not sure why I would need a separate home. If I did bork my OS somehow I’m fairly confident I could repair it from a live distro. And even if I did end up having to save my home I could just copy the files I want to another drive if it really came to that.

flux,

I have 64GB RAM and my 64GB swap still gets filled to 60% over time.

It just happens so that apps end up touching some memory once that they never then use again. Better use some SSD for that instead of RAM.

HamsterRage,

In this case you could view a swap partition as a safety net. Put 20-30GB in a swap partition in case something goes wrong. You won’t miss the disk space.

Jumuta,

why not zram as a safety net?

Patch,

I’ve never understood why people run without swap. There’s basically no downside to having it. If you’re running a high spec, high RAM machine you probably also have a big SSD/HDD and are very unlikely to be squeezing it to the last GB (and if you are you should probably look into upgrading that). And if you’re on a machine with very limited SSD/HDD capacity, you’re probably not in an “ample RAM” situation anyway.

Even on high RAM systems, a few GB of swap can enable better caching and more graceful memory management. But heck, even if the thing sits there like an 8GB lump of nothing, were you really going to miss that last 8GB?

Floey,

I have 64GB of RAM and 8GB of VRAM, I only have a TB of storage. The only time I’ve ever filled up my RAM is due to memory leak.

morrowind, in This week in KDE: Panel Intellihide and Wayland Presentation Time
@morrowind@lemmy.ml avatar

Their gitlab seems to be down, can’t follow any of the links

ExLisper, in What happens when Linus dies/retires?

A number of candidates will create their own forks and there will be a long Game of Thrones style war between different factions. After couple of weeks each distro will choose the fork they will make the default one and people will split into warring factions. After that we will enter a nuclear winter style period lasting couple of years during which 90% of post on Lemmy will be just shitposting the rival forks. After a decade or two of backstabbing, dirty politics and other drama new dictator will be selected and all will be back to normal.

emr,
@emr@lemmy.sdf.org avatar

So like systemd but ten times more dramatic.

Agent641,

“The Lannisters send their commits”

he stabs him

furycd001, in Overheating laptop, should I try a lighweight distro - which one?
@furycd001@lemmy.ml avatar

The operating system in use shouldn’t be a factor. Consider opening your laptop to perform a thorough cleaning, and also consider replacing the thermal paste as well. If you’re not comfortable doing this yourself, taking it to a repair shop is a viable option. Investing in a cooling stand for the laptop would also be beneficial…

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

I’m alot on the go so don’t think there is a practical enough cooling stand for me, but thanks 🌻

buzziebee,

Replacing the thermal paste is essential. It dries out over time and stops conducting heat effectively. Cleaning the fans and radiator fins is important too. Takes an hour or so if you don’t know what you’re doing so shouldn’t take long. I’ve kept my laptop going for years by doing that every 2 years or so.

furycd001,
@furycd001@lemmy.ml avatar

There are some slim battery operated cooling stands listed on Amazon. Not sure how well they’d work, but they are always an option…

WhyAUsername_1, in How to exclude SSH port from VPN so you can remote access while VPN is up

What are you trying to achieve? I am sorry I don’t understand the end goal

luthis,

Remote access while ProtonVPN is active.

wfh, (edited ) in Overheating laptop, should I try a lighweight distro - which one?

I have almost the same laptop (PS63 8M, without any nVidia dGPU).

One of the issues I had to solve was the touchpad spamming interrupts after waking up from sleep. It would keep one core at 100% indefinitely, keeping CPU frequency (and temps) quite high and burning through the battery.

Here’s the fix: bbs.archlinux.org/viewtopic.php?pid=1865745#p1865…

This behavior seems fixed on modern kernels since I’ve installed Fedora recently and didn’t have to do this workaround, but you can still check if this still applies to you.

You might also check if you can disable the dGPU in the BIOS (can’t check since I don’t have one), and/or play with power profiles either through Gnome or tlp (lower power profiles will make your laptop very sluggish though).

Maybe check if both your fans are running. I had to replace one of mine that was starting to fail a year ago.

Other than that, I’ve never had any overheating issues with this laptop.

LunchEnjoyer,
@LunchEnjoyer@lemmy.world avatar

I will definitely check this out, merci 🌼

wfh,

De rien ;)

Pantherina, in What happens when Linus dies/retires?

Nothing. But I would love a microkernel approach like redoxOS. Monolithic kernel is such a bloat?

lauha,

Get on with it then.

sxan,
@sxan@midwest.social avatar

Guy: I wish I had a flying car.

You: Invent one then.

pelotron,
@pelotron@midwest.social avatar

My megabytes D=

luthis,

Can’t you compile your own kernel with exactly the things you want? Would be a fun project to do

Pantherina,

True. Funny idea I should totally do this. This is how you learn Linux. Like a kernel for exactly your hardware specs!

luthis,

I have doubts you would see any performance increases, and if you change your hardware you’ll be in for a tough time but it would be a fun learning experience!

Pantherina,

Thats a question I have. I have two laptops, a shitty amd ryzen thinkpad t495 and a fancy soon-to-be-corebooted Clevo NV41MZ with i7-11** cpu. Pretty crazy performance difference although the chassis and keyboard suck. But if I get the keyboard I want to simply swap drives, as there is nothing fancy, this should just work right?

kogasa, (edited )
@kogasa@programming.dev avatar

Swapping CPU manufacturers entirely? I’d just start my kernel config fresh. Pull up the old one next to a new (default ) one and go down line by line. Odds are there are at most a few flags that would need to be changed, but it’s a good chance to reevaluate your previous decisions too.

Pantherina,

I havent made any specific kernel changes, its just standard Fedora :D

luthis,

Um… I’m going to choose to phone a friend on this one…

Oh, …I have no friends who would know.

My instinct is you’re going to need to journalctl -b and see what modprobe and udev are up to.

Overspark,

This used to be the norm, not a weird thing that noone has thought of before. If you do this your kernel will be a lot smaller, boot faster, and be a bit more secure. Once you’re booted it won’t make any meaningful speed difference though.

kogasa,
@kogasa@programming.dev avatar

It makes a HUGE difference in compile time. Which only matters if you’re building your own kernel anyway. It’s a solution for its own problem.

I think it’s a good learning experience though. There is genuinely a lot of stuff in there that you can easily, safely remove, and reading up on all the less obvious flags is fun.

downhomechunk,
@downhomechunk@midwest.social avatar

Yep. When you have an 800mb HD and 16mb of EDO RAM, you only load what you need. The boot speed was unreal at the time compared to windows.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20975616 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 171

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10502144 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 37