| 16 Dec 2025 | |||
| disbot6 | <librasteve> note that weekly bot is not working here (unless you get an ack) | 14:44 | |
| <jubilatious1_98524> @librasteve I got an ack... | 14:50 | ||
| <librasteve> @jubilatious1_98524 - I note that your posts start with "Using Raku (formerly known as Perl_6)" - since Perl is generally considered to be a dead language, I wonder if this is part of the problem - one major benefit of the rename is to cut the immediate link from raku to the perl legacy ... btw I would not judge upvotes as a negative on either raku or your (very nice) one-liners ... more a symptom of (i) wtf is raku | 14:51 | ||
| (dont care), (ii) I do not have raku installed (pain), (iii) looks nice in raku, but I already prefer bash/perl/awk. | |||
| <librasteve> <notable6> @librasteve_ Noted! (weekly) <== this is what you are looking for ... I am pretty sure these acks are visible to all | 14:53 | ||
| <librasteve> I think you could write a book! Even better would be a prompt setup where you put in what you want to do and get the raku one-liner back ;-) | 14:56 | ||
| <jubilatious1_98524> @antononcube That solves the problem of adoption but not the problem of advertising. Upvotes are advertising. Sed, AWK, Perl, Ruby have tons of upvotes. So do csvkit, mlr, etc. A naive reader of the StackExchange forum would conclude that mlr is a better choice based upon upvotes--which of course it isn't. | |||
| <antononcube> I was not clear - I want to be able to scrape answers of a particular user (say, you) and automatically make DSL examples. | 14:58 | ||
| <librasteve> I 100% agree with that analysis - imo problem is that you (we) are trying to "boil the ocean" ... read this soloway.pbworks.com/f/Crossing-The...LEBOOK.pdf | |||
| <jubilatious1_98524> Oops, YOU got an ack... . | |||
| <librasteve> ;-) | 14:59 | ||
| <librasteve> the idea is to pick a small number of valuable "bridgehead" applications that are sustainably differentiated | 15:00 | ||
| <antononcube> For the record, I am trying to speed up the coming of the next AI winter, so if @jubilatious1_98524 is trying to boil the ocean, that is very counterproductive. | 15:01 | ||
| <librasteve> www.reddit.com/r/rakulang/comments...exemplars/ is my "starter" to have us as a community work out what these bridgeheads could be ... please do vote (btw Anton, I voted for "LLM Prompt Engineering") did you vote for it? | 15:03 | ||
| <antononcube> @librasteve I have to add the LLM opinions about Raku-for-LLMing in the GitHub page you created. I will do it later today. | 15:04 | ||
| <antononcube> (Forgot to do it yesterday.) | |||
| <librasteve> oh and the bridgehead apps should target small niche applications that are early on in their evolution and do not already have well established incumbents (which is where I think we are with unix one-liners, where AWK/SED/Perl/Ruby already have 99% share) | 15:05 | ||
| <librasteve> @antononcube well I will make it anyway as soon as I can find tuits | |||
| <librasteve> I am just surprised that it is not winning the poll | 15:06 | ||
| <jubilatious1_98524> Not trying to boil the ocean, trying to become the "Jon Skeet" of Raku! www.reddit.com/r/dataisbeautiful/c...tation_in/ | 15:07 | ||
| <antononcube> This discussion makes think my 4th Raku advent post should be about Number theory visualizations, not code highlighting. | 15:11 | ||
| <antononcube> The latter is a "solved problem" for many... | 15:12 | ||
| <antononcube> ... And nobody get Number theory much... | |||
| <librasteve> lol - btw Jon Skeet is a great illustration of what I mean, he entered the race early (2008) when there was little competition and was able to establish as the market leader in the short time in the early evolution when there is a chance to break in - after that, the market shares get kinda of frozen (due to the reinforcement effect of upvotes you mention) and the leaders hold their share broadly (bit of a horserace, | 15:13 | ||
| sure ) throughout the rest of the market evolution | |||
| <librasteve> as an extreme counter example, if you made a new SO group called rakuonelines.stackoverflow.com, then you would be the #1 (of nothing) | 15:14 | ||
| <antononcube> I was thinking about that -- what does it take to make a new Raku StackExchange group. | 15:16 | ||
| <librasteve> hmmm - would need to be a non-raku topic (that raku can be the leader of) - I have a yen for DSLLMs (Domain Specific Langiages for LLMs) | 15:18 | ||
| <jubilatious1_98524> www.forbes.com/sites/benjaminkomlo...the-ocean/ | 18:58 | ||
| <antononcube> Hmm... “don’t boil the ocean by nuking the sun” might be still relevant. | 20:53 | ||
| 17 Dec 2025 | |||
| korvo | I'm preparing to parse my LangJam language. Is the following example something that I could reasonably parse with a slang? If not, are there some easy tweaks to make it into a slang? gist.github.com/MostAwesomeDude/c5...875a3a170f | 06:53 | |
| (The scenario is some artistic critique of capitalism, written by a friend. I'm at the point where I need to fix the syntax so that they can express the rest of the scenario.) | 06:54 | ||
| Oh, I already found one mistake; Raku prefers scientific notation for big numbers. I do want to reuse Raku expression syntax and arithmetic. | 06:59 | ||
| disbot6 | <rcmlz> @antononcube Is it possible to run Ollama as backend in Jupyter::Chatbook? e.g. by setting environment variable export OLLAMA_HOST=127.0.0.1:11434 and then use that as I would normally use OPENAI_API_KEY - sort of automatically? | 07:19 | |
| <rcmlz> If we want to have “out of the box working Raku LLM demos” having a local service as backend seems to me a good choice | 07:22 | ||
| ab5tract | korvo: Slangify appears to make it as simple as providing a grammar and an action : raku.land/zef:lizmat/Slangify | 07:48 | |
| I haven't actually used it yet, but its already powering quite a few slangs | |||
| korvo | ab5tract: Yeah! I also looked at packages like OO::Actors which are even simpler than that. | 07:49 | |
| ab5tract | It depends on your definition of simple, I guess. OO::Actors does add a keyword or two but I'm not sure that it considers itself a slang | 07:58 | |
| If you don't already have a grammar or an actions class, then yeah that approach almost certainly is simpler, or at least less work | 07:59 | ||
| SmokeMachine also has a few modules that add additional keywords, IIRC | 08:00 | ||
| (auth:fez:<FCO>) | |||
| borked the syntax there but I hope you catch my meaning | 08:01 | ||
| korvo | Thanks for the pointers. I'm fairly flexible on the actual syntax that I use. I'm kind of going for minimal effort; I have to technically create a new language and I figure that a slang is technically a new language. | 08:17 | |
| I suppose I'm also wondering exactly how declarative a slang can be. | 08:20 | ||
| disbot6 | <antononcube> @rcmlz I have to program an Ollama client in Raku. It is not that hard. (I think.) | 10:13 | |
| <antononcube> The “Ollama::Client” package will have Linux, macOS, and Windows binaries in its resources. | 10:14 | ||
| <antononcube> I am not sure about the package name… | 10:15 | ||
| <antononcube> @rcmlz Thanks for asking / reminding me about this? | 10:16 | ||
| SmokeMachine | korvo: if I was trying to implement that code you shared, I would probably start doing some custom ClassHOW keywords. An simple example for that I would say that is this module: github.com/FCO/ValueClass | 10:49 | |
| korvo | SmokeMachine: Nice, thanks. | 16:23 | |
| 18 Dec 2025 | |||
| disbot6 | <_ccubed> Anybody present? | 16:53 | |
| <antononcube> Many... | 16:57 | ||