pvonhellermannn, to random
@pvonhellermannn@mastodon.green avatar

24th May 2023.

is battering with 220km/hour winds. Meanwhile police are raiding the households of protesters in . A new study finds that ’s scheme is worthless, may even be detrimental. But also a small sign of ? reject Shell’s plan after protesters disrupt their meeting

https://mastodon.energy/@CarbonBubble/110422388259885801

CarbonBubble, to random
@CarbonBubble@mastodon.energy avatar

suffered a shareholder revolt against its strategy for 2nd year in a row as its AGM was disrupted by climate activists. 20% of shareholders voted against Shell’s transition strategy & progress in the past year, the same % as 2022 https://www.ft.com/content/56fdd2da-627e-452c-ade6-599b5218f383

xrgermany, to random German
YesIKnowIT, to linux
@YesIKnowIT@mastodon.social avatar

ls -lt will show files ordered by modification date — most recent first.

EricChrSmit, to random Dutch

Toen vorig jaar een subsidie van 150 miljoen euro dreigde mis te lopen, schoot premier Rutte te hulp. Met ‘geitenpaadjes’ en een ‘flexibele’ interpretatie van de spelregels wisten ambtenaren van het ministerie van EZK de publieke middelen toch bij de oliegigant te krijgen. https://www.ftm.nl/artikelen/rutte-bemoeide-zich-met-aanvraag-waterstofsubsidies-shell?utm_campaign=Eric-Smit&utm_source=article&utm_medium=link&share=i97KW8TebNogdyXDsT%2FHPOhrJrP%2FswXV0j54rFtJvJc1vOJ2s7UqO6bHcA%3D%3D

scy, to linux
@scy@chaos.social avatar

Oh wow, TIL: When you do input redirection from a file in , e.g.

python whatever.py < foo.csv

the running command can actually stat() the stdin file descriptor and get the size of the input file! I would’ve expected that it’s more like “well, it’s your stdin, you can’t get the size for that, it’s a stream”.

And, to be fair, if you don’t directly associate the file to the command, it breaks. For example,

cat < foo.csv | python whatever.py

won’t supply a size.

YesIKnowIT, to linux
@YesIKnowIT@mastodon.social avatar

From a POSIX shell, "cd" is a shorthand for cd $HOME

3gtAWaagRvbpU4s3rfYrFzbk55cUgi, to linux

Sometimes I wonder if I should try a different #shell. The thing is if I have to hang on to #bash for compatibility reasons do I really want to have something else also? It's like buying a second hammer just because it's fancier than the regular one you have. Maybe if I was a carpenter, I'd do it. But if I just hammer a nail every once in a while, do I really need the fancy hammer?

#zsh #fishshell #linux

fosslife, to linux
@fosslife@fosstodon.org avatar

FOSS Skills: @BruceByfield gives you an overview of Linux commands for moving, editing, and generally manipulating files https://www.fosslife.org/linux-file-management-commands

dcz, to random
@dcz@fosstodon.org avatar

Do you have a file full of arcane ?

Well, I do. And I'm sharing it here on my , including commentary:

https://dorotac.eu/posts/recipes/

I hope you find the commands as useful as I do!

TexasObserver, to politics
@TexasObserver@texasobserver.social avatar

A massive fire at a -area refinery was just the latest incident at the site, which has generated 1000s of pounds in illegal ... but $0 in fines from the state.

Dylan Baddour of @insideclimatenews reports that the Commission on Environmental Quality was asleep on the job: https://www.texasobserver.org/houston-shell-refinery-fire/

(📸 Photo by
Mark Felix/@texastribune)

scy, (edited ) to linux
@scy@chaos.social avatar

fun fact:

“source” is a . The actual name of the command is “.”. That’s right, a single dot.

Many people expect . to be some kind of a shortcut for “source”, and yes, they’re equivalent in , but “source” is not guaranteed to exist in other shells. dash doesn’t have it, for example.

So, if you want to write your shell scripts as compatible as possible, use “.”, not “source”.

BigJesusTrashcan, to random
@BigJesusTrashcan@kolektiva.social avatar

shot from the fire. out on the east side

rml, to random
@rml@functional.cafe avatar

