[-] PlexSheep@feddit.de 109 points 3 months ago

US-americans got the crazy

12
submitted 3 months ago* (last edited 3 months ago) by PlexSheep@feddit.de to c/learnjapanese@lemmy.ml

At break with coworkers today, I mentioned learning Japanese since a bit over a year now. I was then asked to say something in Japanese, but I couldn't really think of anything good.

On my way home, I formulated a little something that I could say the next time I get asked:

「今月に桜が綺麗です。」

Do any of you have such default sentences, and if so, what are they?

Edit: Wikipedia has the following as an example:

「太陽が東の空に昇る。」

[-] PlexSheep@feddit.de 75 points 3 months ago

tar -xzvf archive.tar.gz

eXtract Zhe Vucking File

16
submitted 3 months ago* (last edited 3 months ago) by PlexSheep@feddit.de to c/jerboa@lemmy.ml

The comment itself is still fully visible, which is especially annoying for longer comments. This changed after the update.

I've looked for an option to disable but haven't found it. If it's not an option, it would be good to add that option, otherwise I might just not see it?

Solution: An option for this exists. See comments if you can't find it.

[-] PlexSheep@feddit.de 118 points 3 months ago

Ironic that this image does not load for me

[-] PlexSheep@feddit.de 141 points 4 months ago

That's true, but if OP is European and received this Mail, it is a GDPR violation regardless of if the content is relevant or not. As far as I know, not a lawyer.

19
submitted 4 months ago* (last edited 4 months ago) by PlexSheep@feddit.de to c/rust@programming.dev

Hello fellow rustaceans! Recently, there was a thread about how we can grow this community (how can I link to posts across servers?), where I already talked briefly about this topic, saying that I did not know if it is worthy of a full post here, as most things seem to be pretty professional looking links to talks and blogs. I've gotten some encouragement to post it, so here we go:

When to use a library instead of a CLI

I'm working on a little project called Autcrate in my free time, which aims to streamline the release and publishing process (what exactly it does isn't really important for this discussion). Autocrate uses git to get the path of the current repo, tags and pushes releases, generates a change log from commits and so on.

Up until a week ago, I was just using the git2 library crate, which offers the functionalities of libgit2 for rust. While good, using this crate is much more complicated than for example just executing git push from my program using std::process::command. I am only using the porcelain functionalities of git (as of now), so all functionality could be achieved by calling the CLI interface.

Question

When is it acceptable to use CLI Commands instead of using libraries provided for that same software?

Is it generally better to use API/ABI from libraries, or is it maybe even better to use the CLI interface, reducing the list of dependencies?

Pro and Con of using Commands instead of libraries

Pro Con
Reduces the dependencies of a crate Adds a dependency that cannot be tracked by cargo
Much easier to program for developers The CLI interface is not versioned and might break in the future
Documentation of the CLI interface is often better than of libraries Bad usage of command cannot be detected at compile time
Cli program might not be available depending on architecture or platform

(this is of course not an exhaustive list. I will edit it if something comes up in the thread.)

Edit

Alright then. Thank you for your answers. While using the git CLI would probably be fine, since it's very stable and available on most systems (especially those for CI/CD), it might change and is at best hacky. I'll be doing the "right" thing and use libgit2 instead of just calling CLI commands.

[-] PlexSheep@feddit.de 106 points 4 months ago

Linux only needs a reboot if you want to update the kernel, normally.

[-] PlexSheep@feddit.de 73 points 4 months ago

PLEASE BUY A PART OF MY SINKING SHIP

47
ich🐇iel (feddit.de)
submitted 6 months ago by PlexSheep@feddit.de to c/ich_iel@feddit.de

Gemacht mit Prokrastinierung

[-] PlexSheep@feddit.de 75 points 9 months ago

After Bram Moolenaar, the legendary creator of vim, it might just hit another legendary figure in the world of OSS. It's true that he is controversial, but he has my respect and best wishes.

[-] PlexSheep@feddit.de 109 points 9 months ago

Sub 1 million is not going back, they are just reducing the scope. Unity is dead

[-] PlexSheep@feddit.de 79 points 9 months ago

Good reason to just use godot

[-] PlexSheep@feddit.de 82 points 10 months ago

Hyper Text Markup formally known as Twitter?

117
ich🌧️iel (feddit.de)
submitted 10 months ago by PlexSheep@feddit.de to c/ich_iel@feddit.de
[-] PlexSheep@feddit.de 78 points 10 months ago

Working on my (private) servers is a hypnotic activity for me. It can be interesting or I can hate it and still want to do it. It can also be relaxing. Last time when I was sick in bed I played around with wireguard VPN configs all day to get a routed VPN for my VPS. I'm going to fix it today because something doesn't work the way it should.

Also, I learn Japanese. 日本語が大好き!

[-] PlexSheep@feddit.de 98 points 11 months ago

Matrix isn't the alternative for discord. Others have been named.

Matrix is a chat with a high regard for encryption, more an alternative to Whatsapp and signal then discord.

80
repost is sus (feddit.de)
submitted 11 months ago by PlexSheep@feddit.de to c/memes@lemmy.ml
view more: next ›

PlexSheep

joined 1 year ago