Email or username:

Password:

Forgot your password?
212 posts total
WarmasterPalak

@davidaugust

Most mental illness is inflicted on others by the mentally ill with this mindset. Social conservatism is low-grade psychopathy. Prove me wrong.

Grigory Shepelev

Packed the latest #android studio (koala) into #guix channel (using contaniners, same as steam in nonguix channel)

github.com/shegeley/gundroid

It runs with just one command. It won't create the desktop icon. Will try my best to fix this, cleanup, order and setup ci/di next few weeks.

Grigory Shepelev

Update: damn, it's still need some manual work and patching. You'll need to replace downloaded android ask qemu with yours system qemu via symlink or patchelf the studio-downloaded one.

Grigory Shepelev

Guile Goblins 0.14.0 is out!

Goblins is Spritely's distributed programming library and this time around we've got a lot of improvements to our persistence layer and also we can now communicate over libp2p!

spritely.institute/news/sprite

@tsyesika did a lot of incredible work on this release!

Grigory Shepelev

Joke primarily for russian-speaking people.

There was a period in my life when I listened to the podcasts a lot. And at the time I often heard about the guy Eric Stoyle. He wrote this, said that, etc. I was like who the f is Eric Stoyle? Some kind of One Direction star?

On the 40th time hearing that name I've found out it was Aristotle.

Grigory Shepelev

It seems like I'm finally set the javascript+typescript (just the basics & node [backend] only for now)

Had to copy-paste feature-javascript from Andrews (@abcdw) #rde into my own config and tweak a little: upgrade node to the current LTS version and, add yarnrc&npmrc options and ts-node package.

Grigory Shepelev

Second disappointment of today is privateinternetaccess.com (PIA) VPN service. I've been using it > 3 years. It's mostly normies-oriented: has andoid/ios app and chrome/firefox extension.

The problems began when russian gov. banned PIA by their IP addressed and I had to go deeper to configure it properly to use their own SOCKS proxy with VPN connection.

There is no good GUI-configurator for that usage nor example files.

Everything is generated with scripts. Unhandy

github.com/pia-foss/manual-con

Second disappointment of today is privateinternetaccess.com (PIA) VPN service. I've been using it > 3 years. It's mostly normies-oriented: has andoid/ios app and chrome/firefox extension.

The problems began when russian gov. banned PIA by their IP addressed and I had to go deeper to configure it properly to use their own SOCKS proxy with VPN connection.

Grigory Shepelev

In this directory they have token-based auth. You have to send your creds and get the auth token and then use it to connect to openvpn or wireguard.
Token generated by curl post request on privateinternetaccess.com/api/client/v2/token.

The only problem is the endpoint is completely unresponsive and there is not single issue about it in the repo....

:blobcatthumbsup:

Grigory Shepelev

I'm setting up my development environment for #nodejs + #typescript cos I'll probably have to come back to programming with it to make a living (clojure(+script) jobs are hard to find in Russia) and God I am crying why is it still so fked up? 😭 :nodejs: 💩

I just created 2 2-lines sample typescript files to test my env and had to spend ~ 3 hours figuring out why ts-node won't run, why it won't resolve es6 module naming, why tsx (ts-node alternative) won't build completely and so on.

Данила Горелко

I asked my friends. A couple of samurai-clojurists joined https://gmonit.ru/. There seem to be no clojure vacancies on the site, but it's better to email them directly and find out.

Grigory Shepelev

A usual day of a life of Linux distro developer: rebuild the kernel to trace the bug in a library transitively used by almost any graphical/media application in your system, which causes complete system crash.

The funniest thing is that all this work is needed just to make my webcam work ><

Intel, you could do a better job for IPU6 support on Linux platforms yourselves.

Great thanks to libcamera devs for responsivness and cooperation.

#linux #gnu #guix #rde #intel

Grigory Shepelev

🗞️ A new (4th) issue of RDE Monthly is out!

The newsletter about Guix, Guile and RDE ecosystems by Kirill Yermak and community.

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

Events, Releases, Announces, Articles and Videos, everything from the last month collected in one place.

Contribute to the next issue:
todo.sr.ht/~abcdw/tickets/65

Stay informed, stay engaged!

#guix #guile #rde #nix #nixos

🗞️ A new (4th) issue of RDE Monthly is out!

The newsletter about Guix, Guile and RDE ecosystems by Kirill Yermak and community.

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

Events, Releases, Announces, Articles and Videos, everything from the last month collected in one place.

Grigory Shepelev

I think Christine Webber should be nominated the `Honorary Scheme Archeologist'. Rather than reinventing the wheel (as the Rust community appears to be doing) she pulls out these gems and encourages others to look at them. And because I am looking at prescheme: my vote for dustycloud.org/blog/guile-stee. And then there is a lot more - look at goblins, hoot etc. It is quite incredible.

sattellite

@ZySoua емнип, взаимодействие в правом верхнем углу не такая уж и редкая картина в космосе. Три звезды образуют бинарное взаимодействие, две звезды как одно тело и третья звезда уравновешивает их.

Grigory Shepelev

Want to learn about reviewing #guix patches? Just published jgarts talk about using Mumi and RDE:

youtu.be/8m8igXrKaqU?si=xfFhcd

He discusses using RDE to configure email and git-send-email which is such a big pain point - on #fedora or any foreign distribution (for me that's #ubuntu). Also some chat about #GNU debbugs instance and how Mumi makes it easy to use!

@fabionatali @abcdw

Andrew Tropin

@futurile @fabionatali Thank you for recording! added to my watch list.

Grigory Shepelev

I had a lot of talks recently with Guile hackers, explorers and
educators on the cons and pros of Guile.

One particular issue is a lack of common language idioms and best
practicies. The zoo of SRFIs and ICE-9s, 3 implementation of
exceptions, 3 of records and a bunch more.

On possible solution is a style guide, which contains idioms, best
practices for writing Guile. We can start simple as
github.com/bbatsov/clojure-sty and grow it into
something like practical.li/clojure/testing/u.

WDYT?

#guile #lisp

I had a lot of talks recently with Guile hackers, explorers and
educators on the cons and pros of Guile.

One particular issue is a lack of common language idioms and best
practicies. The zoo of SRFIs and ICE-9s, 3 implementation of
exceptions, 3 of records and a bunch more.

On possible solution is a style guide, which contains idioms, best
practices for writing Guile. We can start simple as
github.com/bbatsov/clojure-sty and grow it into
something like practical.li/clojure/testing/u

Show previous comments
Noé Lopez

@abcdw As someone learning guile for guix how am I supposed to remember all those module names!!! srfi-34 ice-9, give them a name please! Also would be nice if there was some kind of prelude module that had all the common modules exported.

Jeko

@abcdw

Maybe it can help if newcomers can refer to a list of useful dependencies to start different kind of projets. Say web, cli, gui...
i.e. it would not aim to present all existing web server lib, just the one simple enough to get started. Same for databases, etc....
Kind of way to say "you can narrow your learning to this, and still be productive"

Ramin Honary
> "One particular issue is a lack of common language idioms and best practicies. The zoo of SRFIs and ICE-9s, 3 implementation of exceptions, 3 of records and a bunch more. On possible solution is a style guide, which contains idioms, best practices for writing Guile."

@abcdw I think this is a very good idea, although I would prefer the focus be more on R7RS standard Scheme more than Guile. And it will be very difficult since Scheme is not used often enough in industry.

I have been using Scheme myself to create a medium-scale application, and I have already started writing a series of blog posts about my experience, and what I have learned. I am still in the process of revising them, but I hope to publish them in the first week October, hopefully.

The thing is, I still have relatively little experience with Scheme, only about a year using it for real software engineering. So my blog posts are not really about "best practices," so much as they are about discussing the possible pros and cons of various techniques to solve problems. I have upcoming articles on the pros and cons of:

-

Scheme "environment" objects, and how the "load" procedure works across various Scheme implementations


-

Scheme "parameter" objects for dependency injection


-

Scheme monadic programming, including a discussion of SRFI 247: "Syntactic Monads"

I would also love to write articles about unit testing and type checking, but that will take some time.

@SadielEd @baleine @ekaitz_zarraga @ieugen @jeko @kakafarm @mirkoh @monkey1 @octorine @screwtape

> "One particular issue is a lack of common language idioms and best practicies. The zoo of SRFIs and ICE-9s, 3 implementation of exceptions, 3 of records and a bunch more. On possible solution is a style guide, which contains idioms, best practices for writing Guile."

@abcdw I think this is a very good idea, although I would prefer the focus be more on R7RS standard Scheme more than Guile. And it will be very difficult since Scheme is not used often enough in industry.

Grigory Shepelev

Finn Landweber published their bachelor thesis on #Git repo authentication for #Nix, inspired by #Guix’s, and it’s well worth a read!
landweber.xyz/ba.pdf

Ludovic Courtès

Chapter 4 has all the implementation details of git-verify, itself available here:
codeberg.org/flandweber/git-ve

Grigory Shepelev
> "Trying to figure out how to work with #guile #scheme in #gdb (gnu debugger) today for the most part of the day. Investigating sigsegv error in the scheme project of mine. Found no examples."

@shegeley you should probably install the developer build of Guile, something like "guile-3.0-dev" in the Debian (and derivative) Linux repositories.

Then what I do is actually run the whole Guile interpreter in GDB. Here is a script I use, I call it "gdb-guile.sh":

#! /bin/sh
gdb \
  -ex 'handle SIGXCPU nostop' \
  -ex 'handle SIGPWR nostop' \
  -ex 'run' \
  --args \
    guile "${@}";

To run it, I simply type

./gdb-guile.sh my-program.scm --args=to --my=program

If you use Emacs and Geiser, you can try setting the "geiser-guile-binary" variable to the full path of "gdb-guile.sh", I ususally set it in my ".dir-locals.el".

> "Trying to figure out how to work with #guile #scheme in #gdb (gnu debugger) today for the most part of the day. Investigating sigsegv error in the scheme project of mine. Found no examples."

@shegeley you should probably install the developer build of Guile, something like "guile-3.0-dev" in the Debian (and derivative) Linux repositories.

Show previous comments
Grigory Shepelev

@ramin_hal9001 I wonder if I can do that with guile-ares?

I'd like to plug something like:

-- args \
guile -L ./src -e "((@ (nrepl\ server) run-nrepl-server) #:port 7888)" (if that's a good idea)
but it expects file.

Grigory Shepelev

@ramin_hal9001 and how do you "switch" between gdb and guile when it's running in ddb?

Grigory Shepelev

@ramin_hal9001 I don't understand why it won't load symbols

Grigory Shepelev

Trying to figure out how to work with #guile #scheme in #gdb (gnu debugger) today for the most part of the day. Investigating sigsegv error in the scheme project of mine. Found no examples.

As far as I've got #gdb has integration with guile but it only allows to extend itself with guile, not call guile programs with ease and repl inside gdb... Maybe I am wrong. Continue research.

Ramin Honary
> "Trying to figure out how to work with #guile #scheme in #gdb (gnu debugger) today for the most part of the day. Investigating sigsegv error in the scheme project of mine. Found no examples."

@shegeley you should probably install the developer build of Guile, something like "guile-3.0-dev" in the Debian (and derivative) Linux repositories.

Then what I do is actually run the whole Guile interpreter in GDB. Here is a script I use, I call it "gdb-guile.sh":

#! /bin/sh
gdb \
  -ex 'handle SIGXCPU nostop' \
  -ex 'handle SIGPWR nostop' \
  -ex 'run' \
  --args \
    guile "${@}";

To run it, I simply type

./gdb-guile.sh my-program.scm --args=to --my=program

If you use Emacs and Geiser, you can try setting the "geiser-guile-binary" variable to the full path of "gdb-guile.sh", I ususally set it in my ".dir-locals.el".

> "Trying to figure out how to work with #guile #scheme in #gdb (gnu debugger) today for the most part of the day. Investigating sigsegv error in the scheme project of mine. Found no examples."

@shegeley you should probably install the developer build of Guile, something like "guile-3.0-dev" in the Debian (and derivative) Linux repositories.

Justice for Sepulveda Martinez

@shegeley new reply to a couple weeks old post, but .....depending on what you want to do you can run more or less full guile programs under GDB's extension system, however there are parts, for example calling DISPLAY that don't work. Multithreading is difficult. Any TUI libraries are non-starters (that I know!) like using guile-ncurses. I've got a guile extension that I've been on and off working on for several years now, and have run up against a number of limitations in the API, but I've still found it to be quite useful. Here's a link to the only other guile extension I know of, indeed the only guile extension published out in the wild, I thankfully forked it before it was taken private again github.com/dtpeters/gheap-jema
You might reach out to the author and see what his experiences were, I'd be very curious to hear what he says if you are able to make that connection.

@shegeley new reply to a couple weeks old post, but .....depending on what you want to do you can run more or less full guile programs under GDB's extension system, however there are parts, for example calling DISPLAY that don't work. Multithreading is difficult. Any TUI libraries are non-starters (that I know!) like using guile-ncurses. I've got a guile extension that I've been on and off working on for several years now, and have run up against a number of limitations in the API, but I've still...

Go Up