"I tried #SBCL, and something I noticed was that for any simple function, #lisp takes a moment to compile, which isn't acceptable for a #shell"

Is this really the case?? Doesn't sound right at all.

#Guile and #Chez both feel faster than #bash, for example.

https://www.youtube.com/watch?v=dCbTw9UOuS8

CarbonBubble, to random
@CarbonBubble@mastodon.energy avatar

stands accused of a “profiteering bonanza” after it made record first-quarter profits of more than $9.6bn (£7.6bn) 📈 in the first 3 months of 2023, even as & prices tumbled 📉 from last year’s highs https://www.theguardian.com/business/2023/may/04/shell-makes-record-quarterly-profits-of-nearly-10bn

glynmoody, to random
@glynmoody@mastodon.social avatar

accused of ‘profiteering bonanza’ after record first-quarter profits of $9.6bn - https://www.theguardian.com/business/2023/may/04/shell-makes-record-quarterly-profits-of-nearly-10bn absurd that this can happen as global temperatures rise uncontrollably - because of fossil fuels....

zleap, to random
@zleap@qoto.org avatar

Just announced shell made £7.7 billion in profit in the first 3 months of the year.

I am guessing this could be world wide profit rather than just in the UK.

,,,

stefan, to linux
@stefan@social.stefanberger.net avatar

Oh this is nice! 😍🐧

„A collection of pure POSIX sh alternatives to external processes.“

https://github.com/dylanaraps/pure-sh-bible

🏷️

autonomysolidarity, to random German
@autonomysolidarity@todon.eu avatar

‘Green colonialism’: Indigenous world leaders warn over west’s climate strategy

"World Indigenous leaders meeting this week at an annual summit have warned that the west’s climate strategy risks the exploitation of territories, resources and people.
New and emerging threats about the transition to a greener economy, including mineral mining, were at the forefront of debate as hundreds of Indigenous chiefs, presidents, chairmen and delegates gathered at the 22nd United Nations Permanent Forum on Indigenous Issues."

https://www.theguardian.com/world/2023/apr/23/un-indigenous-peoples-forum-climate-strategy-warning

autonomysolidarity,
@autonomysolidarity@todon.eu avatar
CharlieMcHenry, to random
@CharlieMcHenry@connectop.us avatar

Shell admits 1.5C climate goal means immediate end to fossil fuel growth - “The admission that continued growth in fossil fuel output is incompatible with 1.5C is significant, because it comes from one of the world’s biggest public oil and gas companies.” https://www.resilience.org/stories/2023-04-24/shell-admits-1-5c-climate-goal-means-immediate-end-to-fossil-fuel-growth/

fell, (edited ) to programming
@fell@ma.fellr.net avatar
jasonnab, to programming


Is there any tool to download public posts and retoots and reply toots of an inactive Mastodon account? I forgot to backup my posts before migrating, and I don't know a method that doesn't involve disabling inactivity on the account (and not sure what that will do).

smallcircles, to random
@smallcircles@social.coop avatar

Ha, great site. The "Conspiracy of Cartographers" with a nice logo to each map.

https://conspiracyofcartographers.com/petrofuture-gallery

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A engineer invented to make command line scripting easier with , because at a certain point scripts get too complicated and you need a Real Language.

https://github.com/google/zx/

This is exactly ’s use case from thirty-six years ago. But the kids want everywhere and would rather it take more work to convert their ascended scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

mjgardner,
@mjgardner@social.sdf.org avatar

@grin @sullybiker The main problem with scripts is that they’re glue for other commands that may or may not be installed and may or may not be the same as those used by the author.

It’s why has so much logic detecting the installed flavor of awk, sed, grep, diff, et al. “Portable” shell is like portable #C—riddled with brittle environmental tests (thus begetting things like ).

Even admitted defeat and can run from a now.

mjgardner,
@mjgardner@social.sdf.org avatar

@AlgoCompSynth https://fuckgov.org/@h “Readable” implies what the reader already knows how to read.

Your reply is to a post where I specifically said the point was about converting from .

If you don’t know how to read a script you definitely don’t know how to convert it to another language. You’ll be doubly handicapped if the new language is nothing like the old.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines