šŸ¦‹ Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:01 marcusr joined 00:07 Deej69 left 00:13 aborazmeh left 00:15 patrickbkr[m] left, patrickbkr[m] joined, juanfra__ left, MitarashiDango[m left, AlexDaniel` left 00:19 MitarashiDango[m joined 00:20 AlexDaniel` joined 00:22 juanfra__ joined 00:34 MasterDuke left, pecastro left 00:41 dotdotdot joined 00:42 aborazmeh joined 00:45 neshpion left 00:48 monkey__ joined 00:50 dogbert17 joined 00:54 dogbert11 left 01:08 aborazmeh left 01:14 sten_ joined 01:15 neshpion joined 01:27 sten_ left 01:28 sten_____ joined
sten_____ : 01:28
01:28 dogbert17 left
sten_____ .say for <A>..<z> 01:29
evalable6 A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
01:29 dogbert17 joined
sten_____ '[' , ']' , '\' , '^' , '`' : What that ???? 01:31
uzl[m] m: say "A".ord, "z".ord; 01:37
camelia 65122
uzl[m] m: say "A".ord, " ", "z".ord, " ", "["; 01:38
camelia 65 122 [
uzl[m] m: say "A".ord, " ", "z".ord, " ", "[".ord;
camelia 65 122 91
uzl[m] sten_____: You're looping over a range from "A" to "z", and that range includes a few other characters other than alphabetic characters 01:40
01:45 juanfra__ left, l-as left 01:46 mark[m] left, uzl[m] left, Tirifto[m] left 01:47 JRaspass left 01:48 AlexDaniel` left, krako[m] left, CIAvash left, tusooa left, ThaEwat left, MitarashiDango[m left, unclechu left, guifa2 left 01:49 juanfra__ joined 02:04 uzl[m] joined, mark[m] joined 02:11 l-as joined, Tirifto[m] joined 02:16 xinming left 02:17 xinming joined, monkey__ left 02:18 AlexDaniel` joined 02:19 CIAvash joined 02:22 unclechu joined 02:27 tusooa joined 02:32 kvw_5 joined, ThaEwat joined 02:35 kvw_5_ left 02:36 krako[m] joined 02:39 MitarashiDango[m joined 02:44 mowcat left, mowcat joined, mowcat left 02:45 mowcat joined, leont left 02:57 mowcat left 03:08 kaiwulf joined 03:11 neshpion_ joined 03:13 neshpion_ left 03:14 neshpion left 03:26 k-man left 03:30 mowcat joined 03:31 guifa joined 03:32 mowcat left, k-man joined 04:09 hythm_ joined 04:12 hythm left 04:41 sten_____ left 04:44 sten_ joined 04:57 wamba joined 05:14 kaiwulf left 05:18 sten_ left 05:45 xinming left, xinming joined 06:05 Geth left, Geth joined 06:10 brtastic joined 06:18 vike left 06:21 vike joined 06:54 Doc_Holliwood joined 07:09 ufobat_ joined 07:14 domidumont joined 07:18 pounce left 07:28 parabolize left 07:32 jmerelo joined 07:37 Sgeo left 08:09 pecastro joined 08:14 sena_kun left 08:35 squashable6 left, squashable6 joined 08:37 patrickb joined 09:07 Doc_Holliwood left 09:08 rindolf joined 09:23 BinGOs left 09:29 bingos joined 09:39 domidumont left 09:58 JRaspass joined 10:04 xinming left 10:06 xinming joined, Doc_Holliwood joined 10:18 plvicente joined 10:25 ufobat_ left 10:33 PimDaniel joined
PimDaniel \o Hi 10:34
tellable6 2021-03-04T10:42:15Z #raku <jmerelo> PimDaniel sorry, I didn't catch this before... You can use .tell jmerelo to leave messages for me here.
2021-03-04T10:43:21Z #raku <jmerelo> PimDaniel you can use the sigil & to indicate it's a block instead of a $
Geth Ā¦ problem-solving: patrickbkr assigned to codesections Issue The PS-process' acceptance policy doesn't match reality github.com/Raku/problem-solving/issues/272
PimDaniel jemerelo the last problem is done. Thank's.
10:35 xinming left 10:36 xinming joined
PimDaniel I've got a problem with push : when inside a class i write : push @!angle, ($!xpos,$!xpos); It seams that i pushed an address instead of values because at least each part of the array @angle contains the last value of $!xpos and $!ypos. How to work around this? 10:38
I can resolve the problem by copying $!xpos and $!xpos into my variables eg ($x,$y) = $!xpos,$!ypos but i think there's a better solution. 10:40
moritz are these numbers? if yes, just push (+$!xpos, +$!xpos) 10:50
PimDaniel thank's moritz, i just seee into the reference that $!xpos.item could decontainerize it. 10:53
If this works, i think it's better for one to read code afterwards. 10:54
moritz TBH I find .item just as unintuitive as +, because it's it's already an item (just like it's already a number) 10:55
10:55 sena_kun joined
moritz maybe most readable: sub decont($x) { $x } with an explanatory comment 10:56
and then push (decont($!a), decont($!b))
PimDaniel moritz , it does not seam to work anyway with .item. :( 10:58
decont is probably the best method.
The *good one.
11:06 PimDaniel left 11:07 pedro__ joined 11:08 plvicente left 11:09 PimDaniel joined 11:10 PimDaniel left 11:16 Doc_Holliwould joined, Doc_Holliwood left 11:33 xinming left, xinming joined
pedro__ hi 11:37
moritz hi pedro__ 11:39
pedro__ I have a doubt
11:39 Black_Ribbon left 11:52 Doc_Holliwould left 11:55 pedro_ joined, pedro__ left 12:05 Doc_Holliwood joined 12:12 mowcat joined, leont joined 12:16 mowcat left, mowcat joined
Geth doc/finanalyst-patch-2: cce55dd49e | (Richard Hainsworth)++ (committed using GitHub Web editor) | doc/Type/IO/Path/Parts.pod6
Update Parts.pod6

copy-paste-o by context should be 'volume', probably text pasted from elsewhere.
12:17
12:19 pedro_ left 12:25 squashable6 left, squashable6 joined 12:29 xinming left, xinming joined 12:39 brtastic1 joined 12:45 plvicente joined 12:51 domidumont joined 12:53 xinming left 12:54 brtastic1 left 12:55 xinming joined 13:01 plvicente left 13:08 lizmat_ joined 13:10 dotdotdot left, lizmat left 13:11 plvicente joined 13:12 hazim joined
uzl[m] .ask lizmat is the bot for submitting Rakudo Weekly News entries still around? In any case, this is a Raku-related link: lobste.rs/s/diluza/imagining_ideal...or_writing 13:14
tellable6 uzl[m], I'll pass your message to lizmat
13:15 dotdotdot joined
hazim hello i have a question , is there something like java synchronized in raku 13:18
tellable6 2021-01-31T10:29:24Z #raku <jmerelo> hazim that fails from time to time. You can try and install it by hand in advance.
2021-01-31T10:36:53Z #raku <PimDaniel> hazim i tried to install cro and i got theses erreurs => /usr/bin/ldĀ : ne peut trouver -ltommath /usr/bin/ldĀ : ne peut trouver -latomic_ops
2021-01-31T10:38:22Z #raku <PimDaniel> hazim but theses are easy to resolve has you may know, but you can may be check if you have theses libraries anyway.
13:19 mowcat left
CIAvash weekly: lobste.rs/s/diluza/imagining_ideal...or_writing 13:22
notable6 CIAvash, Noted! (weekly)
13:28 JRaspass left 13:29 xinming left, xinming joined 13:38 Doc_Holliwood left 13:40 plvicente left 13:52 hazim left, plvicente joined 13:53 jmerelo left
codesections CIAvash: thanks for linking that; it's good to hear what some non-Rakoons think about those ideas 14:18
14:23 wamba left 14:24 rindolf left 14:33 Sgeo joined 14:41 rindolf joined 14:45 leont left 14:46 leont joined, bingos is now known as BinGOs 14:48 brtastic left 15:03 xinming left 15:04 xinming joined 15:08 frost-lab left 15:10 plvicente left 15:12 parabolize joined 15:19 xinming left 15:20 xinming joined 15:34 JRaspass joined 15:35 lizmat_ is now known as lizmat
lizmat weekly: lobste.rs/s/diluza/imagining_ideal...or_writing 15:36
notable6 lizmat, Noted! (weekly)
tellable6 2021-03-05T13:14:07Z #raku <uzl[m]> lizmat is the bot for submitting Rakudo Weekly News entries still around? In any case, this is a Raku-related link: lobste.rs/s/diluza/imagining_ideal...or_writing
15:36 wamba joined
lizmat ^^ uzl[m] noted :-) 15:36
15:36 maggotbrain left 15:39 xinming left, xinming joined 15:44 mowcat joined 15:46 plvicente joined 15:47 maggotbrain joined, maggotbrain left 15:50 xinming left 15:51 xinming joined
codesections From that comment thread: > The speaker goes on to talk about Raku, which I guess is what Perl6 turned into (?), as being one of the fun languages with a friendly community. 15:52
which gets the reply: > Yikes, I wouldnā€™t touch perl with a barge pole :)
codesections sighs heavily 15:53
15:58 gnufr33dom left 16:01 mowcat left, mowcat joined 16:06 Garbanzo left 16:07 Garbanzo joined 16:11 brtastic joined 16:14 JRaspass left 16:30 plvicente left 16:39 plvicente joined 16:46 wamba left
jdv79 sounds about right. nothings changed in the last decade or so in that regard. 16:56
17:02 plvicente left 17:09 vike left 17:16 orinthe left 17:17 orinthe joined 17:23 mniip left 17:29 mniip joined
tonyo if there isn't implicit variable declaration what is the point? 17:30
18:12 Doc_Holliwood joined 18:15 wbiker joined 18:20 orinthe left 18:21 orinthe joined 18:23 domidumont left, plvicente joined
gfldex codesections: I like it when I read such comments. Without knowing a person well it can be quite hard to tell if their opinion is based on good judgement/deep knowledge or if they are driven my vanity. The faster I can identify a fool the faster I can ignore them. 18:29
El_Che gfldex: www.kimaerickson.com/wp-content/up...PMILWT.jpg 18:30
18:36 plvicente left 18:40 wamba joined 18:48 _jrjsmrtn joined, brtastic left 18:50 Doc_Holliwould joined, Doc_Holliwood left, __jrjsmrtn__ left 18:57 MasterDuke joined 19:13 Doc_Holliwould left
raydiak Just playing devil's advocate here, but to assess a statement based on its source (and by extension, the source's real or imagined motivation, character, history, or other attributes) is a logical fallacy with some latin name from debate class which I don't know. There's always more context you may or may not know, regardless of your assumptions about the source. The person could be saying that because they're 19:14
emtionally attached to another paradigm with a lot of dogma about why perl is so bad, or because they were the lead developer of a large project with too many junior engineers under them, or because they wrote mission-critical stuff in raku and it actually failed to achieve mission objectives
codesections what syntactical role is the colon in the following line playing? 19:16
m: say :{ #`( stuff) } 19:17
camelia {}
codesections My first thought would be that it makes sure that the {} is a hash rather than a block (or the reverse), but it doesn't seem to 19:18
raydiak codesections: docs.raku.org/language/hashmap#index-entry-:{} 19:19
"By default keys in { } are forced to strings. To compose a hash with non-string keys, use a colon prefix" 19:20
MasterDuke --target=parse might be helpful
19:20 Doc_Holliwood joined
codesections not sure how I missed that, raydiak++. Thanks 19:21
raydiak yw
19:30 timlegge left 19:49 phogg left 19:51 phogg joined
raydiak Anyone working on anything cool/awesome/inpiring/(verg/adverb/part-of-speech-of-your-choice) today? 20:20
20:22 kst left 20:24 plvicente joined, timlegge joined 20:32 wamba left
El_Che raydiak: I wanted to pick up some JS for a future project and wrote a page with cats and Kanban/Agile quotes (to laugh with the extreme evangelists at work :) ) 20:34
Cool, you can just drop js on github pages and it works 20:36
20:39 wbiker left 20:53 patrickb left 20:56 plvicente left
cog Hi, is there a way to predeclare an enum, I will define later with an EVAL ? 20:57
20:57 patrickb joined
moritz well, you can do something like my \TheEnum = EVAL $string; 20:59
of course you have none of the compile-time benefits of an enum if you don'T delare it at compile time 21:00
21:03 freezing_ left 21:04 MasterDuke left
cog m: BEGIN { my $reg-type-str = "1 => 1"; EVAL "enum Reg-Types is export ( $reg-type-str )"; } 21:06
camelia 5===SORRY!5=== Error while compiling <tmp>
EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma
to override this error but only if you're VERY sure your data contains
no injection attacks).
at <tmp>:1
------> 3 Reg-Tyā€¦
cog m: use MONKEY-SEE-NO-EVAL; BEGIN { my $reg-type-str = "1 => 1"; EVAL "enum Reg-Types is export ( $reg-type-str )"; } 21:07
camelia 5===SORRY!5=== Error while compiling <tmp>
An exception occurred while evaluating a BEGIN
at <tmp>:1
Exception details:
5===SORRY!5=== Error while compiling
This type cannot unbox to a native string: P6opaque, Int
at :
21:08 MasterDuke joined
cog m: > use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "enum Reg-Types is export ( 1 => 1 )"; } 21:10
camelia 5===SORRY!5=== Error while compiling <tmp>
Preceding context expects a term, but found infix > instead.
at <tmp>:1
------> 3>7ā5 use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "e
cog m: use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "enum Reg-Types is export ( 1 => 1 )"; } 21:11
camelia 5===SORRY!5=== Error while compiling <tmp>
An exception occurred while evaluating a BEGIN
at <tmp>:1
Exception details:
5===SORRY!5=== Error while compiling
This type cannot unbox to a native string: P6opaque, Int
at :
21:13 patrickb left
cog m: use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "class {}"; } 21:13
camelia Use of Nil in string context
in block at <tmp> line 1
5===SORRY!5=== Error while compiling <tmp>
An exception occurred while evaluating a BEGIN
at <tmp>:1
Exception details:
5===SORRY!5=== Error while compiling /home/camelia/Eā€¦
21:14 aborazmeh joined
cog m: use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "class \{\}"; } 21:14
camelia ( no output )
raydiak El_Che: kanban means many different things according to search engines and even my own work expeience. can you show me in code what you're working on? 21:15
El_Che "working on"is stretching it :) nxadm.github.io/TheOracleOfKanbanJS/ 21:16
raydiak heh, cool little steam of inspiration, though 21:19
El_Che :) 21:20
raydiak I used to work on the shop floor of a manufacutring company which took many inspirations from Toyota, we had a very different concept of "kanban" more like here: en.wikipedia.org/wiki/Kanban 21:23
cog m: > use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "enum Reg-Types is export ( a => 1 )"; } 21:25
camelia 5===SORRY!5=== Error while compiling <tmp>
Preceding context expects a term, but found infix > instead.
at <tmp>:1
------> 3>7ā5 use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "e
cog m: use MONKEY-SEE-NO-EVAL; BEGIN { EVAL "enum Reg-Types is export ( a => 1 )"; } 21:26
camelia ( no output )
cog Silly me
21:29 rindolf left
El_Che raydiak: I have no problems with kanban (or boards and tracks), but I feel the ideas are not really followed and it turns very fast into rituals 21:29
21:31 MasterDuke left
raydiak El_Che: if you are saying that some poeple grasp quickly for rote knowledge while others seek a higher structural and logical wisdom, then...I agree? 21:34
21:35 MasterDuke joined
cog Solved my problem. Creating my enum in a BEGIN { EVAL "..." }, I dit not need to predeclare. But that question is left open. 21:40
21:48 Doc_Holliwould joined 21:51 Doc_Holliwood left 21:53 aborazmeh left 21:58 brtastic joined 22:12 JRaspass joined 22:27 kaiwulf joined
tonyo we used a flavor of kanban in the military for avionics 22:31
they didn't call it that, though. we also did lean and six sigma. 22:32
22:40 dogbert11 joined 22:41 dogbert11 left 22:42 dogbert11 joined, dogbert17 left 22:45 dogbert11 left 22:46 dogbert11 joined 22:49 brtastic left
jdv79 all the "agile" stuff ive seen is garbage. ritual, excess, and unproductive. 22:53
at $work we oficially do kanban but in reality not really. its bs. 22:55
22:55 JRaspass left 22:58 xinming left, xinming joined 23:09 neshpion joined 23:10 Black_Ribbon joined 23:27 xinming left 23:29 xinming joined 23:31 vrurg left 23:53 vrurg joined