frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Gremllm

https://github.com/awwaiid/gremllm
41•andreabergia•4h ago

Comments

andreabergia•4h ago

  from gremllm import Gremllm

  # Be sure to tell your gremllm what sort of thing it is
  counter = Gremllm('counter')
  counter.value = 5
  counter.increment()
  print(counter.value)  # 6?
  print(counter.to_roman_numerals()) # VI?
I love this!
SoftTalker•2h ago
Awesome, now I don't have to write mocks for testing!
mark_undoio•4h ago
I am appalled and delighted by this.

It feels like an AI cousin to the Python error steamroller (https://github.com/ajalt/fuckitpy).

Whenever I see this sort of thing I think that there might be a non-evil application for it. But then I think ... where's the fun in that?

femto113•1h ago
I share your feelings. What it most brings to mind for me is the infamous StackSort from the image alt text on XKCD comic 1185 (https://xkcd.com/1185/)
awwaiid•1h ago
I was chatting with Simon Willison (who's LLM library I use to power gremllm) on Discord and he suggested D&D use-cases. Kinda works!!!

    >>> from gremllm import Gremllm
    >>> player = Gremllm('dungeon_game_player')
    >>> player.go_into_cave()
    'Player has entered the cave.'
    >>> player.look_around()
    {'location': 'cave', 'entered_cave_at': '2025-07-02T21:59:02.136960'}
    >>> player.pick_up_rock()
    'You picked up a rock.'
    >>> player.inventory()
    ['rock']
(further attempts at this have ... varying results ...)
Fraterkes•9m ago
Just want to say that I'm not an ai guy at all, but this has made me more excited about it than anything in a while. Really cool! Did you also do the one where you put "spells" in your code?

Using pragma Shared_Passive for data persistence in Ada

https://www.adacore.com/gems/ada-gem-20
1•ajdude•1m ago•0 comments

The Amiga 3000 Unix and Sun Microsystems: Deal or No Deal?

https://www.datagubbe.se/amix/
1•wicket•2m ago•0 comments

Being too ambitious is a clever form of self-sabotage

https://maalvika.substack.com/p/being-too-ambitious-is-a-clever-form
1•alihm•2m ago•0 comments

Buy Adderall Online via Telegram; Drmike100

1•lindamerandi•5m ago•0 comments

Cross-Compiling 10k Rust CLI Crates Statically

https://blog.pkgforge.dev/cross-compiling-10000-rust-cli-crates-statically
1•lukastyrychtr•5m ago•0 comments

Lenovo Bios Simulator Center

https://download.lenovo.com/bsco/#/
1•znpy•6m ago•0 comments

Playing Snake with water with OpenDrop [video]

https://www.youtube.com/watch?v=rf-efIZI_Dg
1•xqcgrek2•6m ago•0 comments

From Chatbots to AI Agents: Understanding Modern Agentic Architectures

https://vmayakumar.wordpress.com/2025/07/04/from-chatbots-to-ai-agents-understanding-modern-agentic-architectures/
2•mayakumar•14m ago•0 comments

Show HN: Piano Trainer – Learn piano scales, chords and more using MIDI

https://github.com/ZaneH/piano-trainer
1•FinalDestiny•15m ago•0 comments

Analysing Roman itineraries using GIS tooling

https://link.springer.com/article/10.1007/s12520-025-02175-w
1•diodorus•17m ago•0 comments

Islam, Israel, and the Tragedy of Gaza

https://samharris.substack.com/p/islam-israel-and-the-tragedy-of-gaza
3•mhb•21m ago•1 comments

Ask HN: Should AIs make errors on purpose to keep human minds sharp?

1•amichail•22m ago•0 comments

America Is Killing Its Chance to Find Alien Life

https://www.theatlantic.com/science/archive/2025/07/nasa-observatory-funding-trump-alien-life/683427/
4•voxleone•24m ago•1 comments

Riff: LLMs Are Software Diamonds

https://www.evalapply.org/posts/llms-are-diamonds/index.html
1•Bogdanp•32m ago•0 comments

A client wants to buy old SaaS app – smart move or risk?

3•AbbeyRoadRunner•32m ago•1 comments

Leaktracer: a Rust allocator to trace memory allocations

https://blog.veeso.dev/blog/en/leaktracer-a-rust-allocator-to-trace-memory-allocations/
1•lukastyrychtr•35m ago•0 comments

NebulaStream: High-Performance Streaming Engine for Multi-Modal Edge Apps

https://dl.acm.org/doi/10.1145/3722212.3725118
1•gnabgib•36m ago•0 comments

Ask HN: Section 174 will be Restored to Normality. How is Everyone Feeling?

1•idontwantthis•37m ago•1 comments

People Power: Revisiting the origins of American democracy (2005)

https://www.newyorker.com/magazine/2005/10/24/people-power
1•mitchbob•39m ago•1 comments

First robot football match happened in China, it's like watching drunk toddlers

https://www.pcgamer.com/hardware/the-first-autonomous-robot-football-match-happened-in-china-and-its-like-watching-drunk-toddlers-with-fewer-ethical-setbacks/
1•rmason•40m ago•0 comments

# [derive(Clone)] Is Broken

https://rgbcu.be/blog/derive-broken/
1•RGBCube•42m ago•0 comments

I am Andrew Frelon, the guy running the fake Velvet Sundown Twitter

https://medium.com/@andrew.frelon/i-am-andrew-frelon-the-guy-running-the-fake-velvet-sundown-twitter-fcab2b7e471b
1•jv22222•44m ago•2 comments

Laid-off workers should use AI to manage their emotions, says Xbox exec

https://www.theverge.com/news/698468/xbox-exec-reccommends-ai-to-laid-off-staff
7•amichail•45m ago•1 comments

Ask HN: Are you scared of AI and advancements in next few years?

1•hypetrain•45m ago•1 comments

Productivity, AI and Pushback

https://seths.blog/2025/07/productivity-ai-and-pushback/
1•thedelanyo•48m ago•0 comments

A compact bitset implementation used in Ocarina of Time save files

https://github.com/jb55/oot_bitset
1•todsacerdoti•48m ago•0 comments

Reading fiction with an e-book or in print: Purposes, pragmatics and practices

https://www.researchgate.net/publication/358966934_Reading_fiction_with_an_e-book_or_in_print_Purposes_pragmatics_and_practices_A_focus_group_study
1•smartmic•50m ago•0 comments

Human-sized robot strolling down Detroit's 7 Mile stuns residents

https://www.wxyz.com/news/its-beautiful-human-sized-robot-strolling-down-detroits-7-mile-stuns-residents
1•rmason•50m ago•0 comments

Website Teardown – Neil's Fractional CTO Site

https://davidraistrick.com/blog/2025-07-04-neils-fractional-cto-site-teardown/
1•mooreds•53m ago•0 comments

Theft Problem in Open Source

https://promptcoding.substack.com/p/theft-problem-in-open-source-code
1•AgentMatrixAI•53m ago•0 comments