fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#repl

1 post1 participant0 posts today

More on #git
Your push can be rejected
since you might be working with
a bot/ person . action .. ( --force-with-lease)
on the same page at the same time or the same remote path and same branch or any such possibility ( unlikely but possible)

then your can
- see the diff bw remote & your local with
git remote branch:branch
or
git diff @{upstream-of-the-remote}

-- Basically when a tool has a feature in all cases for a purpose, you need know howto for any ambiguity which could arise out any sequence of those possible case.
There s no way to have it in advance
and hence a good or bad dev #UX or #repl are so important
eg --porcelain disables the summary's "helpful" habit of simplifying refs/heads in ways that make them ambiguous if you've made a mistake in your config.

I just discovered Jshell, a Java REPL shell. It's like Python's interactive shell , but in Java ;-)

It's not new. Jshell was introduced in ... Java 9. Shame to me I only learn about it in Java 23!

asciinema.org/a/nKxwuTgFPEeHgL

asciinema.orgJshell 23.0.2 demoAre you aware you can now *script* Java ? Did you know Java has an interactive shell? Showing use of the shell, performing Base64 encoding/decoding, functions, completion etc.
#java#repl#shell

#programming #commonLisp #emacs #repl versus #orgmode for the #fizzbuzz challenge on #medium.
Using #series #lazyEvaluation
medium.com/@screwlisp/fizzbuzz
I think it ended up pretty interesting, and what you would expect. The repl is a better interactive experience, but the noweb tangle optimizes in ways the separate repl lines can't, and is already in a disk-persisted file.

Looking forward to feedback and commentary ( @ksaj ;p)

Your web server having an interactive shell (REPL) where you can live update entries in your site/app’s database is pretty neat (if I do say so myself) :)

kitten.small-web.org/reference

(I’m porting the Small Technology Foundation site¹ from Site.js² – and hence from being a static site generated via Site.js’s integrated Hugo³ – to Kitten⁴. In the process, I’m creating an admin panel⁵ for the news, events, and videos sections, which will make them easier to update, and storing the data in Kitten’s internal JavaScript Database⁶.)

¹ small-tech.org
² sitejs.org
³ gohugo.io/
kitten.small-web.org
⁵ It’s trivial to create authenticated routes in Kitten. You just add a lock emoji (🔒) to the end of your route’s name. e.g., admin🔒.page.js or /admin🔒/index.page.js (see kitten.small-web.org/reference).
codeberg.org/small-tech/jsdb

#Kitten#REPL#shell

(Towards):
A #sidescrolling #textAdventure #game as the host of a Pratt Grammar #Parser:
lispy-gopher-show.itch.io/lisp
#itch #itch_io #gameDev #lisp #commonLisp #repl

Sharpsign lengthy and wandering. Sharpsign happy 2025

Basically, I was having trouble imagining parsing a grammar at all. So I imagined input tokens as a sidescroller level I could cdr-code speedrun passes of. And you know, when lisp people imagine things it happens in real life too.

So my question is, what's an intuitive way to use dropping-in- #fortran from the #lisp #repl ?
Reading a .f file ~ into a let* form which I'm currently doing seems kind of bland. #f( this(1) = is(2) + a / fortran * line) seems kind of uninspiring (who would want to express themselves like this). Maybe Enter "fortran mode" and read lines of fortran from *standard-input* with normal interactive evaluation hacked in?

The fortran becomes #series expressions in lisp.

Continued thread

1) Understand the domain
2) Domain modelling (#ModelInCode)
3) Let a test drive us (#TDD)
4) Implement the controller
5) Drive the core implementation by a test (TDD again)
6) Extend the business logic facade (#HexagonalArchitecture)
7) Implement the command
8) Implement the event projection (#EventSourcing)
9) Implement the database access (#OnionArchitecture)
10) Release it (#CI_CD)
11) See your changes at work (#REPL #FSI)

With code samples in #dotnet

Guix Social next Thursday (January 16th). There will be a talk by @abcdw about his Guile Scheme IDE for Emacs, and the underlying Nrepl project that can be used by any editor. For all the details:

meetup.com/guix-social/events/

Andrew also has many other projects, including RDE an extension to Guix. Come along and ask him questions!

@fnat

MeetupTalk by Andrew Tropin - Arei/Ares: A modern, extensible IDE for Guile Scheme, Thu, Jan 16, 2025, 6:00 PM | MeetupGuix Social with talk by Andrew Tropin [Andrew](https://trop.in/) is a well-known Guile, Guix and Free Software Hacker. Many people in our community know of his Guix distr
#guix#guile#scheme

I'm working on some Emacs Lisp code to make REPL Driven Development a nicer experience in Python. Since before, I do this already by sending code to an IPython shell buffer (old blog post in thread).

But I have always missed the nice DevX from Cider & Clojure, where the evaluated result is displayed right next to where my eyes are focused on (the current line of code).

I hope to be able to develop a package (or maybe just a config) shortly.