<< 17-05-2014 >>

00:01:24Araqhmm a === b is the same as a = a == b, except that it doesn't exist
00:02:20AraqI wonder how many people dismissed C because of this inconsistency
00:03:39Araqalso there is no =<= or =>= and (a <= b) doesn't mean a = a < b
00:07:25*Matthias247 quit (Read error: Connection reset by peer)
00:25:12*Varriount-Mobile joined #nimrod
00:44:51flaviuThe code in `transf` seems to be duplicated in `vmgen`
00:51:56flaviuNevermind, I just didn't understand what was going on
01:25:14nequitansHi all, for commentary/criticism/potentially of interest, this line parser I made using the memory mapping module as well as optimizations using memchr get substantial speedups over the traditional lines, which is noticable on very large files. it's been handy for me and i thought it might be for others. not sure if someone has already done something like this tho: https://gist.github.com/geetduggal/9d2e528c79a8a03f620f
01:26:01nequitans(as a side note, word counting and basic grepping is equivalent in speed to the unix tools using it)
01:43:55*q66 quit (Quit: Leaving)
01:49:35*askatasuna joined #nimrod
02:38:10*flaviu quit (Remote host closed the connection)
02:41:10*Kazimuth joined #nimrod
02:48:03*Kazimuth quit (Quit: gas leak)
02:48:05*hoverbear joined #nimrod
02:55:08*nequitans quit (Ping timeout: 276 seconds)
03:03:27xtagonHey guys, haven't been active here lately. What have you all been up to?
03:03:52fowlwe have a new release, 0.9.4
03:07:28xtagonCool! Any key features?
03:07:37xtagonActually I'll just read the changelog
03:10:23xtagonOh sweet, Asynch IO changes sound good!
03:32:19Varriount-Mobilextagon: Keep in mind that the async io api is still highly experimental
03:34:28xtagonVarriount-Mobile, it won't get stable until we break it a little :)
03:35:36Varriount-MobileIn particular, the api needs to be expanded to support outside extensions
03:37:11*Demos_ quit (Read error: Connection reset by peer)
04:02:59*Varriount-Mobile quit (Read error: No route to host)
04:35:10*nande quit (Remote host closed the connection)
04:40:43*shodan45 quit (Quit: Konversation terminated!)
04:45:24*xtagon quit (Quit: Leaving)
04:59:28*fowl quit (Remote host closed the connection)
05:00:40*fowl joined #nimrod
05:40:41*Xuerian quit (Quit: Xuerian)
05:40:54*Xuerian joined #nimrod
06:09:31*kunev joined #nimrod
06:33:27*hoverbear quit ()
06:39:34*kunev quit (Ping timeout: 240 seconds)
07:25:43*reloc0 quit (Ping timeout: 258 seconds)
07:32:21*reloc0 joined #nimrod
07:42:54*DAddYE joined #nimrod
07:49:35AraqVarriount: the API does support outside extensions
07:49:55Araqit's all callbacks anyway, how can that not be extensible?
08:31:49*lyro joined #nimrod
08:46:44milosnhmm morning
08:47:04milosnhow do you pass a signal handling proc to signal()? in possix module
08:47:24milosni am trying: signal(SIGINT, handleSIGINT)
08:47:47AraqhandleSigInt needs .noconv as a calling convention
08:47:49milosnthat dont compile, its a general guestion, how do you pass a callable as an argument i belive :)
08:48:13milosni dont understand
08:48:34Araqproc handleSIGINT(...) {.noconv.} = ...
08:48:51milosnah
08:48:54milosnlet me try
08:51:11Araqthere is also system.setControlCHook btw
09:09:41*Matthias247 joined #nimrod
09:11:06*lyro` joined #nimrod
09:11:29*BitPuffin joined #nimrod
09:12:38*lyro quit (Ping timeout: 240 seconds)
09:16:19*BitPuffin quit (Ping timeout: 252 seconds)
09:52:48*vendethiel quit (Remote host closed the connection)
09:57:09*vendethiel joined #nimrod
10:29:06*BitPuffin joined #nimrod
10:34:32*DAddYE quit (Remote host closed the connection)
10:35:00*DAddYE joined #nimrod
10:39:06*DAddYE quit (Ping timeout: 240 seconds)
11:10:51*Matthias247 quit (Read error: Connection reset by peer)
11:19:57*DAddYE joined #nimrod
11:22:14*Varriount|Mobile joined #nimrod
11:24:14*DAddYE quit (Ping timeout: 240 seconds)
11:33:38*askatasuna quit (Ping timeout: 240 seconds)
11:50:41*BitPuffin quit (Ping timeout: 264 seconds)
11:51:29*kunev joined #nimrod
11:54:49*BitPuffin joined #nimrod
11:58:10dom96http://langpop.corger.nl/
12:08:58Varriount|Mobiledom96: Stop making me depressed
12:15:14Skrylarheh rust is on that list
12:15:49Varriount|MobileYes. And it depresses me.
12:16:19Skrylari won't be working on the image load next week :<
12:20:48*DAddYE joined #nimrod
12:25:50*DAddYE quit (Ping timeout: 276 seconds)
12:50:01*springbok quit (Ping timeout: 258 seconds)
12:54:28*kunev quit (Quit: leaving)
13:03:12*darkf quit (Quit: Leaving)
13:06:45*flaviu1 joined #nimrod
13:17:31*nequitans joined #nimrod
13:19:25*BitPuffin quit (Ping timeout: 252 seconds)
13:21:32*DAddYE joined #nimrod
13:26:05*DAddYE quit (Ping timeout: 264 seconds)
13:43:06*nequitans quit (Ping timeout: 240 seconds)
13:44:34*q66 joined #nimrod
13:44:34*q66 quit (Changing host)
13:44:34*q66 joined #nimrod
14:07:38*DAddYE joined #nimrod
14:11:58*DAddYE quit (Ping timeout: 240 seconds)
14:36:08*q66 quit (Ping timeout: 252 seconds)
14:40:18*askatasuna joined #nimrod
14:40:43*springbok joined #nimrod
14:40:56*springbok quit (Changing host)
14:40:56*springbok joined #nimrod
14:48:22*q66 joined #nimrod
14:48:22*q66 quit (Changing host)
14:48:22*q66 joined #nimrod
15:49:46*hoverbear joined #nimrod
16:03:19*lyro` quit (Ping timeout: 252 seconds)
16:05:14*untitaker quit (Ping timeout: 252 seconds)
16:09:59*vegai joined #nimrod
16:10:57*untitaker joined #nimrod
16:17:14*askatasuna quit (Ping timeout: 276 seconds)
16:20:40*Matthias247 joined #nimrod
16:30:34*askatasuna joined #nimrod
16:46:51*silven_ quit (Quit: No Ping reply in 180 seconds.)
16:57:09*Demos_ joined #nimrod
16:57:58*silven joined #nimrod
17:04:07*vendethiel quit (Quit: q+)
17:04:22*silven quit (Quit: No Ping reply in 180 seconds.)
17:05:21*silven joined #nimrod
17:12:12*hoverbear quit ()
17:14:14*Jesin quit (Quit: Leaving)
17:38:57*vendethiel joined #nimrod
17:50:51flaviu1Araq: Your suggestion is https://github.com/flaviut/Nimrod/commit/d1ed24ddb1374a234903d5869ed7b0235d2e6855, I assume. However, it just moves the error further down the call stack to ccgexprs.nim(1860). Wouldn't a better solution be moving all tuple ops into a lowering pass so the Cgen doesn't even know about tuples?
17:59:30Araqflaviu1: we have this pass, it's called "transf"
17:59:43Araqand yeah, you could do the lowering there
18:00:34*BitPuffin joined #nimrod
18:01:00Araqbtw lowerTupleUnpacking() is a recent addition. History often explains some "strange" choices in the compiler/stdlib.
18:04:06Araqalso shadowing like 'let n = foo(n)' is often the *better* style preventing bugs because you can't access the old 'n' by accident
18:05:14*BitPuffin quit (Ping timeout: 240 seconds)
18:09:07flaviu1Yeah, the transf tuple unpacking works fine, but it only seems to run on loops.
18:09:26flaviu1I didn't know that shadowing was valid, thanks
18:24:46Araqwhat do you mean? "only run on loops"?
18:31:00flaviu1https://github.com/flaviut/Nimrod/blob/bug665/tests/tuples/tbug665_capture_unpack.nim
18:31:26flaviu1Araq: The top half of that doesn't crash, only the bottom
18:33:21Araqflaviu1: 'for' tuple unpacking is quite different from 'var' tuple unpacking
18:40:12*Jesin joined #nimrod
18:49:03*vegai quit (Quit: leaving)
18:49:15*vegai joined #nimrod
18:55:24*askatasuna quit (Quit: WeeChat 0.4.3)
18:55:51*askatasuna joined #nimrod
19:04:08*Jesin quit (Quit: Leaving)
19:08:18*vendethiel quit (Read error: Connection reset by peer)
19:12:54*vendethiel joined #nimrod
19:23:50*hoverbear joined #nimrod
19:36:05*Varriount|Mobile quit (Remote host closed the connection)
19:36:29*Varriount|Mobile joined #nimrod
20:01:27*BitPuffin joined #nimrod
20:10:34*BitPuffin quit (Ping timeout: 240 seconds)
20:20:59*askatasuna quit (Ping timeout: 276 seconds)
20:34:35*askatasuna joined #nimrod
20:36:41*BitPuffin joined #nimrod
20:41:15*Varriount|Mobile quit (Ping timeout: 252 seconds)
20:44:05*BitPuffin quit (Ping timeout: 264 seconds)
20:51:32*Varriount quit (Ping timeout: 255 seconds)
20:58:22*hoverbear quit ()
21:08:47*hoverbear joined #nimrod
21:31:17*xtagon joined #nimrod
21:38:57*Matthias247 quit (Read error: Connection reset by peer)
21:45:02*hoverbear quit ()
21:59:09*hoverbear joined #nimrod
22:04:33*Varriount joined #nimrod
22:38:07*flaviu1 quit (Quit: Leaving.)
22:39:06*BitPuffin joined #nimrod
23:04:29*vendethiel quit (Ping timeout: 264 seconds)
23:05:14*vendethiel joined #nimrod
23:09:14*Jesin joined #nimrod
23:09:37*BitPuffin quit (Ping timeout: 265 seconds)
23:13:17*bjz joined #nimrod
23:13:57*hoverbear quit ()
23:19:26*Jesin quit (Quit: Leaving)
23:21:50*darkf joined #nimrod
23:23:34*vendethiel quit (Ping timeout: 240 seconds)
23:26:49*hoverbear joined #nimrod
23:26:52*hoverbear quit (Max SendQ exceeded)
23:27:32*hoverbear joined #nimrod
23:35:31*njoejoe quit (Ping timeout: 240 seconds)
23:46:57*hoverbear quit ()