There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

friend_of_satan , (edited ) in Can I remove a git repo without resorting to `rm -rf` ?

If you’re scared to do rm -rf, do something else that lets you inspect the entire batch of deletions first. Such as:

find .git ! -type d -print0 | xargs -0 -n1 echo rm -fv

This will print out all the rm -fv commands that would be run. It’s basically rm -rf --dry-run, but rm doesn’t have that common option. Once you’ve verified that that’s what you want to do, run it again without echo to do the actual deletion. If you’re scared of having that in your history, either use a full path for .git, or prepend a space to the non-echo version of the command to make it avoid showing up in your shell history (assuming you have ignorespace in your HISTCONTROL env var)

I use this xargs echo pattern a lot when I’m crafting commands that are potentially destructive or change lots of things.

UnfortunateShort , in The anti-AI sentiment in the free software communities is concerning.

Is there no electron wrapper around ChatGPT yet? Jeez we better hurry, imagine having to use your browser like… For pretty much everything else.

Goun ,

I did not buy these gaming memory sticks for nothing, bring me more electron!

eddanja , in Which are your preferred laptops?

I just bought the Slimbook Executive and although there’s I’m not a fan of the charger, it’s a beast.

potatopotato , in Can I remove a git repo without resorting to `rm -rf` ?

github.com/nivekuil/ripThis is what you’re looking for

bloodfart , (edited ) in Can I remove a git repo without resorting to `rm -rf` ?

Cd into the directory first, then run rm -rf, then cd back out and rm -r just the directory.

E:fb

etchinghillside , in Can I remove a git repo without resorting to `rm -rf` ?

OSX - mv my_project ~/.Trash

gwilikers , in KDE Plasma 6.1 Will Change My Life

Oof, could anyone let me know why this is getting downvpted?

snekmuffin ,

Likely cuz Brody is widely considered to be obnoxious and sensationalist, and his videos range from being only surface level to just straight up wrong

Pekka ,
@Pekka@feddit.nl avatar

He also seems to make a video almost every day. That really doesn’t help with the quality of the video’s. I doubt there is a lot of time to do additional research on the topic, so often it seems to just stick to the basic information from some kind of article and comments (and maybe a few related articles). And is often just related to the drama of the day.

Although he does sometimes have video’s that do require more research, but a lot of people won’t see those as they assume low quality because of many other video’s.

LiveLM ,

Widely considered?
Surprised to hear that, whenever someone posts him on Lemmy most of the comments act like he’s the best thing since sliced bread in video form

snekmuffin ,

I’ve definitely seen both opinions, but mostly leaning negative in my experience. Might just be confirmation bias though lol

jjlinux ,
@jjlinux@lemmy.ml avatar

So, a fork of LTT? Got it!

snekmuffin ,

Basically lul

Ephera ,

Clickbaity title and thumbnail.

jwt ,

Thumbnail alone is enough for me.

kenkenken ,
@kenkenken@sh.itjust.works avatar

Maybe fans of DT do that.

eldavi , in How are you parsing JSON on the command line?

i’m assuming that command line means bash; in which case jq and regex are your friends.

j4k3 OP ,
@j4k3@lemmy.world avatar

I found a Python project that does enough for my needs. Jq looks super powerful though. Thanks. I managed to get yq working for PNG’s, but I had trouble with both jq and yq with safetensor files. I couldn’t figure out how to parse a string embedded in an inconsistent starting binary, and with massive files. I could get in and grab the first line with head. I tried some stuff with expansions, but that didn’t work and sent me looking for others that have solved the issue better than myself.

eldavi , in Can I remove a git repo without resorting to `rm -rf` ?

git rebase doesn’t work?

intensely_human ,

That or an oil change

Kekin , (edited ) in Can I remove a git repo without resorting to `rm -rf` ?
@Kekin@lemy.lol avatar

A tip I saw some time ago is to do:

rm folder -rf

Additionally you could move the git folder to the trash folder. I think it’s usually located at $HOME/.local/share/trash/files/

Then you can delete it from the trash once you’re certain you got the right folder

d_k_bo ,

Additionally you could move the git folder to the trash folder. I think it’s usually located at $HOME/.local/share/trash/files/

Moving something to the trash files folder isn’t the correct way to trash it, since the Trash specification requires storing some metadata for each trash item.

You should use eg. https://github.com/andreafrancia/trash-cli instead.

boredsquirrel ,
@boredsquirrel@slrpnk.net avatar

xdg-trash

Spectacle8011 , in The anti-AI sentiment in the free software communities is concerning.
@Spectacle8011@lemmy.comfysnug.space avatar

Tech Enthusiasts: Everything in my house is wired to the Internet of Things! I control it all from my smartphone! My smart-house is bluetooth enabled and I can give it voice commands via alexa! I love the future!

Programmers / Engineers: The most recent piece of technology I own is a printer from 2004 and I keep a loaded gun ready to shoot it if it ever makes an unexpected noise.

lolcatnip ,

That doesn’t describe me or any other programmer I know.

Spectacle8011 ,
@Spectacle8011@lemmy.comfysnug.space avatar

It doesn’t describe me either, but I had nothing meaningful to contribute to the discussion.

epoch , in The anti-AI sentiment in the free software communities is concerning.
@epoch@lemmy.world avatar

This article should be ignored.

regnskog , in CachyOS June 2024 Release

What do the v3 and v4 in the architectures mean?

gomp ,

en.wikipedia.org/wiki/X86-64#Microarchitecture_le…

TLDR: extra x86 instructions supported by modern chips

Dirk , in The anti-AI sentiment in the free software communities is concerning.
@Dirk@lemmy.ml avatar

Whenever AI is mentioned lots of people in the Linux space immediately react negatively.

Because whenever AI is mentioned it usually isn’t even close to what AI meant.

possiblylinux127 , in Found a security bug in LMDE6, need some help

This is a Xorg issue and there isn’t much of a fix. Anytime the lockscreen malfunctions you can get access to the desktop.

Wayland doesn’t have this issue by design

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines