Caveman
- 5 Posts
- 861 Comments
Caveman@lemmy.worldto
Buy European@feddit.uk•The new age verifying app for the EU will only accept Google Play integrity for Android, de-facto banning any aftermarket OS like GrapheneOSEnglish
301·6 months agoIf the EU is going to make software then I think they’d have to consider themselves a gatekeeper requiring people to make a third party authentication app using their API.
That’s crazy, I thought that would be an invalid cast or something.
Gradually typed is a great description because it’s neither fully static or dynamic. TS does allow you to circumvent the types too easily to be called statically typed.
const strings: string[] = ([1] as any[])Is ok in TS land so the type of
stringsis not really static so to speak because you can assign whatever to it. Writing this in Dart would giveerror - The argument type 'List<dynamic>' can't be assigned to the parameter type 'List<string>'. - argument_type_not_assignableif I’m not mistaken.
TS as a statically typed language is not what I would call it. It’s a language with enforced type annotations but can be circumvented pretty easily. For example when receiving a JSON from an http request a string field can be just whatever.
I’ll join in
const isEven = (n) => !["1","3","5","7","9"] .includes(Math.round(n).toString().slice(-1))
Caveman@lemmy.worldtoHacker News@lemmy.bestiver.se•Psilocybin Shows Promise as Anti-Aging TherapyEnglish
2·6 months ago
Crazy image in the study. Gray hair went away by monthly treatment of 15mg psylocibin
Just like anything else, it’s worth what people are willing to pay for it vs what people are willing to buy it for.
Currently bitcoin is just a digital commodity with a finite supply which makes it a good store of value if people continue to use it.
The thing is, there’s nothing preventing bitcoin from tanking and becoming essentially worthless besides people buying it because the price is low.
If in a hypothetical future the bitcoin price becomes stable then it will become a valuable commodity. It’s value is wholly derived from it’s users and nothing else.
It’s not very convinent for governments or large institutions to hold it in it’s current form since it’s too easy to steal without leaving a trace. For government use there is going to be needed some development to allow for government or Central banks to have complete control over the currency without giving that control away which I think might be possible. In that case settling international transactions in bitcoin as opposed to the dollar for BRICS countries might be an option which doesn’t use the US dollar.
All the other uses IMO are pretty much fluff such as paying in bitcoin.
Caveman@lemmy.worldto
Linux@lemmy.ml•Europe is slowly ditching Microsoft: why it's happening & why it could fail.
12·6 months agoOne alternative is that it only applies to companies that are listed as gatekeepers in the EU make it only hit megacorps
Caveman@lemmy.worldto
KDE@lemmy.kde.social•KDE devs have been quietly working on Plasma Keyboard, a new on-screen keyboard for desktop and mobile part of the “We Care About Your Input” KDE Goals initiative. Although not ready for texting yet,
2·6 months agoWhy work on something quietly when you can work on it loudly?
It’s a flatpak://url that opens the app store on the computer where you do a one click install. So technically it’s two clicks.
I think he’s referencing the flathub install button where you can just hit install.
Snap is not all bad if you’re on a Ubuntu based distro, I just don’t like the way it’s pushed and that it comes from Ubuntu mostly. Startup time is a major issue for me also, but all in all it works.
I’m still sitting on the fence, heavily prefer flatpak but when Ubuntu is going to package nvidia drivers in a snap it’s a thing I’m up for trying.
My understanding is that if I’m on Ubuntu and the snap uses the same underlying Ubuntu version as my distro it should be fast but I haven’t seen it.
Caveman@lemmy.worldto
Asklemmy@lemmy.ml•Do gamers actually like the look of gaming computers and accessories?
2·7 months agoI like my stuff hidden anyway so I don’t care all to much. I disable leds usually because they are distracting but keep one solid led to indicate whether the system is on or not.
Caveman@lemmy.worldto
Programmer Humor@programming.dev•Why shouldn't you use YAML to store eye tracking data? /s
9·7 months agoAlways has been
TL;DR: Try installing some on virtual box, by all means try Linux mint cinnamon but also try Ubuntu and Fedora KDE.
Linux has some jargon and since you want to learn I’ll give you a quick rundown of how a variation of Linux is composed.
“Kernel” is what makes Linux Linux. It’s a way of interacting with the hardware.
A “distribution” or “distro” is a one of the many flavors of Linux.
They are usually “based” on a common foundation like Ubuntu, Fedora, Arch, Nix and whatever. These also work like an onion where Mint is based on Ubuntu which in turn is based on Debian, all of which use some version of the Linux kernel.
A that’s just a base will just get you a terminal (also called a shell or console) and is very useful to make a server for example.
What most people think of as an OS is the user interface (i.e. clickable shit). The terminology in Linux for that is “desktop environment” (DE).
You’ll see a lot of distributions mix and watch between a base and a desktop environment such as Fedora with KDE, Ubuntu (Ubuntu with Gnome), Kubuntu (Ubuntu with KDE), Bazzite (Fedora silverblue base with either gnome, KDE or deck DE).
You mentioned Cinnamon. Cinnamon is a desktop environment for Mint so a Linux Mint Cinnamon contains the code of the following:
Linux kernel, Debian, Ubuntu and Mint as a base and Cinnamon to interact with it by using a mouse and keyboard.
There are currently three bases that are really popular right now, Ubuntu, Fedora and Arch. In the DE there are currently two that are most advanced, namely KDE and Gnome but Cinnamon is not far behind.
In all honestly, none of this matters all too much, just install a couple of popular distros on a virtual machine like Virtual Bok and do a vibe check.
Take a couple of these, install some programs and fuck around with the settings for a bit, install themes and whatever or watch a quick YouTube video on it:
- Ubuntu (gets hate for being corporate but is solid, uses Gnome)
- Linux mint Cinnamon
- Fedora KDE
- EndavourOS (an arch based distro that’s supposedly easy, haven’t tried it)
- Bazzite (weird way to install programs through the package manager but hard to fuck up beyond repair)
- Something with the Xfce DE just to see the “lightweight” look.
Caveman@lemmy.worldto
World News@lemmy.ml•Trump shares the message he receives from NATO leader Mark Rutte
1·7 months agoSpain even got an opt-out lol
Caveman@lemmy.worldto
World News@lemmy.ml•Trump shares the message he receives from NATO leader Mark Rutte
3·7 months agoMark Rutte used to be the Dutch PM and his part in NATO is to advance the collective security of Europe, now by keeping the US on board. It’s a something for nothing.
The 5% is not binding, it’s just words on a paper, not even the US spends 5%.
Caveman@lemmy.worldto
World News@lemmy.ml•Trump shares the message he receives from NATO leader Mark Rutte
13·7 months agoTrump is getting played because of his fragile ego. Him sharing a message of a person stroking his ego is evidence of it working.






It’s tricky to use in programming though for non neural network math, I can see it used in video compression and decompression or some very specialised video game math.
Video game AI could be a big one though where difficulty would be AI based instead of just stat modifiers.