mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

743
active users

#techposting

0 posts0 participants0 posts today

Any recommendations for decent used external SAS units? I have literally filled my tower with drives and need moar space. Something used I can get on the cheap is great, something new that isn't awful is also fine. I need to ideally reclaim some space in the unit, for that matter... I can get creative, but in doing so I'll be in "these aren't spots where hard drives were meant to go" territory.

4 to 8 is ideal, I'll never complain about larger.

#SASDrives #RAID #ZFS #NAS #techPosting #techRecommendations

Me: "wow, machine learning frameworks, so great! So efficient! So useful!"
ML frameworks: "yes we are. we are great. top engineering, the best."
M: "So how much memory are you going to use during training? It's analytically knowable, after all."
ML: "... uh"
M: "..."
ML: "... uh... what, your fingers broken?! you too good to dig into my bones and add hooks to capture memory information, huh?! you call yourself a coder?!"

hm


#techPosting

heeeeeey #python cats!

anyone know of a decent multi-language text tokenizer?

To be clear: I am explicitly looking to use it for non-generative-AI and other [slop/scab/labor theft] purposes.

Not sure of the specific terms I need to be looking up, frankly, since I'm mostly just finding Python's built in tokenize library which seems to be focused just on Python code.

Thank you!

#techPosting

#techposting

just learned the hard way that
#groovy syntax highlighting is really really bad and my brain hates it. I just thought syntax highlighting wasn't working... but no, it's basically just a blob of text, with or without their "I have to pay for every single pixel of color or bold text so I will use it as sparingly as possible" as far as my eyes are concerned.

hey hey #Linux #FileSystem #ZFS #RAID #XFS entities! I'm looking for extremely opinionated discourses on alternatives to ZFS on Linux for slapping together a #JBOD ("Just a Bunch Of Disks", "Just a Buncha Old Disks", "Jesus! Buncha Old Disks!", etc) array.

I like ZFS
but the fact that it's not in tree in-kernel is an issue for me. What I need most is reliability and stability (specifically regarding parity) here; integrity is the need. Read/write don't have to be blazingly fast (not that I'm mad about it).

I also have one
#proxmox ZFS array where a raw disk image is stored for a #Qemu #VirtualMachine; in the VM, it's formatted to XFS. That "seems" fine in limited testing thus far (and seems fast?, so it does seem like the defaults got the striping correct) but I kind of hate how I have multiple levels of abstraction here.

I don't think there's been any change on the
#BTRFS front re: raid-like array stability (I like and use BTRFS for single disk filesystems but) although I would love for that to be different.

I'm open to
#LVM, etc, or whatever might help me stay in tree and up to date. Thank you! Boosts appreciated and welcome.

#techPosting

#proxmox cats w/ #networking experience and/or #network individuals in general (you can also respond if you don't consider yourself a cat in one form or another):

let's say I have two servers; the one running internet facing services is connected to the "DMZ" port (uggghhhh I hate that term) and the other is part of the general network. The router/firewall is configured to send all HTTP/HTTPS traffic to the internet-facing server and is blocked from accessing the rest of the network. The rest of the network, however, can access the internet server.

If I used proxmox on both servers, would I be able to configure/manage them from one interface? Or would they both need to be in the same 'zone'?

#techPosting

question for tech-y storage people: I just nabbed 4 extra (used) disks with a 6 TB capacity from a place that re-sells electronics (oregonrecycles.com); I think they did some testing but obviously I dunno what to extent, and also, if it was just limited to stuff like SMART data, well...

anyway, I wanna RAID it, which is fine, but I don't know how much lifetime these have left on them. For four disks with unknown usage, should I use RAID6 or RAID10? It's not
job critical data I'll be storing on these (mostly media and such). They'll eventually be migrated into a larger RAID array but that won't happen until I'm stable and can afford to rebuild my server so this is fine for now.

I wouldn't
mind the better read/write performance that comes with RAID10 even though it has less parity. I suspect these disks were all used together so they might have similar wear/tear patterns; in that case, I'm wondering if RAID6's double parity actually buys me any extra life? Like, given 4 disks with the same history and a probably known disk failure rate, I'm not really clear as to whether double parity is going to make much of a difference (and that if one goes down, the others probably aren't too far behind).

