aral, to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: Kitten’s interactive shell (REPL) now saves session history scoped to your app so it will still be there when you next serve the same app.

https://codeberg.org/kitten/app#kitten-s-interactive-shell

I think I’m done with the REPL feature now.

Going to take a little break, step away from the computer, and make a plan for the next week of work on Kitten and Domain¹.

¹ https://codeberg.org/domain/app

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Small update on Kitten’s new interactive shell (REPL). You can now access Kitten’s router via:

kitten.app.router

Also updated the section in the tutorial to fix typos in some of the code examples and use the new router key path:

https://codeberg.org/kitten/app#kitten-s-interactive-shell

:kitten:💕

LibrarianRA, to delhi
@LibrarianRA@worldkey.io avatar

SHELL Research shrinks inappropriate traffic boners. 1938
.
@GayOldTime

CarbonBubble, to random
@CarbonBubble@mastodon.energy avatar

About 78% of shareholders voted on Tuesday for the group’s revised strategy under which it will cut more slowly than previously planned https://buff.ly/4bDKja2

tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using , what's actually wrong with it?

aka What are the sharp edges?

mjgardner,
@mjgardner@social.sdf.org avatar

@tripleo I would also be remiss not to mention #Perl's included perltrap manual page, which notes both the strict and warnings pragmas and also has nice lists of things for those coming from other #programming languages and tools like #AWK, #C and #CPlusPlus, #JavaScript, #sed, and #shell.

https://perldoc.perl.org/perltrap

arn_fai, to accessibility French
@arn_fai@toot.aquilenet.fr avatar

Pour cette 13ème édition de la journée mondiale de sensibilisation à l'accessibilité , ARN, @hackstub et le groupe a11y-libre, propose à toutes les personnes qui pratiquent la ligne de commande, un hackaton « asynchrone » sur le thème « ligne de commande et cécité » !

Vous avez jusqu'au 31 mai, pour envoyer vos contributions. Il y a de nombreux lots à gagner.

https://arn-fai.net/fr/blog/shell-accessible

dougiec3, to random
@dougiec3@libretooth.gr avatar

Oil corporations making record profits ready to end democracy for more money.
"Biden wants to eliminate the tax breaks, which include long-standing incentives to help drill for oil and gas, with a recent White House budget proposal targeting $35bn in domestic subsidies and $75bn in overseas fossil fuel income."
https://www.theguardian.com/us-news/article/2024/may/16/donald-trump-big-oil-executives-alleged-deal-explained
#Oil #Shell #Exxon #Occidental

br00t4c, to geopolitics
@br00t4c@mastodon.social avatar
FTM_nl, to random Dutch
@FTM_nl@ftm.nl avatar

Sinds 2016 biedt Shell basisscholen gratis lesprogramma’s aan. Ruim 205.000 leerlingen uit groep 7 en 8 hebben van Shell geleerd hoe ze een duurzamere wereld kunnen creëren. Maar wat leert het oliebedrijf ze precies? We verkregen het lesmateriaal, keken mee in de klas, en vroegen een psycholoog en een pr-expert om hun oordeel over wat Shell wel (en niet) in het lespakket heeft gestopt. https://www.ftm.nl/artikelen/fossiele-pr-shells-kindermarketing

astridpoot,
@astridpoot@mastodon.social avatar

@FTM_nl wij stonden ooit op een maakevent met onze stichting naast de stand; de berg afval van de shell zoutauto’s leidde bij ons gelukkig nog tot creativiteit 😎

plastic kunstwerk

CarbonBubble, to random
@CarbonBubble@mastodon.energy avatar

sold millions of ‘phantom’ carbon credits https://buff.ly/4bo6iSd via FT

textovervideo, to python
@textovervideo@fosstodon.org avatar

pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.

https://pyinfra.com/

br00t4c, to random
@br00t4c@mastodon.social avatar

Shell company steering $2.6 million to Republican PACs raises concerns of illicit funding scheme

http://opensecrets.org/news/2024/05/shell-company-steering-millions-to-republican-pacs-raises-concerns-of-illicit-funding-sch

br00t4c, to Texas
@br00t4c@mastodon.social avatar

'Pathetic Shell' Ted Cruz Gets Blunt Reminder After Over-The-Top Trump Defense

https://www.huffpost.com/entry/ted-cruz-trump-reminder_n_663c7840e4b048f80e99f9e4

ehmicky, to programming
@ehmicky@fosstodon.org avatar

We just released Execa 9, which is our biggest release so far.

If you're currently using Execa, you should check out the new features! Also, if you're currently using zx or Bun shell, you might be interesting in this alternative.

https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f

br00t4c, to random
@br00t4c@mastodon.social avatar
br00t4c, to random
@br00t4c@mastodon.social avatar

Shell sold millions of carbon credits for carbon that was never captured, report finds

https://www.cbc.ca/news/climate/shell-greenpeace-quest-1.7196792?cmp=rss

br00t4c, to random
@br00t4c@mastodon.social avatar
CelloMomOnCars, to Canada
@CelloMomOnCars@mastodon.social avatar

sold millions of 'phantom' to Canadian oil sands firms - FT

"Shell sold millions of carbon credits tied to CO2 removal that never took place to 's largest oil sands companies, Financial Times reported Sunday, raising new doubts about a technology seen as important in reducing greenhouse gas emissions."

https://seekingalpha.com/news/4100535-shell-sold-millions-of-phantom-carbon-credits-to-canadian-oil-sands-firms-ft

lily, to linux
@lily@glaceon.social avatar

here's a tip if a command is taking a long time and you want a notification when it's done:

^Z fg; notify-send 'done'

pressing Ctrl-Z in a terminal emulator will pause the current running command. running "fg" will resume it in the foreground, but returning to the shell has the added benefit of allowing you to queue up multiple commands in a single line (technically you can do this by blindly typing the command while something else is running (as long as that command doesn't read from stdin), but i think this is more elegant.

notify-send is from libnotify, it allows sending a desktop notification from the command line.

#linux #shell

br00t4c, to random
@br00t4c@mastodon.social avatar

Shell's bumper GBP6.1bn profits sparks anger from climate campaigners

https://www.independent.co.uk/news/uk/home-news/shell-profits-environment-climate-change-b2538463.html

br00t4c, to random
@br00t4c@mastodon.social avatar
CarbonBubble, to random
@CarbonBubble@mastodon.energy avatar

PFA, Denmark’s 🇩🇰 biggest pension fund, has revealed it has divested its entire holding in , citing recent disappointment with the giant’s climate stance https://buff.ly/44mGPWU

jutty, to programming
@jutty@bsd.cafe avatar

After a while trying to understand if either ksh or zsh provided a way to prevent taking strings and undefined variables as 0 when doing arithmetic evaluation, there seems to be no feature specifically for it, sadly.

Closest is using set -o nounset (ksh) and setopt no_unset (zsh) to prevent undefined variables from evaluating to zero. If a "string" contains only numbers, a dot and whitespace, it will be treated as a number. Also, if it only contains the name of any other variable and whitespace, it evaluates to that.

Not that I expected shell languages to provide accurate arithmetic.

As a bonus though, it was cool learning about ksh's compound variables, force_float option and especially discipline functions.

dcz, to Bash
@dcz@fosstodon.org avatar

with which I surprised greybeards at the local hackerspace (which was surprising cause I'm the opposite of a expert):

mv photo{tocheck,supercool}.jpg

is the same as

mv phototocheck.jpg photosupercool.jpg

The shell copies an argument with {,} inside, and each resulting argument has a different part of what's in {}.

rm plan.{md,svg,png,odt}

Have fun!

CelloMomOnCars, to random
@CelloMomOnCars@mastodon.social avatar

2024 Season
Investors file record number of for North American companies

"A record 263 climate-related shareholder resolutions have been filed so far this year for annual meetings of North American companies, a new tally showed on Tuesday, with proponents tailoring their wording to gain support."

https://www.reuters.com/business/environment/investors-file-record-number-climate-resolutions-north-american-companies-2024-03-26/

CelloMomOnCars,
@CelloMomOnCars@mastodon.social avatar

" shareholders on Tuesday rejected a resolution filed by a group of investors urging the energy company to set tougher climate targets.

The meeting was disrupted several times by climate protesters chanting "Shell kills". protesters also held a demonstration outside the meeting."

https://www.reuters.com/sustainability/climate-energy/shell-shareholders-reject-investor-climate-resolution-2024-05-21/

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