<<18-08-2012>>

00:00:13*XAMPP joined #nimrod
01:02:49*XAMPP quit (Ping timeout: 246 seconds)
01:09:38*XAMPP joined #nimrod
01:25:43*q66 quit (Quit: Quit)
02:00:08*Amrykid quit (Changing host)
02:00:08*Amrykid joined #nimrod
06:40:43*llm joined #nimrod
06:42:59llmso i saw that nimrod got floatChecks for detecting NaN and inf - is there also an check for denormal floats?
06:48:10llminfo about denormals: http://en.wikipedia.org/wiki/Denormal_number - i've hit them some time in an 3d simulation project - see the Wikipedia note on Performance (sometimes 100x slower....)
06:49:37llmand a nice stackoverflow article with C code example: http://stackoverflow.com/questions/9314534/why-does-changing-0-1f-to-0-slow-down-performance-by-10x/9314926#9314926
07:17:19llmsee https://github.com/D-Programming-Language/phobos/blob/master/std/math.d isSubnormal implementation
07:59:56Araqllm: I'd like to implement these checks but I don't know how to do that portably :-)
08:12:41llmi don't known on what platforms IEEE 754-2008 is also working - ARM i think
08:13:25llmor what you mean with portably
08:23:39AraqI mean it's in C99 dunno about C++
08:23:44Araqbut meh, I'll find out
08:23:50Araqmake a feature request please
08:24:06Araqmath.sin et. al. need these checks too anyway
08:25:19llmbbl - where to add a feature request?
08:27:16Araqbug report, I'll mark it as feature request
08:28:54AraqI have to go too, see you later
08:56:16*Trix[a]r_za is now known as Trixar_za
09:22:36*Trixar_za is now known as Trix[a]r_za
09:34:24*Trix[a]r_za is now known as Trixar_za
09:35:28Trixar_zaI should stop committing untested code. But using git is so much easier when your test system can pull your changes from git :(
10:41:21*q66 joined #nimrod
10:54:14*Trixar_za is now known as Trix[a]r_za
11:07:05AraqTrix[a]r_za: we have exactly the same problem :D
12:46:01dom96Damn. I slept way too long
12:56:05*Roin is now known as math|Roin
13:19:19fowldoes ref object of PSomeOtherRefObject work
13:19:30fowlalso morning
13:23:49dom96Hrm.
13:23:54dom96Interesting question
13:24:24dom96In that case you would be making a ref to an object which inherits from a ref
13:24:26dom96I think
13:24:51dom96ref object of TSomeOtherObject makes more sense
13:35:11fowlhmm
13:35:17fowlim trying to refactor too many things at once
14:30:08*llm quit (Ping timeout: 256 seconds)
14:41:28shevyhehe
16:08:29*shevy quit (Ping timeout: 244 seconds)
16:15:14dom96What key combination should commenting code be?
16:18:00*math|Roin is now known as Roin
16:18:51fowlcontrol /
16:21:12dom96hrm, I quite like that.
16:21:42*shevy joined #nimrod
16:22:00dom96Interesting. Currently that key combination is equivalent to Ctrl + A in the GtkSourceView.
16:39:00dom96Well this feels like a slap in the face: http://developer.gnome.org/gtk3/3.4/GtkRecentManager.html
16:39:12dom96I implemented that myself for Aporia.
16:41:29Araqand you did it better as it's implemented in nimrod
16:42:30dom96heh
16:43:42Araqimo you should use as few of GTK as possible ;-)
17:13:46dom96Araq: What are your opinions on that comment shortcut?
17:14:29Araqit is fine
17:47:23fowlthere is no string format like printf is there
17:47:39fowlthat i can use %f
17:47:42fowletc
17:47:51Araqtrue
17:48:03Araqyou could wrap C's
17:48:16Araqbut it's unsafe :P
17:48:47Araqand nimrod's strutils.format is better designed
19:15:18*llm joined #nimrod
19:26:28*llm quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
20:15:34dom96I just realised that I haven't tested staticExec yet
20:15:42dom96And I really wanted that feature
20:18:06fowlwhat is staticExec
20:18:25dom96http://build.nimrod-code.org/docs/system.html#618
20:18:55fowlah i see
20:19:06fowlwhy is gorge an alias lol
20:19:19dom96Because it sounds cool :P
20:21:27Araqbecause language designers want to have some fun :P
20:21:44Araqpeople didn't like my 'gorge' and preferred 'staticExec'
20:22:01Araqso we have both now :D
20:22:38dom96You know comment toggle is actually quite tricky.
20:23:21dom96Gtk doesn't make it much simpler heh
20:24:35fowldom96: when i do stringstream.setPosition(0) it will go to -1 if the string is empty
20:25:01fowlmin(0, str.len-1)
20:25:20fowler min(pos, str.len-1)
20:26:53dom96I shall fix it
20:27:51Araqsystem.clamp ftw
20:28:40dom96:)
20:35:51Araqwhat about: x >< a..b
20:36:01Araqfor clamp(x, a, b) ?
20:37:34Araqlooks cooler
20:38:00dom96sure
20:38:07Araqx \/ a..b
20:38:30Araqlet x "fall into" a..b ?
20:39:07*Araq likes ascii art
20:42:15dom96fowl: There you go.
20:47:30fowlcoo
21:11:50Araqdamn I'm torn between "term rewriting macros" and "compiler as a service"
21:12:18dom96Flip a coin... oh wait, no. I want "compiler as a service"
21:12:31AraqI have only time for 1
21:14:15AraqI think I will do TRM as CAS has already been done before :P
21:14:27AraqTRM will make Nimrod truly unique
21:14:35Araqmuch better for marketing
21:14:53Araqwhereas CAS is only useful for Nimrod programmers :P
21:46:25*Trix[a]r_za is now known as Trixar_za
21:47:46*XAMPP quit (Ping timeout: 246 seconds)
21:48:32dom96Araq: Fine, go with TRM
21:48:38dom96And we will then impress Reddit :P
21:48:54*XAMPP_ joined #nimrod
21:49:26Araqugh, I won't show up on Reddit
21:49:33dom96Yes, you will.
21:49:38AraqI'll use another nick
21:49:46Araqso that I can troll
21:49:58Trixar_zaFunny enough, me too
21:50:02dom96lol
21:50:03Trixar_zaAnd astroturf
21:50:20dom96Fine then. I'll be the mature one.
21:50:27*dom96 shakes head in disappointment
21:50:36dom96:P
21:50:37Trixar_zaWe know you do it too
21:53:11dom96maybe
21:54:12dom96Araq: oh, did you receive your gittip money?
21:54:39Araqdunno
21:56:49Araq"Araq receives $3.00 per week."
21:57:05Araqwasn't that like $5 ?
21:57:08dom96no
21:57:47Araqdamn
21:57:51Araqwell it works
21:57:55AraqI'm now rich
21:58:01Araq"Your balance is $6.00."
21:58:59dom96lol
21:59:10dom96Now send $1 to me :P
22:00:09*XAMPP_ quit (Quit: Leaving)
22:26:52*XAMPP joined #nimrod
22:27:29Araqoh Trixar_za, did you notice? there is now a strutils.format() ...
22:27:46Trixar_za:|
22:27:53Araqhad to add it as the % [] doesn't work with varargs properly ...
22:28:08Araqbut % is not deprecated
22:30:37Trixar_zaOk, so best of both worlds
22:30:49Trixar_zarather than instant shift from one to the other
22:31:15Araqwell I didn't make it worse (I hope)
22:31:31Araqbut it's annoying that the varargs don't work properly with %
22:32:49Araqand I might even make string interpolation builtin
22:33:07Araqecho i"x is $x"
22:34:30dom96Should `%` use openarray anyway?
22:34:35dom96*Shouldn't
22:34:59Araqit does
22:35:08Araqthe problem is that [] constructs an array
22:35:19Araqso everything in it should be of the same type
22:35:48Trixar_zaI don't mind improvements personally. Just as long as (some) backward compatibility is around afterward.
22:35:56Araqx.format("$# $#", 13, 5.0) # works
22:35:57dom96You want varargs' ability to specify `$` for converting everything to a string?
22:36:00Trixar_zaformat isn't a bad idea in python 3k
22:36:12Trixar_zaThe problem I have with it is that they enforce it
22:36:27Araqer
22:36:32Araqformat("$# $#", 13, 5.0) # works
22:36:43Araq"$# $#" % [13, 5.0] # does not
22:36:52Araqand can't easily work ... :-/
22:37:57Trixar_zaHmmm, I'm weird. Women that are interested in me I have no interest in. But just have one that shows no interest in me at all and I'm curious to why :/
22:38:25Trixar_zaSorry, just thinking of this Annette "Ice" Carstens at the show I was at tonight
22:41:37Araqwell that surely was helpful feedback :P
22:45:49Trixar_zalol. I
22:46:01Trixar_zaI'm easy, just don't make something complicated and I'm happy
22:47:38Araqha, the language is already quite complex :P
22:47:44Araqmore than you think it is :P
22:47:58Araqbut it's well hidden
22:48:37Araqand you need to put the complexity into the language anyway to make the resulting *programs* easier ;-)
22:49:33Trixar_zaSeveral layers between something and the underlying gears that make it work
22:50:02Trixar_zaLike clock. It's simple to use and set, but the underlying systems are quite complex
22:50:07Trixar_zaa&
22:50:09Trixar_zaa*
22:50:16*Trixar_za may have had a few drinks to drink
23:08:43Araqgood night
23:09:54Trixar_zaNight Araq
23:23:07dom96I like that I can do: (addr foo).blah()
23:23:10dom96It looks so stylish