| 16 Dec 2025 | |||
| disbot6 | <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 | ||
| 20 Dec 2025 | |||
| deoac | what enviroment variable do i need to set so that my modules can find /opt/homebrew/lib/libmagic.dylib | 15:34 | |
| arkiuat | RAKULIB or RAKUDOLIB might be what you want | 15:39 | |
| docs.raku.org/programs/03-environm...mmand_line | 15:40 | ||
| deoac | ~/Documents/Development/🦋% echo $RAKUDOLIB | ||
| ~/Documents/Development/🦋% echo $RAKULIB | |||
| '/opt/homebrew/Cellar/rakudo/2025.11/share/perl6/site/sources,.:./lib,/opt/homebrew/lib' | 15:41 | ||
| that's the response to both of the `echo` commands | |||
| libmagic is still not found. | |||
| `/opt/homebrew/Cellar/rakudo/2025.11/share/perl6/site/sources,.:./lib,/opt/homebrew/lib` | 15:43 | ||
| arkiuat | oh right, libmagic.dylib is not a Raku module. This is on a Mac, right? | ||
| deoac | yes, Sequoia 15 | ||
| arkiuat | I used to know some stuff about this that I've forgotten. Right now I'm looking at github.com/Raku/App-Rakubrew/issues/9 | 15:47 | |
| that might not be the best reference on this, but it might have some clues for you | 15:48 | ||
| okay, this might be what you want to look at: docs.raku.org/language/nativecall#...is_ignored | 15:50 | ||
| that has two links to further info in it | |||
| deoac | thanks for your help, I'll check them out | 15:53 | |
| I ended up making a symbolic link in `/opt/homebrew/Cellar/rakudo-star/2025.11/lib`. That worked. Bummer that I have to do this every time I update rakudo... | 16:03 | ||
| SmokeMachine | deoac: maybe this can help: raku.land/zef:lizmat/MacOS::NativeLib | 16:46 | |
| deoac | I test it out, thanks. And thanks Liz! | 16:53 | |