00:27:16 | * | itseris joined #nim |
00:38:04 | * | MyMind quit (Ping timeout: 276 seconds) |
00:47:44 | * | BitPuffin quit (Ping timeout: 240 seconds) |
01:26:43 | * | chemist69 quit (Ping timeout: 258 seconds) |
01:27:53 | * | cspar__ joined #nim |
01:30:04 | * | dddddd quit (Quit: Hasta otra..) |
01:30:36 | * | cspar_ quit (Ping timeout: 260 seconds) |
01:33:28 | ipjk | I give up for now, good night. |
01:34:58 | * | https_GK1wmSU joined #nim |
01:37:01 | * | https_GK1wmSU left #nim (#nim) |
01:37:20 | * | def-pri-pub joined #nim |
01:37:20 | * | def-pri-pub quit (Changing host) |
01:37:20 | * | def-pri-pub joined #nim |
01:40:53 | * | chemist69 joined #nim |
01:42:23 | * | vendethiel joined #nim |
01:49:37 | * | vendethiel quit (Ping timeout: 260 seconds) |
01:54:14 | * | v17d quit (Ping timeout: 240 seconds) |
02:01:00 | * | ipjk_ joined #nim |
02:04:10 | * | ipjk quit (Ping timeout: 240 seconds) |
02:15:13 | * | Nobabs27 joined #nim |
02:25:52 | * | endragor joined #nim |
02:44:23 | * | dankrad quit (Ping timeout: 255 seconds) |
02:46:20 | * | dankrad joined #nim |
02:48:15 | * | def-pri-pub quit (Quit: leaving) |
02:51:40 | * | yglukhov joined #nim |
02:53:51 | * | Nobabs27 quit (Quit: Leaving) |
02:56:14 | * | yglukhov quit (Ping timeout: 268 seconds) |
03:07:20 | FromGitter | <zetashift> https://pastebin.com/sHFLg6Rv nimcompiler gives me 'Error: internal error: (filename: semobjconstr.nim, line: 47)' on this map.nim file |
03:07:51 | FromGitter | <zetashift> there are 2 issues open about this both seem to have a fix for it but I can't seem to figure it out |
03:41:01 | * | Snircle quit (Ping timeout: 246 seconds) |
03:46:18 | * | Nobabs27 joined #nim |
03:54:12 | * | dankrad quit (Ping timeout: 268 seconds) |
04:00:50 | * | Snircle joined #nim |
04:15:01 | FromGitter | <zetashift> fix'd |
04:17:02 | * | Nobabs27 quit (Quit: Leaving) |
04:20:23 | FromGitter | <zetashift> well got the map generation working; mostly cause I 'borrowed' LyndsySimons code: https://gitlab.com/lyndsysimon/roguelike-nim/blob/primary/src/map/generate.nim |
05:06:53 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
05:27:34 | * | Trustable joined #nim |
05:39:16 | * | yglukhov joined #nim |
05:39:42 | * | Trustable quit (Remote host closed the connection) |
05:43:27 | * | yglukhov quit (Ping timeout: 240 seconds) |
05:47:47 | * | Vladar joined #nim |
05:54:50 | * | rauss quit (Quit: WeeChat 1.9) |
06:10:59 | * | ipjk_ quit (Quit: Leaving) |
06:26:57 | * | nsf joined #nim |
06:35:36 | * | yglukhov joined #nim |
06:40:01 | * | Arrrr joined #nim |
06:40:01 | * | Arrrr quit (Changing host) |
06:40:01 | * | Arrrr joined #nim |
06:41:11 | * | ketralnis quit (Read error: Connection reset by peer) |
06:41:36 | * | ketralnis joined #nim |
06:55:48 | * | MyMind joined #nim |
07:01:42 | chemist69 | I have just used the pymod extenion to speed up a key function in my Python project by factor 10 using Nim. This feels great. |
07:01:49 | chemist69 | I would like to give the author some praises on Github. Does someone know how to do this best (apart from starring it)? |
07:31:46 | * | v17d joined #nim |
07:39:48 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:42:07 | FromGitter | <TiberiumN> lol, compile time html template engine for c++ |
07:42:08 | FromGitter | <TiberiumN> https://github.com/rep-movsd/see-phit |
07:42:19 | FromGitter | <TiberiumN> But it requires c++ 14 |
07:59:32 | * | Andris_zbx joined #nim |
08:03:48 | * | Vladar quit (Remote host closed the connection) |
08:05:16 | * | yglukhov joined #nim |
08:10:05 | * | dom96|w joined #nim |
08:17:59 | * | vendethiel joined #nim |
08:26:05 | * | Vladar joined #nim |
08:26:43 | * | rokups joined #nim |
08:26:46 | * | https_GK1wmSU joined #nim |
08:28:08 | * | https_GK1wmSU left #nim (#nim) |
08:31:40 | * | SusWombat joined #nim |
08:35:57 | * | yeeve quit (Quit: Leaving) |
08:38:12 | * | Sentreen quit (Ping timeout: 255 seconds) |
08:39:05 | * | ShalokShalom joined #nim |
08:50:59 | * | Sentreen joined #nim |
08:56:46 | * | yeeve joined #nim |
09:20:28 | * | tankfeeder joined #nim |
09:20:33 | tankfeeder | hi all |
09:20:48 | tankfeeder | how to add item to seq to head? |
09:22:36 | * | kidager joined #nim |
09:22:38 | * | kidager quit (Max SendQ exceeded) |
09:22:56 | Araq | system.insert |
09:25:39 | tankfeeder | ok |
09:27:51 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:32:33 | * | dom96|w joined #nim |
09:45:52 | * | ShalokShalom quit (Remote host closed the connection) |
09:50:48 | FromGitter | <cooldome> Hi Araq, I have several times bumped into a need of compile time const hash maps and hash sets mainly for the efficient mapping and lookups. Set of keys and values is known at compile time. I have tried existing hash tables and sets in this role, doesn't really work. So I would like to add const tables and sets into std lib. Before I start, do you think it is good idea? |
09:51:44 | * | Pwntus quit (Ping timeout: 240 seconds) |
09:51:57 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:52:17 | * | dom96|w joined #nim |
09:54:56 | * | mahtov2 joined #nim |
09:56:30 | * | mahtov quit (Ping timeout: 240 seconds) |
09:57:37 | FromGitter | <cooldome> IMO, if you know your set of keys upfront you can also build a more efficient map, for example you don't need to stick to power of two rule anymore as division by constant is replaced by high mutiplication by C compilers |
10:00:39 | * | Pwntus joined #nim |
10:00:47 | * | vendethiel quit (Ping timeout: 260 seconds) |
10:01:09 | flyx | cooldome: the case statement on a string builds an invisible hash map, perhaps that suffices your needs? |
10:04:55 | FromGitter | <cooldome> It is not related really, I was looking for string case statement in the hope to find a efficient const map implementation there. Turned out completely unhelpful |
10:07:08 | FromGitter | <cooldome> Examples where it can be useful for everybody: parseEnum (currently O(n) will become O(1)), identCache in compiler |
10:08:42 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
10:08:52 | flyx | well if you have statically known key-value-pairs, you don't need to generate a hashmap object, you only need to generate a case-statement |
10:09:31 | flyx | and a proc containing that statement taking the key type and returning the value type |
10:11:16 | FromGitter | <cooldome> Macro is possible workaround, but makes the code a mess, also you may need custom compare and hash like ignoreCase |
10:21:27 | * | v17d quit (Ping timeout: 240 seconds) |
10:22:39 | FromGitter | <TiberiumN> OMG! I did it! installed hackintosh without any issues |
10:24:12 | FromGitter | <TiberiumN> now it's time to install Nim :) |
10:25:53 | FromGitter | <k0pernicus> Wow, it seems hackintosh installation have changed… :-) ⏎ It was a long road for me, 2/3 years ago... |
10:26:03 | FromGitter | <TiberiumN> well I have intel + nvidia |
10:26:12 | FromGitter | <TiberiumN> i5 4460 + gtx 750 |
10:26:28 | FromGitter | <TiberiumN> macOS sierra 10.12.6 |
10:27:14 | FromGitter | <k0pernicus> And what is the state of upgrades? ⏎ You need to reinstall everything for each major version? |
10:28:19 | FromGitter | <TiberiumN> no |
10:28:36 | FromGitter | <TiberiumN> I don't know yet, but people on forums are upgrading without reinstalling |
10:29:33 | FromGitter | <TiberiumN> ok, I'm updating RDP and iTunes now, lol |
10:29:38 | FromGitter | <TiberiumN> sorry |
10:29:43 | FromGitter | <TiberiumN> Remote Desktop Client and iTunes |
10:29:55 | FromGitter | <k0pernicus> Good luck ? :-p |
10:30:00 | FromGitter | <TiberiumN> (https://files.gitter.im/nim-lang/Nim/EsZl/______-______-2017-08-02-_-3.29.48.png) |
10:30:09 | FromGitter | <TiberiumN> sorry for russian :) |
10:30:36 | FromGitter | <k0pernicus> Oh! It seems really nice indeed... |
10:31:07 | FromGitter | <TiberiumN> i've never used mac before D: |
10:34:08 | * | dom96|w joined #nim |
10:39:36 | tankfeeder | question: how better cast @[1,2,3] to cstring to pass to function ? |
10:42:50 | Araq | cstring"\1\2\3" |
10:43:59 | Araq | cooldome: I fail to see the point |
10:44:58 | tankfeeder | ok |
10:46:04 | tankfeeder | and if i variable is @[1,2,3] ? or another function returns seq |
10:54:13 | * | ShalokShalom joined #nim |
10:55:11 | FromGitter | <timmyjose> @TiberiumN Eto kruto! :D |
10:56:03 | FromGitter | <cyberlis> da kruto |
11:03:29 | * | mahtov2 quit (Ping timeout: 248 seconds) |
11:04:35 | FromGitter | <cyberlis> does nim have decode/encode like python bites and strings? i want convert files in folder to other encoding (from utf-8 to cp1251) |
11:05:04 | * | arnetheduck joined #nim |
11:15:04 | flyx | cyberlis: https://nim-lang.org/docs/encodings.html |
11:15:19 | FromGitter | <cyberlis> thanx |
11:20:53 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
11:31:30 | * | gokr joined #nim |
11:37:23 | FromGitter | <TiberiumN> @timmyjose do you know Russian ? |
11:42:08 | * | mahmudov joined #nim |
11:44:17 | tankfeeder | im russian |
11:45:11 | FromGitter | <TiberiumN> I'm russian too btw, and @cyberlis too |
11:45:17 | FromGitter | <TiberiumN> and many others |
11:45:35 | FromGitter | <TiberiumN> for example -many people from xored |
11:46:10 | FromGitter | <zetashift> cyka blyat; I've mastered russian thanks to dota2. I knew it would be helpful in my life |
11:56:56 | * | vendethiel joined #nim |
11:58:28 | * | mahmudov quit (Ping timeout: 240 seconds) |
11:58:53 | * | mahmudov joined #nim |
12:02:03 | * | gokr quit (Read error: Connection reset by peer) |
12:02:32 | * | Snircle joined #nim |
12:07:38 | * | dom96|w joined #nim |
12:18:54 | * | Arrrr quit (Read error: Connection reset by peer) |
12:21:59 | * | BitPuffin|osx joined #nim |
12:33:45 | * | abeaumont quit (Remote host closed the connection) |
12:34:07 | * | abeaumont joined #nim |
12:36:51 | tankfeeder | trying pass seq as cstring to function |
12:36:52 | tankfeeder | http://ideone.com/a98GGK |
12:37:25 | tankfeeder | any hints or fix why mike($i) doesnt work |
12:37:28 | tankfeeder | thanks. |
12:38:06 | FromGitter | <TiberiumN> @zetashift well not all russians are bad :) |
12:39:13 | * | nattefrost joined #nim |
12:45:14 | * | ShalokShalom quit (Ping timeout: 240 seconds) |
12:56:33 | FromGitter | <TiberiumN> yeah! |
12:56:40 | FromGitter | <TiberiumN> (https://files.gitter.im/nim-lang/Nim/46to/image.png) |
13:06:24 | * | UxerUospr joined #nim |
13:34:25 | * | rauss joined #nim |
13:52:28 | * | nhywyll joined #nim |
13:56:50 | * | Pisuke joined #nim |
13:58:52 | * | MyMind quit (Ping timeout: 276 seconds) |
14:18:27 | * | ShalokShalom joined #nim |
14:29:28 | FromGitter | <timmyjose> @TiberiumN Ya mogu chut' chut' govorit' po-russkii ... mne interesuyet russkaya literatura poetomu ya sam uchus' doma. Izvini za moi ploxoi russkii! :D |
14:29:55 | FromGitter | <TiberiumN> you said this almost perfectly! |
14:30:16 | FromGitter | <timmyjose> Hahaha :D ... yeah, it's tough, but very interesting for me! :-) |
14:39:50 | * | nattefrost quit (Ping timeout: 240 seconds) |
14:40:25 | * | nattefrost joined #nim |
14:40:52 | * | sz0 joined #nim |
14:46:56 | * | gokr joined #nim |
14:49:42 | * | nattefrost quit (Remote host closed the connection) |
15:07:36 | * | nsf quit (Quit: WeeChat 1.9) |
15:11:14 | * | vendethiel quit (Ping timeout: 240 seconds) |
15:12:20 | * | vendethiel joined #nim |
15:17:21 | * | yuken left #nim ("Leaving") |
15:18:42 | * | vendethiel- joined #nim |
15:18:57 | * | vendethiel quit (Ping timeout: 248 seconds) |
15:24:16 | * | Andris_zbx quit (Remote host closed the connection) |
15:39:19 | * | BitPuffin|osx quit (Remote host closed the connection) |
15:39:43 | * | Trustable joined #nim |
15:49:06 | * | endragor quit (Remote host closed the connection) |
15:52:19 | * | endragor joined #nim |
15:53:21 | * | endragor_ joined #nim |
15:56:27 | * | endragor quit (Ping timeout: 240 seconds) |
15:57:44 | * | endragor_ quit (Ping timeout: 255 seconds) |
16:04:41 | * | dankrad joined #nim |
16:08:20 | * | xet7 joined #nim |
16:31:22 | * | v17d joined #nim |
16:39:53 | * | yglukhov quit (Remote host closed the connection) |
16:43:30 | * | yglukhov joined #nim |
16:47:43 | * | yglukhov quit (Ping timeout: 240 seconds) |
16:52:15 | * | Sentreen quit (Quit: WeeChat 1.4) |
16:52:25 | * | Sentreen joined #nim |
17:03:35 | * | Vladar quit (Quit: Leaving) |
17:08:27 | * | Trustable quit (Remote host closed the connection) |
17:20:53 | * | itseris quit (Quit: Konversation terminated!) |
17:22:53 | * | itseris joined #nim |
17:26:48 | * | yglukhov joined #nim |
17:31:20 | * | yglukhov quit (Ping timeout: 255 seconds) |
17:32:42 | * | dom96|w quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:59:19 | * | Matthias247 joined #nim |
18:13:41 | * | ipjk joined #nim |
18:20:02 | * | yglukhov joined #nim |
18:28:24 | * | BitPuffin|osx joined #nim |
18:29:46 | * | rokups quit (Quit: Connection closed for inactivity) |
18:37:54 | * | nsf joined #nim |
18:46:28 | * | mahtov joined #nim |
18:47:40 | * | ShalokShalom quit (Remote host closed the connection) |
19:05:15 | * | couven92 joined #nim |
19:11:29 | mahmudov | zielmicha_ can we use capnp for rpc client apps ? |
19:19:11 | * | aziz joined #nim |
19:23:20 | mahmudov | https://ncry.pt/p/p4Dn#ebxANq-jqC5vEJa3c-zG7uSjhu6eZXM9pjujE_BrmpI |
19:37:49 | * | mahmudov quit (Remote host closed the connection) |
19:38:52 | * | aziz quit (Quit: Ex-Chat) |
19:44:42 | * | mahtov quit (Ping timeout: 260 seconds) |
19:47:36 | * | SusWombat quit (Quit: Leaving) |
19:51:20 | * | BitPuffin|osx quit (Ping timeout: 246 seconds) |
19:53:44 | FromGitter | <TiberiumN> look, you don't need any special library for rpc, you can just use sockets |
19:53:49 | FromGitter | <TiberiumN> and use streams |
19:55:27 | FromGitter | <TiberiumN> well for advanced usage you may want a library |
19:55:47 | FromGitter | <TiberiumN> but why https://github.com/jangko/msgpack4nim didn't work for you? |
19:56:26 | FromGitter | <TiberiumN> ah, it's not for RPC |
19:58:15 | * | yglukhov quit (Remote host closed the connection) |
19:58:43 | * | mahtov joined #nim |
19:58:59 | * | sakalli joined #nim |
20:05:22 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
20:05:52 | * | Snircle joined #nim |
20:10:45 | dom96 | There is always this dead simple thing as well https://github.com/dom96/nim-jsonrpc |
20:15:13 | * | v17d quit (Ping timeout: 240 seconds) |
20:18:05 | * | nhywyll quit (Ping timeout: 240 seconds) |
20:21:14 | * | yglukhov joined #nim |
20:26:28 | * | gokr quit (Ping timeout: 240 seconds) |
20:28:09 | * | gokr joined #nim |
20:28:13 | * | v17d joined #nim |
20:32:17 | * | nhywyll joined #nim |
20:33:24 | * | ipjk quit (Quit: Leaving) |
20:38:17 | * | https_GK1wmSU joined #nim |
20:39:07 | * | UxerUospr quit (Quit: Lost terminal) |
20:40:57 | * | https_GK1wmSU left #nim (#nim) |
20:53:39 | * | rauss quit (Quit: WeeChat 1.9) |
21:17:37 | * | gokr quit (Ping timeout: 276 seconds) |
21:21:11 | * | mahtov quit (Ping timeout: 258 seconds) |
21:30:23 | * | def-pri-pub joined #nim |
21:48:04 | * | sz0 quit (Quit: Connection closed for inactivity) |
21:57:36 | * | rauss joined #nim |
22:16:33 | * | rauss quit (Quit: WeeChat 1.9) |
22:16:44 | * | rauss joined #nim |
22:22:04 | * | https_GK1wmSU joined #nim |
22:22:55 | * | nhywyll quit (Quit: nhywyll) |
22:24:04 | * | kunev quit (Ping timeout: 260 seconds) |
22:24:32 | * | https_GK1wmSU left #nim (#nim) |
22:25:40 | * | kunev joined #nim |
22:25:43 | def-pri-pub | Araq: Any update regarding this: https://github.com/nim-lang/Nim/pull/6145#issuecomment-318730591 |
22:32:42 | * | yglukhov quit (Remote host closed the connection) |
22:37:10 | * | nsf quit (Quit: WeeChat 1.9) |
22:51:39 | * | Jesin joined #nim |
23:08:46 | * | PMunch joined #nim |
23:09:38 | PMunch | I have some trouble creating gtk3 callbacks in a loop |
23:10:18 | PMunch | It's the classic problem of the callbacks not capturing their values properly |
23:12:12 | * | pilne joined #nim |
23:12:34 | PMunch | Normally I would use closureScope, but since the callback must be cdecl this doesn't seem to work |
23:19:57 | * | zenit quit (Ping timeout: 260 seconds) |
23:23:01 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:28:48 | * | gokr joined #nim |
23:29:27 | * | mahtov joined #nim |
23:58:25 | * | PMunch quit (Quit: leaving) |