|
00:02
johnjay left
01:24
sibl joined
01:36
annamalai joined
01:55
hulk joined
01:56
kylese left
02:15
hulk left,
kylese joined
03:27
Inline left
03:41
annamalai left
03:42
annamalai joined
03:53
lichtkind_ joined
03:56
lichtkind__ left
03:57
Sgeo_ joined
04:00
Sgeo left
|
|||
| avuserow | being able to round to the nearest 0.25 via `$x.round(0.25)` is great | 04:02 | |
|
04:43
hurufu joined
05:20
hurufu left,
hurufu joined
05:24
hurufu left
05:25
hurufu joined
05:45
Inline joined
|
|||
| disbot4 | <librasteve> waaat | 05:46 | |
| <librasteve> I never realised you could do that - curious to know when it would actually be useful :-) | 05:48 | ||
|
05:50
belluzj joined
06:41
sibl left
06:42
sibl joined
07:08
sibl left
07:09
sibl joined
07:19
Sgeo_ left
07:54
dakkar joined
07:56
dakkar_ joined
07:59
dakkar left
08:03
dakkar_ is now known as dakkar
08:05
belluzj left
|
|||
| lizmat | weekly: wiki.gentoo.org/wiki/Raku | 08:24 | |
| notable6 | lizmat, Noted! (weekly) | ||
|
08:43
lizmat left
08:44
lizmat joined
08:48
annamalai left
09:09
annamalai joined
09:23
apogee_ntv left
09:26
apogee_ntv joined
09:31
annamalai left
|
|||
| disbot4 | <simon_sibl> from this ugly mess: github.com/4zv4l/z8basm/blob/main/z8basm.pl | 09:35 | |
| <simon_sibl> to this much better script: github.com/4zv4l/rz8basm/blob/main/rz8basm.raku | |||
| <librasteve> is this Z8b as in Zilog? (very nice exampe of how awesome Raku is btw!!) | 09:49 | ||
|
09:54
annamalai joined
10:10
annamalai left,
annamalai joined
|
|||
| lizmat | simon_sibl: if you're running this on big files in verbose mode, you might want to use "print sprintf(...)" and "use v6.e.PREVIEW" | 10:19 | |
| also: the format "0x%02x" can also be written as: "%#02x" | |||
| m: say sprintf("%#02x",42) | 10:20 | ||
| camelia | 0x2a | ||
|
10:21
apogee_ntv left
10:22
apogee_ntv joined
10:23
sibl left
|
|||
| disbot4 | <simon_sibl> I don’t know Zilog, I called it z8b because I used zig and it’s a 8bit kind of thing xD | 10:35 | |
| <simon_sibl> What’s the update that makes printf + sprintf better than printf alone ? XD | 10:36 | ||
| <simon_sibl> Ah I didn’t know for that format ! Thanks ! | |||
| lizmat | well.. still looking at a way to make printf use the new sprintf logic in 6.e, so that's work in progress | 10:37 | |
| re new sprintf: dev.to/lizmat/moving-printf-format...rward-1m3p | 10:40 | ||
| librasteve_ | weekly: re new sprintf: dev.to/lizmat/moving-printf-format...rward-1m3p | 10:44 | |
| notable6 | librasteve_, Noted! (weekly) | ||
| disbot4 | <librasteve> @simon_sibl - ah ... my guess was a little wide en.wikipedia.org/wiki/Zilog_Z8 | 10:45 | |
| <simon_sibl> Ah yes indeed, my code is just a tiny little toy xD | 10:53 | ||
| <simon_sibl> I see this more as a blueprint I can reuse if I make something more complex The core emulator and grammar with actions are already there | 10:54 | ||
|
11:26
apogee_ntv left
11:27
apogee_ntv joined
11:28
Inline left
11:30
Inline joined
11:38
hurufu left,
apogee_ntv left
11:47
hurufu joined
12:24
erry is now known as yrre
12:29
belluzj joined
12:30
belluzj left
|
|||
| [Coke] | had some domain issues with personal email last few days in case anyone was trying to reach me. Should all be resolved once things propagate. | 12:41 | |
| lizmat | .oO( the joys of running your own mail server ) |
12:46 | |
|
13:07
merp left
13:09
merp joined
|
|||
| disbot4 | <antononcube> weekly: rakuforprediction.wordpress.com/20...-examples/ | 13:51 | |
| avuserow | librasteve: I want to round a value (font-size in this case) to the nearest quarter point. No particularly deep reason, just the precision that I saw recommended. | 14:07 | |
| I'm trying to find the equivalent perceptual size of two fonts so there's some math that would generate very non-round numbers | 14:08 | ||
|
14:26
johnjay joined
|
|||
| disbot4 | <librasteve> ah - that's a very good use case - thanks for explaining! | 14:27 | |
| [Coke] ah, nothing like having to write a regex for matching parens (why are you even allowing parens in here, markdown...) | 15:22 | ||
|
16:01
annamalai left
16:12
annamalai joined,
annamalai left
16:13
annamalai joined
16:32
dakkar left
|
|||
| [Coke] | is there a $*PROGRAM equivalent for a module? | 16:53 | |
| I guess $?FILE is closest. | 17:00 | ||
| lizmat | m: class A { say $?CLASS } | 17:19 | |
| camelia | (A) | ||
| lizmat | m: module A { say $?CLASS } | ||
| camelia | ===SORRY!=== Error while compiling <tmp> Variable '$?CLASS' is not declared. Perhaps you forgot a 'sub' if this was intended to be part of a signature? at <tmp>:1 ------> module A { say <HERE>$?CLASS } |
||
| lizmat | m: module A { say $?MODULE } | ||
| camelia | (A) | ||
| lizmat | ah, you mean where the file lives ? | 17:20 | |
| ugexe | presumably they want the path to the things that are being used | ||
| lizmat | yeah, duh :-) | ||
| disbot4 | <melezhik.> www.reddit.com/r/linux/comments/1t...vices_and/ quite a number comments here as well | 17:36 | |
| [Coke] | I had been using $*PROGRAM everywhere, and everything happened to work... until I started moving folders to their new homes, whoops. | 17:37 | |
|
17:51
annamalai left
17:52
annamalai joined
18:03
Aedil3 left,
Aedil3 joined
|
|||
| lizmat | simon_sibl re github.com/4zv4l/rz8basm/blob/main...m.raku#L35 | 18:24 | |
| it just occurred to me that you could probably reduce the TOP method to: | 18:25 | ||
| make buf8.new(@!ops.map( -> $stmt { ... } ) | 18:26 | ||
| with the end of the for loop being ($op, $arg).Slip | |||
| .tell finanalyst what is the best URL to read the latest RakuDoc spec? | 18:53 | ||
| tellable6 | lizmat, I'll pass your message to finanalyst | ||
|
19:40
Manifest0 joined
19:51
johnjay left
|
|||
| librasteve_ | wonders if there’s a more idiomatic way to write `token name { '"' <( <-["]>+ )> '"' }` ? | 20:36 | |
| japhb | regex name { \" ~ \" [<( .+ )>] } | 20:57 | |
| librasteve_: ^^ | 20:58 | ||
|
21:23
abraxxa joined
21:35
abraxxa left
21:40
johnjay joined
21:44
johnjay left
21:49
abraxxa joined
21:50
hurufu left,
hurufu joined
|
|||
| librasteve_ | ah - yes better … thanks! | 21:51 | |
|
21:57
hulk joined
21:58
kylese left,
abraxxa left
|
|||