1
RTFM is Sage (lemmy.dbzer0.com)
 
 
2
submitted 21 hours ago by to c/linuxmemes@lemmy.world
 
 
3
 
 

Way back in like 2006 when I was in middle school, a friend of mine pulled me aside to tell me there's more than just Windows and Mac. His parents worked IT and they showed him a lot of stuff and he showed it to me. I installed Slackware on a laptop with him. I basically just did as he said.

In high school, I looked more into it and tried installing some other distros but landed on DSL as the laptop my parents got me was a piece of shit and it worked good enough. I moved onto Ubuntu later because DSL can only do so much and really struggled with it lol.

And then as the years went by and Ubuntu started to suck I moved onto a variety of other distros like Arch(which took me 2 days to install and I fucked it up), Void(which also took me 2 days to install), Mint, and when it finally came out I tried things like SteamOS, Bazzite, and Nobara.

This all as I was dualbooting with Windows. I never took any classes, I never read any books on it, I just figured it out by doing it, breaking my OS a bunch of times, chatting with friends and randos on forums and Reddit, and the man command, thank GOD for that. All that and I just come back to Mint which I adore for its ease of use.

So all my knowledge is muscle memory. What the actual fuck does a package manager do? Like I know generally, but there's more to them than just downloading shit? What is the difference between Systemd and OpenRC? WHAT THE FUCK IS HYPRLAND OR WAYLAND!? I DON'T UNDERSTAND! 20 YEARS AND I LEARNED FUCKING NOTHING!

shoutouts to tux

4
 
 

Credit to @ryanc@infosec.exchange

I just did the graphic

5
 
 
6
 
 

7
quick (thelemmy.club)
 
 
8
 
 
9
 
 

I don't know the creator or Omarchy and I don't know anything about politics going around with it. I saw a distro got that much funding and I had an idea of this meme. Thats it.

10
submitted 1 week ago* (last edited 1 week ago) by to c/linuxmemes@lemmy.world
 
 

I (struggle to) use arch (in disposable VMs, not my actual machine) btw

11
 
 
A screenshot of a Reddit post on r/commandline by u/gumnos with the fun tag. Title: "TIL POSIX specifies a tool desinged to assist you with generated code." Body: "Given all the low-quality LLM-generated projects flooding r/commandline, it's valuable to know that POSIX provides a tool to review and modify code generated by LLMs, so I thought I'd bring this tool to the attention of this subreddit's members. In typical Unix fashion, the POSIX folks shortened ""review & modifying" to just two letters: `$rm code.rs` It even has command-line options to recursibly fix whole project-directories of LLM-generated code: `rm -rf project/` Handle it wisely, and I hope to see more use of it around here!"
12
 
 

I feel like an idiot realizing block devices are just... block devices.
They just hold data.
Shocker, I know.
But it just hit me when playing around with LVM. I can create a PV directly on a disk. I can even directly format a disk with FS. Floppies don't tend to have a partition table either. On the other hand, I can partition a partition. I can also just write a Tar directly to disk, like with tape. Or any file.

But with multiple files it starts to become a problem. A-ha! I can just write files to partitions just the same to make reading them simpler.
In this case:

Device      Start    End  Size Name
/dev/sda1    2048  70704 33.5M Limahl - Never Ending Story
/dev/sda2   71680 127492 27.3M Alphaville - Big in Japan
/dev/sda3  129024 201967 35.6M Alphaville - Sounds Like a Melody
/dev/sda4  202752 259447 27.7M Bronski Beat - Junk
/dev/sda5  260096 324229 31.3M Chris De Burgh - High On Emotion
/dev/sda6  325632 386300 29.6M Jermaine Jackson - When the Rain Beg
/dev/sda7  387072 437492 24.6M Kylie Minogue - The Loco-Motion
/dev/sda8  438272 493179 26.8M Mauro - Buona Sera Ciao Ciao
/dev/sda9  493568 545532 25.4M Olivia Newton-John - Xanadu
/dev/sda10 546816 613761 32.7M Radiorama - Yeti

I don't know if it's the limitation of GPT, but fdisk let's me theoretically get up to 2^32^ partitions (default is 2^7^). In practice, this will be lower.
For example:

Expert command (m for help): l
New maximum entries (1-4294967295, default 134217728): 268435456
Not enough space for new partition table!

Expert command (m for help): p

Disk /dev/sda: 57.3 GiB, 61524148224 bytes, 120164352 sectors

Right now I just did it manually. Check file size, divide by sector size, add one if remainder, make partition of that number of sectors, name partition, write partition table, copy file with dd and repeat.

But I should try to automate this. It could be a bash script, but I want to learn C beyond basics, so I guess I should try writing it in that.
Take destination drive and files as arguments, then do what I wrote above. And try not to nuke the wrong disk in the process.
On the other hand, I am so lazy I can't typically even start with my hobbies. Which sucks because I want to, I just can't... start.

Anyway, hundreds of files and partitions can't be processed by hand any easier.

13
 
 

spoilerHopefully it's funny enough to offset that I'm reposting my own post.

A mastodon post from @rustynova.mastodon.social, saying: Due to multiple complaints about "Not following the Unix philosophy", the `alistral sex` command will be removed in the next version.   You will be able to keep it working by keeping the v0.6.9's executable and setting a custom cache database location to prevent conflict with the database version.   Sorry for the inconvenience. Stay tuned for a standalone version under the `alistsex` name.
14
 
 
15
 
 

have you ever successfully broken the zfs to the point where it's not recoverable?

a screenshot of an email message with output of zpool scrub command, showing data corruption and 'restore the entire pool from backup' as one of the suggested solutions
16
Beautiful. (thelemmy.club)
submitted 1 week ago* (last edited 1 week ago) by to c/linuxmemes@lemmy.world
 
 

17
 
 
18
 
 

Switched from English to German. German UI design is very direct...

19
My Friend Lunic (thelemmy.club)
submitted 2 weeks ago by to c/linuxmemes@lemmy.world
 
 
20
 
 

Context is this issue at neovim [dot] github [dot] io: https://github.com/neovim/neovim.github.io/issues/501

The neovim website has an impressions section, under which there's an impression by DHH:

"Full-screen Neovim looks cool as hell!” — DHH

Multiple people want that quote removed.

For those who don't know, DHH (creator of the Omarchy Linux distro) is seen as a problematic individual by many in the Linux & OSS community:

21
Rule (thelemmy.club)
submitted 2 weeks ago by to c/linuxmemes@lemmy.world
 
 
22
submitted 2 weeks ago by to c/linuxmemes@lemmy.world
 
 
A fake news layout. At the top, a photo of the entrance to the Walt Disney Co. headquarters, next to a picture of a computer running Hannah Montana Linux. The headline reads: "Disney Announces $8 Million Donation to Hannah Montana Linux."
23
Being Helpful (thelemmy.club)
submitted 2 weeks ago by to c/linuxmemes@lemmy.world
 
 

@madthumbs@lemmy.world posting banger memes over in !linuxsucks@lemmy.world again.

24
.files (thelemmy.club)
submitted 2 weeks ago by to c/linuxmemes@lemmy.world
 
 
25
view more: next ›