There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@blashork@hexbear.net cover
@blashork@hexbear.net avatar

blashork

@[email protected]

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

blashork ,
@blashork@hexbear.net avatar

Lot of people mentioning kde connect. I’m going to take a moment to clarify, kde connevts functionality is modular. you need the sshfs package for it to mount the phones filesystem over ssh. Once you’ve done that, it works pretty normally.

A Bash script to rip music off CUE/BIN files (lemmy.ml)

I thought I’d take the opportunity to share a Bash script I made to automate ripping music off CUE/BIN files. It splits BINs into separate files, so it’s 1 file per track, and strips pregap data, encodes audio tracks to FLAC or Ogg Vorbis, and it also generates new CUE sheets....

What do YouTube tech reviewers do with all the tech?

As asked in the title. Anyone have insider information? Speculations are welcomed. It just seems such an e-waste, but at the same time some reviewing more well known techs are helpful. But those whose goal is to make their video entertaining rather than informative like going on a tech shopping spree on Amazon or Aliexpress to...

blashork ,
@blashork@hexbear.net avatar

This is speculation:

I think a lot of it is temporarily leased or loaned. i was watching a retrobytws video recently, cant remember the exact name. but it was about this console that was ‘designed for girls’ (read what old men in suits think teenage girls want). He said a lot of.yputubers have made videos on it, but console is actually pretty rare. One or two people own pne amd loan it out to others for their videos.

Also auctioning. I gotta imagine some of it can be flipped.

Maybe donated to a museum.

That’s just me speculatong tho.

blashork ,
@blashork@hexbear.net avatar

Hmmm, that’s a lot to go over in there. I have family sharing setup with, let’s say, my found family. There are a lot of improvements listed, but also many things I’m worried about.

The one year period of waiting after leaving one seems excessive. I hope they have good separation of the logical family and the physical pc’s, It’s really annoying to resetup stuff with my partner every time one of us installs a different linux distro.

I understand why they’re doing the ban sharing, but it’s still funny.

blashork ,
@blashork@hexbear.net avatar

lmao what are they going to do? press a bunch of poor africans into service for them and then leave them all dead in a ditch again?

france-cool

French officials also clarified that any potential forces sent would likely support operations such as de-mining rather than direct combat with Russian forces.

lol, lmao

blashork ,
@blashork@hexbear.net avatar

I gotta imagine that each planet in a sci fi setting would have its oen airforce, where as the compasion of space to a vast ocean makes sense for the organization tasked with patroling it.

How can i rsync over my network without using ssh?

I have 6 devices that i rsync to a central location to back them up. Ive been using ssh as the -e option. Problem is i use public key with passphrases, meaning to backup all six i need to go to each device and run the backup script. Since i typically backup /etc, /home, and /root this means entering sudo and the ssh passphrase...

blashork ,
@blashork@hexbear.net avatar

tbh why not jsut set them up with an ssh key that doesn’t have an associated passphrase? Besides that, if you don’t care about encrypting like you say, then you could replace all calls to ssh with telnet.

At least that’s my immediate thoughts.

NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness (pavluk.org)

My biggest blog post yet, and it’s about running (almost) vanilla NixOS on a (formerly) Android phone! This was 50% fun and 50% exhausting… you solve one issue and another one crops up right away… it was certainly an interesting educational experience....

blashork ,
@blashork@hexbear.net avatar

Jesus fucking christ this is a hell of a project, Ill finish reading when I get home today.

Hats off to you for pulling it off. Why is it that every time I read something by a NixOS person I get the inpressiom that they are very smart but are completely mad.

blashork ,
@blashork@hexbear.net avatar

guaido juan guaido has declared himself the interim president of Florida International U

blashork ,
@blashork@hexbear.net avatar

Finally, I’ve been waiting forever for this. btrfs is a mess and zfs in oracle jail forever. Finally we cna have good COW on linux without stupid hoops.

blashork , (edited )
@blashork@hexbear.net avatar

bcache is inherently designed to be an ssd cache that sits in front of slower bigger disks. Bcachefs is an extension of this into it’s own filesystem. iirc the words of the bcache creator were: ‘we’ve implemented 80% of a filesystem here, might as well go the rest of the way’. So how much it thrashes a disk is based on what position you give it in the architecture. The caching ssds are going to be used heavily, taking advantage of their fast random access to manage all random accesses, while sequential operations generally go to the slower disk that’s set as the background device. The background disks will tend to be accessed less.

So yeah, it’s based on what kind of disk and position in the bcache, and what caching options you enable. If you want to look into it further, bcache is fs agnostic, so if you can find some tests that have been done for bcache enabled for classic linux filesystems, like ext4 and xfs, that include hardware degradation info, you’ll probably end up with similar usage and hardware wear with the actual bcachefs.

blashork ,
@blashork@hexbear.net avatar

