00:06:30 | gunn | dom96: not posted yet? |
00:06:51 | dom96 | gunn: it is, should be in /newest |
00:07:20 | gunn | there it is |
00:12:30 | cheatfate | dom96, what do you think about moving from asyncdispatch.nim initialization of functions connectEx, acceptEx, getAcceptExSockaddrs to nativesockets.nim where we starting winsock? |
00:13:48 | * | Gonzih quit (Ping timeout: 276 seconds) |
00:14:34 | dom96 | cheatfate: why? |
00:17:48 | cheatfate | dom96, i'm in deadlock with your 'why?' |
00:18:11 | dom96 | cheatfate: why do you want to move them there? |
00:18:34 | cheatfate | because you declaring api functions for private use |
00:22:28 | * | Gonzih joined #nim |
00:30:52 | * | desophos quit () |
00:32:05 | * | InfinityBear joined #nim |
00:37:51 | dom96 | cheatfate: I'm not sure I understand |
00:37:53 | * | brson quit (Quit: leaving) |
00:38:50 | * | brson joined #nim |
00:43:03 | cheatfate | dom96, nevermind |
00:44:51 | cheatfate | dom96, what you mean in line 611 of asyncdispatch.nim |
00:46:18 | dom96 | https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncdispatch.nim#L611 ? |
00:46:33 | cheatfate | oops sorry |
00:47:01 | cheatfate | https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncdispatch.nim#L605 |
00:47:17 | * | enthus1ast quit (Ping timeout: 250 seconds) |
00:49:48 | * | desophos joined #nim |
00:50:27 | cheatfate | what you mean "message oriented" |
00:51:38 | cheatfate | because if you mean UDP then there no disconnection... because there no connection |
00:53:11 | * | enthus1ast joined #nim |
00:53:21 | dom96 | "For message-oriented sockets, where a zero byte message is often allowable, a failure with an error code of WSAEDISCON is used to indicate graceful closure." |
00:53:27 | dom96 | https://msdn.microsoft.com/en-gb/library/windows/desktop/ms741688%28v=vs.85%29.aspx |
00:53:41 | dom96 | I think i'm talking about that |
00:53:54 | dom96 | but must have misinterpreted the docs |
00:54:05 | dom96 | Anyway, need to sleep now |
00:54:07 | dom96 | see you |
00:59:03 | * | InfinityBear left #nim ("Leaving") |
01:02:48 | * | federico3 quit (Quit: WeeChat 1.1.1) |
01:03:26 | * | brson_ joined #nim |
01:06:48 | * | brson quit (Ping timeout: 246 seconds) |
01:18:27 | * | brson_ quit (Quit: leaving) |
01:18:34 | * | brson joined #nim |
01:33:04 | * | btbytes joined #nim |
01:33:58 | * | btbytes quit (Client Quit) |
01:43:45 | * | gokr quit (Remote host closed the connection) |
01:54:59 | * | brson quit (Ping timeout: 260 seconds) |
02:18:30 | * | nsf quit (Quit: WeeChat 1.4) |
02:33:58 | * | yglukhov joined #nim |
02:38:24 | * | yglukhov quit (Ping timeout: 244 seconds) |
02:57:25 | * | Jesin joined #nim |
03:28:51 | * | brson joined #nim |
03:31:47 | * | BitPuffin|osx quit (Ping timeout: 248 seconds) |
03:32:11 | * | enthus1ast quit (Quit: Leaving.) |
03:33:08 | * | brson quit (Ping timeout: 244 seconds) |
03:33:55 | * | brson joined #nim |
03:39:06 | * | veganskaway is now known as vegansk |
04:30:14 | * | endragor joined #nim |
04:49:55 | * | darkf_ joined #nim |
04:51:42 | * | darkf quit (Ping timeout: 244 seconds) |
04:55:08 | * | brson quit (Quit: leaving) |
05:22:01 | * | gokr joined #nim |
05:42:56 | * | McSpiros joined #nim |
06:18:29 | * | desophos quit (Read error: Connection reset by peer) |
06:24:47 | * | yglukhov joined #nim |
06:24:55 | * | endragor_ joined #nim |
06:28:17 | * | endragor quit (Ping timeout: 244 seconds) |
06:35:02 | * | McSpiros quit (Ping timeout: 250 seconds) |
06:40:37 | * | endragor_ quit (Remote host closed the connection) |
06:41:06 | * | endragor joined #nim |
06:43:06 | * | McSpiros joined #nim |
06:45:38 | * | Demon_Fox_ joined #nim |
06:45:47 | * | Demon_Fox quit (Ping timeout: 268 seconds) |
06:54:19 | * | darkf_ is now known as darkf |
07:12:22 | * | Trustable joined #nim |
07:19:17 | * | WisestFool joined #nim |
07:19:25 | * | WisestFool left #nim (#nim) |
07:25:43 | * | Demon_Fox_ is now known as Demon_Fox |
07:43:54 | * | Demon_Fox quit (Quit: Leaving) |
07:51:26 | * | dorei joined #nim |
07:53:29 | * | dorei quit (Client Quit) |
07:58:54 | * | dorei joined #nim |
08:11:54 | * | coffeepot joined #nim |
08:15:26 | * | coffeepot quit (Client Quit) |
08:55:26 | * | McSpiros quit (Ping timeout: 250 seconds) |
09:05:05 | * | federico3 joined #nim |
09:05:33 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:08:34 | * | McSpiros joined #nim |
09:22:27 | * | irrequietus joined #nim |
09:37:54 | * | elrood joined #nim |
09:59:10 | * | arnetheduck joined #nim |
10:05:54 | * | irrequietus quit () |
10:29:19 | * | endragor_ joined #nim |
10:29:22 | * | izi joined #nim |
10:32:40 | * | endragor quit (Ping timeout: 244 seconds) |
10:32:57 | * | nsf joined #nim |
10:33:47 | * | endragor_ quit (Ping timeout: 260 seconds) |
10:36:09 | * | izi quit (Quit: Leaving) |
10:38:25 | * | Jesin quit (Quit: Leaving) |
10:42:34 | * | Sergio965 quit (Ping timeout: 240 seconds) |
10:45:45 | * | endragor joined #nim |
10:50:03 | vegansk | hi to all! anybody uses cpp backend? seems like it's broken in the devel :-( https://github.com/nim-lang/Nim/issues/4055 |
10:51:01 | * | Sergio965 joined #nim |
10:59:54 | Araq | vegansk: strange, there have been no changes that could trigger this regression |
11:00:15 | vegansk | found it, must be nodecl, or header pragma! |
11:00:59 | vegansk | Araq, my example worked with the older versions of the compiler, but not with devel |
11:01:11 | Araq | ah ok, I have an idea. |
11:02:54 | Araq | try this please: checkout 0baa1d995581ce9b6 for compiler/pragmas.nim, koch boot and see if it works again |
11:04:12 | Araq | nah, that is unlikely the cause. git bisect perhaps |
11:06:06 | vegansk | yes, fails to compile too |
11:07:49 | Araq | are you sure that code used to work? nothing changed in the compiler afaics |
11:09:21 | vegansk | yes, github says, that it was working 4 months ago :-) https://github.com/vegansk/nimtests/tree/master/ffi/qt |
11:12:43 | Araq | bah, well we can make 'importcpp' imply nodecl to fix it. |
11:12:57 | Araq | but I wonder what caused it to work previously. |
11:15:48 | Araq | reactormonk: time for your git bisect skills. |
11:17:44 | * | ozra joined #nim |
11:25:53 | reactormonk | Araq, doesn't work as well with the nim repo, not every commit is guaranteed to work... |
11:26:08 | * | ozra left #nim ("Konversation terminated!") |
11:26:25 | reactormonk | git bisect is pretty easy to use, just go git bisect and I'll tell you how it works. |
11:26:32 | reactormonk | Automatic bisecting might work. |
11:26:50 | Araq | so skip the commits that don't work? |
11:27:40 | reactormonk | Oh right, just go git bisect ./koch c <...>, because it now returns 17 exit code if it doesn't compile, causing git bisect to skip that commit. |
11:28:11 | Araq | seems wrong, but ok. |
11:28:35 | reactormonk | git bisect start <bad commit> <good commits> |
11:28:45 | Araq | I would have created a 'koch bisect' command instead ;-) |
11:29:03 | reactormonk | git bisect run ./koch c -r <something that returns 1 on fail and 0 on success> |
11:29:28 | reactormonk | that would be a pain to create, because invoking things from git is easier than the other way round. |
11:29:30 | * | endragor quit (Remote host closed the connection) |
11:31:33 | Araq | loop through the commits and do 'git checkout xyz', 'koch temp', git checkout abc ? |
11:31:46 | Araq | what's hard about it? |
11:38:01 | * | endragor joined #nim |
11:45:35 | reactormonk | the bisecting algorithm. |
11:45:46 | reactormonk | Just gotta reimplement it. |
11:46:16 | cheatfate | dom96, i'm looking inside asyncdispatch.nim and want to ask. Is it made in mind of future multithreading? |
11:46:23 | * | mtj__ joined #nim |
11:46:27 | * | mtj__ quit (Remote host closed the connection) |
11:46:42 | * | mtj__ joined #nim |
11:46:46 | dom96 | cheatfate: no |
11:47:21 | * | mtj_ quit (Ping timeout: 276 seconds) |
11:48:16 | * | Jesin joined #nim |
11:48:29 | cheatfate | dom96, if i try to make system code to be multithreading friendly how about macro magic at the end of asyncdispatch.nim, is it able to handle it? |
11:50:42 | cheatfate | because replacing your selectors with my notify will be not so hard, but i thought to use your `macro magic` code |
11:50:57 | Araq | reactormonk: is there more to it than a binary search? (20 lines of code?) |
11:56:29 | dom96 | cheatfate: take a look at what the macros produce, it should be possible |
11:56:39 | dom96 | But i'm not sure how you're planning on implementing the multi-threading |
11:57:13 | dom96 | cheatfate: thank you for working on this btw :) |
11:57:21 | dom96 | Need to head out for a while, ttyl |
11:57:55 | cheatfate | argh, but ok |
12:00:49 | cheatfate | Araq, could you please answer me what purpose of crazy_concurrency branch? what you trying to make there? |
12:02:28 | * | BitPuffin joined #nim |
12:03:56 | cheatfate | Araq, are you trying to add ability to call poll() from many threads? |
12:03:57 | reactormonk | Araq, no code is still best code. |
12:05:16 | Araq | cheatfate: not directly, .async procs that 'yield'/'await' are tranformed into "tasks" |
12:05:35 | Araq | I want to run these tasks on a thread pool, making use of all the cores a machine has. |
12:05:54 | Araq | so you write async code, it uses all cores. simple as that. |
12:09:39 | Araq | reactormonk: code that makes us less dependent on anything that Linus wrote is good code. |
12:15:58 | * | Jesin quit (Quit: Leaving) |
12:16:41 | cheatfate | Araq, and what stopped you from continue? |
12:18:17 | * | boopsiesisaway is now known as boopsies |
12:28:35 | * | fredrik92 joined #nim |
12:29:45 | reactormonk | Araq, sounds like some personal vendetta |
12:30:46 | Araq | it's mostly a poor attempt of getting Linus to join #nim :-) |
12:40:51 | cheatfate | Araq, i have made replacement for selectors.nim with multithreading in mind, but with callback architecture |
12:41:49 | cheatfate | I can replace [selectors.nim] in asyncdispatch.nim without problems |
12:41:58 | Araq | no idea what that means. |
12:44:35 | fredrik92 | Araq, I'm setting up my automatic build server to build nightlies of Nim, what (apart from ./bin ./lib ) do I need in the output? |
12:46:44 | cheatfate | Araq, https://gist.github.com/cheatfate/591bee884d9754a76ffacda331d8176c maybe this can explain better |
12:56:56 | Araq | fredrik92: not sure. the tester requires sqlite and pcre |
12:57:42 | Araq | cheatfate: sorry, I don't understand it. as long as your selector uses 'ref' it cannot be used in a multi threading context properly |
12:59:09 | cheatfate | Araq, i showed you only documentation part and it not very fresh... Actual code is uses [ptr] with compileOption("threads") and [ref] otherwise |
13:01:04 | niv | is there a way to unpack part of a seq into a tuple? let (a, b) = strutils.split(..)? |
13:01:22 | cheatfate | i understand difference :) |
13:01:38 | cheatfate | i also made "lock striping" sharedtable |
13:03:04 | cheatfate | Araq, https://gist.github.com/cheatfate/4686128279863379f6ad9bc328cf5f16 |
13:04:19 | * | vegansk is now known as veganskaway |
13:04:30 | flyx | niv: for name, value in t.fieldPairs: value = s[i] |
13:04:57 | flyx | niv: t is the tuple, s is the seq. uh, and increment i in the loop. |
13:05:53 | niv | not sure, dont think that's what im looking for. i want to know if there's equivalent to the splat operator some dynamic languages have |
13:06:28 | flyx | what does that splat operator do? |
13:07:01 | niv | takes an array on the righthand side and unpacks it into individual values. let (a, b) = SPLAT @[1, 2] -> a = 1, b = 2 |
13:09:04 | flyx | what's wrong with a = s[0]; b = s[1] ? you could probably write a macro that does that. |
13:10:30 | flyx | so that you can call: splat(a, b, @[1, 2]) |
13:10:40 | niv | im just curious if there's such a thing. nothing really wrong with doing it by hand, just cutting down on verbosity |
13:13:59 | * | apotheon quit (Read error: Connection reset by peer) |
13:14:12 | * | apotheon joined #nim |
13:39:29 | elrood | by the way, Araq, i assume you don't have any objections against me providing a dash docset for nim for offline documentation browsing? https://www.dropbox.com/sh/7jdv2e8zdr03dfz/AADlSvHZ5IRehieM--J1c4Dxa?dl=0 |
13:45:37 | * | BitPuffin quit (Ping timeout: 252 seconds) |
13:52:29 | * | darkf quit (Quit: Leaving) |
14:03:29 | Araq | cheatfate: huh impressive. so what's left to do? |
14:03:55 | Araq | elrood: yummy :-) |
14:13:08 | * | BitPuffin joined #nim |
14:14:21 | wuehlmaus | elrood: very nice, especially that you provide an epub, have installed it on my mobile now, great idea! |
14:24:15 | * | boopsies is now known as boopsiesisaway |
14:26:34 | * | fredrik92 quit (Quit: Leaving) |
14:40:05 | dom96 | elrood: Did you see my message? |
14:40:19 | dom96 | elrood: maybe you could document how you generated that in the wiki? |
14:42:42 | * | anp1 joined #nim |
14:51:28 | elrood | Araq, wuehlmaus, glad you like it, thanks |
14:51:52 | elrood | and dom96, yes, i've seen your message, but since its generation is a rather unstreamlined process currently, and the relevant bits are readily available on the net, there actually isn't much else of value to contribute right now other than the end product |
14:53:03 | dom96 | elrood: Alright. Might be worth at least adding a link to it on the wiki so that people can find the end product :) |
14:55:53 | * | McSpiros quit (Quit: Page closed) |
15:08:31 | * | dorei quit (Quit: Page closed) |
15:13:39 | * | arnetheduck quit (Ping timeout: 248 seconds) |
15:22:51 | cheatfate | Araq, next step was to integrate my anotify to asyncdispatch.nim, but after some investigation i have found that asyncdispatch is not MT safe and now i'm in deadlock |
15:23:02 | * | krux02 joined #nim |
15:29:44 | * | desophos joined #nim |
15:35:25 | * | Jesin joined #nim |
15:45:58 | * | McSpiros joined #nim |
15:53:46 | * | M-max quit (Remote host closed the connection) |
15:53:46 | * | M-Quora quit (Remote host closed the connection) |
15:56:57 | * | gokr quit (Ping timeout: 260 seconds) |
15:57:07 | * | yglukhov quit (Ping timeout: 244 seconds) |
16:01:09 | * | Jesin quit (Quit: Leaving) |
16:05:19 | * | M-max joined #nim |
16:05:26 | * | M-max quit (Remote host closed the connection) |
16:12:36 | * | M-max joined #nim |
16:13:40 | * | Jesin joined #nim |
16:27:08 | * | Jesin quit (Quit: Leaving) |
16:34:46 | * | M-max quit (Remote host closed the connection) |
16:40:31 | * | M-max joined #nim |
16:48:14 | * | fredrik92 joined #nim |
16:52:46 | * | yglukhov joined #nim |
16:52:54 | Araq | cheatfate: well my asyncdispatch is MT ready. |
16:53:21 | cheatfate | Araq, yours you mean from crazy_concurrency? |
16:53:28 | Araq | yeah |
16:56:12 | * | brson joined #nim |
16:57:02 | * | yglukhov quit (Ping timeout: 248 seconds) |
16:59:14 | * | yglukhov joined #nim |
17:00:55 | nsf | hm |
17:04:34 | cheatfate | dom96, do you know that your asyncdispatch connect() code makes connections to every possible ip address DNS server returns? So for www.google.com it will make 5 connections |
17:05:11 | dom96 | cheatfate: it should /try/ every possible IP address |
17:05:42 | cheatfate | i'm first see such practic |
17:06:04 | dom96 | Actually, that's Araq's very old code. |
17:06:29 | cheatfate | it should try every possible |
17:06:31 | dom96 | IIRC I just mostly copied the old socket's connect code |
17:06:39 | cheatfate | IP address but not all at once |
17:06:58 | dom96 | I guess it tries all because it's async? |
17:07:05 | cheatfate | yep :) |
17:07:07 | Araq | hey don't blame me. I copied it from some reliable internet source |
17:07:17 | * | boopsiesisaway is now known as boopsies |
17:07:21 | dom96 | cheatfate: fix it :D |
17:07:45 | Araq | "sockets programming for BeOS 9 users, the 15th edition". |
17:08:45 | cheatfate | Araq, i though BeOS was dead before 6 |
17:09:06 | cheatfate | i want to check your reliable internet source :) |
17:09:36 | Araq | I got the idea from a children's book. |
17:11:04 | cheatfate | dom96, but i dont know how to properly make this in async... :) |
17:11:29 | dom96 | cheatfate: That's probably why I never fixed it ;) |
17:11:44 | dom96 | I'm guessing it's harder than it sounds |
17:12:21 | cheatfate | ok i'l check python asyncio |
17:14:09 | cheatfate | ok pythoners doesnt use "string" as parameter to connect |
17:14:53 | cheatfate | pythoners want to user make dns queries by himself |
17:15:03 | cheatfate | and i think its a right way |
17:15:16 | cheatfate | but if i make this changes... all code using asyncdispatch will be broken |
17:16:41 | cheatfate | Araq, do you want to try compile Nim on HaikuOS? |
17:17:59 | dom96 | cheatfate: Python is very inconvenient then :) |
17:18:10 | Araq | cheatfate: I ported Nim to Haiku once. |
17:18:27 | Araq | wasn't hard but I was underwhelmed by Haiku. |
17:18:58 | cheatfate | dom96, if you have async dns resolver then its not inconvenient... but we dont have it |
17:22:00 | federico3 | cheatfate: what do you mean "by himself"? DNS resolution is not done through a daemon or a syscall |
17:22:49 | cheatfate | federico3, and how do you think dns resolutions made? |
17:23:00 | cheatfate | federico3, its not a syscall of course |
17:24:42 | federico3 | normally by simply using libresolv, unless you are Java, where the JVM does it's own thing ignoring nssswitch.conf and it's a mess |
17:27:09 | elrood | dom96, do you get notified of github wiki edits? |
17:27:11 | cheatfate | federico3, the problem is not how to make dns request, the problem is how to make async connection if dns returns 5 ip addresses for queried name (like www.google.com) |
17:28:06 | federico3 | well, that's a different issue |
17:28:25 | cheatfate | federico3, currently asyncdispatch.nim code will establish 5 connections at the same time and wait for first completed... |
17:28:45 | federico3 | yep, they should be queued somehow (and randomized) |
17:28:45 | cheatfate | and i dont think its a good way |
17:29:24 | federico3 | ofc :) |
17:29:34 | dom96 | elrood: I don't, but i do see it in the feed |
17:30:53 | elrood | k. hope my edit is okay, otherwise rant away ;) |
17:32:37 | * | yglukhov quit (Remote host closed the connection) |
17:34:30 | * | endragor quit (Ping timeout: 246 seconds) |
17:37:30 | * | brson quit (Quit: leaving) |
17:37:42 | * | yglukhov joined #nim |
17:38:58 | dom96 | elrood: looks good, thanks :) |
17:41:33 | niv | dom96: quick jester question. why doesn't the resp template terminate the request? |
17:42:28 | * | brson joined #nim |
17:42:30 | dom96 | niv: because you might want to do something after setting the response, it's akin to 'result = blah' |
17:43:05 | niv | right. is there a way to break out? halt? |
17:44:00 | * | endragor joined #nim |
17:45:30 | dom96 | niv: return :) |
17:46:14 | niv | dom96: return results in -> system.nim(2527) sysFatal<br/> retFuture.finished Async procedure's (match) return Future was not finished. |
17:46:47 | * | gokr joined #nim |
17:46:51 | dom96 | niv: D: |
17:46:52 | * | endragor quit (Remote host closed the connection) |
17:47:11 | dom96 | well that's a bug |
17:47:48 | dom96 | actually wait |
17:47:53 | dom96 | 'halt' is the way to do it |
17:47:53 | niv | specifically, it says that from inside a template that i made. if i do it directly in the route handler, it just breaks with 404, as if pass() was called |
17:49:43 | niv | dom96: resp(..); halt -> results in a 404 too |
17:50:00 | dom96 | s/resp/halt/ |
17:52:23 | niv | hnh. that works. |
17:52:35 | dom96 | :) |
17:53:41 | niv | is there a way i can call resp() from inside a template? it appears to .. not actually work. i dont know enough about how to make it run correctly :( |
17:54:55 | dom96 | you might need to make your template immediate or something like that |
17:55:02 | dom96 | 'resp' itself is a template |
17:55:07 | dom96 | so this likely won't work very well |
17:55:08 | niv | https://gist.github.com/niv/a8a6a131c12ad91876df6b672ddbdeb9 |
17:55:36 | niv | this is something i would use a exception usually, that would then be caught with some middleware and wrapped into a nice, user-friendly error |
17:55:39 | dom96 | try adding {.immediate.} to the template |
17:56:12 | niv | no joy |
17:58:29 | Araq | dom96: er ... is 'async' an immediate macro? |
17:58:46 | dom96 | IIRC so yes |
17:58:54 | Araq | if so, it's no wonder why it works so badly :P |
18:00:25 | dom96 | Araq: Define "works so badly", what's wrong with it? |
18:01:05 | dom96 | niv: try passing a `response: Response` as a param into your template |
18:01:59 | niv | where would i get the response object from? is it already in scope? |
18:04:52 | niv | huh, just added it at the front, still compiles. black magic. doesnt work though |
18:06:04 | * | yglukhov quit (Remote host closed the connection) |
18:08:48 | dom96 | yeah, it's in the scope. |
18:08:57 | dom96 | it doesn't work? What does it do? |
18:09:24 | niv | the same behaviour as if it wasnt there. the resp() is called, but execution continues beyond the template invocation |
18:09:33 | niv | or rather, the halt() is called |
18:09:41 | dom96 | gist please |
18:09:53 | niv | sec |
18:12:41 | niv | dom96: https://gist.github.com/niv/fe23d50a5e95ebd1304d331a1fcf6add |
18:13:54 | dom96 | ahh yeah... the actual halting won't work that I'm afraid |
18:13:59 | dom96 | *that way |
18:16:53 | niv | alright, sod that. i'll just wait for your version of middlewares/exception handling |
18:19:45 | * | M-max quit (Remote host closed the connection) |
18:22:36 | * | yglukhov joined #nim |
18:30:12 | * | M-max joined #nim |
18:49:57 | federico3 | $255 already :) |
18:54:28 | Araq | yup, i just quit my job. |
18:54:35 | Araq | and develop Nim fulltime. |
19:18:37 | * | ehaliewicz joined #nim |
19:31:47 | * | M-Quora joined #nim |
19:34:25 | * | Jesin joined #nim |
19:38:05 | MyMind | Araq: you dont develop nim fulltime anymore? |
19:40:04 | dom96 | MyMind: Araq never has |
19:40:39 | MyMind | dom96: thought he was when nim was sponsored like 1 yr ago? |
19:42:19 | dom96 | MyMind: Well, kind of, but not really. But I'll let Araq give you the details as I'm not sure he would want me to say. |
19:55:46 | * | CcxCZ joined #nim |
20:07:04 | * | BitPuffin quit (Remote host closed the connection) |
20:18:05 | * | krux02 quit (Remote host closed the connection) |
20:18:54 | * | Matthias247 joined #nim |
20:38:31 | * | fredrik92 quit (Quit: Leaving) |
20:43:20 | * | krux02 joined #nim |
20:44:50 | * | Jesin quit (Quit: Leaving) |
20:47:18 | gokr | I just decided to rename Ni. :) |
20:48:31 | Araq | name it zu7 |
20:48:40 | gokr | I already registered a new domain. |
20:49:11 | gokr | Ok so... I am renaming it to spry. |
20:49:55 | Araq | spry? |
20:50:00 | Araq | why spry? |
20:50:00 | gokr | Hehe, yeah. |
20:50:06 | gokr | Why not? :) |
20:50:24 | gokr | Just kidding, but... it kinda stuck when I was looking at synonyms etc |
20:50:44 | gokr | I had some other candidates, but.. spry it is. |
20:52:06 | gokr | Btw, the parser in Spry is ... kinda quick. 10Mb source per second approx. |
20:53:58 | gokr | One reason I didn't like "Ni" was that it got confusing together with "Nim" - and they are heavily connected. |
20:54:07 | gokr | So better with something distinctly different from Nim. |
20:54:31 | Araq | never liked Ni either ;-) |
20:54:38 | Araq | ok, so spry. |
20:54:42 | gokr | Nah, it was a pun that... went too far ;) |
20:54:44 | gokr | Yup! |
20:55:30 | gokr | I played with throwing 430Mb source on Spry - and it deserializes (parses) and serializes very quickly. I also added LZ4 compression to that. |
20:56:13 | gokr | So... Spry will use Spry source form as its storage form, compressed. |
20:56:34 | federico3 | gokr: a *very* googlable name would help |
20:56:46 | gokr | spry is pretty googlable I think |
20:57:09 | gokr | I registered spry-lang.net btw, but... its basically empty still |
20:59:04 | gokr | And oh, did you guys see all these funny new TLDs? |
20:59:09 | federico3 | dom96: with an average donation of $20 it's a good beginning. Now it's just a matter of getting 20k donors |
21:00:10 | * | gokr goes back to finishing the next blog post on Spry... |
21:00:12 | dom96 | federico3: yeah, it's pretty good. :) |
21:00:30 | dom96 | gokr: what would those be? |
21:00:48 | gokr | dom96: those? |
21:01:03 | gokr | Ah, TLDs... .ninja and .beer are nifty ;) |
21:01:09 | gokr | But there are TONS. |
21:01:10 | dom96 | gokr: the funny TLDs.. yeah :) |
21:02:05 | dom96 | lot's of possibilities for cool domain name hacks |
21:02:32 | federico3 | time to start requesting .nim |
21:02:56 | dom96 | or .lang |
21:03:05 | dom96 | (maybe that already exists?) |
21:04:05 | gokr | .guru |
21:05:07 | federico3 | there's no .lang |
21:05:12 | federico3 | (oddly) |
21:05:36 | * | fredrik92 joined #nim |
21:06:14 | gokr | .rocks .wtf |
21:07:16 | dom96 | nim.rocks would be nice to have |
21:07:35 | dom96 | what better way to spend those donations... :P |
21:11:09 | * | Demos joined #nim |
21:11:58 | McSpiros | dom: how true :) |
21:12:47 | * | nivek quit (Quit: Leaving) |
21:24:46 | federico3 | fredrik92: are you running your own buildbot? |
21:27:23 | fredrik92 | federico3, well I'm still playing with it to get it right and making it able to support multiple Configurations, but a couple of hours ago I actually got promising results... |
21:28:01 | fredrik92 | I am using my on-premise Team Foundation Server for automatic building (since TFS is what I already had installed) |
21:29:05 | fredrik92 | And by borrowing a litlle bit of computation power from the university server cluster, I can actually also trigger automatic binary builds for Linux |
21:30:05 | dom96 | I wish I could get access to my university server cluster :( |
21:31:21 | fredrik92 | dom96, yeah you kinda feel the power at your disposal when doing stuff on an 80-node dual-core cluster, and that's only the small one that we students are allowed to use... |
21:32:35 | dom96 | I guess they can't trust 2nd year BSc students with that kind of stuff. |
21:33:22 | fredrik92 | Hmm... they actually did last fall! :D Ah, wait no that was the 3rd year BScs |
21:34:16 | federico3 | :) at least Nim requires tiny amounts of computing to be built or tested |
21:34:24 | * | Demon_Fox joined #nim |
21:36:35 | fredrik92 | federico3, true, although building Nim from the csources build script actually thakes the longest by far (compared to the other build steps), 99s on my computer |
21:36:53 | federico3 | 99s, still very manageable :) |
21:37:31 | federico3 | I run http://nimbench.firelet.net/ on a cubieboard :) |
21:38:38 | fredrik92 | yeah, I only compile the binaries and package them... I haven't gotten round to actually run koch with the testsuites... |
21:38:59 | federico3 | package them? |
21:39:54 | fredrik92 | produce a .zip with all necessary stuff, basically sth. I could unzip to use directly in my PATH |
21:42:35 | federico3 | sockets.nim(213, 3) Error: type mismatch: got (uint16) but expected 'InPort' |
21:43:03 | federico3 | am I supposed to be able to recompile a module from the Nim sources or should I do a full rebuild? |
21:46:57 | * | Jesin joined #nim |
21:54:12 | fredrik92 | btw, currently my build produces a zip file containing the following: all files listed in the index of the Nim repo, the nim binary, the nimble binary (compiled from nimble.git), the nimsuggest binary (compiled from nimsuggest.git) and the c2nim binary (from c2nim.git) |
21:54:50 | fredrik92 | But nothing more... Is it overkill to inlude the entire Nim.git repo? |
21:55:37 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:56:23 | federico3 | what do you want to do with it? |
21:57:33 | fredrik92 | well in the ideal case, I would simply like to be able to just take that as the latest "unstable" release and let that replace my current Nim installation |
21:58:49 | fredrik92 | But as far as I can see, the install files from nim-lang.org also pretty much contain the entire repo... |
22:01:30 | * | LiveviL joined #nim |
22:01:36 | LiveviL | Hello? |
22:01:59 | fredrik92 | Hi LiveviL! :) |
22:05:59 | LiveviL | This is a stale channel |
22:06:08 | reactormonk | everyone's asleep |
22:06:23 | cheatfate | not everyone :) |
22:07:21 | LiveviL | Hey guys |
22:07:49 | cheatfate | ahoy |
22:08:22 | LiveviL | Anyone game? |
22:08:44 | cheatfate | LiveviL, are you bot? |
22:09:18 | LiveviL | No, my algorithms picked up bot and my name in the same message. |
22:09:30 | * | boopsies is now known as boopsiesisaway |
22:10:01 | LiveviL | But does anyone? |
22:11:12 | LiveviL | ... |
22:11:21 | dom96 | hi LiveviL, why so impatient? |
22:11:35 | dom96 | what brings you to #nim? |
22:11:41 | LiveviL | Mental issues |
22:12:12 | LiveviL | xD |
22:12:27 | cheatfate | dom96, its a bot |
22:12:45 | dom96 | cheatfate: I don't think it's a bot, more likely just a troll |
22:12:57 | LiveviL | I'm not a bot, I would be seriously complex |
22:13:12 | LiveviL | Nor am I a troll |
22:13:35 | LiveviL | Just posses attributes of one |
22:13:42 | LiveviL | This place seems nice |
22:14:01 | LiveviL | What's this community about? |
22:14:12 | dom96 | http://nim-lang.org |
22:14:20 | dom96 | how did you find your way here? |
22:15:29 | LiveviL | Oh sorry, I didn't realise, I know a little C++ *proud* |
22:15:49 | LiveviL | My spider bot found it |
22:15:56 | dom96 | LiveviL: cool, now you can learn Nim :P |
22:16:45 | LiveviL | I'm not really here for that... Um anyone invested any time on the dark net? |
22:17:30 | dom96 | LiveviL: Be careful or you will get yourself banned from here. |
22:17:41 | LiveviL | What have I done? |
22:18:02 | LiveviL | I'm here because I sell stuff |
22:18:22 | dom96 | LiveviL: then please go to #nim-offtopic |
22:18:43 | LiveviL | Ever wanted your own Ebola virus pill? |
22:18:54 | LiveviL | I'm guessing that's a no |
22:18:58 | LiveviL | Sad timez |
22:19:49 | dom96 | I like my virus pills a bit more obscure |
22:21:43 | LiveviL | Well I say Ebola... That's just consumer stuff *cough* H1N1 |
22:21:58 | LiveviL | But I don't just sell that |
22:22:03 | LiveviL | I sell everything |
22:22:36 | dom96 | http://bit.ly/22gg3aa |
22:22:49 | dom96 | Is that you? |
22:23:31 | LiveviL | I have a barrel of radium in a shipping create to my customer in Singapore and a crate of cocaine to my friends in Indonesia |
22:23:58 | LiveviL | Live brain in a jar anyone? |
22:24:33 | * | SeQeLADD joined #nim |
22:24:45 | dom96 | LiveviL: a live one? |
22:24:47 | dom96 | how does that work |
22:24:48 | LiveviL | I'm guessing this is futile |
22:24:53 | SeQeLADD | how does this wok? |
22:25:18 | SeQeLADD | is anone getting this? |
22:25:32 | dom96 | hello SeQeLADD |
22:25:36 | SeQeLADD | hi |
22:26:19 | LiveviL | It's an expensive procedure, it involves gruesome and Brutal techniques then oxygenated pumps, it's not my creation, I have contacts |
22:26:24 | dom96 | SeQeLADD: what brings you to #nim? :) |
22:26:34 | SeQeLADD | just digging aroung |
22:26:36 | dom96 | LiveviL: ok, it's time for your to leave I'm afraid. |
22:26:48 | dom96 | LiveviL: Join #nim-offtopic if you want |
22:26:56 | LiveviL | Okay sorry I insulted you |
22:27:10 | SeQeLADD | lol |
22:27:43 | dom96 | Now I feel bad :( |
22:27:57 | SeQeLADD | dom't |
22:27:57 | McSpiros | aaaaand it's gone |
22:28:46 | SeQeLADD | how did yall find this place? |
22:29:37 | SeQeLADD | this is really cool |
22:30:02 | SeQeLADD | what channels do you go on the most? |
22:30:36 | cheatfate | dom96, looks like booooooooooot attack :) |
22:31:21 | dom96 | fun |
22:31:42 | dom96 | this channel doesn't get enough of them :) |
22:31:51 | SeQeLADD | apperantly |
22:31:52 | * | McSpiros quit (Quit: Page closed) |
22:32:36 | SeQeLADD | seggestions for channlees i could visit? |
22:32:46 | dom96 | SeQeLADD: #freenode |
22:32:46 | SeQeLADD | whoops spelling |
22:33:06 | dom96 | ask there ;) |
22:33:21 | SeQeLADD | thanks |
22:34:31 | SeQeLADD | wont send |
22:34:33 | SeQeLADD | man |
22:34:49 | cheatfate | dom96, i think you have banned whole t-mobile UK network :) |
22:35:10 | SeQeLADD | hmm |
22:35:10 | dom96 | cheatfate: yeah, I know. Will unban in a minute or so |
22:36:28 | SeQeLADD | really weird, can send here |
22:36:32 | SeQeLADD | but not there |
22:36:59 | SeQeLADD | SPAM |
22:37:20 | dom96 | lol? |
22:37:53 | dom96 | SeQeLADD: You should be able to talk there now |
22:38:03 | SeQeLADD | thx |
22:38:05 | dom96 | Guessing they're fighting off their own bot attack |
22:38:18 | dom96 | so they only give "voice" to the people they trust |
22:38:44 | SeQeLADD | OOOOHHH |
22:38:53 | SeQeLADD | so much more sence |
22:39:53 | SeQeLADD | what does that mean?(mode/#nim [-o dom96] by ChanServ) |
22:40:08 | dom96 | means ChanServ removed my "operator" privileges |
22:40:11 | cheatfate | SeQeLADD, are you bot? |
22:40:18 | dom96 | (which allow me to kick/ban people) |
22:40:25 | SeQeLADD | oh |
22:40:35 | SeQeLADD | and no im no bot |
22:40:47 | SeQeLADD | double negitives |
22:43:24 | Araq | SeQeLADD: what's the number of Perfect Shapes in 7 dimensional space? |
22:44:01 | SeQeLADD | a 7d space would be impossible |
22:44:16 | SeQeLADD | but if it were possible, idk circle |
22:44:38 | Araq | everybody knows the answer is 3. |
22:44:47 | Araq | so ... a bot. |
22:44:53 | federico3 | Araq: is that a turing test? |
22:45:12 | * | darkf joined #nim |
22:45:46 | Araq | federico3: yeah. |
22:45:49 | SeQeLADD | hope i passed |
22:45:55 | Araq | you did. |
22:45:57 | SeQeLADD | diddnt study |
22:46:02 | SeQeLADD | YEY |
22:46:44 | Araq | (fyi it's really 3. don't ask me about the names though.) |
22:47:29 | SeQeLADD | y is it nim? |
22:48:07 | federico3 | I was at a machine learning meetup earlier on and some implementations outperform people on the internet at telling cats from dogs and circles from squares |
22:48:20 | SeQeLADD | oh cool |
22:48:32 | federico3 | humanity is doomed |
22:48:41 | SeQeLADD | 666 |
22:48:48 | SeQeLADD | 3 |
22:48:52 | SeQeLADD | 42 |
22:49:03 | SeQeLADD | 9+10=21 |
22:49:12 | SeQeLADD | 21 pilots |
22:49:42 | Araq | Simplex, Octahedron, Hypercube. |
22:49:47 | cheatfate | kill this thing please |
22:49:50 | Araq | ^ I think these are the names. |
22:49:54 | SeQeLADD | ? |
22:50:01 | SeQeLADD | y kill |
22:50:13 | federico3 | yep ban the bot please |
22:50:14 | SeQeLADD | peace is the answer to every thing |
22:50:23 | SeQeLADD | im no bot |
22:50:39 | SeQeLADD | they make u verify, if u havent noticed |
22:51:29 | dom96 | SeQeLADD: Do you know what Nim is? |
22:51:45 | SeQeLADD | a program language? |
22:52:00 | dom96 | are you a programmer? |
22:52:16 | SeQeLADD | kida |
22:52:18 | SeQeLADD | y? |
22:53:10 | dom96 | How did you find out about Nim? |
22:54:02 | SeQeLADD | joined random channel, looked at people's channels, which led to this |
22:54:45 | * | SeQeLADD quit () |
22:55:00 | dom96 | problem solved |
22:55:28 | * | SeQeLADD joined #nim |
22:55:37 | cheatfate | dom96, lol |
22:55:41 | SeQeLADD | im back sry |
22:55:54 | * | anp1 quit (Remote host closed the connection) |
22:56:26 | SeQeLADD | how do u keep this up when you close the computer? |
22:58:36 | SeQeLADD | hello? |
22:59:52 | fredrik92 | keeping your computer from going to standby when you close it? |
23:01:27 | * | krux02 quit (Remote host closed the connection) |
23:02:16 | SeQeLADD | simple |
23:05:31 | SeQeLADD | what going on |
23:05:42 | SeQeLADD | everyone is silent all of a sudden\ |
23:06:25 | SeQeLADD | bye |
23:06:28 | * | SeQeLADD quit (Quit: Page closed) |
23:07:30 | * | PMunch quit (Quit: leaving) |
23:15:04 | * | elrood quit (Quit: Leaving) |
23:19:09 | fredrik92 | YES! Automatic build for Linux now also working!!! :D |
23:19:33 | cheatfate | Is "cint" converted to "bool" automatically? |
23:19:42 | dom96 | no |
23:20:07 | cheatfate | I have found in asyncdispatch.nim "somebody" declared ConnectEx result value as bool |
23:20:40 | cheatfate | is it ok? |
23:21:36 | federico3 | any suggestion on this? http://paste.debian.net/426340/ |
23:21:39 | federico3 | http://paste.debian.net/426340/ |
23:21:41 | federico3 | http://paste.debian.net/426340/ |
23:21:46 | federico3 | ops, sorry for the paste |
23:22:23 | federico3 | there's a type mismatch: got (cint, proc (sig: cint){.gcsafe, locks: 0.}) |
23:25:05 | federico3 | fixed |
23:31:14 | * | Trustable quit (Remote host closed the connection) |
23:46:32 | * | Demon_Fox quit (Quit: Leaving) |
23:48:48 | * | Demon_Fox joined #nim |