Advent of Nim 2023

2023-12-24 Thread Col
Very late to the AoC party. My attempts if anyone is interested: I didn't know about AoC so hopefully next year I can get into it properly.

What's stopping Nim from going mainstream? (And how to fix it?)

2023-11-03 Thread Col
Fully agree but nor is there anything that differentiates it enough for a developer to say "Yes it's worth my time learning (on top of all the other languages learned over the years)." For my personal situation if I can present that we can be as productive as we are with Java but reduce cloud se

What's stopping Nim from going mainstream? (And how to fix it?)

2023-11-02 Thread Col
When reading the various posts comparing languages (including Nim) the conclusion many times says something like "Nim is everything you want in a language but ...". If it is highly regarded what's stopping it from gaining that critical mass required to be considered mainstream? (A small digress

html tags from template not being rendered

2021-08-16 Thread Col
Found the problem (obvious now :). I have to remove the , toString = "xmltree.escape" Run from the filter definition. Just for clarity the template file filter now looks like: #? stdtmpl(subsChar = '$', metaChar = '#') Run

html tags from template not being rendered

2021-08-16 Thread Col
I am trying to render html output via templates but the html tags are being displayed as tags. I'm sure (hope) that I am just missing something obvious here. Here's a small complete sample which replicates the problem. main.nim import asyncdispatch, jester import templ8

% operator but for OrderedTable

2021-08-15 Thread Col
I would the use the % operator () but for an OrderedTable rather than a StringTable. Is this possible? As an aside, does the % operator have an actual name? 'percent operator'? If so it should be include