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:23 | MFlamer | Hi, anyone else on? |
05:52:39 | * | Araq0 joined #nimrod |
05:53:01 | Araq0 | I am here |
05:59:31 | Araq0 | Bbl |
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:35 | Araq_ | hi MFlamer, welcome |
07:13:58 | Araq_ | your gist looks good :-) |
07:14:19 | MFlamer | thanks! I'm excited to help |
07:15:28 | MFlamer | I'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:22 | BitPuffin | Araq did you commit the and not defined(haiku) to math and fixed the config? |
13:58:00 | BitPuffin | So 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:35 | BitPuffin | aw |
14:07:40 | BitPuffin | babel doesn't build in haiku |
14:07:43 | BitPuffin | because sockets :( |
14:10:46 | profmakx | does haiku not have sockets at all? |
14:11:21 | BitPuffin | it does have sockets |
14:11:49 | BitPuffin | it even has posix socket |
14:13:54 | * | DAddYE joined #nimrod |
14:15:35 | profmakx | why does nimrod then not work with them? |
14:15:57 | BitPuffin | That's what I am trying to figure out |
14:16:15 | profmakx | is the network stack in haiku "from scratch" or derived from any other OS? |
14:16:32 | BitPuffin | from scratch + posix for compability I believe |
14:17:45 | profmakx | wow |
14:19:59 | * | DAddYE quit (Ping timeout: 240 seconds) |
14:20:41 | BitPuffin | there is socket.h in /boot/develop/headers/posix/sys |
14:21:41 | BitPuffin | and AbstractSocket.h in /boot/develop/headers/os/net |
14:22:01 | BitPuffin | SecureSocket |
14:22:12 | BitPuffin | ah |
14:22:19 | BitPuffin | Socket.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:37 | BitPuffin | Gonna file a ticket to haiku |
15:01:51 | BitPuffin | they support the MSG_EOR and MSG_OOB flags in the posix socket |
15:01:56 | BitPuffin | but not MSG_NOSIGNAL |
15:02:07 | BitPuffin | http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html#tag_16_514 |
15:03:14 | * | Boscop joined #nimrod |
15:05:32 | BitPuffin | hmm |
15:05:33 | BitPuffin | vector.nim(7, 31) Error: ordinal type expected |
15:05:47 | BitPuffin | 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:45 | Mat2 | hi all |
16:12:52 | Ricky_Ricardo | Good morning |
16:13:06 | Mat2 | hello Ricky_Ricardo |
16:13:30 | Ricky_Ricardo | How's it going? |
16:13:44 | Mat2 | fine |
16:16:45 | dom96 | http://steved-imaginaryreal.blogspot.co.uk/2013/09/nimrod-return-of-pascal.html |
16:16:55 | Mat2 | hi dom96 |
16:17:00 | dom96 | hi Mat2 |
16:18:44 | dom96 | blog posts about Nimrod yay |
16:20:01 | BitPuffin | hmm |
16:20:06 | * | DAddYE joined #nimrod |
16:20:10 | BitPuffin | seems like the linagl error is nimrod specific |
16:21:45 | dom96 | BitPuffin: Perhaps Haiku simply doesn't send the SIGPIPE signal by default and that is why MSG_NOSIGNAL is missing? |
16:22:04 | BitPuffin | dom96 I that error I already knew but that had nothing to do with linagl |
16:22:25 | BitPuffin | dom96 MSG_NOSIGNAL is not in the socket header on haiku |
16:22:31 | BitPuffin | so they must have missed it |
16:24:35 | io2 | dom96: beat you to tweeting it :P |
16:25:12 | * | dom96 is reading it first :P |
16:26:18 | io2 | oh i DID read it |
16:26:20 | BitPuffin | why read it? It only teaches you nimrod lol |
16:26:20 | io2 | :D |
16:26:38 | * | DAddYE quit (Ping timeout: 264 seconds) |
16:26:47 | io2 | BitPuffin: 'tis nice to find interest in something I like myself. |
16:26:50 | dom96 | hrm, I think a fly just flew into my drink. |
16:27:00 | dom96 | (Sorry, offtopic :P) |
16:27:19 | BitPuffin | dom96 are you drinking? that's naughty |
16:27:20 | dom96 | BitPuffin: It's interesting to see what other people think about Nimrod. |
16:27:35 | BitPuffin | io2 hmm? |
16:27:46 | dom96 | BitPuffin: Yeah, but what am I suppose to do? Die of thirst? |
16:27:50 | io2 | BitPuffin: about the article |
16:28:16 | BitPuffin | dom96 yes? |
16:29:00 | dom96 | :( |
16:29:06 | dom96 | You want me to die? :( |
16:29:08 | dom96 | </3 |
16:30:02 | * | shodan45 quit (Quit: Konversation terminated!) |
16:30:36 | BitPuffin | dom96 obviously. That's why I started using nimrod - so I could get close to you and make you die! |
16:30:39 | dom96 | damn, this article is actually pretty long. |
16:32:14 | dom96 | BitPuffin: That's a cunning plan. |
16:32:32 | BitPuffin | I am sinister |
16:33:19 | dom96 | But with deep regret I must inform you that your plan is not working. |
16:33:23 | * | dom96 continues drinking :P |
16:33:33 | BitPuffin | :'( oh no woe is me |
16:34:23 | BitPuffin | http://pastebin.com/GpAUVvEP |
16:35:15 | dom96 | whoa, you can now link tweets? :O |
16:35:41 | BitPuffin | you've been able to do that for ages? |
16:36:03 | dom96 | TIL |
16:36:09 | * | dom96 just retweets io2's tweet |
16:36:20 | BitPuffin | truth in lending? |
16:36:26 | io2 | lol @ dom96 |
16:36:39 | dom96 | BitPuffin: Today I learn :P |
16:36:45 | BitPuffin | yeah |
16:36:47 | BitPuffin | hoho |
16:36:47 | Mat2 | the article is tendentially positive about Nimrod |
16:37:02 | dom96 | indeed. Off we go to the redditssss. |
16:37:03 | Mat2 | hi io2 and BitPuffin |
16:37:50 | io2 | hello Mat2 |
16:37:57 | BitPuffin | hey Mat2 |
16:38:04 | dom96 | But I still feel like I should read it first. |
16:38:13 | io2 | read it, you will like it |
16:38:43 | io2 | i just happened to find it before you put it in here through a different source :P |
16:39:04 | Mat2 | can I set the actual offset of a sequence ? |
16:39:06 | dom96 | how did you find it? |
16:39:49 | BitPuffin | dom96 since you have such a pretty blog generator maybe you should work on making nimdoc generate beautiful documentation |
16:39:55 | BitPuffin | that is searchable |
16:40:06 | io2 | dom96: g+ |
16:40:06 | dom96 | Pleasing Araq is hard though. |
16:40:25 | io2 | the author posted it there and while I was searching for stuff I found it |
16:40:47 | io2 | "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:48 | io2 | provides this without Go's approach of reimplementing the whole C runtime." |
16:40:48 | dom96 | Upboats plz http://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/ |
16:41:01 | BitPuffin | It's a bit silly to say but I think by having pretty websites for nimrod would probably help |
16:41:12 | io2 | BitPuffin: a lot |
16:41:33 | BitPuffin | dom96 Sec just let me log in |
16:41:41 | Mat2 | io2: Go reimplementing ... these ehm traditional hacked runtime ? |
16:41:41 | dom96 | BitPuffin: It's not silly at all. Our new front page certainly helped. |
16:41:55 | io2 | Mat2: I like Go, to a point. |
16:42:01 | BitPuffin | dom96 Yeah the front page is not all that bad! |
16:42:11 | dom96 | filwit designed it, I wish he had time to design the docs. |
16:42:18 | io2 | what 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:23 | BitPuffin | dom96 first upvote goes to the puffin! |
16:42:55 | io2 | Go does not have anything NEAR the metaprogramming facilities nimrod has for starters |
16:43:16 | io2 | for me, that is a #1 thing for starters. |
16:43:24 | dom96 | BitPuffin: :D |
16:44:01 | dom96 | io2: Yeah, and also no generics... and it wants you to not use exceptions which I personally dislike. |
16:44:03 | BitPuffin | Aw |
16:44:13 | Mat2 | io2: well, Go was designed as C without the usage |
16:44:24 | BitPuffin | a guy I know was just harsch on nimrod :( |
16:44:26 | io2 | dom96: the thing about Go is that they are trying to bolt "generics" afterwards |
16:44:38 | io2 | at some point in the future... well, what... |
16:44:41 | dom96 | BitPuffin: Yeah... Guy(s) I knew were the same. |
16:44:56 | BitPuffin | dom96 then you dumped them? lol |
16:45:00 | dom96 | hell yeah |
16:45:08 | dom96 | Took me way too long though. |
16:45:10 | io2 | Mat2: 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:14 | BitPuffin | No but he thought that 39kb for hello world was insane |
16:45:28 | BitPuffin | and bloated |
16:45:33 | BitPuffin | otherwise he thinks it looks cool |
16:45:48 | dom96 | That doesn't seem super harsh :P |
16:46:05 | BitPuffin | nah |
16:46:09 | BitPuffin | but it was critique |
16:46:40 | io2 | just 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:14 | io2 | Go is fairly young and at times a bit... forced into being adequate. That is my 2c on this. |
16:48:15 | dom96 | It really sucks how much hype Go gets just because Google is behind it, and whatchma call him. |
16:48:19 | dom96 | Rob Pike? |
16:48:30 | * | dom96 is content with Nimrod |
16:48:33 | io2 | regardless |
16:49:01 | io2 | I like C, C++, Scala, Haskell, Rust and Clojure. |
16:49:05 | dom96 | I don't get why all these languages are so insistent on using a C-like syntax. |
16:49:16 | Ricky_Ricardo | yeah! |
16:49:18 | io2 | I really really like them. Nimrod got added to the languages I enjoy. |
16:49:18 | Ricky_Ricardo | WHY!? |
16:49:46 | dom96 | well, I guess the reason is kinda obvious: because C is popular. |
16:50:18 | io2 | and imagine that C is practically assembly on steroids :) |
16:50:32 | io2 | :P |
16:50:32 | dom96 | But popularity is not always proportional to quality. |
16:51:10 | BitPuffin | I managed to get my hello world down to 8.34 bytes |
16:51:10 | dom96 | I'm sure Python got a LOT of grief for being so different in regards to syntax. |
16:51:16 | BitPuffin | with d:release and gc:none |
16:51:21 | BitPuffin | what else can I do to make it smaller? |
16:51:26 | dom96 | BitPuffin: --opt:size |
16:51:29 | dom96 | iirc |
16:51:41 | BitPuffin | dom96 I tried that but that made it larger lol |
16:51:46 | dom96 | lol |
16:51:48 | io2 | dom96: 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:49 | dom96 | weird |
16:51:57 | io2 | by/to* |
16:52:17 | Mat2 | io2: 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:45 | BitPuffin | dom96 but with gc off it was smaller! |
16:52:46 | BitPuffin | strange |
16:52:52 | BitPuffin | when I added opt:size i mean |
16:52:52 | dom96 | io2: Perhaps it's just a matter of what you started with. |
16:53:03 | io2 | Mat2: 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:23 | dom96 | BitPuffin: So, --gc:none -d:release and --opt:size? what size is it? |
16:53:25 | io2 | dom96: remember turbo pascal? |
16:53:36 | BitPuffin | dom96 8.26 |
16:53:39 | BitPuffin | kb |
16:54:09 | dom96 | io2: hah, i'm not that old :P |
16:54:14 | io2 | I know |
16:54:29 | io2 | well, it was one of the languages I liked, before they ... destroyed it. |
16:54:30 | BitPuffin | C hello world takes around 2kb |
16:55:00 | BitPuffin | how can it need so much from system |
16:55:02 | BitPuffin | I don't get it |
16:55:03 | dom96 | BitPuffin: I bet Araq can help you get it even smaller. But your friends critique is silly IMO :P |
16:55:03 | io2 | or to be exact, one of the pascal environments I enjoyed |
16:55:18 | BitPuffin | dom96 yeah a bit |
16:55:36 | dom96 | (5 upvotes :O) |
16:57:13 | * | MFlamer joined #nimrod |
16:57:24 | dom96 | hello MFlamer |
16:57:26 | Mat2 | io2: 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:46 | io2 | Mat2: agreed, want to go back to 1984? |
16:57:48 | io2 | :) |
16:58:14 | Mat2 | if it works :) |
16:58:33 | io2 | this is why we have this new age of languages trying out concepts that were excruciatingly analyzed by some of the luminaries |
16:58:41 | io2 | I sure feel excited about it |
16:58:44 | io2 | lol @ Mat2 |
17:00:32 | Mat2 | by the way, I found Nimrod a better alternative to C |
17:01:41 | io2 | ...everything has its place, eventually C will meet its fate as everything does. It is not a question of if, but when. |
17:02:01 | io2 | don't get your hopes high though for anytime soon :P |
17:02:18 | dom96 | wow, I only just read 1984 yesterday. Curious that you picked that year hah. |
17:02:55 | Mat2 | there are still demands for Cobol and Fortran (even Algol) |
17:02:59 | io2 | ha ha |
17:03:11 | io2 | cobol... yuck. |
17:03:22 | io2 | did I say yuck ? |
17:03:25 | io2 | no, super yuck |
17:04:02 | Mat2 | yes, that language is just horrible |
17:05:08 | Mat2 | by the way, I know of some attemps using Fortran (95) for operating-system development |
17:05:13 | io2 | when is that talk by Araq happening? |
17:05:30 | dom96 | ~20th of September, somewhere around that date. |
17:05:34 | io2 | okie |
17:05:55 | BitPuffin | What do you guys think of terra btw? |
17:06:06 | Mat2 | what's terra ? |
17:06:14 | BitPuffin | http://terralang.org/ |
17:07:30 | Mat2 | damn, I have a similar idea |
17:07:44 | io2 | BitPuffin: that is curious and thanks for the link |
17:08:43 | io2 | bbl, been fun! |
17:08:44 | io2 | :) |
17:08:52 | BitPuffin | cheers! |
17:09:04 | Mat2 | ciao |
17:09:37 | * | Ricky_Ricardo quit (Quit: laptop[lid].close) |
17:12:13 | * | MFlamer quit (Ping timeout: 250 seconds) |
17:13:41 | Mat2 | terre needs clang, LLVM and(!) luaJIT for building, that's strange |
17:13:47 | Mat2 | ^terra |
17:14:50 | BitPuffin | Mat2 Guess it uses luajit for the lua part |
17:22:01 | Mat2 | yes, 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:58 | BitPuffin | anyways |
17:24:00 | BitPuffin | dom96 you here? |
17:24:02 | BitPuffin | DOM! |
17:24:04 | BitPuffin | DOMINIKKK |
17:24:06 | BitPuffin | PIKETAA |
17:24:08 | dom96 | OMG WHAT |
17:24:11 | dom96 | OMG |
17:24:13 | dom96 | WHATHAHTJSAFBAS |
17:24:15 | BitPuffin | don't know how it is spelled lol |
17:24:16 | BitPuffin | dom96!!! |
17:24:19 | BitPuffin | DOM96!!!!! |
17:24:24 | BitPuffin | DOOOOOOOOOOOOOOOOOOOOOOOOM |
17:24:25 | dom96 | OMG IM EXCITED |
17:24:26 | BitPuffin | 96!!! |
17:24:27 | BitPuffin | YES |
17:24:28 | BitPuffin | YES |
17:24:29 | dom96 | THIS BETTAR BE GOOD |
17:24:30 | BitPuffin | YEEEEEEEEEEEEES!!! |
17:24:36 | dom96 | HOLY SHIT WHAT IS IT |
17:24:39 | dom96 | ITS PICHETA BTW |
17:24:52 | BitPuffin | dom96 how do you manage protected C++ shit when you write a library binding? |
17:24:52 | dom96 | BUT YOU SPELLED IT PHONETICALLY PRETTY WELL |
17:25:04 | BitPuffin | DOM96 I KNEW IT!!!! |
17:27:36 | dom96 | pff, that's not /that/ exciting |
17:27:40 | dom96 | YOU DISAPPOINT ME |
17:27:51 | BitPuffin | DOM96 YOU WILL DIE!!! |
17:27:55 | dom96 | Also, I have no idea how to answer your question. Sorry :P |
17:28:43 | BitPuffin | dom96 damn you! |
17:28:48 | BitPuffin | then how can you be disappointed |
17:28:53 | BitPuffin | I presented you with a challenge! |
17:28:56 | BitPuffin | MJAAARF |
17:30:04 | dom96 | I 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:51 | dom96 | My C++ is at a fairly noob level ;p |
17:31:25 | BitPuffin | dom96 You don't know what protected means? |
17:31:37 | BitPuffin | dom96 it's basically the middleground between public and private |
17:31:49 | BitPuffin | dom96 it isn't visible to the outside. But if you inherit you get access to it |
17:32:02 | dom96 | ooohhhh |
17:33:39 | dom96 | It's an OOP thing, no wonder I don't know it hah. |
17:34:32 | OrionPK | protected isnt a C thing, and nimrod compiles to C |
17:34:46 | dom96 | Nimrod can also compile to C++ |
17:34:54 | OrionPK | yeah, but I imagine it's pretty c-like C++ |
17:35:04 | OrionPK | I've never looked though |
17:35:15 | dom96 | omg, so many annoying people commenting in my reddit thread. |
17:35:25 | OrionPK | which thread? |
17:35:29 | dom96 | http://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/ |
17:35:34 | dom96 | OrionPK: Upboats plz btw |
17:35:36 | OrionPK | oh dear |
17:39:11 | BitPuffin | 9 points! We'll be on top in no time! |
17:39:26 | dom96 | We're #3 |
17:39:32 | dom96 | Quick! Downvote everyone above us! |
17:39:42 | BitPuffin | "Stopped reading at var name =." lol |
17:39:44 | BitPuffin | fgt |
17:39:51 | dom96 | lol |
17:40:40 | BitPuffin | actually I didn't like var at first either |
17:40:52 | BitPuffin | But I think it is a good distinguisher between var and let and const |
17:42:07 | Mat2 | stopped going into the fast-food restaurant after reading 'blue decoration' |
17:42:45 | BitPuffin | stopped playing the violin when I noticed it doesn't have frets |
17:43:02 | Mat2 | *lol* yes |
17:43:28 | Mat2 | what a silly argument |
17:44:07 | BitPuffin | I replied haha |
17:44:16 | dom96 | You might as well say "Stopped reading when I noticed that I need to go take a crap" |
17:44:30 | BitPuffin | stopped pooping when I noticed the smell |
17:44:33 | Araq | guys ... what's so hard about helping the people on the forum? |
17:44:42 | Mat2 | hi Araq |
17:44:44 | BitPuffin | Araq There is a forum? :P |
17:44:51 | dom96 | Araq: I'm trying, BitPuffin keeps distracting me. |
17:44:58 | BitPuffin | dom96 stfu |
17:45:02 | dom96 | :P |
17:45:05 | BitPuffin | :) |
17:45:44 | OrionPK | as a primarily C# programmer, I like var :) |
17:46:11 | * | Ricky_Ricardo joined #nimrod |
17:46:41 | Mat2 | I like tortillas with cheese ;) |
17:46:49 | Mat2 | hi OrionPK |
17:46:55 | * | Ricky_Ricardo quit (Client Quit) |
17:46:59 | BitPuffin | Like I get the initial reaction |
17:47:05 | dom96 | Mat2: me too! |
17:47:06 | BitPuffin | when you see var you kind of expect js |
17:47:08 | OrionPK | hi |
17:47:15 | BitPuffin | but that doesn't stop you from taking a closer look |
17:47:16 | OrionPK | everybody likes tortillas with cheese |
17:47:24 | BitPuffin | if I was that stupid I wouldn't be in here today lol |
17:47:26 | OrionPK | aka casadillas |
17:47:44 | OrionPK | i wish C++'s auto was 'var' ;) |
17:48:16 | * | MFlamer joined #nimrod |
17:48:20 | OrionPK | I'm not evil enough to #define var auto though |
17:49:07 | Mat2 | you're be free defining the whole Algol syntax |
17:49:35 | Mat2 | there's near a 1:1 equivalence |
17:49:39 | vegai | that blog article up there says that import brings everything from a module to current scope |
17:49:57 | vegai | that true? Are there any alternatives? |
17:50:01 | OrionPK | yeah.. only exported things, isnt it? |
17:50:07 | OrionPK | aka with * |
17:50:24 | dom96 | indeed |
17:50:49 | OrionPK | in your module, proc name*() is public |
17:50:53 | Mat2 | by the way: Is there any way to set the actual write-offset into a sequence ? |
17:50:53 | OrionPK | proc name() isnt public |
17:51:22 | BitPuffin | Araq How do I deal with protected in C++ |
17:51:26 | BitPuffin | when I bind nimrod code |
17:51:51 | vegai | what would happen with name collisions? |
17:52:31 | * | MFlamer quit (Ping timeout: 250 seconds) |
17:52:57 | OrionPK | bitpuffin, write a C++ class that inherits from that class and write a method that wraps it publicly? |
17:53:11 | OrionPK | vegai, you specify the module name . proc name if there is a collision |
17:53:20 | BitPuffin | OrionPK hm |
17:53:33 | Araq | BitPuffin: I don't know, just make it public |
17:53:50 | BitPuffin | Araq yeah possibly |
17:55:58 | * | shodan45 joined #nimrod |
18:01:00 | Mat2 | ok, I want to set the position of a sequence from whereby I add elements: 'seq.add (x)' |
18:01:12 | Mat2 | somethink like seq.seek (n) |
18:01:35 | Araq | Mat2: setLen ? |
18:01:58 | Mat2 | thanks |
18:15:17 | Araq | BitPuffin: the "ordinal type expected" is a known regression due to zahary's changes |
18:15:45 | BitPuffin | Araq Weird. Because it worked in linux o.O |
18:15:56 | BitPuffin | or did you revert zahary's changes? |
18:16:00 | Araq | no |
18:16:06 | Araq | it doesn't work for me either |
18:16:12 | Araq | you likely have an older version on linux |
18:16:12 | BitPuffin | on windows? |
18:16:19 | Araq | I'm on linux |
18:16:26 | BitPuffin | Araq I updated just before trying just to make sure |
18:16:27 | * | Mat2 is now known as Mat2-bbl |
18:17:22 | zahary_ | what's the breaking code? I though I've killed this one already |
18:19:34 | Araq | type Bar [T; I:range] = array[I, T] # fails |
18:20:54 | zahary_ | hrm, I'm still at work and can't try it here |
18:21:31 | Araq | I tried to fix it yesterday but failed :P |
18:21:37 | Araq | it's not trivial |
18:26:27 | * | DAddYE joined #nimrod |
18:32:56 | * | DAddYE quit (Ping timeout: 245 seconds) |
18:33:30 | ponce | "We use a template which is a higher-order generic that rewrites expressions, much like a preprocessor macro in C/C++:" ouch |
18:34:03 | BitPuffin | ponce don't I recognize you from some other channel o.O |
18:34:11 | ponce | yes, probably #d |
18:34:15 | BitPuffin | ah |
18:34:16 | BitPuffin | yeah |
18:34:19 | BitPuffin | thought so |
18:34:52 | BitPuffin | Araq Gonna make extra sure I have the latest git version then |
18:37:29 | * | EXetoC joined #nimrod |
18:38:49 | Araq | EXetoC: please help enurlyx on the forum |
18:39:09 | BitPuffin | I am really curios about this forum thing |
18:39:12 | BitPuffin | maybe i should hang thar |
18:40:31 | Araq | BitPuffin: look at the topic of this channel |
18:40:55 | BitPuffin | Araq I know there is a forum :) I am just kidding because i haven't used it |
18:41:13 | Araq | oh ok |
18:44:12 | BitPuffin | We are on top of reddit |
18:44:22 | BitPuffin | dom96 ^ |
18:44:38 | BitPuffin | 137 comments! |
18:46:31 | * | BitPuffin quit (Read error: Connection reset by peer) |
18:48:37 | * | BitPuffin joined #nimrod |
18:51:24 | BitPuffin | on top of programming obviously not actual main reddit lol |
18:57:09 | ponce | submitted to HN, upvote https://news.ycombinator.com/newest |
18:57:14 | ponce | for more hypeness |
19:00:49 | BitPuffin | ponce are you leaving D? |
19:01:12 | ponce | no, but I would be glad that nimrod get the attention it deserves |
19:01:27 | BitPuffin | yeah |
19:04:18 | dom96 | BitPuffin: 137 comments? lies |
19:04:28 | dom96 | ponce: upvoted! |
19:04:50 | BitPuffin | dom96 it said so before haiku crashed I swear xD |
19:05:58 | dom96 | liesssss |
19:07:19 | BitPuffin | no it said so |
19:07:26 | BitPuffin | my web browser lied ;_; |
19:11:14 | dom96 | ok, maybe I believe you. |
19:12:06 | Araq | http://www.reddit.com/r/programming/comments/1ll22o/nimrod_the_return_of_pascal/cc0ddes so upvote me ;-) |
19:12:43 | dom96 | yes, sir. |
19:12:58 | BitPuffin | Araq C++? :) |
19:14:10 | dom96 | no, 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:49 | EXetoC | Araq: ok maybe later |
19:18:31 | Araq | EXetoC: well the guy is online now ... |
19:18:48 | Araq | bbl |
19:23:06 | * | enurlyx joined #nimrod |
19:26:59 | EXetoC | enurlyx: Indexing is only possible with arrays; at least without some third-party utility. I think fowl has one (fowltek on github). |
19:29:17 | EXetoC | you 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:51 | enurlyx | Hello |
19:31:03 | EXetoC | "var x=[1.TGLfloat, 1, 1, 0]" should work, and then you can just take the address of it |
19:31:04 | enurlyx | Thank you for feedback. |
19:31:14 | EXetoC | addr(x) or x.addr |
19:32:37 | EXetoC | Araq: 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:43 | Mat2 | I'm repeatly read forum, does this mean the Nimrod forum or another one ? |
19:56:37 | dom96 | nimrod forum: http://forum.nimrod-code.org |
19:58:29 | BitPuffin | nimrod has a forum??? :O |
19:58:39 | dom96 | It's in the topic! |
19:58:40 | BitPuffin | oh my god! |
19:59:33 | * | MFlamer joined #nimrod |
20:17:30 | enurlyx | EXetoC: 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:23 | oal | https://news.ycombinator.com/item?id=6316536 |
21:02:53 | oal | Same as the reddit link posted earlier |
21:03:10 | Araq | "Maybe it's a bird, maybe it's a plane, maybe it's Superman." |
21:03:14 | Araq | ;-) |
21:03:42 | Araq | also ... impressive how many people know Algol 68 these days ... |
21:04:03 | oal | I'm not one of them :p |
21:04:18 | oal | But I like Nimrod, so I can get behind that superman quote |
21:04:35 | oal | It has great potential |
21:10:19 | BitPuffin | 19 downvotes for nimrod? |
21:10:24 | BitPuffin | who are these people |
21:10:39 | BitPuffin | grumpy old binary coders |
21:13:53 | Mat2 | Araq: These people misinterpretate the label functionality of Algol (if x: <-) |
21:14:42 | Mat2 | It has nothing to do with block seperation so I think there do not know Algol well |
21:16:08 | Araq | Mat2: people work like this "hmmm 'proc' ... like in Algol 68. So it's comparable." |
21:17:29 | Araq | of course we all know here that Nimrod is like a "super TCL" ... ;-) |
21:17:53 | EXetoC | we do have {} and ;, so it's kinda like C too |
21:18:12 | Araq | no, it's simply a statically typed TCL with meta programming :P |
21:19:07 | Araq | it's really like TCL, only the syntax and the semantics are completely different |
21:19:18 | Mat2 | *lol* |
21:22:22 | dom96 | I thought it was like Perl because of the =~ operator. |
21:22:22 | Mat2 | BitPuffin: What are binary coders ? (Borg?) |
21:22:40 | Mat2 | no, BASIC :-> |
21:24:39 | BitPuffin | Mat2 people using the supercoder 2000 keyboard |
21:24:56 | BitPuffin | http://ikoupon.com/images/p_39_Supercoder-2000_162.jpg |
21:25:04 | dom96 | "I took a look at it. Seems to be a good language, but it needs a lot more lambda." |
21:25:10 | dom96 | haha, I don't know why but it made me laugh. |
21:26:10 | EXetoC | tell them about my upcoming lambda macro. should be ready before christmas |
21:27:51 | BitPuffin | isn't closures good enough? |
21:27:57 | Mat2 | "it needs a lot more lambda" *lol* |
21:29:33 | dom96 | it needs some llamas too. |
21:29:53 | Mat2 | the author need more lambada, truly |
21:30:52 | Mat2 | and less mushrooms probably |
21:35:47 | * | DAddYE joined #nimrod |
21:42:23 | EXetoC | BitPuffin: almost. sometimes you just want to omit any types |
21:42:30 | * | DAddYE quit (Ping timeout: 245 seconds) |
21:45:03 | EXetoC | you can do this though "proc f(x, y)" |
21:49:35 | * | darithorn joined #nimrod |
21:49:43 | * | faassen quit (Quit: Leaving.) |
21:49:43 | EXetoC | and this almost works: "proc f(x, y): x + y", but type checking is done right away if no return type is specified |
21:50:42 | Araq | the return type is x+y here ... :P |
21:52:11 | Araq | "Constructive mathematics is naturally typed." |
21:52:23 | Araq | dom96: teach nimbot this quote ;-) |
21:52:46 | dom96 | Araq: Create an issue on the repo to remind me :P |
21:52:54 | EXetoC | ok, it doesn't say anything about the lack of '=' |
21:54:04 | EXetoC | nvm. I forgot to use it as an lvalue |
21:54:39 | * | io2 quit () |
21:54:40 | EXetoC | and it has a name |
22:00:30 | BitPuffin | EXetoC whatchu on bout :) |
22:05:43 | EXetoC | dunno |
22:20:37 | Mat2 | get 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:43 | MFlamer | Hi all, is the proc macros.symbol supposed to look-up and return a symbol when passed an identifier? |
23:00:24 | reactormonk | Araq, nice post |
23:00:40 | reactormonk | MFlamer, what does it do? |
23:01:40 | MFlamer | just gives me Error: field 'symbol' cannot be found |
23:01:52 | * | noam joined #nimrod |
23:02:09 | MFlamer | it uses that "magic" I don't totally understand yet |
23:02:32 | reactormonk | magic is logic bootstrapping |
23:03:55 | MFlamer | I'm looking for a way to get to a proc node in the AST from an ident passed to a macro |
23:04:14 | MFlamer | if thats possible |
23:04:21 | reactormonk | so you want proc name -> proc ? |
23:05:21 | MFlamer | yes |
23:15:00 | reactormonk | MFlamer, that stuff isn't really stored at runtime iir |
23:15:58 | MFlamer | I want to do it in a macro at compile time |
23:19:41 | MFlamer | sorry if I wasn't clear |
23:19:42 | reactormonk | oh, hm. |
23:20:09 | reactormonk | I'd actually go for an issue if you get an error. |
23:22:47 | MFlamer | ok, thanks |
23:30:14 | * | EXetoC joined #nimrod |
23:30:22 | MFlamer | I'm not sure if the proc is even intended to do what I think it does. |
23:35:29 | Araq | MFlamer: bindSym? |
23:36:42 | Araq | good night |
23:37:37 | MFlamer | I 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) |