[-] GnuLinuxDude@lemmy.ml 1 points 2 days ago

Sorry but I find this claim irreconcilable with how SLES and Fedora default to btrfs with their installations, or how a company like Meta uses it across their entire fleet.

I don’t know if Meta uses the raid feature directly or if they use, as you suggested, mdraid with btrfs on top. I know that that’s what Synology does.

[-] GnuLinuxDude@lemmy.ml 1 points 3 days ago

I’m not sure what you are suggesting as the alternative. Nor do I know what silent btrfs corruption bug you are referring to, either. Btrfs has been widely deployed in enterprise and personal environments for years, and I cannot find evidence of data loss due to the file system itself.

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

Interesting. Looks like I have some reading to do.

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

Damn. And I thought 3 disks was risky...

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

three disks to get 6tb/2=3tb of available space

Exactly! A happy outcome when using this FS.

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

My concern with ZFS is I use Fedora, so the kernel updates really frequently. I know that it kicks ass, but I just like having it straightforward in my kernel that I already have installed so that I never have to deal with a

If kernel module can not be loaded, your kernel version might be not yet supported by OpenZFS. An option is to an LTS kernel from COPR, provided by a third-party. Use it at your own risk:

situation. (https://openzfs.github.io/openzfs-docs/Getting%20Started/Fedora/index.html)

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

I was unfamiliar with single mode. What advantage does it give me over RAID0 in terms of combining their capacities?

[-] GnuLinuxDude@lemmy.ml 1 points 4 days ago

That's a good point about scrubbing on RAID5. I don't think I really want to spend time on that ever. RAID1 at least sounds less complex both in terms of setup and down-the-line maintenance.

[-] GnuLinuxDude@lemmy.ml 2 points 4 days ago

with three drives, raid1 doesn’t make sense

It's perfectly usable with a btrfs setup. If one drive fails, you can mount in a degraded state.

20
submitted 4 days ago by GnuLinuxDude@lemmy.ml to c/linux@lemmy.ml

I'm installing 3x2TB HDDs into my desktop pc. The drives are like-new.

Basically they will replace an ancient 2tb drive that is failing. The primary purpose will basically be data storage, media, torrents, and some games installed. Losing the drives to failure would not be catastrophic, just annoying.

So now I'm faced with how to set up these drives. I think I'd like to do a RAID to present the drives as one big volume. Here are my thoughts, and hopefully someone can help me make the right choice:

  • RAID0: Would have been fine with the risk with 2 drives, but 3 drives seems like it's tempting fate. But it might be fine, anyhow.
  • RAID1: Lose half the capacity, but pretty braindead setup. Left wondering why pick this over RAID10?
  • RAID10: Lose half the capacity... left wondering why pick this over RAID1?
  • RAID5: Write hole problem in event of sudden shutoff, but I'm not running a data center that needs high reliability. I should probably buy a UPS to mitigate power outages, anyway. Would the parity calculation and all that stuff make this option slow?

I've also rejected considering things like ZFS or mdadm, because I don't want to complicate my setup. Straight btrfs is straightforward.

I found this page where the person basically analyzed the performance of different RAID levels, but not with BTRFS. https://larryjordan.com/articles/real-world-speed-tests-for-different-hdd-raid-levels/ (PDF link with harder numbers in the post). So I'm not even sure if his analysis is at all helpful to me.

If anyone has thoughts on what RAID level is appropriate given my use-case, I'd love to hear it! Particularly if anyone knows about RAID1 vs RAID10 on btrfs.

17
submitted 2 months ago by GnuLinuxDude@lemmy.ml to c/asklemmy@lemmy.ml

In some e-waste bin I found an entry level M1 MacBook Pro. The display didn’t work (visible crack lines on the panel and the screen lights up but only shows black), but everything else about the computer is totally fine, I determined after testing.

I managed to factory reset the thing and now I have an extra computer on my hands. And a good one, at that, because I think even an entry level M1 is still a good computer.

I already have a laptop, desktop, and an old server. So I feel like all my needs are met. But are there creative uses with an extra Mac?

38
submitted 6 months ago by GnuLinuxDude@lemmy.ml to c/asklemmy@lemmy.ml

I have, within the context of my job, things to do that will take various lengths of time and are of various priorities. If I get blocked on one it'd be useful to know what to switch to, and on.

I have, within the context of my personal life, things that I want to do that will take undetermined amounts of time and are of various priorities.

It'd also be nice to have a record to go back and reflect on when I did what. And it'd be nice to plan a little ahead so that I can decide what I hope to do next.

So... how do you do it? I am so bad at time management. Is there a useful software I can use (if so, is it foss)? Is there a way to keep consistent with my planner so that I don't fall behind on managing my time management, without falling into the trap of spending much effort on creating a time management system that all my time is spent managing my time.

Send help :(

205
submitted 9 months ago by GnuLinuxDude@lemmy.ml to c/linux@lemmy.ml

I was walking home yesterday and I just happened to come across an HP LaserJet p2035n sitting by the dumpster, waiting to be taken away. I've never owned a printer, but this thing looked like it came from an era when such devices were made to be reliable instead of forcing DRM-locked cartridges, so I picked it up and took it with me. After getting situated I started some online research and I figure this brand of printers was manufactured from about 2008-2012, and my printer has a 2012 date.

As it turns out, this tossed printer works perfectly fine. I plugged it into power and ran a test sheet, and it prints almost perfectly. I plugged it via USB-B into my PC running Fedora 41 and immediately it gets picked up and added as usable printer. I then plugged the printer into its Ethernet port and fortunately this thing is new enough to have Bonjour (i.e. mdns) services so once again my PC just immediately finds it and can print. Awesome!

My laptop is a MacBook. While it did detect the printer over the network, it couldn't add the printer because it couldn't find a driver to operate it. I honestly don't understand why that's a problem since I assume macOS also uses CUPS just like Linux. But at any rate, I found the solution:

With CUPS on Linux I can share the printer. After configuring firewall-cmd to allow the ipp service now my iPhone and my MacBook can also print to the shared printer using the generic PostScript driver. So, in conclusion, Linux helped me 1) use this printer with no additional effort of installing drivers, 2) share this printer to devices which were not plug-and-play ready, and 3) print pics of Goku and Vegeta. As always, I love Linux.

