Complexity of nim vs other languages in creating a simple back-of-the-envelope tool.

2023-05-24 Thread NunoSempere
> apple-to-apple Yeah, but apple-to-apple vs what? Apple to apple in terms of the same algorithm, or in temrs of effort spent? With the same effort spent, nim would have better algorithms...

Complexity of nim vs other languages in creating a simple back-of-the-envelope tool.

2023-05-24 Thread NunoSempere
> "Lines of code" is rather meaningless given that it could easily be fewer > lines of code. I mean, it's a rough proxy of the complexity of the code which I actually produced. Not perfect, but I think defensible.

Complexity of nim vs other languages in creating a simple back-of-the-envelope tool.

2023-05-24 Thread NunoSempere
> apple-to-apple Yeah, but apple-to-apple vs what? Apple to apple in terms of the same algorithm, or in temrs of effort spent? With the same effort spent, nim would have better algorithms...

Complexity of nim vs other languages in creating a simple back-of-the-envelope tool.

2023-05-24 Thread NunoSempere
Thanks, deleted the semicolon.

Nimble for Nim v2

2023-05-24 Thread Araq
Probably a good idea.

Nimble for Nim v2

2023-05-24 Thread ElegantBeef
Given the present desire of getting eyes on atlas and usage up, perhaps it's time to move it to its own repo?

Nimble for Nim v2

2023-05-24 Thread Araq
It picks the minimum specified version. If there is a conflict, the higher version is used. > How are you marketing Atlas? You released it a while ago, but since then, I > have heard nothing about it. Well I don't and only very recently I understood how things should work. But if you're unhapp

Best Web Framework Features?

2023-05-24 Thread federico3
I'd be happy with a minimalist threaded HTTP server in the stdlib. Next, a HTML oriented framework (think hotwire) without build dependencies.

Nimble for Nim v2

2023-05-24 Thread treeform
What package resolution strategy does Atlas use? Does it download all the Nimble files first, then does a version solver? The problem with Nimble we run into again and again is that it starts installing packages and then runs into conflicts with later packages. There is no ahead of time solver.

Any fuzzy or trigram substring search library, with index, so it's instant?

2023-05-24 Thread kobi
Does this help? n-grams? adjust the window size according to your content do you need something faster for your fuzzy search?

Mono UI, high productivity, simple and clean code

2023-05-24 Thread alexeypetrushin
Yes, storybooks are nice, yes it should be possible. For my use case full interactive storybook is overkill, and I use much simpler version, I call it Palette, basically I just render all UI elements in one page. Here's [couple of screenshots](https://imgur.com/a/2Cb9CGD) how it looks [its Nim

Mono UI, high productivity, simple and clean code

2023-05-24 Thread Isofruit
Out of curiosity since it is something I encounter a lot at work and have started valuing immensely, could I integrate this with [Storybook](https://storybook.js.org/) ? The reason for my question is that I discovered at work that design-systems have gained quite a lot of value, particularly fo

Any fuzzy or trigram substring search library, with index, so it's instant?

2023-05-24 Thread alexeypetrushin
Yes, the SQLite/Postgres Trigram search is an option. I was hoping to get away with something simpler, as I don't need full database, just a simple in-memory index. Will try brute force, and if it will be too slow use SQLite/Postgres.

Nimble for Nim v2

2023-05-24 Thread Araq
Atlas now works well for me except for the fact that pratically every Nimble package out there lies about its "minimal" requirements. But it's worth a try. For example mkdir newproject cd newproject atlas use malebolgia # add `import malebolgia` to your example.n

Best Web Framework Features?

2023-05-24 Thread dlesnoff
I am not a web developer but I found this video of Fireship instructing: [I built 10 web apps... with 10 different languages](https://www.youtube.com/embed/FQPlEnKav48). Similarly: [I built the same app 10 times // Which JS Framework is best?](https://youtu.be/cuHDQhDhvPE) Web frameworks are p

How to create modular program (like main with future addons) ?

2023-05-24 Thread PMunch
Sorry, it wasn't my intent to lecture you, maybe I misinterpreted your original post. It just seemed a bit too pessimistic about plugins, so I just wanted to share some counter points for other people who might stumble upon this post. I didn't expect anything I wrote to be news to you, but rathe

“NIM” backronyms

2023-05-24 Thread kragil
Ninja Identifying as Master

How to create modular program (like main with future addons) ?

2023-05-24 Thread IvanS
Thanks for the responses. I'll go with dynlib, since I'm keeping it nim only (no c / c++). If that should change Genny is an option. A few of Treeform's packages have already made it into my project : zippy, jsony and (a slightly adapted version of) fidget.

How to create modular program (like main with future addons) ?

2023-05-24 Thread UxDnz0
Some say; All programs will eventually be able to substrate-agnostically bootstrap themselves using a tiny corner of themselves, and learn to dynamically interact with any API's you wish. Some say; this has already happened.

Any fuzzy or trigram substring search library, with index, so it's instant?

2023-05-24 Thread ingo
[SQLite FTS5](https://sqlite.org/fts5.html#the_trigram_tokenizer) ?

How to create modular program (like main with future addons) ?

2023-05-24 Thread Araq
I gave the usual "you don't want to do it, but here is how" response. There is nothing to add from my side and I don't need lectures about things that I already know.

How to create modular program (like main with future addons) ?

2023-05-24 Thread PMunch
Plugin systems are great, complexity is just an unfortunate side-effect. Take your favourite editor for example, would you like to recompile it every time you install a plugin? Recompile your browser for an extension? That's just madness, and requires either a full reinstall for users (which lea