<<29-07-2012>>

00:50:36Araqgood night guys
00:50:44dom96see you later
00:55:04*Trix[a]r_za is now known as Trixar_za
00:55:46dom96Trixar_za: hey
00:55:51Trixar_zaHey dom96
00:55:59dom96Trixar_za: I installed SliTaz in a VM and attempted to compile aporia
00:56:08dom96But gcc kept giving me errors about missing header files.
00:56:31dom96For example "linux/limits.h", any ideas how to fix that?
00:56:51Trixar_zaslitaz-dev-pkgs
00:57:04Trixar_zaIt installed most of the dev packages, including the gtk ones
00:57:16Trixar_zainstalls*
00:58:00dom96ahh, yes, I probably need that :)
01:05:08dom96cool. Compiles now.
01:06:57Trixar_zaBetween that and the slitaz-toolchain, it makes developing on SliTaz a little easier :P
01:07:16dom96wow.
01:07:19dom96Aporia is very buggy
01:08:51Trixar_zalol
01:08:56dom96I can't even select tabs
01:08:58Trixar_zaYeah, use -d:release
01:09:15Trixar_zarun it in terminal to see the debug messages :P
01:09:21Trixar_zaWell, the key numbers
01:09:40dom96yes, I am.
01:09:57dom96gtksourceview seems to be buggy too...
01:12:04Trixar_zaWeird
01:13:00dom96indeed
01:13:12dom96I will figure it out tomorrow.
01:13:17dom96I should sleep.
01:14:40Trixar_zaMe too, only I can't :/
01:14:50dom96why not?
01:15:31Trixar_zaRestlessness. Also I just finished most of a book series this week. I'll probably finish the book tomorrow. So 4 books in a week.
01:15:43Trixar_zaWell, since Wednesday anyway
01:16:51dom96ahh, right.
01:16:57dom96ok, good night.
01:17:03Trixar_zaGoodnite dom96
01:39:05*q66 quit (Quit: Leaving..)
02:43:10*Trixar_za is now known as Trix[a]r_za
06:49:10shevywheeee
09:56:14*sbell joined #nimrod
09:59:40*q66 joined #nimrod
10:37:21*sbell quit (Quit: sbell)
10:51:54*sbell joined #nimrod
10:52:31*sbell quit (Client Quit)
11:21:17dom96hello
11:21:29dom96I slept way too long.
11:22:42dom96Araq: You there?
11:25:23Araqyes, now.
11:25:50dom96I set an alarm for 11am and I don't even remember resetting it...
11:26:31Araqwell ... hardly suprising :P
11:28:10dom96Yeah, I stayed awake too long...
11:28:20dom96But I stayed up long enough for Trix[a]r_za to help me.
11:28:30dom96So now we have this very odd Aporia behaviour.
11:28:38dom96And something tells me it's a compiler bug.
11:32:20dom96Araq: Should I run the test suite?
11:32:31Araqdunno
11:32:37Araqwhat makes you think it's a compiler bug?
11:33:34dom96Well it only fails in debug mode.
11:35:20Araqlol
11:35:41AraqI'd guess you got some C proc definition wrong
11:35:48Araqand that only triggers in debug mode
11:36:02Araqhardly a compiler bug then :P
11:37:03dom96perhaps
11:40:35Araqwhat you should do instead
11:40:59Araqmake use of '-d:Whatever' to en/disable features in Aporia
11:41:11Araqto ease debugging
11:41:27Araqand apart from that it'll be nice for the people who use Aporia as a general text editor
11:41:36Araqand don't need e.g. 'suggest' support
11:43:00dom96Well you can disable suggest in the settings anyway
11:46:13AraqI know
11:46:15Araqbrb
12:04:09dom96ugh, could you improve repr so that it doesn't crash when one of the fields are nil or whatever?
12:05:51Araqit should work with 'nil' ...
12:06:02dom96Well should it ever crash?
12:06:17dom96because it crashes very often when I try to repr a complex object
12:07:35Araqhrm
12:07:54Araqcan you produce a simple test that triggers it?
12:08:09dom96And furthermore I have no clue how to fix aporia
12:09:36Araqtried to run it in the GNU debugger?
12:10:02dom96no. I guess i'll try that
12:10:07AraqI will gladly help you
12:10:23Araqbut I don't feel like installing yet another linux
12:11:41dom96I'm not sure I can come up with a simple test case for that repr thing
12:11:57dom96Could you try to pop a .repr on anything in aporia?
12:12:02dom96Because that's where it usually happens
12:12:09dom96So I'm guessing GTK objects make it crash
12:12:22Araqtell my with object please
12:13:10Araq*which
12:13:23dom96for example in find_Activate, do repr(win)
12:16:18Araqok
12:23:13dom96"Backtrace stopped: Previous frame inner to this frame (corrupt stack?)"
12:23:33Araqyummy
12:23:42dom96is that relevant?
12:23:42AraqI never saw a message like that in GDB :-)
12:23:50Araqsure
12:23:58dom96I set a breakpoint and ran `bt`
12:24:22dom96Gave me a small backtrace and then outputted that
12:24:28Araqcool
12:24:43AraqI think the problem is threading
12:25:08Araqtry to compile aporia with --stackTrace:off --lineTrace:off
12:25:08dom96perhaps
12:25:29Araqbut keep in debug mode otherwise
12:25:30dom96gdb gives warnings about threads too btw
12:25:44Araqinteresting
12:25:47Araqwhich warnings?
12:26:15dom96warning: unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
12:27:55Araqoh come on
12:28:09Araqyou debug a multithreaded app with a GDB that doesn't support threads
12:28:24dom96hehe.
12:28:44dom96well with stackTrace:off and lineTrace:off it works
12:29:04AraqI guess the toolchain has problems with thread local storage
12:29:08Araqtry the emulation
12:30:13dom96emulation doesn't help
12:32:31Araqthat's strange
12:33:10Araqbut it still kind of works with TLS emulation, right?
12:33:21Araqor does it crash immediately?
12:34:11dom96it kinda works
12:34:26dom96works just as it did without tls emulation
12:34:46Araqdo you use the 'threadvar' pragma?
12:35:57dom96probably not
12:36:20dom96All the thread accesses is these channels.
12:36:25dom96Should they have that pragma?
12:37:29Araqhell no
12:37:46Araqhow would you use them for communication then? :P
12:38:18dom96I guess I have no clue what a thread var is.
12:38:47dom96it's a thread local variable, right?
12:38:53Araqyes
12:39:03dom96So if I mark a variable it, only a thread can access it?
12:39:03Araqevery thread has its own copy of it
12:39:10dom96oh
12:39:12dom96I see.
12:39:29Araqso every thread can access it but it's not shared
12:39:58dom96So then if one makes a change to that variable, the change will not happen on all the copies?
12:40:17Araqexactly
12:40:52dom96Well there is only one thread in aporia.
12:41:07dom96All it does is read and send to two channels.
12:48:05Araqhardly
12:48:10Araq"Add a function which will be called when the UI is idle."
12:48:22Araqis this function called in the main thread?
12:49:23dom96of course
12:49:37dom96createThread[void](win.tempStuff.execThread, execThreadProc)
12:49:43dom96That's the only thread
12:50:45dom96" ## This function executes a process in a new thread, using only idle time
12:50:45dom96 ## to add the output of the process to the `outputTextview`."
12:55:01Araqwell your control flow is hard to grasp :P
12:55:44dom96so is yours!
12:55:49dom96:P
12:56:18dom96And there is no simple way to do threading with gtk.
12:56:23dom96safely :P
12:58:12Araqugh I will work on something else :P
12:58:24Araqjust disable stack tracking for slitaz
12:59:00dom96hehe
12:59:04dom96Well It's fine.
12:59:13dom96As long as it works in release mode I suppose.
12:59:29dom96But people that use SliTaz won't be able to debug it...
12:59:38dom96if they want to hack on the code or something
13:01:45dom96But anyway.
13:01:49dom96Araq: How's suggest going?
13:05:02Araqslowly, requires quite some changes
13:08:19shevysuggest?
13:08:46shevydom96 btw do you have nimrod code you wrote, which is quite easy to understand for a nimrod newbie?
13:09:26dom96shevy: Autocomplete, kind of like Visual Studio's intellisense
13:09:40shevyI see
13:09:43dom96shevy: This might be the easiest: https://github.com/dom96/c4hbot/blob/master/cahbot.nim
13:09:56dom96The code is quite messy though, just FYI.
13:10:07dom96I wrote it for a competition :P
13:11:17Araqlol that's hardly easy code
13:11:24Araqwell it surely is long
13:11:42*Araq wonders how many lines of code written in nimrod exist
13:11:55dom96Perhaps this then? https://github.com/dom96/nim-urbanterror/blob/master/urbanterror.nim
13:12:04dom96It's old, and i'm not sure it still works though.
13:13:00shevyhmm the type things
13:13:04shevywhat is that? data definitions?
13:13:12shevyTBot = object
13:13:16Araqexactly
13:14:55Araqdom96: is the /tmp stuff now disable via compiletime switch?
13:15:34dom96...no, why?
13:15:39shevyTPlayerId = tuple[nick, user, hostname: string]
13:15:48shevyand the tuple[] thing, is that an array? or a hash?
13:16:00Araqbecause it would debugging 'suggest' easier for me :P
13:16:20Araqshevy: more like a hash I guess
13:16:26dom96Araq: oh yeah, we were going to talk about this again.
13:16:46dom96Araq: did you get that repr to crash?
13:16:57Araqdidn't try, sorry
13:17:02Araqsuggest is more important
13:17:15dom96shevy: I would call it a compile-time hash.
13:17:21dom96Araq: ...ok
13:19:11dom96I will implement it now.
13:19:59shevyhehe
13:20:04shevywhat happens with it after compile time? :)
13:20:57dom96shevy: It's pretty much an object.
13:21:12dom96with some differences.
13:21:25dom96Like you can do theTuple[0] to get the first field.
13:21:33dom96Araq: Where do you want it saved then?
13:21:46Araqjust don't save it at all
13:21:51Araqoh wait ...
13:21:56Araqthat can't work ... lol
13:22:10Araqhm
13:22:13dom96haha, smart you are :P
13:22:42dom96Araq: Maybe you should just edit suggest.nim yourself?
13:22:46dom96It shouldn't be that hard.
13:22:51dom96Look at populateSuggest.
13:23:06Araqyes but it's distracting to work both on aporia and nimrod at the same time
13:23:35Araqthe productivity loss is huge then for me
13:23:48Araqmeh, tmp is fine
13:23:52AraqI will fix the compiler instead
13:24:11dom96It's a matter of replacing 'getTempDir' with whatever...
13:24:17Araq144 usages of GlobalError ...
13:24:32Araqevery single usage is bad for 'suggest' ...
13:27:24dom96So you have to get rid of them? :P
13:27:39Araqmore or less yes
13:28:03Araqbut I will do it incrementally
13:28:12Araqmost common problems first
13:28:42Araqthe compiler should have been designed with IDE support in mind ...
13:28:49Araqbut it's not too bad to fix it
13:28:54shevyhehe
13:29:49dom96Araq: Do we want VS style solution files in the long run?
13:30:11Araqno I still think there is a better way
13:30:39dom96alright
13:30:55Araqaporia somehow needs to know which project file a single module belongs too ...
13:31:20Araqunfortunately I forgot my idea how to do that :-/
13:31:45AraqI think it should look into the current dir of the file for all *.nimrod.cfg files
13:32:14Araqand pick the corresponding .nim file :-)
13:32:26Araqif it's ambiguous too bad
13:32:45Araqpick some then depending on the phase of the moon
13:32:57Araqpeople always like that :D
13:35:13Araqdom96: opinions?
13:38:17dom96sorry
13:38:20dom96was away
13:38:43dom96haha
13:38:53dom96I have a better idea.
13:38:57dom96Look for the .babel file :P
13:39:08dom96if the config files are ambiguous
13:39:17dom96It's still not perfect though...
13:39:27dom96There should be a way to specify this...
13:39:35dom96I think we will have to end up with a solution file.
13:40:55Araqbut but but
13:41:11Araqmany projects arlready use .nimrod.cfg
13:41:17Araq*already
13:41:27AraqI don't feel like adding .babel files everywhere
13:41:37Araqor "solution" files for that matter
13:42:41Araqbut we could make it this way:
13:43:00Araq1. look for "aporia.cfg", if found use that
13:43:12Araq2. look for ".babel" if found use that
13:43:24Araq3. look for ".nimrod.cfg", if found use that
13:43:52Araqthough perhaps we could get rid of 1 of them
13:43:56Araqspeaking of which
13:44:07Araqwhy not merge .babel with .nimrod.cfg?
13:46:22dom96I suppose I will in the long-run.
13:52:24Nafaiso what are babel and aporia?
13:53:02dom96aporia is a nimrod IDE written in Nimrod
13:53:14dom96and babel is a package manager for nimrod also written in Nimrod (not yet finished)
13:53:41Nafainice
15:10:31*shevy quit (Ping timeout: 246 seconds)
15:22:24*shevy joined #nimrod
15:27:44dom96Araq: Why did you tell me to {.push: cdecl.} in Aporia again?
15:43:18dom96Araq: The compiler still complains when I try to use large port numbers...
16:08:00dom96huh, you got rid of those checks.,
16:08:15dom96odd
16:11:16Araqwell? yeah
16:11:25AraqI made the compiler shut up for you
16:13:03shevyhehe
16:13:58dom96Araq: Well it still complains...
16:22:02*Trix[a]r_za is now known as Trixar_za
16:35:45Araqfix your code then
16:37:32Trixar_za>.>
16:37:38Trixar_zaWhat did I walk into?
16:38:52Araqhu?
16:38:58Araqwhat's wrong?
16:39:22dom96Araq: how?
16:39:24Trixar_zaSorry, just saw the 'fix your code then' bit
16:39:24Trixar_za:P
16:39:53Araqdom96: convert to TPort with toU16()?
16:40:04Araqer, is TPort now unsigned?
16:40:27Araqno it's still signed ok
16:40:35dom96TPort* = distinct int16
16:40:48Araqyeah I know
16:40:48dom96Should it be unsigned?
16:40:59Araqthat could help
16:41:08Araqbut it will also break code
16:41:12Araqagain
16:41:26Araqso please don't
16:44:24dom96toU16 works
16:44:46Araqhe he he, good
16:45:07dom96Doesn't seem ideal though D:
16:45:16dom96oh well
16:46:40dom96Well I implemented the "single instance" feature.
16:46:46dom96Using sockets.
16:46:52Trixar_zaWell, you can always blame Bertrum. It's always his fault even when he's not involved.
16:46:57dom96Opening files from the file manager is super fast.
16:47:04dom96I don't get how other applications manage to be slow...
17:10:48dom96bbl
17:11:27*Trixar_za is now known as Trix[a]r_za
17:21:46shevy\o/
17:21:50shevyaporia for the win!
17:21:56shevySlogans:
17:22:08shevy"Aporia, teaching how to write proper Nimrod code since 1995."
17:22:59Araq*cough* aporia's code ain't that pretty ...
17:23:17Araqbut it works
17:23:27Araqsomehow working code is rarely beautiful
17:23:46Araqand beautiful code often does not work ...
17:25:14Araqbut there is also lots of ugly broken code out there :P
17:34:08Araq"Aporia can now only be ran as a single instance." yay!
17:34:20AraqI wasn't aware this feature wasn't even on your todo list
17:34:28Araqbut it surely is welcome
17:53:08shevyyeah it depends
17:53:18shevyI am rewriting old ruby code right now
17:53:37shevyI'd say the current state of my rewrite is more beautiful and especially more logical than the old version
17:53:51shevybut I have like only 40% of the features right now, and it is slow and tedious and boring :(
17:54:04shevydon't have any nimrod code I could rewrite yet :P
17:54:49Araqyou're doing it wrong :P
17:54:56Araqyou should rewrite it
17:55:00Araq*shouldn't
17:55:08Araqyou should refactor it :P
17:57:32Araqshevy: how many lines of code?
17:59:58shevyhmm
18:00:19shevyin total I think about 12.000 lines of code (if you count comments and empty lines too)
18:00:46Araqwell you shouldn't rewrite it
18:01:48AraqI'm a big believer of this: http://www.joelonsoftware.com/articles/fog0000000069.html
18:02:39dom96"I wasn't aware this feature wasn't even on your todo list" That sounds like some kind of a double negative, and I'm confused :P
18:02:55dom96Also, back.
18:02:56Araqugh
18:03:04Araqmy english gets worse and worse :P
18:03:15dom96Nah.
18:03:18Araqit's called "careless writing"
18:03:24AraqI also program that way :P
18:03:32dom96hah
18:03:53Araqbut then adrianv comes along and reports bugs :DD
18:11:16dom96So...
18:11:25dom96Araq: How long before you fix suggest?
18:12:10Araqalready testing it
18:12:59Araqwhat's missing for an aporia release?
18:13:54dom96https://github.com/nimrod-code/Aporia/blob/master/todo.markdown
18:14:28Araqadd please "find word"
18:14:41Araqa "find" that respects word boundaries
18:14:56dom96"find word"?
18:15:02dom96what would that do?
18:15:21Araqa "find" that respects word boundaries
18:15:36Araqif I search for "abc"
18:15:50Araqand in the text it says "abcdef" than it should not be found
18:16:07Araqif it says "abc(x, y)"
18:16:12Araqthan that should be found
18:16:35Araq"Use threads when executing the compiler." hu?
18:16:45Araqyou do that already, right?
18:19:10dom96This is like the 3rd time you've asked me this lol
18:19:18dom96I'm referring to suggest.
18:19:28Araqwell?
18:19:29dom96I don't use threads for that yet.
18:20:27Araqalright
18:20:38Araqsuggest works better but still not good enough
18:21:51Araq[Suggest] Unknown module name for idgen
18:21:53Araq[Suggest] Unknown module name for options
18:21:58Araqwhat does that mean?
18:24:51dom96Suggest didn't prefix the symbol with a module name
18:25:16Araqthat means it is a module name ...
18:25:30dom96well then the warning can be ignored.
18:25:34dom96bbl, dinner.
18:50:53dom96back
18:51:30Araqsuggest may work well after I'm done with this ...
18:51:50dom96good :)
18:52:11Araqit's actually not that hard
18:52:22AraqI wonder why I didn't do it properly in the first place
18:53:48shevybecause you had no time to fix it properly back then
18:53:49shevy:>
18:54:12Araqunlikely
18:54:30Araqmore likely: I didn't have the "fake objects" idea back then :P
18:54:55Araqto prevent cascading "nil access" bugs
18:55:56dom96hrm, did you only start using the word "cascading" now, or did I never notice it before?
18:56:15*dom96 was only introduced to the word at work last week heh
18:56:23dom96I'm guessing that's why I notice it now.
18:56:24AraqCSS?
18:56:24shevycascading waterfalls
18:58:48dom96Araq: NHibernate
18:59:10Araqnever used that
18:59:30AraqORMs sucks for big datasets
18:59:48Araqand if you have no big datasets, why do you use a DB in the first place? :P
19:00:09Araq(just kidding)
19:00:17dom96Tell me about it. Someone got the cascading wrong and now I'm getting really strange errors.
19:00:34Araqer, what?
19:01:26dom96http://ayende.com/blog/1890/nhibernate-cascades-the-different-between-all-all-delete-orphans-and-save-update
19:01:57Araqthe DB should do the cascading deletes ...
19:02:35Araqif your ORM does it, you're doing it *wrong* :P
19:02:55dom96I don't think it does.
19:03:02dom96It just tells the DB how to do it.
19:04:48dom96I don't really know how it works to be honest.
19:04:53Araq*you* should tell the DB how to do it :P
19:05:21dom96All I know is that debugging it is a nightmare.
19:05:26dom96In fact i'm quite it's impossible.
19:05:29dom96All you can do is guess.
19:05:49dom96*quite sure
19:05:59Araqthat's why you shouldn't use an ORM
19:06:06Araqin theory they are cool
19:06:17AraqI never found one that works in practice though
19:07:08dom96I suppose that depends on your definition of 'works' :P
19:09:54Araqyeah
19:12:20dom96So Heroku now supports basically any language, I wonder if it's worth trying to get Nimrod working on it.
19:14:12AraqHeroku?
19:14:42Araqcloud application platform?
19:15:36dom96yeah
21:02:44Araqsuggest now works much better
21:02:52Araqshould I push? :D
21:04:31Araqstupid question
21:04:38dom96lol
21:05:14Araqthough perhaps I should test it more ...
21:05:20Araqoh well it's already better
21:05:35AraqI'll let you find the issues :P
21:06:24dom96oh how kind of you
21:11:57Araqbtw --def should list all possible definitions
21:12:05Araqso it is 'goto definition'
21:12:33Araqexcept that it can be ambiguous for overloaded procs etc.
21:13:53dom96hrm
21:18:34dom96So yeah, you can safely now select Aporia as the default application for .nim files :D
21:21:18dom96Well I just ran: nimrod idetools --track:aporia.nim,283,13 --def aporia.nim
21:21:24dom96And it spit out a gazillion errors.
21:21:53dom96Araq: ^
21:22:23Araqwell ...
21:26:28dom96... well? bug?
21:29:02Araqaporia is supposed to ignore these errors :P
21:29:21fowli want a bool32 type
21:29:57dom96Araq: Well... how am I suppose to figure this out when the compiler spams errors?
21:30:19dom96fowl: what? :O
21:32:08Araqfowl: I know it's necessary for C interop
21:32:15Araqfor now you can do:
21:32:22Araqtype Bool32 = distinct int32
21:32:46Araqconverter toBool(b: bool32): bool {.inline.} = return int32(b) != 0
21:33:23Araqbut watch out, 'converter' are not as heavily tested as other features
21:34:08fowloh interesting
21:34:21fowli didnt know about converter
21:34:55dom96Araq: I don't even see where it outputs the location of that proc.
21:35:10fowlthis is what I want: type Bool32 = cint > bool which means treat as bool, store as cint
21:35:16fowl:>
21:35:21Araqfowl: I know
21:35:59AraqI happen to have created lots of C wrappers ;-)
21:36:24Araqdom96: I'll have a look
21:37:24dom96thanks
21:40:16fowlhow about type Bool32 {.size: sizeof(cint).} = enum false32 = 0, true32 = 1
21:40:38Araqbut then you need to write:
21:40:41fowli dont have nimrod on windows so i cant test it
21:40:53Araqif abool32 == true32
21:41:01Araqwhich sucks IMO ;-)
21:41:25fowltrue
21:43:06fowlcould you set false32 = false and true32= true?
21:43:27Araqyeah but only due to a bug in the compiler I think :-)
21:43:34Araqit'll still treat it as 0 and 1
21:43:55Araqso the type problem remains the same
21:44:22fowleven with the {.size} pragma?
21:44:55Araqthe 'if abool32 == true32' has nothing to do with size ...
21:45:17Araqthe compiler treats enums and bool differently
21:45:28Araqyou need:
21:45:40Araqtype Bool32 {.size: sizeof(cint.} = bool
21:45:52Araqbut I'm not sure the compiler supports that
21:45:59Araqyou could test it though
21:46:09Araqmay work by chance :-)
21:50:57Araqaporia.nim(577, 5) Error: undeclared field: 'setTabReorderable'
21:51:12Araqcan't compile aporia :P
21:52:21dom96oh yeah
21:52:28dom96I added something to gtk2.
21:52:31dom96let me commit that
21:52:55Araqyay, still 100% green
21:53:02*Trix[a]r_za is now known as Trixar_za
21:53:15Araqthough the change was huge
21:54:02Trixar_zaOo
21:54:18dom96oO
21:54:24Araqo.O
21:56:35dom96Trixar_za: We attempted to fix Aporia in debug mode in SliTaz.
21:56:43dom96And we failed heh :P
21:56:46Trixar_zalol
21:56:49Trixar_zaHappens
21:56:57Trixar_zaDoes release mode work?
21:57:03dom96I think so yes.
21:57:06Araq'suggest' still sucks :-/
21:57:07Araqompiler/lexer.nim(507, 7) Error: internal error: SameValue
21:57:16Araqstupid internal errors
21:57:27dom96:(
21:57:52dom96Trixar_za: Check out the latest from git. I added some nice features, for example it runs as a single instance now :)
21:58:34Trixar_zaAnd makes new tabs for everything you open?
21:58:42dom96yep :D
21:58:45Trixar_zaI probably have to update Nimrod too :P
21:58:51dom96yes :P
21:59:41Trixar_zaHmmm, I just got offered a $9 per hour job on Odesk
22:00:27dom96i'd take it.
22:00:51Araqhm 350 occurances of "internalError"
22:01:05Araqthat's not good
22:01:12dom96haha
22:01:22Trixar_za75 ZAR per hour. Not bad.
22:02:03Araqoh wait I don't have to fix them if they're in the backend :-)
22:02:51Trixar_zaShit. That's like 600 bucks in my currency per day
22:03:05Trixar_zaer, right, downloading nimrod and aporia
22:03:05Trixar_za:P
22:03:11Araqso it's only 178 occurances
22:06:28*Araq uses a quick hack instead
22:07:18Trixar_za... it's bad that I know these links by memory
22:07:54Trixar_zahttps://github.com/Araq/Nimrod and https://github.com/nimrod-code/Aporia
22:08:40dom96no no. It's good :)
22:08:46Araqby the time we wanted to move the compiler itself to 'nimrod-code' there were already packages pointing to Araq/Nimrod ... :P
22:09:03Araqplus I earn the fame :P
22:09:51Trixar_zaFame? They'll make movies about you. The person that made SkyNet possible :P
22:09:55*Trixar_za runs
22:10:07fowli think i might bite the bullet and just install linux mint
22:10:28Araqfowl: ensure you get the xfce version then
22:10:35Araqthe new gnome is unbearable
22:10:55Araqthey think they're apple or something
22:11:11fowlah i thoguht that mint was sticking with gnome2
22:11:24dom96Araq: Isn't that Ubuntu? i.e. unity?
22:11:24Araqhint: if I want macosx, I know where to find it ... seriously ...
22:11:48Araqhm maybe it was unity
22:11:55AraqI think it was gnome 3 though
22:12:08Araqthey're both horrible
22:12:17fowli think unity is a small addon to gnome-shell(3)
22:12:29dom96IIRC linux mint forked gnome2 and started working on Cinnamon.
22:12:32fowlwhen i tried it i was so confused
22:13:02dom96Actually i'm wrong, it's a fork of gnome3.
22:13:20dom96Looks pretty nice though.
22:13:31fowlthere's a fork of gnome2 called mate
22:16:05dom96hrm, I think I will install Cinnamon to try it out
22:18:12Trixar_zaRight, now just to leave it for a bit
22:20:58dom96Cinnamon actually looks quite sexy :P
22:22:24fowlyea im going to try it too
22:22:43shevyAraq many years ago, a friend once saw gnome2 screenshots and said, hey looks like apple
22:23:02shevygnome always has been without a vision on their own. no wonder they are falling apart now, egoism governs their developers
22:24:32Araqthe real problem is: I don't like apple :-)
22:24:36Nafaianyone who thinks Gnome is like OS X isn't very observant
22:24:52Nafaieven in its crappy state, it's infinitely more useable than OS X
22:25:08Araqthat's true
22:25:52shevythe default gnome2 screenshots are much closer to os x than i.e. KDE 3 or KDE 4 ever was
22:26:11Nafaitrue
22:26:29Nafaibut there really are only so many patterns of interaction
22:26:54Nafaithen again, I've pretty much written my own desktop environment with xmonad and dzen and other tools
22:27:24Trixar_zashevy: Also don't forget that one of GNOME's developers wrote MONO
22:27:40Trixar_zaWhich is, surprise surprise, .NET C# for Linux
22:27:47fowlwhat's wrong with mono? when i had to run some c# stuff it was really handy
22:30:22Trixar_zaIt proves shevy's point
22:33:59Trixar_zalib/system.nim(1211, 17) Hint: conversion from TParserKind to itself is pointless [ConvFromXtoItselfNotNeeded]
22:34:01Trixar_zalol
22:34:05Trixar_zaLove the new error
22:34:44Araqhm it's hardly new
22:34:58Trixar_zaWell, it's popping up alot
22:35:11Araqwhat do you compile?
22:35:22Trixar_zaBootstrapping
22:35:33Trixar_zaAt the koch boot -d:release stage
22:35:37Araqshould be gone after bootstrapping
22:35:52Trixar_zak
22:39:03Araqdom96: the new aporia often takes a while until it does syntax highlighting
22:39:35dom96hrm.
22:39:52dom96I know why.
22:41:59dom96Actually. I don't get it.
22:42:38dom96My guess it's because the socket is polled.
22:43:00dom96I suppose the GtkSourceView uses idle time to highlight the code.
22:43:06Araqyeah
22:43:18AraqI can confirm this
22:43:24Araqit used to do that already
22:43:37dom96huh?
22:43:39Araqbut now it's worse
22:43:51Trixar_zaparseopt always takes forever to do
22:44:10dom96It only happens for me if I scroll really fast.
22:44:20Araqopen a new file
22:44:31Araqand watch how long it takes until it's colored
22:45:36AraqTrixar_za: parseopt is not the problem
22:45:45Araqafter parseopt the C compiler is invoked
22:45:54Araqthat's what takes forever ;-)
22:46:13Trixar_zalol
22:46:29AraqI guess the compiler should output a message ...
22:47:03dom96Araq: For me it's instantaneous.
22:47:41Trixar_za<--- slow computer
22:47:59Trixar_zaShould be done in a minute though
22:48:08Trixar_zaNormally takes about 10 minutes
22:48:41dom96Trixar_za: You know nimbuild builds the compiler every commit.
22:48:57dom96You could just grab the binaries from there ;)
22:49:02Trixar_zalol
22:49:28Araqdom96: csource generation failed
22:49:31Araqplease
22:49:43Araqthis needs to be on top of the page!
22:49:57AraqI have no idea when I broke that now
22:49:58dom96it is!
22:50:04dom96The C Sources button is orange!
22:50:26dom96But don't worry I will redesign the page!
22:50:30dom96when I get time
22:50:57AraqI see
22:51:00Araqlol
22:51:12Araqcan't remember it ever being green ...
22:51:20Trixar_zaDamn that Bertrum
22:51:24dom96You don't pay attention :P
22:51:34AraqI'm a man :P
22:51:35Trixar_zaSorry, instant response when something breaks
22:51:45dom96haha
22:53:25dom96Araq: I will play around with gIdleAdd and gTimeoutAdd and the priorities to make it work faster.
22:53:52dom96Seems I will have to compromise, and make opening files slower. i.e. make it poll the socket less often :P
22:54:03dom96I guess that's why other applications are so slow at this.
22:54:25Araqpolling also burns CPU time
22:54:57Araqand my battery life is already incredibly bad
22:55:21Araqwhen I run Linux on my notebook it lasts 1.5 hours
22:55:36Araqwhen I run windows it lasts 2.5 hours ... -.-
22:55:39Trixar_zaHaven't you learn to use cpu stepping
22:55:43*Trixar_za shakes head
22:55:53Araqhu?
22:56:28Araqwhy should I have to tweak the settings?
22:56:44Araqoh alright, it's Linux after all
22:57:05Trixar_zaWhy should have have to install Codecs to play movies?
22:57:17Trixar_zaTo use a Windows reference :P
22:57:43Trixar_zaAs a tip, don't use SliTaz on some laptops
22:57:55Trixar_zaIt runs the CPU at a full power all the time
22:57:56Trixar_zalol
22:58:04dom96:D
22:58:05Trixar_zaSee your Battery go quickly
22:58:13dom96Editing files in Aporia is so awesome now :D
22:58:23dom96Just double click, and straight into the editor.
22:58:32Araqlet me try that
22:58:38dom96I think I will make the polling interval configurable.
22:59:06Araqthat's no excuse for a poor default value
22:59:16Araqyou know
22:59:16dom96yeah yeah
22:59:18dom96I know
22:59:24Araqthere are people out there
22:59:27Trixar_zaRight now to make the new Aporia
22:59:27Trixar_za:p
22:59:46Araqthat do not like to tweak aporia's polling interval to something sane :P
23:00:01Araqpeople unlike you and me
23:00:08Araqpeople that have a life :P
23:00:31Trixar_zaDoesn't sound like anybody we know though
23:00:38dom96lol
23:01:09dom96I certainly do not know anyone that doesn't carefully inspect the preferences window of every single application they use.
23:01:14dom96As well as their configuration files.
23:01:36Trixar_zaBut first, how do I make this polling sane?
23:01:37Araqever carefully inspected firefox's options? :P
23:01:37Trixar_za:p
23:01:49Araqabout:config
23:01:55Araqhave fun
23:02:22Trixar_zaHell no, my firefox options are perfect
23:02:34Trixar_zaI optimized the shit out of it
23:02:35Trixar_za:p
23:02:53Trixar_za... ok, not making me sound like less of a geek
23:04:05Trixar_zalol
23:04:09Trixar_zaAporia doesn't compile
23:04:10Trixar_za:P
23:04:12dom96Well Aporia doesn't seem to be using that much CPU.
23:04:23dom96Trixar_za: What's the error? :O
23:04:41Trixar_zahome/brenton/Aporia/aporia.nim(968, 5) Error: ambiguous identifier: 'DELETE' -- use a qualifier
23:05:55dom96how does it compile for me then? 0_o
23:06:22Araq*cough* I'm afraid I know why ...
23:06:33AraqTrixar_za: 32 or 64bit?
23:06:39Araqdom96: same question
23:06:43dom9664
23:07:10Trixar_zahttp://snipurl.com/24hguoy
23:07:13Trixar_zaThe whole error
23:07:15Trixar_zaand 32bit
23:07:53Araqyummy compiler bug
23:15:38Araqwell, dom96 fix aporia :P
23:15:48dom96I am
23:15:49Araquse a qualifier for DELETE
23:15:55dom96oh right
23:16:09dom96well hey, why does it work on 64bit?
23:16:11Araqand I will fix the discrepancy in the compiler
23:16:20Araqyou don't want to know
23:17:23*Trixar_za smells "It ignores it on 64bit, but not on 32bit"
23:17:43Araqit picks one symbol at random
23:17:55Araqhappens to work on 64 bit
23:18:00Araqfails on 32 bit
23:19:08Trixar_zalol
23:19:44Trixar_za...
23:19:45Trixar_zaWeird
23:19:49Trixar_zaThis just came on:
23:19:51*Trixar_za is listening to: Everything You Know Is Wrong by Weird Al Yankovich
23:25:16dom96There.
23:25:54dom96Araq: That should get rid of that ambiguity and the slow highlighting bug.
23:26:10Araqthere
23:26:18Araqit barely works
23:26:23dom96However, opening files in the file manager has a bit of a delay now.
23:26:26Araqbut I have to sleep now
23:27:02dom96Yeah, i'll be going to sleep soon too.
23:27:09dom96Trixar_za: Got it working now?
23:27:34Araqgood night
23:27:44dom96see ya
23:29:02Trixar_zaI'll check now
23:36:03*dom96 needs to sleep soon too
23:36:07dom96So please hurry :P
23:38:27Trixar_zalol
23:40:45Trixar_zaYeah, I'm going to wait until tomorrow to redo this
23:40:48Trixar_zaNight dom96
23:40:48Trixar_za:p
23:44:16dom96Alright.
23:44:18dom96Good night
23:53:58*Trixar_za is now known as Trix[a]r_za