IRC channel logs

2022-10-25.log

back to list of logs

<a12l>Are `#t` and `#f` similar to ⊤ ⊥ in logic?
<jab>a12l: I believe so.
<jab>yes
<a12l>jab: Thanks!
<lechner>Hi, the 3.0.8 Guile Reference manual on the web has a dangling link under "Up:" at the top https://www.gnu.org/software/guile/manual/html_node/index.html
<dthompson>(compile '(values 1 2 3)) only returns the first value :(
<lloda>iirc there was a bug filed for that
<dthompson>in case anyone is interested, the lisp game jam is happening this friday, 10/28. it's a 10 day long jam for making games using your favorite lisp (which is guile, of course) https://itch.io/jam/lisp-game-jam-2022
<dthompson>there are some great options for making games with guile, such as tsukundere if you want to make a visual novel: https://gitlab.com/lilyp/tsukundere/
<dthompson>or chickadee for a general purpose game programming library: https://dthompson.us/projects/chickadee.html
<dthompson>or even guile-sdl2 if you just want to use sdl2 and build your own schemey abstractions https://dthompson.us/projects/guile-sdl2.html
<dsmith-work>Morning Greetings, Guilers
<dthompson>morning!
<spk121>dthompson: exciting. I did participate in that game jam once. It is fun
<dthompson>spk121: :)
***dongcarl is now known as Guest1624
***dongcarl8 is now known as dongcarl
***jpoiret2 is now known as jpoiret
<nckhexen>dsmith-work: Flood of sneek!
<dsmith-work>nckhexen: what happened?
<nckhexen>dsmith-work: OK, interesting. I banned sneek from #guix, and the excess floods here stopped.
<nckhexen>So I could unban it and it joined fine.
<nckhexen>This is just a guess, but maybe #guix (or #guix + #guile + any other sneeked channels) has become too big for sneek, and it floods out on rejoin?
<dsmith-work>(Note: I don't see /join /part messages)
<dsmith-work>Hmm. I'll look at the logs at home
<nckhexen>dsmith-work: https://paste.debian.net/plainh/6f66a7d3
<dsmith-work>How many are in #guix?
<nckhexen>IMO as a bot operator you should at least whitelist sneek join/parts, if possible.
<nckhexen>408 in #guix, 169 in #guile.
<dsmith-work>Ya, good point
<nckhexen>No, that's not a huge number, hence just a guess. I just don't know what else it could be.
<dsmith-work>!uptime
<sneek>I've been running for 7 minutes and 37 seconds
<sneek>This system has been up 11 weeks, 12 hours, 32 minutes
<dsmith-work>The bot got restarted
<dsmith-work>Prob cause it crashed somehow
<nckhexen>I'm not sure if the cause matters.
<nckhexen>Probably does, if it's halfway well-written. I'm totally unfamiliar with Bobot++ (sp?).
<nckhexen>But still, rate-limiting on very first connect should be possible.
<dsmith-work>nckhexen: Do you know how to whitelist join/part for a nick in erc?
*nckhexen is a frayed knot.
***justache is now known as justHaunted
<dsmith-work>heh
<nckhexen>I wish I could be of more help, but I know just enough about IRC to be harmful to my mental health, not a bit more.
<nckhexen>Barring finding the actual issue (which only you can do), is there any message rate limit you could tweak?
<nckhexen>dsmith-work: ☝
<dsmith-work>bobot++ does throttle outgoing messages.
<nckhexen>Hm.
<dsmith-work>That "excess flood" messge is from the bot. Looks like the bot is being flooded and quitting.
<nckhexen>Yes, but that's usually in response to something (WHO is a frequent favourite).
<dsmith-work>I really should set up ssh again so I can poke at it during the day.
<nckhexen>Hm, I might have misread what you meant. ‘Excess flood’ from the *client*? You sure?
<dsmith-work>That's the bot /part message, pretty sure
<dsmith-work>"25 Oct 18:45:07* sneek has quit (Excess Flood)"
<nckhexen>OK. What makes you think that?
<nckhexen>I grepped the source but didn't find it (and the hcoop repo appears gone).
<nckhexen>It's a poor choice of words if so.
<dsmith-work>In other news, my work is closing end of Feb. So I might be doing work-from-home in whatever new job I land.
<nckhexen>(Congrats!)
<nckhexen>‘sneek has quit (Excess Flood)’ traditionally means you've been booted off the server, so using it as a client, whilst possible, is pointlessly confusing.
<dsmith-work>Well, it might be looking-for-work at home...
<dsmith-work>Ahh..
<dsmith-work>YEah, I need to see the logs.
<dsmith-work>The bot's logs.
*nckhexen blindly assumed WfH was desirable, sorry if not. I'm sure you'll find something. You speak Scheme which makes you a wizard.
<dsmith-work>unknown_lamer: What's the latest bobot repo again? On sr.ht?
<dsmith-work>Or was it somewhere else?
*dsmith-work can't remember
<dsmith-work>!reconnect
<dsmith-work>!uptime
<nckhexen>I'll get me hammer.
<nckhexen>Or is this a test.
<dsmith-work>It was supposed to quit and reconnect
<nckhexen>Well, yes, but reconnecting triggers the flood.
<dsmith-work>Good to know
<nckhexen>I guess I was not clear above.
<dsmith-work>Question is, why?
<nckhexen>I think only you can tell for sure (or Libera).
<nckhexen>Do you want me to {,un}ban it in #guix, to trigger whatever changes then, so you have that logged as well?
<nckhexen>dsmith-work: ☝
<dsmith-work>I'll not poke at it until I get home. So whatever you did to make it stable, please do that.
<nckhexen>Banned for 10s, let's see.
<nckhexen>Yep, clearly related.
<nckhexen>Weird!
<dsmith-work>Has this just started? Or has it been going on for a while?
<dsmith-work>I wonder if there are any recent libera changes
<dsmith-work>!uptime
<nckhexen>Today was the first time I've ever noticed it.
<nckhexen>So 18:44 CEST.
<dsmith-work>sneek: botsnack
<sneek>:)
<dsmith-work>!uptime
<dsmith-work>Hmm
<dsmith-work>!uname
<nckhexen>dsmith-work: Would you indulge me (and gather more data)? That is, if you have ops here.
<dsmith-work>I do not
<nckhexen>Oh, public ChanServ flags, how civolised. wingo, you here?
<nckhexen>If recent user count increase is a factor, banning it from #guile should reduce it enough to have the same effect.
<nckhexen>Otherwise, maybe there is something particular about #guix, like a strange nick.
<dsmith-work>That has happened before
<dsmith-work>A funky nick would cause it to crash
<dsmith-work>The bot's wired up with systemd now, and reatarts after a crash
<nckhexen>systemd-ircbotd
<dsmith-work>I tried to get systemd to message me if it restarts (not start, restart)
<daviid>dthompson: nice! I would add kawa, in front of clojure, to the list of allowed dialects ... that would be help kawa to be known to those who wouldn't know already, and clojure already gets enough 'propaganda' :),just a thought...
<dsmith-work>Doesn't seem possible. The kind systemd folks on irc couldn't find a way either.
*dsmith-work wanders off, seeking food...
<nckhexen>dsmith-work: Okido, but unless the bot caches more things during other types of disconnections, such as netsplits or just random hiccoughs, this would happen then too. Impossible to say.
<nckhexen>May your forage be fruitful o/
<daviid>dsmith-work: https://savannah.nongnu.org/projects/bobotpp maybe?
<lilyp>dthompson: starling 0.1 when?
<fredg>hello o/
<nckhexen>dsmith-work: I've set another 3h-ban. Ping me if you get back before then.
<dsmith-work>ISTR bobot was latest was somewhere else
<dsmith-work>Got it: https://git.hcoop.net/clinton/bobotpp.git
<dsmith-work>sneek: version
<sneek>Sneeky bot running on Guile version 3.0.3 using bobot++ release.2.3.1-6-a463-dirty
*nckhexen gets the unbanhammer.
<nckhexen>dsmith-work: Is the I-have-been-bribe^Wfed-by flag persisted to disk?
<nckhexen>Otherwise, all this reconnection is going to be a costly affair.
<nckhexen>dsmith-work: I was stupid earlier: you don't need ops here to test what I wanted to know, you could just temporarily configure sneek to join only #guix and see if that works.
<dsmith-work>nckhexen: Nope. That's in-memory only. The "tells" and "info" are persisted to "disk" (emmc)
<nckhexen>Sigh. The botsnack lobby has paid you well.
<nckhexen>dsmith-work: Plus, if it were a dodgy nick, it wouldn't work in two steps (connecting to #guix later), and that does.
<dsmith-work>THis had a bug that would crash on certain nicks: https://gitlab.com/dalepsmith/sneek/-/blob/master/scripts/bot/metaphone.scm
<dsmith-work>I don't remember where, but it was very nasty to find. Ugh.
<dsmith-work>I did not write that code.
<dsmith-work>I wonder if that could be cleaned up with match
<stis>Hello folks!
<dsmith>sneek: botsnack
<sneek>:)
<technomancy>best bot command imo
<daviid>dsmith-work: fwiw, both bobotpp version seems 'identical', the savannah version has the same commits as the version on https://git.hcoop.net/clinton/bobotpp.git - including the latest commits
<KREYREN>Is there a way in guile to index all `define`s that have identifier as `^\w+\-task\-type$` ?
<KREYREN>e.g. storing them in alist ideally with their docstrings