Email or username:

Password:

Forgot your password?
591 posts total
Andrew Tropin

I finally found what can be worse than 10k forest run in the morning: it's 12k run with ultra trail running girl 😃 In the second part of the run I wanted to vomit and lay down in embryonic pose at the same time.

After that we jumped into a freaking cold mountain river and swimmed for a couple minutes.

Nevertheless, it is a good start of the day, I worked quite hard and was keeping focus relatively easy today. Also, my legs hurt much less than they were before run. It's Yoga cool down I guess?

Andrew Tropin

Is there an #API #documentation where all procedures and macros are listed or searcheable for #guilehoot? I was looking for `procedure->external` today and had to peek into the source code (not for the first time). A searcheable index would be handy.

#guile #hoot #lisp

Andrew Tropin

Fully-declarative deployment of 2-nodes Kubernetes cluster :kubernetes: successfully done with Guix :guix:!

The only manual step was generating a worker token to connect a worker kubernetes node to the controller and copying it to the respective host. It can be automated, but not today.

Check out the source code: cons.town

Imagine, what kind of fun we can have with it now?

#guix #kubernetes #k8s #k0s #nix #nixos

Show previous comments
Mark Derricutt (talios)

@abcdw Sounds awesome - hard to see exactly whats going on fully just in that screenshot - would love to see a short video going thru what you've got working here.

futurile

@abcdw Can the cloud init stuff be upstreamed? That would be great to have in #guix

Andrew Tropin

Do you use ssh on standard or non-standard port?

I deployed two machines with sshd on 22 port and already a bit tired of bots knocking into it.

#ssh #Linux #bsd #freebsd #openbsd #gnu

Anonymous poll

Poll

22
64
49.2%
Non-standard port
56
43.1%
Do some other cool trick
10
7.7%
130 people voted.
Voting ended 25 October at 7:12.
Show previous comments
dok

@abcdw on 22 unless not available, but in both case you will get bots trying to login. At first i used fail2ban but now i only accept connection with an sshkey

ikt 🇺🇦

@abcdw just 22 with fail2ban

also have it set to increase in ban time every failed attempt

# initial ban time:
bantime = 1h
# incremental banning:
bantime.increment = true
# default factor (causes increment to double bantime):
bantime.factor = 1
# max banning time = 8 week:
bantime.maxtime = 8w

abbe

@abcdw with sshguard enabled, that adds the failed login sources to an nftables ipset, or a pf table

Andrew Tropin

Trying to deploy kubernetes cluster with Guix.

guix deploy fails multiple times in different ways :/

The most annoying part that it somehow makes ssh daemon to stop responding, so I have to restart VPS after such occasions. Also, the deploy of 0-diff system is very slow for some reason.

Another funny observation: shepherd doesn't respond to `herd status` during guix deploy.

Definitely need to find out why it happens, but today goal is to get k8s cluster running.

#guix #kubernetes #k8s #k0s

Andrew Tropin

I think recent guix deploy got a progress bar. Now it's more comfortable, when you can see that something is happenning under the hood.

#guix

Andrew Tropin

⚠ If you’re using #Guix, consider upgrading ‘guix-daemon’ now 👇
guix.gnu.org/en/blog/2024/buil

Fellow hacker Reepca (Caleb Ristvedt) found two related vulnerabilities allowing for a takeover of the build user accounts used by guix-daemon, which in turn could let anyone interfere with build processes.

Andrew Tropin

After coming back from 1week trip in the mountains I was reviewing my backlog and found out that there is a grant application deadline today. So my sunday looks like: a 10k run, turkish breakfast, a bit of yoga and 5h work on application.

Kyle

@abcdw a long Turkish breakfast after a long run after a long hike sounds like an ideal development ritual to me!

Andrew Tropin
It's me hiding from any javascript related work I have in my current projects.

#javascript #js #ts #typescript #web #webdev
Andrew Tropin

I feel myself free, actually. Thank you everyone, who is helping me with that.

Andrew Tropin

I've started a project of my own in (1) but it seems like I have to move to (3) if I want to get it done already. I just couldn't maintain the (1).

