Energy efficiency

2021-11-18 Thread wiltzutm
Thank you for good explanations! :) There wasn't any opinions regarding my second question, but can we agree that the energy efficiency in software is important and the efficiency of the language is the last "oompf" after algos are selected and optimized properly? This and the fact that Nim cou

Energy efficiency

2021-11-18 Thread wiltzutm
Hello everyone, I bumped in my Hackaday news feed into following "study" regarding energy efficiencies of programming languages: / (Hackaday article / ) Could one

Is there a way to use question mark in my proc names?

2021-01-21 Thread wiltzutm
Indeed the question mark syntax is totally subjective matter. I prefer the question mark. Of course I understand that it isn't so subjective/superficial thing when you are the guy who has to implement it in the language, so if there's no point in it on your behalf then it is the end of discussio

Is there a way to use question mark in my proc names?

2021-01-21 Thread wiltzutm
Yes, I edited. I admit it was a bit uncalled for to code about human anatomy. ;)

Is there a way to use question mark in my proc names?

2021-01-21 Thread wiltzutm
mark when one has to use the backticks for calling! :) Also I'm assuming I can call it like a method call even with the backticks like this: proc youOk?(post: ForumMessage): bool = not ("penis" in post.text) let myMessage: ForumMessage = initForumMessage(pos

Is there a way to use question mark in my proc names?

2021-01-21 Thread wiltzutm
Ok, I feel very inadequate for not finding definite answer for this, but is there any way I could use lisp like question mark proc names? eg. instead of proc isLarge(p: Penis): bool = return p.owner != "wiltzutm" Run I would like to use the typical

What's the preferred way to compile nim to WebAssembly?

2021-01-18 Thread wiltzutm
Perfect. IMHO this kind of tutorials should be linked somewhere in the nim lang page, so one shouldn't be forced to search the nim forum for old and scattered answers. Althought I dunno who is willing to maintenance those tutorials through version updates...

Virus scanner problems after installing Nim 1.4

2020-11-02 Thread wiltzutm
Hmm it seems that the F-secure fixed the problem sometime after I contacted them. The false alarm seemed to raise it's ugly head only when I was connected to internet and especially when I compiled Nim code from cloud provider (Onedrive). So basically it was some borderline sh*t. The moral of t

Virus scanner problems after installing Nim 1.4

2020-10-22 Thread wiltzutm
As it turned out there was nothing special with Nim 1.4 per ce. It seemed that the virus engine had updated without my knowledge at the same time I updated the latest Nim version. Of course I should've checked that out first, so basically it was my mistake (assumption mother of all f*ck ups and

Virus scanner problems after installing Nim 1.4

2020-10-21 Thread wiltzutm
Yeah I will. They've just been kinda passive regarding my other sample files sent. In this case without access to non-administered windows pc/laptop I need to somehow compile a windows binary without windows and test, does the virus scanner catch the false positive. Eg.this might take a while! :

Virus scanner problems after installing Nim 1.4

2020-10-21 Thread wiltzutm
Hello, I'm having difficulties with my administered Windows 10 laptop's virus scanner (F-secure Client Security Premium) and the latest nim release 1.4. My previous nim version was 1.2.6. So all was good with Nim 1.2.6, but after updating I began to get weird heuristics false alarms (HEUR/APC)

is there a way to store procs of various types?

2020-08-14 Thread wiltzutm
This is a great answer, even without examples and the fact I have Python background, I was able to understand and visualize Nim code for everything you said.

Incomplete gamma function in Nim or it's 3rd party libraries

2020-07-28 Thread wiltzutm
I was a bit too hasty writing the post. In the end I was able to circumvent the problem altogether. Sorry for the noise. Also I'm still convinced that a special functions lib like python's scipy.special would be beneficial not as a std lib but some 3rd party implementation.

Incomplete gamma function in Nim or it's 3rd party libraries

2020-07-28 Thread wiltzutm
Yes I communicated it badly in my post. I know of the existence of the math.h gamma function. Problem is that it's the complete gamma function eg. usually called just gamma function. I need the INCOMPLETE and actually more specifically the lower incomplete version of it. This is actually the fun

Incomplete gamma function in Nim or it's 3rd party libraries

2020-07-28 Thread wiltzutm
Hello everyone! I need the incomplete gamma function in my code, but I cannot find it neither from standard libraries nor 3rd party packages. Does anyone have any idea if it's implemented in some nim package? I know there's the complete gamma function in standard math. How about wrapping some e