00:03:26 | reactormonk | Araq, the GC test PR now works as expected. The one about EPC works too, I hope. No tests :-/ But the the small tests I ran worked. |
00:05:30 | Quora | thanks dom96! |
00:05:51 | dom96 | Quora: Let me know if it doesn't work. |
00:06:25 | * | cyraxjoe quit (Ping timeout: 264 seconds) |
00:09:09 | Quora | dom96: can you increment the version number? |
00:09:37 | * | MightyJoe joined #nim |
00:10:03 | dom96 | Quora: I haven't released a version yet, so no. |
00:11:31 | Araq | reactormonk: are you aroudn the next days? |
00:13:08 | * | JoshuaT joined #nim |
00:27:32 | * | MightyJoe quit (Quit: No Ping reply in 180 seconds.) |
00:28:04 | * | MightyJoe joined #nim |
00:35:37 | * | cmk_zzz joined #nim |
00:35:46 | * | dtscode is now known as charmander |
00:48:58 | * | BitPuffin|osx joined #nim |
00:54:35 | * | vikaton joined #nim |
01:22:23 | * | notfowl quit (Excess Flood) |
01:24:09 | * | notfowl joined #nim |
01:25:39 | * | MightyJoe is now known as cyraxjoe |
01:26:38 | * | gyeates quit (Ping timeout: 244 seconds) |
01:28:04 | * | endragor joined #nim |
01:54:16 | * | vikaton quit () |
01:54:20 | Varriount | onionhammer: Not yet |
01:54:37 | * | Demon_Fox joined #nim |
01:55:43 | * | notfowl quit (Excess Flood) |
01:57:09 | * | notfowl joined #nim |
01:58:26 | Varriount | notfowl: Are you fowl? |
01:58:49 | notfowl | Hi |
02:03:04 | notfowl | Disguise sucks eh |
02:04:20 | Varriount | notfowl: I don't know, you fooled me for a minute there. |
02:04:58 | * | darkf joined #nim |
02:15:16 | * | Kingsquee joined #nim |
02:27:04 | * | Perelandric quit (Ping timeout: 246 seconds) |
02:28:19 | * | endragor quit (Remote host closed the connection) |
02:38:13 | * | charmander is now known as dtscode |
02:39:33 | dtscode | I'm still convinced he is not fowl |
02:44:46 | Varriount | dtscode: *gasp* do you think he could be an evil twin? |
02:45:01 | * | dhasenan quit (Read error: Connection reset by peer) |
02:45:35 | dtscode | D: I do now |
02:49:07 | * | dhasenan joined #nim |
02:50:20 | * | johnsoft quit (Ping timeout: 244 seconds) |
02:51:20 | * | johnsoft joined #nim |
02:56:32 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:00:07 | * | BitPuffin|osx quit (Ping timeout: 255 seconds) |
03:07:58 | * | brson quit (Quit: leaving) |
03:13:04 | * | egrep quit (Ping timeout: 244 seconds) |
03:19:52 | * | egrep joined #nim |
03:33:27 | reactormonk | Araq, yes, can do. Sorry, internet was shitty. |
03:33:48 | reactormonk | Araq, I'll take a look at the nimsuggest issue I was having |
03:33:57 | reactormonk | and do some contract work in scala too |
03:49:35 | * | TEttinger joined #nim |
03:56:37 | Quora | dom96: how do I specify the content-type in a handler? |
03:57:23 | dom96 | headers["Content-Type"] = "text/plain" |
03:57:36 | dom96 | or you can do it with resp |
03:57:42 | dom96 | resp "foobar", "text/plain" |
03:58:59 | Quora | that worked |
03:59:01 | Quora | thanks! |
04:01:18 | Quora | I'm able to compile in things like bootstrap/materialize |
04:01:29 | Quora | and the binary is still less than a megabyte |
04:04:34 | dom96 | cool |
04:07:45 | * | dddddd quit (Ping timeout: 240 seconds) |
04:09:45 | * | nande joined #nim |
04:10:37 | Quora | even with fonts in it it's less than a meg |
04:18:24 | * | bjz joined #nim |
04:29:00 | * | Jesin quit (Quit: Leaving) |
04:50:57 | * | yglukhov____ joined #nim |
04:56:04 | * | yglukhov____ quit (Ping timeout: 272 seconds) |
05:05:04 | * | nande quit (Remote host closed the connection) |
05:22:55 | * | Jesin joined #nim |
05:32:46 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
05:35:43 | * | shodan45 quit (Quit: Konversation terminated!) |
05:53:25 | * | d3m1gd joined #nim |
06:04:34 | * | yglukhov____ joined #nim |
06:08:55 | * | endragor joined #nim |
06:09:01 | * | endragor quit (Remote host closed the connection) |
06:09:29 | * | endragor joined #nim |
06:20:40 | * | devzerp quit (Ping timeout: 252 seconds) |
06:21:34 | * | no_name quit (Ping timeout: 272 seconds) |
06:23:59 | * | transfuturist joined #nim |
06:30:39 | * | strcmp1 quit (Ping timeout: 245 seconds) |
06:36:47 | * | HakanD__ joined #nim |
06:38:13 | transfuturist | think i fixed it |
06:38:15 | transfuturist | https://github.com/Araq/Nim/pull/2715 |
06:39:54 | notfowl | transfuturist, add some tests please |
06:41:50 | transfuturist | willdo |
06:41:57 | transfuturist | tomorrow |
06:42:24 | * | strcmp1 joined #nim |
06:43:18 | * | BlaXpirit joined #nim |
06:45:55 | dtscode | Does the compiler have an api yet? |
06:47:36 | * | Kingsquee quit (Quit: Konversation terminated!) |
06:50:01 | * | endragor quit (Ping timeout: 252 seconds) |
06:51:07 | notfowl | dtscode, its available as a nimble package |
06:51:21 | notfowl | (a nimblet?) |
06:51:36 | dtscode | Hmm... I can't decide if that will work for me or not. I guess I'll have to see |
06:51:50 | notfowl | work for what? |
06:52:09 | notfowl | c2nim uses it to build raw PNodes |
06:52:18 | dtscode | Its finally time Nimbus2.0 was born |
06:53:05 | * | endragor joined #nim |
06:56:16 | * | Kingsquee joined #nim |
07:04:04 | * | devzerp joined #nim |
07:04:09 | * | no_name joined #nim |
07:07:11 | * | endragor_ joined #nim |
07:10:17 | * | endragor quit (Ping timeout: 250 seconds) |
07:18:57 | * | endragor_ quit (Remote host closed the connection) |
07:19:08 | notfowl | dtscode: a bus that runs on Nim? |
07:19:19 | * | endragor joined #nim |
07:19:26 | dtscode | notfowl: Yes. It is what nim has been missing. |
07:19:28 | notfowl | Or is it related to clouds |
07:20:01 | dtscode | It is actually related to Zapp Brannigan's Ship |
07:20:43 | * | endragor quit (Remote host closed the connection) |
07:25:29 | dtscode | bah... I think I need to upgrade my nimpiler |
07:35:25 | * | HakanD___ joined #nim |
07:35:25 | * | HakanD__ quit (Read error: Connection reset by peer) |
07:35:25 | * | HakanD___ quit (Read error: Connection reset by peer) |
07:35:58 | * | HakanD___ joined #nim |
07:37:11 | * | HakanD___ quit (Read error: Connection reset by peer) |
07:37:19 | * | HakanD___ joined #nim |
07:58:12 | * | coffeepot joined #nim |
08:04:07 | * | eegooblago_ joined #nim |
08:05:43 | * | vendethiel joined #nim |
08:06:17 | * | BlaXpirit quit (Quit: Quit Konversation) |
08:08:45 | * | eegooblago_ quit (Client Quit) |
08:12:23 | * | endragor joined #nim |
08:18:48 | * | Andris_zbx joined #nim |
08:33:17 | * | transfuturist quit (Ping timeout: 256 seconds) |
08:43:21 | * | JoshuaT quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
08:43:26 | * | OnO joined #nim |
08:43:50 | * | nullmove joined #nim |
08:45:32 | * | Beluki joined #nim |
08:56:06 | * | HakanD___ quit (Ping timeout: 272 seconds) |
08:56:40 | * | HakanD___ joined #nim |
09:05:42 | coffeepot | hey guys, forgive me but i'm not really used to GC, so my question is: I have "var myobj: ref MyObj" and I call new on myobj. So, if, after the new, I just go myobj = nil that will free the object properly right? If so, and I have a seq of refs, can I just set the length of the seq to zero and the GC will handle this all for me? |
09:08:36 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
09:11:03 | coffeepot | also if, as above, I have a ref'd object and want to clear it, is it sensible to just call new on the object's ref again, or is that a bad idea? It seems like a bad idea... |
09:15:28 | * | MyMind joined #nim |
09:16:06 | * | MyMind quit (Read error: Connection reset by peer) |
09:17:38 | * | MyMind joined #nim |
09:22:25 | * | Matthias247 joined #nim |
09:22:48 | def- | coffeepot: https://github.com/Araq/Nim/blob/devel/lib/system/sysstr.nim#L209-L244 |
09:24:04 | def- | So "yes" to all your questions |
09:24:23 | coffeepot | :) thanks very much def! |
09:24:26 | def- | About cleaning refs: There is a reset proc by default, it should clean it |
09:24:51 | coffeepot | ok that seems more readable than just reinitialising with a new over an existing var |
09:35:55 | * | nullmove quit (Quit: Leaving) |
09:57:59 | * | vendethiel quit (Ping timeout: 250 seconds) |
10:02:45 | * | Demon_Fox quit (Quit: Leaving) |
10:18:29 | * | vendethiel joined #nim |
10:19:37 | * | iamd3vil joined #nim |
10:25:24 | * | gnzh joined #nim |
10:25:47 | * | gnzh quit (Quit: WeeChat 0.3.8) |
10:26:34 | * | iamd3vil quit (Ping timeout: 246 seconds) |
10:26:59 | * | Gonzih joined #nim |
10:28:38 | * | Trustable joined #nim |
10:36:18 | * | dddddd joined #nim |
10:52:27 | * | Trustable quit (Remote host closed the connection) |
11:11:46 | * | TEttinger quit (Ping timeout: 265 seconds) |
11:19:11 | * | ddl_smurf quit (Quit: ddl_smurf) |
11:30:11 | * | Beluki quit (Quit: Beluki) |
11:31:43 | * | BlaXpirit joined #nim |
11:39:24 | * | arnetheduck joined #nim |
11:43:31 | * | mnemonikk joined #nim |
11:43:31 | * | mnemonikk quit (Changing host) |
11:43:31 | * | mnemonikk joined #nim |
11:44:46 | * | boopisaway is now known as boop |
11:46:37 | synthmeat | hey, nim didn't get into gsoc, right? |
11:47:54 | synthmeat | yeah. shame. :( |
11:55:48 | * | xcombelle joined #nim |
11:57:14 | * | ticktick joined #nim |
11:57:29 | ticktick | why does it take so long for the new version to get available in brew? is this usual? |
12:01:16 | synthmeat | ticktick: as a homebrew afficionado, i still really recommend building nim yourself |
12:01:39 | synthmeat | iirc, it took me a minute or two to do it |
12:04:53 | synthmeat | ticktick: also, there was some discussion on how to get nimble into homebrew too, and it was kinda complicated, at least from i could see from the outset |
12:06:31 | * | banister joined #nim |
12:06:54 | ticktick | synthmeat: not an option, i try a buttload of prog-langs and follow the progress, and while building from source usually works, i don't want to spend time with obscure tip-of-trunk bugs, but rather use "officially" released packages. |
12:06:59 | ticktick | so i'm gonna wait for brew |
12:07:42 | synthmeat | ticktick: you can build any tag you want? :/ |
12:07:44 | synthmeat | ok |
12:07:52 | synthmeat | i understand the preference, actually, it's fine. |
12:10:44 | * | banister quit (Ping timeout: 256 seconds) |
12:12:10 | * | BitPuffin joined #nim |
12:19:37 | * | banister joined #nim |
12:26:22 | * | Kingsquee quit (Quit: Konversation terminated!) |
12:26:57 | * | gyeates joined #nim |
12:29:21 | * | OnO joined #nim |
12:35:51 | * | HakanD___ quit (Quit: Be back later ...) |
12:40:36 | * | gyeates quit (Ping timeout: 258 seconds) |
13:01:33 | boop | can I somehow use locks in async procs to wait for things to happen? |
13:28:49 | * | bluenote joined #nim |
13:44:41 | * | wb quit (Read error: Connection reset by peer) |
14:02:20 | * | Trustable joined #nim |
14:11:39 | * | bjz joined #nim |
14:20:49 | * | wtw quit (Ping timeout: 264 seconds) |
14:21:47 | * | zulmin quit (Ping timeout: 256 seconds) |
14:23:32 | * | endragor quit (Ping timeout: 272 seconds) |
14:26:22 | * | zulmin joined #nim |
14:28:21 | * | wtw joined #nim |
14:30:50 | * | gyeates joined #nim |
14:38:03 | * | BitPuffin quit (Ping timeout: 246 seconds) |
14:38:45 | * | xcombelle quit (Ping timeout: 246 seconds) |
14:43:06 | * | Matthias247 quit (Read error: Connection reset by peer) |
14:44:08 | * | darkf quit (Quit: Leaving) |
14:59:13 | * | Usati joined #nim |
14:59:46 | Usati | Hello. Could someone tell me how to convert a string to an int, please ? |
15:04:20 | * | pregressive joined #nim |
15:05:21 | * | transfuturist joined #nim |
15:06:00 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
15:06:15 | Usati | No one ? :-( I know how to convert an int to a string, but there's no such thing for string to int in the manual. |
15:06:35 | * | Andris_zbx quit (Remote host closed the connection) |
15:06:53 | Quora | strutils.parseInt ? |
15:08:03 | Usati | "If s is not a valid integer, ValueError is raised." parseInt is used to...parse an int, not convert it. |
15:11:23 | * | boop is now known as boopisaway |
15:14:20 | pigmej | .eval import strutils; echo strutils.parseInt("10"); |
15:14:28 | pigmej | hmm bot down ? |
15:15:47 | Usati | Huh, it works. And I don't know why. Thanks a lot, Quora and pigmej |
15:16:01 | * | Usati quit (Quit: :-) |
15:28:15 | dom96 | boopisaway: why would you want to do that? |
15:28:27 | dom96 | what do you want to wait for? |
15:34:05 | * | superfunc joined #nim |
15:35:13 | * | JoshuaT joined #nim |
15:35:16 | * | boopisaway is now known as boop |
15:37:12 | boop | dom96: i have an irc bot and an update loop in async, irc shouldn't respond to queries before the update loop has run at least once but it should queue them |
15:38:10 | dom96 | Create a State object with a bool in it |
15:38:11 | dom96 | and use that |
15:40:32 | * | superfunc_ joined #nim |
15:41:33 | * | brson joined #nim |
15:42:08 | * | xender left #nim ("WeeChat 1.0") |
15:42:37 | * | superfunc quit (Ping timeout: 246 seconds) |
15:44:33 | superfunc_ | not sure if anyone had tested yet, but the nim install works on windows 10 beta |
15:46:09 | * | gsingh93 joined #nim |
15:57:12 | * | skyfex___ quit (Quit: (null)) |
16:08:02 | * | yglukhov____ quit (Ping timeout: 272 seconds) |
16:09:02 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:12:02 | * | Reymen joined #nim |
16:12:55 | Reymen | I'm reading this page : http://nim-lang.org/docs/rawsockets.html but I don't understand how getAddrInfo() works. Does an example exist somewhere, or can someone explain me, please ? |
16:13:19 | Reymen | By "I don't understand", I mean "I don't know how to use it" |
16:14:51 | * | OnO joined #nim |
16:15:10 | * | superfunc_ quit (Ping timeout: 246 seconds) |
16:28:16 | Reymen | Help |
16:30:02 | ldlework | Reymen what are you confused about? |
16:30:18 | ldlework | You're not sure how to call it? What to use the return value for? what? |
16:33:40 | bluenote | Reymen: I have no idea, but "how to use it" would probably look like this: let addrInfo = getAddrInfo("127.0.0.1", Port(6667)) |
16:35:41 | Reymen | That's why ! The function needs Port() something and not an int... Thanks.. |
16:37:05 | * | Reymen quit () |
16:40:06 | * | vendethiel quit (Ping timeout: 244 seconds) |
16:42:29 | bluenote | Reymen: Port is just a "distinct" type of (iirc) uint16 -- you can instantiate distinc types by DistincType(underlyingValue) |
16:45:08 | * | vendethiel joined #nim |
16:55:02 | * | JoshuaT quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
16:55:57 | * | mahlon_ quit (Ping timeout: 246 seconds) |
16:57:52 | * | mahlon_ joined #nim |
17:02:11 | * | gyeates quit (Ping timeout: 265 seconds) |
17:07:34 | * | vendethiel quit (Ping timeout: 272 seconds) |
17:08:43 | * | yglukhov____ joined #nim |
17:15:06 | * | vendethiel joined #nim |
17:23:18 | * | boop is now known as boopisaway |
17:23:41 | * | boopisaway is now known as boop |
17:29:22 | * | elbow joined #nim |
17:29:34 | * | elbow_ joined #nim |
17:29:40 | * | elbow quit (Client Quit) |
17:30:21 | * | skyfex___ joined #nim |
17:32:26 | * | gyeates joined #nim |
17:38:30 | * | vendethiel quit (Ping timeout: 276 seconds) |
17:39:36 | * | filcuc joined #nim |
17:41:11 | * | vendethiel joined #nim |
17:44:14 | * | gyeates quit (Ping timeout: 265 seconds) |
17:44:14 | * | epichero joined #nim |
17:45:28 | * | bluenote quit (Ping timeout: 246 seconds) |
17:50:34 | * | xcombelle joined #nim |
17:53:15 | * | Arrrrrr joined #nim |
17:53:49 | Arrrrrr | Hello to everyone. How can i make tables work with enum keys? |
17:54:45 | gmpreussner|work | dom96: you around? |
17:58:57 | reactormonk | Arrrrrr, you use an array instead |
17:59:38 | reactormonk | Arrrrrr, or I could merge https://github.com/Araq/Nim/pull/2683 but I'm not sure if it will break something |
17:59:57 | * | filcuc quit (Ping timeout: 276 seconds) |
18:01:39 | Arrrrrr | Well, i can use arrays meanwhile, thanks. Now, how do i iterate over an array of tuples of enum/strings? Is there an special iterator for this? |
18:01:55 | reactormonk | ah, you want the indexes too. |
18:02:07 | reactormonk | should be a pairs for arrays |
18:03:01 | Arrrrrr | Well, i'd like to iterate is like 'for varEnum, varString in array' |
18:03:08 | Arrrrrr | *it |
18:03:31 | reactormonk | check if there's mpairs |
18:04:46 | Arrrrrr | I tried but i get "Error: type mismatch: got (Array constructor[0..10, (Token, string)]) but expected etc' |
18:05:34 | Arrrrrr | (Token is enum) |
18:05:51 | reactormonk | code plz |
18:06:48 | Arrrrrr | Is not much anyway http://pastebin.com/sTAq1E1f |
18:07:13 | * | gyeates joined #nim |
18:07:17 | Arrrrrr | line 26 |
18:07:26 | * | vendethiel quit (Ping timeout: 265 seconds) |
18:08:29 | Arrrrrr | I want to translate this https://github.com/rthornton128/calc/blob/calc1/token/token.go |
18:10:50 | reactormonk | Arrrrrr, you can make a table from string to enum |
18:10:58 | reactormonk | but there's parseEnum FYI |
18:12:34 | Arrrrrr | I'll keep that in mind, but i really want to know how would i iterate in that situation. |
18:12:38 | * | vendethiel joined #nim |
18:13:16 | reactormonk | or just say screw it and go define proc hash(x: enum): THash = ord(x) |
18:13:24 | Arrrrrr | hah |
18:15:48 | reactormonk | but an array is probably faster. |
18:17:59 | Arrrrrr | Yeah, in fact i think i can remove completely that table. |
18:20:10 | reactormonk | and there's `$` for enums |
18:21:02 | * | gyeates quit (Ping timeout: 272 seconds) |
18:21:25 | notfowl | Parseenum is less efficient than. A table |
18:22:03 | * | Beluki joined #nim |
18:22:07 | notfowl | If u need to look it up many times a table will be faster |
18:23:09 | Arrrrrr | That's interesting, and seems like some values from the enum are absent in that table. I used a table with your proc hash reactormonk |
18:24:22 | notfowl | {Key: value}.toTable |
18:24:23 | * | JoshuaT joined #nim |
18:25:54 | Arrrrrr | Thanks. That hash for enums should be included definitely. |
18:26:11 | * | OnO quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
18:27:44 | * | epichero quit () |
18:29:36 | * | epichero joined #nim |
18:33:02 | * | Matthias247 joined #nim |
18:43:57 | Arrrrrr | How do i compare to uints? #echo 5.uint == 6.uint |
18:44:28 | def- | Arrrrrr: import unsigned |
18:44:49 | def- | you can also write 5'u or 5u to get an unsigned literal |
18:45:12 | def- | I've proposed moving unsigned operations to the system module so you don't need to import anything: https://github.com/Araq/Nim/pull/2272 |
18:45:32 | Arrrrrr | Thanks, that was it. |
18:46:00 | Arrrrrr | Is not a problem once you know it is in a different module, but i wasnt expecting that. |
18:50:56 | * | johnsoft quit (Ping timeout: 265 seconds) |
18:51:23 | * | johnsoft joined #nim |
18:56:34 | * | filcuc joined #nim |
19:00:09 | * | JoshuaT quit (Quit: Textual IRC Client: www.textualapp.com) |
19:15:26 | * | epichero quit (Remote host closed the connection) |
19:17:56 | Arrrrrr | Well i have to go, thanks for your help reactormonk, notfowl and def- |
19:17:59 | * | Arrrrrr quit (Quit: Page closed) |
19:18:12 | * | brson quit (Ping timeout: 244 seconds) |
19:22:59 | * | epichero joined #nim |
19:25:37 | * | TEttinger joined #nim |
19:27:22 | * | BitPuffin|osx joined #nim |
19:32:10 | * | xcombelle quit (Remote host closed the connection) |
19:39:18 | * | Strikecarl joined #nim |
19:46:29 | * | tt221 joined #nim |
19:46:51 | * | OnO joined #nim |
19:48:24 | Strikecarl | Can anyone give me any ideas for some prank programs in Nim? |
19:50:03 | Quora | define prank? |
19:50:23 | Strikecarl | Going to a LAN |
19:50:34 | Strikecarl | Gotta prank kids |
19:50:38 | Strikecarl | gonna redirect youtube to pornhub |
19:50:40 | Strikecarl | via hosts |
19:50:43 | Strikecarl | gotta do somethign else tho |
19:51:53 | * | ELFrederich_ quit (Remote host closed the connection) |
19:52:48 | * | ELFrederich joined #nim |
20:00:19 | BlaXpirit | you never fail to make me facepalm |
20:00:24 | ldlework | lol |
20:00:47 | ticktick | Strikecarl: got a great prank scheme for ya |
20:00:58 | Strikecarl | tell me |
20:01:00 | ticktick | sod off |
20:01:02 | Strikecarl | ssh Blax |
20:01:58 | ticktick | Strikecarl: were you born lame, or is it an aquired skill? |
20:02:08 | Strikecarl | Born retarded. |
20:02:11 | ticktick | i see |
20:04:18 | Strikecarl | Bullies |
20:04:20 | * | Strikecarl quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
20:08:01 | ticktick | strike one |
20:12:16 | * | epichero quit () |
20:12:34 | * | epichero joined #nim |
20:12:39 | * | filcuc quit (Quit: Konversation terminated!) |
20:12:43 | notfowl | ticktick, what did you say that for |
20:13:20 | ticktick | truth is always painful |
20:13:58 | notfowl | ticktick, if you are only in here to harass people, you need to leave |
20:14:07 | ticktick | fuck off |
20:15:59 | transfuturist | ... |
20:18:46 | * | Beluki quit (Quit: Beluki) |
20:22:29 | * | Pisuke joined #nim |
20:23:00 | * | yglukhov____ quit (Quit: Be back later ...) |
20:25:01 | * | Sembei quit (Ping timeout: 264 seconds) |
20:26:49 | * | d3m1gd quit (Ping timeout: 264 seconds) |
20:27:12 | * | Pisuke quit (Ping timeout: 272 seconds) |
20:27:18 | * | yglukhov____ joined #nim |
20:30:48 | * | brson joined #nim |
20:31:28 | * | Pisuke joined #nim |
20:41:10 | * | vikaton joined #nim |
20:42:24 | * | yglukhov____ quit (Quit: Be back later ...) |
20:44:36 | * | OnO_ joined #nim |
20:47:58 | * | OnO quit (Ping timeout: 272 seconds) |
20:52:06 | * | skyfex___ quit (Quit: (null)) |
20:54:57 | * | MyMind quit (Ping timeout: 264 seconds) |
20:56:13 | * | arnetheduck quit (Ping timeout: 264 seconds) |
20:58:06 | * | gsingh93 quit (Ping timeout: 272 seconds) |
21:03:35 | * | brson quit (Ping timeout: 250 seconds) |
21:12:10 | * | brson joined #nim |
21:12:43 | * | mora joined #nim |
21:17:41 | * | ddl_smurf joined #nim |
21:32:14 | * | ingsoc quit (Quit: Leaving.) |
21:36:14 | OnO_ | erm.. what was that before? Troll attack? |
21:37:35 | Varriount | OnO_: If it was, it wasn't very effective. |
21:39:11 | * | pregressive quit (Remote host closed the connection) |
21:39:41 | * | skyfex___ joined #nim |
21:39:42 | * | pregressive joined #nim |
21:42:04 | * | mora quit (Ping timeout: 246 seconds) |
21:44:42 | notfowl | Tell that to my feelings ;.; |
21:45:49 | * | Varriount pats notfowl on the head |
21:47:39 | * | OnO_ smiles politely |
21:48:02 | * | OnO_ is now known as OnO |
21:48:56 | OnO | notfowl: I'd love to talk with you about overloading but I am again brainwashed by whole day of programming and writing papers :P |
21:49:50 | Varriount | onionhammer: Fixed the DocContinue thing for ST3 |
21:50:08 | * | boop is now known as boopisaway |
21:51:38 | * | tinAndi joined #nim |
21:58:43 | * | mrkishi joined #nim |
22:00:24 | * | OnO quit (Quit: Textual IRC Client: www.textualapp.com) |
22:03:55 | * | Humam joined #nim |
22:04:13 | transfuturist | does endb not work at all anymore? |
22:05:36 | Humam | How do I get the IP adress of an hostname, please ? I tried getHostByName() but I only get all the others domains associated to the host... |
22:07:36 | * | gyeates joined #nim |
22:10:15 | * | BlaXpirit quit (Quit: Quit Konversation) |
22:11:55 | * | gsingh93 joined #nim |
22:13:24 | * | epichero quit () |
22:13:43 | * | epichero joined #nim |
22:15:16 | reactormonk | Humam, it's just purely C api, feel free to google on that |
22:17:59 | * | tt221 quit (Quit: Page closed) |
22:18:05 | def- | Humam: it's a bit complicated: https://github.com/def-/nim-unsorted/blob/master/dns2.nim I guess a more higher level version would be nicer |
22:18:30 | Humam | Hum, I see. Thanks |
22:18:38 | reactormonk | def-, btw, getHostByName is deprecated according to the man page I looked at |
22:18:42 | * | boydgreenfield joined #nim |
22:19:01 | def- | getAddrInfo didn't look much easier: https://github.com/def-/nim-unsorted/blob/master/dns.nim |
22:20:21 | Varriount | transfuturist: It's been abandoned in favor of GDB |
22:21:00 | Varriount | Actually, I wonder if the VS debugger could handle Nim... Where's Demos when you need him? |
22:21:13 | def- | lldb should work as well |
22:21:28 | transfuturist | i want to try to build the compiler with it, though |
22:21:44 | Varriount | transfuturist: It won't work. |
22:21:49 | transfuturist | i know |
22:22:07 | transfuturist | it hangs on |
22:22:11 | transfuturist | CC: compiler_cgen |
22:22:45 | Varriount | transfuturist: You could try turning endb off for that file. |
22:23:07 | * | gyeates quit (Ping timeout: 265 seconds) |
22:25:51 | transfuturist | the trouble is that koch calls nim0 and won't let stdin through |
22:26:18 | * | Jehan_ joined #nim |
22:26:36 | transfuturist | or, not... |
22:26:47 | transfuturist | how do you turn endb off for a file? |
22:27:42 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:28:24 | Senketsu | which threads does nim version of gcc uses ? |
22:28:39 | Senketsu | or mingw that is on windows |
22:28:46 | transfuturist | well, back to gdb =_= |
22:30:09 | * | tinAndi quit (Quit: ChatZilla 0.9.91.1 [Firefox 38.0/20150508094354]) |
22:32:27 | * | brson quit (Quit: leaving) |
22:33:31 | * | Humam quit () |
22:34:01 | Varriount | Senketsu: I believe the Win32 threads. |
22:34:37 | Senketsu | thanks |
22:39:11 | boydgreenfield | Is it possible to combine parametric types and inheritance? And/or does anyone have suggestions for a Nim-like way to model the following problem: want a bunch of Store types that have runtime method dispatching (thus inheritance from a base class), but would like the base class to support parametric typing bc each class may store slightly different values (e.g., ints vs. string). Here’s a sample gist with the compile error: |
22:39:11 | boydgreenfield | https://gist.github.com/boydgreenfield/2fd64055547d1a976069 |
22:45:10 | * | vikaton quit () |
22:57:46 | * | gyeates joined #nim |
22:59:04 | * | mrkishi quit () |
23:03:48 | dom96 | gmpreussner|work: I am now |
23:04:15 | * | vendethiel quit (Ping timeout: 256 seconds) |
23:07:41 | * | mrkishi joined #nim |
23:07:43 | * | Jesin quit (Quit: Leaving) |
23:08:46 | * | mrkishi quit (Max SendQ exceeded) |
23:09:26 | * | mrkishi joined #nim |
23:13:12 | transfuturist | what is the symbol name generated for `$`? |
23:15:03 | * | wan joined #nim |
23:19:25 | reactormonk | transfuturist, just compile a file with it and check the csources |
23:27:34 | * | pregressive quit (Remote host closed the connection) |
23:31:28 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:32:57 | * | gyeates quit (Remote host closed the connection) |
23:33:26 | transfuturist | i went through it, it's HEX24 |
23:41:45 | * | boydgreenfield quit (Quit: boydgreenfield) |
23:46:56 | * | boydgreenfield joined #nim |
23:53:49 | * | vendethiel joined #nim |