sxan

joined 3 years ago
[–] sxan@midwest.social 3 points 1 month ago (1 children)

Huh. All that work, just for little ol' me? Gosh, I'm humbled. I didn't even know that was going on.

I do try to limit thorn to my piefed account. Sometimes habit tricks me to using it on Midwest.Social, but that's entirely accidental.

[–] sxan@midwest.social 5 points 2 months ago

I use a convenience package on top of stow (yas-bdsm), but yeah: stow is foundational.

[–] sxan@midwest.social 8 points 4 months ago

Ok, kid's! It's time for Uncle Ŝan's Story Time!

So, it takes place in the spring in a little Italian town called Olmo in the Alps, not too far from the Austrian border. I'm living in Munich at the time, and am staying at a cabin the parents of my German friend own, with yet another friend who's visiting from the US. We're walking around on the paths through the villiage and meet this old guy ("old" -- I was in my 20's at the time, so he might have been 40 for all I know) who says something to us in Italian, which neither of us spoke, and I reply that, sorry, we don't speak Italian. Undeterred, he starts rattling on to us in Italian. Now, although I was living in Germany, I'd just gotten through 3 years of French in college, so I'm picking out a word here or there, and we're just barely sort of able to communicate by using latin roots.

So, we're talking to this guy for, like 45 minutes in this sort of pidgin latin and a lot of gestures, when he picks up on the fact that I'm not actually an American tourist in Italy, but that I'm visiting from Germany, at which point he says in German: "oh, so you speak German?" And from there we have a regular conversation. I don't know what he thought, but I thought it was the funniest thing, and that's how I learned to do the "try every language, just in case" thing like in the comic.

That's the end of the story, except a fun detail: I learned that this guy was on his way into the hills to count his sheep. Then he was going to go home, have lunch, and that was his work day. I'm sure keeping sheep throught the year is a lot harder than just that, but at the time I was terribly envious, because it sounded so idyllic.

Tune in next time, kids!

[–] sxan@midwest.social 2 points 5 months ago (2 children)

Yeah. SimpleX has a similar problem, because it's basically creating a bunch of 1:1 connections between everyone to preserve anonymity - IIRC (I freely admit I could be misremembering this). As I understood, it's a decent limit, though - more than the 7-12 friend/family group you'd reasonably trust in a chat group.

I did not consider this a blocker - who's using encrypted chat for large groups? Large group chats are fundamentally insecure; is the use case about anonymity, not encryption?

[–] sxan@midwest.social 12 points 5 months ago

Republicans 2025:

  • Toxic healthiness
  • Liberal helpfulness
  • Snowflake economic growth
  • Liberal Elite freedom
[–] sxan@midwest.social 14 points 5 months ago

IME, beyond the install, it's all distro- and desktop-specific.

  • How to find and install apps varies from distro to distro. IIRC, the Mint menu item is something obvious, like "Install software", but on Arch (you'd have to hate your newbie to throw them into Arch), it requires a chicken/egg finding and installing a graphical installer. If you know the distro, this would be good information - or if you're helping with the install, create a desktop launcher.
  • Showing them where settings are. Surprising to me, this has been super-not-obvious to my newbs. Even though the KDE Settings app is called "settings", I think Windows and Mac folks are used to looking for settings in a specific place, rather than an app name - and in Windows, there's can be several ways to get up different settings, like changing display stuff is always in a weird place. Again, maybe a desktop or panel shortcut would help.
  • One of my newbs used Mint for two years without opening a shell, so I don't think that's an issue. He even found and installed a piece of software he wanted, but I can't remember if I originally showed him how to the first time. But that's Mint. He did, however, need help setting up a printer, but that's because he couldn't find the settings program; he came from Windows originally.
  • Edge cases, like printers and other peripherals, can be hard, and I don't think any amount of extra documentation is going to help, because almost every difficulty is practically unique. There's a ton of online help for stuff like that already. And then, if they want to, eg, attach a game controller... well, that's very specific and again varies by controller. I don't think you can cover all of these edge cases.
  • Games can be hard only because of the indirection of having to install some other software, like Proton or Steam, creating an account, knowing how to check for compatability - there's a lot of moving parts. It's not just: go to the game's web site, buy, download, and install something and run it, like I imagine it is on Windows. So maybe that would be useful - or - again - pre-installing one of the game stores and (surprise) making a shortcut would eliminate that.
  • Network connections. Again, I always find figuring out how to get to network configuration in Windows to be hard, and bizarrely having multiple ways of accomplishing the same task, so I'd guess going the other direction would be confusing. Having a note about how to get to the configuration would be handy.

As I think about it, I realize that configuration under KDE of way more encapsulated and clear than on Windows, and people having learned the byzantine and myriad ways of Windows, KDE's relative simplicity is confusing. Windows people look for configurations in places they've learned to look, which aren't always where they are under KDE (I can't speak much about Gnome - I don't use it or set people up with it). MacOS isn't as bad, having a similar configure-everything-through-a-single-settings-program approach.

Anyway, that's my experience.

[–] sxan@midwest.social 1 points 5 months ago

This was many years ago, but since I was learning on the fly and asking Germans for translations of English words and was trying to learn words, I'd gotten in the habit of simplifying my requests. So instead of asking how to say "all of" I asked for "whole". I also may have phrased it differently where "whole" made more sense - this was 20+ years ago, and I don't remember exactly what was said.

[–] sxan@midwest.social 3 points 5 months ago* (last edited 5 months ago) (4 children)

I would still like to understand why Jami is never mentioned in these posts. I'm not aware of any technical or security objections, and the less I hear about Jami, the more concerned I become about using it.

[–] sxan@midwest.social 6 points 5 months ago

I was living in Germany and was learning Germman on the fly and was with my sister and her girl friends at Octoberfest, and I wanted to ask one what she did with her whole time, so I asked what the word for "whole" was. I ended up asking her what she "did with her hole time."

[–] sxan@midwest.social 2 points 5 months ago (2 children)

I was living in Germany and was learning Germman on the fly and was with my sister and her girl friends at Octoberfest, and I wanted to ask one what she did with her whole time, so I asked what the word for "whole" was. I ended up asking her what she "did with her hole time."

[–] sxan@midwest.social 6 points 6 months ago

"Digital" dictatorship? The qualifier is unnecessary.

2
submitted 7 months ago* (last edited 7 months ago) by sxan@midwest.social to c/vlang@programming.dev
 

sss-vlang v0.0.1

Shamir's Secret Sharing algorithm is a mechanism for splitting a secret S into n shares, of which k are required to recover the secret via a combine function. This library is a translation of sssa-go, which has been externally verified as being a well-designed implementation of the algorithm. This V version improves slightly on the Go version by handling (not ignoring) function errors.

One use case for SSS is to provide N people with keys to allow N-k of them to collaborate to produce a key that can, e.g., decrypt a digital resource. For example, 10 employees might be given keys, with any 5 being required to collude to generate a secret to open a KeePass DB that contains credentials for a server hosting master admin account.

The library has extensive unit tests and good coverage. The project includes two tools: sssc, which is a command line split and combine tool; and sssg, a GUI version.

The algorithm is stable. The library API at this point is mostly stable, and should not change much. sssc is complete, and I expect changes to include only feature additions. sssg is very definitely a WIP, as I figure out the gui package.

Performance of this library is not very good; it runs far slower than the almost Go library it was cloned from; I have not yet tried to optimize it, since performance is irrelevant for the use I have in mind. However, I suspect there is low hanging fruit here, and I'll get to it sooner or later.

 

This isn't so much a question of how, as it is an expression of bafflement at the utter lack of tooling to do this.

opustag can set, delete, or add a single or multiple tags... but it can't get a single tag. Same with ffmpeg. In fact, there appears to be not a single tool that can be used to get only the value of a single tag.

Sure, you can grep, but once tags start having multi-line values, this gets more complicated and error prone, and turns into a script. I honestly can't believe that I have to write a program to query a single tag value. This isn't even a Unix philosophy "do one thing well" issue; it's clearly in opustag's bailiwick.

Does anyone familiar with the spec know why this would be omitted from the opustag functionality? Is it, like, hard to query a single value, but easy to set it? Or is it just laziness? It can't just be a gross omission, can it? What sane person would consider this an edge case user feature? There must be some rationale behind it, especially since, while there are multiple ways to set values, there appears to be not a single tool that can read a single key. Maybe reading is NP-hard in opus metadata?

 

cross-posted from: https://feddit.uk/post/33171587

A barn owl mum discovered at a Lincolnshire farm has been described as rare and incredible. Not only is the creature the oldest barn owl ever to have been recorded, the female was found successfully breeding a six-week-old chick.

The bird of prey has left experts amazed after she was discovered at Eastfield Farm in Hough. The incredible creature is 18-years-old - and experts are sure she’s the oldest barn owl ever recorded in Britain or Ireland.

The owl was ringed as a chick, the British Trust for Ornithology (BTO) have confirmed, she had a ring placed around her leg in Nottinghamshire back in 2007, allowing tracking of the bird.

5
submitted 8 months ago* (last edited 8 months ago) by sxan@midwest.social to c/riscv@lemmy.ml
 

cross-posted from: https://midwest.social/post/31797333

I came across the post about Milk-V Titan, and there was a comment asking about the lack of the V extension would hinder running Ubuntu 25.10 which was targetting a particular RISC-V configuration, and it made me wonder if there were an opportunity for micro kernels to exploit.

Now, up-front: it's been literally decades since I had an OS design class, and my knowledge of OS design is superficial; and while I've always been interested in RISC architectures, the depth of my knowledge of that also dates back to the 90's. In particular (my knowledge of) RISC-V's extension design approach is really, really shallow. It's all at a lower level than I've concerned myself with for years and years. So I'm hoping for an ELI-16 conversation.

What I was thinking was that a challenge of RISC-V's design is that operating systems can't rely on extensions being available, which (in my mind) means either a lot of really specific kernel builds -- like, potentially an exponential number -- or a similar number of code paths in the kernel code, making for more complicated and consequently more buggy kernels (per the McConnell rule). It made me wonder if this is not, then, an opportunity for micro kernels to shine, by exploiting an ability to load extension-specific modules based on a given CPU capability set.

As I see it, the practicality of this depends on whether the extensions would be isolatable to kernel modules, or whether (like the FP extension) it'd just be so intrinsic that even the core kernel would need to vary. Even so, wouldn't having a permutation of core kernel builds be smaller, more manageable, and less bug-prone than permutations of monolithic kernels?

Given the number of different possible RISC-V combinations, would a micro kernel design not have an intrinsic advantage over monolithic kernels, and be able to exploit the more modular nature of their design?

5
submitted 8 months ago* (last edited 8 months ago) by sxan@midwest.social to c/operating_systems@beehaw.org
 

I came across the post about Milk-V Titan, and there was a comment asking about the lack of the V extension would hinder running Ubuntu 25.10 which was targetting a particular RISC-V configuration, and it made me wonder if there were an opportunity for micro kernels to exploit.

Now, up-front: it's been literally decades since I had an OS design class, and my knowledge of OS design is superficial; and while I've always been interested in RISC architectures, the depth of my knowledge of that also dates back to the 90's. In particular (my knowledge of) RISC-V's extension design approach is really, really shallow. It's all at a lower level than I've concerned myself with for years and years. So I'm hoping for an ELI-16 conversation.

What I was thinking was that a challenge of RISC-V's design is that operating systems can't rely on extensions being available, which (in my mind) means either a lot of really specific kernel builds -- like, potentially an exponential number -- or a similar number of code paths in the kernel code, making for more complicated and consequently more buggy kernels (per the McConnell rule). It made me wonder if this is not, then, an opportunity for micro kernels to shine, by exploiting an ability to load extension-specific modules based on a given CPU capability set.

As I see it, the practicality of this depends on whether the extensions would be isolatable to kernel modules, or whether (like the FP extension) it'd just be so intrinsic that even the core kernel would need to vary. Even so, wouldn't having a permutation of core kernel builds be smaller, more manageable, and less bug-prone than permutations of monolithic kernels?

Given the number of different possible RISC-V combinations, would a micro kernel design not have an intrinsic advantage over monolithic kernels, and be able to exploit the more modular nature of their design?

edit clarification

 

Personally, I love the phrasing, but it seems to me an odd choice for a mainstream media "business" section.

CNN Business' "Fear and Greed Index"

 

Remember the "I want a white one" video? That's the first video I clearly remember having a text-to-speech voice-over. It was really bad TTS, and it was awesome. Lately, though, I find myself wishing video hosting services like Youtube and Peertube (to a lesser degree) had a filter so that I could filter out any videos with TTS voice overs. Does this bother anyone else?

I'm a little torn about it. There are legitimate reasons for people to use them; I've seen commentary from posters about social anxiety that makes even recording audio difficult, and TTS must be fantastic for ~~mute~~ non-verbal(?) folks. Non-native English speakers may be more comfortable with it. I'm sure the platform doesn't help... how many videos do you have to post where the peanut gallery mocks your verbal mistakes before you give up and just have an engine read your written text? I've also noticed that the use of TTS is far, far worse on Youtube -- I have yet to come across a single video on any Peertub site that uses it, although it must exist.

Like a lot of technology, generated speech is getting abused, and since TTS has valid uses, I put it in the "enshittification" category. It's used on every bulk, low-effort "N greatest/funniest/random-adjective" videos; I hear it in increasingly in those suspiciously AI-smelling, ad-ish "reviews" that just read specs and make an odd comment about how cool it is; and there's so much more low-quality, low-information content that feels AI generated uses it -- or maybe it feels AI generated because it uses it. It's almost always on just awful content.

TTS on video content is a perfect example of "this is why we can't have nice things." I am starting to hate it so much, I abort whatever I'm starting to watch as soon as I hear the absurd cadence and mispronunciations -- I'd rather hear an honest non-native speaker making mistakes than that terrible TTS crap.

Whatever the reason, the use of TTS is a trend I'm putting firmly in the "enshittification" category, but am I overreacting here? Do you have a way of dodging or identifying content that uses TTS, in advance?

 

I read a news item about how the recent surge of drone aggression is stressing Ukrainians and affecting moral. It wasn't clear whether that was a propaganda piece meant to imply Ukraine is weakening, but I have noticed far fewer Zelenskyy updates in the past couple of months, and the feeling I get from even the pro-Ukrainian media that the invasion is wearing Ukraine down.

I just want Ukrainians to know that you're not forgotten. Even if you feel as if American attention has shifted to other concerns (we have our own crises and fascists now to occupy us), many of us are still staunchly supportive of the Ukrainian cause, and think about you, and donate to causes which we hope help.

Russia seems like a vast, unending well of cannon fodder. Your allies are fickle, at best. You just want to go back to normal lives, regular prosperity; you want your children back. I can't have any idea what you're going through is really like. For what it's worth, know that you have people around the world who sympathize and grieve with you, who are rooting for you, and most of all, who admire what you've achieved: David resisting a brutish and imperialistic Goliath for years, showing the world just how much how a strong and innovative people can accomplish.

I look forward to seeing what a peaceful, prosperous Ukraine makes of itself after the invaders have been defeated and pushed out. This invasion started with prognostications that Ukraine wouldn't last weeks; three years later, and you continue to defy the invaders. I do not doubt that you can persevere; I just want you to know that, despite the media attention on other struggles, you're not forgotten: we stand with Ukraine.

Slava Ukraini. Heroiam slava.

26
submitted 8 months ago* (last edited 8 months ago) by sxan@midwest.social to c/factorio@lemmy.ml
 

Picture unrelated to question; built for style, not functionality. I've learned that the most efficient (and boring) platform design is a spear.

I think of all the planets, I like Fulgora the least. I have tried two or three approaches to dealing with the sushi belts of parts; my biggest issue is the monomanical logic of inserters, which -- given a storage chest of a dozen different items, seem to get stuck on one item for extended periods. For instance, unloading a train of random stuff, I'll get 15 inserters all pulling out gears for several minutes, ignoring everything else in the chests. It's frustrating beyond belief, so I think I'm not looking at this the right way.

The biggest issue is buffering. I'll get nothing but gears for a few hours, but then they'll dry up and I'll get nothing but low density structure for a few hours and almost no gears. If I were paranoid, I'd think the devs did this on purpose to maximize jamming.

What I'm going to try next is building a train system with per-item trains, or maybe cars, and see if that helps. Transport raw to an island, recycle it, and load up trains with product and send them to a big factory island. I suspect it's simply going to get jammed up at the recycling center and I won't be any further ahead, but maybe I can mitigate that by just having one, really long train that stops every 12 cars and every series of 12 cars has each car containing a single item.

I don't know. Fulgora just feels stupid, or makes me feel stupid. How do you folks handle Fulgora?

Update edit

I completely redesigned everything on Fulgora, and it doesn't get jammed, and I'm only having to "throw away" steel (the plate, not the girders; I'm not sure why the game calls "girders" "plate", but whatever).

My solution, as it is, is based on the suggestion of having a recycling plant rather than recycling at the miners. I'm using trains: I mine ore into trains and ship it to a recycling island, where the output is filtered into train cars - one type per car. I run the trains full of product to wherever I have factories set up, and pull specific items needed there. I avoid sushi belts and sushi boxcars; my production islands are consequently much simpler, and as yet I'm not having to waste product.

I will point out that I initially used recyclers to reduce the amounts out items, but found I had to keep changing what I was recycling because what was overflowing kept changing, and by recycling I was regularly running out of items; this, again, is related to whatever the RNG is doing to me. Honestly, I have a mind to actually keep a counter, because it appears as if I'll get a run of copper coil, where it's the dominant item mined for dozens of minutes, then it'll be blue chips, and so on, cycling through each of the items. It swamps me with one thing that I can't even manage with belt weaving, then suddenly that'll dry up and I'll get only a trickle of that thing for the next couple of hours. I've frequently had launches completely stop because I had to recycle one component to built rocket parts, and then it dries up and I have to built an assembler to produce the product until the RNG deems me worthy to have it start being a mined item again. If the cycle happened over a period of less than hours, I'd record it. Although, the fact that the inserters (almost) all get stuck on the same item pulling from sushi boxes, I could easily show. If I, of anyone else, cared enough.

In any case, with trains and enough storage boxes I have it set up to weather the droughts and floods of specific items, and am assuming either it's coded this way on purpose, or only doing it on my machine because I don't hear anyone else complaining about it.

 

This might be a client thing, but... I'm subscribed to several overlapping communities: !linux on one server, !linux on another, !linux on two others. Same with !lemmy, !commandline, and a couple other communities with the same topic and slightly different membership and/or focus.

Crossposting is a valid and useful tool, but I'm noticing an increase of crossposting where the submitter automatically crossposts to 4 similar communities at the same time. Seems reasonable, and yet... I'm starting to get annoyed by seeing the same post 4 or 5 times in a row. I sort by New and since the posting happens concurrently, they just spam my feed with a page of identical posts.

I could unsubscribe from some similar communities, but the content doesn't exactly overlap and I feel like this is solving the wrong problem. I could decide that automatic crossposting by the same author is "bad behavior" and downvote crossposts, but I feel like this solves the wrong problem and violates a valid use case.

What I think a solution might look like involves a unique ID that persists between crossposts, and a corresponding way to filter s.t. only one post is shown. Some communities are more active than others, and comments on a filtered crosspost would be invisible, so it would be necessary to aggregation crosspost comments, interleaving them under the single, unique, unfiltered post. All comments on all subscribed communities where the post was crossposted would be aggregated; replies to any specific comment would reference the comment in its source community and therefore show up in the right community, for folks who aren't subscribed to multiple duplicate communities.

It requires a more complex solution than it might initially seem. Whatever the solution, I feel as if something should be done, because there's an increasing noise-to-signal ratio resulting from increased crossposting.

 

Something like this? The heavy stagger is great, 42 keys is almost perfect, but the thumb placement is -- for me -- horrible. Having to move my thumb to practically under my palm is just terrible ergonomics.

This thumb layout reminds me more of the ErgoDox variants, and is far better placement. Is there a layout close to this?

view more: next ›