Magnus Jeffs Tovslid

Results 19 comments of Magnus Jeffs Tovslid

The thing is, I don't want to use ceil here since every other number would also be rounded up. The issue is that 1799920.499999999.... is actually 1799920.5 in precise arithmetic,...

Maybe use something like https://github.com/MikeMcl/big.js ? I think you get most of the precision related stuff for free with a library like that. Edit: And another bonus is that you...

@psmod2 I had the same problem. I've made a function that does this and follows the xml2js format (it's pretty slow, but doesn't run out of memory): https://github.com/tfso/njs-tfso-xml/blob/master/src/streamParse.js Usage: https://github.com/tfso/njs-tfso-xml/blob/master/test/testStreamParse.js...

Installed haskell for the first time today, and I ran into this problem. Took around 20-30 minutes to install. Then another 20-30 minutes to start the intellij-haskell plugin while it...

I don't know what's happening here, but here is a fork that will use async_hooks: https://github.com/Jeff-Lewis/cls-hooked/issues/4

Try setting snapTo: 30 in the options. It should force the selection to the nearest half hour.

Sorry, no plans for that.. But feel free to create it yourself if you want to.

Unfortunately the library only works for one day, so the time steps need to be in order. Could probably fix this by adding an optional date part, but I don't...

Yes, I've had plenty of issues. It seems no-one manages to cover all edge cases when handling money without bigdecimals. Here's a list of issues I've opened over the years:...

Haven't tried it yet, but just wanted to say that I really enjoyed the readme :)