Nim 1.6.0 RC1

2021-09-19 Thread treeform
What nimble develop is going a way? It's is like the best thing about nimble. How do I develop 20+ packages all related in some way?

Nim 1.6.0 RC1

2021-09-19 Thread zahary
Since I've tried to help @bobeff in the development of the new Nimble features and I've had many discussions with him regarding the new functionality, I'll try to explain a bit how the new develop mode is supposed to be used in practice. I do agree that the README has been presenting this inform

Nim Function pointer

2021-09-19 Thread Recruit_main707
I may be dumb for giving people the benefit of the doubt, but due to the way you asked your question i understand why people dont want to help you, im afraid you will have to do this on your own. There are non-malignant resources that explain function pointers and that kind of stuff, you will ha

Nim Function pointer

2021-09-19 Thread nimlang
Bro iam just try to to create attack and defense senario to be use by our soc team to detect any attack to any one of our client . can you just help me now

Nim Function pointer

2021-09-19 Thread robb1e
since when companies hire junior nim developer and they ask them to male shellcode injection but they say that you can't tell why?

Nim Function pointer

2021-09-19 Thread nimlang
So can i use function pointer by write C code inside nim or what should i do . iam sorry but iam just junior

Nim Function pointer

2021-09-19 Thread Fire
Thank you. Very interesting read. I will correct that post.

Nim Function pointer

2021-09-19 Thread carterza
Okay this is a bit of a misstatement... You see the thing is - Nim does have function pointers, but the C/C++ compiler backends aren't advanced enough to generate the code needed to make them function properly, so support for them was eventually given up on. There is a way to still make it work,

Nim Function pointer

2021-09-19 Thread nimlang
it is video song bro

Nim Function pointer

2021-09-19 Thread robb1e
it's not, check again

Nim Function pointer

2021-09-19 Thread Fire
For me, the report flag is not working. I have tried FireFox & Chrome. Can anyone reproduce this?

Nim Function pointer

2021-09-19 Thread nimlang
the same bro just song video :(

Nim Function pointer

2021-09-19 Thread carterza
Whatever this guy is smoking, pass it to me please!

Nim Function pointer

2021-09-19 Thread robb1e
it's not

nimja; compiled and statically typed template engine (like twig or jinja2)

2021-09-19 Thread enthus1ast
a small update to nimja template engine : # whitespace control the nimja template control statements leave their newline and whitespace when rendered. To fix this you can annotate them with "-": aaa {% if true -%} {{-f

Nim Function pointer

2021-09-19 Thread Fire
I do not think Nim has function pointers. I think Araq & Co decided that they did not make sense for Nim.

Nim Function pointer

2021-09-19 Thread nimlang
This is song bro !!

Nim Function pointer

2021-09-19 Thread nimlang
so can you help me or what

Nim Function pointer

2021-09-19 Thread robb1e
if your company is this strict i think they don't allow you to talk about what you have to do

Nim Function pointer

2021-09-19 Thread robb1e
ok,

--gc:orc when is it usable (huge compile times)

2021-09-19 Thread carterza
To elaborate on what @Araq said - I'd try to get some more info out of the compiler. You can build a debug version of the compiler by compiling your program using `./koch(.exe) temp c (or cpp) -r your_module.nim` This should allow you to use gcc/lldb/whatever microsoft's debugger is called to d

Nim Function pointer

2021-09-19 Thread robb1e
so you ask for help but you don't give context?

Nim Function pointer

2021-09-19 Thread nimlang
I cant reveal why iam need code because it is aginst my company policy sorry for my atittude bro .

Nim Function pointer

2021-09-19 Thread carterza
You're right, it's not, and with that attitude - how to create a function pointer which accepts an argument which could be used to execute some shell code - will remain our business.

Nim Function pointer

2021-09-19 Thread nimlang
Nope

Nim Function pointer

2021-09-19 Thread nimlang
I guss it's not of your business ..

Nim Function pointer

2021-09-19 Thread nimlang
I want to do something like this code in C But with using nim typedef VOID (*fp)( PARAMS pParams ); fp Now = ( fp )pBuffer; Now( pParams ); Run

Nim Function pointer

2021-09-19 Thread nimlang
Its not malware man i use it for my work

Nim Function pointer

2021-09-19 Thread Araq
Don't write malware in Nim please.

Nim Function pointer

2021-09-19 Thread nimlang
Can anyone help me about how to create function pointer in nim and pass argument to it in order to be used to execute shellcode

Nim Function pointer

2021-09-19 Thread carterza
Do you happen to work at Anonymous or LulzSec by any chance?

Nim Function pointer

2021-09-19 Thread robb1e
and this work is?

--gc:orc when is it usable (huge compile times)

2021-09-19 Thread Araq
Sounds not like "long compile-times" but an infinite loop. A bug report is appreciated.

Direct I2C device access with pure Nim

2021-09-19 Thread Neodim
Thank you, @takekikuchi, got it, now everything works fine!

--gc:orc when is it usable (huge compile times)

2021-09-19 Thread Yardanico
Is the code closed source? It's most definitely a bug in the compiler, so it'd be beneficial to try to reduce the code to a minimal reproduction. If it's not closed source, can you please give a link to a GitHub repo or a paste service?

--gc:orc when is it usable (huge compile times)

2021-09-19 Thread HJarausch
I have a 2700 lines Nim source file which import about 1000 lines of non-standard includes. Compiling it with `-d:release -d:danger` takes ab 14 seconds CPU time. I had to _kill_ the Nim compiler after 2 hours and 15 minutes (on an otherwise idle machine) when I tried to compile with `--gc:orc

Nim 1.6.0 RC1

2021-09-19 Thread dom96
Regarding `develop`, it sounds to me like a significant number of people rely on the "Nim implicitly supports the latest installed Nimble packages" behaviour. This goes against others who don't want Nim to have any knowledge of Nimble. I'm only mentioning this because I have been becoming more

db_sqlite prepared statement

2021-09-19 Thread ingo
> so ideally you'd want to PR that change to the Nim stdlib :) just had a look at that. It would result in a complete change of API for using prepared statements. All procs of type `SqlPrepared` would be affected.