<< 30-08-2013 >>

00:00:52Araqmaybe
00:01:01Araqbut I'd guess 64bit support is more important
00:01:15Araqwhich it lacks/lacked too :P
00:01:16BitPuffinI am fairly sure that that is nearly complete
00:02:11BitPuffinhttps://www.haiku-os.org/blog/xyzzy/2012-08-28_x86_64_port_final_report
00:02:16Araqwell platform.nim knows about Haiku, so there is a chance in cross compiling to succeed
00:03:08BitPuffinAraq You gotta keep up with the Haiku world :P
00:03:40BitPuffinAraq In what way was TLS inefficient btw?
00:03:49*BitPuffin is live in #Haiku gathering info
00:05:37Araqthere is no compiler/linker support so you're left with posix's pthread_key_create crap
00:05:56Araqwell ... Nimrod emulates thread local storage for you by using this API
00:06:22Araqso no work on your part but it is slower
00:07:48dom96Can Haiku run on ARM yet?
00:08:11BitPuffindom96 njaeh kind of but not really
00:08:18BitPuffinAraq Hmm
00:08:23BitPuffinAraq Well the dude had to go
00:08:51BitPuffin"Well, all threads have there own variables stored locally"
00:09:15BitPuffin"it sounds like there is C++ lang features that could help you but we don't use em"
00:09:45AraqBitPuffin: I've been there too, you know
00:09:47BitPuffinkind of sounds like they are using local by default
00:10:01Araqgood night
00:10:03BitPuffinAraq Where? ;P
00:10:16AraqBitPuffin: in the haiku channel
00:10:17BitPuffinoh. Nighty
00:10:19Araqbye
00:10:21BitPuffinAraq yeah of course
00:10:27BitPuffinbut not talking about this I presume
00:10:51Araqwhat makes you think so? how do you think I got my knowledge from?
00:11:13Araqbut anyway, bye
00:11:20BitPuffinWell the chances of you talking about the same things when there are so many things to talk about is small haha
00:13:45BitPuffinI am gonna have to check how you even generate those C sources
00:14:02dom96./koch csource
00:14:43BitPuffinah
00:14:50BitPuffinwell that sounds easy
00:16:05*Associat0r joined #nimrod
00:16:05*Associat0r quit (Changing host)
00:16:05*Associat0r joined #nimrod
00:16:30BitPuffindom96 would you mind attempting generating haiku source and then tar balling that to me pleaaese? :3
00:17:30dom96alright
00:17:44BitPuffinyou're the best.. of aaaAALL
00:17:51BitPuffinno one's ever gonna keep you down
00:18:01BitPuffinlol
00:18:04BitPuffinno but seriously
00:18:05BitPuffinthanks
00:18:12dom96not sure how i'm going to send it to you though
00:18:32BitPuffinHmm
00:18:33dom96also, I hope zip is fine
00:18:39*dom96 is on Windows
00:18:39BitPuffinyeah zip works
00:18:44BitPuffinWOOT
00:18:50BitPuffinthought you were on arch
00:19:06dom96I rebooted an hour ago to download a game :P
00:19:28BitPuffinhttp://pastelink.me/ maybe that works?
00:19:56BitPuffinpretty website
00:21:03BitPuffinthey really push the whole thing about the thing being free lol
00:29:01BitPuffingotta poop brb
00:29:49dom96thanks for sharing :P
00:38:32dom96BitPuffin: http://pastelink.me/dl/50c36b
00:38:34dom96voila
00:38:47dom96now you owe me your firstborn
00:38:55dom96:P
00:47:33EXetoCsup
00:48:02BitPuffinthanks dom96!
00:50:45BitPuffindom96 paths are with backslashes xD thanks windows!
00:50:59dom96lol what
00:51:06dom96that's a bug in niminst then
00:51:51BitPuffinHmm
00:51:59BitPuffinHow would one s that in vim
00:52:03BitPuffinconsidering it is slashes
00:52:33BitPuffinEXetoC halp?
00:54:33BitPuffins/\\/\//g lol
00:58:41EXetoCnice
00:58:58BitPuffindom96 hmm. sources are full of ^M
00:59:24dom96no idea what ^M is
00:59:49EXetoCwindoze stuff
00:59:55BitPuffinyes
01:00:02BitPuffinI dont think that is a problem though
01:00:11dom96Windows newlines I guess?
01:00:16BitPuffinyea
01:00:17BitPuffinprobably
01:02:52BitPuffingah
01:02:59BitPuffinthe compiler cannot handle backslashes
01:06:55dom96hrm?
01:07:47BitPuffinlots of \ in pre processing in nimbaseöh
01:08:15dom96oh, the C compiler can't handle it?
01:08:36BitPuffinnope
01:08:44BitPuffinbut iscool
01:08:46BitPuffinI deleted them
01:08:54BitPuffinand made it oneliners
01:09:16BitPuffinsystem.c:515: field `data' has incomplete type
01:13:20*q66 quit (Quit: Leaving)
01:16:13BitPuffinI don't get it
01:16:17BitPuffinthis is GCC after all
01:16:27dom96old version?
01:16:32BitPuffinyea
01:16:36BitPuffin2.95
01:16:38BitPuffinthere is a 4 though
01:16:40BitPuffinI believe
01:16:43dom96yeah...
01:17:26BitPuffinyay!
01:17:30BitPuffinsetgcc gcc4
01:17:49BitPuffinsrc/1_1/posix.c:19:20: fatal error: fmtmsg.h: No such file or directory
01:18:00*DAddYE quit (Remote host closed the connection)
01:23:52dom96aww
01:25:24BitPuffinnot posix enough for nimrod are we eh
01:37:00*ltbarcly joined #nimrod
01:41:26*ltbarcly quit (Ping timeout: 240 seconds)
01:47:16*ltbarcly joined #nimrod
01:50:53*circ-user-4s649 joined #nimrod
01:52:11*ltbarcly quit (Ping timeout: 260 seconds)
01:58:10*EXetoC quit (Quit: WeeChat 0.4.1)
02:19:03*DAddYE joined #nimrod
02:23:20*DAddYE quit (Ping timeout: 245 seconds)
02:40:45circ-user-4s649Hi, Araq. It seems that system atomic is quite limited. it only implement atomic inc and dec and cas. nothing about load and store. is this something planned or it is on somewhere else?
02:49:31circ-user-4s649i guess Araq is not here. Anyone know anything about this?
03:12:25*circ-user-4s649 quit (Remote host closed the connection)
03:22:10*DAddYE joined #nimrod
03:23:01*OrionPK quit (Quit: Leaving)
03:28:45*DAddYE quit (Ping timeout: 276 seconds)
03:50:36*ltbarcly__ quit (Remote host closed the connection)
03:51:02*ltbarcly__ joined #nimrod
04:17:40*brson quit (Quit: leaving)
04:25:26*DAddYE joined #nimrod
04:31:50*DAddYE quit (Ping timeout: 240 seconds)
04:44:02*ltbarcly joined #nimrod
04:46:06*ltbarcly__ quit (Ping timeout: 276 seconds)
04:47:49*Associat0r quit (Quit: Associat0r)
04:58:39*ltbarcly_ joined #nimrod
05:03:02*ltbarcly_ quit (Ping timeout: 240 seconds)
05:28:32*DAddYE joined #nimrod
05:35:16*DAddYE quit (Ping timeout: 264 seconds)
06:09:22*ltbarcly_ joined #nimrod
06:14:30*ltbarcly_ quit (Ping timeout: 264 seconds)
06:31:38*DAddYE joined #nimrod
06:37:50*DAddYE quit (Ping timeout: 240 seconds)
07:34:56*DAddYE joined #nimrod
07:41:02*DAddYE quit (Ping timeout: 240 seconds)
08:37:57*DAddYE joined #nimrod
08:44:14*DAddYE quit (Ping timeout: 240 seconds)
09:00:13*darithorn joined #nimrod
09:03:11darithornAre types able to contain arrays without specifying the length?
09:04:13Araqa common workaround is to use:
09:04:33Araqtype fakearray = array [0..1000_000, T]
09:04:47Araqtype o = object
09:05:05Araq x: ptr fakearray # high upper bound to shut up index checking
09:05:58Araqnot use if that's what you have in mind, of course you can also use a 'seq'
09:06:02Araq*not sure
09:06:24darithornIt might be, OpenGL doesn't like sequences, so far it's only worked with arrays.
09:06:39AraqopenGL likes sequences
09:06:57AraqsomeGl(addr(s[0])) ;-)
09:07:09darithornI mean, it'll compile and run fine, just nothing will draw.
09:07:21darithornuntil I switch it to an array
09:07:31darithornit being my vertex data
09:07:32Araqstrange
09:07:47Araqhow is the open gl proc declared?
09:08:21darithornHow do I load my data? Or how do I load opengl?
09:09:31Araqthe proc that takes the array, how is it declared?
09:12:26darithornhttp://pastebin.com/AxBREwVy
09:12:42darithornI hope that's what you wanted
09:13:09Araquse addr(vertexBufferData[0]) for sequences
09:13:16Araqlearn to read :P
09:15:04darithornahh, don't I feel dumb. alright, thanks.
09:27:26*BitPuffin quit (Remote host closed the connection)
09:29:24*BitPuffin joined #nimrod
09:36:04BitPuffinAraq nimrod doesn't compile on haiku because Haiku doesn't have fmtmsg.h
09:36:31Araqnever heard of fmtmsg.h so the compiler can't use it
09:36:49BitPuffinAraq Strange though that it is what it whines about haha
09:36:59BitPuffinAraq fmtmsg,h is a posix thing
09:37:59BitPuffinin src/1_1/posix.c
09:38:06BitPuffinline 19
09:38:09BitPuffincolumn 20
09:38:26Araq1_1 should be x86 windows
09:39:24BitPuffinAraq But why would windows include a posix header?
09:39:39BitPuffinAraq Also the sources were generated by dom96 when he was on windows
09:39:53AraqI don't know what dom96 did
09:41:04*DAddYE joined #nimrod
09:42:36BitPuffinWho knows
09:42:55BitPuffinthink he just added Haiku to that file and ran koch
09:43:02BitPuffinto generate C sources
09:43:43BitPuffin`koch csource`
09:44:25Araqwell he should have used "koch csource -d:release"
09:44:35BitPuffinIs dom96 here?
09:44:37Araqand kept windows on position 1
09:44:52BitPuffinAraq I am not 100% sure he just ran koch csource
09:44:53Araqhe is in italics so no ... ;-)
09:45:00BitPuffinitalics? haha
09:47:52*DAddYE quit (Ping timeout: 264 seconds)
10:05:45*q66 joined #nimrod
10:14:35*BitPuffin quit (Quit: Vision[0.9.7-H-280704]: i've been blurred!)
10:16:12*BitPuffin joined #nimrod
10:41:31*BitPuffin quit (Quit: WeeChat 0.4.1)
10:44:09*DAddYE joined #nimrod
10:44:24*BitPuffin joined #nimrod
10:44:36*darithorn quit (Ping timeout: 245 seconds)
10:45:58NimBotAraq/Nimrod master 2f6e123 Araq [+0 ±3 -0]: docgen: more newlines in the output to support primitive postprocessors
10:45:58NimBotAraq/Nimrod master f97e8fa Araq [+0 ±1 -0]: bugfix: 'not x of y' requires ()
10:45:58NimBotAraq/Nimrod master 46f5cb8 Araq [+0 ±8 -0]: float64 is now an alias to 'float'; fixes #545
10:45:58NimBotAraq/Nimrod master fcd5eb1 Araq [+0 ±2 -0]: fixes #572
10:45:58NimBot1 more commits.
10:50:14*DAddYE quit (Ping timeout: 240 seconds)
10:59:02*ltbarcly quit (Ping timeout: 264 seconds)
11:00:08*dom96 is here now
11:00:14dom96yeah, that's what I did hah
11:03:44BitPuffindom96 You did -d:release?
11:04:05dom96nope lol
11:04:12BitPuffinhaha
11:04:21BitPuffinAraq Also it generated \ instead of /
11:04:25BitPuffinin paths
11:04:41BitPuffinI had to do %s/\\/\//g
11:05:01dom96maybe NimInst expects 1_1 to be windows so it just generates the Windows slashes
11:05:18BitPuffinmight be
11:05:30dom96BitPuffin: Are you still on Haiku? You want me to regenerate them with -d:release?
11:05:32BitPuffindom96 Did you keep windows on top?
11:05:38BitPuffinYeah sure!
11:05:50BitPuffinupload them to the same site
11:05:53dom96I only generated Haiku sources
11:06:08BitPuffinI am gonna try installing a different testbuild of haiku (with the new package manager)
11:06:12dom96so that I didn't have to wait millenia for it to generate sources for each platform combo :P
11:06:17BitPuffinBut I'll be able to find the link in the logs anyway Ö)
11:06:19BitPuffin:)
11:06:22BitPuffinfucking svorak
11:06:34BitPuffindom96 haha :)
11:06:35BitPuffinWell
11:06:42BitPuffinI don't see why you need to keep windows
11:06:44BitPuffinbut Araq said so
11:07:11dom96yeah ok
11:07:16dom96But I am removing everything else :P
11:07:33BitPuffinI will probably bind the entire Haiku API to nimrod - and make .hpkg files for nimrod :)
11:08:00BitPuffindom96 lol - let's hope that works
11:08:15BitPuffinWhen Araq said windows was important I didn't realise it was the MOST important :P
11:08:15dom96cool
11:08:46BitPuffinso far the package manager seems really nice and clean
11:09:00BitPuffinpkgman search|install|uninstall etc
11:17:43dom96while I'm here I may as well fix babel on Windows
11:19:08BitPuffinit's borked?
11:19:17dom96yeah
11:19:23BitPuffinwhy god whyy
11:24:16dom96wth
11:24:28dom96this looks like a compiler bug
11:24:44BitPuffinit usually does. But then you realise you did something silly
11:32:55dom96the compiler doesn't seem to realise that my .exe is missing
11:34:04dom96huh
11:34:12dom96only happens sometimes
11:34:26dom96argh, *shrug*
11:35:19dom96oh, I guess I should have paid more attention to the "; Windows and i386 must be first!"
11:35:21dom96oopsie
11:36:10*BitPuffin quit (Quit: Vision[0.9.7-H-280704]: i've been blurred!)
11:42:36*EXetoC joined #nimrod
11:47:17*DAddYE joined #nimrod
11:51:39*BitPuffin joined #nimrod
11:52:48BitPuffindom96 how is the generating going?
11:53:46*DAddYE quit (Ping timeout: 245 seconds)
11:59:37dom96BitPuffin: http://pastelink.me/dl/39980a
11:59:58BitPuffindom96 cheers
12:01:09dom96np
12:03:46BitPuffinSame error as before
12:04:09BitPuffinsrc/2_1/posix.c:19:20: fatal error: fmtmsg.h: No such file or directory. compilation terminated.
12:04:36dom96good good, wasn't my fault then earlier :P
12:04:44BitPuffinnope :p
12:05:01BitPuffinhere should be a compilation option pragma for compiling to C++
12:05:04BitPuffinthere
12:05:13BitPuffinuseful when writing libs that interface to c++
12:05:34BitPuffinAraq What did we do wrong :p
12:05:49dom96https://github.com/Araq/Nimrod/blob/master/lib/posix/posix.nim#L845
12:05:57dom96I could try removing this stuff and rebuilding the C sources
12:06:20BitPuffinwhat is it needed for?
12:06:28dom96no idea
12:06:59dom96http://pubs.opengroup.org/onlinepubs/009695399/functions/fmtmsg.html
12:07:14BitPuffinhttps://github.com/Araq/Nimrod/blob/master/lib/posix/posix.nim#L1812
12:07:25dom96indeed
12:07:25BitPuffinyeah I know what it is used for
12:07:28BitPuffinbut i mean in the compiler
12:07:41dom96dunno, maybe it's not?
12:07:42BitPuffindoes anything in hte stdlib depend on it
12:07:50BitPuffinI guess we will see
12:08:03dom96I guess dead code elimination would get rid of it
12:08:15dom96if it's not used
12:08:26BitPuffinmmmmmmmmmmmmmmmmmm
12:08:30BitPuffinno?
12:08:38BitPuffinNot since it is a library
12:08:57dom96but it's not when you compile the compiler
12:09:25BitPuffinhm
12:09:48BitPuffinanyways
12:09:50BitPuffingive it a try
12:10:38BitPuffinhttps://github.com/Araq/Nimrod/search?q=fmtmsg&ref=cmdform
12:10:58BitPuffindoesn't look like it is used anywhere but in posix.nim
12:11:18*dom96 doesn't trust github's search feature :P
12:11:46BitPuffintell them
12:11:56BitPuffinhttps://github.com/contact
12:12:56BitPuffindom96 anyways try using grep or something
12:13:00BitPuffinor just try doing it
12:13:04BitPuffin(generating the source)
12:13:44dom96btw are the slashes still a problem?
12:14:00BitPuffinyeah
12:14:01nihathraelühttp://code.ohloh.net/search?s=fmtmsg&fp=303686&mp=1&ml=0&me=1&md=1&projSelected=true&filterChecked=true
12:14:02BitPuffinWell
12:14:05nihathraelseems to agree
12:14:07BitPuffinit is not exactly a problem
12:14:21BitPuffinI can just go :%/\\/\//g in the build.sh
12:14:39BitPuffinwe should be golden then :p
12:14:39dom96yeah, just wondering because I submitted an issue about it
12:14:54dom96indeed: http://pastelink.me/dl/dfd600
12:14:56BitPuffingood!
12:15:23dom96but why was it not gotten rid of by dead code elim
12:17:28BitPuffinuh oh!
12:17:34EXetoCAraq: should this kind of implicit conversion "var a = 1.0; a += 1" be allowed only for arithmetic operators? it can work in other cases, if the 'type' operator does indeed work correctly when used in signatures. "proc f[T](a: T, b: type(a)" for example
12:17:43BitPuffinsrc/2_1/posix.c:63:19: fatal error: spawn.h: No such file or directory
12:18:07BitPuffinthat one seems to be a wee bit more important
12:18:32dom96lol, i'm guessing there is quite a lot of these missing headers
12:18:53BitPuffinhmm
12:19:00BitPuffinactually there might be a spawn.h
12:20:44EXetoCAraq: for clamp for example, or slices
12:24:10BitPuffindom96 Does it work if you remove spawn from posix.nim? lol
12:25:40dom96hrm, there seems to be a 'when hasSpawnH'
12:26:07BitPuffinmaybe it will work then
12:26:08dom96'hasSpawnH = true # should exist for every Posix system really nowadays'
12:26:09dom96:P
12:26:26*circ-user-L5QKs joined #nimrod
12:26:36EXetoCbut then you need to decide where to draw the line. for example, what about == or functions with an arity greater than 2?
12:28:50BitPuffindom96 Well it isn't a posix system haha
12:28:56BitPuffindom96 it just has some posix stuff
12:28:58BitPuffinfor compability
12:29:02BitPuffinkind of
12:29:07dom96lol
12:29:12BitPuffinor I dunno
12:30:24dom96http://pastelink.me/dl/768114
12:33:32BitPuffinit got a bit further this time
12:33:36BitPuffinno more trouble from posix
12:33:48BitPuffin src/2_1/sockets.c: In function 'send_119837':
12:33:49BitPuffin src/2_1/sockets.c:347:42: error: 'MSG_NOSIGNAL' undeclared (first use in this function)
12:33:49BitPuffin src/2_1/sockets.c:347:42: note: each undeclared identifier is reported only once for each function it appears in
12:34:29dom96just remove that
12:34:35dom96and get rid of anywhere where it's used
12:34:41dom96I think it's only for CAAS
12:34:47BitPuffinCAAS?
12:35:28dom96compiler as a service
12:35:32BitPuffinah
12:35:37BitPuffinIs it used anywhere?
12:36:19dom96well yes, you can invoke it. But it's not required
12:36:41BitPuffinso I should remove the entire function?
12:36:52BitPuffinor maybe just comment out
12:36:57dom96yeah
12:37:26BitPuffinthe line with MSG_NOSIGNAL
12:39:01BitPuffinmy god it is actually getting far
12:39:06BitPuffinI will piss my pants
12:39:45BitPuffinnooo!
12:39:59BitPuffinwell actually
12:40:03profmakxBitPuffin what are you doing?
12:40:10BitPuffinprofmakx compiling nimrod on haiku
12:40:21profmakxoh
12:40:27profmakxinteresting
12:40:47profmakxon dragonfly it was absolutely painless. i was really pleased that it just went through
12:40:58BitPuffinthe heck is dragonfly :D
12:41:21vegaia fork of freebsd that probably has more users than haiku :P
12:41:41*profmakx doesn't know how popular haiku is
12:42:16BitPuffinonly linker failed now dom96 because I replaced \ with /
12:42:30dom96:O
12:47:58BitPuffinwhat a pain xD have to fix manually
12:48:43BitPuffingod damn cock
12:48:45BitPuffinI mean koch
12:50:24*DAddYE joined #nimrod
12:56:45BitPuffindom96 compiling!
12:56:53BitPuffin.............
12:57:00*DAddYE quit (Ping timeout: 256 seconds)
12:57:47BitPuffinaw :(
12:58:20dom96what happen
12:58:45BitPuffinhttp://pastebin.com/wxPFhDaB
12:59:28dom96maybe you should just get rid of everything to do with sockets hah
12:59:35BitPuffinmaybe lol
13:00:09BitPuffindom96 doesn't jester use sockets though?
13:00:36dom96are you compiling jester?
13:01:43BitPuffindom96 would be cool to use jester in haiku that is all
13:01:52dom96oh lol
13:02:13dom96well then you're going to have to port the sockets module to haiky
13:02:15dom96*haiku
13:03:38BitPuffinbuilding without sockets
13:03:46BitPuffinkinda sucky but
13:04:02dom96The important thing is to get the compiler working
13:04:06dom96then you can worry about sockets
13:04:07BitPuffintrue that
13:04:41BitPuffindon't have the time to fix it though haha
13:04:48BitPuffinwould be nice but takes time
13:04:59BitPuffinawwwwwww
13:05:09BitPuffinservice.c uses socket :(
13:06:00BitPuffinI can't see how these things compile but don't link
13:06:53dom96maybe you need some linker flag?
13:07:08BitPuffinno idea what that could be
13:08:25BitPuffinanyways Araq. It seems like your port wasn't far off. The only thing not working is spawn.h (haiku doesn't have it). fmtmsg.h (ditto) and sockets
13:11:06Trixar_zaIsn't Haiku like a BeOS fork/clone?
13:13:09BitPuffinnot a fork
13:13:18BitPuffinit is beos reimplemented as oss
13:16:04Trixar_zaHmmm, a new OS for my collection
13:16:12BitPuffinyou are gonna like it
13:16:13BitPuffinit is so great
13:16:37Trixar_zaI hope it beats Syllable, because that wouldn't even boot for me :(
13:17:10BitPuffinyeah it should probably boot
13:17:18BitPuffinwhat is your hardware?
13:18:05Trixar_zaOld PIII 1,1Ghz with 256MB of RAM and a P4 3Ghz with 512MB of RAM
13:18:15BitPuffinGPU?
13:18:49Trixar_zaBoth onboard - sis for the PIII and intel for the P4
13:18:56BitPuffinI see
13:19:04BitPuffinWell I don't see why it wouldn't boot
13:19:07BitPuffingive it a spin
13:19:29Trixar_zaK, I see the iso is only 147MB with the xz package
13:20:05BitPuffinexpect a bit more than that
13:20:10BitPuffinthe compression is reaaally good
13:20:17BitPuffinbut it isn't huge or anything
13:21:12Trixar_zaI collect alternative OSes as a hobby
13:21:35BitPuffinI like alternative OSs
13:21:42BitPuffinespecially Haiku
13:21:52BitPuffinTrixar_za have you tried ReactOS? lol
13:22:02Trixar_zaYeah
13:23:11BitPuffindid it work?
13:26:58Trixar_zaNot the copy I tried. It booted to a blue background screen on both PCs
13:27:15Trixar_zaReactOS that is
13:27:30Trixar_zaI still have to try Haiku - just reading the docs before I try it :P
13:27:37BitPuffinhaiku also has a blue background xD
13:27:56BitPuffinwhat do you need the docs for?
13:31:31*circ-user-c7L9O quit (Remote host closed the connection)
13:32:01Trixar_zaJust checking if there is anything weird
13:32:19Trixar_zaSeems to follow expected conventions pretty closely
13:32:47Trixar_zahttp://development.pistooli.com/?p=164
13:33:15Trixar_zaHehehe, I actually have a old PIII with 128MB of RAM lying around that I haven't tested yet
13:33:43Trixar_zaI assume it has atleast a 800Mhz processor in it
13:33:56BitPuffinprobably works reasonably well
13:34:00BitPuffinHaiku is seriously slim
13:34:23Trixar_zaI was going to use it for a Windows 98 machine (it only has a 4GB HDD in it)
13:34:31Trixar_zaBut maybe I can test Haiku on it
13:34:49BitPuffingo ahead
13:36:21Trixar_zaI see the official channel is here :P
13:37:31zahary_nimrod starts getting questions on stackoverflow :)
13:37:32zahary_http://stackoverflow.com/questions/18514806/ada-like-types-in-nimrod
13:39:18BitPuffinzahary_ yahoo!
13:40:09EXetoCI was like "An OS written in C++ would be awesome" in the past, but I was ignorant back then. They should use Nimrod or some other awesome language :>
13:42:11BitPuffinEXetoC Well since BeOS had a C++ API and was written in C++ it would be silly to write it in anything other than C++ I guess
13:42:15BitPuffinC++
13:42:16BitPuffinC++
13:43:14BitPuffinand nimrod din't exist when the project started so
13:44:59EXetoCjust rewrite it. it'll only take a month!
13:45:13BitPuffinyeah it might since it is in nimrod :P
13:46:04dom96zahary_: awesome :)
13:47:24BitPuffinsomeone should answer
13:49:39dom96hah, thats the guy who was in here before
13:49:40BitPuffinlooks like the Ada code translates almost directly to nimrod
13:50:03BitPuffintype TDayType = range[1..31]
13:50:05dom96and Araq got annoyed by him.
13:50:24dom96!seen gour
13:50:24NimBotgour was last seen on Sun Mar 24 15:49:30 2013 leaving #nimrod with message: "WeeChat 0.4.0"
13:50:35BitPuffinpowerful message
13:50:58EXetoC0.4.0. such an old version
13:51:06BitPuffinyeah
13:51:14BitPuffin0.4.1 is where it is at xD
13:51:31EXetoCoh it hadn't been released at that time. ok that's fine then
13:51:52AraqEXetoC: I'm here now. So repeat your question in words I understand.
13:52:03BitPuffinklingon?
13:52:42BitPuffinEXetoC SSL in weechat is kind of a pain though
13:53:35*DAddYE joined #nimrod
13:57:19Araqdom96: "Crash when Windows OS + x86_64 removed from architecture in .ini file."
13:57:33Araqwell windows must not be deleted
13:58:44dom96ok
13:59:05dom96then maybe niminst should complain when it is?
13:59:44AraqI'm looking at the code and try to remember why windows is that important
14:00:01*DAddYE quit (Ping timeout: 245 seconds)
14:01:30Araqwell windows has its own batch generation logic
14:01:41Araqso it has to get a fixed index
14:03:51dom96I'm sure you could detect these things
14:08:11EXetoCBitPuffin: some claim that IRC over SSL is pointless though
14:09:14Trixar_zaThey say the same about identd and pretty much everything else
14:09:30Trixar_zaIRC people like to complain a lot
14:09:59EXetoCyeah, and people are often wrong in general
14:11:12BitPuffinit isn't completely pointless
14:11:49BitPuffinYour messages sent to the server are encrypted. However the messages relayed to a client that isn't using ssl are not encrypted
14:12:07BitPuffinBut then someone snooping would have to know who I am speaking to and find a weak link
14:12:10BitPuffinnot that I care that much
14:12:18BitPuffinI just think it is good to have SSL
14:12:24BitPuffinfor everybody's sake :)
14:14:29Trixar_zaWell, not really. You just need to be on the same server as the IRCd or one of the servers enroute to who you're talking to
14:15:08BitPuffinisn't it same channel?
14:15:15Trixar_zaUnless you use DCC Chat, then the route is the only way, but it unlikely
14:15:42Trixar_zaNope, everything that happens on the server is relayed through the IRCd
14:16:06Trixar_zaso if you listen on the IRCd's connection, you can read all the unencrypted messages passed through it
14:16:44BitPuffinhm
14:16:46BitPuffinWell
14:17:07BitPuffinthere was something in the weechat manual or something that showed how you use ssl properly
14:17:13BitPuffinbut I didn't go in to it all that much
14:28:01Trixar_zaI tend not to worry about it
14:28:34Trixar_zaThe effort involved is too great for people to bother with strangers
14:29:24EXetoCit's a matter of principle for many
14:30:12Trixar_zaI tend to believe in humanities great ability to not be arsed with things
14:30:13Trixar_za:P
14:30:23Trixar_zahumanty's*
14:31:19Trixar_zaPrinciple be damned. Most people with the access or ability to do so really cba to do so with random strangers or even people they know. They tend to reserve it for enemies
14:32:05Trixar_zaAnyway, let's play with this Haiku CD
14:34:15EXetoCbah, google auto correction bullshit. gotta deal with this some time
14:43:24*ltbarcly joined #nimrod
14:48:05*ltbarcly quit (Ping timeout: 248 seconds)
14:53:43*ltbarcly joined #nimrod
14:56:43*DAddYE joined #nimrod
14:58:13*ltbarcly quit (Ping timeout: 248 seconds)
15:03:22*DAddYE quit (Ping timeout: 256 seconds)
15:16:47*BitPuffin quit (Quit: Vision[0.9.7-H-280704]: i've been blurred!)
15:30:48*BitPuffin joined #nimrod
15:59:48*DAddYE joined #nimrod
16:06:15*DAddYE quit (Ping timeout: 245 seconds)
16:14:40NimBotAraq/Nimrod master 5f1c97f Araq [+0 ±1 -0]: tester compiles again
16:32:13*ltbarcly joined #nimrod
16:51:51*DAddYE joined #nimrod
16:51:56*DAddYE quit (Remote host closed the connection)
16:52:39*DAddYE joined #nimrod
17:23:30*io2 joined #nimrod
17:50:33*OrionPK joined #nimrod
18:01:41EXetoCAraq: nevermind that
18:01:55EXetoCI guess math.nim also needs to be patched
18:03:23EXetoCor should no such convenience be added? math.h operates mostly on double's
18:03:52EXetoC*doubles
18:05:26EXetoChm, I think it changed in C99. do we target it? overloads could be added either way
18:13:22*brson joined #nimrod
18:28:57*shodan45 joined #nimrod
18:46:04BitPuffinwhy target C99 when you can target C11
18:46:26dom96we target ANSI C iirc
18:57:13BitPuffinisn't C11 the latest ANSI C?
18:57:37dom96dunno
19:00:26OrionPKC++11 isnt ansi C
19:03:26AraqEXetoC: in general we avoid C99 here
19:03:59Araqmicrosoft doesn't support it and the C99 looks like the worst revision of the standard ever ;-)
19:06:37BitPuffinAraq Do you like 11?
19:07:10Araqhaven't looked at it but I doubt it; has it some builtins to detect integer overflows finally?
19:07:26BitPuffindon't know really
19:07:30BitPuffinit comes with threads though
19:07:31BitPuffinso yay
19:13:32EXetoCOrionPK: no, but I think C11 is :p
19:15:25EXetoCoh, ISO
19:15:54EXetoCor something
19:18:11*darithorn joined #nimrod
19:18:27OrionPKof course
19:18:28EXetoCAraq: ok. should the interface have support for multiple float types still? it'd be convenient, and adding support for internal float32-specific versions later would be easy
19:18:32OrionPKreading comprehension fail
19:19:00EXetoCsome casts need to be performed when using float32, like with the other functions previously because of the recent changes
19:19:50Araqwell I've no idea how much code that broke
19:20:06Araqwe might add the float->float32 conversion back now
19:20:42Araqlet me check
19:21:18EXetoChm, it probably broke a lot of OpenGL-oriented code at least
19:22:11Araqyeah not good
19:23:34BitPuffinI wonder how much on average nimrod cuts down on code amount compared to C
19:23:41AraqHint: operation successful (66666 lines compiled...
19:23:45EXetoC:>
19:23:49BitPuffinAraq :O
19:24:01Araqfunny huh? ;-)
19:24:06EXetoCBitPuffin: 5-10x?
19:24:29Araqmore like 3x I think
19:24:55EXetoCyeah
19:26:51BitPuffinwhat
19:27:03BitPuffinso you actually cut the code amount in 3 you think?
19:27:21EXetoCdoesn't seem that crazy
19:27:33*Mat2 joined #nimrod
19:27:35Mat2hello
19:27:39EXetoCAraq: so you want to revert it? I hope it's temporary then
19:27:55AraqEXetoC: I'm doing something about it
19:27:56EXetoCbut the error messages are pretty clear, so updating code shouldn't take *that* long
19:28:02EXetoCok
19:28:09Araqyou have no idea how much code we have ...
19:31:24AraqError: ambiguous call; both system.*(x: float, y: float): float and system.*(x: float32, y: float32): float32 match for: (cfloat, float)
19:41:09NimBotAraq/Nimrod master 71f9039 Araq [+0 ±1 -0]: conversions to float32 are allowed again but of lower priority
19:41:28AraqEXetoC: I hope that doesn't cause regressions ...
19:44:24Araqoh lol
19:44:41AraqError: ambiguous call; both system./(x: float32, y: float32): float32 and pegs./(a: varargs[TPeg]): TPeg match for: (TPeg, TPeg)
19:44:49Araqthat doesn't look right :P
19:48:07NimBotAraq/Nimrod master a8e1158 Araq [+0 ±1 -0]: bugfix: conversions to float32 are allowed again but of lower priority
19:50:16Mat2have someone worked on fixpoint arithmetic before ?
19:50:34Araqnope
19:51:21*Mat2 adding it to my todo list
19:58:52EXetoCAraq: seems to work. I just had to change "x -= 1" to "x -= 1.0" (x is float32)
19:59:20EXetoCone line
20:00:08Araqhmm. how come it worked before?
20:01:53EXetoCwhat do you mean? the conversion rules were very relaxed not long ago
20:02:12Araqwell all conversions are now valid again
20:02:18Araqso I wonder what changed
20:03:07BitPuffinAraq any plans to add a pragma for saying that the compiler should compile to C++?
20:03:28EXetoCAraq: nevermind
20:03:38EXetoCforgot to stash my system.nim
20:03:45EXetoCI always forget that when changing branch
20:04:13AraqBitPuffin: yeah I planned to support c++ output on a per module basis
20:04:38BitPuffinAraq that would be super great
20:05:58EXetoClots of untracked test binaries
20:06:25AraqEXetoC: I blame Unix for not having an .exe extension
20:06:57Mat2hm?
20:07:26AraqMat2: you can easily tell git to ignore .exe files ... but such things do not exist on Linux/Unix
20:08:44Mat2oh, doesn't know that
20:09:39*Mat2 not much experience with git, only mercurial
20:09:51comexreally, that's git's fault, its home is unix and it should be able to ignore based on permission
20:11:18Araqpermission doesn't cut it, shell files are executable too
20:11:40Araqit's really stupid to only have file extensions for some things and not for others
20:12:19comexand some shell files should be ignored, such as configure
20:12:24comex(but not others)
20:12:27Araqyep
20:12:35comexperhaps the answer is to have the build system integrate with git and ignore files it generates
20:13:05Araqmy answer is to finally get rid of this hack of the 70ies ;-)
20:13:47comexwhat, configure?
20:13:52Araqunix
20:14:18comexhaving file extensions does not solve the "some files of the same type are generated, some are not" problem :)
20:14:34Mat2well, the design of xNix is basical a hack of the 70ies
20:14:43comexwell
20:14:45comexi wouldn't mind a fixed unix
20:14:53Araqcomex: well it's no problem on DOS :P
20:15:05comexbut Windows is so dysfunctional on the command line, it's hard to imagine you could possibly prefer it
20:15:28Araqcommand line shells are all brain dead and I avoid them like the plague anyway
20:15:41Araqinsane quoting rules, archane syntax etc.
20:16:12Araqwindows' powershell actually is far superior :P
20:16:21Araqbut its syntax is just as brain dead
20:16:22comexeven though bash could hardly be worse (except for dos), i find it hard to imagine how much productivity I would lose by being unable to do trivial interactive shell scripts
20:16:26comexdunno about powershell
20:16:53*Mat2 avoiding GUIs if possible (too restricted, to complicated)
20:19:37Araqcomex: so use perl/ruby/python instead, oh wait they run on windows too. hmm.
20:20:12comexnot nearly as easy to write interactively
20:20:36Araqno idea what makes you say that
20:42:00EXetoChack? well, it gets the job done for me
20:47:32NimBotAraq/Nimrod master da5a148 Araq [+1 ±3 -0]: fixes #578
20:54:26NimBotnimrod-code/Aporia master 7c70c7a Kamil Chmielewski [+0 ±1 -0]: Complex statement without indentation error
20:54:26NimBotnimrod-code/Aporia master 5253f78 Dominik Picheta [+0 ±1 -0]: Merge pull request #40 from kamilchm/ComplexStatementError... 2 more lines
20:55:44*fowl joined #nimrod
20:56:35Araq"complex statement without indendation error"?
20:57:05fowlhellos
20:57:13Araqhi fowl
20:57:18fowlwhats new
20:57:46AraqMat2 will give us a native code generator ;-)
20:58:05fowlwhats that
20:58:23fowlgenerating 1s and 0s instead of c?
20:58:30Araqyeah
20:58:49Mat2hi fowl
20:59:05fowlinteresting
20:59:05fowlhey
21:00:07EXetoCfor what platforms? are you writing it from scratch?
21:00:42Mat2yes, from scratch, do you mean cpu architectures = platforms ?
21:01:54Mat2AMD64 (finished), ARM6, ARM Thumb, MIPS5, MIPS3, AVR32 and MSP340 at current
21:02:32Mat2^MSP430x
21:02:51dom96what about x86?!
21:04:05Mat2all recent x86 CPU's I know of share the AMD64 comp. ISA
21:04:21Araqdom96: x86 is finally obsolete enough
21:04:34Araqfor the first versions at least
21:04:43Mat2I agree
21:04:45dom96also you've finished the native amd64 code generator for *nimrod* ?
21:06:35Mat2it works and I can compile some test routines, only needs some bug fixes (I had assembled the instruction routines at hand)
21:08:03Mat2the integration into the Nimrod sources will need some time however
21:09:34Mat2writing backends for the other CPU architectures is an easy task (except for ARM because there exist so much incompatible SoC's)
21:10:14dom96wow, awesome.
21:10:27fowlso there is time to plan a party
21:11:38dom96I still think that x86 is far more common than MIPS5, MIPS3, AVR32 and MSP340 (and probably ARM too). Wouldn't it make more sense to support it?
21:12:37*BitPuffin quit (Quit: Vision[0.9.7-H-280704]: i've been blurred!)
21:12:44Mat2I do not see much demand, except supporting old systems
21:14:52Mat2also note that the market for personal computers is only a fraction in terms of CPU usage
21:15:28dom96hrm, good point.
21:17:01Mat2however, before comnpiling my sources to native-code there is still some work to do (and this means testing, testing and testing)
21:17:15dom96I wonder where I could find stats on CPU architecture market share.
21:18:18Mat2http://www.electronicsweekly.com/news/components/arm-to-take-68-of-embedded-processor-market-2013-02/
21:18:50fowlMat2, are you a mad genius or just a genius
21:19:29dom96Mat2: Doesn't really give a lot of info about every architecture.
21:19:36dom96I wonder how popular PPC is
21:20:08Mat2fowl: do not think in such categories
21:21:01Mat2dom96: It will take you some time consuming investigations to get any decend analysis of this topic
21:21:39EXetoCyeah. dedication can go a long way, as long as you aren't completely stupid :p
21:23:07Mat2dom96: well, it's populary will grow because IBM have opened there Power architecture this month (specially for embedded CPU vendors)
21:36:53*fowl quit (Remote host closed the connection)
21:37:01*EXetoC quit (Read error: Connection reset by peer)
21:37:14*BitPuffin joined #nimrod
21:37:29*fowl joined #nimrod
21:38:12*EXetoC joined #nimrod
21:58:21Mat2get some sleep, ciao
21:58:48*Mat2 quit (Quit: Verlassend)
22:00:37BitPuffindom96 also tried not compiling with service now
22:00:39BitPuffinno luck
22:01:38BitPuffinnow the error is in nimrod.c
22:02:02dom96still socket error?
22:02:12BitPuffinhttp://pastebin.com/4PCndad9
22:02:19BitPuffinnot only socket
22:02:52dom96i'd guess the socket stuff has a knock-on effect
22:03:31BitPuffinso painful
22:03:37BitPuffinI really wanna run nimrod on haiku
22:04:05AraqBitPuffin: I would add {.deprecated.} to sockets.nim and then the compiler tells me where it's used in the compiler and I'd add a bunch of 'when not defined(barebones)' around the socket usages
22:04:21Araqand then generate the C code with -d:barebones
22:04:32BitPuffinAraq Well the problem is that I am working strictly with csources in this case
22:05:28BitPuffinnot a bad idea though
22:06:06*io2 quit ()
22:07:18BitPuffinAraq how come you never finished the port btw? Just asking for fun
22:08:22Araqhaiku doesn't work properly on my virtualbox
22:08:43BitPuffinin what way?
22:08:52BitPuffinI remember having issues with mouse capturing waay back
22:08:57BitPuffinI am not running in a vm atm though
22:10:54*circ-user-L5QKs quit (Remote host closed the connection)
22:12:00Araqinternet doesn't work for instance
22:12:11Araqalso I dislike its menus
22:12:32BitPuffinwhat about the menus?
22:13:03Araqtoo convoluted
22:13:12BitPuffinelaborate
22:13:37Araqhaiku->system->tools->whatever
22:13:50BitPuffinah
22:13:53fowlbut the sliding window titles
22:14:04BitPuffinwell that is just because it is the file structure
22:14:07fowlmake up for everything right
22:14:15BitPuffinfowl hellyeah
22:14:20Araqand yeah it still keeps unix's usr/local/bin madness
22:14:32fowlis everything still in /boot
22:14:41AraqI expect better from a modern system
22:14:51BitPuffinAraq no? what usr/local/bin stuff?
22:15:08BitPuffinthere is /boot/system/bin
22:15:16BitPuffinfowl iirc /boot is not a real directory
22:15:20BitPuffinor maybe it was /
22:15:53BitPuffinand /boot/home/config/bin
22:16:03Araqnever mind, I'm wrong about that one
22:22:39BitPuffinI dunno
22:22:51BitPuffinI have never seen anything as simple as the menu in haiku
22:22:56BitPuffinit is really just a file browser
22:23:00BitPuffinso to add something to the menu
22:23:04BitPuffinyou add it to the directory
22:23:05BitPuffindone
22:23:27AraqI missed that :P
22:23:28BitPuffinnot a bunch of .desktop bs
22:23:31Araqindeed that's cool
22:23:33fowli think they made a mistake in not basing haiku off of linux
22:23:41BitPuffinI don't think so
22:23:54fowllinux already has some drivers
22:24:01fowlhaiku has to rewrite everything
22:24:11fowli just want the beos WM
22:24:12BitPuffinwell
22:24:24BitPuffinthey want binary compability with beos
22:24:55BitPuffinand I am happy that they aren't basing it off linux
22:24:59BitPuffingets rid of gpl
22:25:10BitPuffinfowl by the way I think there already is/was a linux distro for that
22:26:27EXetoCAraq: don't use /usr/local/bin if you don't want to
22:27:19EXetoCI put manually installed software in a directory other than /usr/bin etc, so I might as well use /usr/local/bin in that case. that's usually how that directory is used I think
22:27:26AraqEXetoC: the compiler has a bug, it doesn't know about /usr/local/etc or something. How does "don't use it" help me?
22:27:31fowlthere is an openbox or fluxbox beos theme with slidy titlebars
22:27:39fowli used it years ago but havent seen it since
22:28:09AraqEXetoC: I still have to know all this shit to produce portable software that plays nice on the OS
22:42:37BitPuffinfowl just install haiku already ;)
22:42:44EXetoCand a million other things, surely
22:42:48BitPuffinI have almost compiled nimrod
22:42:49BitPuffinlol
22:49:19BitPuffinnooo what the hell
22:49:26BitPuffinthis is a real headache :(
22:49:41BitPuffinpoking at the C sources is not fun xD
22:50:04Araqdo what I told you. much easier
22:50:18BitPuffineasy if you already have a nimrod compiler indeed
22:50:43BitPuffinI was planning on doing that after I managed to compile the c sources
22:51:27BitPuffinthis one line in sockets causes a whole chain of poop
22:51:45Araqboot up some other OS where you've got a working nimrod
22:52:16BitPuffinsrc/2_1/sockets.c:347:42: error: 'MSG_NOSIGNAL' undeclared (first use in this function) oh how I dread you
22:52:19BitPuffinyeah
22:52:20BitPuffinI guess
22:53:14BitPuffinAraq should I only deprecate that one function?
22:53:21BitPuffinActually I am not sure what you said would be any easier
22:53:33BitPuffinThat line should in theory still cause a chain of poop
22:53:52Araqput {.deprecated.} as a top level statement to mark the module as deprecated
22:55:58BitPuffinbut I mean breaking sockets breaks msgs which breaks sigmatch which breaks sem
22:56:01BitPuffinor something like that
22:56:12BitPuffinand sem is pretty important
22:56:32Araqshould I do it? :P
22:56:40BitPuffinif you dare
22:58:27BitPuffinI just don't see how putting when not defined barebones is any different from just commenting the evil functions out
22:58:31BitPuffinwhich is what i have been doing
22:58:57BitPuffinbut just because you are you I am sure it will work without a problem for you
22:59:06BitPuffinhaha :)
22:59:43Araqwell the compiler worked for years without sockets
23:00:07BitPuffinhow come it uses sockets now?
23:00:12BitPuffinspeed?
23:01:35BitPuffinit's not like haiku lacks sockets either
23:01:47BitPuffinthere are a lot of socket libs lolo
23:02:05BitPuffinsocket.h in /boot/develop/headers/posix/sys for example
23:02:42*fowl quit (Quit: Leaving)
23:03:36Araq"compiler as a service" uses sockets
23:03:52BitPuffintake a looksy http://pasteall.org/pic/show.php?id=58441
23:04:00BitPuffinAraq Yeah dom96 said that
23:06:23BitPuffinisn't there a simple flag to disable compilation of CAAS?
23:06:29BitPuffinthat should be off for haiku
23:06:35BitPuffinuntil someone ports sockets
23:06:42Araqwell that's what I suggested
23:06:52Araqadding this disable switch
23:06:53BitPuffinnot sure why you would do caas on a desktop os though
23:07:08Araqcaas is for IDE support
23:07:17AraqIDEs tend to work on desktops ...
23:07:23BitPuffinoh
23:07:30BitPuffinso it's not for running caas?
23:07:37BitPuffinit is for using caas?
23:08:07BitPuffinor ohh
23:08:12BitPuffinyou mean the compiler is running constantly
23:08:17Araqyes
23:08:18BitPuffincompiling and checking for errors
23:08:22BitPuffinfor the IDE
23:08:24BitPuffingotcha
23:24:53*ltbarcly quit (Ping timeout: 248 seconds)
23:50:41BitPuffinAraq having a haiku ide would be pretty sleek