11
submitted 11 months ago by GnuLinuxDude@lemmy.ml to c/firefox@lemmy.ml

I disable animations either through Gnome's accessibility setting or KDE's slider to instant. I find that Gnome's animations are just too slow by default and KDE's tend to be janky. So while I want my window manager to have instant animations, I don't need my applications to do so.

Is it possible to disable the animations from the DE's settings but to keep them like normal in Firefox? Example: when I press ctrl+t it's OK if the new tab has an animation when it's created in the browser's UI.

27
submitted 11 months ago by GnuLinuxDude@lemmy.ml to c/usa@lemmy.ml

https://archive.is/H38tt

Mr. Wright has argued that there is a moral case for fossil fuels, saying they are crucial for alleviating global poverty and that moving too quickly to cut emissions risks driving up energy prices around the world. He has denounced efforts by countries to stop adding greenhouse gas to the atmosphere by 2050, calling that a “sinister goal.”

"Has there ever been an organization in human history that is dedicated, with such commitment, to the destruction of organised human life on Earth?" -- Noam Chomsky, 2017

74

I would love a program where I can browse the world and see countries, cities, oceans, all fully labeled (preferably in English which I speak, but a dual English+local native script would also be good). It would be all the nicer if there were stats and facts and some representative photos and stuff to learn a little about different places, without needing to dive into a full Wikipedia article.

Basically, what I'm hoping for is like a modern MS Encarta Atlas, but offline and good.

