what even was that about freedom zero? as if freedom zero meant all free software must be accepted in all repositories?? you are still free to run it regardless
- 0 Posts
- 31 Comments
jutty@blendit.bsd.cafeto Shell Scripting@programming.dev•Say you have a list of increasing numbers and a threshold. How do you get the highest number smaller-or-equal to the threshold *and* all numbers that are larger?English1·2 months agoThe quoting oversight was due to me testing the first one only on zsh, which quotes differently.
The second was tested on Busybox ash and dash against the input in the example. It does assign a number just smaller or equal to threshold because head is overwritten on each iteration until it lands on the last value that was less than or equal to the threshold.
jutty@blendit.bsd.cafeto Shell Scripting@programming.dev•Say you have a list of increasing numbers and a threshold. How do you get the highest number smaller-or-equal to the threshold *and* all numbers that are larger?English3·2 months agoFor the simpler case of threshold match and larger, with the list already ordered, you could use sed:
echo $list | sed -n '/^150$/,$p'
The edge case is tricky because “equal or lower” can’t be expressed with regex cleanly, so even an awk solution would look kinda convoluted, so I personally prefer a for loop for readability’s sake:
for i in $list; do if [ "$i" -le "$threshold" ]; then head="$i" else tail="$tail\n$i" fi done printf '%b\n' "$head$tail"
Version 2.37 temporarily broke compatibility with instances on Lemmy v0.19.3. Version 2.38.0 is already out with a fix.
jutty@blendit.bsd.cafeto Voyager@lemmy.world•Why did Voyager break for my server?English6·2 months agoI’ve been noticing the same, on and off. At first I thought it was my instance, but it’s fine on its own and through other UIs.
Aside from your thread, all else I could find was this issue, which is from May, long before I started noticing this, so not sure it’s the same problem
jutty@blendit.bsd.cafeto Firefox@lemmy.ml•Has anyone else noticed Firefox becoming more buggy recently?21·3 months agoI got number two on LibreWolf, last spotted five seconds ago
jutty@blendit.bsd.cafeto Anarchism@lemmy.blahaj.zone•Does Anarchy Need Leaders? | AndrewismEnglish4·3 months agoI like https://inv.nadeko.net/ because it gives you several backends to choose from.
That’s the best, safest way. By the way, you can do the same thing from a flash drive too, if it has enough space to hold the system. I don’t mean as a live temporary system, I mean you can just point the installer to a second flash drive as the install disk and it won’t care.
in this thread, as a twist on the more common meme “is this AI” or the more accusatory variant “this is AI”, we doubt human intelligence instead
I’m disheartened by comments stating “whats the point?” just because it’s hyper realistic. I do prefer less realistic art too, but the amount of dedication it must’ve taken this person to develop these skills and then the work on each painting, it speaks volumes beyond just being a replacement for a picture… You’d hang it on a wall and tell every visitor “this is a painting” and then each and every one of them would go NOOO
jutty@blendit.bsd.cafeto Linux@lemmy.world•With FOSS, what is to stop scammers from hiding malware or worse in their programs?English10·5 months agoNot so much what’s preventing, but how hard it is to get away with it.
Whatever closed-source software is doing on your system, there is no way to know to begin with, what it is that it is doing. You can only look at the outer effects it has, but you can’t examine it much. So even if a closed system is doing all sorts of things, as long as it’s stealthy enough, there would be no consequences at all.
This is the very opposite is what you get with FOSS, not to mention the difference on how software is developed, built, distributed and managed in unix systems compared to proprietary ones.
jutty@blendit.bsd.cafeto Linux@lemmy.ml•Do I need to update Windows 11 on a Windows / Linux Mint dual boot system?6·5 months agoThe PC itself as in hardware? Hardly… Your data is at risk. So ignoring updates for both Mint and Windows will put you at a more vulnerable position from a security standpoint.
jutty@blendit.bsd.cafeto Linux@lemmy.ml•Do I need to update Windows 11 on a Windows / Linux Mint dual boot system?34·5 months agoIf you are asking if not updating Windows will make your Mint system insecure, the answer is no. At least to me an exploit leveraging an unmounted Windows partition is unheard of. It will of course make your Windows system less secure for the 2% of the time you do use it. Another side effect of updating it is that it may break your dual booting.
jutty@blendit.bsd.cafeto Fediverse@lemmy.world•Could not upvote on another instance [please explain for noob]English3·5 months agoIf you see yourself facing this often, you can also use a browser extension to make it easier to see the post you are at in your instance.
For Firefox and derivatives, the simplest one is Lemmy Link, which places a Lemmy icon next to links such as the sibebar’s !community link in the instructions for logged out users to find the community in their own instance. It has not been updated in two years, but still works.
Another option is Kbin Link, which does the same thing and has seen recent updates but tends to trigger “this extension is slowing down…” notifications.
A third one I found is Instance Assistant, which instead adds a “Find in my home instance” button to the sidebar. It does have some additional features, but I couldn’t get them to work. This one is also available for Chromium-based browsers.
jutty@blendit.bsd.cafeto Fediverse@lemmy.world•How do you not feel overwhelmed using Mastodon?English5·6 months agobasically I never follow any feed (be it Mastodon, RSS, Lemmy, newsletters, whatever) that is too high volume. If something is sending too much content I’ll just unsubscribe/unfollow. So for instance Lemmy communities for news are soo overwhelming, I’d rather sign up for a newsletter with a selection of five or so important news for the day.
jutty@blendit.bsd.cafeto Fediverse@lemmy.world•Does any mastodon app have the ability to Hide Read Posts?English3·6 months agoYeah, sorry! I realized that after sending the comment, but I guess I was too late to delete it. I’d also like to find a Mastodon app that does that
jutty@blendit.bsd.cafeto Fediverse@lemmy.world•Does any mastodon app have the ability to Hide Read Posts?English1·6 months agodeleted by creator
jutty@blendit.bsd.cafeto LibreWolf @lemmy.ml•Should I worry about add on compatibility with librewolf and also recommendation on a pinned questions thread.2·6 months agoIt’s built against the latest version and kept up to date with it, so you should be fine. The only extension I had an issue with was KeePassXC, but because it communicates with an application outside the browser. I had to symlink a single directory and now everything works just the same.
jutty@blendit.bsd.cafeto Random Acts Of Gaming | Giveaway@lemm.ee•[CLOSED] [GOG] BioShock 2 Remastered4·8 months agoSurprised this hasn’t been picked up yet, is it still available? I’ll gladly take it if so
One option is https://sepiasearch.org/