[-] ExLisper@lemmy.curiana.net 4 points 1 day ago

"everyday carry" people fantasy: the lights went out but we have to open that box and sign this form. We're doomed!! Who can save us!?!

reality: I guess I will just do it later.

[-] ExLisper@lemmy.curiana.net 15 points 2 days ago

I've never seen a "Maria Skłodowska-Curie street" outside of Poland. It's always Marie Curie. It's definitely not just USA, it's the same in Europe.

[-] ExLisper@lemmy.curiana.net 75 points 2 days ago

I don't know if she kept her polish last name after marriage but in Poland it's always Maria Skłodowska-Curie. I think it's some kind of Polish curse that the most famous poles are not known by polish names so people don't realize they were Polish. Curie, Chopin, Copernicus, John Paul II. Or, even worse, they are known by polish name by no one can pronounce it. The highest peak in Australia is Mt Kościuszko but Australians don't know it's named after polish General because they can't even say it.

[-] ExLisper@lemmy.curiana.net 10 points 2 days ago

A lot of it his vastly exaggerated. You will get like a one person post something on twitter and suddenly it's a new trend. Also, you can easily find 10 people to sing up for anything. So someone will setup a facebook group about falling in love with AI, some people will join out of curiosity, 10 people will post about their "wireborn husbands" and the media will run with it like it's common now.

[-] ExLisper@lemmy.curiana.net 2 points 3 days ago

Just tried it and atuin is really great. ble.sh is a bit much but after disabling couple of features it's quite useful. Thanks for the tips.

[-] ExLisper@lemmy.curiana.net 34 points 4 days ago

Or you can just edit the HTML...

[-] ExLisper@lemmy.curiana.net 1 points 5 days ago

For me it's wezterm (for nice tabs and nerdfonts support), starship.rs for some additional info in the prompt and, well, NerdFonts because nothing really works without them anymore. I didn't have any issues with bash but atuin someone else mentioned looks nice so I will give it a try.

1272
Inheritance (lemmy.curiana.net)
5

Brazilian lawmakers have passed a bill that drastically weakens the country’s environmental safeguards and is seen by many activists as the most significant setback for the country’s environmental legislation in the past 40 years.

“Either way, its approval is a tragedy,” said Suely Araújo, public policy coordinator at the Climate Observatory civil society group, arguing that the legislation would, among other serious consequences, drive large-scale deforestation and heighten the risk of human-caused climate disasters.

29
submitted 1 month ago* (last edited 1 month ago) by ExLisper@lemmy.curiana.net to c/linux@programming.dev

We all know how common terminal one liners have became as a installation method on GNU/Linux and what are the issues with it but let's recap quickly.

You go to a pager of some project and it tells you to do curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh or curl -fsSL https://deno.land/install.sh | sh. The only way to verify that this command will not delete all your files or install malware is to manually review the entire script.

So... why not create a secure script repository? On a central website you would create an account for a project and submit a script. On the other side we would provide a binary client that will download and execute the script (we can call it grunt from get and run it). So as a user you would run for example grunt rustup and it would get and execute the script created by rustup project. I imagine it shouldn't be that difficult to add a tiny package to the major distros.

I believe this would be a fairly simple project that would solve all the security issues typical terminal one liners have.

On the website for uploading scripts we could introduce:

  • multi user approval flow for script updates
  • 2FA
  • static checks of the scripts
  • reporting system for compromised scripts
  • verified project status

On the client side we could:

  • provide info about this script's security (how many people reviewed it, when was it last updated, is the project verified)
  • provide info about downloads (how many time was this script downloaded since the last update)
  • do additional checks (maybe the project could provide MD5 of the script on their servers and grunt could verify it?)

So it would look something like this:

# grunt rustp

Downloading rustp.sh from https://getandrun.it/...
Last updated 30 days ago.
Downloads since last update: 5
Verified project: No
Reviewed by 1 user

Execute script [y/N]

Clearly something is wrong...

# grunt rustup

Downloading rustup.sh from https://getandrun.it/...
Last updated 60 days ago.
Downloads since last update: 5342
Verified project: Yes
Reviewed by 3 users
Comparing MD5 checksum with https://rustup.rs/grunt_md5... Passed 

Execute script [y/N]

That's better!

Right? So why don't we have something like this? Or we do and it simply didn't get enough traction?

========

So just to address some of the comments. No, it's not a package manager. Package managers are complex tools that handle versioning, dependencies, updates, uninstalls and so on. Package mangers are also distro specific. A lot of devs decide not to use package managers and use bash scripts that are distro agnostic and don't rely on external maintainers and packagers. It would be ideal if everyone used secure package managers but the reality is they don't. This solution is a compromise that offers devs full control of software distribution while introducing decent security.

=======

Someone suggested brew. How do you install brew according to https://brew.sh/ ?

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

See the problem?

[-] ExLisper@lemmy.curiana.net 58 points 2 months ago* (last edited 2 months ago)

Most uses of 'retard' are in variable names like B43legacy_OFDMTAB_ADVRETARD but we also have

The switch is so retarded that it makes our command/entry abstraction crumble apart.

and

we shouldn't need asm for this, but gcc is being retarded

53
submitted 2 months ago* (last edited 2 months ago) by ExLisper@lemmy.curiana.net to c/linux@programming.dev

I just got a new laptop, put Debian 13 on it, installed Plasma, started configuring all the tools. Everything works great but when I get to set up the screensaver I realize it's Wayland. So no xscreensaver. So no IFS.

I had those fractals welcoming me when my computer wakes up probably for 20 years now. Now I'm supposed to just setup normal lock screen and move on? Nope. xdm, .xsessionrc, xscreensaver. Now it feels like home again.

But it's stupid, right? Just use new tools. They have more features. Better integrations. I'm still thinking about switching back to Wayland...

So, do you suffer from software nostalgia (a term I just made up)? Do you stick to good old tools even when the modern replacements are better? Or do you always chase the latest tools without looking back?

[-] ExLisper@lemmy.curiana.net 73 points 2 months ago

For anyone interested, this is how wild asparagus grows:

18

Hi everyone!

I'm conducting a brief survey (takes less than 1 minute) to better understand the Rust open source community. I'm particularly interested in learning about who contributes to Rust projects and what motivates or prevents people from getting involved.

I hope insights from this survey will help us identify better ways to support and engage potential contributors in the Rust community.

Thanks for taking the time to share your perspective!

Survey link: https://tripetto.app/run/MHPMRBFVKT

[-] ExLisper@lemmy.curiana.net 67 points 3 months ago

But they look so cute! Who wouldn't want to see this make a comeback:

[-] ExLisper@lemmy.curiana.net 135 points 4 months ago

Only one thing to do: set two pedophile hunters up on a date.

[-] ExLisper@lemmy.curiana.net 55 points 4 months ago

The best thing about Vim is that despite having all the features of a modern IDE it starts in 0.1s and you can start editing right away while the code data is loading asynchronously.

The worst thing about Vim is that... just kidding, there's nothing bad about it.

view more: next ›

ExLisper

joined 4 months ago