Nim 2.2.0 RC1 available

2024-07-18 Thread Ward
Thank you for your hard work. For issue 1, my workaround is: type p = ptr UncheckedArray[char] doAssert p is ptr UncheckedArray[auto] Run This seems to be the correct way to write it.

Nim 2.2.0 RC1 available

2024-07-18 Thread ringabout
Hi, @Ward thanks for your feedbacks. The issues that you posted are fixed in the following PRs/anwsers: # Issue 1 > Culprit here seems to be #23055 which switched to elementType from base, > probably only worked by chance before. ref

Claude 3.5 (Sonnet)

2024-07-18 Thread nasl
We are past the predictions. For better and worse, the emergence of AI will be as significant as going from pagers to cell phones and than to mobile phones. AI is at pagers level right now. Dismiss it at your own peril.

LamdaConf 2024

2024-07-18 Thread tsojtsoj
Recently I finally managed to move all the std/threadpool stuff in Nalwald to Malebolgia and it works nicely!

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread mratsim
I think a bittorrent library would be a nice effort that is easy to communicate around: * everyone is aware of Bittorrent * it's fairly low-level so no need to build tons of library around (say GUI) * it can be useful * lots of reference implementation The only issue is that you likely

Notes from Uiua programming language ↯◰⍥

2024-07-18 Thread hamidrb80
Hey, this week I've tried [Uiua](https://www.uiua.org/), a very strange programming language. How strange? well it is _functional_ (mutations are not allowed), _array based_ , heavily relied on _combinators_ , and _dynamicly typed_. no wait! I'm not done! it is also _stack based_ and advocated

Genius Wave MP3

2024-07-18 Thread pricegeniuswavemp3
Genius Wave MP3 Genius Wave MP3 is a revolutionary audio software that makes use of modern brainwave entrainment technology to guide your thoughts right into a heightened kingdom of recognition referred to as the Theta wave.This particular brainwave pattern is associated with deep meditation, hi

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread ringabout
There is a repo for needed libraries

Nexalyn 남성 강화 리뷰: 성분, 그리고 어떻게 작용하나요?

2024-07-18 Thread nexalynresultkr
Nexalyn 리뷰: 만족스러운 성생활을 누리는 것이 이제는 불가능해졌습니다. Nexalyn 그 뒤에는 여러 가지 이유가 있습니다. 만족스러운 성관계를 가졌다면 당신은 자신의 존재를 최대한 즐기는 사람입니다. 성생활에는 관련된 많은 요소가 있습니다. Nexalyn 무엇보다도 전반적인 신체 건강은 성생활을 정의하는 데 매우 중요하며 성 건강도 체력 수준에 따라 정의됩니다. 올바른 생활 방식은 연애 생활에 매우 중요한 요소입니다. 사람이 정신적 안정과 평화를 가질 때, 적절한 수면을 취하고 완전히 안정될 때 적절하고 충분히 만

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread Araq
.NET's or JVM's bytecode might be an option. A gazillion of libraries and you don't have to concern yourself with Java's or C#'s obscure grammar corner cases. If you don't like to work on the binary files (and who does) run it through a disassembler first, there are a couple around.

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread Araq
Check out my NIF project. It's similar, but without the JSON (which is illsuited for ASTs and compilers):

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread kobi
Thanks for the quick response, When I write things my aim is to be practical with high impact, so even though it can fail as you say for learning purposes, i aim for it to be functional. in other words, we want modern languages that are actively used. What languages would you suggest as input? D

LamdaConf 2024

2024-07-18 Thread Araq
Here is my talk: [https://www.youtube.com/watch?v=MIITSTQok-4&ab_channel=LambdaConf](https://www.youtube.com/watch?v=MIITSTQok-4&ab_channel=LambdaConf) Please excuse my - err - thinking pauses, the jet lag was massive that day.

German strings

2024-07-18 Thread Araq
Remove the l-value modifier, it causes trouble for almost every decent string implementation.

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread kobi
So... me and Claude, we're writing a transpiler. This is partly an experiment with AI, and partly a chance to finish an ambitious project i had a few years ago (which got to about 70-80% completion and took about 3-4 months -- it was a c# to nim transpiler using Roslyn) I will now tell you all

Small libraries you'd like to see ported to Nim?

2024-07-18 Thread Araq
> The current focus is on Go (golang) because i think it is relatively similar > to Nim or a subset of Nim Nah, Go is very different with lots of idioms that make no sense in Nim. > I will consider it a success if it is able to translate ~80% of the > constructs to idiomatic Nim code. I hate t

MANUP Gummies New Zealand NZ &: Scam Exposed Must Known Facts! [2024 AU}

2024-07-18 Thread manupgummiesinnz
Buy Now Official website:- MAIN BLOGS :-

German strings

2024-07-18 Thread planetis
I added the branch 'prefix' in my cowstrings library. For a simple sorting [benchmark](https://github.com/planetis-m/cowstrings/blob/prefix/tests/bcowstrings3.nim) I get 0.1704 ms (prefix String) vs 0.1944 ms (std.string) average time for sorting a seq of a thousand objects. For now I don't have

simpleargs - Dead simple CLI parsing.

2024-07-18 Thread jk49
I think docopt is also a good option, i have been using it for many projects, an it's write once for many different programing languages

https://www.facebook.com/ManUp.ME.Gummies.Australia/

2024-07-18 Thread fokylox
✅ Keyword: - ManUp ME Gummies Australia part in the fundamental interaction between intellect and the body. In any case, stretch and uneasiness seem truly amass in a expanded way that seem effectively offer a assortment of arrangements in terms of acknowledgment as well as appropriate arrangeme

simple template question, need help

2024-07-18 Thread jk49
template printIt*[T](x: T) = const o = astToStr(x).split(".") when o.len == 2: x.printA() elif o.len == 1: x.printB() Run updated! @ElegantBeef , thanks for the reply, now I am feeling the power of Nim!

simple template question, need help

2024-07-18 Thread ElegantBeef
The correct way is `elif o.len == 1:`

simple template question, need help

2024-07-18 Thread jk49
template printIt*[T](x: T) = const o = astToStr(x).split(".") when o.len == 2: x.printA() when o.len == 1: x.printB() Run now it worked, @ElegantBeef, Thank you! Love:

simple template question, need help

2024-07-18 Thread ElegantBeef
`case` is runtime delimited, which means it needs to compile both branches. You want to use a `when` statement