there’s a group called johncena141 who do linux specific repacks. They put the windows game in a dwarfs read only compressed archive, and then have an editable layer on top of it where saves and changes get written. The windows games are put into a wine wrapper and then you can run them while they’re still compressed. It’s pretty cool, but can be a bit finicky. Getting dwarfs installed can be a pain depending on your system. I find their stuff can be very hit or miss, but I like that they exist.

Besides that, ymmv with all the other repacks. Sometimes fitgirl works fine for me, sometimes it fucks up completely. Same goes for dodi. though I’ve found dodi to be a bit more reliable on wine than fitgirl.

That’s my two cents on stuff.

What are some commonly known facts that are too bizarre for you to believe to be true?

For me it is the fact that our blood contains iron. I earlier used to believe the word stood for some ‘organic element’ since I couldn’t accept we had metal flowing through our supposed carbon-based bodies, till I realized that is where the taste and smell of blood comes from.

blashork ,
@blashork@hexbear.net avatar

you sound like someone gave chatgpt a prompt about shoving the word innovation into a meaningless set of sentences as many times as possible.

blashork ,
@blashork@hexbear.net avatar

You know what, I’ll bite. I want to see this, genuinely. Please link me the study of innovation you’re referencing.

blashork ,
@blashork@hexbear.net avatar

I also agree sed and some regex is your best bet

I recommend formatting the regex with regex101.com, I’m down to help you if you post some examples

Additionally there is a cli tool, I think jq or something like that, for processing json on the command line

I have foundry too, let me see if I can find the files that need to be updated

blashork , (edited )
@blashork@hexbear.net avatar

I have made a python script and ran it on a clone of your git repo to confirm it works, simply run it at the root directory of wherever the files are, it will walk through and find module.json and do the replace.


<span style="color:#323232;">#!/usr/bin/env python3
</span><span style="color:#323232;">
</span><span style="color:#323232;">import re
</span><span style="color:#323232;">import os
</span><span style="color:#323232;">
</span><span style="color:#323232;">import fileinput
</span><span style="color:#323232;">
</span><span style="color:#323232;">pattern = re.compile(r'(?P.+)"compatibility":{"minimum":"(?P\d+)","verified":"(?P\d+)"},(?P.+)')
</span><span style="color:#323232;">
</span><span style="color:#323232;">def make11(match):
</span><span style="color:#323232;">    if match.groupdict().get('min', None) and match.groupdict().get('ver', None):
</span><span style="color:#323232;">        return f"{match.groupdict()['pre']}"compatibility":{{"minimum":"11","verified":"11"}},{match.groupdict()['post']}"
</span><span style="color:#323232;">
</span><span style="color:#323232;">for root, dirs, files in os.walk("."):
</span><span style="color:#323232;">    for file in files:
</span><span style="color:#323232;">        if file == "module.json":
</span><span style="color:#323232;">            for line in fileinput.input(f"{root}/{file}", inplace=True):
</span><span style="color:#323232;">                print(re.sub(pattern, make11, line))
</span>

edit: lemmy is fucking with the formatting and removing the fucking regex group names, which will bork it. I’ve tried fixing it, dm me if you want me to send a downloadable link to the script

blashork ,
@blashork@hexbear.net avatar

Take this with a grain of salt, cause I did a rig upgrade not too long ago, and was accidentally shipped far more drives than I ordered, so my storage space is silly.

Instead of replacing the drive in your machine, maybe try getting a nas or something. You can store a lot of your files there and keep the drive in your rig for things that need to be fast, like games. Also, I usually base my storage increase purposes based on how much room I need for backups. If there isn’t enough room for me to do a full compressed backup, it’s time to add more. Besides that, I replace the drive with most of the other parts in one large upgrade.

blashork ,
@blashork@hexbear.net avatar

Bitcoin is for buying drugs, and there are better cryptos for it anyways. You shoulda drained that sucker and got so much research chemicals and fenty that any cop approaching you explodes into confetti.

Where is zsh supposed to be?

Hi all I have a quick question. Is it better for my zsh shell to be in /usr/bin/zsh or /bin/zsh. I remember reading that one of them would mess up the whole system since zsh is not posix compliant. I believe that szh shouldn’t be set as the root shell. I now have it in /usr/bin/zsh, is that good? So now when I drop into a root...

blashork ,
@blashork@hexbear.net avatar

tbh I always go with env variables, usually $SHELL or $zsh are set

blashork ,
@blashork@hexbear.net avatar

I’m glad it’ working well for you, but I don’t think it’ true to say that btrfs gets beyond its fair share of flak. It gets the exactly correct amount of flak for what it is. Every place I have worked at that wanted to deploy a COW fs on like, a NAS or server, has always gone with zfs. btrfs is such a mess it never even enters the conversation. Even if it can have its bugs ironed out, the bcache dev was right in pointing out that its on disk formats are poorly designed for their job, and cannot be revised except in a new version of the entire fs. I hope bcachefs gets merged into the kernel next year, that’s a filesystem I would actually trust with my data.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines