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
- 34 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?English
1·10 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?English
3·10 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?English
6·11 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·11 months agoI got number two on LibreWolf, last spotted five seconds ago
jutty@blendit.bsd.cafeto
Anarchism@lemmy.blahaj.zone•Does Anarchy Need Leaders? | AndrewismEnglish
4·11 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.ml•Hey Installer Devs - an installer feature -- copy another system's install?
3·1 year agoFor Debian there’s Preseed, for Arch there’s archinstall, for a Fedora/RHEL there’s Kickstart, for Alpine there’s setup scripts, for distros with fully manual installs, you could just write a script?
Automating your install is something any sysadmin and mainly any distro developer will quickly reach towards, so it is something almost certain to exist.
Though, if I understand you, you’d want that to be “sourced” from an existing system, yes? I can see the use of that… NixOS is likely the closest to what you want, since you are always defining a full declaration of your system.
jutty@blendit.bsd.cafeto
Linux@lemmy.world•With FOSS, what is to stop scammers from hiding malware or worse in their programs?English
10·1 year 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·1 year 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·1 year 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
Linux Mint@lemmy.ml•Isn't downloading software from the official repositories less secure than getting them from the original source?
1·1 year agoWhile another comment covered the matter of security updates, another point that is safer about repositories is the security of the binary and the transaction. Meaning, the place you get your software from and how this transference is accomplished are also security sensitive.
When you get the software from a repository, you typically have some assurance that (a) the binary you are getting was compiled from the source that is published (b) the source from which you are downloading is known and trusted © the method through which you are transferring is somewhat secure (e.g. TLS) (d) the changes made were inspected by at least one more independent party (depends on the repository’s policies).
Repositories will also have criteria for inclusion, which can bar you from software you want, but still could also mean software with bad security practices never reached you to begin with. Being included in the repository might also mean it’s up to more scrutiny, as it may be removed depending on what security events happen in the future.
Say that instead we were to get the software directly from the original source. How will this source transfer the software to you? If they publish it on a website, that adds one more attack surface where, if an attacker tampers with files, hashes and/or links, you are now no longer getting it from the source. Say instead you get it from a Git forge such as e.g. GitHub. Is the binary being built form source in CI? Or is it uploaded manually? Does it provide a hash? How can we know the manually uploaded binary, even if it has a hash, was compiled from the publicly available source? There is no trusted, independent third party involved to confirm that.
I can think of a few other reasons unrelated to security, such as repositories, particularly distro/OS-specific repositories but not only them, will tailor the software to your OS, resolve dependencies for you and add niceties such as init system integration, shell completions, man pages and sample configuration that is specific to your OS.
jutty@blendit.bsd.cafeto
Fediverse@lemmy.world•Could not upvote on another instance [please explain for noob]English
3·1 year 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?English
5·1 year 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?English
3·1 year 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?English
1·1 year agodeleted by creator





One option is https://sepiasearch.org/