Career Mums - Managing Your Domestic Helper

2021-07-30 Thread mominul4122
Maids in Singapore have become a common sight. It is no longer a service that only the elite are able to enjoy. According to a recent statistics study, there are 150, 000 maids registered in Singapore. From keeping house to minding the children to looking after the elderly, maids do it all. Howe

Nim GDB Youtube Video

2021-07-30 Thread emilyomacon
Hey! I wanted to post a video here but I couldn't. I tried to post the link of the video on the forum and I couldn't, and I also tried to download the video but it was not possible.

'$' on Time can have side effect, but only if you import the whole times module

2021-07-30 Thread giaco
I was trying to put funcs where I had procs, and I've stumbled into a curious behavior import std/[strformat] const chooseYourDestiny = 2 when chooseYourDestiny == 0: # this works from std/times import Time elif choose

Mac GUI

2021-07-30 Thread kcvinu
I apologize for not writing clearly what I meant. I meant how to connect a MouseEnter event handler or a MouseLeave event handler along with a Click event. To be frank, how to connect two different event handlers to a single control (widget)

C lib binding guide

2021-07-30 Thread Jocker
Are there any guides for creating C bindings in nim?

Nim online meetup - Friday July 23rd

2021-07-30 Thread Jocker
any ETA when the livestream gets uploaded on youtube?

How to rewrite nim programming langauge to be pythonic as possible?

2021-07-30 Thread ingo
Why is "The Zen of Python" taken so seriously? Maybe read it in context "The Python Way" @

Mac GUI

2021-07-30 Thread AIR
> How do you connect a second event handler to a button ? AFAIK, this is not possible with macOS/Cocoa in terms of setting an on-click action

Stacktrace when using async with arc/orc is not helpful

2021-07-30 Thread Araq
Please report this on github, it's "only" a bug as far as I can tell.

How to rewrite nim programming langauge to be pythonic as possible?

2021-07-30 Thread pietroppeter
from [] * Copying bad design is not good design. * If the compiler cannot reason about the code, neither can the programmer. * Don't get in the programmer's way. * Move work to compile-time: Programs are run more often

Stacktrace when using async with arc/orc is not helpful

2021-07-30 Thread giaco
The stacktrace returned by an async program compiled with arc/orc is different than one compiled with refc. Most importantly, the stacktrace with arc/orc gives little help in finding out where the problem is. Example import std/[asyncdispatch] proc async4 {.async.} =

Youtube "Software Drag Racing" to count primes in Nim

2021-07-30 Thread GordonBGood
@Zoom: With respect, I don't know the point of your example code (in Rust) is. One can't use pre-sieving in the "race" or else it wouldn't be "faithful to the base algorithm" and pre-sieving is only part of the story for a "wheeled" version as per my JavaScript article to which you linked. You

How to rewrite nim programming langauge to be pythonic as possible?

2021-07-30 Thread xigoi
Nim has its own Zen now, though I haven't seen it anywhere in a copy-pastable format.

Youtube "Software Drag Racing" to count primes in Nim

2021-07-30 Thread Zoom
Just checking in to say when I last played with sieves about 2 years ago (in Rust) it was @GordonBGood's post here and [on StackOverflow](https://stackoverflow.com/questions/39312107/implementing-the-page-segmented-sieve-of-eratosthenes-in-javascript) that gave me the most info. Great to see the

Youtube "Software Drag Racing" to count primes in Nim

2021-07-30 Thread GordonBGood
@dom96: > > there was a time when Nim didn't automatically turn on -d:release when > > -d:danger was used... > > I'm fairly certain this was never the case: > . But maybe > there is a bug I missed :) Yes, I think it must have bee

PIG's

2021-07-30 Thread cblake
@dom96 \- could be! Rust does have an advantage that its "platform" is LLVM IR which is lower level than C and LLVM & Rust teams even share people. A well oiled machine can compensate for the "newer compiler handicap". CPUs are complex enough that you never really know how the dice/luck is going

Youtube "Software Drag Racing" to count primes in Nim

2021-07-30 Thread pointystick
The issue where danger didn't imply release is a few further lines down (line 75) on that Git blame: it was [13335](https://github.com/nim-lang/Nim/pull/13335) / [13336](https://github.com/nim-lang/Nim/pull/13335). Thankfully it's fixed along with nim.cfg ignoring danger/release modes so indeed