As for web options, Google Maps, unfortunately, works really well. But I despise Google. OpenStreetMaps doesn't have all that extra data, it is just a map. What are the options available, if any?

45
submitted 1 year ago by GnuLinuxDude@lemmy.ml to c/selfhost@lemmy.ml

When I first set up my web server I don't think Caddy was really a sensible choice. It was still immature (The big "version 2" rewrite was in beta). But it's about five years from when that happened, so I decided to give Caddy a try.

Wow! My config shrank to about 25% from what it was with Nginx. It's also a lot less stuff to deal with, especially from a personal hosting perspective. As much as I like self-hosting, I'm not like "into" configuring web servers. Caddy made this very easy.

I thought the automatic HTTPS feature was overrated until I used it. The fact is it works effortlessly. I do not need to add paths to certificate files in my config anymore. That's great. But what's even better is I do not need to bother with my server notes to once again figure out how to correctly use Certbot when I want to create new certs for subdomains, since Caddy will do it automatically.

I've been annoyed with my Nginx config for a while, and kept wishing to find the motivation to streamline it. It started simple, but as I added things to it over the years the complexity in the config file blossomed. But the thing that tipped me over to trying Caddy was seeing the difference between the Nginx and Caddy configurations necessary for Jellyfin. Seriously. Look at what's necessary for Nginx.

https://jellyfin.org/docs/general/networking/nginx/#https-config-example

In Caddy that became

jellyfin.example.com {
  reverse_proxy internal.jellyfin.host:8096
}

I thought no way this would work. But it did. First try. So, consider this a field report from a happy Caddy convert, and if you're not using it yet for self-hosting maybe it can simplify things for you, too. It made me happy enough to write about it.

132
submitted 2 years ago by GnuLinuxDude@lemmy.ml to c/linux@lemmy.ml

For many, many years now when I want to browse a man page about something I'll type man X into my terminal, substituting X for whatever it is I wish to learn about. Depending on the manual, it's short and therefore easy to find what I want, or I am deep in the woods because I'm trying to find a specific flag that appears many times in a very long document. Woe is me if the flag switch is a bare letter, like x.

And let's say it is x. Now I am searching with /x followed by n n n n n n n n N n n n n n. Obviously I'm not finding the information I want, the search is literal (not fuzzy, nor "whole word"), and even if I find something the manual pager might overshoot me because finding text will move the found line to the top of the terminal, and maybe the information I really want comes one or two lines above.

So... there HAS to be a better way, right? There has to be a modern, fast, easily greppable version to go through a man page. Does it exist?

P.S. I am not talking about summaries like tldr because I typically don't need summaries but actual technical descriptions.

1
submitted 2 years ago by GnuLinuxDude@lemmy.ml to c/av1@lemmy.ml

[2.1.0] - 2024-05-17

API updates

  • One config parameter added within the padding size. Config param structure size remains unchanged
  • Presets 6 and 12 are now pointing to presets 7 and 13 respectively due to the lack of spacing between the presets
  • Further preset shuffling is being discussed in #2152

Encoder

  • Added variance boost support to improve visual quality for the tune vq mode
  • Improve the tradeoffs for the random access mode across presets:
  • Speedup of 12-40% presets M0, M3, M5 and M6 while maintaining similar quality levels
  • Improved the compression efficiency of presets M11-M13 by 1-2% (!2213)
  • Added ARM optimizations for functions with c_only equivalent

Cleanup Build and bug fixes and documentation

  • Use nasm as a default assembler and yasm as a fallback
  • Fix performance regression for systems with multiple processor groups
  • Enable building SvtAv1ApiTests and SvtAv1E2ETests for arm
  • Added variance boost documentation
  • Added a mailmap file to map duplicate git generated emails to the appropriate author
1
submitted 2 years ago* (last edited 2 years ago) by GnuLinuxDude@lemmy.ml to c/av1@lemmy.ml

[2.0.0] - 2024-03-13

