00:36:59 | * | MFlamer joined #nimrod |
00:37:13 | * | DAddYE joined #nimrod |
00:41:16 | MFlamer | I use sublime strictly for my Nimrod coding and love it. I have a syntax and coloring scheme if anyone wants it |
00:43:41 | MFlamer | I see in the logs there was some discussion about it yesterday |
00:44:13 | OrionPK | MFlamer I customized the syntax and coloring stuff a lot |
00:44:38 | OrionPK | but i'd love to check out your setup |
00:51:58 | MFlamer | https://www.dropbox.com/sh/vwnnf0nebnsvx35/1ibLTp8Xi6 |
00:52:23 | OrionPK | you have a build settings file for it as well? |
00:52:29 | MFlamer | It's pretty intense on coloring, but I like it |
00:52:41 | OrionPK | yeah it looks nice |
00:53:04 | MFlamer | No, I never got it to work right for some reason, You? |
00:53:14 | OrionPK | yeah I had it working |
00:53:46 | OrionPK | at some point I got some update and it fucked all my settings, then I upgraded to ST3 beta, and my plugin stopped working |
00:54:03 | OrionPK | I do still have it all saved if u want to try it out |
00:54:16 | MFlamer | Yeah, I tried 3 and got pissed and went back |
00:54:33 | OrionPK | https://www.dropbox.com/s/84gtcgjmw2ec61r/Nimrod-Sublime.zip |
00:56:15 | MFlamer | Sweet, I'll give it a try. I had a build system working for haskell, was pretty nice |
00:59:37 | * | devnull_ joined #nimrod |
01:00:59 | devnull_ | hi .) |
01:01:09 | OrionPK | hola |
01:02:13 | devnull_ | hi :) I have a quick question I am trying to run the sample jester code, install nimrod, babel etc. on mac osx and I am getting some weird errors when I try to launch the script |
01:02:29 | devnull_ | I was wondering if someone could have a look and gve me some hints |
01:02:52 | OrionPK | maybe. what errors? |
01:03:18 | devnull_ | second let me paste it |
01:04:03 | devnull_ | https://gist.github.com/gurugeek/6861122 |
01:07:15 | OrionPK | well, that file or directory doesnt exist? |
01:07:57 | devnull_ | you mean koala.nim ? |
01:08:14 | OrionPK | clang: error: no such file or directory: '/Users/gurugeekair/nimcache/jester-0.1.0_jester' |
01:09:02 | devnull_ | well there is jester-0.1.0_jester.c |
01:09:26 | devnull_ | I mean I don't know what nimcache it looks at..I jut installed nimrod + babel + jester |
01:09:48 | devnull_ | and got the OK at each so yeah I can see from the error message that he is missing some files but no idea why / how ? :D |
01:09:53 | OrionPK | i've never set up jester |
01:10:06 | devnull_ | ah |
01:10:14 | devnull_ | well thanks anyway :) |
01:10:31 | OrionPK | yeah, dom96 will probably be around tomorrow |
01:10:32 | OrionPK | earlier in the day |
01:11:02 | * | DAddYE quit (Ping timeout: 264 seconds) |
01:11:20 | devnull_ | np |
01:21:41 | * | BitPuffin joined #nimrod |
01:23:23 | BitPuffin | hello guys! |
01:23:32 | BitPuffin | is everyone sleeping? :) |
01:26:33 | BitPuffin | dom96: are you there? |
01:26:38 | BitPuffin | dom96: Jester is being evil |
01:27:25 | devnull_ | BitPuffin: broken for you too ? :D |
01:27:42 | devnull_ | or was my install issue you referred to ? |
01:28:13 | BitPuffin | devnull_: broken for me too |
01:28:25 | devnull_ | aahaha :P |
01:28:30 | BitPuffin | devnull_: you have so many names xD You are David right |
01:28:35 | devnull_ | yes |
01:28:45 | BitPuffin | welcome to the nimrod irc :) |
01:28:47 | * | devnull_ is now known as gurug33k |
01:29:02 | BitPuffin | actually maybe this is a problem with nimrod compiler |
01:29:03 | gurug33k | yes looks really busy |
01:29:09 | gurug33k | I think is a |
01:29:17 | gurug33k | jester not updated |
01:29:21 | BitPuffin | it generates a file called jester-0.1.0_jester.c |
01:29:23 | gurug33k | to work with new stuff |
01:29:24 | BitPuffin | in nimcache |
01:29:27 | gurug33k | well because |
01:29:30 | gurug33k | is newer I guess |
01:29:47 | gurug33k | if you downgrade |
01:29:47 | BitPuffin | I don't think that is the problem |
01:29:50 | gurug33k | it should work |
01:29:55 | gurug33k | or did it work for you at some point in tiem ? |
01:30:20 | reactormonk | duh, I should try babel |
01:30:21 | BitPuffin | I believe it did, don't remember, I have been doing mostly other programming in nimrod than webdev |
01:30:37 | gurug33k | I see |
01:30:50 | gurug33k | oh well |
01:31:00 | gurug33k | may be can be fixed who knows |
01:31:09 | gurug33k | tomorrow the gods of the olympus will assist |
01:31:10 | BitPuffin | I think it might be nimrod's fault somehow |
01:31:34 | gurug33k | I think is just older/deprecated dcode in jester |
01:31:38 | BitPuffin | it shouldn't really take the dir name in to account when generating the C stuff |
01:31:39 | gurug33k | or why saves in cache or soething |
01:31:42 | BitPuffin | nah that's just warnings |
01:32:13 | BitPuffin | the error is that the compiler is looking for nimcache/jester-0.1.0_jester |
01:32:29 | gurug33k | yeah |
01:32:31 | BitPuffin | gurug33k: the cache is there for anything you compile with nimrod :) |
01:32:31 | gurug33k | funny thing |
01:32:33 | gurug33k | is there |
01:33:20 | BitPuffin | yeah |
01:33:22 | BitPuffin | weird |
01:33:23 | gurug33k | the same file is there |
01:33:24 | gurug33k | but |
01:33:25 | gurug33k | ends in C |
01:33:29 | BitPuffin | yep |
01:33:30 | gurug33k | the one in the error doens't |
01:33:31 | gurug33k | so |
01:33:33 | gurug33k | must be that |
01:33:33 | BitPuffin | not sure if that is the problem |
01:33:35 | BitPuffin | could be |
01:33:39 | gurug33k | may be jester geenrates with c |
01:33:46 | gurug33k | yeah who know |
01:33:48 | BitPuffin | ah |
01:33:50 | BitPuffin | no |
01:33:52 | BitPuffin | well yes |
01:33:57 | BitPuffin | but all nimrod generates C |
01:34:08 | BitPuffin | The default way to compile nimrod is to generate C and compile the C |
01:36:00 | gurug33k | cool |
01:36:05 | gurug33k | wow the forum is nice |
01:36:23 | gurug33k | http://forum.nimrod-code.org made in jester :D |
01:36:24 | BitPuffin | gurug33k: but yeah, seems to be something simple, but it seems like both Araq and dom96 are sleeping, maybe zahary could help but I am not sure |
01:36:30 | BitPuffin | gurug33k: yep :) |
01:37:10 | gurug33k | I think tom they will fix it |
01:37:21 | gurug33k | poke me if they do so I give it a spin :D |
01:37:29 | gurug33k | which webserver it uses to push the app on 5000 ? |
01:37:36 | gurug33k | a small light webserver ? :D |
01:37:47 | BitPuffin | gurug33k: have a look in the source? :) |
01:38:21 | gurug33k | syncHTTP: PAsyncHTTPServer ? |
01:38:38 | BitPuffin | gurug33k: seems to be using an httpserver from the standard library |
01:38:45 | gurug33k | ah okay |
01:38:45 | BitPuffin | http://nimrod-code.org/httpserver.html |
01:38:50 | BitPuffin | or is it |
01:38:51 | gurug33k | so noting like thin or so |
01:38:52 | BitPuffin | hmm |
01:39:20 | gurug33k | yeah the same I pasted |
01:39:37 | gurug33k | syncHTTPServer something wiht that default lib |
01:39:38 | gurug33k | that's cool |
01:39:39 | gurug33k | :D |
01:40:01 | BitPuffin | gurug33k: well thin is a ruby web server :) so that would probably be a lot slower since it is interpreted |
01:40:13 | gurug33k | yes |
01:40:15 | BitPuffin | gurug33k: yeah it is nice |
01:42:33 | BitPuffin | gurug33k: think ruby comes with mongrel though. Which isn't anything you'd use in production |
01:43:00 | gurug33k | now comes with webrick |
01:43:04 | gurug33k | mongrel is dead |
01:43:10 | gurug33k | just pieces here and there |
01:44:05 | BitPuffin | ah right |
01:44:08 | gurug33k | hope it works fine :D |
01:44:12 | BitPuffin | got them mixed up |
01:44:14 | gurug33k | will donate something to the project if is cool |
01:44:22 | gurug33k | I saw the paypal donate button on the site :D |
01:44:22 | BitPuffin | gurug33k: to nimrod? |
01:44:33 | gurug33k | http://nimrod-code.org/community.html |
01:44:38 | gurug33k | yeah on there |
01:44:56 | BitPuffin | ah cool |
01:45:05 | gurug33k | paypal no bitcoins or tips :P |
01:46:06 | BitPuffin | donating would surely be really appreciated by Araq |
01:46:15 | BitPuffin | well and the community :) |
01:46:38 | gurug33k | yes at least I should get hello world workign I guess |
01:46:42 | gurug33k | else yeyh |
01:46:50 | BitPuffin | hehe yep |
01:46:50 | gurug33k | would be very weird |
01:47:03 | BitPuffin | this is probably just some minor thing |
01:47:14 | gurug33k | still for linux or so |
01:47:20 | gurug33k | they should have like |
01:47:25 | BitPuffin | I wonder if it is in jester or if it is in nimrod or babel |
01:47:27 | gurug33k | Install all for the web package |
01:47:38 | gurug33k | like even a bash script that does all auto you know |
01:47:46 | gurug33k | why download here + here + git there |
01:47:49 | gurug33k | + pray etc |
01:47:55 | BitPuffin | well such a bash script should be easy to write |
01:47:55 | gurug33k | should be click bang and there you go |
01:48:12 | gurug33k | yeah this is why these 3 have to be in sync |
01:48:27 | gurug33k | so you just gell ppl do a wget or clone git..run 1 command |
01:48:30 | gurug33k | and you are set |
01:49:15 | gurug33k | even auto add the paths |
01:49:16 | gurug33k | why not |
01:49:17 | gurug33k | LOL |
01:50:00 | gurug33k | like a bundle you know |
01:50:17 | BitPuffin | Well |
01:50:25 | BitPuffin | keep in mind that it is not 1.0 yet! |
01:50:31 | gurug33k | I know |
01:50:36 | BitPuffin | once we reach that milestone it should be smooth sailing |
01:50:38 | BitPuffin | probably |
01:51:02 | gurug33k | still the concept is cool |
01:51:11 | gurug33k | I am sure once the jester stuf is fixed it will work |
01:51:53 | BitPuffin | yep |
01:51:54 | BitPuffin | for sure |
01:51:59 | BitPuffin | well |
01:52:08 | BitPuffin | I guess the most productive thing to do now is sleep |
01:52:25 | gurug33k | yes |
01:52:29 | BitPuffin | gurug33k: what you could do if you want to learn a little bit of nimrod is have a look at the tutorial |
01:52:31 | gurug33k | goodnight Puffin :D |
01:52:35 | BitPuffin | goodnight! |
01:52:45 | gurug33k | ah no I leave the good work to you :) |
01:52:50 | gurug33k | I learn by coding |
01:52:53 | gurug33k | and cloning |
01:52:59 | gurug33k | and vampiring on irc :> |
01:53:07 | gurug33k | tutorials ain't l33t |
01:53:08 | gurug33k | :P |
01:53:44 | gurug33k | I will go to sleep :D work tomorrow but I am around on skype if you wanna poke or have something fixed..feel free to poke anytime |
01:54:57 | gurug33k | hey BitPuffin it was fun...you gave me something interesting so let's try to stick to it and do smt coool |
01:55:16 | gurug33k | but we should get some sleep now :D |
01:56:52 | * | BitPuffin quit (Ping timeout: 246 seconds) |
01:58:10 | * | gurug33k quit (Remote host closed the connection) |
02:07:17 | * | DAddYE joined #nimrod |
02:11:40 | * | DAddYE quit (Ping timeout: 245 seconds) |
02:17:26 | * | Associat0r quit (Quit: Associat0r) |
02:40:38 | * | dyu_ joined #nimrod |
02:52:45 | * | OrionPK quit (Quit: Leaving) |
03:02:46 | * | ltbarcly joined #nimrod |
03:04:19 | * | MFlamer quit (Ping timeout: 250 seconds) |
03:08:01 | * | DAddYE joined #nimrod |
03:32:22 | * | DAddYE quit (Remote host closed the connection) |
03:32:29 | * | DAddYE joined #nimrod |
04:34:14 | * | sardman quit (Ping timeout: 240 seconds) |
04:34:27 | * | sardman joined #nimrod |
04:53:36 | * | Demos joined #nimrod |
04:53:55 | Demos | does nimrod have operator overloading for user defined operators? |
05:04:07 | ltbarcly | Demos: nimrod-code.org |
05:04:29 | * | DAddYE quit (Remote host closed the connection) |
05:05:37 | * | DAddYE joined #nimrod |
05:06:34 | Demos | I was going to follow up with asking how that has worked out, I always figured the interaction of user defined operators and operator overloading would be interesting |
05:06:53 | ltbarcly | oh, I see what you mean now |
05:08:11 | ltbarcly | I may be wrong, but I believe in this case 'user defined' means 'overload of operator not used already'? |
05:09:30 | ltbarcly | the set of operators you can define is restricted to symbols that already parse as operators |
05:10:47 | Demos | I suppose I do not see why they would interact badly, but I do not know of any other language that has both user defined operators and overloading on them. Well I think you can do it in c++, but it requires massive amounts of templates |
05:11:29 | ltbarcly | does it? the issue in C++ is probably the same issue you would run into in any language |
05:11:37 | ltbarcly | for example, suppose you define an operator -- |
05:11:41 | ltbarcly | like 8 -- 3 |
05:11:52 | ltbarcly | 8 -- 3 == 27 |
05:11:56 | ltbarcly | whatever it means, it's ambiguous |
05:11:59 | * | DAddYE quit (Remote host closed the connection) |
05:12:14 | ltbarcly | because 8 -- 3 the same as 8 - (-3) |
05:12:36 | ltbarcly | so you can't reliably make a ** operator in c++ for that reason |
05:13:59 | ltbarcly | nimrod lets you get away with it I suppose, since operators are also just functions which you can call like `op`(arg1, arg2) |
05:14:14 | Demos | dang, my idea was to have an operator- on 8 that returned some kind of expression template that itself overloaded operator-, but I think operators with unary and binary versions are a special case |
05:14:21 | ltbarcly | but I don't see how anybody would get around the parsing issues of doing things like x -- y |
05:14:50 | Demos | I think Agda does it with strict whitespace rules |
05:15:20 | Demos | wait, agda does not even support overloading, derp |
05:15:27 | ltbarcly | that would work, lisp does it with stricter whitespace rules :) |
05:16:18 | ltbarcly | I don't see a lot of utility in user defined operators myself, at least when you are limited to the usual operator symbols as in nimrod |
05:16:25 | ltbarcly | all the good ones are taken |
05:16:34 | ltbarcly | so really it just turns into overriding |
05:16:40 | Demos | yeah, but at least you can overload them |
05:16:43 | ltbarcly | unless you want a symbol like ~~**~~ |
05:17:25 | Demos | well one idea would be to make every function starting with something not A-Za-z an operator :D |
05:17:32 | Demos | operator snowman here I come |
05:17:50 | ltbarcly | back to whitespace rules or something |
05:18:11 | ltbarcly | because what does this mean > a -op b |
05:18:26 | ltbarcly | op could be a unary operator |
05:18:31 | ltbarcly | and a binary operator |
05:18:50 | ltbarcly | in general, for operators that are unary and binary, combining them is kindof shitty to deal with |
05:19:16 | ltbarcly | there is a correct AST, but guessing it from reading code with user defined operators is going to be sick |
05:20:23 | ltbarcly | and if you had an operator like `-op` defined, things just got real |
05:21:21 | Demos | well disallow backticks then, and call the longest matching operator I think |
05:21:44 | ltbarcly | oh, the backticks aren't part of the operator |
05:22:04 | Demos | oh I thought -op was the operator all along |
05:22:07 | ltbarcly | right |
05:23:16 | Demos | yeah this is what you need strict and annoying whitespace rules to get around |
05:24:14 | ltbarcly | the docs don't say where operators that you defined are legal, I assume it's the same as for functions |
05:24:31 | ltbarcly | in that case, it's a little shady |
05:25:05 | ltbarcly | Araq: is that right? do you have to import operators or are they part of types? |
05:25:45 | ltbarcly | oh, found it, you have to import them |
05:25:51 | ltbarcly | so yea, that is super shady |
05:26:05 | ltbarcly | because if you do 'import somelib', and that library defines an operator like *- |
05:26:13 | ltbarcly | and you are a little loose about whitespace, boom |
05:27:36 | ltbarcly | somewhere someone is going to define -* as an operator, and someone else is going to have some crappy code like x = y*-z, and the meaning of that code is going to change drastically if that library is added |
06:04:52 | * | DAddYE joined #nimrod |
06:10:45 | * | DAddYE quit (Ping timeout: 268 seconds) |
06:22:10 | * | DAddYE joined #nimrod |
06:23:05 | * | Demos quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
06:36:27 | * | io2 joined #nimrod |
06:36:46 | * | q66 joined #nimrod |
06:47:45 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
06:53:56 | * | DAddYE quit (Remote host closed the connection) |
07:38:56 | * | DAddYE joined #nimrod |
08:36:25 | * | DAddYE quit (Remote host closed the connection) |
09:01:34 | * | Araq_ joined #nimrod |
09:18:54 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]) |
09:21:00 | * | Associat0r joined #nimrod |
09:21:00 | * | Associat0r quit (Changing host) |
09:21:00 | * | Associat0r joined #nimrod |
09:21:22 | * | Associat0r quit (Client Quit) |
09:30:00 | * | zahary_ joined #nimrod |
09:37:34 | * | DAddYE joined #nimrod |
09:44:44 | * | DAddYE quit (Ping timeout: 268 seconds) |
10:03:36 | * | BitPuffin joined #nimrod |
10:04:42 | BitPuffin | ping dom96 Araq |
10:20:36 | * | io2 quit () |
10:40:47 | * | DAddYE joined #nimrod |
10:47:16 | * | DAddYE quit (Ping timeout: 245 seconds) |
10:57:41 | * | wlhlm quit (Read error: Connection reset by peer) |
11:04:50 | * | wlhlm joined #nimrod |
11:43:41 | * | DAddYE joined #nimrod |
11:50:00 | * | q66_ joined #nimrod |
11:50:00 | * | DAddYE quit (Ping timeout: 245 seconds) |
11:50:32 | * | q66 quit (Disconnected by services) |
11:50:38 | * | q66_ is now known as q66 |
12:00:35 | * | Araq_ joined #nimrod |
12:01:05 | Araq_ | hi BitPuffin |
12:01:22 | BitPuffin | hey Araq_! |
12:01:33 | BitPuffin | Araq_: There seems to be a problem with either nimrod, babel, or jester |
12:02:25 | Araq_ | they work fine here on my machine |
12:03:02 | BitPuffin | Araq_: Compiling the jester example on github brings: gcc: error: /home/isak/src/nim/bitpuffin/nimcache/jester-0.1.0_jester: No such file or directory |
12:03:13 | BitPuffin | gcc: fatal error: no input files |
12:03:15 | BitPuffin | compilation terminated. |
12:05:46 | BitPuffin | Araq_: I am not the only one who has this problem |
12:06:02 | Araq_ | alright will fix it tonight |
12:06:20 | Araq_ | no idea how the .c file extension got lost |
12:08:49 | BitPuffin | Araq_: great! |
12:08:52 | BitPuffin | Araq_: Yeah it's weird |
12:09:00 | BitPuffin | Araq_: so the problem is in the compiler? |
12:10:46 | Araq_ | the problem is the '.' in jester's "name" |
12:10:55 | Araq_ | I think |
12:11:09 | Araq_ | so the compiler thinks it already has a perfectly valid extension |
12:11:18 | Araq_ | that's my guess anyway |
12:13:12 | BitPuffin | Araq_: aaahhw it's got to be the 0.1.0 part perhaps? |
12:13:55 | Araq_ | yes |
12:14:50 | BitPuffin | I'm looking forward to the fix then haha. Was hoping to do some jester coding today but I guess I am gonna have to wait |
12:15:00 | BitPuffin | or, I guess I could just put jester in the same dir maybe |
12:20:23 | Araq_ | just move it to $babel/jester |
12:22:11 | BitPuffin | Araq_: you mean the project? |
12:22:51 | BitPuffin | Araq_: maybe the breakage came from the babel integration in the compiler you mentioned |
12:34:18 | Araq_ | yes it come from my "improvements" for babel support |
12:34:51 | Araq_ | move $babel/jester-0.1.0 to $babel/jester |
12:37:58 | * | Araq_ quit (Read error: Connection timed out) |
12:39:51 | * | Araq_ joined #nimrod |
12:40:40 | BitPuffin | Araq_: yep that worked just fine |
12:46:08 | Araq_ | bbl |
12:46:10 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]) |
12:46:53 | * | DAddYE joined #nimrod |
12:47:13 | * | zhtx joined #nimrod |
12:52:56 | * | DAddYE quit (Ping timeout: 245 seconds) |
12:54:57 | * | Ricky_Ricardo joined #nimrod |
13:03:41 | zhtx | Anyone has a prebuilt Aporia for Windows? |
13:06:32 | BitPuffin | Why is the user for the nimforum database called "postgres" when it is using sqlite.. |
13:13:28 | * | BitPuffin quit (Ping timeout: 240 seconds) |
13:15:03 | * | OrionPK joined #nimrod |
13:21:40 | * | Araq_ joined #nimrod |
13:22:26 | Araq_ | zhtx: search the forum for prebuilt binaries, but I can also upload new ones; Aporia runs fine here |
13:23:30 | Araq_ | bitpuffin: it started as a postgres database and then I migrated it to sqlite |
13:25:03 | zhtx | Araq_: I didn't find it with Google? |
13:26:37 | * | BitPuffin joined #nimrod |
13:26:56 | Araq_ | http://forum.nimrod-code.org/t/131/2#642 |
13:27:07 | Araq_ | near the bottom there are 2 links from me |
13:29:12 | BitPuffin | Araq_: why did you leave postgres? |
13:29:22 | BitPuffin | usually it is the other way aronud haha |
13:31:10 | Araq_ | BitPuffin: I got tired of setting up postgres on VPS'es |
13:32:03 | BitPuffin | Araq_: ah, understandable, you move around a lot? |
13:32:58 | BitPuffin | jester really needs code reloading, the workflow is a bit annoying as it takes a while for the sockets to get freed up so that it can bind to it |
13:33:04 | Araq_ | not anymore |
13:33:51 | BitPuffin | for me it does |
13:33:59 | BitPuffin | and I updated everything yesterday |
13:34:03 | BitPuffin | jesterday hurr hurr |
13:37:30 | Araq_ | iirc dom96 did something about that port freeing stuff but I can't remember what |
13:39:10 | BitPuffin | maybe it is in the git version then? |
13:39:24 | zhtx | Araq_: your build works great. thanks. |
13:40:33 | Araq_ | BitPuffin: could also be a linux setting that you have to tweak |
13:42:23 | BitPuffin | Araq_: perhaps |
13:42:33 | BitPuffin | guess we'll see when dom96 gets here |
13:44:48 | shevy | sexy sexy aporia |
13:44:58 | * | zhtx left #nimrod (#nimrod) |
13:45:17 | * | Araq_ quit (Read error: Connection timed out) |
13:50:12 | * | DAddYE joined #nimrod |
13:52:15 | BitPuffin | brb gonna take the dog for a bike ride (with it jogging by the side obviously :P) |
13:56:26 | * | DAddYE quit (Ping timeout: 245 seconds) |
14:15:07 | * | Ricky_Ricardo quit (Quit: Ricky_Ricardo) |
14:17:57 | * | gdos joined #nimrod |
14:21:54 | * | Demos joined #nimrod |
14:23:19 | Demos | is there a way to build with -d:ssl on widnows? |
14:24:17 | Demos | also there seems to be a problem bootstrapping nimrod64 on windows with csources |
14:30:37 | * | Associat0r joined #nimrod |
14:30:37 | * | Associat0r quit (Changing host) |
14:30:37 | * | Associat0r joined #nimrod |
14:32:11 | * | Endy joined #nimrod |
14:41:43 | * | Demos quit (Read error: Connection reset by peer) |
14:45:35 | * | Demos joined #nimrod |
14:47:23 | * | io2 joined #nimrod |
14:53:16 | * | DAddYE joined #nimrod |
14:59:51 | * | DAddYE quit (Ping timeout: 268 seconds) |
15:02:58 | * | Demos quit (Ping timeout: 256 seconds) |
15:09:33 | dom96 | whoo, so much logs to read. |
15:09:41 | dom96 | BitPuffin: pong |
15:10:59 | * | Demos joined #nimrod |
15:12:16 | dom96 | Demos: Yeah, you just build with -d:ssl :P |
15:12:23 | dom96 | Demos: You need the openssl dlls though |
15:14:22 | BitPuffin | oi dom96! |
15:14:37 | dom96 | BitPuffin: I haven't done anything for that port freeing yet |
15:14:46 | dom96 | or did i.. hrm |
15:15:22 | BitPuffin | dom96: check! :P |
15:15:28 | * | Demos quit (Ping timeout: 240 seconds) |
15:15:55 | * | Demos joined #nimrod |
15:16:05 | dom96 | argh, I dislike when people fork my projects for no apparent reason. I always get excited that I will get some cool pull requests from that person. |
15:16:19 | BitPuffin | dom96: hahaha |
15:17:57 | dom96 | yeah, no I haven't done that yet. |
15:18:20 | BitPuffin | awh |
15:19:13 | dom96 | Seems this is as far as I got: https://github.com/Araq/Nimrod/blob/master/lib/pure/sockets.nim#L1630 |
15:19:32 | dom96 | I think it works, but it looks POSIX only. |
15:30:01 | * | io2 quit () |
15:32:06 | BitPuffin | dom96: well linux is posix so :P |
15:32:25 | dom96 | yeah, so it's good enough for you. |
15:32:39 | BitPuffin | dom96: do I need to install latest git version for that? |
15:32:54 | dom96 | just hack it in :P |
15:33:19 | BitPuffin | dom96: oh you mean in to jester? |
15:33:20 | dom96 | I would add it myself but I have plans to refactor sockets.nim majorly. |
15:33:26 | dom96 | yeah |
15:33:35 | dom96 | eventually I will do it properly |
15:34:55 | BitPuffin | hmm |
15:36:23 | BitPuffin | dom96: but then is it worth doing it? :P |
15:36:46 | dom96 | possibly, having to wait 30 seconds for linux to release your socket is annoying |
15:37:04 | BitPuffin | yeah |
15:37:26 | BitPuffin | dom96: well guess I am gonna have to read through all the jester code then |
15:37:29 | BitPuffin | maybe that's for the best |
15:37:35 | BitPuffin | so that I can help developing it :) |
15:37:59 | dom96 | yes. I need to finally get to work optimising it. |
15:38:07 | dom96 | So much to do! |
15:38:24 | BitPuffin | yup |
15:38:33 | BitPuffin | but if we make it great enough it might gain adoption |
15:38:38 | BitPuffin | we also need an official site for it |
15:38:42 | BitPuffin | gh just ain't gonna cut it |
15:39:29 | dom96 | hrm, true. That would be cool. |
15:39:44 | dom96 | We should ask filwit for a nice logo and website. |
15:40:07 | dom96 | But I already asked him many times for an Aporia logo and he's probably tired of it now heh. |
15:40:25 | * | Demos quit (Ping timeout: 245 seconds) |
15:40:25 | BitPuffin | I could probably do something |
15:40:33 | BitPuffin | I am unemployed and shit anyways |
15:40:46 | dom96 | I wish I was unemployed... |
15:40:47 | BitPuffin | dom96: would be cool if the jester website was written in jester |
15:40:50 | BitPuffin | dom96: lol |
15:41:02 | * | Demos joined #nimrod |
15:41:24 | BitPuffin | Gotta get around to adding an easy way to call the nimrod compiler from nimrod code |
15:41:29 | dom96 | But a Jester website would just be static, I think. |
15:41:30 | BitPuffin | would be really helpful for jester |
15:41:43 | BitPuffin | dom96: yeah probably, but still it would be nice haha |
15:42:03 | BitPuffin | dom96: maybe we could have a jester blog etc |
15:42:20 | BitPuffin | dom96: so that we can show off sites made with jester and stuff |
15:42:26 | dom96 | That would clash with my other project hah |
15:42:34 | BitPuffin | dom96: what project? |
15:42:38 | dom96 | ipsumgenera |
15:42:44 | BitPuffin | awsnap |
15:42:52 | BitPuffin | yeah true |
15:43:03 | BitPuffin | but ipsumgenera does not do comments :P |
15:43:09 | BitPuffin | you'd need to use disqus or something |
15:43:40 | BitPuffin | dom96: I don't think it clashes though, static blogs are nice for some purposes, and dynamic blogs are better for some, no big deal |
15:43:43 | dom96 | yeah, that's what I would use :P |
15:44:11 | dom96 | You can develop one if you want, but I don't see why I would develop two different pieces of software for blogs. |
15:44:32 | dom96 | however |
15:44:42 | dom96 | Creating a Tumblr competitor might be fun |
15:45:12 | BitPuffin | well |
15:45:25 | BitPuffin | I am currently just trying to develop my personal site in jester |
15:46:03 | dom96 | also, it's cool that gradha now uses ipsum: http://gradha.github.io/ |
15:47:05 | BitPuffin | dom96: yep that's cool. But I don't see anything wrong with writing a blog in jester, it doesn't clash imo |
15:47:35 | dom96 | I think it does, they will serve the same purpose. |
15:47:42 | dom96 | You wouldn't use both at the same time. |
15:47:44 | BitPuffin | yes but why would that be a clash |
15:47:50 | dom96 | ^ |
15:47:56 | BitPuffin | still don't agree |
15:48:06 | BitPuffin | a static blog is good for something really bare |
15:48:16 | BitPuffin | with jester you can expand a lot more |
15:48:24 | dom96 | btw I found this forum with some guys talking about Nimrod, and I wonder what they are up to: http://www.allbasic.info/forum/index.php?topic=235.0 |
15:48:36 | BitPuffin | add comments, administration etc |
15:49:05 | dom96 | yeah, ok. But why would I have a personal static blog and a personal dynamic blog? |
15:49:55 | BitPuffin | dom96: you wouldn't? Who said anything about that |
15:50:00 | BitPuffin | dom96: I am talking a blog for jester |
15:50:05 | BitPuffin | not a blog for dom96 |
15:50:31 | dom96 | lol. ok. But since my personal blog is static then why would I make jester's blog dynamic? :P |
15:52:07 | BitPuffin | dom96: because that is nice pr for jester, why would anyone use jester if the jester website isn't even written in jester. Plus we could add comments etc and other nice features to it |
15:52:55 | dom96 | alright. Well, like I said. If you want to do it you can, I don't really have the time. |
15:53:15 | BitPuffin | dom96: well, first I'll make my own site :P |
15:54:22 | BitPuffin | dom96: where should I put the setReuseblabla stuff in jester? |
15:55:02 | dom96 | hrm, well actually. |
15:55:09 | dom96 | You do need it in the stdlib |
15:55:15 | BitPuffin | ah |
15:55:17 | BitPuffin | in register |
15:55:19 | BitPuffin | whaaa |
15:55:26 | BitPuffin | ._. |
15:55:33 | dom96 | Since httpserver creates the socket |
15:55:44 | BitPuffin | oh |
15:56:13 | * | DAddYE joined #nimrod |
15:56:28 | BitPuffin | well that's a PITB |
15:56:58 | dom96 | yeah, I know. |
15:56:59 | dom96 | sorrryyyyy |
15:57:29 | * | BitPuffin unleashes wrath upon dom96 |
15:58:12 | dom96 | I'm doing the best I can! |
15:59:35 | BitPuffin | yes :) |
15:59:36 | * | Demos quit (Ping timeout: 245 seconds) |
15:59:40 | * | BitPuffin pats dom96 |
16:02:13 | BitPuffin | I can't even find the httpserver |
16:02:17 | BitPuffin | might have to live with it I guess |
16:02:25 | BitPuffin | I don't really feel like touching the stdlib atm haha |
16:02:30 | * | DAddYE quit (Ping timeout: 245 seconds) |
16:03:53 | dom96 | lol |
16:12:01 | BitPuffin | Yay |
16:12:06 | BitPuffin | solved fizzbuzz in nimrod |
16:12:08 | BitPuffin | how hard |
16:12:10 | BitPuffin | not |
16:12:12 | BitPuffin | :D |
16:14:10 | BitPuffin | welp that was a waste of very few minutes |
16:17:11 | NimBot | Araq/Nimrod master 3bfcece Dominik Picheta [+0 ±1 -0]: Fixes problems parsing XML docs with multiple PIs. |
16:29:17 | dom96 | hrm, is frictional making some sort of creepy sci-fi movie now? http://www.pcgamer.com/2013/10/07/frictionals-soma-gets-a-second-freaky-teaser-trailer |
16:35:06 | * | Demos joined #nimrod |
16:37:48 | * | eco quit (Quit: leaving) |
16:43:26 | * | Demos quit (Ping timeout: 240 seconds) |
16:59:24 | * | DAddYE joined #nimrod |
17:01:50 | * | DAddYE quit (Read error: Connection reset by peer) |
17:02:23 | * | DAddYE joined #nimrod |
17:02:31 | * | DAddYE quit (Remote host closed the connection) |
17:03:11 | * | DAddYE joined #nimrod |
17:07:13 | * | BitPuffin quit (Ping timeout: 246 seconds) |
17:09:57 | wlhlm | What is the meaning of the binary files (*.o) in lib/? https://github.com/Araq/Nimrod/tree/master/icons |
17:24:15 | OrionPK | they're .o files so they can be linked into the final resulting binary I guess |
17:30:36 | * | shodan45 joined #nimrod |
17:33:22 | wlhlm | OrionPK: I was just wondering, because doing a file(1) on them just gives me "data". |
17:33:53 | * | ltbarcly joined #nimrod |
17:34:11 | * | shevy quit (Ping timeout: 246 seconds) |
17:38:20 | Araq | ltbarcly: Nimrod supports both overloading of "ordinary" operators as well as defining "new" ones |
17:38:44 | Araq | and *- is always parsed as 1 operator never as 2 even if no *- has been defined |
17:38:52 | ltbarcly | I see |
17:39:12 | ltbarcly | have you seen any actual uses of 'new' operators? |
17:39:28 | Araq | this question makes no sense :P |
17:39:48 | Araq | os.nim defines /../ for path concatenation for instance |
17:39:55 | Araq | re.nim defines =~ |
17:40:08 | Araq | and system.nim defines all the "builtin" operators |
17:40:20 | ltbarcly | gotcha |
17:40:59 | Araq | hi gdos welcome |
17:41:27 | Araq | dom96: did you fix the xml parsing bug already? |
17:44:11 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
17:46:49 | * | shevy joined #nimrod |
17:46:57 | dom96 | Araq: yes |
17:47:05 | Araq | great |
18:07:19 | dyu_ | quick question, how do I tell nimrod to compile the c sources with -fPIC |
18:08:09 | dyu_ | my current flags are -d:release --noLinking |
18:09:49 | Araq | --app:dll produces a DLL iirc |
18:10:08 | Araq | you can also use --passC:"-fPIC" |
18:10:25 | dyu_ | thanks |
18:10:30 | dyu_ | i'll try the latter |
18:11:44 | dyu_ | works |
18:25:38 | * | ltbarcly joined #nimrod |
18:29:41 | * | fowl joined #nimrod |
18:36:38 | * | fowl quit (Read error: Connection reset by peer) |
18:37:10 | gdos | hi Araq. :) |
18:39:51 | * | io2 joined #nimrod |
18:42:04 | * | gdos quit (Ping timeout: 246 seconds) |
18:42:34 | * | MFlamer_ quit (Read error: Connection reset by peer) |
18:43:41 | * | MFlamer joined #nimrod |
18:43:52 | * | Demos joined #nimrod |
18:50:13 | Araq | hi Demos welcome |
18:53:47 | * | fowl joined #nimrod |
18:54:01 | Demos | hi! |
18:54:43 | Araq | what problems do you have with win64? |
18:55:07 | * | DAddYE quit (Read error: Connection reset by peer) |
18:55:26 | * | DAddYE joined #nimrod |
18:55:27 | * | Demos quit (Read error: Connection reset by peer) |
18:55:38 | * | Demos joined #nimrod |
18:55:44 | Demos | agh wireless |
18:58:15 | * | dyu_ quit (Quit: Leaving) |
19:00:36 | Demos | just found out about nimrod a few months ago and just recently got more intrested in it because rust looked a little meh |
19:03:51 | Araq | it's nice it takes months for many people to realize nimrod's potential ... :-/ |
19:05:22 | MFlamer | Hi guy's |
19:05:45 | Demos | well I went off and was programming in c++ for a long while. C++ is nice because it is pretty expressive and has good libraries and tooling, but ohmygod nimrod's generic programming support is so much less <><><<<<><>>> |
19:06:12 | MFlamer | Araq: I got busy this weekend. I'll take a look at that bug toonight |
19:07:02 | Araq | MFlamer: no worries |
19:08:17 | Araq | Demos: soon there is nothing left that C++ can more easily than Nimrod ;-) |
19:08:24 | Araq | *can do |
19:08:31 | OrionPK | I wouldn't call C++ expressive |
19:08:40 | OrionPK | not by the standards of the past 15 years |
19:08:44 | MFlamer | I know the idea is to start fixing some bugs in the compiler, hopefully not report new ones, but I did post one last night. :-) |
19:09:09 | Araq | yes, I know. Github sends these things called "emails" |
19:09:26 | MFlamer | ;-) |
19:09:44 | Araq | OrionPK: I would call C++ expressive |
19:10:14 | Demos | Araq: I know! that is why I am pumped. and I find I can do most everything I would like in c++ in terms of expresitive, but it tends to require really mind-bending templates |
19:10:54 | Demos | wow that sentence did not turn out too well.... |
19:11:22 | shevy | IRCing is best when drunk anyway |
19:11:26 | OrionPK | Araq as in it's succinct and easy to read? |
19:11:36 | MFlamer | Is there a 1.0 punch list somewhere? |
19:11:42 | * | BitPuffin joined #nimrod |
19:12:26 | Demos | I also really like the idea of GC that I can communicate with. Although I also really like having most of my heap memory uniquely owned with c++'s unique_ptr's. But I hear nimrod has destructors and RAII, implemented as a library no less |
19:13:57 | Demos | c++ still had better tooling than nimrod, although I wager nimrod has the advantage of not being as insane to parse as c++ |
19:14:00 | Demos | *has |
19:14:02 | MFlamer | I think C++ is expressive as in complexity of concepts and abstractions that can be implemented, but not necessarily succinct and easy to read |
19:15:18 | Araq | Demos: of course C++ still has better tooling; heck, Nimrod is not even alive yet *cough* |
19:16:15 | Demos | c++ tooling still sucks, and you need it more because of the whole include "think" |
19:16:32 | OrionPK | MFlamer no denying there's a lot of things you can DO in C++ |
19:16:40 | Demos | lol |
19:16:55 | OrionPK | but the fact you have to write a lot of hard to read/parse code to do a lot of it means its not particularly expressive IMO |
19:17:21 | Demos | well the point was that in something like java you just can not /do/ these things |
19:18:49 | Demos | anywho it was between nimrod, rust, and D for me. D seems to have a primitive GC, rust expends too much energy on object lifetimes when in reality they are either clearly uniquely owned or not, and in the latter case a GC is nice |
19:20:13 | MFlamer | yea, low "power to weight ratio" |
19:20:32 | Demos | yeah, also multimethods are great |
19:21:00 | Demos | and I need to reverse the braindamage done by C/C++'s decleration syntax anyways |
19:27:43 | Araq | actually often I consider the indentation based parsing Nimrod's biggest advantage, I'm so fed up with curlies and semicolons... ;-) |
19:28:49 | Araq | the meta programming that pushes the state of the art is a minor feature in comparison :P |
19:30:26 | Demos | yeah, I agree, but it is burned into my brain :D |
19:34:04 | Araq | ping BitPuffin |
19:34:36 | * | MFlamer_ joined #nimrod |
19:35:25 | BitPuffin | pong Araq |
19:35:54 | BitPuffin | dom96: yeah I know about the frictional thing, been following the teaser stuff |
19:36:01 | BitPuffin | since the countdown |
19:36:51 | * | MFlamer quit (Ping timeout: 245 seconds) |
19:36:51 | NimBot | Araq/Nimrod master c61a247 Araq [+0 ±1 -0]: niminst: yet another bugfix |
19:36:51 | NimBot | Araq/Nimrod master a21b8d2 Araq [+0 ±1 -0]: implemented top level asm statements |
19:36:51 | NimBot | Araq/Nimrod master 1acd6fb Araq [+0 ±2 -0]: bugfix: package names should not contain '.' |
19:36:51 | NimBot | Araq/Nimrod master 67dedcd Araq [+0 ±1 -0]: Merge branch 'master' of https://github.com/Araq/Nimrod |
19:37:30 | Araq | BitPuffin: please check again, I think I fixed the jester problem |
19:43:08 | * | MFlamer_ quit (Ping timeout: 240 seconds) |
19:45:10 | BitPuffin | Araq: oh really? okay let me just update my nimrod |
19:49:46 | BitPuffin | dom96: no but it's not a movie, it's just teasers for their new game |
19:50:34 | dom96 | I just found out about it, they're doing a very good job teasing it. |
19:50:39 | dom96 | I kinda wish it was a movie |
20:02:06 | BitPuffin | dom96: why? |
20:05:21 | * | wlhlm left #nimrod ("WeeChat 0.4.1") |
20:07:10 | BitPuffin | Araq: it appears to be working |
20:07:19 | * | MFlamer joined #nimrod |
20:07:27 | BitPuffin | thanks for fixing it |
20:10:25 | * | Endy quit (Ping timeout: 240 seconds) |
20:13:29 | * | ltbarcly quit (Quit: Textual IRC Client: www.textualapp.com) |
20:21:57 | BitPuffin | Araq: will using a regular nimrod closure work as a javascript closure? |
20:22:08 | BitPuffin | experimenting with writing javascript in nimrod for this webapp |
20:22:41 | Araq | yes but beware of slightly different semantics due to bug xyz |
20:22:59 | BitPuffin | Araq: haha, bug xyz? |
20:23:39 | Araq | for the JS target Nimrod leaves the variable capturing to JS |
20:23:57 | Araq | which has different capturing semantics than Nimrod |
20:24:09 | Araq | this has the advantage that callbacks are compatible |
20:24:09 | BitPuffin | how do you mean capturing? |
20:24:19 | BitPuffin | oh |
20:24:27 | BitPuffin | you mean the environment? |
20:24:29 | Araq | and the disadvantage that it doesn't fit nimrod's semantics, strictly speaking |
20:24:46 | BitPuffin | the function environment |
20:24:51 | Araq | it's quite hard to fix and I consider it a very minor issue |
20:25:09 | BitPuffin | so how does the semantics differ? |
20:25:11 | Araq | yes, I'm talking of how the environment is generated |
20:25:25 | dom96 | BitPuffin: Because I like movies like that. |
20:25:48 | BitPuffin | dom96: ah, but games like that are nice too |
20:26:14 | Araq | BitPuffin: look at the bug report |
20:27:00 | BitPuffin | Araq: is it called xyz? |
20:27:32 | Araq | guess what |
20:27:46 | Araq | I can't be bothered to find the issue number |
20:28:09 | BitPuffin | https://github.com/Araq/Nimrod/issues/521 |
20:28:12 | BitPuffin | ? |
20:28:34 | Araq | no |
20:28:52 | BitPuffin | only 3 bugs show up when searching for javascript |
20:28:55 | BitPuffin | urgh |
20:29:53 | BitPuffin | Araq: and what kind of a programmer does not memorize all the issue numbers :P |
20:31:36 | BitPuffin | well searched for both js and javascript |
20:31:49 | BitPuffin | didn't see any bug about closures |
20:33:57 | Araq | blame reactormonk then for not naming his bug reports properly |
20:34:38 | BitPuffin | or even tagging them correctly :P |
20:34:44 | BitPuffin | damn it reactormonk! |
20:34:51 | * | BitPuffin unleashes terror and doom upon reactormonk |
20:35:29 | Araq | MFlamer: there is my todo.txt in the repo ... zahary has its own todo and so does dom96 |
20:35:50 | reactormonk | BitPuffin, I tag them |
20:36:18 | MFlamer | ok, i'll take a look |
20:36:35 | reactormonk | BitPuffin, tags are here for a reason. |
20:37:08 | BitPuffin | reactormonk: yeah I see some are tagged, but not the one about closures |
20:37:33 | reactormonk | BitPuffin, do you have permissions to tag them? If not, gimme ids and I'll go over it |
20:37:45 | BitPuffin | oh wait |
20:37:49 | BitPuffin | maybe it is closed |
20:37:55 | BitPuffin | is this the bug? https://github.com/Araq/Nimrod/issues/335 |
20:38:10 | BitPuffin | no it can't be |
20:38:12 | BitPuffin | or can it |
20:38:15 | Araq | no |
20:38:48 | BitPuffin | Araq: are you sure reactormonk was the one who reported it? |
20:39:15 | reactormonk | BitPuffin, might be... |
20:40:39 | dom96 | This seems the most probable out of the open JS issues: https://github.com/Araq/Nimrod/issues/347 |
20:41:10 | Araq | yup that's it |
20:41:40 | Araq | and it's tagged as JS, BitPuffin |
20:41:52 | BitPuffin | Araq: I saw that one, but that's not about closures |
20:42:01 | BitPuffin | but I guess the whole discussion was about semantics |
20:42:18 | Araq | of course it's about closures |
20:42:44 | BitPuffin | oh wait |
20:43:19 | reactormonk | BitPuffin, yup, it's about closures. |
20:43:33 | BitPuffin | yep |
20:43:42 | BitPuffin | sorry I guess I just glanced it over really quickly |
20:44:05 | * | BitPuffin unleashes glorious joy and fuzzy things upon reactormonk |
20:46:26 | reactormonk | BitPuffin, fix it, and you're fine with me ;-) |
20:47:14 | BitPuffin | reactormonk: haha, wish I could |
20:47:21 | BitPuffin | but I'm not much of a compiler guy |
20:47:26 | reactormonk | BitPuffin, me neither |
20:47:28 | BitPuffin | not yet anyway |
20:47:34 | reactormonk | got some fixed thought though |
20:47:58 | reactormonk | BitPuffin, just go fuck with it ;-) |
20:48:05 | BitPuffin | reactormonk: yeah maybe some day :) |
20:48:10 | BitPuffin | after all I don't have a jerb |
20:48:25 | BitPuffin | is there a way to create javascript objects like json notation ish in nimrod? |
20:48:50 | BitPuffin | or do I have to create a variable and initalize the object and store it in there? |
20:48:51 | Araq | BitPuffin: nimrod's objects are mapped to JS's objects |
20:50:09 | BitPuffin | Araq: oh so I would first create the object "class" (I know I know) and then use the constructor? |
20:50:22 | BitPuffin | like TPerson |
20:50:33 | BitPuffin | TPerson(name: blabla, age: balbal) |
20:51:40 | Araq | yeah but ensure TPerson is mapped to the JS object of your choice |
20:51:50 | Araq | with 'importc' |
20:51:58 | Araq | just look at some examples |
20:53:56 | BitPuffin | I'll have a look |
20:54:07 | BitPuffin | are there examples in the nimrod repo? |
20:59:01 | Araq | sure |
21:04:43 | BitPuffin | that's some hilarious javascript nimrod generated |
21:06:35 | * | filwit joined #nimrod |
21:08:33 | filwit | trying to benchmark, but epochTime doesn't seem to be reliable.. |
21:08:42 | filwit | one sec, lemmy post a gist |
21:11:17 | * | Demos_ joined #nimrod |
21:13:33 | * | Demos_ quit (Client Quit) |
21:13:41 | * | Demos_ joined #nimrod |
21:13:57 | filwit | https://gist.github.com/PhilipWitte/6772348 |
21:14:08 | * | Demos quit (Ping timeout: 256 seconds) |
21:14:13 | filwit | anyone know why the results are so inconsistent? |
21:14:34 | filwit | i've tried with cpuTime() as well, but that seems just as bad or worse |
21:15:24 | filwit | my guess is that these values are rolling over, and i'm measuring incorrectly (what else could it be?), but I don't see any other clear timing procs in the Times module |
21:17:33 | filwit | unless i'm supposed to use getTime(), but it says in the docs to use epochTime() for higher precision |
21:17:45 | * | cablehead joined #nimrod |
21:23:56 | BitPuffin | is there a way to get a javascript file without it ending up in nimcache? |
21:25:39 | Araq | BitPuffin: you can set --nimcache |
21:25:48 | Araq | filwit: which OS? |
21:26:25 | filwit | Araq: ArchLinux 64, AMD Phenom II X4 |
21:26:43 | Araq | tried linux's time command? |
21:27:09 | filwit | nah, but getTime seems to be working consistently at least, but the resolution is poor |
21:27:45 | filwit | what are you using for the GC timing? |
21:28:08 | BitPuffin | hrm |
21:28:42 | BitPuffin | I suppose I am gonna have to add id and watch and all that stuff to navigator in the dom in order to use persona |
21:28:49 | BitPuffin | guess I'm just gonna write plain javascript |
21:28:58 | filwit | also, what module do i need to import to do int64 / in64 ? (and why isn't that built-in, lol) |
21:30:12 | Araq | BitPuffin: don't; write nimrod instead |
21:30:39 | Araq | filwit: I assume you mean unsigned arithmetic? import unsigned for that |
21:31:32 | BitPuffin | Araq: but it falls together once I need to use external libs |
21:31:40 | BitPuffin | js libs |
21:31:43 | BitPuffin | falls apart |
21:31:46 | BitPuffin | * |
21:32:13 | Araq | you need to wrap the js libraries must like you need to wrap C stuff |
21:32:19 | filwit | Araq: no, if i try (a / b) where both a & b are int64, it says expecting int/int or float/float |
21:33:06 | BitPuffin | Araq: exactly, why would I do that :P |
21:33:20 | BitPuffin | Araq: plus it's harder to wrap since this modifies an existing dom object |
21:33:23 | BitPuffin | navicator |
21:33:25 | BitPuffin | navigator* |
21:33:33 | Araq | no it's not harder |
21:33:46 | Araq | it's pretty simple once you got the basic ideas |
21:34:12 | BitPuffin | Araq: well then how would I add a field to the object? |
21:34:35 | Araq | by pretending it exists? |
21:34:50 | * | Amrykid quit (Ping timeout: 245 seconds) |
21:34:52 | Araq | type Foo {.importc.} = obect |
21:34:55 | BitPuffin | Araq: won't that static error on my ass? |
21:35:01 | Araq | fakeField: string ## guess what |
21:35:24 | BitPuffin | Araq: so you mean I should rewrite TNavigator? |
21:35:50 | * | Amrykid joined #nimrod |
21:35:55 | Araq | you import it, you declare what fields exist/are important to you |
21:36:18 | Araq | you can lie about it and thanks to JS's dynamic typing Nimrod will never notice |
21:36:35 | * | gdos joined #nimrod |
21:36:36 | Araq | and neither will JS |
21:37:35 | Araq | filwit: well / doesn't exist for int64 because we were lazy or rather because that might not fit in a float64 |
21:37:41 | BitPuffin | Araq: well but how do I tell it what fields exists without having to rewrite all the ones in the dom module? |
21:38:47 | Araq | NewType = object of dom.TDocument ? |
21:39:00 | BitPuffin | I guess |
21:39:05 | BitPuffin | that's what I was considering |
21:39:34 | Araq | however |
21:39:47 | Araq | if TNavigator is missing stuff add them and make a pull request |
21:40:20 | Araq | this all archaic code and people surely appreciate more modern versions |
21:40:37 | BitPuffin | Araq: well I think this id thing comes from persona |
21:40:41 | BitPuffin | which isn't a standard dom thing |
21:40:42 | dom96 | filwit: Try simplifying the code, it's hard to tell what is going on. I think epochTime is correct, maybe it isn't precise enough for your needs. |
21:40:45 | BitPuffin | (yet) |
21:41:16 | dom96 | also, epochTime is pretty much the same as getTime IIRC |
21:42:04 | filwit | dom96: it's pretty much as simple as it can be.. it add/sub two vectors by a user-defined repeat values (to avoid any optimization GCC might make), and measures the time |
21:42:46 | filwit | dom96: it's not that epochTime doesn't have enough precision, it's that it's not behaving reliably |
21:42:46 | Araq | filwit: the GC uses system/timers.nim which is not exported |
21:44:01 | filwit | Araq: okay, i will take a look. also, i think `/` for int64 should be defined, even if there's a loss of data (or do whatever *languageX* does) |
21:44:41 | filwit | Araq: just make it clear in the docs. just saying, not being able to divide to longs is.. unexpected |
21:45:02 | Araq | you know about 'div' vs '/' right? |
21:45:08 | filwit | no |
21:45:33 | Araq | ah well you should |
21:45:42 | filwit | i have a feeling i'm not going to like it, haha |
21:46:32 | Araq | you might like it |
21:46:32 | dom96 | hrm. |
21:46:39 | dom96 | filwit's code crashes the compiler. |
21:47:16 | BitPuffin | Araq: how's this so far? https://gist.github.com/BitPuffin/6875489 is that how you ment? |
21:47:56 | BitPuffin | ah wait, maybe I am supposed to add a pragma |
21:48:56 | filwit | dom96: hmm... not mine (ps. change `var start = ...` to `let start = ...`), i'm using the ArchLinux Nimrod compiler (official repos) |
21:49:18 | dom96 | same. Is your compiler up to date? |
21:50:05 | filwit | yeah, just updated last night or this morning |
21:51:43 | filwit | just updated the gist |
21:51:51 | filwit | and just compiled that exact code |
21:52:02 | Araq | crashes my compiler too :-) |
21:52:45 | filwit | odd... |
21:52:49 | filwit | maybe it's the pragmas? |
21:52:54 | Araq | not really |
21:53:08 | dom96 | ugh |
21:53:26 | Araq | we have some nice bug that is related to 32 vs 64 bit builds |
21:53:27 | dom96 | how does gist manage to fuck up the indentation when copying only occasionally. |
21:53:48 | Araq | well ... |
21:54:06 | Araq | the symbol table implementation was never built to deal with more recent versions of Nimrod |
21:54:42 | BitPuffin | Araq: Did I have to use importc pragma on the objects? |
21:55:06 | filwit | why does 'div' even exist? what is so hard about 'floor(a/b)' ? is there some kind of performance optimization? |
21:55:12 | Araq | BitPuffin: look at the examples |
21:55:21 | Araq | floor(a/b) != a div b |
21:55:57 | filwit | that's what the docs say |
21:56:05 | filwit | but what else does it do then? |
21:56:50 | * | gurug33k joined #nimrod |
21:57:17 | Araq | floor(a/b) produces different results than 'a div b' for some edge cases I can't remember |
21:57:41 | Araq | and I don't care whether you like or not filwit; it's technically the right way to do it |
21:58:32 | filwit | the right way to do what? |
21:58:34 | Araq | hi gurug33k welcome |
21:58:46 | gurug33k | hi Araq how are you ? |
22:00:45 | Araq | I never know if you actually expect an answer to this question |
22:01:41 | * | io2 quit () |
22:01:45 | filwit | you just seem very defensive is all, i was mostly asking what 'div' was and how it differed from `float(a/b)` (and therefor, why not just use that) |
22:02:00 | Araq | you know |
22:02:11 | * | q66 quit (Quit: Leaving) |
22:02:18 | BitPuffin | Araq: in the nimrod repo? |
22:02:58 | Araq | BitPuffin: you already found dom.nim |
22:03:54 | gurug33k | Araq: I saw the donation link on the site I was wondering if you need donations for the project...was also thinking if anyone would be interested in marking like a script to install all nimrod + babel + jester in one go like |
22:04:06 | gurug33k | like 1 command auto shell script type of thing :) |
22:04:19 | Araq | donations surely help |
22:04:20 | filwit | if `div` has differences, cool (though i DO disagree with it if it's just for that and in the systems module, but that's not what i was asking, and I'm not even sure of the differences, so I could be mistaken.. i've just never seen anything like that in other languages) |
22:04:47 | filwit | but i'm not trying to suggest changes to Nimrod at all right now |
22:05:09 | filwit | i'm just trying to figure out how to make my benchmark function correctly |
22:05:18 | Araq | filwit: Python has / and // in version 3, Modula 3 and Delphi both have div and / and C-like languages are the weird exception from the rule |
22:05:41 | filwit | Araq: good to know. |
22:06:28 | Araq | gurug33k: just imagine what we could do if we could work fulltime on the language and tools |
22:07:55 | * | BitPuffin quit (Ping timeout: 245 seconds) |
22:07:55 | gurug33k | Araq: well depends on your roadmap etc. as I saw this since a day (thanks BitPuffin) I think it could use some more automation for the installation getting started...but may be is just me thinking to make it too easy to install may be is meant to be like a learning curve :) |
22:09:33 | Araq | nah go write that script and I might include it |
22:10:20 | gurug33k | Araq: may be on the next release it will all work fine ..perhaps no point to do a bash script to auto install all but i might do it if saves some people time :) |
22:10:30 | gurug33k | Araq: thanks ! |
22:11:18 | * | BitPuffin joined #nimrod |
22:11:31 | dom96 | Perhaps it makes sense to have it in a separate repo so that you can tell people to just do: wget https://github.com/foo/nimrod-install/master/install.sh | sh |
22:12:18 | gurug33k | yes dom96 I think so ..well obviously not everyone would need this but I think for some people that want to do web stuff is useful :) |
22:12:40 | BitPuffin | dom96: where was that framework benchmark thing you wrote a jester test for? |
22:12:59 | gurug33k | oh dom96 congrats for jester I think is really cool |
22:13:10 | gurug33k | but you probably know that already :) |
22:14:03 | dom96 | BitPuffin: http://bit.ly/15ioMii :P |
22:14:15 | dom96 | gurug33k: thanks :) |
22:16:07 | BitPuffin | dom96: A-hole :P |
22:16:54 | gurug33k | so in general is you do a simple blog with jester vs e.g. something in a simple ruby framework or so..without googling it ;) is faster ? |
22:17:04 | gurug33k | I know faster is relative etc. but just to get the whole picture |
22:18:20 | BitPuffin | dom96: no sorry, hgus |
22:18:23 | BitPuffin | hugs |
22:18:59 | dom96 | BitPuffin: It's ok, I know you love me really. |
22:19:27 | gurug33k | so dom96 what's next for jester ? |
22:19:29 | gurug33k | :) |
22:19:44 | dom96 | optimisations and getting version 0.1 out lol |
22:20:06 | BitPuffin | dom96: you mean 0.2? |
22:21:08 | dom96 | no, I never released Jester at all. |
22:21:31 | BitPuffin | oh |
22:21:42 | BitPuffin | dom96: what about more http methods? |
22:23:21 | fowl | whats new in the nimrod world |
22:23:43 | dom96 | BitPuffin: First I want to make it beat Go :P |
22:24:42 | OrionPK | dom96 i think you need a nice MVC example project |
22:25:09 | BitPuffin | mvc isn't very sinatra like |
22:25:09 | * | filwit quit (Quit: Leaving) |
22:25:57 | BitPuffin | dom96: get on it :) gotta kill Go |
22:26:07 | gurug33k | I think an issue with all sinatra-like frameworks is that the examples always tell you how to do like routing but not much about how someone does use a db which is pretty much something all need for the web |
22:26:14 | gurug33k | but yeah I guess time is an issue :) |
22:26:39 | OrionPK | an example of how to actually structure a large application in a maintainable and 'pretty' way |
22:26:50 | OrionPK | even if it isn't MVC per se |
22:27:31 | dom96 | Well, databases isn't really a concern for these lightweight web frameworks :P |
22:27:38 | Araq | fowl: there is 'import as' and improved compiler support for babel |
22:27:53 | Araq | and not much else I'm afraid |
22:29:06 | fowl | cool |
22:31:15 | * | Amrykid quit (Changing host) |
22:31:15 | * | Amrykid joined #nimrod |
22:31:17 | * | Amrykid quit (Excess Flood) |
22:31:23 | * | Amrykid joined #nimrod |
22:44:29 | * | Demos_ quit (Read error: Connection reset by peer) |
22:44:41 | * | Demos_ joined #nimrod |
22:45:44 | gurug33k | Araq: did you get the donation ? :) |
22:47:51 | Araq | hell yes. thanks a lot |
22:47:55 | gurug33k | :) |
22:48:24 | Araq | maybe we should do that kickstarter thing ... ;-) |
22:49:09 | * | Demos_ quit (Ping timeout: 240 seconds) |
22:49:31 | gurug33k | if you give perks that might work :O |
22:50:00 | gurug33k | I am not sure about the gittip thing..I remember when the guy (which was from python if I recall correctly) launched it but not sure ppl want to do like an x donation each week |
22:50:17 | gurug33k | but heh |
22:50:21 | gurug33k | probably for some it works |
22:50:51 | gurug33k | I think with perks ppl donate more :) hehe |
22:52:06 | dom96 | Araq is actually getting some money on gittip, I wonder who it's from |
22:53:44 | BitPuffin | Araq: is there a subscription donate option available? other than gittip |
22:54:10 | BitPuffin | I actually have a great way to fund open source projects in my mind |
22:54:18 | BitPuffin | that I will implement for my game api thing |
22:54:45 | gurug33k | may be to some people is easy to use gittip |
22:55:05 | gurug33k | also may be as it is continuous provides some security..I know the guy that did it wanted to live off this but I don't think he managed |
22:59:30 | * | zahary_ quit (Ping timeout: 264 seconds) |
23:06:59 | dom96 | Good night |
23:07:35 | Araq | same here, good night |
23:07:51 | Araq | and thanks again, gurug33k for your most generous gift |
23:08:01 | dom96 | ^^ |
23:14:28 | gurug33k | you are welcome :) |
23:14:31 | gurug33k | good night :D |
23:17:11 | OrionPK | dom96, are workspaces/project files on the docket for aporia? |
23:19:22 | fowl | and split view^^ |
23:19:55 | fowl | i feel like doing some programming... but no idea of what to program |
23:20:45 | OrionPK | fowl yeah I already asked about split view I think ;p |
23:22:05 | * | cablehead quit (Remote host closed the connection) |
23:22:37 | * | cablehead joined #nimrod |
23:26:56 | * | cablehead quit (Ping timeout: 248 seconds) |
23:31:18 | * | cablehead joined #nimrod |
23:37:50 | * | cablehead quit (Remote host closed the connection) |
23:38:22 | * | cablehead joined #nimrod |
23:39:10 | BitPuffin | dom96: you still here? |
23:43:10 | * | cablehead quit (Ping timeout: 256 seconds) |
23:45:00 | BitPuffin | anyone have an idea why |
23:45:03 | BitPuffin | │ cespare |
23:45:06 | BitPuffin | 6.#camping │00:12:59 gurug33k | oh dom96 congrats for jester I think is really cool │ comex |
23:45:08 | BitPuffin | 7.#glfw │00:13:10 gurug33k | but you probably know that already :) │ d34th |
23:45:10 | BitPuffin | 8.#kxstudio │00:14:03 dom96 | BitPuffin: http://bit.ly/15ioMii :P │ DAddYE |
23:45:12 | BitPuffin | 9.#zoid │00:14:15 dom96 | gurug33k: thanks :) │ dom96 |
23:45:14 | BitPuffin | 10.#horde3d │00:16:07 BitPuffin | dom96: A-hole :P │ fowl |
23:45:16 | BitPuffin | 11.#irrlicht │00:16:55 gurug33k | so in general is you do a simple blog with jester vs e.g. something in a simple ruby framework or so..without googling it ;) is faster ? │ gdos |
23:45:18 | BitPuffin | 12.#Maratis │00:17:04 gurug33k | I know faster is relative etc. but just to get the whole picture │ guaqua |
23:45:20 | BitPuffin | 13.#nimrod │00:18:20 BitPuffin | dom96: no sorry, hgus │ gurug33k |
23:45:22 | BitPuffin | 14.#identity │00:18:23 BitPuffin | hugs │ jdp |
23:45:24 | BitPuffin | │00:18:59 dom96 | BitPuffin: It's ok, I know you love me really. │ JStoker |
23:45:26 | BitPuffin | │00:19:27 gurug33k | so dom96 what's next for jester ? │ mal`` |
23:45:28 | BitPuffin | │00:19:29 gurug33k | :) │ MFlamer |
23:45:30 | BitPuffin | │00:19:44 dom96 | optimisations and getting version 0.1 out lol │ NimBot |
23:45:32 | BitPuffin | │00:20:06 BitPuffin | dom96: you mean 0.2? │ orbitz |
23:45:34 | BitPuffin | │00:21:08 dom96 | no, I never released Jester at all. |
23:45:36 | BitPuffin | oops |
23:45:38 | BitPuffin | sorry o.o |
23:45:40 | BitPuffin | var signinLink = document.getElementById("signin") |
23:45:42 | BitPuffin | if signinLink != nil: |
23:45:44 | BitPuffin | why that gives me personabuttons.nim(4, 3) Error: type mismatch: got (ref TNode) but expected 'bool' |
23:46:07 | BitPuffin | really sorry about that paste lol, damn linux copying when you accidentally mark stuff |
23:46:12 | BitPuffin | highlight* |
23:47:10 | * | cablehead joined #nimrod |
23:52:04 | fowl | o_O |
23:56:04 | BitPuffin | xD |
23:56:10 | BitPuffin | so embarrasing |
23:56:19 | BitPuffin | I usually paste with selecting and middleclicking |
23:59:40 | fowl | when did i call dom an a-hole |