IRC channel logs

2022-06-16.log

back to list of logs

***_ctb_ is now known as _ctb
***wklew_lurk_ is now known as wklew_lurk
***\f_ is now known as \f
***fluffyballoon_ is now known as fluffyballoon
***raghavgururajan_ is now known as raghavgururajan
***matta_ is now known as matta
***arpunk_ is now known as arpunk
***unmatched-paren_ is now known as unmatched-paren
<dsmith>sneek: botsnack
<sneek>:)
<dsmith>!uptime
<sneek>I've been running for 3 hours and 52 minutes
<sneek>This system has been up 3 hours, 53 minutes
<dsmith>Power outage today
<tohoyn>daviid: tx
***ecraven- is now known as ecraven
***butingta` is now known as butingtaon
<butingtaon>Hello everyone, i just have a quick question: how do I get the first two decimal places in a number like 0.33333... ?
<butingtaon>I wanted to know if there's a builtin procedure or module that has that before I hack something up. Many thanks!
<chrislck>(string-take (number->string ...) 4) lol
<butingtaon>haha, thanks
<chrislck>(inexact->exact (modulo (floor (* N 10)) 10)) and (inexact->exact (modulo (floor (* N 100)) 10))
<lampilelo>butingtaon: another option is to use (ice-9 format): (format #f "~,2f" 1.2524)
<lampilelo>it will round, not floor
<lampilelo>although i guess this isn't an answer to the question asked
***karlosz_ is now known as karlosz
***karlosz_ is now known as karlosz
<unmatched-paren>sneek: later tell rgderdt: Hi, whereiseveryone_ and me were discussing ideas for a Scheme LSP server, and we were pointed to your email to guile-user: https://www.mail-archive.com/guile-user@gnu.org/msg13699.html the idea whereiseveryone_ had was to extract the Geiser code and use that as the backend of the LSP server. What do you think? Would that work?
<sneek>Got it.
<unmatched-paren>sneek: botsnack!
<sneek>:)
<unmatched-paren>sneek: later tell rgderdt: s/the Geiser code/Geiser's Guile code/
<sneek>Will do.
***karlosz_ is now known as karlosz
<unmatched-paren>oops, to the wrong person.
<unmatched-paren>sneek: later tell rgherdt: Hi, whereiseveryone_ and me were discussing ideas for a Scheme LSP server, and we were pointed to your email to guile-user: https://www.mail-archive.com/guile-user@gnu.org/msg13699.html the idea whereiseveryone_ had was to extract Geiser's Guile code and use that as the backend of the LSP server. What do you think? Would that work?
<sneek>Okay.