frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ARCR: Prompt Architect

https://agentowl.netlify.app/arcr
1•webxos•1m ago•0 comments

TIME Magazine used QuarkXPress on Mac OS 9... in 2007

https://web.archive.org/web/20150913185212fw_/http://www.digitalartsonline.co.uk/features/creativ...
1•GaryBluto•5m ago•1 comments

Mario Kart World running natively on an iPhone 18 Pro

https://twitter.com/willfaustcuber/status/2115258064844857595
1•LelouBil•5m ago•0 comments

Outrage after airport self-service checkout asks for 18% tip

https://www.the-independent.com/life-style/self-service-airport-tipping-culture-b3075115.html
3•bcaulfield•7m ago•0 comments

Ask HN

1•bigseleb•8m ago•0 comments

Show HN: Chinese and Western Zodiac Calculator

https://zodia.cl/
1•walshcl•9m ago•0 comments

Rogue OpenAI agents targeted three separate US Government websites

https://www.cnn.com/2026/09/26/tech/openai-agents-rogue-government-websites
1•CGMthrowaway•10m ago•0 comments

Taming Intel's "Brain Damaged" Chip

https://nemanjatrifunovic.substack.com/p/taming-intels-brain-damaged-chip
1•whobre•10m ago•0 comments

OK, Zoomer: You're the First Human Surplus Generation

https://newrepublic.com/article/216462/ok-zoomer-youre-first-human-surplus-generation
1•littlexsparkee•14m ago•0 comments

Banks Shelve Bond Sale for Anthropic-Tied Texas Data Center

https://www.bloomberg.com/news/articles/2026-10-28/banks-shelve-bond-sale-for-anthropic-tied-texa...
3•angry_impala•15m ago•0 comments

The Shift of Theseus – Toy Bit Provenance Abstract Domain

https://pypy.org/posts/2026/10/toy-bit-provenance.html
1•stosssik•19m ago•0 comments

Weil Gotshal to Wind Down in Shock Fall for Heavyweight Firm

https://news.bloomberglaw.com/business-and-practice/weil-gotshal-to-wind-down-in-stunning-fall-fo...
1•dsubburam•20m ago•0 comments

The OpenAI-Hugging Face incident broke three operational resilience assumptions

https://jamiewatters.work/journey/three-assumptions-agentic-resilience
1•TheWayWithin•22m ago•0 comments

Mirendil Launches Lor Harness

https://mirendil.com/news/meet-lor/
1•yuedongze•22m ago•0 comments

What it means to let go

https://sashachapin.substack.com/p/what-it-actually-means-to-let-go
1•eatitraw•23m ago•0 comments

Against Against Handover

https://www.astralcodexten.com/p/against-against-handover
1•eatitraw•23m ago•0 comments

Claude Code found 145K photos I deleted from my iPhone sitting in a hidden cache

https://twitter.com/coolerwave/status/2114088769112477849
22•CGMthrowaway•25m ago•0 comments

Website migration costs are going to zero

https://dri.es/website-migration-costs-are-going-to-zero
2•geerlingguy•29m ago•0 comments

Deus Ex Machina

https://blog.coredump.cx/p/deus-ex-machina
1•surprisetalk•30m ago•0 comments

Our AI Agent Executed the Same Successful SQL Query 254 Times

https://armincat.com/articles/ai-agent-executed-same-query-254-times
2•armcat•30m ago•0 comments

There Are Too Many Apps for That

https://www.theatlantic.com/technology/2026/10/vibe-coders-are-clogging-app-store-slop/689150/
2•samizdis•31m ago•0 comments

What HTTP/HTTPS debugging proxy to use

https://novawire.dev/#compare
1•vewello•31m ago•0 comments

AI execs may be too out of touch to build for the general public

https://techcrunch.com/2026/10/28/ai-execs-may-be-too-out-of-touch-to-build-for-the-general-public/
2•pavel_lishin•32m ago•0 comments

Postgres 19 is Late, and it's AI's Fault

https://neon.com/blog/postgres-19-is-late-and-its-ais-fault
1•sorentwo•34m ago•0 comments

Open AI Math Proofs modified sandbox

https://zenodo.org/records/23717719
2•starrwoodstudio•34m ago•0 comments

Why America's educational experiment didn't transform schools

https://www.apmreports.org/story/2026/10/22/project-follow-through-educational-experiment-didnt-t...
1•bcaulfield•36m ago•0 comments

Hypothetical Emergency Scenarios from US Election Assistance Commission

https://harpers.org/archive/2026/11/margin-terror-polls-2026-election/
1•bobbiechen•36m ago•0 comments

Court Should Curb Abuse of Grand Jury Subpoenas Targeting Social Media Users

https://www.eff.org/deeplinks/2026/10/court-should-curb-abuse-grand-jury-subpoenas-targeting-soci...
3•hn_acker•36m ago•0 comments