I could try to rewrite 2 to 1, but it's much time again and I need some well-tested and working Wayland Interop with lisp already... Time to learn some Common Lisp.

Special thanks to Andrew (@abcdw) and #RDE project that has feature-lisp (common) packed and all the Developer Env needed is already a part of it.

Andrew Tropin

State of #wayland bindings in some #Lisp's

1. #Guile Scheme - github.com/guile-wayland/guile; raw, WIP, really big, has some C incrustations and unreliable: sigsegv sometimes, hard to debug

2. #Racket Scheme - http/github.com/acarrico/wayland-protocol. Same approach as guile, but ~ 5-6 times less code. no pure C files. Seems very good although lacks tests and the last commit ~ 8y ago

3. #CommonLisp - github.com/sdilts/cl-wayland & sr.ht/~shunter/wayflan. Both are polished, tested & well-maintained

State of #wayland bindings in some #Lisp's

1. #Guile Scheme - github.com/guile-wayland/guile; raw, WIP, really big, has some C incrustations and unreliable: sigsegv sometimes, hard to debug

2. #Racket Scheme - http/github.com/acarrico/wayland-protocol. Same approach as guile, but ~ 5-6 times less code. no pure C files. Seems very good although lacks tests and the last commit ~ 8y ago

Grigory Shepelev

I've started a project of my own in (1) but it seems like I have to move to (3) if I want to get it done already. I just couldn't maintain the (1).

I could try to rewrite 2 to 1, but it's much time again and I need some well-tested and working Wayland Interop with lisp already... Time to learn some Common Lisp.

Special thanks to Andrew (@abcdw) and #RDE project that has feature-lisp (common) packed and all the Developer Env needed is already a part of it.

Grigory Shepelev

take my word back on cl-wayland. it's not so friendly as I've expected. guy build a WM on top of it so that's why I thought it's reliable.

Andrew Tropin
My new home for the next couple month. Will go through Lucian way, climb and run preparing for marathon. Will be away from civilization for a week during the hike, but after that will come back to base camp and do some guile, guix and hoot work.
Andrew Tropin

So you can type “, supertuxkart” or “, objdump -T whatever” in your shell and it will do the right thing!

lynn
@civodul i can't tell if i love this or hate it. i think i love it though
Simon Tournier

@civodul What could be nicer: “guix run supertuxkart” or “guix run objdump -T whatever” and do all the dance under the hood.

Well, “run” or whatever other verb. :-)

This way, it would “run” with any shell.

Andrew Tropin

# #Guix trick borrowed from Nix folks: the comma shell function,
# fitting in a single toot, with comments.
#
# Run then given command via 'guix shell'.
function ,
{
pkg_ver="$(set -o pipefail; guix locate "$1" | grep /bin/ | head -1 | cut -f1)"
pkg="$(echo $pkg_ver | cut -d@ -f1)"
test -n "$pkg" && guix shell "$pkg" -- "$@"
}

Ludovic Courtès

So you can type “, supertuxkart” or “, objdump -T whatever” in your shell and it will do the right thing!

Pjotr Prins

@civodul checking - it is not April fools day?!

Andrew Tropin

A fast and responsive manhatten track in the JBrowse2 genome browser written in @guile hoot wasm! Zooms in to gene and SNP tracks quickly. Coming to GeneNetwork.org soon.

Andrew Tropin

🗞️ The September issue of RDE Monthly is out!

The best monthly newsletter about Guix, Guile and RDE ecosystems.

Brought to you 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/66

Stay informed, stay engaged!

🗞️ The September issue of RDE Monthly is out!

The best monthly newsletter about Guix, Guile and RDE ecosystems.

Brought to you 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.

Andrew Tropin

I'm curious, who drew this picture of me?

#notmuch #email

Evergreen Toot fka Chip Butty

@abcdw are you hiding in the background? I only see a picture of me

Andrew Tropin

> Jiu-Jitsu - the art of gently folding clothes with people still in them.

Andrew Tropin

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.

Go Up