This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
08:13
dakkar joined
09:01
librasteve_ joined
|
|||
rcmlz | @librasteve regarding your request for comment for raku.org - maybe the “if you declare your script to use e.g Raku 6.d you can always upgrade the rakudo environment fearlessly …” feature is worth emphazising. Can not login to github right now, thats why the comment via this channel. github.com/librasteve/raku-org-25-proto | 14:25 | |
but perhaps in times of containers, flatpacks and nixos-way this is not so much of a feature. | 14:27 | ||
I like that my very old (Perl) scripts still work - hope this holds true for the stuff I am doing in Raku too | 14:28 | ||
thinking about the „code example“ section - would it not be cool to have all code examples „runable“, so people can press a button? The concept is called „Use-Modify-Create“ in teaching. | 14:37 | ||
Maybe there is even an HTMX-element that can do that securely on the web-server so that Jupyter or similar is not needed … | 14:46 | ||
librasteve | glot.io/snippets/h7sotvz66u <= like this? | 14:50 | |
rcmlz | Yes, but initially only the source code (nicely highlighted) and the „Run“ button. Inly when it got executed the output is shown. | 14:52 | |
librasteve | my preference, if we want to have runnable snippets on new raku.org, that we link out to glot.io (or similar) because I don’t want to risk the site going down through malicious code | 14:53 | |
from a design pov I am pretty allergic to gadgets too :-) | 14:54 | ||
rcmlz | Yes, how this can be done technically is also important. Just wanted to mention that „Use-Modify-Create“ exists and people in CS education like it :-) | 14:55 | |
If teachers like Raku, maybe its gets used in education more, which might lead to more Rakoons once they grown up … | 14:56 | ||
librasteve | but doesn’t having a “try it now” link that opens the snippet in glot.io provide that? | ||
rcmlz | Most website do not want the users to leave - if another tab opens maybe the user does not come back | 14:57 | |
But I guess it is far to early for technical details | 14:58 | ||
During brain storming we should focus on ideas, not obstacles | 14:59 | ||
librasteve | lol - i did break the rules of brainstorming that’s true - but i want to be realistic about expectations for this project - making and maintaining a public raku sandbox is not on the table - this is about a small, attractive and effective static website | 15:04 | |
rcmlz | glot.io/api | 15:07 | |
librasteve | a broken link :-) | 15:08 | |
rcmlz | oh, did not click further - lol | 15:09 | |
anyhow, was just an idea, and we are in the wrong channel :-) | 15:10 | ||
librasteve | yeah … but it goes to my point that a year from now if we choose to integrate to the glot api when they change something we likely will not even notice something is broken since the maintainer tuits should be considered minimal | 15:14 | |
glot.io/snippets/h78lxqki6p | 15:20 | ||
^^^ looks like glot has some abuse | |||
rcmlz | what can I see there? | 15:32 | |
Some suspicious looking links? | 15:34 | ||
librasteve | yes | 15:40 | |
i have raised an issue in the glot io source repo | |||
rcmlz | Knowing that dynamic is out of scope, I had a look what other “newcommers” have. How about something like that in v2? tour.gleam.run/table-of-contents/ | 15:49 | |
does not even has a run button - just executes on change | 15:51 | ||
nice | |||
librasteve | its lovely (I certainly will steal from it) - tbh I am not convinced that a sandbox on the main site is necessary to make a language successful - but I see the attraction and the gleam one is well implemented - btw I note that their site does not work in dark mode ;-) | 15:55 | |
(I mean I will steal design and content ideas from the home page) | |||
15:56
timo joined
|
|||
I would say the set of comparable benchmark sites is something like Python, Rust, Zig, Ruby, Go (happy to consider others but these seem to be a representative set of successful and relatively new languages) - of these only Go has a sandbox on or linked from the home page | 16:07 | ||
antononcube | Python 🤮, Rust 🤮, Zig 🤷♂️ , Ruby 🥀 , Go ↪️ | 16:28 | |
librasteve | haha | ||
16:31
dakkar left
|