00:03:58 | * | def-pri-pub joined #nim |
00:25:25 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:29:39 | * | brson quit (Quit: Lost terminal) |
00:30:40 | * | brson joined #nim |
00:31:18 | * | brson quit (Read error: Connection reset by peer) |
00:33:49 | * | brson joined #nim |
00:40:10 | * | yglukhov quit (Remote host closed the connection) |
00:57:35 | * | martinium joined #nim |
01:08:31 | * | Matthias247 quit (Read error: Connection reset by peer) |
01:24:58 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
01:25:45 | * | martinium quit (Ping timeout: 260 seconds) |
01:36:47 | * | space-wizard joined #nim |
01:40:37 | * | yglukhov joined #nim |
01:45:04 | * | yglukhov quit (Ping timeout: 252 seconds) |
01:49:21 | * | Snircle quit (Ping timeout: 258 seconds) |
01:59:58 | * | PMunch joined #nim |
02:15:06 | * | PMunch quit (Quit: leaving) |
02:15:31 | * | PMunch joined #nim |
02:18:36 | PMunch | Hmm, is there a udev package like pyudev for Python? |
02:27:05 | * | PMunch quit (Quit: leaving) |
02:42:49 | * | yglukhov joined #nim |
02:47:26 | * | yglukhov quit (Ping timeout: 264 seconds) |
02:51:03 | * | chemist69 quit (Ping timeout: 258 seconds) |
02:53:49 | * | dddddd quit (Remote host closed the connection) |
03:04:22 | * | chemist69 joined #nim |
03:37:38 | * | kulelu88 quit (Quit: Leaving) |
03:43:16 | * | Snircle joined #nim |
03:51:29 | * | Snircle_ joined #nim |
03:53:55 | * | Snircle quit (Ping timeout: 258 seconds) |
04:42:03 | * | Snircle_ quit (Quit: Textual IRC Client: www.textualapp.com) |
04:44:24 | * | yglukhov joined #nim |
04:46:09 | FromGitter | <vegansk> @PMunch, you can try to search on github: ``udev language:nimrod`` |
04:47:59 | FromGitter | <zetashift> which MingW version works on windows with nim? Getting a message saying my mingw installation is a incompatible one(I tried mingw 5.0.3 and mingw-w64) |
04:48:15 | * | brson quit (Quit: leaving) |
04:49:16 | * | yglukhov quit (Ping timeout: 265 seconds) |
04:55:15 | FromGitter | <vegansk> @zetashift , I use version that comes with Qt 5 SDK, gcc -v says: ``gcc version 5.3.0 (i686-posix-sjlj-rev0, Built by MinGW-W64 project)`` |
04:58:14 | FromGitter | <zetashift> egh mingw-w64 i used is 6.2 |
05:12:01 | FromGitter | <zetashift> thanks ! |
05:27:47 | * | s4 joined #nim |
05:47:29 | FromGitter | <zetashift> mhmhm weird same error |
05:47:59 | FromGitter | <zetashift> same gcc too :( gcc version 5.3.0 (i686-posix-sjlj-rev0, Built by MinGW-W64 project) |
05:48:49 | FromGitter | <vegansk> Show the error and the cmdline |
05:49:50 | FromGitter | <zetashift> when running the finish.exe I get: http://pastebin.com/RY0AsQvV |
05:50:20 | FromGitter | <zetashift> nim v 0.15.2 |
05:50:58 | FromGitter | <vegansk> what is finish.exe? |
05:51:43 | FromGitter | <zetashift> http://nim-lang.org/download.html , they recommend the zip files and use "finish.exe" to get mingw installation |
05:57:14 | FromGitter | <vegansk> Don't know. I build Nim from sources |
06:02:23 | FromGitter | <nigredo-tori> Seems like a bug in finish here: https://github.com/nim-lang/Nim/blob/46e4b4854e9cb564950e7802aaaaf1a2c8c8cab9/tools/finish.nim#L87-L90 - on my machine (64 bit) `gcc -dumpmachine` returns `i686-w64-mingw32` |
06:40:41 | * | bjz joined #nim |
06:46:22 | * | yglukhov joined #nim |
06:47:03 | * | nsf joined #nim |
06:51:19 | * | yglukhov quit (Ping timeout: 268 seconds) |
07:00:04 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:04:54 | * | Vladar joined #nim |
07:21:23 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
07:34:00 | * | bjz joined #nim |
07:40:01 | * | def-pri-pub quit (Quit: leaving) |
08:21:46 | * | rokups joined #nim |
08:21:55 | * | yglukhov joined #nim |
08:22:04 | * | yglukhov quit (Remote host closed the connection) |
08:23:03 | * | yglukhov joined #nim |
08:24:06 | FromGitter | <zetashift> compiling from sources build.bat works but build64.bat doesn't work hmhmmhmh, I guess I have a wrong version of mingw |
08:43:48 | * | Arrrr joined #nim |
08:59:45 | FromGitter | <zetashift> well fixed it, indeed a wrong version of mingw! |
09:10:12 | * | nsf quit (Quit: WeeChat 1.6) |
09:22:28 | * | bjz_ joined #nim |
09:22:33 | * | bjz quit (Ping timeout: 245 seconds) |
09:55:14 | * | vlad1777d joined #nim |
09:55:35 | * | Matthias247 joined #nim |
09:57:32 | * | vlad1777d quit (Remote host closed the connection) |
09:59:57 | * | yglukhov_ joined #nim |
10:00:10 | FromGitter | <vegansk> @Araq, hi! Is it safe to call default implementation of deepCopy for the object created in another thread? |
10:02:27 | Araq | it's commonly done |
10:02:52 | Araq | but I doubt it's really safe |
10:03:12 | Araq | you don't block the owning thread, so it could recycle before your deepcopy is complete |
10:03:27 | * | yglukhov quit (Ping timeout: 258 seconds) |
10:03:48 | Araq | 'spawn' gets all these details right, but ofc everybody can do better than my implementation |
10:05:45 | * | yglukhov_ quit (Remote host closed the connection) |
10:06:26 | * | yglukhov joined #nim |
10:08:46 | FromGitter | <vegansk> Thanks. One more question, could you please look at PRs https://github.com/nim-lang/Nim/pull/5163 and https://github.com/nim-lang/Nim/pull/5138 |
10:09:33 | FromGitter | <vegansk> I'm not sure about the function name in PR 5163 |
10:10:33 | * | yglukhov quit (Ping timeout: 246 seconds) |
10:11:29 | dom96 | vegansk: Maybe call it `isPollAllowed` |
10:11:47 | dom96 | or hasPendingOperations |
10:14:38 | FromGitter | <nigredo-tori> @dom96, `hasPendingOperations` implies some subject, IMO. |
10:16:00 | dom96 | what do you mean by that? |
10:17:18 | FromGitter | <nigredo-tori> *something* has pending operations. You can't use it in a sentence without a subject. |
10:17:55 | dom96 | "## Returns `true` if the global dispatcher has pending operations." |
10:18:04 | dom96 | The global dispatcher is the implicit subject here. |
10:18:44 | Arrrr | call it 'isGlobalBusy' |
10:19:47 | FromGitter | <vegansk> Vote for hasPendingOperations |
10:20:54 | dom96 | yay, I can resolve conflicts in Github's web interface now. |
10:21:06 | dom96 | That makes PRs on the packages repo much easier to merge. |
10:23:21 | * | yglukhov joined #nim |
10:29:03 | Araq | can somebody please patch finish.nim to check for mingw's insane default installation location? |
10:29:38 | * | avsej_ joined #nim |
10:29:38 | * | avsej_ quit (Changing host) |
10:29:38 | * | avsej_ joined #nim |
10:30:56 | * | ludocode quit (*.net *.split) |
10:30:56 | * | kunev quit (*.net *.split) |
10:30:56 | * | athie quit (*.net *.split) |
10:30:56 | * | CcxWrk quit (*.net *.split) |
10:30:57 | * | JStoker quit (*.net *.split) |
10:30:57 | * | zielmicha[m] quit (*.net *.split) |
10:30:57 | * | avsej quit (*.net *.split) |
10:30:58 | * | tstm quit (*.net *.split) |
10:30:58 | * | RushPL quit (*.net *.split) |
10:30:58 | * | jonafato- quit (*.net *.split) |
10:30:58 | * | Amrykid quit (*.net *.split) |
10:30:59 | * | avsej_ is now known as avsej |
10:36:24 | cheatfate | i think `isEmpty` will be nice name |
10:36:35 | * | ludocode joined #nim |
10:36:35 | * | kunev joined #nim |
10:36:35 | * | athie joined #nim |
10:36:35 | * | CcxWrk joined #nim |
10:36:35 | * | JStoker joined #nim |
10:36:35 | * | zielmicha[m] joined #nim |
10:36:35 | * | RushPL joined #nim |
10:36:35 | * | jonafato- joined #nim |
10:36:35 | * | Amrykid joined #nim |
10:38:07 | * | tstm joined #nim |
10:38:55 | FromGitter | <zetashift> mingw installed itself in "Program Files" and then "mingw-w64\x86_64-5.4.0-posix-seh-rt_v5-rev0\mingw64" which was the correct mingw version for me |
10:39:17 | FromGitter | <vegansk> @cheatfate, I thought about it, but then it must have the paremeter of type PDispatcher. But ``poll`` doesn't have it. Also please look at my comment: https://github.com/nim-lang/Nim/issues/5162#issuecomment-269611558 |
10:41:47 | Araq | zetashift: I heard rumors that something like C:\x86_64-5.4.0-posix-seh-rt_v5-rev0 is the default location |
10:42:01 | Araq | which doesn't contain 'mingw' and so finish.nim is out of luck |
10:44:59 | FromGitter | <zetashift> I didn't change a thing about the installer except for setting the 'seh' option and setting it to x86_64 |
10:45:23 | * | nsf joined #nim |
10:46:08 | FromGitter | <zetashift> I've never been good with dealing with gcc tho so I won't be much help here either |
10:46:31 | cheatfate | vegansk: https://github.com/nim-lang/Nim/issues/5162#issuecomment-269611558 |
10:47:10 | FromGitter | <vegansk> @cheatfate , I'm already there :-) |
10:48:13 | FromGitter | <vegansk> @cheatfate, is there any `wanted` example ? |
10:49:32 | FromGitter | <zetashift> also an error resulting in a failure when i do "koch nimble" : \nim\lib\wrappers\openssl.nim(192, 19) Error: invalid command line option: '--dynlibOverride' ⏎ FAILURE |
10:49:41 | cheatfate | vegansk: https://github.com/cheatfate/wanted |
10:51:15 | FromGitter | <vegansk> @cheatfate, not the repo, I mean some example code, I didn't find it in repo |
10:52:48 | FromGitter | <zetashift> nvm again missed a step, man I hate compiling on Windows |
10:53:26 | cheatfate | vegansk: `wanted` is POC and its example by itself, you can compile it and run it and bench it with `wrk`. |
10:55:35 | FromGitter | <vegansk> Ok, thanks |
10:59:34 | Araq | ping nigredo-tori |
11:01:49 | FromGitter | <nigredo-tori> pong |
11:03:53 | Araq | oh that was quick |
11:04:54 | Araq | https://github.com/nim-lang/Nim/issues/5147 is killing me |
11:05:44 | Araq | any idea how to generate unique hashes for this case? |
11:06:02 | Araq | hash the owner's parameters too if the owner is a proc. |
11:06:17 | Araq | ok, never mind, rubber duck programming works. |
11:08:16 | FromGitter | <nigredo-tori> Glad I could be of use ^_^ |
11:09:17 | Araq | can I get some link to your work btw? seems like your stuff makes for an excellent extension to my test suite |
11:09:33 | Araq | you found more sighash regressions than anybody else |
11:11:10 | FromGitter | <nigredo-tori> I'm sorry, this is not OSS... It's a project that interfaces with some older C++/Qt library, so C++ backend is a necessity. |
11:11:53 | * | yglukhov quit (Remote host closed the connection) |
11:12:32 | * | yglukhov joined #nim |
11:12:32 | * | yglukhov quit (Remote host closed the connection) |
11:17:07 | * | yglukhov joined #nim |
11:33:38 | * | Sentreen quit (Ping timeout: 264 seconds) |
11:46:27 | * | Sentreen joined #nim |
12:02:38 | * | Snircle joined #nim |
12:03:33 | cheatfate | Araq, maybe this helps https://en.wikipedia.org/wiki/Merkle_tree |
12:07:46 | Araq | nigredo-tori: ok, no problem, but I like to release 0.16 with signature hashing |
12:08:10 | Araq | so you better ensure you reported everything that keeps sighashes from working for your code :-) |
12:11:06 | Araq | cheatfate: yeah, that's pretty much what I do |
12:13:10 | * | cheatfate quit (Quit: Leaving) |
12:23:02 | FromGitter | <nigredo-tori> @Araq, I'm confident I've reported everything in the project that was broken by the merge. After you fixing larger issues, and me implementing simple workarounds for those that were left, the project works with no visible problems. |
12:23:26 | Araq | so it already works? |
12:23:55 | FromGitter | <nigredo-tori> Yes. |
12:27:02 | * | Sentreen quit (Ping timeout: 264 seconds) |
12:28:15 | Araq | ok, good |
12:39:43 | * | Sentreen joined #nim |
12:40:25 | * | Matthias247 quit (Read error: Connection reset by peer) |
12:44:30 | dom96 | Araq: 0.16? Isn't 0.15.4 more appropriate? |
12:44:49 | Araq | we break compatibility |
12:49:07 | dom96 | ok |
12:50:26 | * | nsf quit (Quit: WeeChat 1.6) |
13:02:34 | * | Arrrr quit (Quit: WeeChat 1.5) |
13:22:58 | * | bjz_ quit (Ping timeout: 245 seconds) |
13:23:54 | * | bjz joined #nim |
13:44:20 | dom96 | https://news.ycombinator.com/item?id=13276996 |
14:00:32 | Vladar | Am I missing something or it isn't possible to use +=, -=, etc. with getters/setters? |
14:08:24 | * | yglukhov_ joined #nim |
14:09:43 | dom96 | Vladar: You need to define them yourself |
14:10:02 | dom96 | also hello, haven't seen you in a while :) |
14:11:28 | * | yglukhov quit (Ping timeout: 258 seconds) |
14:17:38 | * | athie quit (Quit: No Ping reply in 180 seconds.) |
14:18:21 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
14:18:43 | * | athie joined #nim |
14:19:36 | Vladar | Hello, dom96. Do you mean "proc `bar+=`(foo: Foo, val: int)"? I looks like not working either. |
14:20:26 | dom96 | No, like this: http://nim-lang.org/docs/system.html#+=,T,T |
14:24:13 | Vladar | Hm, how even to declare it not for a type but for a specific object's hidden field? |
14:31:45 | dom96 | I don't think you can |
14:33:12 | Vladar | I though so, thanks for the confirmation |
14:33:32 | * | s4 quit (Quit: Konversation terminated!) |
14:35:09 | * | nsf joined #nim |
15:08:53 | * | yglukhov_ quit (Remote host closed the connection) |
15:09:02 | FromGitter | <martinium> is there a trim proc to remove whitespace from a string? |
15:09:54 | * | yglukhov joined #nim |
15:11:18 | Vladar | strutils.strip? |
15:12:09 | FromGitter | <martinium> nope that doesn’t work |
15:12:30 | FromGitter | <martinium> unless I have to specify whitespace as an argument |
15:12:59 | Vladar | there's Whitespace const as default |
15:13:03 | Vladar | Whitespace = {' ', '\x09', '\x0B', '\x0D', '\x0A', '\x0C'} |
15:19:15 | FromGitter | <martinium> for my purposes using replace proc actually ended up being the way to go |
15:52:42 | FromGitter | <martinium> bah still no luck |
16:00:34 | * | Matthias247 joined #nim |
16:01:45 | dom96 | martinium: what are you trying to do? |
16:02:45 | FromGitter | <martinium> @dom96 trying to remove all whitespace from STDIN |
16:03:29 | dom96 | martinium: just ' ' or newlines as well? |
16:03:40 | FromGitter | <martinium> only ‘ ' |
16:03:47 | dom96 | then replace should work well |
16:03:51 | dom96 | what is the problem with it? |
16:04:00 | FromGitter | <martinium> I am probably using it wrong |
16:04:06 | FromGitter | <martinium> I am attempting to chain it |
16:04:35 | FromGitter | <martinium> ```stockSymbols = readLine(stdin).replace(Whitespace)``` |
16:05:41 | FromGitter | <martinium> this doesnt work either: ⏎ ⏎ ```stockSymbols = readLine(stdin).replace(' ', ‘')``` [https://gitter.im/nim-lang/Nim?at=58653454058ca96737a4b190] |
16:14:35 | FromGitter | <martinium> I’m noob |
16:15:45 | dom96 | Do those code snippets compile? |
16:15:52 | dom96 | They both shouldn't as far as I can see. |
16:16:01 | FromGitter | <martinium> no they don't |
16:16:06 | FromGitter | <martinium> thats what I am trying to fix |
16:16:20 | dom96 | stockSymbols = readLine(stdin).replace(" ", "") |
16:16:27 | dom96 | That should work |
16:16:37 | FromGitter | <martinium> think I tried that earlier lemme try it again |
16:17:15 | FromGitter | <martinium> it worked -_- |
16:17:25 | FromGitter | <martinium> thought I had tried that guess not |
16:17:28 | dom96 | hehe |
16:17:52 | dom96 | btw are you writing the same thing in both Crystal and Nim? :) |
16:18:00 | FromGitter | <martinium> yeah |
16:18:07 | FromGitter | <martinium> learning both simultaneously |
16:18:13 | dom96 | cool |
16:18:34 | FromGitter | <martinium> they are high level enough that one can grasp the differences without too much work |
16:18:45 | FromGitter | <martinium> just to get the hang of the languages and how they differ etc |
16:19:10 | FromGitter | <martinium> Nim is imperative and works a little different that the OOP Classes in Crystal etc |
16:19:37 | dom96 | Let me know how it goes. I'm curious how the two compare to someone who is just starting out with both. |
16:20:02 | dom96 | In any case, there are a couple of overloaded `replace` procedures. Which is a bit confusing. |
16:20:16 | dom96 | One takes a character (and is more efficient than the others) |
16:20:18 | FromGitter | <martinium> that also through me off when reading the docs and source |
16:20:21 | dom96 | the other takes a string |
16:20:26 | FromGitter | <martinium> threw* |
16:20:28 | dom96 | but you can't have an empty character |
16:20:41 | dom96 | so you must use the string version |
16:20:55 | FromGitter | <martinium> ha |
16:21:10 | FromGitter | <martinium> the first part was confusing to me |
16:21:16 | FromGitter | <martinium> s, then params |
16:21:19 | FromGitter | <martinium> etc |
16:21:34 | FromGitter | <martinium> I guess thats for if you use as leading proc |
16:21:39 | FromGitter | <martinium> not chained |
16:24:19 | * | yglukhov_ joined #nim |
16:27:08 | * | yglukhov quit (Ping timeout: 245 seconds) |
16:28:50 | * | yglukhov_ quit (Ping timeout: 264 seconds) |
16:34:51 | * | yglukhov joined #nim |
16:37:50 | * | Trustable joined #nim |
16:39:29 | * | yglukhov quit (Ping timeout: 260 seconds) |
16:43:50 | * | brson joined #nim |
16:47:50 | dom96 | Yay. Went through Nimble's issue tracker and closed at least 6 issues. |
16:48:08 | dom96 | And here is the next milestone: https://github.com/nim-lang/nimble/milestone/1 |
16:48:15 | dom96 | It's perhaps a bit too ambitious |
16:48:29 | FromGitter | <martinium> good work |
16:49:28 | dom96 | thanks :D |
16:50:13 | FromGitter | <martinium> it’s funny because I am still trying to get the crystal version of my program to compile but the nim one was so simple. |
16:50:27 | FromGitter | <martinium> was on right track with replace and just needed to tweak my parameters |
16:52:18 | Araq | Vladar: your getter needs to return a 'var T' for this to work |
16:53:05 | Araq | or you make the getter a template. |
16:55:59 | FromGitter | <martinium> got it working |
16:57:32 | dom96 | martinium: :D |
16:57:43 | FromGitter | <martinium> :) |
16:58:00 | dom96 | To be fair, Crystal's nil check enforcement is quite nice |
17:00:59 | FromGitter | <martinium> it’s a good thing to avoid hard to debug headaches based on nightmare scenarios I’ve read about online with regards to null values etc |
17:07:28 | * | space-wizard joined #nim |
17:09:51 | * | pregressive joined #nim |
17:12:05 | * | Sentreen quit (Ping timeout: 248 seconds) |
17:15:52 | * | MightyJoe quit (Remote host closed the connection) |
17:20:31 | * | cyraxjoe joined #nim |
17:26:06 | * | Sentreen joined #nim |
17:40:30 | FromGitter | <tekjar> @dom96 Any recent thoughts on nimble lock file ? :) |
17:45:21 | * | cyraxjoe quit (Remote host closed the connection) |
17:50:52 | * | cyraxjoe joined #nim |
17:59:36 | * | yglukhov joined #nim |
18:03:57 | * | yglukhov quit (Ping timeout: 260 seconds) |
18:05:55 | dom96 | tekjar: won't make it into the next release sadly. |
18:06:12 | dom96 | although I might reconsider it |
18:06:16 | FromGitter | <tekjar> Ohh ok |
18:12:32 | FromGitter | <martinium> @dom96 how can I cast parsedJson to a string? |
18:18:22 | Araq | j.str |
18:18:46 | FromGitter | <martinium> let me try that |
18:19:50 | Araq | that only works if the JSOn is of type "string" |
18:19:58 | FromGitter | <martinium> worked perfectly |
18:20:10 | FromGitter | <martinium> I was grabbing the value which in fact are strings |
18:20:22 | FromGitter | <martinium> so it worked |
18:21:43 | FromGitter | <martinium> well the program has an exception but it did compile |
18:21:45 | FromGitter | <martinium> lol |
18:24:11 | * | Vladar quit (Remote host closed the connection) |
18:25:22 | dom96 | for JSON nodes you should use getStr() |
18:25:34 | dom96 | it supports default values :) |
18:27:16 | Araq | so ... finished finish.exe |
18:27:49 | * | Vladar joined #nim |
18:33:16 | * | yglukhov joined #nim |
18:33:18 | FromGitter | <martinium> @dom96 wil try that instead |
18:34:32 | FromGitter | <martinium> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=586557379d4cc4fc5355163c] |
18:39:36 | dom96 | bbl |
18:39:50 | FromGitter | <martinium> later |
18:57:06 | * | def-pri-pub joined #nim |
18:59:24 | * | pregressive quit (Remote host closed the connection) |
19:00:00 | * | pregressive joined #nim |
19:01:58 | * | rokups quit (Quit: Connection closed for inactivity) |
19:04:50 | * | pregressive quit (Ping timeout: 264 seconds) |
19:08:13 | * | devted joined #nim |
19:08:22 | Araq | martinium: your json value is not an array but you pretend it is |
19:08:54 | FromGitter | <martinium> ah |
19:09:06 | FromGitter | <martinium> this is code I am converting to Nim for a friend |
19:09:08 | FromGitter | <martinium> original code was in python |
19:10:44 | FromGitter | <martinium> I was attempting to access the value by selecting the key as variable[“key”] |
19:15:19 | Araq | it's really simple: [{"foo": 2}] |
19:15:43 | Araq | to access the 2, use j[0]["foo"] |
19:15:53 | * | devted quit (Read error: Connection reset by peer) |
19:38:53 | * | dddddd joined #nim |
19:45:16 | Araq | https://github.com/nim-lang/Nim/issues/2172 I could disable .procvar for 0.16, but I have no idea what this implies |
19:45:29 | Araq | I guess better leave it as it is for now? |
19:46:20 | Araq | is https://github.com/nim-lang/Nim/issues/4893 still an issue? yglukhov ? |
19:47:12 | yglukhov | Araq: no idea. might be fixed with recent changes. |
19:49:23 | Araq | I'm installing "void linux" and taking a look |
19:53:32 | Araq | "missing codepage or helper program, or other error" |
19:53:53 | Araq | ok, no thanks. |
20:57:22 | yglukhov | what is max value for float? |
20:57:36 | yglukhov | how do i port Double.MAX_VALUE from java? |
20:58:25 | * | nsf quit (Quit: WeeChat 1.6) |
20:59:12 | Vladar | I believe it's high(float) for the first question |
21:00:24 | Vladar | no, not for float |
21:01:37 | def-pri-pub | Araq: I'm not sure if you've been following this thread, but there seems to be some different behavior of the `import` statement on OS X vs. Linux & Windows. http://forum.nim-lang.org/t/2676 Does this look like a bug? |
21:03:00 | Vladar | yglukhov, maybe http://nim-lang.org/docs/fenv.html#maximumPositiveValue.t,typedesc[float32] ? |
21:04:30 | yglukhov | Vladar: indeed, thanks |
21:06:14 | Vladar | np |
21:09:35 | * | Trustable quit (Remote host closed the connection) |
21:12:53 | * | bjz joined #nim |
21:13:53 | FromGitter | <martinium> would it be overly difficult to port this Julia DataFrames library over to Nim? https://github.com/JuliaStats/DataFrames.jl |
21:14:08 | FromGitter | <martinium> I would attempt but I don’t think my skills are there yet |
21:16:10 | * | Salewski joined #nim |
21:17:07 | FromGitter | <martinium> will probably be my next project |
21:17:21 | Salewski | yglukhov, see https://github.com/nim-lang/Nim/issues/5039 # maybe +- INF is what you need. |
21:17:51 | * | Gonzih joined #nim |
21:17:58 | yglukhov | Salewski: thanks for the hint |
21:19:58 | Salewski | Dom, or any other with access to the forum, there is a very unfriendly posting about Rust. We should better not support Rust bashing I think. |
21:21:56 | Salewski | Bye... |
21:22:00 | * | Salewski left #nim (#nim) |
21:22:11 | FromGitter | <martinium> you mean the post from nastyrigger |
21:22:13 | FromGitter | <martinium> ? |
21:22:44 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:47:05 | * | bjz joined #nim |
22:02:13 | * | djellemah joined #nim |
22:02:27 | * | djellemah quit (Remote host closed the connection) |
22:25:31 | * | devted joined #nim |
22:31:15 | * | nsf joined #nim |
22:34:04 | * | def-pri-pub quit (Quit: leaving) |
22:37:57 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:45:47 | Araq | hmm tough post. |
22:48:19 | Araq | that's why we need moderation for new members |
23:01:36 | FromGitter | <Varriount> @martinium What are data frames? |
23:02:44 | FromGitter | <Varriount> @Araq Hrm. Personal opinions aside, I do agree that we should keep language bashing on the forum to a minimum. |
23:04:08 | FromGitter | <Varriount> Even my attitude towards Rust stems more from envy of its recognition, and less of the actual language. |
23:04:21 | Araq | the choice of words is simply not appropriate. |
23:04:56 | federico3 | martinium are they similar to Pandas dataframes? |
23:05:15 | FromGitter | <martinium> Yes they are |
23:05:22 | FromGitter | <martinium> Same data structure |
23:06:20 | FromGitter | <martinium> My understanding is that they are arrays that allow null values in addition to multiple dimensions while organizing data into rows and columns with optional headers you can specify |
23:06:54 | * | def-pri-pub joined #nim |
23:06:55 | FromGitter | <martinium> They were ported over to pandas from the original R lang data.frame structure |
23:07:20 | FromGitter | <martinium> Very useful when working with time-series data and statistical data etc |
23:08:53 | FromGitter | <martinium> @Araq are there faster methods in Nim than a for loop for iterating through a list of objects? |
23:09:29 | Araq | mitems can be faste rhan items since it doesn't produce a conceptual copy |
23:09:40 | Araq | *faster than |
23:10:02 | FromGitter | <martinium> Those are faster than for loops? |
23:10:52 | Araq | 'mitems' is an inline iterator, you can only use it in a for loop |
23:13:47 | FromGitter | <martinium> Ah nice |
23:13:50 | * | yglukhov quit (Remote host closed the connection) |
23:13:59 | FromGitter | <martinium> I will attempt to optimize my loop with it |
23:14:12 | FromGitter | <martinium> Learning a lot with Nim and loving the sybtax and speed |
23:14:17 | FromGitter | <martinium> Best of both worlds. |
23:14:30 | FromGitter | <martinium> Hold your head high my friend. |
23:14:49 | Araq | oh thanks :-) |
23:18:22 | FromGitter | <martinium> :-) |
23:38:48 | * | kulelu88 joined #nim |
23:50:21 | * | Vladar quit (Quit: Leaving) |
23:55:46 | * | yglukhov joined #nim |