<<18-07-2012>>

00:21:18tcshdom96, you here?
00:36:46tcshGuess not.
01:40:43*SchalaZeal joined #nimrod
01:41:03*CodeBlock quit (*.net *.split)
01:45:55*CodeBlock joined #nimrod
01:54:48*SchalaZeal quit ()
02:04:07*tcsh quit (Remote host closed the connection)
03:27:24*tcsh joined #nimrod
03:27:31tcshMan
03:27:35tcshdom96 is still out
03:30:56*tcsh quit (Client Quit)
04:25:32*tcsh joined #nimrod
04:33:34*ccssnet quit (Ping timeout: 244 seconds)
05:20:00*ccssnet joined #nimrod
06:02:32*tcsh quit (Quit: Leaving)
07:03:23*Araq_ joined #nimrod
07:05:11*Araq_ quit (Client Quit)
07:37:04*tcsh joined #nimrod
07:37:11tcshdom96 or Araq available?
07:55:45tcshAnyone in here that knows nimrod available?
07:55:52tcshHaving some problems with the standard library.
08:09:34tcshNo..
08:09:36tcshOkay.
08:21:51Tassertcsh, just ask ;-)
08:22:02tcshHi Tasser!
08:22:08tcshI've just been trying out some of the libraries
08:22:20tcshproblems with IRC and Cryptography ones so far
08:22:33tcshMaybe it's just not explained to the depth I need in the user library
08:26:29tcshTasser, http://pastie.org/4276673 why doesn't that work?
08:26:35tcshI'm just trying to get a feel for the libraries
08:26:39tcshi tried irc too, no soap.
08:28:35tcshgrrr.
08:28:44tcshIt shows the original string.
08:28:50tcshNot the encrypted versio
08:30:37tcshno?
08:32:55Tassertcsh, result = text is the correct pattern
08:33:43Tasserand I wouldn't use pragmas unless needed
08:35:11tcshIt is needed.
08:35:20tcshIt said it MUST be discarded
08:35:44Tasserhuh?
08:35:50tcshTasser, I don't get what I need to do.
08:35:51tcshAnd what?
08:35:55tcshThe compiler said that
08:36:50tcshTasser, can you show me your implementation and I could compare to figure it out
08:38:56Tassertcsh, works with result = text here
08:39:11tcshI don't get what you mean..
08:39:17tcshoh
08:39:21tcshsec
08:39:41tcshinstead of putting discardable string you mean?
08:40:34tcshTasser, wait what do you mean..
08:40:46tcshI have no idea what you're saying by that vague statement
08:42:45*philip__ joined #nimrod
08:42:59*philip__ left #nimrod (#nimrod)
08:43:39tcshTasser, var encoded: string = encode(text) pretty much says result = text
08:45:48tcshjust outputs the same text as i put in..lovely.
08:46:57Tassernope, instead of 'return text'
08:47:33tcshDo I have to declare result first?
08:48:19tcshdidn't work
08:48:25tcshTasser, still outputs what i put in.
08:48:32*SchalaZeal joined #nimrod
08:50:08Tassertcsh, uhm, yep, that's what you tell it to
08:50:26tcshI did result = text
08:50:31tcshand then I did echo result..
08:50:36tcshStill nothing
08:51:03Tassertcsh, http://sprunge.us/fUUV
08:52:21tcshTasser, still outputs what I input
08:54:21Tassertcsh, yes, why do you expect it to be any differently?
08:54:39tcshdoesn't encode encrypt it using base64?
08:54:47Tassertcsh, why should it?
08:54:53Tasserwhere did you tell it to?
08:55:02tcshhttp://force7.de/nimrod/base64.html#101
08:55:25Tassertcsh, and base64 is no encryption, it's a hack to transport binary data over text protocolls
08:55:45Tassertcsh, and for that, you'll have to import base64
08:56:46tcshTasser, gives me a compilation error.
08:56:53Tassertcsh, guess why
08:56:59tcshwhy
08:57:14tcshpragma?
08:57:17Tassernope
08:57:31SchalaZealI might be making some impure modules for sha1, sha256, sha384, sha512, etc tomorrow
08:57:59SchalaZealjust simple encrypt/decrypt
08:58:12TasserSchalaZeal, sha decrypt? ^^
08:58:24SchalaZeal.........well, encrypt
08:58:56SchalaZealthought there was a decrypt function but I guess that question makes me think twice now
08:59:32Tasserhope so ^^
08:59:57SchalaZealwell anyway... apparently Claro barfs out errors when I try building it
09:00:16TasserClaro?
09:00:25tcshTasser, what is it..
09:00:28SchalaZealtreats warnings as errors it does, warnings like "X declared but not used"
09:00:51SchalaZealClaro was this GUI lib Araq told me to try out
09:00:59SchalaZealit's on his github
09:01:05tcshThis thing..
09:01:07tcshMakes no sense..
09:01:10tcshand randomly breaks.
09:02:09TasserSchalaZeal, link?
09:02:27tcshcrypto4.nim(5, 29) Error: ambiguous call; both encode(text: string, lineLen: int, newLine: string): string and encode(s: string, lineLen: int, newLine: string): string match for: encode
09:02:32SchalaZealhttps://github.com/Araq/Claro
09:02:44tcshi don't even..
09:03:20SchalaZealClaro sounds good, I mean a C GUI lib with Cocoa/GTK+/Win32 backends sounds sweet
09:03:49Tasserabstraction? ^^
09:03:57tcshy does this break
09:03:59tcshso frea
09:04:01Tassertcsh, just delete your version of the proc
09:04:07tcshi dont even
09:04:10tcshTasser,
09:04:12tcshthat's not mine
09:04:29Tassertcsh, the one in your code is
09:04:38tcshno
09:04:38Tassertcsh, you're defining a new 'encode' proc here
09:05:00TasserSchalaZeal, abstraction? since when does Araq like that? ^^
09:05:04SchalaZealtry base64.encode()
09:05:09tcshwow
09:05:11tcshwow
09:05:15tcshGod damn.
09:05:22tcshI'm not programming at 5am anymore
09:05:27SchalaZealwell, he seemed to be enthusiastic about it
09:05:27tcshafter not sleeping for a long time.
09:05:30tcshI'm not doing it.
09:05:42TasserSchalaZeal, 2 years old? hum
09:05:52SchalaZealwell, 1 year old
09:05:55TasserSchalaZeal, and I suppose cocoa is objc-style
09:06:03Tasserhave fun with that
09:06:12SchalaZealwell it takes care of that
09:06:18Tassergood
09:06:25SchalaZealNimrod has a wrapper for Claro as it is
09:06:47SchalaZealjust that I can't compile the darn DLL
09:07:12Tassertry the .so ;-)
09:07:15SchalaZealbecause, again, someone felt it necessary to treat "defined but not used" as a fatal error
09:07:39SchalaZealI compiled this on Linux first, to get an .so
09:08:04tcshDo you guys use aporia?
09:08:26SchalaZealKWrite on Linux, and Programmers Notepad on Win
09:08:39SchalaZealno IDE
09:09:08tcshSchalaZeal, does kwrite have nimrod syntax highlighting?
09:09:24Tassertcsh, emacs does :-)
09:09:33SchalaZealno
09:09:46SchalaZealit detects it as Python
09:09:50SchalaZeallol
09:10:09SchalaZealbut I find it convenient nonetheless
09:10:46TasserSchalaZeal, there's a nimrod-mode
09:11:16SchalaZealfor?
09:12:34Tasseremacs
09:12:52SchalaZealugh... emacs..... makes my eyes puke
09:13:26TasserSchalaZeal, just disable the menu bar and enjoy the purity of text
09:13:51SchalaZealthat would make it worse
09:14:48TasserI usually export stuff from libreoffice to html to extract the interesting information... ;-)
09:15:21SchalaZealI'm just fine with what I have, syntax highlighting isn't a priority
09:15:40SchalaZealI'm used to reading Nimrod code in all black text
09:26:18tcshCould you guys show me the irc library kind of?
09:26:28tcshI'm assuming the first paragraph is necessary to connect, si?
09:27:12tcshirc.nim(2, 6) Error: undeclared identifier: 'client
09:27:39tcshugh sec.
09:28:02tcshirc.nim(2, 17) Error: expression 'irc("irc.undergroundz.org", joinChans = @ ["#joom"])' cannot be called
09:28:03tcshTHERE
09:28:07tcshThat's the real problem.
09:28:15*Araq_ joined #nimrod
09:28:25tcshwelcome back Araq_
09:28:30Araq_thanks
09:29:24tcshim messing with the irc lib
09:30:54SchalaZealhey Araq, Claro has warnings treated as errors when compiling, warnings like "set but not used"
09:31:42Araq_SchalaZeal: I think I used to do that to find bugs
09:31:48Araq_hack koch.py to disable it
09:32:00tcshirc.nim(2, 17) Error: expression 'irc("irc.freenode.net", joinChans = @ ["#nimrod"])' cannot be called
09:32:42SchalaZealhmm ok
09:33:31SchalaZealbrb
09:33:39*SchalaZeal quit ()
09:33:58tcshweird error.
09:36:34*SchalaZeal joined #nimrod
09:36:59tcshwb SchalaZeal
09:37:07tcshSchalaZeal, could you help me with my irc problem?
09:37:29SchalaZealI've not used the irc module though
09:37:30SchalaZealsorry
09:38:17tcshI just have an expression that can't be called.
09:38:30tcshhm *shrugs(
09:39:04SchalaZealWhat's Claro's license? BSD?
09:40:49tcshbah night
09:41:05*tcsh quit (Quit: Leaving)
09:44:37SchalaZealsed -i -e 's/" -Werror"/""/' "koch.py" -- this works
09:48:12Araq_tcsh: your file is named 'irc' and thus you get a name conflict ...
09:48:47SchalaZealhe left
09:49:50*Araq_ quit (Read error: Connection timed out)
09:51:30*Araq_ joined #nimrod
09:52:26SchalaZealhey Araq, https://aur.archlinux.org/packages.php?ID=60967
09:59:22SchalaZealnuts, can't get a 32-bit lib built, guess no multilib for claro
10:03:29Araq_argh sorry
10:03:38Araq_I gotta go, connection is very bad anyway
10:03:40*Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 13.0.1/20120614114901])
10:57:15*SchalaZeal quit (Quit: Konversation terminated!)
11:02:27*Araq_ joined #nimrod
11:02:42*Araq_ quit (Client Quit)
12:05:41*shevy joined #nimrod
12:26:02*Araq_ joined #nimrod
12:26:24*Araq_ quit (Client Quit)
14:08:17zaharyhi Araq, sorry for not responding yesterday - I had to wake up early in the last few days and didn't stay up till late as usual
14:10:22zaharythe problem with frequent recompilation of nimdat got me thinking… we don't necessarily need a separate compilation unit for that, we can have a separate init proc for each module - e.g. NimMain will look like this initSystemDat(); initFooDat(); initBarDat(); initSystem(); initFoo(); ....
14:11:22zaharylooking at the few places where gNimDat is used, this won't be much of a change
14:51:32*shevy quit (Ping timeout: 248 seconds)
15:04:34*shevy joined #nimrod
15:11:10*Trix[a]r_za is now known as Trixar_za
16:13:08Araqzahary: I had the same idea :-)
16:13:20Araqcode bloat will remain though
16:14:20Araqbtw the DLL problem is puzzling me, have you solved it?
16:17:09Araqer zahary please revert that change ... I don't want it nimdat ... that bloats nimdat tremendously when for instance both gtk and windows.nim are imported
17:10:58Trixar_zaHehehe
17:12:40Trixar_zaFor something I don't use much, I sure argue for Nimrod a lot
17:12:52Trixar_zaMaybe because I just like arguing in general
17:16:18fowlwhy does c2nim translate unsigned int as cunsignedint
17:17:22Araqfowl: it doesnt anymore :P
17:17:37fowlFailed to create texture, its internal size is too high (1415071060x3753423567, maximum is 16384x16384)
17:17:44fowlsomething is going horribly wrong here :/
17:18:39*ccssnet quit (Read error: Connection reset by peer)
17:28:08Araqfowl: looks like you got the types wrong
17:28:29Araquse 'cint' for 'cunsignedint'
17:31:44fowlyep, works now
17:32:08fowlseems weird having vector2u and vector2i being the same >_>
17:32:58Araqdon't use vector2u
17:33:08Araqdon't use unsigned ...
17:33:40fowlthis is from sfml
17:33:41*Araq thanks god there is no 'unsigned float'
17:33:46AraqI know
17:33:59fowlbut now that i know they are the same im going to take the unsigned variant out
17:35:40Araqyeah good
18:04:58*Trixar_za is now known as Trix[a]r_za
18:38:55shevyfowl is smarter than I am, I struggled harder with the type-thinking :(
18:39:40Araqshevy: your fate is improving the docs :-)
18:39:51shevyyeah
19:33:29*Reisen quit (Ping timeout: 265 seconds)
19:37:34*Reisen joined #nimrod
20:56:52*tcsh joined #nimrod
20:59:33*ccssnet joined #nimrod
21:03:31tcshHey everyone.
21:04:41dom96tcsh: I am here now!
21:04:54tcshHey.
21:05:07tcshI had 2 problems, one with compiling aporia and another with the irc protocol.
21:05:43dom96ok, what's the aporia problem?
21:05:59tcshUhm, it can't find gtksourceview, however I do have it installed.
21:06:13tcsh(this is my linux sys btw)
21:06:58dom96So it does compile?
21:07:05dom96It just fails when you run it?
21:07:17dom96What's the output?
21:07:23dom96Is this on Windows still?
21:07:32dom96Sorry, I need more info :P
21:08:44fowldom96, his gtksourceview is in lib64 and its not finding
21:10:37tcshIt doesn't confile.
21:10:41tcshcompile*
21:10:44tcshannddd
21:10:46tcshNot on windows
21:10:51tcshit says it can't find gtksourceview.
21:10:54tcshor open it rather
21:11:00dom96tcsh: Please paste the output.
21:11:16dom96Just copy and paste text from the terminal, or give me a screenshot at least
21:11:21tcshYeah np
21:13:36tcshaporia.nim(10, 39) Error: cannot open 'gtksourceview'
21:14:09dom96You're missing 'gtksourceview.nim'
21:14:19dom96Which should be in the same folder as aporia.nim
21:14:23dom96I have no clue how you managed that
21:15:01dom96git clone git://github.com/nimrod-code/Aporia.git && cd Aporia && nimrod c aporia
21:15:03dom96should just work
21:15:14dom96(As long as Nimrod is in your $PATH)
21:15:37tcshgtksourceview.nim(45, 6) Error: '.}' expected
21:15:47tcshoh
21:15:48tcshoka
21:16:55tcshI made myself a little nanorc file for nimrod heehee
21:22:27*XAMPP quit (Quit: There is no such thing as coincidence, only the inevitable.)
21:25:50tcshAboutDialog.nim(22, 14) Error: ambiguous call; both set_position(window: PWindow, position: TWindowPosition) and set_position(a: PWindow, position: guint) match for: set_position
21:25:52tcsh@ dom96
21:26:11dom96Do you have the latest Nimrod from github?
21:26:17tcshYeah I did what you say
21:26:35tcshgit clone git://github.com/nimrod-code/Aporia.git && cd Aporia && nimrod c aporia <-- exactly what I did
21:26:42dom96Run `nimrod -v
21:27:08tcshNimrod Compiler Version 0.8.14 (2012-02-09) [Linux: amd64]
21:27:08tcshCopyright (c) 2004-2012 by Andreas Rumpf
21:27:32dom96That's not the latest Nimrod compiler from GITHUB
21:27:42dom96You need it to compile Aporia
21:28:12dom96Just get this: http://build.nimrod-code.org/commits/linux-x86_64/nimrod_e500d10158f0.zip
21:28:17dom96To save you from wasting more time
21:28:40dom96It's the latest pre-compiled x86_64 binary of the Nimrod compiler, together with the latest stdlib.
21:30:52tcshalright
21:31:38tcshAnd sorry for the slow response
21:31:43tcshWe have a really bad storm here atm.
21:31:56tcshJust fetching all my battery backups so I can power the router and computer for awhile.
21:32:45dom96I see. No problem.
21:32:52dom96Also wow, you have battery backups?
21:33:56tcshYeah why?
21:34:13tcshThey're pretty handy.
21:34:18dom96sorry, just never met anyone that does.
21:34:26dom96I guess storms are quite frequent where you live?
21:35:36tcshwhen I unzip it
21:35:45tcshwhere do I put the extract stuff?
21:36:31tcshno install.txt with it
21:36:31tcshhm
21:37:12dom96Anywhere.
21:37:19dom96Just put the directory in your $PATH
21:37:34dom96Make sure to remove the old Nimrod
21:39:21tcshCrap where did i put that
21:40:51dom96Run: which nimrod
21:41:23tcshNo reply.
21:41:28Araqwe really need to get 0.9.0 out ...
21:41:45Araqthis is getting annoying
21:42:01Araq"Nimrod is sooo cooool. - How to install it? -- well ... "
21:42:55dom96or we could just write a nice script which takes care of the installation
21:43:04dom96Releasing another version won't solve this problem
21:43:25dom96Before long we will add new features and before we release a new version 5 months will go by...
21:43:54tcshthe path is which directory?
21:44:26tcshlinux-x86_64
21:44:31tcshe454530
21:44:34tcshthen what
21:44:36tcshor is that it
21:44:41tcshdo i have to link to the bin
21:44:48dom96to the bin
21:44:55dom96Also you might want to move it out of those folders
21:45:07dom96They're just junk folders
21:47:14tcshSame problem
21:47:15tcshwhat the
21:47:39tcshffs
21:47:59dom96Make sure you are using the latest version now
21:48:04dom96check with `nimrod -v`
21:48:21tcshsame version.
21:48:22tcshcrap
21:49:20tcshI have no idea.
21:49:22tcshWhy
21:51:28dom96Your old version is still there...
21:51:32dom96which nimrod
21:51:36dom96should give you the path to it
21:51:43dom96Remove it and make sure the new is in your path.
21:51:47dom96*new one
21:53:27tcshMy paths don't give away where the old nimrod is
21:54:09tcsh/usr/bin/nimrod
21:54:12tcshbot it's a file
21:54:14tcshnot a directory
21:54:50dom96How did you install it in the first place?
21:55:03tcshwait
21:55:04tcshi remove it
21:56:22tcshWHOA
21:56:24tcshit just
21:56:27tcshholy crap it's broken.
21:56:28tcshlmfao.
21:57:14tcshit's done
21:57:24tcshthis thing is so overly screwed up, nope
22:00:17dom96If you used ./install.sh then you should ./deinstall.sh
22:04:19dom96tcsh: You could just use the full absolute path to the nimrod binary instead of writing just `nimrod`
22:05:02dom96bbl
22:28:01*tcsh quit (Quit: Leaving)
23:17:09fowlo snap i thought he said it couldnt find the .so
23:27:17ccssnetlol
23:27:44ccssneti told tcsh to check out nimrod. he is young and knows some python coding :)