gomp

joined 1 year ago
[–] [email protected] 1 points 2 weeks ago (1 children)

only dangerous for around 500 years

That "only" is just ridiculous :)

Just try to imagine the history of a nuclear waste storage site from the 1500s... how many budget cuts would have it seen? how much buck-passing when it changed hands as a result of war of revolution? how many times would it have been bombed? (and it's not like we've had bombing for a very long time).

We are just not responsible enough to play around with nuclear. Hell, we are showing we are even not responsible enough for hydrocarbons.

(yes, I do know some amount of nuclear waste, from medical applications etc., is definitely worth it and unavoidable - let's just keep it to a minimum)

[–] [email protected] 3 points 2 weeks ago (3 children)

AFAIK a sunken reactor is not as big of a threat to life as a one (marine or land-based) that releases nuclear material in the atmosphere, so the biggest issue should be what may happen before the reactor sinks.

Anyway IMHO the biggest issue with nuclear is not its safety, but rather that, even when it operates without the slightest of incidents, it produces waste that needs to be kept "safe" for periods of time that exceed the age of most nation states (let alone private companies).

[–] [email protected] 0 points 3 weeks ago (1 children)

Why aren’t python and bash be available in all your systems?

Among others, I run stuff on alpine and openwrt.

I don't need to run these scripts everywhere (strictly speaking, I don't need the homlab at all), but I was wondering if there's something that I can adopt as a default goto solution without having to worry about how each system is packaged/configured.

As for python, I doubt the full version would fit in my router plus as said I don't want to deal with libraries/virtualenvs/... and (in the future) with which distro comes with python3 vs pyton4 (2 vs 3 was enough). Openwrt does have smaller python packages, but then I would be using different implementations on different systems: again something I'd rather not deal with.

As for perl, it would be small enough, but I find it a bit archaic/esoteric (prejudice, I know), plus again I don't want to deal with how every distro decides to package the different things (eg. openwrt has some 40+ packages for perl - if I were doing serious development that would be ok, but I don't want to worry about that for just some scripts).

 

I've been looking around for a scripting language that:

  • has a cli interpreter
  • is a "general purpose" language (yes, awk is touring complete but no way I'm using that except for manipulating text)
  • allows to write in a functional style (ie. it has functions like map, fold, etc and allows to pass functions around as arguments)
  • has a small disk footprint
  • has decent documentation (doesn't need to be great: I can figure out most things, but I don't want to have to look at the interpter source code to do so)
  • has a simple/straightforward setup (ideally, it should be a single executable that I can just copy to a remote system, use to run a script and then delete)

Do you know of something that would fit the bill?


Here's a use case (the one I run into today, but this is a recurring thing for me).

For my homelab I need (well, want) to generate a luhn mod n check digit (it's for my provisioning scripts to generate synchting device ids from their certificates).

I couldn't find ready-made utilities for this and I might actually need might a variation of the "official" algorithm (IIUC syncthing had a bug in their initial implementation and decided to run with it).

I don't have python (or even bash) available in all my systems, and so my goto language for script is usually sh (yes, posix sh), which in all honestly is quite frustrating for manipulating data.

[–] [email protected] 0 points 2 months ago (1 children)

But you don’t have to develop anything.

I interpreted your "look for ways to do things separately" as "look for separate tools that do the various things" (and you have to integrate), but I see now that you meant "look for ways to do things differently". My bad.

[–] [email protected] 1 points 2 months ago (3 children)

I don’t even understand why people like GitHub so much, its source management sucks.

It's not that complicated... people use it because everyone has an account there and so your project gets more visibility (and your profile too, for those who plan to flex it when they look for the next job) and more contributions. Even a lot of projects that aren't on github have some sort of mirror there for visibility.

Suppose you wanna contribute to gnu grep (or whatever)... do you happen to know off the top of your head where the source repo and bug tracker are? And do you know what's the procedure to submit your patch?

If you are a company doing closed source, I agree that I don't see why you would choose github over the myriad alternatives (including the self hosted ones).

Look for ways to do things separately and you will find much better tools

That's a great way to spend your resources developing yet-another-source-forge-thingie instead of whatever your actual project/product is supposed to be :)

[–] [email protected] 0 points 2 months ago (9 children)

Yeah... does git have issue tracking? actions? C'mon: it's not like github & co. are just git.

[–] [email protected] 1 points 3 months ago

Then your password (your other, "first" factor) is the only thing preventing an intruder impersonates you.

You'll still have to go through the hassle the now useless second factor puts you through, so you might as well update your second factor even if you trust your first to be very secure.

[–] [email protected] 9 points 3 months ago

https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels

TLDR: extra x86 instructions supported by modern chips

[–] [email protected] 20 points 3 months ago (3 children)

It may not be a scam per se, but it certainly is a misnomer at this point... it's one of those words (like "enterprise" or "pro") that have been appropriated by marketing and devoided of any meaning. AI as a word will gradually die while people gradually realize it doesn't mean anything. Marketing consumes words (and people too).

[–] [email protected] 12 points 3 months ago

The problem is that rm -rf shouldn't scare you?

What are the chances something like

~/projects/some-project $ cd ..
~/projects $ rm -fr some-project

may delete unexpected stuff? (especially if you get into the habit of tab-completing the directory argument)

[–] [email protected] 3 points 3 months ago

Nice, but the name should be AS Roma :)

 

After years of my desktop environment (kde) being configured the same way, I tried enabling auto-hiding in my panel and I quite like the extra screen estate.

Now, the only reasons why I have a panel in the first place are the clock and the system tray (I don't use the ~~start~~ applications menu and I don't care for the task manager) so I've started wondering if I could completely dispose of the panel.

Do you know of any launcher (I use krunner but switching to something else is fine) that satisfies (or can be configured to satisfy) the following?

  1. shows the current date/time
  2. integrates a system tray
  3. launches applications
  4. does math, unit conversion and currency conversion
 

I've been looking for something to replace the google chromecast that is attached to our TV.

I've tried Kodi out, but the main use case for the TV set is a 70+ yo person watching netflix and there is just no way they will be better off with Kodi than with the stock netflix app.

Besides supporting netflix, being easy to use, and providing significantly better privacy than the chromecast does, the device would ideally:

  • support other mainstream streaming (amazon, disney, ...) for when my people get tired of netflix
  • support a DVB-T2 usb stick (directly, or through IPTV: I can put the stick in a different machine)
  • support youtube without ads (through an adblocker and possibly sponsorblock, or maybe using invidious)
  • possibly, support local public TV streaming (eg. BBC)

I have a PC set aside that should be more than capable enough (intel N100), but I'm open to getting new hardware if needed. Also, it doesn't matter if the system is not very user friendly to setup (eg. if it needs to be nixos), but once it's setup it should be easy to use and relatively straightforward to update/maintain.

I guess a FOSS android TV would be ideal, but.. is there any? (I see Lineage supports the Google ADT-3, but that is basically unobtanium, at least where I live).

 

Is there an extension that warns you when you are wasting time reading ai-generated crap?

Case in point, I was reading an article that claimed to compare kubernetes distros and wasted some good minutes before realizing it was full of crap.

view more: next ›