![](https://lemmy.one/pictrs/image/b7851e03-2b33-4cfa-b610-cb5d4f51d9ce.jpeg)
![](https://lemmy.world/pictrs/image/4271bdc6-5114-4749-a5a9-afbc82a99c78.png)
mod+shift+q
so you wouldn’t close hours of work by accident (e.g. when typing other mod+_
keybinds)
mod+shift+q
so you wouldn’t close hours of work by accident (e.g. when typing other mod+_
keybinds)
Reminder that paying money is morally wrong and should be avoided when possible. Steal the consoles and pirate if you have to play the games.
only a small number will sign up for a specific forum
Most people don’t have to sign-up, 90% of cases should resolve on just searching the problem. Good chances it was already asked and answered.
Most of the time, forums with few users aren’t dead, they’re just really slow, whenever you post a question - expect at least 12-hour delay. I’ve never seen a message on Discord answered 12 hours later - you either get somewhat instant response or it’s ghosted forever.
Also good luck asking questions if there’s heated/rapid discussion in the room, or you have a little time and other responsibilities other than checking discord every couple minutes.
as yet
It’s Nim, but I have no idea why you can’t do this in Rust:
var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt)
Full solution: https://codeberg.org/Archargelod/aoc23-nim/src/branch/master/day_05/solution.nim
I would accept discord/irc over mailing list. But nothing beats a proper forum website.
And no, subreddit is not a proper forum.
In theory this issue can be solved with LD_PRELOAD trick. E.g. redirect all/most/some fopen
calls to “$HOME” to some other directory. But before I try to tackle it myself: is there already a similar solution like that?
Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages.
Are there untyped languages? You probably meant ‘dynamically typed languages’.
But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.
I don’t understand.
How is it hard to remember: “eXtract File” = “tar xf …”?
If tar is gZipped - it’s “tar xzf …”.
I don’t think I’ve ever seen tarball that wouldn’t work with one of these two commands.
For one - the error handling. Every codebase is filled with messy, hard to type:
if err != nil {
...
}
And it doesn’t even give you a stack trace to debug the problem when an error happens, apparently.
Second reason - it lacks many features that are generally available in most other languages. Generics is the big one, but thankfully they added them in last half a year or so. In general Golang’s design principle is to implement only the required minimum.
And probably most important - Go is owned by Google, aka the “all seeing eye of Sauron”. There was recently a big controversy with them proposing adding an on-by-default telemetry to the compiler. And with the recent trend of enshittification, I wouldn’t trust google or any other mega-corporation.
I have all apps I use daily in the appimage format. Yesterday I decided to try btrfs for my root partition and did my annual Linux reinstall. All my apps were already there and ready for work from the start.
I also have a usb flashdrive always on me with the same appimages. Just in case I’d wipe a hard drive by accident and wouldn’t have an internet connection or something like that (in case of emergencies). You can’t do this with flatpaks or snaps.
IMO, go’s gopher is ugly, not cute. But, anyway, there are better reasons not to learn Go.
I love every single game these guys make, but World of Goo is definitely in my top 10 games of all time.
I can’t even believe they’re making a sequel. It’s the dream comes true.
Going to replay the original in 100th time.
Iirc, you can’t log into Mastadon with a lemmy account
, but there should be a way to follow a mastodon account from a lemmy instance.
Never tried it, though.
Edit: Apparently, it’s not possible either. Mastodon users can follow lemmy communities, but not the other way around. 😔
Try libredirect, it automatically redirects links from twitter, youtube, imgur and many other spying platforms to alternative privacy friendly frontends. It is also very customizable: you can turn only some redirects and configure what particular site to use for each platform.
Free gravel it is 😒. Why would someone make a quiz with no choice ?!
Somebody should make a standard for non-intrusive, not spying, ethical ads (no clickbaits, no contrasting colors, related to the article, etc. etc.).
Adblocks would have websites that strictly follow these guidelines in a whitelist by default (opt-out).
That’s the middle ground. But, I doubt any big ad company like Google or Meta would push for it, if not against.
There’re multiple things OpenSUSE does differently, when compared to most other distros:
I use Metager instead - it’s FOSS and also has an option to filter out choosen domains from the search results.
Zip is fine (I prefer 7z), until you want to preserve attributes like ownership and read/write/execute rights.
Some zip programs support saving unix attributes, other - do not. So when you download a zip file from the internet - it’s always a gamble.
Tar + gzip/bz2/xz is more Linux-friendly in that regard.
Also, zip compresses each file separately and then collects all of them in one archive.
Tar collects all the files first, then you compress the tarball into an archive, which is more efficient and produces smaller size.