<<28-07-2012>>

01:44:37*q66 quit (Quit: Leaving..)
03:20:31*fowl quit (Remote host closed the connection)
03:49:11*fowl joined #nimrod
06:29:53*fowl quit (Read error: Connection reset by peer)
06:30:56*fowl joined #nimrod
07:38:31shevyhi
07:38:36shevywoke up half an hour ago!
07:38:40Araqhi shevy
07:38:47Araqme too ;-)
08:36:07Araqugh toothpaste and raspberries together taste yucky ...
08:36:52shevylol
08:37:28*Araq wonders when raspberries will taste good again ...
09:16:00dom96hello
09:16:15Araqgood morning dom96
09:17:10dom96good morning :)
09:17:28dom96Araq: Why are you eating toothpaste? heh
09:18:12Araqbrushing my teeth was enough
09:18:24Araqand then I tried to eat raspberries
09:18:30Araqbig mistake.
09:18:33Araq:D
09:18:34dom96hehe
09:18:54Araqtastes like chemical reaction in your mouth ...
09:52:40dom96Araq: Would ARM be different on a Mobile phone than on a Raspberry Pi?
09:52:55dom96"I read somewhere that a pagesize on ARM might be 2K instead of 4K (but I need to confirm this...), so that would require changes to lib/system/mmdisp.nim, change PageShift from 12 to 11."
09:53:07dom96If that's true, then Nimrod on the RPI would fail. Wouln
09:53:11dom96*Would't it?
09:53:12Araqwell I couldn't confirm this
09:53:16dom96*Wouldn't
09:53:25Araqand it depends on the OS too
09:53:36dom96oh
09:54:11AraqI dunno what's the problem on andriod
09:54:40AraqI'm curious about the stack traces
10:00:35Araqso dom96
10:00:42Araqrelease this weekend?
10:00:54dom96hrm
10:01:05dom96Maybe.
10:01:21dom96If we could get a babel release simultaneously.
10:01:40Araqand an aporia release?
10:01:51dom96yeah, that probably too.
10:02:15dom96Not sure we'll be able to get suggest working
10:04:07dom96well, thoughts?
10:04:23Araqhrm the missing closure feature is somewhat hard to do
10:04:26Araqwell not really
10:05:13dom96Also attempt to fix netbsd plz.
10:05:56Araqok will add a workaround
10:06:27dom96I will start the windows builder so that we can see if windows passes all tests...
10:06:31dom96Although it will be slow heh
10:06:46dom96So maybe it would be better if I switch it on tonight
10:06:49dom96right before we go to sleep
10:06:55dom96?
10:07:01Araqhe he yes
10:07:24dom96And also I might as well test it on the RPI :P
10:07:48dom96And I'm going to need your help for babel.
10:07:52Araqtest it on android please
10:08:02dom96ok.
10:08:06dom96Lets organise this :P
10:08:13dom96Now: I will test Android.
10:08:22dom96Later in the day, Aporia?
10:08:28dom96Then babel tomorrow?
10:08:34dom96And you will just work on Nimrod :P
10:09:16dom96Good plan?
10:09:22Araqyeah i will fix suggest
10:09:30dom96cool
10:09:42dom96I suppose getting compiler as a service working would be too much?
10:09:57Araqlolyeah
10:10:11dom96too bad
10:12:17Araqbrb (lunch)
10:14:54dom96ok. i'm going to get some food from the shop b
10:14:58dom96brb too
10:21:30*q66 joined #nimrod
10:33:59dom96back
10:36:33Araqback too
10:39:49dom96this android emulator is quite cool :D
10:44:04Araqok, what should the name be?
10:44:11Araqcgen.copyright ?
10:44:36Araq(for the config variable to set the copyright header in generated C code)
10:45:31dom96why are you making the copyright configurable?
10:45:49Araqzahary said he needs that feature
10:46:05Araqand I'm working on this code section already anyway
10:46:42Araqthough tbh I don't know what issues this could cause ...
10:46:57Araq*legal issues
10:47:14dom96I think making this configurable could cause some legal issues.
10:47:26dom96But I ain't a lawyer :P
10:47:31Araqyeah hm
10:47:49Araqhowever
10:47:53Araqcurrently it says:
10:48:03Araq /* Generated by Nimrod Compiler v0.8.15 */ /* (c) 2012 Andreas Rumpf */
10:48:31Araqwhich is ambiguous as the copyright claim refers to the Nimrod compiler, not the generated code
10:48:55dom96Well, why would the generate c code be copyrighted anyway? 0_o
10:48:58dom96*generated
10:49:22dom96I suppose making it configurable makes sense
10:49:53dom96The code is technically the person's that wrote the Nimrod code, which in turn got converted into this C code.
10:50:04dom96So it's up to that person to decide what license that generated C code is.
10:50:23Araqyeah well
10:50:53Araqwe better ensure the translated stdlib remains LGPL (+ the linking exception that we have)
10:51:17dom96yes.
10:51:32dom96This is actually quite an interesting legal problem.
10:52:02Araqhttp://www.gnu.org/licenses/gpl-faq.html#GPLOutput
10:54:19dom96So as long as the copyright is included in the generated source by the tool, the user is forced to keep that license?
10:54:50AraqI dunno, I'll add to the header:
10:55:02Araq"The generated code is subject to the original licsense."
10:57:10dom96Add a link to the license.
10:57:15dom96And name it as well.
10:57:18Araqthat's impossible
10:57:29dom96how is it?
10:57:29Araqit's LGPL + addition for the stdlib
10:57:50Araqif I develop commercial.nim and translate that to .c
10:58:05Araqits license is not LGPL ...
10:58:36dom96"The license for this generated code is the same as the original Nimrod code: LGPL with some additions. The license can be found at: ..."
10:58:38dom96Something like that?
10:58:46Araqno
10:58:49dom96Why?
10:58:52Araqyou don't get it :P
10:59:02dom96Enlighten me then
10:59:11Araqif I develop commercial.nim and translate that to .c
10:59:13Araqits license is not LGPL ...
10:59:18dom96I'm guessing you think that I want that in every .c file not just the stdlib
10:59:26Araqyes
10:59:29dom96I'm only talking about the stdlib.
10:59:37Araqand how does the codegen know?
10:59:49dom96Add a {.license.} pragma :P
10:59:56AraqI suppose we need yet another pragma ..
10:59:57dom96or {.CComment: .}
11:00:01Araqugh
11:00:08dom96Yeah, kinda ugly...
11:01:10dom96Well I dunno. Maybe you should ask a lawyer.
11:01:24dom96stackexchange perhaps?
11:02:20Araqmeh
11:15:31dom96hrm, nim__dat.c is not added...
11:16:12dom96I think the --nimcache option might fail with it.
11:16:27dom96i.e. it just doesn't place it in the requested nimcache path
11:19:25dom96Araq: Does nim__dat.c not get generated anymore?
11:21:32Araqdom96: yes
11:21:36Araqit's gone for good
11:21:41dom96I see
11:28:37dom96Araq: Well I'm getting those warnings even if I make have --cpu:arm
11:28:44dom96s/make//
11:28:49Araqwhich warnings?
11:28:58dom96warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
11:29:08Araqand btw it's not "even if"
11:29:16Araqit's *wrong* without it
11:29:28Araqyou have to tell the compiler you're cross compiling to ARM ...
11:29:29dom96I know.
11:29:50dom96Why does it still complain?
11:31:47Araqmaybe there is a bug ...
11:35:12Araqprintf("%d\n", sizeof(void*)); please
11:48:17dom96I don't even know how to run this crap... ugh
11:48:45Araqint main(void) { printf(...); return 0; } ?
11:49:20dom96No, I mean the compiled app
11:52:58Araqhttp://bellard.org/jslinux/
11:53:15Araqlinux on top of a x86 emulator witten in JS ...
11:53:27Araqit's a bit slow though :D
11:53:33dom96er...
11:53:45dom96The point is to use an android emulator
11:53:54Araqi know
11:54:21dom96I think I figured it out though anyway
11:55:22dom96nope
11:56:09Araqwell I'm afraid I can't help you ...
11:56:50dom96So many steps needed, grr.
11:56:55*dom96 takes a break for food
12:27:21*shevy breaks a steak for food
12:30:17*dom96 steaks a food for break
12:47:39dom96It's pretty silly that ndk cannot work with paths which have spaces in them
12:49:44Araqit's pretty silly to have spaces in paths :P
12:49:55Araq'_' has been invented for that ...
12:53:15dom96lol
13:13:33shevywhat is ndk?
13:13:50shevyAraq, the problem with _ is that it can falsify the name
13:14:06shevymy mp3 files are kept that way
13:14:08shevyfor example Strack_HansZimmer_TheDarkKnightMix.mp3
13:14:32shevyno ' ' makes it easier for me
13:14:33shevy:)
13:14:54dom96shevy: An Android thingy for making apps in C/C++
13:14:57shevydunno why I kept Strack there, I kind of tried to put some tags into the name
13:17:30dom96Araq: Well I have good news.
13:17:31dom96It works :D
13:17:57dom96Even with the warnings.
13:20:28Araqhans zimmer made the dark night soundtrack too?
13:21:37Araqdom96: I guess 'long' on arm is not in fact 32 bit ...
13:21:48dom96Araq: Yes.
13:21:51dom96That could be why
13:21:55dom96As I changed that in fact
13:22:04dom96However it ran successfully with it too.
13:22:16dom96I just decided to actually test whether it could calculate something
13:22:27dom96and I couldn't be arsed figuring out how to concatenate that long and a string...
13:22:32dom96so I just did it in Nimrod ;)
13:23:08dom96I forked his repo and I will push my changes to it and reply on the forum.
13:24:43Araqwell I want to change the codegen slightly for the NI integer stuff
13:24:50Araqthat should also fix the problems
13:25:16dom96I think he was using an older compiler
13:25:21dom96Maybe that's why it failed for him as well?
13:25:37dom96Would be nice if we could get rid of those errors.
13:26:08Araqsure, shouldn't be hard
13:27:26*Trix[a]r_za is now known as Trixar_za
13:30:30dom96er, I mean warnings heh
13:47:30dom96Araq: Am I even doing it right? https://github.com/dom96/nimrod-on-android/blob/master/jni/backend.nim#L5
13:48:14dom96I wasn't sure I was constructing that cstring correctly.
14:03:45Araqshould work but be careful
14:03:54Araqthe GC may free it
14:04:06dom96ok
14:04:09dom96well I'm done with this
14:04:14dom96pushed and replied to the forum
14:04:17dom96And added a screenshot :D
14:04:26Araqcool
14:21:47shevyhey
14:21:55shevythis gradha guy actually gave a lot of feebdack
14:22:27Araqyeah
15:06:50*shevy2 joined #nimrod
15:10:27*shevy quit (Ping timeout: 246 seconds)
15:29:15*shevy2 is now known as shevy
15:29:25Araqand I'm off :P
15:29:29Araqsee you later
15:31:17*fowl quit (Read error: Connection reset by peer)
15:32:19shevydaaaamn
15:32:22shevyI am reading a java tutorial
15:32:30*fowl joined #nimrod
15:43:48*Trixar_za is now known as Trix[a]r_za
15:50:38dom96shevy: That's blasphemy!
15:50:41dom96:P
15:50:52shevyit is worse
15:50:54shevyit is very boring
15:51:01shevyI had to stop already
15:51:08shevy:(
15:51:22dom96Code some Nimrod instead :(
15:51:37dom96I'm here all weekend so you have my total support
15:53:32shevyimport osproc
15:53:38shevyosproc.execProcess
15:53:53shevysystem.nim(10, 6) Error: statement expected
15:53:54shevyhmm
15:53:58shevythat requires an argument I suppose?
15:54:05dom96of course
15:54:13shevysystem.nim(10, 6) Error: value returned by statement has to be discarded
15:54:15shevyhmm
15:54:22shevyosproc.execProcess "ls"
15:54:23dom96execProcess returns a value
15:54:44dom96http://build.nimrod-code.org/docs/osproc.html#103
15:54:50dom96See the end of that?
15:54:55dom96": TaintedString
15:55:05shevyyeah
15:55:11dom96That's what it returns :)
15:55:14shevyI am not sure I know what it means though
15:55:19shevyok so it gives me a tainted string
15:55:22shevywhat shall I do with it? hehehe
15:55:25dom96A tainted string is a string.
15:55:38dom96(Well... you don't need to worry about what it really is)
15:56:06dom96But it actually is an alias for a string, unless a compiler option is enabled :)
15:56:20dom96You have a couple of options:
15:56:33shevyI am going to do some commandline programs
15:56:34dom96You can throw it away, by using the `discard` keyword.
15:56:46shevyhmm can I output it to me on the commandline?
15:56:51dom96You can pass it to another function
15:56:59dom96and you can assign it to a variable.
15:57:10dom96Yep. Just pass it to the `echo` function :)
15:57:34shevysystem.nim(10, 11) Error: 'execProcess' cannot be passed to a procvar
15:58:03shevywow
15:58:07shevyerror explosion hehehe
15:58:37shevyhttp://pastie.org/pastes/4348763/text
15:58:38Araqback
15:58:48shevysystem.o: In function system.c:(.text+0x0): multiple definition of `NimMain'
15:58:49Araqshevy: use () to call it
15:59:00dom960_0
15:59:40Araqer, how did you manage that?
15:59:50shevyhmmm
15:59:59Araqpastebin your nimrod code please
16:00:02shevynimrod compile --run system.nim
16:00:12Araqwell
16:00:17Araqnever compile system.nim
16:00:18Araq:P
16:00:24shevyhehehe... content is http://pastie.org/4348771
16:00:26Araqit's special
16:00:29dom96Never call your applications "system.nim"
16:00:37dom96(If that's what you're trying to do :P)
16:00:57dom96Also this line: Hint: used config file '/Users/x/DATA/PROGRAMMING_LANGUAGES/NIMROD/nimro
16:01:00shevyyeah
16:01:06shevyworks when I rename it to system2.nim
16:01:10dom96Not sure if paste failure or something weird
16:01:21shevypaste failure from kde terminal to firefox
16:01:28dom96shevy: i see :)
16:01:32shevyit cut away at some 50 char position each, or something like that
16:01:39dom96Araq: We need to add a check to the compiler :P
16:01:43shevyI'd have to copy paste into editor first or something. hmm
16:01:48dom96Araq: I think.
16:01:59dom96Araq: But then... how would system.nim be compiled hah
16:02:04shevyok lemme understand...
16:02:05shevyecho osproc.execProcess("ls")
16:02:14shevythis runs "ls" via bash, then returns the content on the commandline, right?
16:02:33Araqnot necessarily
16:02:45Araqit may run "ls" directly without bash
16:02:50shevyhmm
16:02:53shevythat is possible?
16:02:57Araqsure
16:03:08Araq(I think)
16:03:31Araqdom96: I will add a workaround for BSD
16:03:33shevynow I am going to try to run mplayer via a .nim file
16:03:54dom96shevy: "options: set[TProcessOption] = {poStdErrToStdOut, poUseShell}"
16:03:56Araqbut that requires setting an environment variable
16:04:01dom96As long as poUseShell is there it will use bash.
16:04:11dom96Araq: hrm, why?
16:04:39shevydom96 what is that?
16:04:55shevyah
16:04:58dom96shevy: That's the second optional argument that you can pass into execProcess
16:05:03dom96It's a set of options.
16:05:16dom96shevy: They are here: http://build.nimrod-code.org/docs/osproc.html#102
16:05:31shevydoes aporia have inbuilt documentation? like so that it could display the docu
16:06:04shevyyou can't imagine how incredibly slow my brain works right now ;)
16:06:11Araqdom96: the compiler relies on os.getAppDir to work
16:06:22dom96shevy: Not currently. Although it will, I want that feature very much too.
16:06:29Araqbut that does not work on BSD
16:06:32dom96shevy: Having a lot of tabs open in firefox for docs is annoying.
16:06:37Araqso I'm gonna add a workaround
16:06:46dom96shevy: But I wonder, do you know about "theindex.html"?
16:07:00Araqwhich is: use getEnv"NIMROD_DIR"
16:07:02dom96shevy: It's got a list of all functions from most modules.
16:07:15dom96Araq: I see.
16:07:34dom96Araq: Are you sure there is no way to get the application dir in BSD?
16:07:57Araqyeah the BSD people think it's a bad idea and exes should never rely on their dir
16:08:08Araqwhich of course doesn't make any sense at all
16:08:22Araqbut hey, UNIX works that way
16:08:24dom96lol.
16:08:53Araqbut let me check again
16:08:55dom96Well that's fine. I can add that easily to nimbuild.
16:09:05shevydom96 dunno, right now I stare at the terminal, and the browser isn't in my main focus
16:09:10shevygot like 12 tabs open right now too, I hate that :(
16:09:20dom96shevy: http://build.nimrod-code.org/docs/theindex.html
16:09:28dom96shevy: Use Ctrl + F to find things :)
16:09:31shevyok mplayer works... now... the next task is to provide an ARGV
16:11:04shevycomments in nimrod
16:11:05shevy# works?
16:11:27Araqshevy: yes
16:13:21shevyhmm... don't give me hints yet
16:13:27shevyI need to find out myself how to use paramStr
16:13:34Araqok
16:15:20dom96Man, this is so cool. Nimrod on Android!!!
16:15:42Araqdom96: warnings gone?
16:16:03dom96Araq: Haven't tried yet. Just trying to spread the excitement :P
16:17:05shevyhehe
16:17:51dom96Araq: Nope. Still there.
16:18:19Araqused the newest compiler, right? :P
16:18:30dom96yes :P
16:18:39Araqer, is it FreeBSD?
16:18:51dom96what?
16:19:09Araqos.getAppDir works on FreeBSD, but not on NetBSD I think
16:19:16dom96perhaps
16:24:01dom96shevy: Just looked at your feature suggestions: gist supports nimrod.
16:24:13dom96shevy: And yes, you will get `babel install jester` :)
16:41:54Araqdom96: please pastebin some code which triggers the warning
16:42:24dom96Take a look at my nimrod-on-android repo
16:43:43Araqthe testing machine has no python installed :-)
16:44:07Araqthank god I got rid of python years ago :-)
16:44:19dom96yeah, that machine has very little installed
16:47:42Araqandroid uses 'ant'? o.O
16:47:49Araqthis is really a bad joke ...
16:48:10dom96yep. it uses make files too...
16:50:12Araqworks for gradha too now :D
16:50:17Araqyay
16:52:06dom96cool
16:54:52Araqhrm I don't get it
16:55:16Araq /proc/curproc/file works on NetBSD
16:55:19Araqoh, I know
16:55:42Araqit doesn't return the full path
17:12:53Araqugh, I don't feel like fixing it
17:13:07Araqnetbsd users should get a real OS instead
17:13:22Araqheck porting nimrod to haiku would be more fun ... :P
17:13:57Araqat least they are trying to create something new and are not stuck in the 70ies ...
17:16:12shevyhehe
17:20:53shevyhmm nimcache/ is always created in the current working directory it seems
17:21:14Araqno in the directory of your project file
17:21:24Araqthe project file is the nimrod module you give to the compiler
17:22:10*sbell joined #nimrod
17:22:35shevyOK i have a directory, and these entries right now:
17:22:47shevy"play_via_mplayer.nim" then a "play_via_mplayer" and a "nimcache/" directory
17:22:54shevytwo files, one directory
17:23:07shevycan the nimcache/ directory put into my $HOME dir somehow? or in TEMP or somewhere else?
17:23:32shevyhmm
17:23:48shevyor perhaps removed... it seems to have .c and .o files, probably not needed anymore after the binary was compiled
17:23:54Araquse the --nimcache:DIR command line option
17:24:17Araqand indeed it can be deleted, the binary does not need it
17:24:43shevycool
17:24:47shevyI think --nimcache worked
17:25:44fowlbout time shevy
17:25:50shevy:D
17:28:10Amrykid:o
17:29:08shevyok
17:29:27shevyI realized I am not even able to do a basic if/else in nimrod
17:29:44fowlwhy not
17:29:55Araqwell ... I'm sure you'll manage ;-)
17:30:49shevywhere is my mistake...
17:31:00shevyhttp://pastie.org/4349127
17:31:28shevyif argv is given, use that. else default to some hardcoded path
17:31:33fowlparamStr(1) doesnt return a boolean?
17:31:57shevyaha
17:32:03Araqshevy: your nimrod is python/ruby like :P
17:32:13shevy Error: type mismatch: got (TaintedString) but expected 'bool'
17:32:17shevyAraq yeah
17:32:26fowlshevy: check paramCount() before paramstr()
17:58:53Araqdom96: has aporia a notion of "project file" yet?
17:59:24dom96Araq: You mean something like VS' solution file?
18:00:07Araqnot quite; I mean it knows that when I'm editing cgen.nim, it should compile nimrod.nim
18:00:24dom96You added something for that IIRC
18:00:35dom96So, yes. it does.
18:01:25Araqno ...
18:04:35Araqand it says: sh: nimrod: not found
18:06:18dom96What is?
18:06:23dom96Aporia?
18:06:28Araqyes
18:06:50dom96When you do what?
18:07:35Araqcheck or compile
18:07:39Araqdoesn't matter
18:08:03Araqwhen I change it in 'Tools' it doesn't change anything
18:08:11dom96is Nimrod in your $PATH?
18:08:18Araqyes
18:08:52dom96Strange
18:09:23dom96Could you debug it for me please?
18:10:07Araqso it does work for you, right?
18:10:43dom96yes
18:10:56dom96Executes it like this though: > /home/dom/git/Nimrod/bin/nimrod check /home/dom/code/nimrod/aporia/aporia.nim
18:11:09dom96It should do findExe on it.
18:12:13Araqit doesn't read from the 'Tools' settings at all :P
18:12:45dom96check doesn't
18:12:59Araqhow useful :P
18:13:22dom96The Nimrod command in Tools is compilation specific...
18:13:44Araqwell it shouldn't
18:13:47dom96Why would you need to change it anyway?
18:14:00Araqbecause it can't find my nimrod exe
18:14:25dom96Well you can still change it for compilation
18:14:35dom96compilation will gather errors into the error list too
18:14:47Araqhrm true
18:14:51Araqthis does something
18:15:10Araqand the progress bar is sexy :-)
18:15:30AraqfindExe should work though, I wonder what's the problem here
18:15:48Araqthis also means that suggest doesn't work ;-)
18:15:56dom96I guess findExe is buggy :P
18:21:34Araqperhaps, will test it
18:21:41Araqyou just use os.findExe, right?
18:21:50Araqno fancy other things, right?
18:22:03dom96I use your GetCmd
18:25:03Araqer ... can you make the output text editor use the same color scheme?
18:25:20Araqhow much work would it be to use gtksourceview for that as well?
18:25:45dom96Quite a lot...
18:26:03Araqok then
18:26:10Araqit's not that important
18:26:41Araqbut make the colors configurable please
18:26:57Araqconfig file is enough
18:27:22Araqin fact I think the 'configuration' should be done by editing aporia's configuration file
18:27:32Araqit's a text editor after all ...
18:27:48dom96Ok, but first I need to implement more critical features :P
18:27:55Araqand you can't search for keywords in a 'settings' window ...
18:28:11Araqlots of programs get that completely wrong ...
18:28:31dom96what?
18:28:45dom96How do you "search" a dialog?
18:28:49AraqUI for configuration is totally overrated
18:29:08Araqconfig files as text rule because you can search them for keywords like 'color'
18:29:28Araqin the worst case you have to *read* them
18:29:47Araqsame for a UI then ;-)
18:29:55Araqbut you have no choice in the UI ...
18:30:02dom96You can search aporia's config fine...
18:30:07dom96I don't get your problem
18:30:19Araqaporia is fine, just sayin'
18:30:40AraqI know I can do that with aporia's config file
18:31:21Araqmy point is: you don't have to spend time on a configuration UI IMHO
18:31:38Araqjust make an "edit configuration" menu item
18:31:47Araqthat opens aporia's configuration
18:31:57dom96I see.
18:32:43dom96So you would rather open up a separate color picker from somewhere else, copy the appropriate RGB/HEX/Whatever values from there into the config, Instead of having a nice dialog which lets you do it super easily? :P
18:33:18AraqI'd rather have a color picker in the editor that produces #ff00ff :P
18:33:33AraqI mean that inserts it as *text* :P
18:34:01Araqbecause then I can use that for HTML editing too :P
18:34:28dom96heh, good point
18:36:31dom96ok, i'm going to take a quick shower :P
18:36:32dom96brb
18:37:15dom96actually, no i'm not... *sigh*
18:37:26Araqhe he
18:44:12*sbell quit (Remote host closed the connection)
18:51:12Araqos.findExe("nimrod") works on my machine ...
18:52:41dom96Debug aporia's GetCmd function please
18:57:20Araqyeah I'm doing that
18:58:03dom96thanks
18:58:14Araqwtf it works perfectly ...
18:58:38Araqecho getCmd("$findExe(nimrod) $#", "myfile.nim")
18:58:55Araqproduces:
18:58:59Araq /home/andreas/projects/nimrod/bin/nimrod myfile.nim
18:59:21Araqbut hrm the 2 spaces are strange
19:01:40dom96true
19:01:41Araqno ... it's correct
19:01:53Araqand I know where the 2 spaces come from
19:12:04dom96Well the fact that accelerators which are Ctrl + Some F key don't work is not Aporia's fault.
19:12:18dom96Because in xchat they don't work either.
19:14:14Araqyeah but I *click* on the menu items
19:14:18Araqand something happens
19:14:27Araqbut it can't find nimrod for some strange reason
19:14:42dom96I know. It's only a problem for me...
19:20:06dom96Well I asked about it in GIMPNet/#gtk+
19:20:12dom96and in #programming
19:20:21dom96Not sure if anyone will help me.
19:20:33dom96If they don't then I will ask on Arch forums.
19:20:48Araqugh I feel stupid
19:20:58dom96I suppose I will instal SliTaz and see if I can reproduce the issues that Trix[a]r_za encountered.
19:21:01AraqI should test findExe from some different cwd ...
19:21:15dom96lol
19:23:30Araqno luck, still works ...
19:23:35Araqreally strange
19:23:51dom96hah, at first I was really confused when you said "still works"
19:32:37dom96Damn, SliTaz is quite nice.
19:35:24Araqwhy?
19:37:31dom96Because the ISO is only ~30MB and it's pretty cool
19:43:39dom96It's a bit scary though that the installer is a web page :P
19:44:32Araqo.O
19:45:17dom96tazpanel is quite cool though
19:47:08Araqhaiku runs faster in the emulator than xfce ...
19:52:40dom96Package managing in the browser, quite ingenious.
19:52:45dom96And very fast I must admit.
19:53:58*sbell joined #nimrod
19:55:16fowldom96: the slitaz site is horrible to navigate
19:55:45fowland they dont have a 64 bit version
19:57:36Araqfowl: hey, be nice, they're using nimrod in production :P
19:58:37dom96^^
19:59:09fowloh i love the project
19:59:13fowlthose are my two gripes though
19:59:16dom96I think SliTaz would be perfect for my RPI
19:59:21dom96Too bad it doesn't support ARM :(
19:59:34dom96Also I figured out why Ctrl + F keys doesn't work for me
19:59:53Araqinteresting
20:00:01Araqwhat's the cause?
20:00:25fowldom96: is that example of a kernel on github
20:00:40dom96fowl: Not yet, sorry D:
20:00:45dom96Last time I tried it didn't work...
20:00:49dom96and I didn't have time to fix it
20:01:06dom96Araq: XFCE overrides the binds to nothing, for some stupid reason.
20:01:15fowlah
20:01:33Araqhm I'm using xfce too
20:01:40Araqand Crtl+F works for me
20:02:05dom96Yes, that works.
20:02:11dom96F1, F2, F3 ...
20:02:16dom96THat's what I mean by "F keys"
20:02:57fowllol
20:03:32dom96Why would XFCE override that to nothing?
20:03:56Araqhaiku lacks /proc ... I wonder how os.getAppFilename needs to be implemented ...
20:04:02fowlto keep you from going back to term
20:04:48dom96fowl: I see. That makes sense.
20:05:04Araqseriously, haiku's UI is almost too fast
20:05:16dom96Araq: Maybe you should just switch to it? :P
20:05:16Araqnever had such a responsive UI
20:05:34AraqI'm at least adding it to platform.nim
20:05:40fowlAraq: the fun starts when you shift+drag the window tabs around :>
20:05:48Araquname -a works
20:05:56fowldom96: unless i'm thinking of ctrl-alt-f#
20:06:13dom96fowl: heh, yeah you are.
20:06:17Araqwhich means we have a chance to get our installer to work :-)
20:06:25dom96fowl: we're back to that question then.
20:06:47dom96I mean it rebinds Ctrl + F1 to nothing.
20:06:57dom96Most applications use that for help, no?
20:08:16dom96Time to ask in #xfce ;)
20:09:08dom96hrm, actually
20:09:13dom96It seems to bind it to something.
20:10:12dom96<property name="&lt;Control&gt;F1" type="string" value="workspace_1_key"/>
20:10:17Araqso apart from posix support, does haiku have a C library to speak to?
20:11:02shevyno idea
20:11:03shevyI will ask
20:11:29Araqhe he I'm in #haiku too now
20:11:36Araqbut thanks
20:11:45shevyhehe
20:13:50dom96ok, i'm definitely in too many channels now :P
20:13:52Araqoh well I'll simply check FPC's sources
20:14:08dom96Time to leave #jesus :(
20:17:40fowllol
20:17:50fowli gotta see whats goin on in #jesus
20:18:07Araqnothing
20:18:29fowli got a blessing from chanserv
20:18:38*sbell quit (Quit: sbell)
20:18:44dom96heh
20:18:55dom96They're still waiting for jesus to arrive.
20:19:56shevylol
20:25:48shevyoh man
20:25:56shevyall those years and haiku still isn't ready...
20:26:11dom96Why not?
20:28:46dom96Interesting. Github thinks that SliTaz is a Mac.
20:38:01*sbell joined #nimrod
20:46:18dom96holy crap
20:46:26dom96I've just noticed how many people there are in #archlinux
20:47:41dom96Interesting. Compilation of Aporia fails under SliTaz.
20:48:08dom96linux/limits.h no such file or directory
20:48:33Araqinstall some devel package
20:48:50dom96hrm, any ideas what?
20:49:00Araqgtk-devel ?
20:49:15Araqer no
20:49:27Araqbasic gcc package?
20:50:09dom96obviously I have gcc
20:50:59Araqyeah but not enough headers
20:51:10dom96maybe glibc-dev
20:51:15Araqwhich file #includes linux/limits.h?
20:51:36dom96/usr/include/bits/local_lim.h
20:51:44dom96huh
20:51:51dom96That seems like a bug in SliTaz perhaps?
20:53:37dom96I didn't boot nimrod btw, just grabbed it from nimbuild
20:54:00Araqwell from what file is local_lim.h imported?
20:55:28dom96https://gist.github.com/3194754
20:56:40AraqI got aporia to crash :P
20:56:57Araqoh and it's eating 1 cpu ...
20:57:05dom96how?
20:57:28Araqmark a tabulator
20:57:37Araqpress CTRL+H
20:57:45Araqtry to replace it with 8 spaces
20:58:00dom96interesting
20:58:04dom96report it on github please
20:58:11Araqugh
20:58:32*Araq add it to his todo instead
20:59:13dom96oh come on
20:59:21Araqthanks for using tabs in buildsh.tmpl btw
20:59:43Araqcoded in emacs?
20:59:52dom96me?
21:00:00dom96lies
21:00:06dom96what line?
21:00:08Araqwho else edits buildsh.tmpl?
21:00:16Araq13
21:01:28dom96ok, sorry. It was me heh
21:01:43dom96nano uses tabs...
21:02:04Araqwell I fixed it
21:02:20dom96So any ideas about that SliTaz error?
21:03:45Araqedit lib/nimbase.h
21:03:48Araqremove
21:03:52Araq#include <limits.h>
21:04:03AraqI don't think we need it anyway
21:04:39Araqbut it's part of ansi C iirc so it's a bug in slitaz I guess
21:09:20dom96Now it complains about asm/sigcontext.h
21:10:26dom96Well I give up.
21:10:33dom96Maybe Trix[a]r_za will help me later
21:11:38Araqpastebin again
21:11:48dom96too late
21:11:50dom96Already closed VM.
21:11:59Araqnp
21:16:08Araqshevy: are you german?
21:17:20fowlhes an austrich komme aus austria
21:18:07Araqauch Österreich genannt ;-)
21:19:00fowljajaja
21:19:47dom96nein, auch deutshe achtung!
21:20:06*dom96 wonders if that's gibberish
21:20:39Araqdom96: yeah ...
21:20:57shevydom96 u forgot a "c"
21:21:05shevydeutsche
21:21:14dom96I bet that's not the only problem heh
21:21:19shevyhehe
21:21:44shevyfowl likes to use the word "fraulein"
21:21:55shevybut the a should be an "�"
21:22:17dom96Język Polski jest o wiele lepszy :P
21:22:34shevyaha
21:22:38shevykurwa kurwa!
21:22:55shevypicku madre
21:23:01dom96haha
21:23:02shevyhmm I cant do those c^
21:23:10dom96You got kurwa right :D
21:23:14shevyhehe
21:23:35shevyenglish kinda is the best language
21:23:38shevyno stupid characters
21:24:08dom96heh. Well you could say x and q are kind of unique.
21:24:14dom96I mean Polish doesn't use them.
21:24:29dom96But at least English doesn't have all these accented letters.
21:24:35shevyyeah
21:24:39AraqCafé ...
21:24:44shevygerman has the sharp s ... �
21:24:51dom96Araq: That's because that's french :P
21:25:01dom96English likes to steal words too.
21:25:04Araqenglish has imported the é :P
21:25:14shevyI think in the long run, the www will cause a simplification
21:25:26dom96yeah, but I bet everyone write Cafe.
21:25:41Araqshevy: not really, there is already "BSE"
21:26:09shevyBSE?
21:26:09dom96shevy: People in Poland already seem to mix Polish and English quite a lot.
21:26:15AraqI don't think it will lead to any further simplifications
21:26:23AraqBSE = bad simple english
21:26:58dom96u min tis rite?
21:27:04*dom96 can't do it well :P
21:27:34*Araq doesn't understand dom96
21:27:44dom96"You mean this right?"
21:27:57Araqok ok I take it back
21:28:12Araqit will be simplified tremendously
21:28:31Araqthanks to all the cool kids ...
21:34:46fowl"cafe" is also acceptable, like "naive"
21:35:56dom96Is "deja vu" suppose to have any accents?
21:36:41fowlwikipedia says it is
21:36:56fowlDéjà vu looks purely asthetic to me
21:37:45*fowl quit (Changing host)
21:37:45*fowl joined #nimrod
21:49:10shevyhttp://mail-index.netbsd.org/netbsd-users/2006/08/30/0016.html <-- why netbsd kinda "died"
21:51:39shevyhmmm a bit too long to read
21:52:26shevyI think only freebsd has a real future
21:52:46shevyfreebsd & pcbsd <--- pcbsd tries the app-dir approach via the ... .pbi files
21:54:39*fowl quit (Ping timeout: 246 seconds)
21:55:27Araqwell one of our test machines is netbsd
21:55:33Araqthat's why I care a bit
21:59:19*sbell quit (Read error: Connection reset by peer)
21:59:28*fowl joined #nimrod
21:59:33*sbell joined #nimrod
22:17:17dom96Something tells me won't release this weekend :P
22:18:42Araqyeah :-/
22:18:52Araqwell I'm gonna fix that aporia bug now
22:19:06dom96which one?
22:19:13dom96the replace one?
22:19:14AraqfindExe not working
22:19:17dom96ahh
22:19:20dom96alright
22:19:23Araqand the replace one should be easy too
22:32:01AraqSaving /tmp/ast.nim
22:32:03Araq/home/andreas/projects/nimrod/bin/nimrod idetools --path:/tmp/ --path:/home/andreas/projects/nimrod/compiler --track:/tmp/ast.nim,896,4 --suggest /tmp/ast.nim
22:32:04Araq[Warning] No items found for suggest
22:32:06Araqhrm that works
22:32:42Araqwtf
22:32:48Araqit works on this machine ...
22:33:39Araqhrm
22:33:51Araqoh well I will fix 'suggest' then
22:39:50dom96yay
22:40:49Araqwell you tell the compiler to use /mp
22:42:29Araqand somehow lib/collections is preferred then
22:42:36Araqwhich has 'lists' too
22:42:43Araqso it screws the compiler
22:42:59Araqand apparently if there are too many errors the compiler refuses to suggest anything
22:43:02dom96bbl, pizza :)
22:43:48dom96 i see
22:44:02dom96well you found the error at leas
22:44:03dom96t
22:45:02Araqproblem is: it's hard to fix :P
22:47:07*fowl quit (Changing host)
22:47:07*fowl joined #nimrod
22:57:13*sbell quit (Quit: i'm going to get laid……..)
22:57:34*sbell joined #nimrod
22:57:47*sbell quit (Client Quit)
23:08:30dom96ok, back.
23:20:17dom96I keep editing aporia in the wrong aporia lol
23:25:35dom96Araq: Converting a uint into an int is safe as long as I'm sure the value is not bigger than the max possible value of int, right?
23:25:52Araqright