#techPosting #raid #raid6 #raid10 #storage #nas

One day I'm going to sit computer scientists down and teach them about the concept of reversibility and how that might apply to verbs/functions/etc

the opposite of install should be 'uninstall', not remove (remove should work too though)
if I must call a method named
fromarray to create an object from an array, should there not be a method named toarray

arrrghhhhh

#techPosting

getting back into Python is weird because like every time I do there's a new fresh hotness to theoretically end all hotnessess re: package installation

and then the next time I get back in people are like, "that was such horseshit,
this is the thing"

"wheel is bad, but poetry: so good!"
"poetry is
shit, something something else is good (I dunno I kinda don't remember the name for this one)"
"we don't need that old one, we have WHEEL!"

motherfuckers

(yes, these are real things)

#techPosting #pythonLang #pythonPackaging

I can't believe I'm voluntarily writing regex on the anniversary of Dune

(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)?((\/[a-zA-Z0-9_?=&]*)*)?(\ ?HTTP\/(1\.1|0.9|1.0|2|3))?
I also can't believe I wrote it and that it works without having to remember
too many things

(it's a basic start to parsing the first line of HTTP headers)

I am probably going to have to write a lot of regex for an HTTP server module, aren't I.

#techPosting #regex

just gonna tag
@hipsterelectron@social.treehouse.systems 😂

I kinda wanna try out the #guix #guixos but I feel like since I use both #plasmaDesktop and #steam (plus a lot of non-free stuff) I feel like maybe I'm just setting myself up for trouble?

but the idea of one language for everything, including services, and all of it being treated like a first class citizen is really appealing. Plus I'm pretty sick of the
#nix community (fuck you, jon ringer, you warmongering garbage fucker).

#techPosting

alright, I feel like an idiot for for not fucking realizing that

[T] is a slice in Rust and not just a shorthand for arrays (which are [T; N] where T is the type and N is the size)

Yesterday was fucking driving me crazy because I thought this goddamn dynamic dispatch function was asking for an array, so I was doing all this horseshit to send in a fucking array and then getting type errors about expecting
[T] but receiving [T; 3] and you'd think I would have clued in to the fact that they're actual different types and not just some sort of memory/borrowing shenanigans, but I was already like 7 hours into my day so no, brain wasn't working.

Makes so much more sense now. Because I was like, how the hell is a dynamic dispatch requesting an array, which is fixed size and known at compile time and placed on the stack (usually).

blehhhhh.

#techPosting #rustLang

Probably would help if Google wasn't so shit nowadays and trying to google errors returns a bunch of unrelated crap. Hey, fuzzy search assholes: if I include some variant of "NOT" or "NO" or "DO NOT", please do return results for doing the thing.

sooooo I did successfully switch from Fedora 41 to Gentoo. It was a lot harder than it needed to be because:

1. Instead of doing it like a regular person via a linux live USB, I did it from a chroot from my fedora install. This made the steps a little different and made the bootloader stuff a little harder (in that without realizing it, I was booting into gentoo with the fedora kernel. hello, no drivers! ooops) but otherwise not too bad.
2. I have full disk (partition) encryption via LUKS. It was trivial to solve, but I foolishly set up GRUB for LUKS1 instead of LUKS2 and basically it just wouldn't even load GRUB until I figured out that I shouldn't have specified encryption support in GRUB. Most guides you read nowadays assume LUKS2, but the Gentoo wiki for grub has an assumption about LUKS1, I think. Or otherwise assumes that your /boot directory lives on your encrypted disk instead of a separate partition (which is common with UEFI installs, like mine)
3. My RTC is fucked up; despite replacing the battery and even switching the polarity just to be sure, it keeps reporting the battery as dead and resetting the clock. This is usually only an issue when the machine suspends: the clock will then jump forward a few months. I work around this by running NTP and sometimes manually resetting the service, but apparently when I first installed gentoo I had the wrong clock, and portage basically throws a fit if you have files that are newer than what you're trying to install, so everything was in this weird partial half updated state. This also meant some builds failed for weird reasons (Ninja, in particular, really does not like it if some timestamps are wrong in some files and will fail on everything. This failure can take a LONG time in some instances and usually has to happen 100 times before the build is considered a failure). It took me about two days to successfully compile qtwebengine due to this and disk space issues.

I think if you don't have the above issues, your install process will go a lot more smoothly than mine did. Oh, also, portage profiles? Do not necessarily actually mark the set of packages as necessary as you would think? Like, I assumed using the KDE Plasma Desktop profile would mark Plasma as being... necessary to install, but it does not. You still have to manually bring it in. Which I like! It basically configures all of your flags and variables (USE flags in gentoo parlance) as being setup for desktop usage. I think it does mark
some packages as needing to be installed, but... it did not bring in Plasma or any apps.

OpenRC is trivial to switch to, coming from systemd, I think. The syntax is straight forward. It does feel a little more 'old school', which has pros and cons, but it's pretty easy to add services and doesn't control half the fucking OS which I like. Converting systemd files is easy too.

#techPosting #linux #fedora #gentoo #linuxDistributions #systemd

Heeeeeeey linux cats!

I would like to learn how to do kernel work
and closer to the grain hardware work. Anyone know of any reasonably-priced device (wifi card? PCI-E card? even if it's a laptop, so long as it's relatively inexpensive for the whole shebang) that oh my god no one gives a shit about enough to write a driver but it would be super cool if it did work?

If you know of any listing of anything of this type or anything, that would be really helpful. I dunno what my price point is but given that it's education to increase my skillset for employability (and to possibly help stave off more compute lockdown in the future) I do have
some budget for it. I'm not really a hardware kitten so I'm not quite sure where to begin to look for this kind of info.

Boosts very much appreciated!

#linux #hardwareHacking #linuxDriver #linuxDevelopment #linuxHardware #tech #techPosting

me: "I'm too exhausted to do the job hunting CV restructuring I wanted to do today"
also me after reading a bunch of silly manga and an ADHD med: "alright, fire up my LaTeX docker container"

sidenote: I don't know how I feel about jetbrain's Fleet yet, except it is pretty easy to convert existing VSCode docker containers to it, it turns out (and so long as you don't use docker compose, it works fine with podman (tl;dr: it seems to have
docker-compose instead of docker compose hard coded in and at least on F41, podman only provides the latter)) and it's nice to not have to install VS Code.

#techPosting #jetBrainsFleet #docker #latexSoftware <- does LaTeX have its own hashtag? As amusing as it would be to get this caught in a fetish post, I feel like people following costume/drag/fetish accounts don't deserve to be riddled with tech stuff.

(I mean, no one does).

Does anyone have any tips or experience about how to discuss non-professional coding projects? I've been doing a lot of project side work in #rust over the last few months that has absolutely improved my capacity to program with it to where I'd feel comfortable working on it in a professional context. However, I don't have a published project or crate in it or anything so I don't necessarily want to link the project without having some idea of whether that's a good idea or not.

Otherwise I just have "Rust" on my CV but no specific Rust projects (there's examples of the other languages I can program in there).

Thank you! Boosts totally okay and appreciated.

#resumeQuestions #resume #cvQuestions #CV #jobHunting #techPosting

kinda weird constructing the serialization/deserialization for #activityPub types in #rust because it does mean I'm doing a lot of curl requests against my own server (and those of other people) to see what the raw data looks like in the wild

aaaaaand I'm very glad I took the "everything can be there, nothing has to be there" seriously because yeah.

I spent most of the last week looking for a job so today is the first day I've programmed all week. While I don't yet have all the basic data types finished (lots of todo stubs) I'm slowly getting things there and the way I've setup the
From/To methods+workflow and hacked in inheritance is going to work just fine.

I really need to work on the
OrderedCollections next because that's quite critical for the inbox and outbox and such.

#techPosting