00:21:18 | tcsh | dom96, you here? |
00:36:46 | tcsh | Guess 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:31 | tcsh | Man |
03:27:35 | tcsh | dom96 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:11 | tcsh | dom96 or Araq available? |
07:55:45 | tcsh | Anyone in here that knows nimrod available? |
07:55:52 | tcsh | Having some problems with the standard library. |
08:09:34 | tcsh | No.. |
08:09:36 | tcsh | Okay. |
08:21:51 | Tasser | tcsh, just ask ;-) |
08:22:02 | tcsh | Hi Tasser! |
08:22:08 | tcsh | I've just been trying out some of the libraries |
08:22:20 | tcsh | problems with IRC and Cryptography ones so far |
08:22:33 | tcsh | Maybe it's just not explained to the depth I need in the user library |
08:26:29 | tcsh | Tasser, http://pastie.org/4276673 why doesn't that work? |
08:26:35 | tcsh | I'm just trying to get a feel for the libraries |
08:26:39 | tcsh | i tried irc too, no soap. |
08:28:35 | tcsh | grrr. |
08:28:44 | tcsh | It shows the original string. |
08:28:50 | tcsh | Not the encrypted versio |
08:30:37 | tcsh | no? |
08:32:55 | Tasser | tcsh, result = text is the correct pattern |
08:33:43 | Tasser | and I wouldn't use pragmas unless needed |
08:35:11 | tcsh | It is needed. |
08:35:20 | tcsh | It said it MUST be discarded |
08:35:44 | Tasser | huh? |
08:35:50 | tcsh | Tasser, I don't get what I need to do. |
08:35:51 | tcsh | And what? |
08:35:55 | tcsh | The compiler said that |
08:36:50 | tcsh | Tasser, can you show me your implementation and I could compare to figure it out |
08:38:56 | Tasser | tcsh, works with result = text here |
08:39:11 | tcsh | I don't get what you mean.. |
08:39:17 | tcsh | oh |
08:39:21 | tcsh | sec |
08:39:41 | tcsh | instead of putting discardable string you mean? |
08:40:34 | tcsh | Tasser, wait what do you mean.. |
08:40:46 | tcsh | I 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:39 | tcsh | Tasser, var encoded: string = encode(text) pretty much says result = text |
08:45:48 | tcsh | just outputs the same text as i put in..lovely. |
08:46:57 | Tasser | nope, instead of 'return text' |
08:47:33 | tcsh | Do I have to declare result first? |
08:48:19 | tcsh | didn't work |
08:48:25 | tcsh | Tasser, still outputs what i put in. |
08:48:32 | * | SchalaZeal joined #nimrod |
08:50:08 | Tasser | tcsh, uhm, yep, that's what you tell it to |
08:50:26 | tcsh | I did result = text |
08:50:31 | tcsh | and then I did echo result.. |
08:50:36 | tcsh | Still nothing |
08:51:03 | Tasser | tcsh, http://sprunge.us/fUUV |
08:52:21 | tcsh | Tasser, still outputs what I input |
08:54:21 | Tasser | tcsh, yes, why do you expect it to be any differently? |
08:54:39 | tcsh | doesn't encode encrypt it using base64? |
08:54:47 | Tasser | tcsh, why should it? |
08:54:53 | Tasser | where did you tell it to? |
08:55:02 | tcsh | http://force7.de/nimrod/base64.html#101 |
08:55:25 | Tasser | tcsh, and base64 is no encryption, it's a hack to transport binary data over text protocolls |
08:55:45 | Tasser | tcsh, and for that, you'll have to import base64 |
08:56:46 | tcsh | Tasser, gives me a compilation error. |
08:56:53 | Tasser | tcsh, guess why |
08:56:59 | tcsh | why |
08:57:14 | tcsh | pragma? |
08:57:17 | Tasser | nope |
08:57:31 | SchalaZeal | I might be making some impure modules for sha1, sha256, sha384, sha512, etc tomorrow |
08:57:59 | SchalaZeal | just simple encrypt/decrypt |
08:58:12 | Tasser | SchalaZeal, sha decrypt? ^^ |
08:58:24 | SchalaZeal | .........well, encrypt |
08:58:56 | SchalaZeal | thought there was a decrypt function but I guess that question makes me think twice now |
08:59:32 | Tasser | hope so ^^ |
08:59:57 | SchalaZeal | well anyway... apparently Claro barfs out errors when I try building it |
09:00:16 | Tasser | Claro? |
09:00:25 | tcsh | Tasser, what is it.. |
09:00:28 | SchalaZeal | treats warnings as errors it does, warnings like "X declared but not used" |
09:00:51 | SchalaZeal | Claro was this GUI lib Araq told me to try out |
09:00:59 | SchalaZeal | it's on his github |
09:01:05 | tcsh | This thing.. |
09:01:07 | tcsh | Makes no sense.. |
09:01:10 | tcsh | and randomly breaks. |
09:02:09 | Tasser | SchalaZeal, link? |
09:02:27 | tcsh | crypto4.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:32 | SchalaZeal | https://github.com/Araq/Claro |
09:02:44 | tcsh | i don't even.. |
09:03:20 | SchalaZeal | Claro sounds good, I mean a C GUI lib with Cocoa/GTK+/Win32 backends sounds sweet |
09:03:49 | Tasser | abstraction? ^^ |
09:03:57 | tcsh | y does this break |
09:03:59 | tcsh | so frea |
09:04:01 | Tasser | tcsh, just delete your version of the proc |
09:04:07 | tcsh | i dont even |
09:04:10 | tcsh | Tasser, |
09:04:12 | tcsh | that's not mine |
09:04:29 | Tasser | tcsh, the one in your code is |
09:04:38 | tcsh | no |
09:04:38 | Tasser | tcsh, you're defining a new 'encode' proc here |
09:05:00 | Tasser | SchalaZeal, abstraction? since when does Araq like that? ^^ |
09:05:04 | SchalaZeal | try base64.encode() |
09:05:09 | tcsh | wow |
09:05:11 | tcsh | wow |
09:05:15 | tcsh | God damn. |
09:05:22 | tcsh | I'm not programming at 5am anymore |
09:05:27 | SchalaZeal | well, he seemed to be enthusiastic about it |
09:05:27 | tcsh | after not sleeping for a long time. |
09:05:30 | tcsh | I'm not doing it. |
09:05:42 | Tasser | SchalaZeal, 2 years old? hum |
09:05:52 | SchalaZeal | well, 1 year old |
09:05:55 | Tasser | SchalaZeal, and I suppose cocoa is objc-style |
09:06:03 | Tasser | have fun with that |
09:06:12 | SchalaZeal | well it takes care of that |
09:06:18 | Tasser | good |
09:06:25 | SchalaZeal | Nimrod has a wrapper for Claro as it is |
09:06:47 | SchalaZeal | just that I can't compile the darn DLL |
09:07:12 | Tasser | try the .so ;-) |
09:07:15 | SchalaZeal | because, again, someone felt it necessary to treat "defined but not used" as a fatal error |
09:07:39 | SchalaZeal | I compiled this on Linux first, to get an .so |
09:08:04 | tcsh | Do you guys use aporia? |
09:08:26 | SchalaZeal | KWrite on Linux, and Programmers Notepad on Win |
09:08:39 | SchalaZeal | no IDE |
09:09:08 | tcsh | SchalaZeal, does kwrite have nimrod syntax highlighting? |
09:09:24 | Tasser | tcsh, emacs does :-) |
09:09:33 | SchalaZeal | no |
09:09:46 | SchalaZeal | it detects it as Python |
09:09:50 | SchalaZeal | lol |
09:10:09 | SchalaZeal | but I find it convenient nonetheless |
09:10:46 | Tasser | SchalaZeal, there's a nimrod-mode |
09:11:16 | SchalaZeal | for? |
09:12:34 | Tasser | emacs |
09:12:52 | SchalaZeal | ugh... emacs..... makes my eyes puke |
09:13:26 | Tasser | SchalaZeal, just disable the menu bar and enjoy the purity of text |
09:13:51 | SchalaZeal | that would make it worse |
09:14:48 | Tasser | I usually export stuff from libreoffice to html to extract the interesting information... ;-) |
09:15:21 | SchalaZeal | I'm just fine with what I have, syntax highlighting isn't a priority |
09:15:40 | SchalaZeal | I'm used to reading Nimrod code in all black text |
09:26:18 | tcsh | Could you guys show me the irc library kind of? |
09:26:28 | tcsh | I'm assuming the first paragraph is necessary to connect, si? |
09:27:12 | tcsh | irc.nim(2, 6) Error: undeclared identifier: 'client |
09:27:39 | tcsh | ugh sec. |
09:28:02 | tcsh | irc.nim(2, 17) Error: expression 'irc("irc.undergroundz.org", joinChans = @ ["#joom"])' cannot be called |
09:28:03 | tcsh | THERE |
09:28:07 | tcsh | That's the real problem. |
09:28:15 | * | Araq_ joined #nimrod |
09:28:25 | tcsh | welcome back Araq_ |
09:28:30 | Araq_ | thanks |
09:29:24 | tcsh | im messing with the irc lib |
09:30:54 | SchalaZeal | hey Araq, Claro has warnings treated as errors when compiling, warnings like "set but not used" |
09:31:42 | Araq_ | SchalaZeal: I think I used to do that to find bugs |
09:31:48 | Araq_ | hack koch.py to disable it |
09:32:00 | tcsh | irc.nim(2, 17) Error: expression 'irc("irc.freenode.net", joinChans = @ ["#nimrod"])' cannot be called |
09:32:42 | SchalaZeal | hmm ok |
09:33:31 | SchalaZeal | brb |
09:33:39 | * | SchalaZeal quit () |
09:33:58 | tcsh | weird error. |
09:36:34 | * | SchalaZeal joined #nimrod |
09:36:59 | tcsh | wb SchalaZeal |
09:37:07 | tcsh | SchalaZeal, could you help me with my irc problem? |
09:37:29 | SchalaZeal | I've not used the irc module though |
09:37:30 | SchalaZeal | sorry |
09:38:17 | tcsh | I just have an expression that can't be called. |
09:38:30 | tcsh | hm *shrugs( |
09:39:04 | SchalaZeal | What's Claro's license? BSD? |
09:40:49 | tcsh | bah night |
09:41:05 | * | tcsh quit (Quit: Leaving) |
09:44:37 | SchalaZeal | sed -i -e 's/" -Werror"/""/' "koch.py" -- this works |
09:48:12 | Araq_ | tcsh: your file is named 'irc' and thus you get a name conflict ... |
09:48:47 | SchalaZeal | he left |
09:49:50 | * | Araq_ quit (Read error: Connection timed out) |
09:51:30 | * | Araq_ joined #nimrod |
09:52:26 | SchalaZeal | hey Araq, https://aur.archlinux.org/packages.php?ID=60967 |
09:59:22 | SchalaZeal | nuts, can't get a 32-bit lib built, guess no multilib for claro |
10:03:29 | Araq_ | argh sorry |
10:03:38 | Araq_ | 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:17 | zahary | hi 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:22 | zahary | the 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:22 | zahary | looking 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:08 | Araq | zahary: I had the same idea :-) |
16:13:20 | Araq | code bloat will remain though |
16:14:20 | Araq | btw the DLL problem is puzzling me, have you solved it? |
16:17:09 | Araq | er 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:58 | Trixar_za | Hehehe |
17:12:40 | Trixar_za | For something I don't use much, I sure argue for Nimrod a lot |
17:12:52 | Trixar_za | Maybe because I just like arguing in general |
17:16:18 | fowl | why does c2nim translate unsigned int as cunsignedint |
17:17:22 | Araq | fowl: it doesnt anymore :P |
17:17:37 | fowl | Failed to create texture, its internal size is too high (1415071060x3753423567, maximum is 16384x16384) |
17:17:44 | fowl | something is going horribly wrong here :/ |
17:18:39 | * | ccssnet quit (Read error: Connection reset by peer) |
17:28:08 | Araq | fowl: looks like you got the types wrong |
17:28:29 | Araq | use 'cint' for 'cunsignedint' |
17:31:44 | fowl | yep, works now |
17:32:08 | fowl | seems weird having vector2u and vector2i being the same >_> |
17:32:58 | Araq | don't use vector2u |
17:33:08 | Araq | don't use unsigned ... |
17:33:40 | fowl | this is from sfml |
17:33:41 | * | Araq thanks god there is no 'unsigned float' |
17:33:46 | Araq | I know |
17:33:59 | fowl | but now that i know they are the same im going to take the unsigned variant out |
17:35:40 | Araq | yeah good |
18:04:58 | * | Trixar_za is now known as Trix[a]r_za |
18:38:55 | shevy | fowl is smarter than I am, I struggled harder with the type-thinking :( |
18:39:40 | Araq | shevy: your fate is improving the docs :-) |
18:39:51 | shevy | yeah |
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:31 | tcsh | Hey everyone. |
21:04:41 | dom96 | tcsh: I am here now! |
21:04:54 | tcsh | Hey. |
21:05:07 | tcsh | I had 2 problems, one with compiling aporia and another with the irc protocol. |
21:05:43 | dom96 | ok, what's the aporia problem? |
21:05:59 | tcsh | Uhm, it can't find gtksourceview, however I do have it installed. |
21:06:13 | tcsh | (this is my linux sys btw) |
21:06:58 | dom96 | So it does compile? |
21:07:05 | dom96 | It just fails when you run it? |
21:07:17 | dom96 | What's the output? |
21:07:23 | dom96 | Is this on Windows still? |
21:07:32 | dom96 | Sorry, I need more info :P |
21:08:44 | fowl | dom96, his gtksourceview is in lib64 and its not finding |
21:10:37 | tcsh | It doesn't confile. |
21:10:41 | tcsh | compile* |
21:10:44 | tcsh | annddd |
21:10:46 | tcsh | Not on windows |
21:10:51 | tcsh | it says it can't find gtksourceview. |
21:10:54 | tcsh | or open it rather |
21:11:00 | dom96 | tcsh: Please paste the output. |
21:11:16 | dom96 | Just copy and paste text from the terminal, or give me a screenshot at least |
21:11:21 | tcsh | Yeah np |
21:13:36 | tcsh | aporia.nim(10, 39) Error: cannot open 'gtksourceview' |
21:14:09 | dom96 | You're missing 'gtksourceview.nim' |
21:14:19 | dom96 | Which should be in the same folder as aporia.nim |
21:14:23 | dom96 | I have no clue how you managed that |
21:15:01 | dom96 | git clone git://github.com/nimrod-code/Aporia.git && cd Aporia && nimrod c aporia |
21:15:03 | dom96 | should just work |
21:15:14 | dom96 | (As long as Nimrod is in your $PATH) |
21:15:37 | tcsh | gtksourceview.nim(45, 6) Error: '.}' expected |
21:15:47 | tcsh | oh |
21:15:48 | tcsh | oka |
21:16:55 | tcsh | I 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:50 | tcsh | AboutDialog.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:52 | tcsh | @ dom96 |
21:26:11 | dom96 | Do you have the latest Nimrod from github? |
21:26:17 | tcsh | Yeah I did what you say |
21:26:35 | tcsh | git clone git://github.com/nimrod-code/Aporia.git && cd Aporia && nimrod c aporia <-- exactly what I did |
21:26:42 | dom96 | Run `nimrod -v |
21:27:08 | tcsh | Nimrod Compiler Version 0.8.14 (2012-02-09) [Linux: amd64] |
21:27:08 | tcsh | Copyright (c) 2004-2012 by Andreas Rumpf |
21:27:32 | dom96 | That's not the latest Nimrod compiler from GITHUB |
21:27:42 | dom96 | You need it to compile Aporia |
21:28:12 | dom96 | Just get this: http://build.nimrod-code.org/commits/linux-x86_64/nimrod_e500d10158f0.zip |
21:28:17 | dom96 | To save you from wasting more time |
21:28:40 | dom96 | It's the latest pre-compiled x86_64 binary of the Nimrod compiler, together with the latest stdlib. |
21:30:52 | tcsh | alright |
21:31:38 | tcsh | And sorry for the slow response |
21:31:43 | tcsh | We have a really bad storm here atm. |
21:31:56 | tcsh | Just fetching all my battery backups so I can power the router and computer for awhile. |
21:32:45 | dom96 | I see. No problem. |
21:32:52 | dom96 | Also wow, you have battery backups? |
21:33:56 | tcsh | Yeah why? |
21:34:13 | tcsh | They're pretty handy. |
21:34:18 | dom96 | sorry, just never met anyone that does. |
21:34:26 | dom96 | I guess storms are quite frequent where you live? |
21:35:36 | tcsh | when I unzip it |
21:35:45 | tcsh | where do I put the extract stuff? |
21:36:31 | tcsh | no install.txt with it |
21:36:31 | tcsh | hm |
21:37:12 | dom96 | Anywhere. |
21:37:19 | dom96 | Just put the directory in your $PATH |
21:37:34 | dom96 | Make sure to remove the old Nimrod |
21:39:21 | tcsh | Crap where did i put that |
21:40:51 | dom96 | Run: which nimrod |
21:41:23 | tcsh | No reply. |
21:41:28 | Araq | we really need to get 0.9.0 out ... |
21:41:45 | Araq | this is getting annoying |
21:42:01 | Araq | "Nimrod is sooo cooool. - How to install it? -- well ... " |
21:42:55 | dom96 | or we could just write a nice script which takes care of the installation |
21:43:04 | dom96 | Releasing another version won't solve this problem |
21:43:25 | dom96 | Before long we will add new features and before we release a new version 5 months will go by... |
21:43:54 | tcsh | the path is which directory? |
21:44:26 | tcsh | linux-x86_64 |
21:44:31 | tcsh | e454530 |
21:44:34 | tcsh | then what |
21:44:36 | tcsh | or is that it |
21:44:41 | tcsh | do i have to link to the bin |
21:44:48 | dom96 | to the bin |
21:44:55 | dom96 | Also you might want to move it out of those folders |
21:45:07 | dom96 | They're just junk folders |
21:47:14 | tcsh | Same problem |
21:47:15 | tcsh | what the |
21:47:39 | tcsh | ffs |
21:47:59 | dom96 | Make sure you are using the latest version now |
21:48:04 | dom96 | check with `nimrod -v` |
21:48:21 | tcsh | same version. |
21:48:22 | tcsh | crap |
21:49:20 | tcsh | I have no idea. |
21:49:22 | tcsh | Why |
21:51:28 | dom96 | Your old version is still there... |
21:51:32 | dom96 | which nimrod |
21:51:36 | dom96 | should give you the path to it |
21:51:43 | dom96 | Remove it and make sure the new is in your path. |
21:51:47 | dom96 | *new one |
21:53:27 | tcsh | My paths don't give away where the old nimrod is |
21:54:09 | tcsh | /usr/bin/nimrod |
21:54:12 | tcsh | bot it's a file |
21:54:14 | tcsh | not a directory |
21:54:50 | dom96 | How did you install it in the first place? |
21:55:03 | tcsh | wait |
21:55:04 | tcsh | i remove it |
21:56:22 | tcsh | WHOA |
21:56:24 | tcsh | it just |
21:56:27 | tcsh | holy crap it's broken. |
21:56:28 | tcsh | lmfao. |
21:57:14 | tcsh | it's done |
21:57:24 | tcsh | this thing is so overly screwed up, nope |
22:00:17 | dom96 | If you used ./install.sh then you should ./deinstall.sh |
22:04:19 | dom96 | tcsh: You could just use the full absolute path to the nimrod binary instead of writing just `nimrod` |
22:05:02 | dom96 | bbl |
22:28:01 | * | tcsh quit (Quit: Leaving) |
23:17:09 | fowl | o snap i thought he said it couldnt find the .so |
23:27:17 | ccssnet | lol |
23:27:44 | ccssnet | i told tcsh to check out nimrod. he is young and knows some python coding :) |