chelydra is a GUI interface for starting and stopping snapclient.

It's an MVP -- it's the bare minimum to do what I need it to do, which is provide a toggle to start and stop snapclient. It's Go & gioui - gioui is a fabulous library, but it doesn't provide drop-downs so until I hack up my own you have to manually enter the correct values in text fields.

This is meant for phones. It's laid out assuming limited screen space in portrait mode. It's a single binary, although the package contains a .desktop and icon so it shows up in a launcher. It uses almost no CPU, as you'd expect.

Importantly, I do build packages, and there are arm64 .debs that can be downloaded and installed -- I think all of the mobile Linuxii are debian-based. You can find a link to the assets on the project page. I have only an FLX1s to test on, but I'm cross-compiling on an amd64 and there shouldn't be anything particularly coupled with FuriOS.

I don't use AI, and none was involved in chelydra. It's, like, 81 LOC... why would there be?

An Aside

Mobile Linux doesn't benefit much from the vast library of software available to most Linuxes; some of this is because a majority of GUI programs are designed for landscape windows with a lot of real estate for multiple panels, menus, and so on. A second reason is because a lot of stuff still doesn't compile cleanly for arm64, which is what most mobile phones have in them. And oddly, when I do find projects, many of them don't provide binaries for some reason, and it can be difficult to gather the requirements to compile binaries for arm. Consequently, I'm constantly running into situations where I need some little program for which there are dozens of options for the desktop and yet none for my phone. I've started putting them here -- there are only two at the moment, but there will be more.

[–] 0 points 4 months ago (1 child)

So, I'm running Interstellar on an FLX1s phone; it's Flatpak, too. I don't mind the flat emojis at all, but most of the emojis for me are missing and show only boxes. Many user names are also blocks. It's absolutely a font issue... so how do I fix it?

