|
00:06
Manifest0 left
01:02
merp left
01:04
merp joined
01:31
topnep left,
topnep_ joined
01:34
kylese joined
01:35
hulk left
|
|||
| [Coke] | any mojo coders? github.com/rakudo/rakudo.org/issues/118 could use an eyeball | 01:45 | |
|
02:10
sibl joined
02:15
kylese left,
kylese joined
03:00
Sgeo left
03:01
Sgeo joined
03:17
sibl left
03:21
sibl joined,
Inline left
03:33
Inline joined
03:37
Inline left
03:52
lichtkind__ joined
03:55
lichtkind_ left
04:06
sibl left
04:07
sibl joined
|
|||
| disbot4 | <simon_sibl> is there an easy way to read from a buf16 and to get 2 uint8 from 1 uint16 ? | 04:12 | |
|
04:46
hurufu joined
04:47
hurufu left
04:49
hurufu joined
04:54
hurufu left
04:58
hurufu joined
05:41
topnep_ left
05:43
topnep joined
05:52
johnjay joined
05:59
sibl left
06:04
sibl joined
06:17
sibl left
06:18
sibl joined
|
|||
| disbot4 | <_elcaro_> You mean like this? perl [0] > my $b = Buf.new Buf:0x<> [1] > $b.write-uint16(0, 60027) Buf:0x<7B EA> [2] > [$b.read-uint8(0), $b.read-uint8(1)] [123 234] | 06:53 | |
| <_elcaro_> Maybe could also do some bit-wise thingy | 06:54 | ||
| <_elcaro_> raku [0] > 60027 +& 0xFF 123 [1] > 60027 +> 8 +& 0xFF 234 | 06:56 | ||
|
07:03
Sgeo left
07:05
Manifest0 joined
|
|||
| disbot4 | <simon_sibl> ah I guess almost, I am looking into something like this | 07:15 | |
| <simon_sibl> m: my uint16 $b = 256; given buf16.new($b) {.read-uint8(0), .read-uint8(1)} | |||
| <simon_sibl> (doesnt seem to show the error read_buf out of bounds offset 1 start 0 elems 1 count 1) | 07:16 | ||
|
07:36
Inline joined
07:58
dakkar joined
08:03
Inline left
|
|||
| disbot4 | <_elcaro_> I assumed you might be working with a buffer maybe from reading some raw bytes from C or something... but more or less should work. What values do you expect from 256. Should be 1 and 0 right? | 08:30 | |
| <_elcaro_> m: my uint16 $i = 256; say ($i X+> 0, 8) X+& 0xFF; say buf8.write-uint16(0, $i).List; | |||
| <_elcaro_> perl [0] > my uint16 $i = 256; 256 [1] > say ($i X+> 0, 8) X+& 0xFF; (0 1) [1] > say buf8.write-uint16(0, $i).List; (0 1) | 08:31 | ||
|
08:41
Inline joined
08:42
Inline left
08:43
Inline joined
08:46
Inline left
09:02
Inline joined
09:05
sibl left,
sibl joined,
lichtkind__ left,
donaldh left
09:09
lichtkind joined
|
|||
| lizmat | simon_sibl well, there's raku.land/zef:lizmat/P5pack :-) | 09:24 | |
|
09:27
sibl left
09:33
donaldh joined
09:57
tejr joined
11:24
Inline left
|
|||
| disbot4 | <_elcaro_> testing pack/unpack via Perl. Should work the same via Raku with P5pack perl > unpack('C2', pack('n', 60027)) (234, 123) > unpack('C2', pack('n', 256)) (1, 0) Or this should also work in Raku with use experimental :pack unpack('C2', pack('n', 256)) | 11:30 | |
| <_elcaro_> use 'v' instead of 'n' if you want little endian | 11:34 | ||
|
11:38
Inline joined
11:59
topnep left
12:00
topnep joined
12:44
Inline left
12:49
Inline joined
12:59
sibl joined
13:05
sibl left
13:51
justache left
13:55
justache joined
13:58
apogee_ntv joined
14:04
topnep left,
topnep joined
14:25
tgt joined,
annamalai left,
annamalai joined
14:27
tgt left
15:35
human-blip left
15:37
human-blip joined
|
|||
| disbot4 | <melezhik.> voldenet: here is fstab check - care to try it ? chat.deepseek.com/share/5bkii76kum8tfuuu91 | 15:40 | |
| <melezhik.> Report example - sparky.sparrowhub.io/report/scc/29171 | 15:46 | ||
|
15:49
annamalai left
15:50
annamalai joined
15:57
hurufu1 joined
15:59
hurufu left,
hurufu1 is now known as hurufu
16:08
topnep left
16:12
annamalai left,
topnep joined
16:35
dakkar left,
dakkar joined
16:44
dakkar left
16:53
belluzj joined
17:14
hurufu left
17:15
hurufu joined
17:24
hurufu left
17:25
hurufu1 joined
17:27
hurufu1 is now known as hurufu
17:36
belluzj left
|
|||
| Voldenet | I'll check those new checks (pun intended) later, my fstab isn't really that complex though, so I doubt I can do much | 17:39 | |
| disbot4 | <melezhik.> Thanks. “Don’t forget to check the checks” 😊 | 18:10 | |
|
19:06
hurufu1 joined
19:10
hurufu left,
hurufu1 is now known as hurufu
19:35
topnep left
19:38
topnep joined
19:57
ShimmerFairy left,
rnddim joined
20:11
apogee_ntv left,
apogee_ntv joined
20:16
apogee_ntv left
20:17
apogee_ntv joined
20:43
hurufu left,
abraxxa joined
20:44
abraxxa left
20:47
abraxxa joined
21:42
topnep left
21:48
topnep joined
22:24
Sgeo joined
22:26
abraxxa left
|
|||