ACKTCHU-ALLEE, stealing is a legal construct. Laws only apply to humans, so whale sharks cannot engage in stealing.
- 0 Posts
- 10 Comments
TheLazyNerd@europe.pubto
linuxmemes@lemmy.world•Sometimes people like to complain about windows and iOS
86·15 days agoMaybe it’s a work computer and it’s not their choice.
Than complain to IT, not to me.
Maybe they’re not a computer toucher and do not have confidence touching computers.
When someone tells you to install Linux and reply that you don’t know how, they’re often willing to help.
Maybe they were perfectly happy using these OSs before some stupid new feature was introduced.
That is a perfect reason why they didn’t have to use Linux, but do have to use it now.
Maybe they’re tired or stressed or have no time.
In that case, they’re probably not a gamer, which is the best reason not to switch to Linux. Also, when you buy a new computer, it is probably faster and less stressful to install Linux, than Windows 11 (assuming you want a usable win11, with most spyware disabled).
TheLazyNerd@europe.pubto
No Stupid Questions@lemmy.world•Did it really used to be common for guys to go to a bar every night like in Cheers or The Simpsons?
0·17 days agoIt depends on (sub)culture, but mainly yes.
Bars were often cheap too, so going to the bar multiple times per week was not expensive. The reason these bars were cheap:
- Outside of touristic areas ground is cheap.
- If the local government allows it, the bar can on the owners property.
- The owner and customers were often friends, so friend pricing would be standard.
- Health and safety regulations used to be less strict. Allowing for lower prices.
- The bar was open whenever the owner wanted, instead of on a fixed schedule, making it more easy to combine with a second job.
- Bars rarely had a menu, they just sold whatever they had in stock. Today customers would be upset if an item on the menu was not in stock.
Also,
- Parks used to be less safe and less well maintained, so buying drinks in the supermarket and consuming them in the park wasn’t really an option.
- The internet wasn’t a thing, so people who wanted to spend the evening gaming had to do so in the bar.
Can I also make my own canonical version of the bible?
TheLazyNerd@europe.pubto
Science Memes@mander.xyz•this one is for the microbiologistsEnglish
7·23 days agoIf you’re not a biologist you probably don’t care, but the fact is
#A carpet is not actually a pet at all
Telling a carpet from a pet:
- carpets spend very little time begging for food
- carpets don’t scream when you step on them
- there is no such thing as a teacher’s carpet
TheLazyNerd@europe.pubto
Linux@programming.dev•Linux Package Managers Compared: APT, DNF, Pacman and Zypper
0·24 days agoI have been using Nix for a year now, and I am not looking back.
All regular package managers have a problem: Sometimes a system won’t work if a specific combination of packages is installed. To prevent this, package managers block those combinations. However, how does the package manager know which combination would break the system? It is tested beforehand, and a list of illegal combinations is maintained. However, this comes with a problem: How do you test every combination of packages? If a package manager tracks just 1000 packages, there are 2^1000 possible combinations to evaluate. This means that when a package manager becomes more popular, and more packages get added, relatively fewer combinations get tested, therefore increasing the chance someone breaks his system by installing a unique combination of packages, that wasn’t evaluated and apparently breaks the system. In other words: Package managers have a flaw that causes your system to break if the package manager becomes too popular. The common solution is to create a new package manager from scratch that does exactly the same thing as the old one, but isn’t popular yet, and therefore works. However, since it works, it becomes more popular, causing it to no longer work.
Nix is different. It is designed from the bottom up that every combination of packages is possible. It is impossible that one package breaks another. This creates some other advantages as well: there is no evaluation to see whether packages break other packages, allowing maintainers to add more packages to the repository. The result: even though it is not even close to the most used package manager, it is the one with the most packages in its repository.
Yes, there are problems. The biggest is that there is no easy mode yet. But that can be implemented later. For now I see Nix (or something similar like Guix) to be the future of package managers.
TheLazyNerd@europe.pubto
Programmer Humor@programming.dev•Who cares about time complexity
2·30 days agoI’m not too good with java, but it should be something like this:
public static int convertRomanNumeral(string n){Map.of("M","DD","CD","CCCC","D","CCCCC","C","LL","XL","XXXX","L","XXXXX","X","VV","IV","IIII","V","IIIII");.forEach((k,v)->{n=n.replace(k,v);});return n.length();}
TheLazyNerd@europe.pubto
Programmer Humor@programming.dev•Who cares about time complexityEnglish
19·30 days agoSince Roman numerals have an upper bound, the time complexity is always O(1).



Countries need to reduce their dependency on the US first: