Email or username:

Password:

Forgot your password?
591 posts total
Andrew Tropin

I'm not sure if it's still a scrumble eggs or it already became a salad.

My morning "ship of Thesius" phylosophy routine here.

A picture of breakfast: scrambeled egg with a lot of vegetables and some blueberries, cup of tea and laptop on the wooden table.
Andrew Tropin

Planned to do my schedule cleanup for next week in peace.

Picture of table on the balcony, laptop, cup of tea,  trees around and mountains somewhere in the view sight.
Andrew Tropin

Worker peacfully cleanups the street. Tanks and militaries are walking around.

Andrew Tropin

Accidentally broke through 95 WPM. How much time will it take to go from 75 (my current average) to 100 WPM?

#keyboard #dvorak

Screenshot of keybr.com, where the typing speed 96.76 WPM.
Andrew Tropin

I do my 6-minutes typing workouts in between other tasks, so my brain get confused which of the activities is work and which is rest, so I mostly recieve a feeling of pleasure and satisfaction out of typing practice.

Andrew Tropin

OnlyFans as a monetization model for fit FOSS maintainers? πŸ€”

Krafty :arcolinux: :neovim:

@abcdw Markiplier's tasteful nudes calendar but it's Linus Torvalds

Andrew Tropin

@mianmoreno made a thread on real-world rde configurations examples. Don't hesitate to press reply to thread button and share your.

There is a config by authors of dwl-guile and a few more quite interesting ones.

lists.sr.ht/~abcdw/rde-devel/p

#rde #guix #guile #scheme #lisp

Andrew Tropin

Talking today about Concurrency in Scheme and Fibers. Starting in 3 hours.

youtu.be/jrwfl_hIcS4
trop.in/stream

Kudos to @wingo, @aconchillo, @civodul and all other people working on github.com/wingo/fibers.

#guile #scheme #lisp #concurrency

Andrew Tropin

I noticed it only recently, but somebody radically improved guix profiles build time and now I can enjoy rebuilding my home environment. Kudos to him!

#guix

Andrew Tropin

Almost made guile-nrepl work with Rail Emacs nREPL client. It evaluates expressions, but doesn't print the prompt yet.

git.sr.ht/~abcdw/guile-nrepl
github.com/Sasanidas/Rail

#guile #scheme #lisp #clojure #nrepl #emacs

Log of guile-nrepl on the left, and rail emacs nrepl client on the right.
Nikita Domnitskii

@abcdw my legacy lives! :ablobcatattentionreverse:
Also rail sounds very interesting, exactly what I wanted

Andrew Tropin

The ultimate productivity tip: Add a task to your day agenda that you really don't want to do, and all other tasks will turn into a pure joy.

Andrew Tropin

What should I use for binary ports in scheme?

(scheme base), (ice-9 binary-ports) or something else?

The same question about (rnrs conditions) and (ice-9 exceptions).

#scheme #lisp

blake shaw πŸ‡΅πŸ‡Έ

@abcdw for ports in general I use (rnrs io ports), but with exceptions you get the weird the r6rs error messages, which while fine on their own & r6rs providing the superior conditional system, they are disjoint from Guile's style which feels a little clunky

Andrew Tropin

I went with (scheme base) aka r7rs for binary port and (ice-9 exceptions) aka guile exceptions, but this fragmentation of ecosystem is not cool at all and raises learning curve to the sky.

git.sr.ht/~abcdw/guile-nrepl/c

#scheme #guile #lisp

Ludovic Courtès

@abcdw My personal preference: (ice-9 binary-ports) if you’re writing Guile-only code, or (rnrs io ports) if you’re aiming for R6 portability. These interfaces are roughly synonyms; the R6 one just pulls in more stuff.

(I’m skeptical of R7, I think it didn’t start on the right foot.)

Andrew Tropin

Good video by Prot about emacs' built-in isearch, occur, grep and a few external packages for search and replace:
youtu.be/f2mQXNnChwc

#emacs

Andrew Tropin

We added EXWM to rde, so if you want to try out rde, but don't want to switch to wayland yet - you have an option now! :)

lists.sr.ht/~abcdw/rde-devel/p

#rde #guix #wayland #emacs #exwm #sway

Andrew Tropin

Continuations Brief Summary. Studied the topic a bit and brought you a write-up. Should be interesting for people related to programming, and especially for scheme and lisp users.

trop.in/blog/continuations-bri

#programming #scheme #lisp #clojure #commonlisp #callcc #continuation

Screenshot of the article about contiunations.
Kazinator

@abcdw

In TXR Lisp I invented an alternative way to dealing with the local, scope-tied resources of blocks of code that are being entered and exited by continuations. (Like say you have a recursive walk with local resources, which is using continuations to yield incremental results elsewhere.)

Bascially, I allow a Lisp form to be terminated by "absconding": a dynamic non-local return, without any unwinding. This allows continuation switches to be clean, like thread context switches.

Andrew Tropin

I remember watching a talk about some fancy REPL-related stuff (probably not about REPL itself, but it was extensively used in the demo) by a girl doing some R&D in this topic, but I don't remember the name and don't know how to find it :/

Share a link, please, if you accidentially know what am I talking about.

#lisp #scheme #commonlisp #guile #clojure

Andrew Tropin

Tonight a few friends sent me a message that #rde is on a front page of Hacker News. Is it something good?

news.ycombinator.com/item?id=3

trop.in/rde

#guix #nix #hn #hackernews #scheme #lisp #guile

Message in matrix about rde being on front page of hackernews
AJ Armstrong

@abcdw Like being on Slashdot, back in the day.

David Wilson

@abcdw frontpage of hackernews can either be a blessing or a curse. So far the comments on this post seem complimentary of Guix, at least.

Andrew Tropin

Is there is a good reason to have multi-value return in #Scheme? It seems returning a vector does the trick quite well. Am I missing something?

Tom :emacs: :guix:

@abcdw the only thing I can think of right now is just being explicit about it. Returning a vector doesn't help anyone understand that the vector is of a fixed length, or technically a tuple.

oh actually I guess one thing I like about the ability to do it in Common Lisp is that unless you explicitly need the other return values you just get the first one. Although I guess that could be seen as a downside too.

anyway, that's just my speculation and opinion, I don't usually need or want it.

Andrew Kravchuk

@abcdw I think this generally might be related to low-level optimization, like compiler being able to spill mutliple values into registers, as opposed to vector, which should be honest-to-god allocated in heap (or on stack).

Felix Lechner

@abcdw It is a game changer: "the Hoot-compiled WebAssembly ... is five times faster than native Guile!"

Zelphir Kaltstahl

I feel like some amazing stuff has been done recently in the Guile world.

Luis Felipe

@abcdw

"The web should be for everyone. We hope Hoot paves a path so that more languages may enter the web, including Python, Lua, Haskell, ML, and friends."

That's what I'm eagerly waiting for :)

Andrew Tropin

rde meetup #3 will take place this saturday, 13:00 UTC.

We plan to discuss rde roadmap, modal editing and how to improve documentation.

lists.sr.ht/~abcdw/rde-announc

Go Up