<< 02-09-2013 >>

00:14:24*DAddYE joined #nimrod
00:20:50*DAddYE quit (Ping timeout: 245 seconds)
00:51:06*EXetoC quit (Ping timeout: 264 seconds)
01:17:34*DAddYE joined #nimrod
01:23:45*DAddYE quit (Ping timeout: 245 seconds)
01:45:52*q66 quit (Quit: Leaving)
02:20:47*DAddYE joined #nimrod
02:27:08*DAddYE quit (Ping timeout: 256 seconds)
02:40:18*darithorn quit (Ping timeout: 268 seconds)
03:17:39*darithorn joined #nimrod
03:23:41*DAddYE joined #nimrod
03:30:14*DAddYE quit (Ping timeout: 264 seconds)
04:27:07*DAddYE joined #nimrod
04:30:13*Raynes is now known as solson
04:30:23*solson is now known as Raynes
04:33:53*DAddYE quit (Ping timeout: 256 seconds)
05:12:23*Ricky_Ricardo joined #nimrod
05:29:59*DAddYE joined #nimrod
05:36:42*DAddYE quit (Ping timeout: 264 seconds)
05:40:44*MFlamer joined #nimrod
05:42:23MFlamerHi, anyone else on?
05:52:39*Araq0 joined #nimrod
05:53:01Araq0I am here
05:59:31Araq0Bbl
05:59:37*Araq0 quit (Quit: Bye)
06:17:14*Associat0r quit (Quit: Associat0r)
06:26:02*Ricky_Ricardo quit (Quit: laptop[lid].close)
06:33:05*DAddYE joined #nimrod
06:38:02*DAddYE quit (Ping timeout: 264 seconds)
07:06:44*Araq_ joined #nimrod
07:12:35Araq_hi MFlamer, welcome
07:13:58Araq_your gist looks good :-)
07:14:19MFlamerthanks! I'm excited to help
07:15:28MFlamerI'm gonna get some sleep and see if I can get it to work tomorow
07:19:51*MFlamer quit (Ping timeout: 250 seconds)
07:33:54*DAddYE joined #nimrod
07:40:00*DAddYE quit (Ping timeout: 245 seconds)
08:11:21*DAddYE joined #nimrod
08:33:45*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812])
08:58:24*xyproto left #nimrod ("WeeChat 0.4.1")
09:00:14*DAddYE quit (Remote host closed the connection)
10:01:21*DAddYE joined #nimrod
10:07:30*DAddYE quit (Ping timeout: 245 seconds)
10:24:22*q66 joined #nimrod
10:28:34*faassen joined #nimrod
11:04:21*DAddYE joined #nimrod
11:11:02*DAddYE quit (Ping timeout: 264 seconds)
11:36:33*MFlamer joined #nimrod
11:47:13*MFlamer quit (Ping timeout: 250 seconds)
12:07:40*DAddYE joined #nimrod
12:08:41*Araq_ joined #nimrod
12:14:10*DAddYE quit (Ping timeout: 245 seconds)
12:19:52*darithorn quit (Ping timeout: 246 seconds)
12:34:59*ltbarcly joined #nimrod
12:36:37*ltbarcly__ quit (Ping timeout: 268 seconds)
13:10:48*DAddYE joined #nimrod
13:17:38*DAddYE quit (Ping timeout: 264 seconds)
13:44:22BitPuffinAraq did you commit the and not defined(haiku) to math and fixed the config?
13:58:00BitPuffinSo when binding a C++ library for nimrod. How would one deal with protected?
14:01:59*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812])
14:07:35BitPuffinaw
14:07:40BitPuffinbabel doesn't build in haiku
14:07:43BitPuffinbecause sockets :(
14:10:46profmakxdoes haiku not have sockets at all?
14:11:21BitPuffinit does have sockets
14:11:49BitPuffinit even has posix socket
14:13:54*DAddYE joined #nimrod
14:15:35profmakxwhy does nimrod then not work with them?
14:15:57BitPuffinThat's what I am trying to figure out
14:16:15profmakxis the network stack in haiku "from scratch" or derived from any other OS?
14:16:32BitPuffinfrom scratch + posix for compability I believe
14:17:45profmakxwow
14:19:59*DAddYE quit (Ping timeout: 240 seconds)
14:20:41BitPuffinthere is socket.h in /boot/develop/headers/posix/sys
14:21:41BitPuffinand AbstractSocket.h in /boot/develop/headers/os/net
14:22:01BitPuffinSecureSocket
14:22:12BitPuffinah
14:22:19BitPuffinSocket.h in /boot/develop/headers/os/net
14:45:24*OrionPK joined #nimrod
14:51:37*Associat0r joined #nimrod
14:51:37*Associat0r quit (Changing host)
14:51:37*Associat0r joined #nimrod
15:00:02*Ricky_Ricardo joined #nimrod
15:01:37BitPuffinGonna file a ticket to haiku
15:01:51BitPuffinthey support the MSG_EOR and MSG_OOB flags in the posix socket
15:01:56BitPuffinbut not MSG_NOSIGNAL
15:02:07BitPuffinhttp://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html#tag_16_514
15:03:14*Boscop joined #nimrod
15:05:32BitPuffinhmm
15:05:33BitPuffinvector.nim(7, 31) Error: ordinal type expected
15:05:47BitPuffin TVector*[T; I:range] = array[I, T]
15:06:05*Boscop quit (Disconnected by services)
15:17:04*DAddYE joined #nimrod
15:24:14*DAddYE quit (Ping timeout: 264 seconds)
15:25:09*io2 joined #nimrod
16:12:42*Mat2 joined #nimrod
16:12:45Mat2hi all
16:12:52Ricky_RicardoGood morning
16:13:06Mat2hello Ricky_Ricardo
16:13:30Ricky_RicardoHow's it going?
16:13:44Mat2fine
16:16:45dom96http://steved-imaginaryreal.blogspot.co.uk/2013/09/nimrod-return-of-pascal.html
16:16:55Mat2hi dom96
16:17:00dom96hi Mat2
16:18:44dom96blog posts about Nimrod yay
16:20:01BitPuffinhmm
16:20:06*DAddYE joined #nimrod
16:20:10BitPuffinseems like the linagl error is nimrod specific
16:21:45dom96BitPuffin: Perhaps Haiku simply doesn't send the SIGPIPE signal by default and that is why MSG_NOSIGNAL is missing?
16:22:04BitPuffindom96 I that error I already knew but that had nothing to do with linagl
16:22:25BitPuffindom96 MSG_NOSIGNAL is not in the socket header on haiku
16:22:31BitPuffinso they must have missed it
16:24:35io2dom96: beat you to tweeting it :P
16:25:12*dom96 is reading it first :P
16:26:18io2oh i DID read it
16:26:20BitPuffinwhy read it? It only teaches you nimrod lol
16:26:20io2:D
16:26:38*DAddYE quit (Ping timeout: 264 seconds)
16:26:47io2BitPuffin: 'tis nice to find interest in something I like myself.
16:26:50dom96hrm, I think a fly just flew into my drink.
16:27:00dom96(Sorry, offtopic :P)
16:27:19BitPuffindom96 are you drinking? that's naughty
16:27:20dom96BitPuffin: It's interesting to see what other people think about Nimrod.
16:27:35BitPuffinio2 hmm?
16:27:46dom96BitPuffin: Yeah, but what am I suppose to do? Die of thirst?
16:27:50io2BitPuffin: about the article
16:28:16BitPuffindom96 yes?
16:29:00dom96:(
16:29:06dom96You want me to die? :(
16:29:08dom96</3
16:30:02*shodan45 quit (Quit: Konversation terminated!)
16:30:36BitPuffindom96 obviously. That's why I started using nimrod - so I could get close to you and make you die!
16:30:39dom96damn, this article is actually pretty long.
16:32:14dom96BitPuffin: That's a cunning plan.
16:32:32BitPuffinI am sinister
16:33:19dom96But with deep regret I must inform you that your plan is not working.
16:33:23*dom96 continues drinking :P
16:33:33BitPuffin:'( oh no woe is me
16:34:23BitPuffinhttp://pastebin.com/GpAUVvEP
16:35:15dom96whoa, you can now link tweets? :O
16:35:41BitPuffinyou've been able to do that for ages?
16:36:03dom96TIL
16:36:09*dom96 just retweets io2's tweet
16:36:20BitPuffintruth in lending?
16:36:26io2lol @ dom96
16:36:39dom96BitPuffin: Today I learn :P
16:36:45BitPuffinyeah
16:36:47BitPuffinhoho
16:36:47Mat2the article is tendentially positive about Nimrod
16:37:02dom96indeed. Off we go to the redditssss.
16:37:03Mat2hi io2 and BitPuffin
16:37:50io2hello Mat2
16:37:57BitPuffinhey Mat2
16:38:04dom96But I still feel like I should read it first.
16:38:13io2read it, you will like it
16:38:43io2i just happened to find it before you put it in here through a different source :P
16:39:04Mat2can I set the actual offset of a sequence ?
16:39:06dom96how did you find it?
16:39:49BitPuffindom96 since you have such a pretty blog generator maybe you should work on making nimdoc generate beautiful documentation
16:39:55BitPuffinthat is searchable
16:40:06io2dom96: g+
16:40:06dom96Pleasing Araq is hard though.
16:40:25io2the author posted it there and while I was searching for stuff I found it
16:40:47io2"Nimrod is a good fit where C and C++ are often used. We've seen that 'userland' utilities like head can be efficiently implemented in Nimrod, and the resulting executables are typically less than a 100kb and usually have no external dependencies. This makes it a good fit for CGI since they will load as fast as C. With Go, people found statically-linked executables a good way to manage the problem of managing dependencies on deployed machines. Nimrod
16:40:48io2provides this without Go's approach of reimplementing the whole C runtime."
16:40:48dom96Upboats plz http://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/
16:41:01BitPuffinIt's a bit silly to say but I think by having pretty websites for nimrod would probably help
16:41:12io2BitPuffin: a lot
16:41:33BitPuffindom96 Sec just let me log in
16:41:41Mat2io2: Go reimplementing ... these ehm traditional hacked runtime ?
16:41:41dom96BitPuffin: It's not silly at all. Our new front page certainly helped.
16:41:55io2Mat2: I like Go, to a point.
16:42:01BitPuffindom96 Yeah the front page is not all that bad!
16:42:11dom96filwit designed it, I wish he had time to design the docs.
16:42:18io2what I don't like about it is that ... well, it is too hand - holding and lovely and stuff like that... you understand what I mean.
16:42:23BitPuffindom96 first upvote goes to the puffin!
16:42:55io2Go does not have anything NEAR the metaprogramming facilities nimrod has for starters
16:43:16io2for me, that is a #1 thing for starters.
16:43:24dom96BitPuffin: :D
16:44:01dom96io2: Yeah, and also no generics... and it wants you to not use exceptions which I personally dislike.
16:44:03BitPuffinAw
16:44:13Mat2io2: well, Go was designed as C without the usage
16:44:24BitPuffina guy I know was just harsch on nimrod :(
16:44:26io2dom96: the thing about Go is that they are trying to bolt "generics" afterwards
16:44:38io2at some point in the future... well, what...
16:44:41dom96BitPuffin: Yeah... Guy(s) I knew were the same.
16:44:56BitPuffindom96 then you dumped them? lol
16:45:00dom96hell yeah
16:45:08dom96Took me way too long though.
16:45:10io2Mat2: I don't need Go as a C replacement, C works quite well for what it does and this is why it is not going away anytime soon.
16:45:14BitPuffinNo but he thought that 39kb for hello world was insane
16:45:28BitPuffinand bloated
16:45:33BitPuffinotherwise he thinks it looks cool
16:45:48dom96That doesn't seem super harsh :P
16:46:05BitPuffinnah
16:46:09BitPuffinbut it was critique
16:46:40io2just think about this or a minute: it is Go's standard library and its C-ness in producing end binaries that appeals to people
16:47:14io2Go is fairly young and at times a bit... forced into being adequate. That is my 2c on this.
16:48:15dom96It really sucks how much hype Go gets just because Google is behind it, and whatchma call him.
16:48:19dom96Rob Pike?
16:48:30*dom96 is content with Nimrod
16:48:33io2regardless
16:49:01io2I like C, C++, Scala, Haskell, Rust and Clojure.
16:49:05dom96I don't get why all these languages are so insistent on using a C-like syntax.
16:49:16Ricky_Ricardoyeah!
16:49:18io2I really really like them. Nimrod got added to the languages I enjoy.
16:49:18Ricky_RicardoWHY!?
16:49:46dom96well, I guess the reason is kinda obvious: because C is popular.
16:50:18io2and imagine that C is practically assembly on steroids :)
16:50:32io2:P
16:50:32dom96But popularity is not always proportional to quality.
16:51:10BitPuffinI managed to get my hello world down to 8.34 bytes
16:51:10dom96I'm sure Python got a LOT of grief for being so different in regards to syntax.
16:51:16BitPuffinwith d:release and gc:none
16:51:21BitPuffinwhat else can I do to make it smaller?
16:51:26dom96BitPuffin: --opt:size
16:51:29dom96iirc
16:51:41BitPuffindom96 I tried that but that made it larger lol
16:51:46dom96lol
16:51:48io2dom96: there are lots of reasons why I never managed to get really attracted by python; one of them has to do with the fact that I feel it as a hack.
16:51:49dom96weird
16:51:57io2by/to*
16:52:17Mat2io2: C is just a terrible language in most design aspects compared to priour languages for system-programmings in my opinion- but you can quite easily program in a correct way and save your job because of compiler related incompatiblities ;)
16:52:45BitPuffindom96 but with gc off it was smaller!
16:52:46BitPuffinstrange
16:52:52BitPuffinwhen I added opt:size i mean
16:52:52dom96io2: Perhaps it's just a matter of what you started with.
16:53:03io2Mat2: getting things done is not about having the perfect tool that does what you want, but a tool that does just what you want :)
16:53:23dom96BitPuffin: So, --gc:none -d:release and --opt:size? what size is it?
16:53:25io2dom96: remember turbo pascal?
16:53:36BitPuffindom96 8.26
16:53:39BitPuffinkb
16:54:09dom96io2: hah, i'm not that old :P
16:54:14io2I know
16:54:29io2well, it was one of the languages I liked, before they ... destroyed it.
16:54:30BitPuffinC hello world takes around 2kb
16:55:00BitPuffinhow can it need so much from system
16:55:02BitPuffinI don't get it
16:55:03dom96BitPuffin: I bet Araq can help you get it even smaller. But your friends critique is silly IMO :P
16:55:03io2or to be exact, one of the pascal environments I enjoyed
16:55:18BitPuffindom96 yeah a bit
16:55:36dom96(5 upvotes :O)
16:57:13*MFlamer joined #nimrod
16:57:24dom96hello MFlamer
16:57:26Mat2io2: getting things done in an efficient way need design and the possibility for secure abstraction. A language which has no strict specification is not helpful in this case
16:57:46io2Mat2: agreed, want to go back to 1984?
16:57:48io2:)
16:58:14Mat2if it works :)
16:58:33io2this is why we have this new age of languages trying out concepts that were excruciatingly analyzed by some of the luminaries
16:58:41io2I sure feel excited about it
16:58:44io2lol @ Mat2
17:00:32Mat2by the way, I found Nimrod a better alternative to C
17:01:41io2...everything has its place, eventually C will meet its fate as everything does. It is not a question of if, but when.
17:02:01io2don't get your hopes high though for anytime soon :P
17:02:18dom96wow, I only just read 1984 yesterday. Curious that you picked that year hah.
17:02:55Mat2there are still demands for Cobol and Fortran (even Algol)
17:02:59io2ha ha
17:03:11io2cobol... yuck.
17:03:22io2did I say yuck ?
17:03:25io2no, super yuck
17:04:02Mat2yes, that language is just horrible
17:05:08Mat2by the way, I know of some attemps using Fortran (95) for operating-system development
17:05:13io2when is that talk by Araq happening?
17:05:30dom96~20th of September, somewhere around that date.
17:05:34io2okie
17:05:55BitPuffinWhat do you guys think of terra btw?
17:06:06Mat2what's terra ?
17:06:14BitPuffinhttp://terralang.org/
17:07:30Mat2damn, I have a similar idea
17:07:44io2BitPuffin: that is curious and thanks for the link
17:08:43io2bbl, been fun!
17:08:44io2:)
17:08:52BitPuffincheers!
17:09:04Mat2ciao
17:09:37*Ricky_Ricardo quit (Quit: laptop[lid].close)
17:12:13*MFlamer quit (Ping timeout: 250 seconds)
17:13:41Mat2terre needs clang, LLVM and(!) luaJIT for building, that's strange
17:13:47Mat2^terra
17:14:50BitPuffinMat2 Guess it uses luajit for the lua part
17:22:01Mat2yes, and LLVM for static code generation; Both is replaceable with libJIT instead, LLVM + clang alone is a huge dependency
17:23:19*DAddYE joined #nimrod
17:23:58BitPuffinanyways
17:24:00BitPuffindom96 you here?
17:24:02BitPuffinDOM!
17:24:04BitPuffinDOMINIKKK
17:24:06BitPuffinPIKETAA
17:24:08dom96OMG WHAT
17:24:11dom96OMG
17:24:13dom96WHATHAHTJSAFBAS
17:24:15BitPuffindon't know how it is spelled lol
17:24:16BitPuffindom96!!!
17:24:19BitPuffinDOM96!!!!!
17:24:24BitPuffinDOOOOOOOOOOOOOOOOOOOOOOOOM
17:24:25dom96OMG IM EXCITED
17:24:26BitPuffin96!!!
17:24:27BitPuffinYES
17:24:28BitPuffinYES
17:24:29dom96THIS BETTAR BE GOOD
17:24:30BitPuffinYEEEEEEEEEEEEES!!!
17:24:36dom96HOLY SHIT WHAT IS IT
17:24:39dom96ITS PICHETA BTW
17:24:52BitPuffindom96 how do you manage protected C++ shit when you write a library binding?
17:24:52dom96BUT YOU SPELLED IT PHONETICALLY PRETTY WELL
17:25:04BitPuffinDOM96 I KNEW IT!!!!
17:27:36dom96pff, that's not /that/ exciting
17:27:40dom96YOU DISAPPOINT ME
17:27:51BitPuffinDOM96 YOU WILL DIE!!!
17:27:55dom96Also, I have no idea how to answer your question. Sorry :P
17:28:43BitPuffindom96 damn you!
17:28:48BitPuffinthen how can you be disappointed
17:28:53BitPuffinI presented you with a challenge!
17:28:56BitPuffinMJAAARF
17:30:04dom96I NEVER ACCEPTED
17:30:14*DAddYE quit (Ping timeout: 264 seconds)
17:30:38*dom96 doesn't even know what protected shit you refer to
17:30:51dom96My C++ is at a fairly noob level ;p
17:31:25BitPuffindom96 You don't know what protected means?
17:31:37BitPuffindom96 it's basically the middleground between public and private
17:31:49BitPuffindom96 it isn't visible to the outside. But if you inherit you get access to it
17:32:02dom96ooohhhh
17:33:39dom96It's an OOP thing, no wonder I don't know it hah.
17:34:32OrionPKprotected isnt a C thing, and nimrod compiles to C
17:34:46dom96Nimrod can also compile to C++
17:34:54OrionPKyeah, but I imagine it's pretty c-like C++
17:35:04OrionPKI've never looked though
17:35:15dom96omg, so many annoying people commenting in my reddit thread.
17:35:25OrionPKwhich thread?
17:35:29dom96http://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/
17:35:34dom96OrionPK: Upboats plz btw
17:35:36OrionPKoh dear
17:39:11BitPuffin9 points! We'll be on top in no time!
17:39:26dom96We're #3
17:39:32dom96Quick! Downvote everyone above us!
17:39:42BitPuffin"Stopped reading at var name =." lol
17:39:44BitPuffinfgt
17:39:51dom96lol
17:40:40BitPuffinactually I didn't like var at first either
17:40:52BitPuffinBut I think it is a good distinguisher between var and let and const
17:42:07Mat2stopped going into the fast-food restaurant after reading 'blue decoration'
17:42:45BitPuffinstopped playing the violin when I noticed it doesn't have frets
17:43:02Mat2*lol* yes
17:43:28Mat2what a silly argument
17:44:07BitPuffinI replied haha
17:44:16dom96You might as well say "Stopped reading when I noticed that I need to go take a crap"
17:44:30BitPuffinstopped pooping when I noticed the smell
17:44:33Araqguys ... what's so hard about helping the people on the forum?
17:44:42Mat2hi Araq
17:44:44BitPuffinAraq There is a forum? :P
17:44:51dom96Araq: I'm trying, BitPuffin keeps distracting me.
17:44:58BitPuffindom96 stfu
17:45:02dom96:P
17:45:05BitPuffin:)
17:45:44OrionPKas a primarily C# programmer, I like var :)
17:46:11*Ricky_Ricardo joined #nimrod
17:46:41Mat2I like tortillas with cheese ;)
17:46:49Mat2hi OrionPK
17:46:55*Ricky_Ricardo quit (Client Quit)
17:46:59BitPuffinLike I get the initial reaction
17:47:05dom96Mat2: me too!
17:47:06BitPuffinwhen you see var you kind of expect js
17:47:08OrionPKhi
17:47:15BitPuffinbut that doesn't stop you from taking a closer look
17:47:16OrionPKeverybody likes tortillas with cheese
17:47:24BitPuffinif I was that stupid I wouldn't be in here today lol
17:47:26OrionPKaka casadillas
17:47:44OrionPKi wish C++'s auto was 'var' ;)
17:48:16*MFlamer joined #nimrod
17:48:20OrionPKI'm not evil enough to #define var auto though
17:49:07Mat2you're be free defining the whole Algol syntax
17:49:35Mat2there's near a 1:1 equivalence
17:49:39vegaithat blog article up there says that import brings everything from a module to current scope
17:49:57vegaithat true? Are there any alternatives?
17:50:01OrionPKyeah.. only exported things, isnt it?
17:50:07OrionPKaka with *
17:50:24dom96indeed
17:50:49OrionPKin your module, proc name*() is public
17:50:53Mat2by the way: Is there any way to set the actual write-offset into a sequence ?
17:50:53OrionPKproc name() isnt public
17:51:22BitPuffinAraq How do I deal with protected in C++
17:51:26BitPuffinwhen I bind nimrod code
17:51:51vegaiwhat would happen with name collisions?
17:52:31*MFlamer quit (Ping timeout: 250 seconds)
17:52:57OrionPKbitpuffin, write a C++ class that inherits from that class and write a method that wraps it publicly?
17:53:11OrionPKvegai, you specify the module name . proc name if there is a collision
17:53:20BitPuffinOrionPK hm
17:53:33AraqBitPuffin: I don't know, just make it public
17:53:50BitPuffinAraq yeah possibly
17:55:58*shodan45 joined #nimrod
18:01:00Mat2ok, I want to set the position of a sequence from whereby I add elements: 'seq.add (x)'
18:01:12Mat2somethink like seq.seek (n)
18:01:35AraqMat2: setLen ?
18:01:58Mat2thanks
18:15:17AraqBitPuffin: the "ordinal type expected" is a known regression due to zahary's changes
18:15:45BitPuffinAraq Weird. Because it worked in linux o.O
18:15:56BitPuffinor did you revert zahary's changes?
18:16:00Araqno
18:16:06Araqit doesn't work for me either
18:16:12Araqyou likely have an older version on linux
18:16:12BitPuffinon windows?
18:16:19AraqI'm on linux
18:16:26BitPuffinAraq I updated just before trying just to make sure
18:16:27*Mat2 is now known as Mat2-bbl
18:17:22zahary_what's the breaking code? I though I've killed this one already
18:19:34Araqtype Bar [T; I:range] = array[I, T] # fails
18:20:54zahary_hrm, I'm still at work and can't try it here
18:21:31AraqI tried to fix it yesterday but failed :P
18:21:37Araqit's not trivial
18:26:27*DAddYE joined #nimrod
18:32:56*DAddYE quit (Ping timeout: 245 seconds)
18:33:30ponce"We use a template which is a higher-order generic that rewrites expressions, much like a preprocessor macro in C/C++:" ouch
18:34:03BitPuffinponce don't I recognize you from some other channel o.O
18:34:11ponceyes, probably #d
18:34:15BitPuffinah
18:34:16BitPuffinyeah
18:34:19BitPuffinthought so
18:34:52BitPuffinAraq Gonna make extra sure I have the latest git version then
18:37:29*EXetoC joined #nimrod
18:38:49AraqEXetoC: please help enurlyx on the forum
18:39:09BitPuffinI am really curios about this forum thing
18:39:12BitPuffinmaybe i should hang thar
18:40:31AraqBitPuffin: look at the topic of this channel
18:40:55BitPuffinAraq I know there is a forum :) I am just kidding because i haven't used it
18:41:13Araqoh ok
18:44:12BitPuffinWe are on top of reddit
18:44:22BitPuffindom96 ^
18:44:38BitPuffin137 comments!
18:46:31*BitPuffin quit (Read error: Connection reset by peer)
18:48:37*BitPuffin joined #nimrod
18:51:24BitPuffinon top of programming obviously not actual main reddit lol
18:57:09poncesubmitted to HN, upvote https://news.ycombinator.com/newest
18:57:14poncefor more hypeness
19:00:49BitPuffinponce are you leaving D?
19:01:12ponceno, but I would be glad that nimrod get the attention it deserves
19:01:27BitPuffinyeah
19:04:18dom96BitPuffin: 137 comments? lies
19:04:28dom96ponce: upvoted!
19:04:50BitPuffindom96 it said so before haiku crashed I swear xD
19:05:58dom96liesssss
19:07:19BitPuffinno it said so
19:07:26BitPuffinmy web browser lied ;_;
19:11:14dom96ok, maybe I believe you.
19:12:06Araqhttp://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/cc0ddes so upvote me ;-)
19:12:43dom96yes, sir.
19:12:58BitPuffinAraq C++? :)
19:14:10dom96no, this is definitely new. Twitter shows a link when replying to tweets. So if you follow two people, and one of those people replies to a tweet by the other person, there is a blue line between them.
19:17:49EXetoCAraq: ok maybe later
19:18:31AraqEXetoC: well the guy is online now ...
19:18:48Araqbbl
19:23:06*enurlyx joined #nimrod
19:26:59EXetoCenurlyx: Indexing is only possible with arrays; at least without some third-party utility. I think fowl has one (fowltek on github).
19:29:17EXetoCyou can do something like this instead "cast[ptr array[3, TGLfloat]]((alloc0(sizeof(TGLfloat) * 4))", which allows you to index it. I'd just declare an array though
19:29:39*DAddYE joined #nimrod
19:30:51enurlyxHello
19:31:03EXetoC"var x=[1.TGLfloat, 1, 1, 0]" should work, and then you can just take the address of it
19:31:04enurlyxThank you for feedback.
19:31:14EXetoCaddr(x) or x.addr
19:32:37EXetoCAraq: he's here now. I think I'd have to reset my forum password anyway
19:35:50*DAddYE quit (Ping timeout: 245 seconds)
19:45:39*Mat2-bbl is now known as Mat2
19:51:30*enurlyx quit (Quit: Verlassend)
19:53:15*enurlyx joined #nimrod
19:53:43Mat2I'm repeatly read forum, does this mean the Nimrod forum or another one ?
19:56:37dom96nimrod forum: http://forum.nimrod-code.org
19:58:29BitPuffinnimrod has a forum??? :O
19:58:39dom96It's in the topic!
19:58:40BitPuffinoh my god!
19:59:33*MFlamer joined #nimrod
20:17:30enurlyxEXetoC: Thanks for the hint. With the casts it works. I was just unsure if i can do this, cause of the gc.
20:19:00*enurlyx quit (Quit: Verlassend)
20:32:41*DAddYE joined #nimrod
20:39:50*DAddYE quit (Ping timeout: 264 seconds)
21:02:23oalhttps://news.ycombinator.com/item?id=6316536
21:02:53oalSame as the reddit link posted earlier
21:03:10Araq"Maybe it's a bird, maybe it's a plane, maybe it's Superman."
21:03:14Araq;-)
21:03:42Araqalso ... impressive how many people know Algol 68 these days ...
21:04:03oalI'm not one of them :p
21:04:18oalBut I like Nimrod, so I can get behind that superman quote
21:04:35oalIt has great potential
21:10:19BitPuffin19 downvotes for nimrod?
21:10:24BitPuffinwho are these people
21:10:39BitPuffingrumpy old binary coders
21:13:53Mat2Araq: These people misinterpretate the label functionality of Algol (if x: <-)
21:14:42Mat2It has nothing to do with block seperation so I think there do not know Algol well
21:16:08AraqMat2: people work like this "hmmm 'proc' ... like in Algol 68. So it's comparable."
21:17:29Araqof course we all know here that Nimrod is like a "super TCL" ... ;-)
21:17:53EXetoCwe do have {} and ;, so it's kinda like C too
21:18:12Araqno, it's simply a statically typed TCL with meta programming :P
21:19:07Araqit's really like TCL, only the syntax and the semantics are completely different
21:19:18Mat2*lol*
21:22:22dom96I thought it was like Perl because of the =~ operator.
21:22:22Mat2BitPuffin: What are binary coders ? (Borg?)
21:22:40Mat2no, BASIC :->
21:24:39BitPuffinMat2 people using the supercoder 2000 keyboard
21:24:56BitPuffinhttp://ikoupon.com/images/p_39_Supercoder-2000_162.jpg
21:25:04dom96"I took a look at it. Seems to be a good language, but it needs a lot more lambda."
21:25:10dom96haha, I don't know why but it made me laugh.
21:26:10EXetoCtell them about my upcoming lambda macro. should be ready before christmas
21:27:51BitPuffinisn't closures good enough?
21:27:57Mat2"it needs a lot more lambda" *lol*
21:29:33dom96it needs some llamas too.
21:29:53Mat2the author need more lambada, truly
21:30:52Mat2and less mushrooms probably
21:35:47*DAddYE joined #nimrod
21:42:23EXetoCBitPuffin: almost. sometimes you just want to omit any types
21:42:30*DAddYE quit (Ping timeout: 245 seconds)
21:45:03EXetoCyou can do this though "proc f(x, y)"
21:49:35*darithorn joined #nimrod
21:49:43*faassen quit (Quit: Leaving.)
21:49:43EXetoCand this almost works: "proc f(x, y): x + y", but type checking is done right away if no return type is specified
21:50:42Araqthe return type is x+y here ... :P
21:52:11Araq"Constructive mathematics is naturally typed."
21:52:23Araqdom96: teach nimbot this quote ;-)
21:52:46dom96Araq: Create an issue on the repo to remind me :P
21:52:54EXetoCok, it doesn't say anything about the lack of '='
21:54:04EXetoCnvm. I forgot to use it as an lvalue
21:54:39*io2 quit ()
21:54:40EXetoCand it has a name
22:00:30BitPuffinEXetoC whatchu on bout :)
22:05:43EXetoCdunno
22:20:37Mat2get some sleep, ciao
22:20:49*Mat2 quit (Quit: Verlassend)
22:39:00*DAddYE joined #nimrod
22:45:33*DAddYE quit (Ping timeout: 245 seconds)
22:52:20*EXetoC quit (Quit: WeeChat 0.4.1)
22:57:43MFlamerHi all, is the proc macros.symbol supposed to look-up and return a symbol when passed an identifier?
23:00:24reactormonkAraq, nice post
23:00:40reactormonkMFlamer, what does it do?
23:01:40MFlamerjust gives me Error: field 'symbol' cannot be found
23:01:52*noam joined #nimrod
23:02:09MFlamerit uses that "magic" I don't totally understand yet
23:02:32reactormonkmagic is logic bootstrapping
23:03:55MFlamerI'm looking for a way to get to a proc node in the AST from an ident passed to a macro
23:04:14MFlamerif thats possible
23:04:21reactormonkso you want proc name -> proc ?
23:05:21MFlameryes
23:15:00reactormonkMFlamer, that stuff isn't really stored at runtime iir
23:15:58MFlamerI want to do it in a macro at compile time
23:19:41MFlamersorry if I wasn't clear
23:19:42reactormonkoh, hm.
23:20:09reactormonkI'd actually go for an issue if you get an error.
23:22:47MFlamerok, thanks
23:30:14*EXetoC joined #nimrod
23:30:22MFlamerI'm not sure if the proc is even intended to do what I think it does.
23:35:29AraqMFlamer: bindSym?
23:36:42Araqgood night
23:37:37MFlamerI thought that might do the opposite of what I'm looking for. My understanding was bindSym binds and AST to a symbol, I want to get to the AST from and identifier through a symbol. If that even makes sense. I might be making shit up
23:42:03*DAddYE joined #nimrod
23:48:50*DAddYE quit (Ping timeout: 264 seconds)