<<03-08-2012>>

00:31:36*q66 quit (Quit: Leaving..)
00:56:18*Trix[a]r_za is now known as Trixar_za
01:56:37ccssnethey Trixar_za
01:56:38ccssnet:)
01:57:24ccssnetworking on my BTC.sh project atm. coming along well
02:02:15Trixar_zaBTC.sh?
02:03:04ccssnethttp://atccss.net/projects/BTC.sh
02:03:24ccssneti am working on that project, i am on alpha 0.0.8 right now, lots of changes
02:04:48Trixar_zaSo it's a cross-compilation tool?
02:04:56ccssneteh yes and no
02:05:16ccssnetin that config its compiling for the same arch but in a cross form for cleanlyness
02:06:57ccssneti am currently consolidating and reanlyzing logic of functions/ variables and such. i try to keep on that
02:07:04ccssneti hate ugly code :-/
02:07:17*Trixar_za is listening to: Code Monkey by Jonathan Coulton
02:07:23Trixar_za^--- for you :P
02:07:30ccssnethmm
02:07:45ccssneti am also watching suits on TNT
02:07:50Trixar_zaHe wrote Still Alive for Portal
02:07:55ccssnethmm
02:08:09ccssnetfor a lawyer show, suits is fucking hilarious some times
02:09:16ccssnetanyway, i took a 7 month break on coding that BTC.sh file, taking a few looks at it each month, i got all the changes in mind and are doing them
02:09:25ccssnetrefactoring is a must
02:10:50Trixar_zarefactoring is time consuming and bug prone
02:11:27ccssnetwell yes but its a single file ^
02:11:31Trixar_zaFor example, today I rewrote how Alia does her automated optimization
02:11:32ccssneti dought ill cause bugs
02:11:38Trixar_zaOnly it breaks the kill
02:11:38Trixar_za:p
02:11:42ccssneteek
02:11:50Trixar_zaSo the application never closes
02:12:03ccssnetlol
02:12:05Trixar_zaDamn threaded timers
02:12:07ccssnetendless loop?
02:12:12ccssnetmultiple threads?
02:12:17Trixar_za3 of them yes
02:12:18ccssnetsingle deadlocked thread?
02:12:21ccssnethmm
02:12:22ccssnet3...
02:12:26Trixar_zaShould die eventually
02:12:48Trixar_zaOnly it takes 71 hours before the last one dies
02:13:15ccssnethmph
02:22:22Trixar_zaThat should fix it
02:22:24Trixar_zaI hope
02:22:24Trixar_za:p
02:22:28ccssnetlol
02:24:20Trixar_zaAnd no it doesn't
02:25:26*ccssnet adds 5 more files to alia code to make it confusingerer
02:29:54ccssnetconfusingerer_api.h
02:30:24ccssnetmeh, anyway how is it deadlocking?
02:31:37ccssnetthread checker or in the thread
02:31:40ccssnet?
02:41:36Trixar_zaWait
02:41:47Trixar_zaIt's creating them EVERYTIME it runs
02:42:01Trixar_zaSo I'm pretty much creating endless threads as I go
02:42:03Trixar_zalol
02:42:05Trixar_zaoops
02:50:36Trixar_zaer what
02:50:37Trixar_zaIt worked
02:50:39Trixar_zaHa
02:51:00Trixar_zaJust had to create a def that killed the timers
02:52:56fowlwhat are you working on Trixar_za
02:54:01Trixar_zahttp://github.com/Trixarian/Alia
02:54:05Trixar_zaIt's a python bot though
02:56:05ccssnetso it was a tracker deadlock?
02:56:52Trixar_zaWell, I tried to kill them manually from a different module
02:57:11Trixar_zaThen I figured, why don't I just write a process that does it for me within the main module?
02:57:16Trixar_zaAnd that fixed it
02:58:06ccssneteh not necisarily a fix :)
02:58:09ccssnetbut ok
03:01:42Trixar_zaYeah, it's probably still spawning threads like crazy, but don't tell anybody
03:11:12ccssnetlol
03:13:43Trixar_zaAh
03:13:44Trixar_zaI see
03:14:00Trixar_zaI can use the thread counter to work out how many active threads there are and limit them
04:40:34*Trixar_za is now known as Trix[a]r_za
09:23:42*Araq_ joined #nimrod
09:24:37*Araq_ quit (Client Quit)
10:12:22*q66 joined #nimrod
10:53:46*Reisen quit (Ping timeout: 244 seconds)
10:54:13*Reisen joined #nimrod
12:05:33*Trix[a]r_za is now known as Trixar_za
12:38:30ccssnetTrixar_za: yes thats what i was suggesting ^
12:42:19Trixar_zaWent with the simplest solution at the end
12:53:28shevyis often the best ^^^
13:47:28*Araq_ joined #nimrod
13:47:52*Araq_ quit (Client Quit)
14:03:53*Reisen quit (Ping timeout: 245 seconds)
15:10:44*Reisen joined #nimrod
15:17:39*shevy quit (Ping timeout: 252 seconds)
15:30:28*shevy joined #nimrod
15:38:34*Trixar_za is now known as Trix[a]r_za
16:42:50dom96hello!
16:47:23Araqhi dom96
16:48:19dom96hey Araq!
16:48:21dom96Just in time :D
16:48:32AraqI'm improving idetools
16:48:40Araqprogress is quite good IMHO :P
16:49:18dom96yay
16:49:20dom96Great
16:49:39dom96I will start work on Aporia soon.
16:49:42dom96Just need to eat.
16:49:43Araqone big problem is aporia's temp file handling
16:49:47dom96So, 0.9.0 this weekend?
16:49:51Araqmaybe
16:50:04Araqclosures still need some cleanups
16:50:10dom96Araq: Why is that a problem?
16:50:27Araqbecause it doesn't delete old .nim files in /tmp
16:50:39Araqand the compiler prefers files in /tmp ...
16:50:55Araqso it's not up to date
16:51:05Araqwhich causes quite some puzzling :P
16:51:23dom96wait
16:51:26dom96It saves to /tmp
16:51:30dom96not to /tmp/aporia or something?
16:51:49Araqyeah
16:52:31Araq /tmp/jester.nim is it
16:52:38dom96I suppose it should do that.
16:53:06dom96When you compile an unsaved file, it is saved into /tmp/aporia/a<tab index>.nim
16:53:32dom96I shall fix this so that it saves it to /tmp/aporia/suggest and so that it removes the files each time
16:53:39dom96Sound good?
16:58:58Araqbrb
17:00:37dom96fowl: Did you try my fixes?
17:06:14*XAMPP quit (Ping timeout: 260 seconds)
17:08:54Araqdom96: yeah sounds good
17:09:17Araqsee you later
17:30:42Araqdom96: what about running the compiler should some file be changed?
17:30:58Araqon the fly compilation with error reporting is really handy ...
17:34:27dom96Maybe in the next version...
17:36:02Araqalright, it's not that important
17:49:34*dom96 is telling some guy about Nimrod
17:49:54dom96Someone who created a forth implementation in Pascal for games.
17:50:00dom96Because why not :P
17:54:49dom96So apparently Left 4 Dead 2 runs faster on Linux
17:54:53dom96than on Windows
17:54:55dom96According to Valve.
17:55:07Araqso does the nimrod compiler :P
17:55:10*Zerathul joined #nimrod
18:23:38*Tasser quit (*.net *.split)
18:23:38*Zerathul quit (*.net *.split)
18:23:40*silven quit (*.net *.split)
18:23:41*Trix[a]r_za quit (*.net *.split)
18:23:41*fowl quit (*.net *.split)
18:23:42*Roin quit (*.net *.split)
18:23:43*Amrykid quit (*.net *.split)
18:23:44*jyyou quit (*.net *.split)
18:23:44*JStoker quit (*.net *.split)
18:23:45*Araq quit (*.net *.split)
18:23:45*mal`` quit (*.net *.split)
18:23:45*dom96 quit (*.net *.split)
18:23:47*q66 quit (*.net *.split)
18:23:48*shevy quit (*.net *.split)
18:23:48*comex quit (*.net *.split)
18:23:48*Reisen quit (*.net *.split)
18:23:51*CodeBlock quit (*.net *.split)
18:23:52*Nafai quit (*.net *.split)
18:23:52*ccssnet quit (*.net *.split)
18:27:09*Zerathul joined #nimrod
18:27:09*shevy joined #nimrod
18:27:09*Reisen joined #nimrod
18:27:09*q66 joined #nimrod
18:27:09*Amrykid joined #nimrod
18:27:09*silven joined #nimrod
18:27:09*Araq joined #nimrod
18:27:09*fowl joined #nimrod
18:27:09*ccssnet joined #nimrod
18:27:09*jyyou joined #nimrod
18:27:09*JStoker joined #nimrod
18:27:09*mal`` joined #nimrod
18:27:09*comex joined #nimrod
18:27:09*Trix[a]r_za joined #nimrod
18:27:09*Roin joined #nimrod
18:27:09*dom96 joined #nimrod
18:27:09*Tasser joined #nimrod
18:27:09*Nafai joined #nimrod
18:27:09*CodeBlock joined #nimrod
18:36:05*Tasser quit (*.net *.split)
18:36:07*Zerathul quit (*.net *.split)
18:36:08*silven quit (*.net *.split)
18:36:09*Trix[a]r_za quit (*.net *.split)
18:36:10*fowl quit (*.net *.split)
18:36:11*Roin quit (*.net *.split)
18:36:12*Amrykid quit (*.net *.split)
18:36:12*jyyou quit (*.net *.split)
18:36:12*JStoker quit (*.net *.split)
18:36:14*Araq quit (*.net *.split)
18:36:14*mal`` quit (*.net *.split)
18:36:14*dom96 quit (*.net *.split)
18:37:26*Zerathul joined #nimrod
18:37:26*Amrykid joined #nimrod
18:37:26*Tasser joined #nimrod
18:37:26*dom96 joined #nimrod
18:37:26*Roin joined #nimrod
18:37:26*mal`` joined #nimrod
18:37:27*JStoker joined #nimrod
18:37:27*jyyou joined #nimrod
18:37:27*Araq joined #nimrod
18:37:27*silven joined #nimrod
18:37:42dom96And we're back
18:38:47*Trix[a]r_za joined #nimrod
18:39:12dom96I might attempt to make asyncio more general
18:39:18dom96And add support for file reading/writing
18:39:35dom96Which will be useful for Aporia
18:39:37Araqwhat about changing it to use closures?
18:39:44dom96yeah, that would be nice too
18:39:53Araqand support for files will require some hacks for windows I think
18:40:19dom96:(
18:51:39*fowl joined #nimrod
19:03:07dom96Araq: The suggestions are definitely far better now :)
19:03:30Araqthanks
19:03:52Araqreport if you don't get any suggestions
19:04:03dom96Only problem we have left is: Making it faster and presenting the information in a more understandable way.
19:04:12Araqit should always fall back to some crappy suggestions :-)
19:04:13dom96*problems :P
19:04:29dom96That's good to know hah
19:04:45Araqproviding doc comments is not hard either
19:05:05dom96Please try to make the compiler a service.
19:05:39Araqthat's lots of work ...
19:06:02dom96i see.
19:06:33Araqafter 0.9.0 is out
19:06:37dom96alright
19:07:59dom96Results are kinda strange for typename.
19:11:15dom96Araq: Also I think it's suggesting private fields.
19:11:48dom96yep
19:12:08dom96Suggestions for `sock.`
19:12:15dom96give `fd` and `isBuffered` etc.
19:13:05Araqso?
19:13:12Araqoh ...
19:15:04dom96Make sure it shows those fields if you are in that module btw :P
19:15:12Araqyeah ...
19:37:03*XAMPP joined #nimrod
19:55:52dom96well gtk fails with nimrod's anonymous procs
19:56:38Araqwhat do you mean? what 'fails'?
19:56:44Araqidetools?
19:56:49dom96...no
19:57:04dom96discard sourceView.gsignalConnect("realize",
19:57:04dom96 GCallback(proc (w: PWidget, u: pointer) = echo("realize!")), nil)
19:57:10dom96That fails
19:57:34dom96hrm
19:57:51dom96nah, i'm being stupid nvm :P
20:00:02Araqgood
20:00:51dom96Not really... :P
20:02:06Araqnot good ...
20:05:14fowldom96: yes it works
20:05:21dom96fowl: great
20:05:41fowlis the \c\L needed for readLine?
20:06:14dom96Yes, readLine reads until a \c\L is found.
20:17:07fowli've found its better to wrap anonymous procs in () when passing them around, someFunc(someArg, (proc(..) = \n ... ))
20:17:46fowlits needed when you do obj.something = (proc() = ... ) too
20:17:56Araqtrue ...
20:18:06dom96Yeah, but GCallback(...) should take care of that in this case
20:19:53dom96Lets see what happens if I try to pass a closure :P
20:20:58dom96Yeah, that won't work heh
20:21:52fowlis there binary pack/unpack functions?
20:25:30Araqfowl: there is a zlib wrapper I think
20:27:01dom96Araq: Can I have a type which is a closure proc which can take 0 or more of any type of params and return anything or return nothing?
20:27:25*dom96 is trying to make a closure friendly signalConnect for gtk
20:27:37Araqnot yet
20:28:06Araqyou could workaround with a template/macro perhaps
20:28:08dom96mmm
20:28:15dom96Exactly what I was just thinking :P
20:29:32dom96Araq: How can I split a closure into a c function pointer and the environment or data or whaver.
20:29:33dom96*whatever
20:30:31Araqsystem.rawEnv and system.rawProc I think
20:30:52dom96thanks
20:34:44dom96ugh
20:34:49dom96I don't think this is possible
20:34:57dom96Each signal gives different params...
20:35:09dom96Would probably have to do some serious macro action...
20:48:31dom96Araq: Er, why doesn't doing addr(blah).someFunc work?
20:48:57Araq(addr blah).someFunc
20:49:20Araq'addr' is an operator ...
20:50:04dom96...right
21:05:20Araq"zipCSrc finished successfully.
21:05:22AraqnoJob started."
21:05:27Araqdom96: c sources are still orange?
21:06:16dom96It's still building?
21:06:33dom96yeah it is...
21:22:34*Zerathul quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
21:53:49Araqwtf, github wants me to fill in my email address ...
21:54:01Araqfor some reason
21:54:04fowlit made me verify mine
21:54:10fowlthey must have got hacked or something
21:54:19AraqI see
21:59:16Araqyay C sources are green again
22:03:53Araq"gitk" uses TCL/Tk ...
22:04:03Araqwhat's up with these guys?
22:04:24AraqC + Shell scripts + TCL/TK ?
22:04:33Araqstuck in the 70ies?
22:11:08shevyhehe
22:11:15shevyold hackers do not learn new things
22:11:20shevythat is why C + perl is a combination today
22:22:01*Boscop joined #nimrod
22:22:12Araqhi Boscop wb
22:22:23Boscophi, thanks
22:37:46Araqgood night guys
22:50:45fowlSIGSEGV: Illegal storage access. (Attempt to read from nil?) how can i find out where this is coming from
23:06:29shevyhmm
23:06:33shevydom96, what was my lesson today?