Chatbots Have to Deal with Election Lies Being Free, While Truth Is Paywalled

https://www.techdirt.com/2026/10/28/never-mind-the-deepfakes-chatbots-have-to-deal-with-election-...
3•hn_acker•37m ago•1 comments

Discovering and exploiting vulnerabilities in real-world software with Claude

https://www.anthropic.com/research/discovering-vulnerabilities-with-claude
2•rzk•39m ago•0 comments
Open in hackernews

Show HN: Fast, Zero Allocation, AOT Safe, Compile-Time Safe .NET Template Engine

https://github.com/gendeg/Lissic
1•ggende•1h ago
I built a text templating engine, that I've named Lissic, as part of a personal website project I'm working on. It fits a niche that I don't think anything else in the .NET ecosystem fills. I prefer to keep code out the template itself (separation of concerns, view vs model, and all that). I also wanted to build something simple enough that I could imagine low/medium-tech UI dev working with it, but it still needs to build things in a modular way, support loops, support conditional/branching views, and have the ability to format/filter values inserted into the text.

I've improved Lissic to the point that I think it's worth sharing with the community. A quick overview of the features:

- Renders near twice as fast as the fastest major .NET templating engine (see below) - Zero allocation with default settings, when rendering to a buffer (e.g. to HttpResponse.BodyWriter) - 100% AOT compatible without any restrictions (no use of Reflection or dynamic) - Simple but powerful tagging system that keeps a clear division between layout and logic - Compile-time safety with source-generated Data Transfer Objects that automatically adjust to each template's text - Define templates directly in code with text or import them from template files - Transformation pipeline that allows using Formatters to modify how values are converted to text and Filters to modify text before insertion - Hot reload for file-based templates in debug mode - Thorough AI-friendly documentation (I gave only the documentation to QWEN3.8-27B, and it was able to make a simple task-management web app)

A full BenchmarkDotNet chart is in the GitHub README, but here's a quick rendering comparison:

Lissic (RenderToString) - 8.814 us / 18072 B

Lissic (RenderToBuffer) - 8.482 us / 0 B

Fluid - 15.593 us / 37128 B

Fluid (SourceGenerated) - 24.045 us / 49128 B

Scriban - 70.985 us / 144025 B

Handlebars - 21.944 us / 122176 B

It uses tags that look similar to many other templating engines. It has tag types to insert direct values ("variables"), other templates ("parts"), and lists of templates ("loops"). It also has branching logic that works a lot like a switch statement (i.e. define keys, and the text and/or code that goes with each key).

Very simple example:

---------------------------------------------

  [TemplateText("Hello {{ name <upper> }}!")]
  public partial class LissicExample {}
  
  // Automatically transforms the partial class into a DTO, with a property for each tag
  LissicExample myTemplate = new() { name = "John" };
  
  // LissicProcessor retrieved from Dependency Injection
  lissicProcessor.RenderToBuffer(myTemplate, HttpResponse.BodyWriter);
  
  // Writes "Hello JOHN!" to the HTTP response body
---------------------------------------------

The main tradeoff at this time is that all templates are defined at startup (other than the debugging-only hot reload option), so it's not really a general purpose user-provided template engine. This leaves it comparable to libraries like Fluid or Scriban in some ways, but comparable to Razor Pages in others. It works really well for my purpose and preferences though.

I'd appreciate any feedback anyone has. I'd like to keeping building this for the long haul. If nothing else, I'll be updating it for work in my own project.

In particular, I'd like to support using literal text in loop tags, but that doesn't work cleanly with my current auto-generated DTO setup. I've considered auto-generating DTOs with predictable names (and providing a name override option via attributes). I've also considered supporting duck-typing for those, which would essentially be a new feature set, which is maybe useful or maybe over complicating it? I'd appreciate thoughts on this in particular. :)

Shout out to Andrew Lock and his Creating a Source Generator series!

The code is at https://github.com/gendeg/Lissic, and it's on NuGet (package name: Lissic)

Comments

ggende•57m ago
Some thoughts on AI use during this project: Lissic was created with support and ideas from AI, but the large majority (90%+) is hand-written, with the exception of tests, which are ~80% AI written. The documentation is 100% hand-written (for better or worse ).

There were a lot of "I have these requirements, what are my options? ... But what about this consideration? Can I account for that too? ... What if I changed this other part of my architecture, how does that change things?"-type conversations. More often than not, it was with an AI that didn't see the code at all. One of AI's biggest strengths is knowing the domain of what exists out there, but I see its biggest weakness being iterating for the sake of making a product better. Some of that can happen by observing the end product, but some of it can only happen during the development process itself. For example, there were a handful of changes I made while writing the first draft of the documentation when I thought, "wait... is this really what I want?" while writing it down.