Major API updates

  • Changed the API signaling the End Of Stream (EOS) with the last frame vs with an empty frame
  • OPT_LD_LATENCY2 making the change above is kept in the code to help devs with integration
  • The support of this API change has been merged to ffmpeg with a 2.0 version check
  • Removed the 3-pass VBR mode which changed the calling mechanism of multi-pass VBR
  • Moved to a new versioning scheme where the project major version will be updated every time API/ABI is changed

Encoder

  • Improve the tradeoffs for the random access mode across presets:
  • Speedup presets MR by ~100% and improved quality along with tradeoff improvements across the higher quality presets (!2179,#2158)
  • Improved the compression efficiency of presets M9-M13 by 1-4% (!2179)
  • Simplified VBR multi-pass to use 2 passes to allow integration with ffmpeg
  • Continued adding ARM optimizations for functions with c_only equivalent
  • Replaced the 3-pass VBR with a 2-pass VBR to ease the multi-pass integration with ffmpeg
  • Memory savings of 20-35% for LP 8 mode in preset M6 and below and 1-5% in other modes / presets

Cleanup and bug fixes and documentation

  • Various cleanups and functional bug fixes
  • Update the documentation to reflect the rate control changes
162
submitted 2 years ago by GnuLinuxDude@lemmy.ml to c/worldnews@lemmy.ml

"I tend to spread positive energy," Hassouna says. "But when the war started, there was no positive energy."

His darkest hour came on Feb. 12.

The Israeli military unleashed heavy bombings to provide cover for commandos during a successful hostage rescue mission. At least 74 Palestinians were killed in that bombing campaign, according to Gaza health officials.

Hassouna's mother, father, brother, sister-in-law and young nieces and nephew were among them. They were killed as they slept in the home where they were sheltering. It was the one night Hassouna happened to sleep over at a friend's house.

"Now I am by myself," he says. "Why should I live my life without a family?"

[-] GnuLinuxDude@lemmy.ml 192 points 2 years ago

As an aside remark, it's really funny how everyone has to elaborate what the fuck they're talking about when they talk about Twitter.

In a post on X (formerly Twitter) Ubuntu explains the situation

could have just been written as

In a tweet, Ubuntu explains the situation

but the epic genius elon decided to destroy all brand recognition. Truly incredible thing to witness. Twitter literally got its own branded terms into common lexicon and he just set it all on fire.

[-] GnuLinuxDude@lemmy.ml 370 points 2 years ago

Private health insurance is the biggest fucking scam ever. The private insurance companies benefit by getting the aggregate healthiest population into their plans (working adults). The most likely to be expensive people, i.e. old people (on medicare) or poor people (on medicaid, or not even on an insurance plan) are on government, tax payer insurance plans. There is literally no reason except for corporate profiteering that Medicare should not be expanded to cover all people.

Also all those conversations, especially in the 2020 election period, were totally bullshit. You say something like M4A will cost 44 trillion dollars or whatever, which sounds like an insane amount of money. What is often left out of the discussion is that estimated cost was 1) over 10 years and 2) has to be weighed against the current costs we already pay for insurance. So the deal was very simple: the overall costs would go down because the overall spending would be less, and at the same time millions of people without coverage would be covered, and at the same time you don't have to contemplate stupid bullshit like in network, out of network providers. Or ever again talk to your insurance about why something is or isn't covered. Boils my blood when I think too much about this.

Not even gonna weigh in on things like how medicare can't negotiate prescription drug prices (https://www.nytimes.com/2023/07/23/us/politics/medicare-drug-price-negotiations-lawsuits.html), or how dental, vision, and hearing are treated separately from general healthcare, or how med school is prohibitively expensive, or how the residents after med school are overworked because the guy who institutionalize that practice was literally a cokehead. Those are all just bonus topics. The point is we are getting fleeced.

view more: next ›

GnuLinuxDude

joined 2 years ago