🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left 00:03 ProperNoun joined, reportable6 joined 00:10 epony left 00:17 epony joined 00:23 melezhik joined
melezhik o/ 00:23
who does run a tellable ? is it possible to it to another irc raku-* channel? 00:24
00:30 TieUpYourCamel joined
[Coke] .ask altai-man did you get "Improved working Documentation site" email from richard? 00:52
tellable6 [Coke], I'll pass your message to Altai-man
[Coke] can we get tellable6 in raku-doc, please?
00:53 Manifest0 left 01:01 Xliff joined
[Coke] .ask lizmat any word on the infra call? No response on the email thread I added you to just now 01:01
tellable6 [Coke], I'll pass your message to lizmat
Xliff m: class A { }; my @a = A xx 4; @a Z= ( [1, 2], [2, 3], [4, 5], [6, 7] ); @a.gist.say 01:02
camelia [[1 2] [2 3] [4 5] [6 7]]
Xliff m: class A { }; my @a = A xx 4; @a Z= @a Z ( [1, 2], [2, 3], [4, 5], [6, 7] ); @a.gist.say
camelia ===SORRY!=== Error while compiling <tmp>
Only identical operators may be list associative; since 'Z=' and 'Z' differ, they are non-associative and you need to clarify with parentheses
at <tmp>:1
------> class A { }; my @a = A xx 4; @a Z=…
Xliff m: class A { }; my @a = A xx 4; @a \= @a Z ( [1, 2], [2, 3], [4, 5], [6, 7] ); @a.gist.say
camelia ===SORRY!=== Error while compiling <tmp>
at <tmp>:1
------> class A { }; my @a = A xx 4; @a⏏ \= @a Z ( [1, 2], [2, 3], [4, 5], [6, 7
expecting any of:
infix stopper
statement end…
Xliff m: class A { }; my @a = A xx 4; @a = @a Z ( [1, 2], [2, 3], [4, 5], [6, 7] ); @a.gist.say 01:03
camelia [((A) [1 2]) ((A) [2 3]) ((A) [4 5]) ((A) [6 7])]
Xliff Why didn't Z= DWIM?
japhb What were you *expecting* that Z= would do in that case? 01:14
Xliff «[((A) [1 2]) ((A) [2 3]) ((A) [4 5]) ((A) [6 7])]
Since @a already contained [A A A A]
Anton Antonov <@742445366489645080> Did you manage to get "JavaScripdt::D3" work in Jupyter? 01:15
01:22 guifa_ joined
Xliff Anton: Nope. 01:24
Something is not executing when I run the commands in Jupyter.
Any thoughts?
Tried both Chrome and Firefox.
Anton Antonov Restart Jupyter notebook itself. 01:31
Close and open the notebook in the browser.
Use Visual Studio Code instead . 01:32
All these worked on macOS.
Make sure you have the latest versions of “Jupyter:;Kernel” and “JavaScripdt::D3”. 01:34
Sorry, if I am spelling out obvious stuff… 01:36
01:37 QhpAptyj9hj0RQwM left
Geth doc: ea5adc508b | rir++ (committed using GitHub Web editor) | 2 files
Consolidate quietly into statement-prefix.pod6 from control.pod6. (#4151)

  * Consolidate quietly into statement-prefix.pod6 from control.pod6.
Planning to change the file name to prefixes.pod6 or modifiers.pod6 unless a better name emerges.
  * Improve phrasing around "run-time" and eliminate a <ws>.
doc: 76ea0c735d | rir++ (committed using GitHub Web editor) | 2 files
Consolidate once from statement-prefixes.pod6 into control.pod6. (#4169)
01:39 linkable6 left, melezhik left
Geth doc: 927f3f7a5d | rir++ (committed using GitHub Web editor) | 2 files
Consolidate start from statement-prefixes.pod6 into control.pod6. (#4170)

  * Consolidate start from statement-prefixes.pod6 into control.pod6.
  * Delete part of conflict which was not.
  * Restore X<C<once>|Syntax,once (statement prefix)> section which is
addressed in another PR.
doc: 1a6bbcc13d | rir++ (committed using GitHub Web editor) | 2 files
Consolidate supply from statement-prefixes.pod6 to control.pod6. (#4173)
01:41 linkable6 joined
Geth doc: 349986b379 | (Will Coleda)++ | doc/Language/statement-prefixes.pod6
whitespace, preferred spelling
linkable6 Link: docs.raku.org/language/statement-prefixes
Geth doc: 1fb57018b7 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/objects.pod6
Improve discussion and examples of programmatic use of class method names (#4168)

  + provide more practical examples
  + add a cross-reference link so the curious can find the discussion
linkable6 Link: docs.raku.org/language/objects
01:48 linkable6 left
Geth doc: 10ca0eeff8 | (Richard Hainsworth)++ (committed using GitHub Web editor) | doc/Language/modules.pod6
Update modules.pod6 (#4095)
01:51 linkable6 joined
Geth doc: 7b705ab848 | (Will Coleda)++ | 3 files
whitespace, typo, new word
doc: 14dc46be2a | (Will Coleda)++ | doc/Language/modules.pod6
add in missing clause
linkable6 Link: docs.raku.org/language/modules
Geth ecosystem/main: b8b44fd121 | thundergnat++ (committed using GitHub Web editor) | META.list
Migrate modules to zef ecosystem
Xliff Huh... 02:15
Anton: Refused to execute script from 'localhost:8888/static/components/co...227211452' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. 02:16
Why is that MIME type reported wrong?
Humm... I don't have anything running on port 8888 02:17
02:27 tejr left
Xliff Oh.. .jupyter-notebook is on :8888 02:27
Anton Antonov On what operating system are you running Jupyter (and Raku, etc.) 02:30
If you have Python installed, you can try -- in Jupyter -- the Python package "JavaScriptD3". See github.com/antononcube/Python-pack...vaScriptD3 02:32
Xliff Linux
Anton Antonov Ok, I am sure I can try Linux tonight... 02:33
Xliff Yeah. It wants to execute the static/component/codemirror/mode/raku/raku.js file
I don't have that file.
I probably need D3.js, though don't I? 02:35
Anton Antonov <@742445366489645080> No, you not need "D3.js" -- meaning it is loaded in the setup cell. 02:40
Xliff Oh! From CDN?
Anton Antonov Yes -- see the second cell here : nbviewer.org/github/antononcube/Ra...alas.ipynb 02:41
Xliff So why am I seeing 404 from 'localhost:8888/static/components/co...227211452' ?
Anton Antonov Actually, not CDN, d3js.org .
Xliff Actually I should have said "Remote" but you get the idea.
That link above is local though. That file should exist on my HD... and doesn't. That stops the evaluation. 02:42
Anton Antonov No idea about "raku.js" -- I do not think it is needed. Let me see in "Jupyter::Kernel".
<@742445366489645080> Do you have Python installed?
Xliff Yep. Figured it out. 02:43
I have to run each cell in order.
I forgot that. LOL!
What if I only want to generate outlines?
How can I generate with stroke and no fill?
Ah! "fill => 'none', stroke => 'black'" 02:44
Anton Antonov Well, that I think I put `fill` as an argument.
Yes, that! 02:45
Just `fill=>''` would suffice.
Xliff OK, thanks so much! This works great, now! 02:47
Anton Antonov Well, no, sorry, you have to use `fill=>'none'`
Xliff Now to figure out how to make these SVG ready for Blender or somesuch. 02:48
Anton Antonov Ah, good luck! I liked SVG was handled in Jupyter -- "SVG::Plot" examples in "Jupyter::Kernel" -- and decided to figure out the similar handling of D3.js. 02:49
At some point I might figure out how to program the colored mandalas. 02:52
Xliff I really want to handle the mapping graph types. 03:18
Di you have any plans for those?
observablehq.com/@d3/choropleth 03:21
Anton: How difficult for that one?
03:24 tejr joined 03:29 razetime joined 03:41 Guest47 joined 04:22 Kaipei left 04:32 razetime left 05:04 jpn joined
Geth doc: 61067a8cd7 | rir++ (committed using GitHub Web editor) | 2 files
Consolidate start from statement-prefixes.pod6 to control.pod6. (#4174)
05:06 linkable6 left, linkable6 joined 05:15 jpn left 05:22 razetime joined 05:24 jpn joined 06:00 reportable6 left 06:02 reportable6 joined 06:17 jpn left 06:21 jpn joined 06:35 razetime left 07:35 linkable6 left, statisfiable6 left, benchable6 left, quotable6 left, notable6 left, reportable6 left, evalable6 left, coverable6 left, shareable6 left, squashable6 left, tellable6 left, greppable6 left, bloatable6 left, releasable6 left, unicodable6 left, committable6 left, nativecallable6 left, sourceable6 left, bisectable6 left 07:36 bloatable6 joined, shareable6 joined, committable6 joined, evalable6 joined, bisectable6 joined, greppable6 joined, unicodable6 joined 07:37 xinming left, reportable6 joined, sourceable6 joined, quotable6 joined, nativecallable6 joined, squashable6 joined, notable6 joined 07:38 tellable6 joined, benchable6 joined, statisfiable6 joined, releasable6 joined, Kaipei joined, coverable6 joined, linkable6 joined 07:39 xinming joined 08:17 Sgeo left 08:48 jpn left 08:54 jpn joined 09:21 jpn left 09:50 jpn joined 09:56 sena_kun joined 10:19 jpn left 10:22 jpn joined
Anton Antonov <@742445366489645080> The plotting of choropleths from Raku via JavaScript requires a fair amount of design work. 10:36
Multiple data structure questions have to be answered and proper / useful / available formats have to be lined up. (Meaning, converters, representations, signatures have to be figured out.) 10:39
10:51 QhpAptyj9hj0RQwM joined 10:55 QhpAptyj9hj0RQwM left, QhpAptyj9hj0RQwM joined 11:30 jpn left 11:34 jpn joined 12:00 reportable6 left 12:03 reportable6 joined 12:05 subben-troska joined
Xliff Anton: Well, for starters. As far as the US goes, we can always use FIPS aligned data. The vector data can come from the TopoJSON Atlas. There are some questions as to colors and scales, but I have code to do much of that. 12:08
Do you know what identifiers are used in other countries for county level data? 12:22
12:32 jpn left 12:38 jpn joined 12:46 jpn left 12:56 QhpAptyj9hj0RQwM left 13:09 sftp left 13:11 jgaz joined 13:37 subben-troska left
Anton Antonov <@742445366489645080> Hm… I was more thinking in terms of GeoJSON and Well Known Text (WKT). There are some Raku modules for WKT. Basically, I want to be able to transfer Raku datasets into WKT and GeoJSON. The actual data as FIPS / ZIP etc. is more of a “second wave” type of data. 13:48
14:29 Guest47 left
Xliff I'll have to look into what WKT is. I admit I am having a bit of a problem understanding what Well Known Text has to do with data. I'll try and research it. 14:47
The GeoJSON files are available from the TopoJSON site, so there should be no problem. All of that is FIPS based. 14:48
Anton Antonov <@742445366489645080> These links might speed-up your WKT research: raku.land/zef:kjpye/Geo::Geometry , en.wikipedia.org/wiki/Well-known_t...f_geometry 15:05
Xliff Anton: So is your aim to encode all geographical data in GeoJSON or WKT and include them in the distribution? 15:10
Anton Antonov <@742445366489645080> No. I want to be able to specify a (complex) polygon in some way -- say, WKT -- and be able to plot it on map (with stoke color, fill color, etc.) 15:14
<@742445366489645080> Whatever data might be available for countries, states, counties, or other types of administrative units can be plotted in that way. I do not plan to include data in the distribution. Or, more precisely, I want to avoid data inclusion as much as possible. 15:17
15:29 linkable6 left, evalable6 left, linkable6 joined 15:30 evalable6 joined
Xliff Anton: Ahh! OK. 15:42
I understand.
15:42 jpn joined
Xliff I would think that comes after the basic Cloropleth map. 15:42
Seeing as there is D3.js code that does this already with GeoJSON data.
15:42 jgaz left
Xliff We could add in code that would take the optional WKT data and add it over top of the existing map[. 15:43
15:44 razetime joined 15:47 jpn left, Sauvin left
Anton Antonov <@742445366489645080> I most likely will do a separate namespace in "JavaScripdt::D3" named "Choropleths" -- "JavaScripdt::D3::Choropleths". Then that namespace can have variety of "specialized" functions that make life easier (say, by using FIPS.) 15:50
15:51 razetime left 15:54 Sauvin joined 15:55 razetime joined 16:07 Sauvin left, Sauvin joined 16:15 andinus joined 16:16 jonasjlinde joined 16:20 andinus left 16:21 andinus joined 16:22 guifa_ left 16:26 melezhik joined
melezhik .tell lizmat irclogs site shows blank page on logs page for me now 16:26
tellable6 melezhik, I'll pass your message to lizmat
16:32 melezhik left 16:42 jonasj joined 16:43 jonasj left 16:51 melezhik joined
lizmat melezhik: meh, Potential XSS attack detected in content: Javascript: 16:53
tellable6 2022-12-28T16:26:52Z #raku <melezhik> lizmat irclogs site shows blank page on logs page for me now
melezhik Ok
17:01 melezhik left 17:03 epony left 17:06 jonasjlinde left
lizmat ok, should work again now 17:07
added a s/JavaScript./JavaScripdt/
Anton Antonov <@779471841270038528> Do you hear me now? 17:16
Geth ecosystem/main: c6dfbdbd8f | thundergnat++ (committed using GitHub Web editor) | META.list
Migrate modules to fez ecosystem
17:26 melezhik joined
melezhik .tell lizmat log search works now 17:26
tellable6 melezhik, I'll pass your message to lizmat
melezhik thanks
17:41 epony joined 17:49 sftp joined 17:58 razetime left 18:00 reportable6 left, reportable6 joined 18:12 Sgeo joined 18:47 Homer_Simpson joined 19:01 djerius left 19:03 djerius joined 19:09 jpn joined 19:54 melezhik left 19:55 jpn left 20:16 Xliff left 20:18 jpn joined 20:58 jpn left 20:59 jpn joined 21:13 jpn left 21:33 jpn joined 21:37 Homer_Simpson left 21:39 jgaz joined, RakuIRCLogger left, lizmat_ joined 21:40 Geth left 21:41 lizmat left 21:45 Voldenet left 21:46 Voldenet_ joined, Voldenet_ is now known as Voldenet 21:54 melezhik joined 21:55 jpn left, sena_kun left 21:57 jpn joined, melezhik left 22:03 jpn left 22:04 jpn joined 22:09 jpn left 22:23 jpn joined 22:28 jpn left 22:43 jpn joined 22:47 CodeTortoise joined 22:52 jgaz left 23:09 lizmat_ left 23:10 lizmat joined, Geth joined 23:14 Geth left, Geth joined 23:17 fennewald left 23:19 Geth left, Geth joined, derpydoo joined 23:20 melezhik joined
melezhik .tell lizmat , I am not sure but I don't fresh updates in irc log 23:21
tellable6 melezhik, I'll pass your message to lizmat
lizmat yeah... we lost our connection around 22:38, and the logger didn't auto-recover until I noticed just now 23:22
tellable6 2022-12-28T17:26:58Z #raku <melezhik> lizmat log search works now
23:26 melezhik left 23:32 jpn left 23:45 jpn joined 23:49 melezhik joined
melezhik lizmat thanks! and thanks for posting my new post to reddit )) 23:49
23:53 lizmat_ joined, jgaz joined 23:56 lizmat left, jpn left, simcop2387 left 23:58 perlbot_ joined, perlbot left, simcop2387 joined 23:59 perlbot_ is now known as perlbot