<< 21-10-2013 >>

00:02:18*brson quit (Ping timeout: 265 seconds)
00:40:02*brson_ joined #nimrod
00:45:55*DAddYE joined #nimrod
00:52:14*DAddYE quit (Ping timeout: 240 seconds)
02:13:27*BitPuffin quit (Ping timeout: 272 seconds)
02:22:25*brson_ quit (Quit: leaving)
02:23:14*photex left #nimrod ("WeeChat 0.3.7")
03:26:29*Associat0r quit (Ping timeout: 248 seconds)
03:39:08*xenagi quit (Quit: Leaving)
03:47:11*DAddYE joined #nimrod
04:02:53*OrionPK quit (Read error: Connection reset by peer)
04:25:24*Endeg joined #nimrod
04:35:30*Associat0r joined #nimrod
04:35:30*Associat0r quit (Changing host)
04:35:30*Associat0r joined #nimrod
04:54:09*DAddYE quit (Remote host closed the connection)
04:54:39*DAddYE joined #nimrod
04:59:02*DAddYE quit (Ping timeout: 240 seconds)
05:08:38*isenmann joined #nimrod
05:31:40*DAddYE joined #nimrod
05:55:30VarriountHeh. I've regexed a C# file into some unholy combination of nimrod and C# syntax.
05:56:31profmakxyeah, doing parsing with regexes is the way forward
05:56:56Varriountprofmakx, it's just to help with my hand translation.
05:57:26VarriountReplacing .Substring(x, y) with [x..y] is just tedious
05:57:40Varriountor Math.min with min
05:59:31Varriountprofmakx, behold -> https://gist.github.com/Varriount/7079279
06:01:10*DAddYE quit (Remote host closed the connection)
06:04:16*DAddYE_ joined #nimrod
06:17:00*q66 joined #nimrod
06:21:46*DAddYE_ quit (Remote host closed the connection)
06:37:10*DAddYE joined #nimrod
06:43:45*DAddYE quit (Ping timeout: 245 seconds)
06:59:46*DAddYE joined #nimrod
08:24:52*wlhlm joined #nimrod
08:24:54*DAddYE quit (Remote host closed the connection)
08:25:21*DAddYE joined #nimrod
08:29:26*DAddYE quit (Ping timeout: 240 seconds)
10:05:02wlhlmhttps://news.ycombinator.com/item?id=6584134
10:18:51*faassen joined #nimrod
11:23:23*q66_ joined #nimrod
11:24:37*q66 quit (Disconnected by services)
11:24:41*q66_ is now known as q66
11:47:40*Associat0r quit (Quit: Associat0r)
11:52:28*dyu_ joined #nimrod
12:44:26*snearch joined #nimrod
12:44:57*snearch quit (Client Quit)
12:54:22*Ricky_Ricardo joined #nimrod
13:05:48*Ricky_Ricardo quit (Quit: laptop[lid].close)
13:06:58*Ricky_Ricardo joined #nimrod
13:10:32*OrionPK joined #nimrod
13:28:21*Endy joined #nimrod
13:40:08*gdos joined #nimrod
14:06:23*Ricky_Ricardo quit (Quit: Ricky_Ricardo)
14:29:37*OrionPK quit (Quit: Leaving)
14:44:53*gdos quit (Ping timeout: 248 seconds)
15:26:07shodan45heh nimrod is on HN again
15:33:18*Associat0r joined #nimrod
15:33:19*Associat0r quit (Changing host)
15:33:19*Associat0r joined #nimrod
15:36:14*wlhlm quit (Ping timeout: 240 seconds)
15:50:09*BitPuffin joined #nimrod
15:57:06*BitPuffin quit (Ping timeout: 256 seconds)
15:58:32*gdos joined #nimrod
16:12:15dom96I really wish there was some interesting discussion on HN about Nimrod. 9 comments and it's already off the front page :\
16:12:51dom96*11
16:13:04dom96And most of them are not even about Nimrod!
16:14:28profmakxdom96 did you guys consider doing GSoC?
16:14:31profmakxdi you apply?
16:14:51dom96yeah, we did. IIRC Araq never got the time to apply.
16:15:36dom96Which is a pity. Bigger pity is that I'm still too young to take part in it.
16:23:26*DAddYE joined #nimrod
16:24:56*DAddYE quit (Remote host closed the connection)
16:34:04shodan45maybe try to get on slashdot instead? ;)
16:37:47VarriountIf Araq did the GSoC, I could help more. :)
16:49:08*rtdos joined #nimrod
17:07:06*brson joined #nimrod
17:16:16*DAddYE joined #nimrod
17:23:39DAddYEAraq: did u see this: http://steved-imaginaryreal.blogspot.sg/2013/09/nimrod-return-of-pascal.html ?
17:49:20*dyu_ quit (Quit: Leaving)
18:31:38*Roin wishes he had better connection
18:31:42Roinhups
18:31:52Roinwrong channel sorry o_o
18:35:16VarriountAraq, dom96, sent another pull request.
18:51:29VarriountAnyone know if the ropes module could be modified to support data types other than strings?
18:51:40VarriountOr if it would be wise to do so?
18:55:11*wlhlm joined #nimrod
19:00:35VarriountHello wlhlm
19:01:45wlhlmHi!
19:05:16AraqDAddYE: yeah, I read it and the guy who wrote it is now a nimrod user :P
19:05:28DAddYE:D
19:11:47AraqVarriount: what other datatypes do you have in mind?
19:12:37Araqboehm's ropes support embedding an arbitrary closure and he argues it's useful ;-)
19:13:59Araqhi rtdos, welcome (if you're new ... )
19:16:04VarriountAraq, sequences of unicode runes
19:16:32Araqbah use utf-8 for that and encode on the fly with the unicode module
19:17:10VarriountAraq, the diff-match-patch module slices and dices up strings quite a bit.
19:18:18VarriountAnd since string slicing slices by the char, I'm not sure if the process will hold up when confronted with strings containing unicode characters.
19:19:48Araqit works easily if you don't assume that b-a+1 is the diff len if you know what I mean
19:20:30VarriountNo, I don't know what you mean.
19:22:44AraqI'd keep the slices as a..b where a, b are ordinary byte indexes to the strings but you might keep the length of the characters separate as unicodeLen != b-a+1 and you need the unicodeLen as the measure of distance
19:24:09VarriountWhat about the other string functions, like insert, delete, etc?
19:24:52Araqthey all work on byte indexes
19:25:29Araqand working on byte indexes is just fine except for the measure of distance
19:32:37AraqVarriount: and fyi ropes are pretty slow and use lots of memory, especially on 64 bit, these 8 byte pointers really harm
19:33:16*Varriount goes off to the corner and grumbles.
19:54:07rtdosHi Araq (just got back from lunch)
20:28:38*fowl joined #nimrod
20:31:02*io2 joined #nimrod
20:37:30Araqhi fowl
20:37:37Araqwhat's missing for the babel migration?
20:38:06dom96Araq: Have you tested babel on Mac OS X yet?
20:38:13Araqno ...
20:38:25Araqcan't be bothered to boot macosx, sorry
20:41:32*Endy quit (Ping timeout: 240 seconds)
20:44:04dom96well I would like to release version 0.1 at some point, would be nice to know that it works on Mac OS X before I do so though.
20:44:29fowlhi
20:48:12*faassen left #nimrod (#nimrod)
21:02:58Araqfowl: what's the state of the babel migration?
21:03:34fowlthe 7 packages i did are ready to go
21:04:06Araqso they should be removed from the nimrod repository ...
21:04:11fowlyea
21:04:14AraqI wonder how to do that
21:04:21fowlgit rm
21:04:23Araqsome deprecation path would be nice
21:04:39Araq(lol yeah thanks, I know about "git rm")
21:04:49fowlthe packages rely on nimrod > 0.9.2
21:05:00Araqhow so?
21:05:08fowlthrough the .babel
21:05:15fowlso they cant be installed on an older nimrod
21:05:33Araqwell ok but
21:05:38fowldom96, you should install os x in a vm
21:05:47fowls/should/could
21:05:50fowlno pressure
21:06:31Araq"user installs 0.9.4. His gtk application doesn't compile. WTF? where to get these things now? Babel? gah"
21:08:57AraqI guess I will simply update the compiler's error message when a module can't be found
21:14:21fowlgoing off the container[T] example for user-defined type classes, is (var x: seq[int]; x is container[int]) supposed to be true?
21:14:51Araqsure, why wouldn't it?
21:15:39fowlits false though
21:16:07fowland it doesnt compile with the "items(c) is iterator" line or "for value in c: type(value) is T"
21:16:12AraqI have no idea in what state type classes are
21:16:37fowloh
21:19:24fowlhavent seen zah in here in a while
21:27:07wlhlmHi, what hash function is used in nimrod's `hashes` module?
21:30:27*Demos joined #nimrod
21:39:10fowlwlhlm, xor i believe
21:39:22fowlyou can read the source
21:40:44wlhlmfowl: I'm not really familiar with hash functions
21:41:44wlhlmfowl: I guess, a lot of hash funtions ae based on xor, but I mean something like `MurmurHash2`…
21:41:54wlhlm*are
21:42:21fowlyou're more familiar than i am, i've never heard of this murmurhash
21:44:02wlhlmhttps://en.wikipedia.org/wiki/List_of_hash_functions
21:54:06*fowl quit (Ping timeout: 252 seconds)
21:59:53*OrionPK joined #nimrod
22:06:18*Amrykid quit (Excess Flood)
22:06:23Araqwlhlm: I don't know the name of the hash function, the internet suggested it's a good one
22:06:40Araqand I found it produces good results
22:06:47*Amrykid joined #nimrod
22:07:40wlhlmAraq: that sound interesting :D I was asking, because I watched: http://media.ccc.de/browse/congress/2012/29c3-5152-en-hashflooding_dos_reloaded_h264.html
22:08:36wlhlmwas the algorithm called `siphash`?
22:08:54Araqthe website had no name for it
22:09:15Araqbut it's very old so it's likely it has these problems
22:09:20*Amrykid quit (Changing host)
22:09:21*Amrykid joined #nimrod
22:12:02wlhlmthis could be an issue, especially with something like jester
22:15:04wlhlm(ok, but currently it doesn't look like it's using the hashes module)
22:15:16VarriountAraq, what difference is there supposed to be between init* procedures (initTable, etc) and new* procedures (newSeq, etc.)?
22:15:38*fowl joined #nimrod
22:15:40Araqinit* is for value types, new* for reference types
22:16:01AraqnewString and newSeq are not consistent because they predate that convention
22:16:10Araqand nobody knows about it ... so ...
22:16:21VarriountOk. I'll make a note of that in the naming conventions file.
22:16:49AraqI think I already did
22:19:03Araqwlhlm: jester uses the tables module though which doesn't use any algorithms that care about the worst case
22:19:23Araqfixes are welcome
22:24:37wlhlmAraq: yeah, I'm still pretty new to the language, but having things like that (or the sparse uri module, etc.), there are a lot of incentives for learning and maybe helping out one day.
22:25:42fowlAraq, is it planned to allow `[]` to accept more than one parameter
22:26:45fowloh it already works
22:26:52fowlgood stuff
22:31:47*rtdos quit (Remote host closed the connection)
22:31:47*gdos quit (Remote host closed the connection)
22:37:45NimBotAraq/Nimrod master e57b0f4 Mark Flamer [+0 ±1 -0]: fix for Issue #626 - Distinct and generics not working together
22:37:45NimBotAraq/Nimrod master d7b1e68 Andreas Rumpf [+0 ±1 -0]: Merge pull request #628 from mflamer/master... 2 more lines
22:39:20*gdos joined #nimrod
22:42:10*io2 quit ()
22:47:00dom96oh cool. It's nice to see activity on r/nimrod.
22:48:06OrionPKwhere
22:49:16OrionPKoh i see, 9 hours ago. it was marked read
22:53:40dom96good night
23:00:22*Kelet joined #nimrod
23:03:14Araqhi Kelet welcome
23:03:17*q66 quit (Quit: Leaving)
23:13:35OrionPKgetting error with jester
23:13:37OrionPKError: unhandled exception: A non-blocking socket operation could not be complet
23:13:37OrionPKed immediately.
23:13:38OrionPKanyone?
23:14:19Araqdom96 is sleeping and I'm ignorant
23:14:27OrionPKmmk
23:16:43Araqand now I'm sleeping too, good night
23:16:48OrionPKn8
23:18:11*DAddYE quit (Remote host closed the connection)
23:18:44*DAddYE joined #nimrod
23:19:04*xenagi joined #nimrod
23:21:13OrionPKmm, it's calling readLine on an async socket when I guess it should call readLineAsync?
23:22:36OrionPKoh nm, that's "recvLineAsync"
23:23:07*DAddYE quit (Ping timeout: 246 seconds)
23:23:34*dorei joined #nimrod
23:30:59*DAddYE joined #nimrod
23:41:54*fowl quit (Ping timeout: 252 seconds)
23:54:05*fowl joined #nimrod