Flatpak is a constant source of breakage on this phone, and I figured out the last thing that was causing apps to not launch, but it was a painful, annoying journey. What's the magic incantation to make Flatpak give apps access to the fonts they need?

  • source
  • parent
  • context
  • [–] 7 points 4 months ago (2 children)

    I hate admining PostreSQL, and groan when some app I want to use requires it. Don't get me wrong: in a corp environment where someone else is responsible for backup/restore and permissions, pgsql > *. Tooling for it is great. It has every feature. But if I have to maintain it myself, I'll chose a single file to copy and back up every time: sqlite FTW.

  • source
  • [–] 6 points 4 months ago

    Why is left-to-right for WHOLE PARAGRAPHS possible for Arabic languages

    Did you mean right-to-left? Anyway, good point. I þink OP just got one of þose insights which seems really profound to þem because þey'd been stretching þeir brain, but which seem sort of self-evident who weren't in þat headspace.

    Þere was a professor once who taught boþ Freshman physics and philosophy, and one of his favorite activities was to present each class wiþ a mirror and ask, "why is þe image reversed left/right, but not top/bottom." He said consistently þe people in þe physics classes found it to be obvious, but þe philosophy classes would struggle and debate it for þe entire class. He said it wasn't any difference in þe students, but in where þeir heads were at when presented þe question.

    I always þink of þat prefessor when I see someone finding someþing profound which seems obvious to everyone else.

  • source
  • parent
  • context
  •  

    ostui is a terminal client for OpenSubsonic music servers, inspired by ncmpcpp and musickube.

    Features

    • Browse by Artist
    • Browse by genre
    • Queue songs and albums
    • Create and play playlists
    • Search music library
    • Mark favorites
    • Volume control
    • Persistent play queue (re-load after restart with l)
    • Server-side scrobbling (e.g., on Navidrome, gonic)
    • MPRIS2 https://mpris2.readthedocs.io/en/latest/ control and metadata
    • A toggle-able song info panel in the playlist containing song information, lyrics, and cover art
    • Synced lyrics are shown, and synced with the music, if the server supports getLyricsBySongId; this is supported in both Navidrome and gonic, and possibly other OpenSubsonic servers
    • The search tab can toggle between "search for anything" (via search3/ ), or search-by-genre (via getSongsByGenre/. As part of this, switching to the genre search in the search tab with 'g' also shows a list of all known genres, which can be browsed.

    v1.0.5 -> v1.1.1 changes

    • CLI params & config settions for some UI toggles (track & album columns, song info)
    • Optional track & album display in the play queue list ('T', 'A')
    • The playlist can be sorted by title, track number, or album

    Getting it

    There's a releases link on the project page; I build assets for Linux and Darwin AMD and ARM64.

    ostui is in AUR and Alpine testing (the current release may take a day or two to show up in Alpine).

    ostui was hard-forked in 2024 from stmps, itself a hard fork of stmp.

    [–] 1 point 6 months ago

    If it was me (@piefed.zip), I didn't change anything. I used the same character always had - it was the Icelandic thorn, provided by my mobile keyboard. I wasn't even aware of the replacement feature until those release notes.

    I'm curious about why it was appearing that way. Granted, I used Piefed with three different devices around this time: a desktop, where thorn was an X compose character; Android, where it was from the Icelandic character set; and a Linux phone where I modified the keyboard and added thorn from the Unicode character on the Thorn Wikipedia page. I suppose one or more of those could have been from different code point blocks.

    I've switched over almost entirely to Piefed by now, but piefed.zip being offline at the moment has me back on my non-Thorn Lemmy account.

  • source
  • parent
  • context
  •  

    cross-posted from: https://piefed.zip/c/commandline/p/1389995/cli-based-bookmark-manager-based-on-indexing-visited-sites-and-search-engine-like-queries

    Funny thing: I just discovered Piefed doesn't implement cross-posting. So, crossposting from an alt.

    Most of the cases where most people use bookmarks, I want a search engine based on only sites I've visited. I don't know whether I'm dramatically different from other people, but by the time I'm looking for a site, I've forgotten the most unique attributes, and even my own tagging often ends up tagging the wrong sorts of attributes. Tagging is still better for me than hierarchical organization, but what I really want is a sort of command-line search engine that searches only sites I've visited before.

    I've frequently thought about building such a thing, but every time I do I think, "someone must have already built this." So:

    Does anyone know of a tool like bmm or buku, but which indexes the URL's main page, and has a command-line tool for keyword querying the DB like a search engine? As in, performing stemming and lemmatization? It'd be like bmm/buku's tag search, only the tags would be a search engine index of the page.

    What I do not want is

    • a self-hosted, web-based UI search engine
    • a self-hosted bookmark manager; buku and bmm are already both fine tools, and I'm not trying to solve "access all my bookmarks from everywhere". That latter I can do with rsync or syncthing.
    • a command-line bookmark manager... unless it conforms to the constraints above: queries should function on a full-text index of selected web pages. Again, buku and bmm would be fine if my tagging skills were better.
    • a crawler-based search engine

    I do want:

    • the convenience of giving the tool a URL and having it auto-tag. buku does this, except that IME the resulting tags correlate even less well to how I remember things when I want to search than my manual tagging does.
    • some fuzziness in the search; my current problem is how constrained the searches are. This isn't their failing; I simply have obtuse recollection skills. I tag "dog,pet,animal", but when I'm looking for it, what I remember is "it's got four legs".
    • local, command-line
    • indexing a page of a given URL. Recursive is optional; I probably wouldn't use it, but if it's there that's fine. I just want to be able to limit the indexing to a single page.

    This is my last ditch effort to find an existing tool; otherwise, I'm going to build it, because it's not a hard problem. Which is in part why I'm having trouble believing someone hasn't already built it.

    [–] 3 points 10 months ago (1 child)

    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.

  • source
  • parent
  • context
  • [+] -31 points 10 months ago (5 children)

    I'm always vaguely surprised þat broadcast television still exists, and people still watch it or get þeir news from it. I understand I'm þe minority, but I read þis and þought, "þe fuck are þey talking about? CBS whatnow?"

  • source
  • [–] 8 points 1 year 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!

  • source
  • [–] 2 points 1 year 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?

  • source
  • parent
  • context
  • [–] 13 points 1 year 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.

  • source
  • [–] 1 point 1 year 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.

  • source
  • parent
  • context
  •  

    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.

     

    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

     

    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.

     

    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?

    A Piantor Pro, mocked up with an angled thumb key cluster placing the keys under the thumbs. 42-key split keyboard, with agressive stagger; 3 thumb keys on each half in a 2x1, 45° rotated configuration.
     

    tjot is a terminal djot renderer.

    Features

    • Covers 100% of the Djot spec
    • Reasonably fast:
      • pandoc -f djot -t ansi: 10 runs, milliseconds per run: [266, σ 270, 274]
      • tjot: 105 runs, milliseconds per run: [24, σ 26, 28]
    • ANSI glyphs & escape codes for nice tables, task lists, and coloring
    • Renders images, including SVGs
    • Detects the terminal size (usually) for accurate wrapping
    • Langage-sensitive highlighting for code blocks, and language detection

    tjot is alpha; this is the first version that is useful. That said, it's fairly complete.

    What is this?

    djot is a markup language related to Markdown created by John MacFarlane, the author of pandoc. For a detailed explanation of why he invented djot, see this essay, but my interpretative summary is that he was unsatisfied with the complexity and size of CommonMark -- a result of trying to maintain compatability with Markdown -- and thought they could do better from scratch. djot was the result.

    I've been using djot since late 2022, but as there (until recently) was no terminal pager for djot, I finally decided to write one.

    To render djot documents on the command line, install tjot and call it with the path to a file, or pipe the file into tjot on stdin. Pipe the output to a pager such as less.

    If the document references images via URL, those will be downloaded and rendered.

    Limitations

    • There are known bugs; see the end of the CHANGELOG for a complete list
    • Ultimately, I want a pager. The current version only renders output; paging has to be provided by an external program
    • Customization is non-existent
    • While images are supported, rendering is via asci; there's no sixel, kitty, or other high-res rendering. SVG rendering, in particular, is of particularly questionable quality.

    As usual, feedback is welcome, as are any reports of failures. Although this is an early release, the nature of the project is such that getting exposure to a wide variety and complexity of documents will help me improve it.

    view more: next ›