Hacker Newsnew | past | comments | ask | show | jobs | submit | librasteve's commentslogin

@marvinborner … you are a Raku coder (you just don’t know it yet)

nah, that was Forest Basket

yeah … this is my take - Trump has pushed me to get an EV next time, and BYD is already killing it in UK. Only hope for continued EU car industry is to get the UK back in the single market (haha).

That’s 17:23 UK time, that’s EST(summer time) +5


The RAM market is a square wave

yeah, and Trump will no doubt retort that this is BBC fake news in the light of their legal battle over (improperly) editing his speech

the BBC is required by its charter to provide a “balanced” view and this often result in unbearable smugness and vaulting to “we are the ultimate arbiters of truth”

this is a big pity, because the alternative is Fox News / GB News


> the BBC is required by its charter to provide a “balanced” view

I find this hilarious; the BBC has rarely provided a balanced view on many things. Indians (at almost every point in the political and social spectrum) will easily notice the bias and smug holier-than-thou attitude on India-specific news/opinion.


well yes, balanced as in the net Islington dinner party

as a brit that has lived in the US and EU and visited many places (not yet India) … I can well imagine that the BBC looks like the British imposing our views with a wrapper of intolerable righteousness … please allow me to apologise on behalf of all us licence payers

Why would you have to apologize? If I had to apologize on behalf of all the drivel Indian newspapers write, it'd take me more than a month.

It's pretty clear that newspapers around the world are now decoupling from the actual wishes and necessities of their subscribers/licensees. The latter are not to blame, especially when they are willing to pay for their news.

Plus I don't have to read the BBC if I don't want to, but media literacy, combing through nonsense and finding the actual necessary bits, etc. are important, and that needs me to read news from different sources and countries, including that of BBC sometimes.


You clearly haven't spent long enough in Blighty to identify sarcasm.

Apologies. I haven't even spent a minute in Blighty, so I took their post in good faith. I should've learned from my experiences with their news...

who me?

>the BBC is required by its charter to provide a “balanced” view

You say this like it is a bad thing.

The BBC journalism is rather good and quite rightly seeks to be as impartial as possible. To compare the likes of Rupert Murdoch as a credible alternative to be BBC (or indeed, any news media which lacks a 'fairness doctrine') is simply idiotic.


so, yes and no

I believe in an active, pluralist and free press.

Simplistically, this should emerge spontaneously from a free market in publications and subscribers. But newspapers are prone to capture by rich folk who can then manipulate political destinies (Heart, Murdoch, Bezos).

Realistically, a state funded media channel such as the BBC is a good balance to that, but it is idiotic cant to pretend that a “neutrality charter” is meaningful since such organs tend to become captured by “dinner party activists” and foster groupthink about what neutral is. So I agree with the top comment that the BBC has a tendency to be a righteous preachy outfit.


That’s neat … I wrote a simple Math::Interval library in Raku https://github.com/librasteve/raku-Math-Interval

This is based Raku’s built-in Junction and Range classes and was an interesting experiment.


Oh I found this https://raku.land/zef:antononcube/DSL::Examples

So Raku has a module for “few shot” LLM training for DSLs … would be cool to see an example DSL interpreter in Selkie (eg a window for DSL code and a window for output…


There is a set of Raku modules that leverage LLMs for different tasks (mostly code generation) using different techniques:

- https://raku.land/zef:antononcube/LLM::Resources : Uses agentic LLM-graphs with asynchronous execution

- https://raku.land/zef:antononcube/ML::FindTextualAnswer : Finds answers to questions over provided texts (e.g. natural language code generation commands)

- https://raku.land/zef:antononcube/ML::NLPTemplateEngine : Fills-in predefined code templates based on natural language code descriptions/commands

- https://raku.land/zef:antononcube/DSL::Examples : Example translations of natural language commands to executable code


I've got a few LLM modules too, mostly for handling context management:

- https://raku.land/zef:apogee/LLM::Character implements CCv3 which is a standard for managing characters (system prompts) and lorebooks (injected snippets)

- https://raku.land/zef:apogee/LLM::Chat handles context shifting for long contexts, sampler settings, templating for text completion & inferencing with or without streaming using supply/tap

- https://raku.land/zef:apogee/LLM::Data::Inference adds retries, JSON parsing & multi-model route handling to LLM::Chat

- https://raku.land/zef:apogee/LLM::Data::Pipeline allows you to declaratively build multi-step pipelines (simple agentic LLM use)

- https://raku.land/zef:apogee/HuggingFace::API is a partial wrapper around HF API for grabbing tokenizers.json & tokenizer_config.json

- https://raku.land/zef:apogee/Template::Jinja2 is a near-complete impl of Jinja2 for parsing LLM text completion templates (can be used for anything you'd use Jinja2 for)

- https://raku.land/zef:apogee/Tokenizers is a thin wrapper around HF tokenizers, for token counting mostly


Yeah I have thought about doing this with Roaring::Tags (https://raku.land/zef:apogee/Roaring::Tags) so you type a Roaring::Tags query on one side and it shows the built Raku on the other.

Wouldn't be too difficult:

- FileBrowser widget to get the serialised bitmap.

- MultiLineInput for the query text input.

- ListView to show tags and fields.

- RichText for the AST pretty printer.


I tried this on macOS … very smooth install and looks great.

But why would I switch to Raku just to get a TUI framework?


The tl;dr is: because you want native performance and don't want to focus on blitting pixels or terminal internals.

Selkie has an event/effect model similar to Elm & re-frame, you just declare your widgets and renders/updates are handled by the lib.

As for why Raku:

- grammars allow for easy parsing of complex DSLs

- supply/tap are a natural fit for the event/effect model, asynchronous thread-safe programming

- roles make composing widgets simple

- it's fun to write :D


Ok cool, thanks!


np, what kind of TUIs do you write?


viz. Iain M. Banks culture, where the AI keep humans as pets


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: