<< 15-07-2014 >>

00:01:10*Matthias247_ joined #nimrod
00:02:59*Matthias247 quit (Ping timeout: 264 seconds)
00:12:13*Demos quit (Ping timeout: 240 seconds)
00:17:23*q66_ joined #nimrod
00:17:53*q66 quit (Disconnected by services)
00:17:55*q66_ is now known as q66
00:21:08*BitPuffin joined #nimrod
00:41:33*Matthias247_ quit (Read error: Connection reset by peer)
01:26:21*EXetoC quit (Quit: WeeChat 0.4.3)
01:27:25*BitPuffin quit (Ping timeout: 240 seconds)
01:28:53*q66 quit (Quit: Leaving)
01:29:52*BitPuffin joined #nimrod
01:31:44OrionPKhttp://www.nimlang.org/ someone should snatch that up...
01:32:12OrionPKexpires April 22, 2015
01:32:19OrionPK:\
01:49:02*superfunc joined #nimrod
01:57:29flaviuCapture groups in PEGs are all weird
01:57:34flaviuI guess I'll have to use regex
01:57:59flaviudom96 probably isn't going to like me depending on PCRE :P
02:00:56*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:06:22OrionPKwhats wrong w/ pegs?
02:08:31flaviu`({'foo'})? {'bar'}` will return ["foo", "bar"] on "foobar", but will return ["bar"] on "bar"
02:08:49flaviuExpected result would be to return [nil, "bar"]
02:22:07*BitPuffin quit (Ping timeout: 256 seconds)
02:28:22*Varriount|Mobile joined #nimrod
02:33:07*bjz joined #nimrod
02:42:08*bjz quit (*.net *.split)
02:42:08*Boscop quit (*.net *.split)
02:42:08*boydgreenfield quit (*.net *.split)
02:42:08*flaviu quit (*.net *.split)
02:42:09*Francisco quit (*.net *.split)
02:42:09*noam quit (*.net *.split)
02:42:09*rektide quit (*.net *.split)
02:42:09*mko quit (*.net *.split)
02:42:09*clone1018 quit (*.net *.split)
02:42:09*flyx quit (*.net *.split)
02:42:23*boydgreenfield joined #nimrod
02:42:32*noam joined #nimrod
02:42:33*rektide joined #nimrod
02:42:33*Boscop joined #nimrod
02:42:33*Boscop quit (Changing host)
02:42:33*Boscop joined #nimrod
02:42:36*Francisco joined #nimrod
02:42:48*clone1018 joined #nimrod
02:42:51*flaviu joined #nimrod
02:45:06*flyx joined #nimrod
02:50:52*boydgreenfield quit (Quit: boydgreenfield)
02:56:30*mko joined #nimrod
02:57:59*bjz joined #nimrod
03:08:43*kshlm joined #nimrod
03:12:19*flyx quit (*.net *.split)
03:12:19*clone1018 quit (*.net *.split)
03:12:19*Francisco quit (*.net *.split)
03:12:19*rektide quit (*.net *.split)
03:12:20*xenagi quit (*.net *.split)
03:12:20*eigenlicht_ quit (*.net *.split)
03:12:20*fowl quit (*.net *.split)
03:12:21*superfunc quit (*.net *.split)
03:12:21*darkf quit (*.net *.split)
03:12:21*btiffin quit (*.net *.split)
03:12:21*CARAM_ quit (*.net *.split)
03:12:22*Zuchto quit (*.net *.split)
03:12:22*dom96 quit (*.net *.split)
03:12:22*rixx quit (*.net *.split)
03:12:23*Raynes quit (*.net *.split)
03:12:23*silven quit (*.net *.split)
03:12:24*Jesin quit (*.net *.split)
03:12:24*Roin quit (*.net *.split)
03:12:25*Amrykid quit (*.net *.split)
03:12:25*Araq quit (*.net *.split)
03:12:25*darkfusi1n quit (*.net *.split)
03:12:26*TylerE quit (*.net *.split)
03:12:26*mal`` quit (*.net *.split)
03:12:26*mko quit (*.net *.split)
03:12:27*Varriount_ quit (*.net *.split)
03:12:27*bastian_ quit (*.net *.split)
03:12:27*betawaffle quit (*.net *.split)
03:12:28*phI||Ip quit (*.net *.split)
03:12:28*mmatalka quit (*.net *.split)
03:12:28*reloc0 quit (*.net *.split)
03:12:29*comex quit (*.net *.split)
03:12:29*jez0990_ quit (*.net *.split)
03:12:29*oddmunds quit (*.net *.split)
03:12:29*bstrie quit (*.net *.split)
03:12:29*def- quit (*.net *.split)
03:20:49*mko joined #nimrod
03:20:49*clone1018 joined #nimrod
03:20:49*Francisco joined #nimrod
03:20:49*rektide joined #nimrod
03:20:49*superfunc joined #nimrod
03:20:49*xenagi joined #nimrod
03:20:49*darkf joined #nimrod
03:20:49*Varriount_ joined #nimrod
03:20:49*eigenlicht_ joined #nimrod
03:20:49*Jesin joined #nimrod
03:20:49*btiffin joined #nimrod
03:20:49*fowl joined #nimrod
03:20:49*silven joined #nimrod
03:20:49*Raynes joined #nimrod
03:20:49*rixx joined #nimrod
03:20:49*dom96 joined #nimrod
03:20:49*Zuchto joined #nimrod
03:20:49*CARAM_ joined #nimrod
03:20:49*mal`` joined #nimrod
03:20:49*TylerE joined #nimrod
03:20:49*darkfusi1n joined #nimrod
03:20:49*Araq joined #nimrod
03:20:49*Amrykid joined #nimrod
03:20:49*Roin joined #nimrod
03:20:49*phI||Ip joined #nimrod
03:20:49*mmatalka joined #nimrod
03:20:49*reloc0 joined #nimrod
03:20:49*betawaffle joined #nimrod
03:20:49*bstrie joined #nimrod
03:20:49*comex joined #nimrod
03:20:49*jez0990_ joined #nimrod
03:20:49*oddmunds joined #nimrod
03:20:49*def- joined #nimrod
03:22:46*5EXAAABOS joined #nimrod
03:22:46*flyx joined #nimrod
03:36:47*boydgreenfield joined #nimrod
03:37:18*superfunc quit (Ping timeout: 272 seconds)
03:40:07*xenagi quit (Quit: Leaving)
04:15:33*askatasuna quit (Ping timeout: 240 seconds)
04:16:09*io2 joined #nimrod
04:38:41*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:49:36*gsingh93 quit (Quit: Connection closed for inactivity)
04:54:52*bjz joined #nimrod
05:00:29*Raynes quit (Excess Flood)
05:00:37*Raynes joined #nimrod
05:00:51*Raynes quit (Changing host)
05:00:51*Raynes joined #nimrod
05:08:33*flaviu quit (Ping timeout: 240 seconds)
05:23:15*superfunc joined #nimrod
05:30:48*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:32:14*Ven joined #nimrod
05:40:33*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:04:37*saml_ quit (Quit: Leaving)
06:07:51*fowl quit (Quit: goodbye, cruel server)
06:12:02*fowl joined #nimrod
06:23:20*darkf_ joined #nimrod
06:23:47*darkf quit (Disconnected by services)
06:23:49*darkf_ is now known as darkf
06:52:06*gsingh93 joined #nimrod
06:55:01*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:14:32Varriount|MobileAraq: I've been thinking about how dll reloading might be done with multithreaded code. When threading and dll reloading is enabled, a global refcount could be maintained which keeps track of outstanding dll procedure calls. The dll reloading mechanism could then load the new dll, and defer unloading the old dll until the outstanding calls count is zero.
07:16:12Varriount|MobileAraq: Though this would incur some runtime cost, as well as increase binary size, it would work.
07:20:25AraqVarriount|Mobile: shouldn't loadLibrary be made threadsafe by the OS?
07:23:33*superfunc quit (Ping timeout: 240 seconds)
07:30:31*kunev joined #nimrod
07:42:46NimBotAraq/Nimrod devel e712dba Araq [+0 ±1 -0]: added OEMCP for the default OEM codepage
07:42:46NimBotAraq/Nimrod devel eed443d Araq [+1 ±6 -0]: rewrote lambdalifting; fixes deeply nested closures
07:42:46NimBotAraq/Nimrod devel 85a1d89 Araq [+4 ±36 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn... 3 more lines
07:42:46NimBotAraq/Nimrod devel 7014d0c Araq [+8 ±4 -0]: some progress for jester+async
07:42:46NimBot6 more commits.
07:59:30NimBotAraq/Nimrod devel fd0e809 Araq [+0 ±1 -0]: fixes #1362
08:00:30*q66 joined #nimrod
08:02:45*kunev quit (Remote host closed the connection)
08:06:56*jimbeans joined #nimrod
08:15:58*kunev joined #nimrod
08:50:46*Matthias247 joined #nimrod
08:53:58*Araq_ joined #nimrod
08:55:12*Matthias247 quit (Read error: Connection reset by peer)
09:02:45*kshlm quit (Ping timeout: 256 seconds)
09:03:42*kaushal_ joined #nimrod
09:11:04*kaushal_ is now known as kshlm
09:18:09*BitPuffin joined #nimrod
09:20:30*Matthias247 joined #nimrod
09:21:44*boydgreenfield quit (Quit: boydgreenfield)
09:35:58*kshlm quit (Ping timeout: 240 seconds)
09:39:23*Varriount|Mobile quit (Remote host closed the connection)
09:39:39*Varriount|Mobile joined #nimrod
09:56:04*clone1018 quit (*.net *.split)
09:56:04*Francisco quit (*.net *.split)
09:56:04*rektide quit (*.net *.split)
09:56:04*eigenlicht_ quit (*.net *.split)
09:56:05*Raynes quit (*.net *.split)
09:56:06*btiffin quit (*.net *.split)
09:56:06*CARAM_ quit (*.net *.split)
09:56:06*Zuchto quit (*.net *.split)
09:56:06*dom96 quit (*.net *.split)
09:56:07*rixx quit (*.net *.split)
09:56:07*silven quit (*.net *.split)
09:56:08*darkf quit (*.net *.split)
09:56:08*Jesin quit (*.net *.split)
09:56:09*Roin quit (*.net *.split)
09:56:09*Amrykid quit (*.net *.split)
09:56:09*Araq quit (*.net *.split)
09:56:09*darkfusi1n quit (*.net *.split)
09:56:10*TylerE quit (*.net *.split)
09:56:10*mal`` quit (*.net *.split)
09:56:10*Varriount|Mobile quit (*.net *.split)
09:56:10*Matthias247 quit (*.net *.split)
09:56:10*kunev quit (*.net *.split)
09:56:11*io2 quit (*.net *.split)
09:56:11*mko quit (*.net *.split)
09:56:11*Varriount_ quit (*.net *.split)
09:56:11*betawaffle quit (*.net *.split)
09:56:12*phI||Ip quit (*.net *.split)
09:56:12*mmatalka quit (*.net *.split)
09:56:12*reloc0 quit (*.net *.split)
09:56:13*comex quit (*.net *.split)
09:56:13*jez0990_ quit (*.net *.split)
09:56:13*oddmunds quit (*.net *.split)
09:56:13*bstrie quit (*.net *.split)
09:56:13*def- quit (*.net *.split)
10:00:46*clone1018 joined #nimrod
10:00:46*Francisco joined #nimrod
10:00:46*rektide joined #nimrod
10:00:46*eigenlicht_ joined #nimrod
10:01:43*io2 joined #nimrod
10:01:43*Raynes joined #nimrod
10:01:43*btiffin joined #nimrod
10:01:43*CARAM_ joined #nimrod
10:01:43*Zuchto joined #nimrod
10:01:43*dom96 joined #nimrod
10:01:43*rixx joined #nimrod
10:01:43*silven joined #nimrod
10:02:11*kunev joined #nimrod
10:02:24*io2 is now known as Guest7794
10:03:11*darkf joined #nimrod
10:03:11*Jesin joined #nimrod
10:03:11*Roin joined #nimrod
10:03:11*Amrykid joined #nimrod
10:03:11*Araq joined #nimrod
10:03:11*darkfusi1n joined #nimrod
10:03:11*TylerE joined #nimrod
10:03:11*mal`` joined #nimrod
10:03:56*phI||Ip joined #nimrod
10:03:56*mmatalka joined #nimrod
10:03:56*reloc0 joined #nimrod
10:03:56*bstrie joined #nimrod
10:03:56*comex joined #nimrod
10:03:56*jez0990_ joined #nimrod
10:03:56*oddmunds joined #nimrod
10:03:56*def- joined #nimrod
10:08:43*Varriount|Mobile joined #nimrod
10:08:43*mko joined #nimrod
10:08:43*Varriount_ joined #nimrod
10:08:43*betawaffle joined #nimrod
10:08:47*Varriount|Mobile quit (Remote host closed the connection)
10:10:53*Matthias247 joined #nimrod
10:19:35*gsingh93 quit (Quit: Connection closed for inactivity)
10:31:08*Araq_ quit (Ping timeout: 250 seconds)
10:33:24*kshlm joined #nimrod
10:41:13*Matthias247 quit (Read error: Connection reset by peer)
11:07:20*Johz joined #nimrod
11:22:14*pafmaf joined #nimrod
11:24:26*Araq_ joined #nimrod
11:27:28*kshlm quit (Ping timeout: 250 seconds)
11:31:51*Matthias247 joined #nimrod
11:33:18*q66 quit (Ping timeout: 240 seconds)
11:34:22*Guest7794 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
11:46:08*q66 joined #nimrod
12:15:34*BitPuffin quit (Ping timeout: 250 seconds)
12:21:12*flaviu joined #nimrod
12:29:23*Matthias247 quit (Ping timeout: 264 seconds)
12:33:04*untitaker quit (Ping timeout: 260 seconds)
12:36:33*BitPuffin joined #nimrod
12:38:32*untitaker joined #nimrod
12:56:36*Matthias247 joined #nimrod
13:07:08*jimbeans quit (Quit: Page closed)
13:33:28*askatasuna joined #nimrod
13:46:15*pafmaf quit (Remote host closed the connection)
13:53:50*io2 joined #nimrod
13:55:48*darkf quit (Quit: Leaving)
14:08:08*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 29.0/20140421221237])
14:12:52*bjz joined #nimrod
14:40:51*superfunc joined #nimrod
14:45:34*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:53:45*ics joined #nimrod
15:12:06*bjz joined #nimrod
15:21:17*mwbrown joined #nimrod
15:23:32*Jesin quit (Ping timeout: 240 seconds)
15:26:35*Jesin joined #nimrod
15:37:08*Matthias247 quit (Read error: Connection reset by peer)
15:42:28*Demos joined #nimrod
16:04:16*kunev quit (Quit: leaving)
16:05:12*Lorxu joined #nimrod
16:10:45*boydgreenfield joined #nimrod
16:24:05*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:24:26*bjz quit (Read error: Connection reset by peer)
16:24:49*BitPuffin quit (Read error: Connection reset by peer)
16:24:51*bjz joined #nimrod
16:25:12*BitPuffin joined #nimrod
16:33:55*AndChat|324564 joined #nimrod
16:33:55*Lorxu quit (Read error: Connection reset by peer)
16:35:28*kunev joined #nimrod
16:44:29*boydgreenfield quit (Quit: boydgreenfield)
16:44:56*boydgreenfield joined #nimrod
16:52:38*AndChat|324564 quit (Ping timeout: 240 seconds)
16:55:16*Ven joined #nimrod
17:00:58flaviuOrionPK: Is pcre an acceptable dependency, given that its part of the stdlib?
17:07:08NimBotAraq/Nimrod devel 5bfea58 def [+0 ±1 -0]: Add missing difference and to sets module
17:07:08NimBotAraq/Nimrod devel 68c3c8e def [+0 ±1 -0]: More effificent TSet difference
17:07:08NimBotAraq/Nimrod devel 54d61d2 def [+0 ±1 -0]: Add TSet difference tests
17:07:08NimBotAraq/Nimrod devel f88f082 Andreas Rumpf [+0 ±2 -0]: Merge pull request #1361 from def-/setdiff... 2 more lines
17:07:35*boydgreenfield quit (Quit: boydgreenfield)
17:07:40NimBotAraq/Nimrod devel b1a494e def [+0 ±1 -0]: Add missing complex arithmetic procs
17:07:40NimBotAraq/Nimrod devel 0822f30 Andreas Rumpf [+0 ±1 -0]: Merge pull request #1360 from def-/complex-missing... 2 more lines
17:09:10NimBotAraq/Nimrod devel 7c51f67 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Improves docstring contents and visibility of paramStr and friends.
17:09:10NimBotAraq/Nimrod devel 1e38dcb Andreas Rumpf [+0 ±1 -0]: Merge pull request #1353 from gradha/pr_paramstr_docstrings... 2 more lines
17:09:25NimBotAraq/Nimrod devel 66fad12 def [+0 ±1 -0]: Change wordwrap to remove separators at newlines
17:09:25NimBotAraq/Nimrod devel 45bf087 Andreas Rumpf [+0 ±1 -0]: Merge pull request #1342 from def-/wordwrap-change... 2 more lines
17:10:20NimBotAraq/Nimrod devel c591db1 def [+0 ±1 -0]: Add reversed proc
17:10:20NimBotAraq/Nimrod devel 8b79676 def [+0 ±1 -0]: Fix to included last element in reversed
17:10:20NimBotAraq/Nimrod devel ce3d1b3 def [+0 ±1 -0]: Update news.txt
17:10:20NimBotAraq/Nimrod devel e040460 Andreas Rumpf [+0 ±2 -0]: Merge pull request #1341 from def-/algorithm-reversed... 2 more lines
17:11:34OrionPKflaviu depends on what it's a dependency for
17:14:09*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:29:53*vendethiel joined #nimrod
17:32:52*Demos_ joined #nimrod
17:33:27flaviuOrionPK: The markdown parser
17:34:39*icebattle joined #nimrod
17:36:27*Demos quit (Ping timeout: 272 seconds)
17:37:18OrionPKoh you're making one?
17:38:01OrionPKI would say no.. probably better to not have pcre dependency. that's just my opinion though.
17:38:28flaviuI guess I can port it to pegs pretty easily.
17:39:23*brson joined #nimrod
18:07:18AraqIMO you should build a parser generator first
18:07:28Araqwe really need one
18:09:04flaviuI'm not out of things to do. Right now I'm just having some fun stretching regexes to their limits :P
18:18:06OrionPKactually I started building a markdown lib a few days ago flaviu
18:18:18OrionPKI havent gotten very far though, just started writing a lexer
18:18:27*ics joined #nimrod
18:18:42flaviuIf you've already started, I'll just do something else.
18:18:58OrionPKno guarantees I'll finish it.. just a spare time sort of thing :\
18:19:03flaviuMy idea was to make it really quick and dirty, using regexes to parse everything but tables
18:19:06OrionPKahh
18:19:22OrionPKI was planning on being fairly meticulous and not using regexes or pegs hopefully
18:20:24flaviuOne of my rules is literally `\b _ (.+?) _ \b` -> `<i>$1</i>`
18:29:26Araqflaviu: and the next rule then matches the generated <i> :P
18:29:42Araqparsing with regexes simply doesn't work
18:30:02Araqthere is a reason ALL regex based rules are processed at once in a real lexer generator
18:30:04flaviuWhy would something match the <i>?
18:30:19Araqit's just some example
18:30:51flaviuMy rules are specific enough to avoid that
18:31:08flaviuAnd I have a clever idea to deal with code blocks :D
18:31:34Araqthat only means that you're hacking around because you use the wrong tool for the job
18:31:50Araqand you'll miss lots of edge cases anyway
18:32:22Araqnobody is smart enough for the interactions that you're creating
18:33:00NimBotAraq/Nimrod devel c14e756 Araq [+0 ±1 -0]: fixes #1355
18:33:00NimBotAraq/Nimrod devel 0251c08 Araq [+0 ±7 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
18:33:07flaviuIf the regexes are perfect, I don't see how there could be weird interactions, but we'll see how it turns out
18:33:42Araqit'll turn out to be a time grave
18:34:21flaviuI'll give up on it before that happens
18:35:24flaviuBTW, what do you think of https://github.com/Araq/Nimrod/pull/1364 ? I think its worth breaking backwards compatibility for that
18:35:37Araqflaviu: I'm thinking about it
18:42:16*superfun1 joined #nimrod
18:43:01*superfunc quit (Ping timeout: 256 seconds)
18:48:33*superfun1 quit (Ping timeout: 240 seconds)
18:53:51*Johz quit (Remote host closed the connection)
19:04:53*q66_ joined #nimrod
19:05:18*q66 quit (Disconnected by services)
19:05:20*q66_ is now known as q66
19:08:31*brson quit (Ping timeout: 256 seconds)
19:24:09*brson joined #nimrod
19:25:01def-Can someone merge?: https://github.com/Araq/Nimrod/pull/1365
19:25:46Araqdef-: is that a recent regression?
19:25:52def-Araq: apparently
19:25:57Araqok
19:26:02def-because today koch doesn't run, and yesterday it did
19:26:03NimBotAraq/Nimrod devel 89c2793 def [+0 ±1 -0]: Stop paramStr from always throwing an exception
19:26:03NimBotAraq/Nimrod devel 021db19 Andreas Rumpf [+0 ±1 -0]: Merge pull request #1365 from def-/paramstr-exception... 2 more lines
19:26:36Araqwell all of our builders fail too
19:26:46Araq"koch boot" still works for me though
19:27:56def-./koch boot
19:28:03def-Traceback (most recent call last)
19:28:03def-koch.nim(294) koch
19:28:03def-parseopt.nim(54) initOptParser
19:28:03def-os.nim(1637) paramStr
19:28:03def-Error: unhandled exception: invalid index [EInvalidIndex]
19:28:11*ics quit (Ping timeout: 264 seconds)
19:28:55dom96hi
19:28:59def-hi dom96
19:29:09Araqwhy the fuck does strtod depend on the locale?
19:29:46flaviuAraq: Because in some places, 10.00.34,0 == 100034
19:29:56Araqand why is there no workaround?
19:30:16Araqflaviu: so should all the config files be locale dependent then?
19:30:31Araqnot to mention programming code
19:30:59*ics joined #nimrod
19:33:28*pown5 joined #nimrod
19:33:51dom96Guys, why are we making PRs to merge devel into master?
19:34:04dom96is it so hard to type 'git checkout master; git merge devel'?
19:34:34pown5Hi! Is there any lib for nimrod to read wav files? if not I thought I could wrap libsndfile
19:34:35*Johz joined #nimrod
19:35:14Araqdom96: yes
19:35:17def-pown5: don't see any in this list: http://nimrod-lang.org/lib.html
19:35:22dom96pown5: nope, wrap it.
19:35:33Araqspent 2 hours with git
19:35:44def-i only see nim-ogg, nim-portaudio, nim-vorbis in that area
19:35:45dom96Araq: You disgust me.
19:35:45Araqonly solution was to commit the changes
19:35:48dom96Araq: :P
19:36:06Araqdom96: the internet agreed it's some git bug on windows
19:36:31dom96Araq: What does this have with merging branches?
19:36:43Araqread the logs
19:37:11pown5git is a pain on windows. don't.
19:37:13Demos_woohoo early support in visual studio for "nimrod check" is in
19:37:27dom96Araq: I don't see anything of note in the logs.
19:39:05dom96Also, does flaviu not have access to the repo?
19:39:09Araqdom96: http://build.nimrod-lang.org/irclogs/14-07-2014.html
19:39:16*enurlyx joined #nimrod
19:39:29Araqdunno, apparently not
19:39:35Araqflaviu: want write access?
19:41:01dom96"what does 'reset hard' do with my uncommitted files?"
19:41:08dom96"*untracker"
19:41:11dom96**untracked
19:41:18dom96It certainly does not delete them.
19:41:31Araqdom96: yes, now I know
19:41:38dom96oh, Jehan corrected that later.
19:41:43Araqbut that didn't fix it
19:41:47Araqnothing did
19:41:56AraqI deleted the files and checked them out again
19:42:07Araqand git still pretended I changed them
19:42:25Araqbut sure, must be my fault
19:42:41Araqothers have the same problem on stack overflow, but yes, I'm an idiot
19:42:54Araqnow let me work
19:43:17dom96ok, I believe you.
19:43:51dom96What probably could have helped would have been 'git reset --hard origin/devel'
19:47:15Demos_what visual studio feature should I do after I get squiggles polished?
19:49:47AraqDemos_: debugging support?
19:50:03*Ven joined #nimrod
19:50:10Demos_I suppose I could do the Autos window and symbol browsing...
19:50:18NimBotAraq/Nimrod devel 8b8a21c Reimer Behrends [+1 ±1 -0]: Fixed parsing of float literals.... 7 more lines
19:50:18NimBotAraq/Nimrod devel 85ec4dc Andreas Rumpf [+1 ±1 -0]: Merge pull request #1218 from rbehrends/parsefloat-fix... 2 more lines
19:50:57Demos_the debugger actually works, but it just uses the native debugger. I am not sure how to fix it, perhaps injecting locals() calls to collect names of things
19:51:55Araqwell the native debugger is fine, I don't care about ENDB anymore
19:52:12Demos_right, but scope is screwed up and variable names tend to be wrong
19:52:25Araq.injectStmt is superior anyway
19:53:35Demos_so do .injectStmt. and inject something to tell the debugger about symbols...
19:54:25Araq.injectStmt: gcInvariant() :P
19:54:40Araq--> find which instruction causes the corruption
19:55:37Araqthe problem with locals et al is that they quickly overwhelm you with irrelevant information
19:55:55Demos_right, which is why we have the Autos window
19:56:16Demos_but I find locals useful as well, at the very least they let you pick stuff out for watching
19:56:35dom96Araq: it's that simple is it?
19:56:41dom96Perhaps I should try that...
19:56:57Araqdom96: well sometimes it is
20:01:59NimBotAraq/Nimrod devel cea2a90 katlogic [+0 ±3 -0]: More human readable `$`(float)... 3 more lines
20:01:59NimBotAraq/Nimrod devel 9532951 katlogic [+1 ±2 -0]: Tests for `$`(float)
20:01:59NimBotAraq/Nimrod devel 396b561 Andreas Rumpf [+1 ±5 -0]: Merge pull request #1273 from katlogic/devel... 2 more lines
20:03:52*ics quit (Ping timeout: 260 seconds)
20:05:04*ics joined #nimrod
20:05:52def-Yay, more readable `$`(float)!
20:06:04Araqit's buggy though
20:06:07AraqI'm fixing it
20:08:23*Varriount|Mobile joined #nimrod
20:09:19Araqdef-: why would I want "Make toBin, toOct, toHex calculate correct length by default"?
20:10:19def-Araq: so that you can simply output a number in any of these bases, without having to think about the length it should have
20:14:51Demos_is it indented that if I put --passc:/MTd in my nimrod.cfg file and compile with --cc:vcc on the command line the passc does not work?
20:15:11Araqwhy would I want a representation in hex "without thinking about it"?
20:15:40*Lorxu joined #nimrod
20:15:43AraqDemos_: kind of
20:15:47LorxuHi guys
20:15:52Demos_it is pretty annoying
20:15:54Varriount|MobileHi Lorxu
20:16:40AraqDemos_: well so passC should not be resetted when you change the C compiler?
20:16:48Araqhow is that better?
20:17:27Demos_I guess it is not
20:17:57LorxuI'm trying to create a standard widget wrapper over gtk2 but I don't know how to proceed
20:18:25reactormonkLorxu, what should the wrapper abstract over?
20:18:36LorxuI got this code: http://ideone.com/RLdiXf
20:19:54LorxuMi idea is a wrapper for all gui toolkit
20:19:58flaviuAraq: Sure, especially since I never seem to have any problems with git :P
20:20:02*superfunc joined #nimrod
20:20:03Varriount|MobileAraq: What do you want me to work on, hot-reloading of DLL's, or bugs?
20:20:17reactormonkLorxu, so wrap the C API for nimrod?
20:20:33LorxuYes
20:20:48reactormonkok, so not too much magic required. What's the problem?
20:20:53reactormonkAraq, nice PR spree.
20:21:07LorxuI got a pointer and do cast for all process
20:21:49LorxuThat let me make a object hierarchy
20:21:52AraqLorxu: gtk2 is already wrapped, check out the babel package
20:22:06def-Araq: I guess I'm used to printing numbers in any base with the same ease as decimal
20:23:26Araqdecimal is the only sane base though
20:23:39dom96Varriount|Mobile: dude. What about fsmonitor?
20:23:44Araq0xffff_ffff # signed or unsigned? who knows ...
20:24:48Varriount|Mobiledom96: I can't find the GC leak
20:27:38*Lorxu quit (Read error: Connection reset by peer)
20:27:45*Lorxu joined #nimrod
20:28:18*Matthias247 joined #nimrod
20:30:14AraqVarriount|Mobile: well hot code swapping is a cool project, but you prefer to fix bugs ... :P
20:30:56Araqdon't overdesign this, hack until it works for a simple example
20:31:22Araqand then think about it ;-)
20:31:25Varriount|MobileAraq: This is true. Then again, implementing hot-swapping would be interesting.
20:34:17*Matthias247 quit (Read error: Connection reset by peer)
20:37:59*enurlyx quit (Quit: Leaving.)
20:38:09*pafmaf joined #nimrod
20:42:43Varriount|MobileAraq: Can you explain to me how dll's are currently loaded by nimrod?
20:43:10AraqnimLoadLibrary
20:43:18Araqgrep for it
20:44:16dom96Varriount|Mobile: commit your code anyway
20:46:15dom96Araq: IMO you should pull #1325
20:47:12Araqno
20:47:33dom96why?
20:47:42Araqbloat
20:50:55Araqargh ... people won't like this ...
20:51:09*Araq needs to introduce yet another magic
20:51:30Araqthis will break the build
20:51:36def-any reason crc32 is only in the compiler and not a reusable module?
20:51:45Araqyes. it sux
20:51:57Araqit's slow
20:52:41Araqrecent intel chips have an instruction to compute crc32 iirc
20:52:47Araqwe should use that
20:52:58def-alright, then I'll just send the fix so it calculates correct crcs
20:54:18flaviuI think that toHex and family should automatically figure out the bit-width of whatever type, if thats what def- wants
20:54:39def-flaviu: not quite what i wanted, but that would also be reasonable
20:55:09def-but right now toHex only takes int64s anyway
20:55:19Araqdef-: what? it doesn't even compute proper crcs?
20:55:48Araqwell don't bother to fix it, it's surely a good enough checksum anyway
20:55:54*Lorxu quit (Read error: Connection reset by peer)
20:56:19def-Araq: i think it should just invert the bits at the end, rest seems correct
20:56:35*Lorxu joined #nimrod
20:56:48Araqthat doesn't change the entropy at all though
20:56:57Araq(is entropy the right word here?)
20:57:00def-yeah, just for consistency with other implementations
20:57:39*brson quit (Quit: leaving)
20:57:48*brson joined #nimrod
20:59:18*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:59:45*ics joined #nimrod
21:01:11*Lorxu quit (Ping timeout: 264 seconds)
21:03:31pown5OK, so reading nimrod manual/tutorial and taking baby steps for a wrapper around libsndfile, so far only sf_open, compiles, but I get a weird samplerate. expected 48000, got 4295015296
21:03:51pown5in that same struct, the other fields seems correct though.
21:04:18flaviuSounds like uninitialized data
21:04:37pown5mm just realized
21:04:41Araqpown5: use cint etc. and not 'int'
21:05:29pown5this struct's first field has a "sf_count" type, which is defined in libsnd as __int64, how should I define that in nimrod to be binary compatible? (now is only int64, so if there is any difference, that could be it)
21:06:06pown5the __int64 is thus different size depending on platform, any hint on how to handle that?
21:06:55def-pown5: int64 sounds right to me. can we try your code?
21:07:16pown5sure! how do you prefer it sent?
21:07:20*skroll quit (*.net *.split)
21:07:47*pown5 quit (Remote host closed the connection)
21:07:47def-gist on github, or pastebin?
21:08:19*skroll joined #nimrod
21:08:19*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:12:03*pown5_ joined #nimrod
21:12:14pown5_here is my attempt: http://pastebin.com/mSEDLcAz
21:12:29pown5_just noticed that also "channels" has the same value.
21:15:20Araqyou need to do: frames*: array[2, int32]
21:15:41Araqint64 causes 8 byte alignment for the next member, but __int64_t does not
21:16:05Araqbut only for windows
21:16:15Araqfor the other platforms int64 should be fine
21:16:29pown5_cool, im on mac though, will try
21:16:41Araq(unless loff_t is 32 bits ...)
21:17:03def-pown5_: with cints everywhere it works immediately
21:17:11def- samplerate*: cint
21:17:11def- channels*: cint
21:17:11def- format*: cint
21:17:11def- sections*: cint
21:17:11def- seekable*: cint
21:18:34pown5_indeed, with cint on those I get it right!
21:19:27def-pown5_: and libsndfile.so is correct, you can remove the "?"
21:19:36pown5_thx
21:20:02pown5_just searched tut1/tut2 and manual for "cint" to understand
21:20:36pown5_could not find, what/where shoudl I check? (I guess c is to make it c-binary compatible in some way?)
21:20:51Araquse the index
21:21:17def-pown5_: hm, according to http://nimrod-lang.org/system.html#cint cint is an int32, while csize is an int
21:22:04pown5_Araq/def - great. thanks
21:24:33*kunev quit (Quit: Lost terminal)
21:30:50*pown5_ quit (Remote host closed the connection)
21:38:47*boydgreenfield joined #nimrod
21:42:48*tinAndi joined #nimrod
21:43:53flaviuAraq: Remember how you said regex would cause odd interactions? Its working very well so far...
21:44:24flaviuI can't brag about performance, of course
21:44:48AraqI don't feel like breaking it :P
21:44:59flaviuThe algorithm is something like 4n^2
21:45:06flaviu:P
21:50:47flaviuisn't seq[T] a subtype of openarray[T]?
21:51:13Araqyou can pass a seq to an openarray
21:51:40flaviuRight, sorry, I got lost in the error
21:55:13*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:58:42*Trustable joined #nimrod
21:59:27*boydgreenfield quit (Quit: boydgreenfield)
22:05:53*tinAndi quit (Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243])
22:10:22*bjz quit (Read error: Connection reset by peer)
22:10:48*bjz joined #nimrod
22:11:52*io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist)
22:12:07*mwbrown quit (Ping timeout: 256 seconds)
22:13:18*Trustable quit (Ping timeout: 240 seconds)
22:21:43*nande joined #nimrod
22:27:49flaviuWell, here is the code: https://github.com/flaviut/stupid-markdown-parser
22:27:49flaviuOrionPK: Feel free to use it however, it mostly works
22:29:05dom96flaviu: my god
22:29:17dom96It's not that I don't appreciate your work...
22:29:23dom96but WHY REGEXES!?
22:29:39flaviuBecause they are good enough for this case
22:29:43flaviuAlso, fairly readable
22:30:37*ARCADIVS joined #nimrod
22:30:38flaviuThe nimrod code itself is crappy, it needs more work
22:31:59*Johz quit (Quit: Leaving)
22:34:48*boydgreenfield joined #nimrod
22:37:41flaviuAnyway, the big issue is that this is N^2!
22:39:04dom96flaviu: let me put it this way: every time you use regex like this a kitten dies.
22:40:07flaviuWhy? markdown is nearly context-free! I didn't use any recursive patterns, although because I couldn't figure them out
22:41:28NimBotAraq/Nimrod devel a7911ad Araq [+0 ±10 -0]: parseBiggestFloat is now builtin
22:42:45Araq # XXX nested lists ;-)
22:44:33def-Araq: nice, #1357 looks fixed!
22:45:05flaviuYeah, there isn't any way to do that one with pure regexes. I have to actually count whitespace o_o. :P
22:45:36flaviuAnyway, I'm done with that project, except for minor bugfixes
22:50:09Araqok ...
22:50:18Araqnesting is not a minor feature
22:52:12*darkf joined #nimrod
22:55:32flaviuMaybe later, I don't want to work on it any more today
22:59:25*boydgreenfield quit (Quit: boydgreenfield)
23:07:00Araqdef-: ok so close it, if you haven't already
23:07:20def-Araq: done
23:10:24*boydgreenfield joined #nimrod
23:13:34NimBotAraq/Nimrod devel e94203a Araq [+0 ±1 -0]: tester should work again
23:14:22Araqgood night
23:14:45def-good night, Araq
23:17:06flaviuVarriount: Maybe relevant: http://lwn.net/SubscriberLink/604686/96298f755d133ede/
23:23:07*pafmaf quit (Quit: This computer has gone to sleep)
23:41:12*boydgreenfield_ joined #nimrod
23:41:30*xenagi joined #nimrod
23:41:58*boydgreenfield quit (Ping timeout: 240 seconds)
23:41:58*boydgreenfield_ is now known as boydgreenfield
23:43:04*saml_ joined #nimrod
23:50:11*superfun1 joined #nimrod
23:51:18*saml_ quit (Ping timeout: 240 seconds)
23:57:34*icebattle quit (Ping timeout: 250 seconds)