00:07:38 | * | DAddYE joined #nimrod |
00:09:46 | EXetoC | there's only so much you can do. I might donate, but I think I'll wait until the next bag of gold arrives, whenever that is |
00:11:34 | BitPuffin | yeah |
00:11:49 | BitPuffin | I'm gonna give a portion of my company income to nimrod |
00:11:57 | * | DAddYE quit (Ping timeout: 240 seconds) |
00:15:56 | * | hoverbear joined #nimrod |
00:16:29 | BitPuffin | http://www.howmanypeopleareinspacerightnow.com/ |
00:16:31 | BitPuffin | sweet |
00:17:58 | BitPuffin | http://beesbeesbees.com/ |
00:18:30 | BitPuffin | http://defiantdog.com/ |
00:19:21 | BitPuffin | https://isitchristmas.com/ |
00:22:02 | * | hoverbear quit (Quit: Textual IRC Client: www.textualapp.com) |
00:25:56 | * | familiar126 joined #nimrod |
00:26:38 | * | familiar126 quit (Remote host closed the connection) |
00:27:11 | BitPuffin | I'm really wasting my time |
00:27:13 | BitPuffin | should go to sleep |
00:27:17 | BitPuffin | goodnight y'all! |
00:33:45 | * | BitPuffin quit (Read error: Operation timed out) |
00:44:16 | * | EXetoC quit (Quit: WeeChat 0.4.2) |
00:59:37 | * | OrionPKM joined #nimrod |
01:08:51 | * | DAddYE joined #nimrod |
01:09:10 | * | OrionPKM quit (Remote host closed the connection) |
01:12:51 | * | tq_ quit (Quit: tq_) |
01:12:59 | * | DAddYE quit (Ping timeout: 240 seconds) |
01:30:06 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:10:01 | * | DAddYE joined #nimrod |
02:14:14 | * | DAddYE quit (Ping timeout: 240 seconds) |
02:56:39 | * | ics joined #nimrod |
03:11:11 | * | DAddYE joined #nimrod |
03:16:11 | * | DAddYE quit (Ping timeout: 252 seconds) |
03:27:21 | * | familiar126 joined #nimrod |
03:29:35 | * | familiar126 quit (Remote host closed the connection) |
03:34:23 | * | familiar126 joined #nimrod |
03:35:18 | * | familiar126 quit (Remote host closed the connection) |
03:37:37 | * | familiar126 joined #nimrod |
03:40:49 | * | familiar126 quit (Remote host closed the connection) |
03:41:54 | * | familiar126 joined #nimrod |
03:47:33 | * | familiar126 quit (Remote host closed the connection) |
04:07:20 | * | boydgreenfield joined #nimrod |
04:09:32 | * | boydgreenfield quit (Client Quit) |
04:09:51 | * | boydgreenfield joined #nimrod |
04:15:34 | * | webskipper joined #nimrod |
04:57:52 | * | boydgreenfield quit (Quit: boydgreenfield) |
05:03:59 | * | eigenlicht quit (Ping timeout: 252 seconds) |
05:04:20 | * | boydgreenfield joined #nimrod |
05:07:37 | * | eigenlicht joined #nimrod |
05:08:05 | * | DAddYE joined #nimrod |
05:08:12 | * | DAddYE quit (Remote host closed the connection) |
05:08:18 | * | DAddYE_ joined #nimrod |
05:09:14 | * | boydgreenfield quit (Ping timeout: 264 seconds) |
05:12:19 | * | boydgreenfield joined #nimrod |
05:14:16 | * | boydgreenfield quit (Client Quit) |
06:02:16 | * | DAddYE_ quit (Remote host closed the connection) |
06:23:36 | * | Jackneill joined #nimrod |
06:31:35 | * | mflamer joined #nimrod |
07:19:50 | * | mflamer quit (Ping timeout: 272 seconds) |
07:33:24 | * | DAddYE joined #nimrod |
07:33:34 | * | DAddYE quit (Remote host closed the connection) |
07:33:40 | * | DAddYE_ joined #nimrod |
08:00:41 | * | DAddYE_ quit (Remote host closed the connection) |
08:03:34 | * | DAddYE joined #nimrod |
08:03:36 | * | DAddYE quit (Remote host closed the connection) |
08:03:45 | * | DAddYE joined #nimrod |
08:05:22 | * | webskipper quit (Ping timeout: 246 seconds) |
08:09:46 | * | webskipper joined #nimrod |
09:22:20 | * | C0C0_ joined #nimrod |
09:24:09 | * | Arcanum_za joined #nimrod |
09:26:05 | * | Raynes_ joined #nimrod |
09:26:56 | * | Raynes quit (*.net *.split) |
09:26:56 | * | fowl quit (*.net *.split) |
09:26:56 | * | olahol quit (*.net *.split) |
09:26:56 | * | Trixar_za quit (*.net *.split) |
09:26:56 | * | C0C0 quit (*.net *.split) |
09:28:49 | * | olahol joined #nimrod |
09:32:24 | * | EXetoC joined #nimrod |
09:33:04 | * | fowl joined #nimrod |
09:37:47 | webskipper | Can I convert convert a sequence to string representation... automatically ? Like echo(str(myseq)) ? |
09:38:42 | * | q66 quit (Quit: Leaving) |
09:40:46 | fowl | theres no function for it in stdlib |
09:40:48 | fowl | try this |
09:41:03 | fowl | proc `$` [T] (some: seq[T]): string = |
09:41:07 | fowl | result = "[" |
09:41:24 | fowl | for it in some: |
09:41:42 | fowl | result.add($it) |
09:41:48 | fowl | result.add ", " |
09:41:54 | fowl | result.add ']' |
09:42:59 | EXetoC | isn't "proc `$`*[T](a: openArray[T]): string =" for all sequence types? it has been disabled with a "when false" block though, because of some issue |
09:45:10 | * | q66 joined #nimrod |
09:48:21 | fowl | i think the issue is how to format it |
09:48:38 | fowl | maybe you want arrays to be "[1,2,3]" but sequences to be "@[1,2,3]" |
09:49:22 | EXetoC | wasn't there another reason? anyway, I might've said this before, but it seems like a really minor issue |
09:50:35 | fowl | dunno |
09:50:38 | EXetoC | so yeah I think there was a more serious related issue, possibly related to varargs, but I haven't been able to find anything about it on github |
09:50:40 | fowl | how you doing EXetoC |
09:51:06 | fowl | well varargs cant be used because it would match everything |
10:05:25 | EXetoC | I don't know what it was about, and why varargs comes to mind, but I'm pretty sure there was an issue that actually caused some problems, unlike the one related to formatting |
10:05:42 | EXetoC | fowl: not doing much. hopefully I'll be doing something useful in Nimrod soon. you? |
10:15:36 | * | BitPuffin joined #nimrod |
10:18:18 | * | DAddYE quit (Remote host closed the connection) |
10:18:46 | * | DAddYE joined #nimrod |
10:20:26 | BitPuffin | goooooood day folks! |
10:20:35 | * | q66 quit (Quit: Leaving) |
10:22:05 | webskipper | hi |
10:22:59 | * | DAddYE quit (Ping timeout: 252 seconds) |
10:24:58 | EXetoC | lo |
10:25:30 | * | q66 joined #nimrod |
10:26:13 | webskipper | Can we use sphinx for the nimrod lib doc ? |
10:28:41 | webskipper | other question: have we sorting algorithms in std lib ? |
10:29:44 | fowl | algorithm module |
10:32:36 | * | q66 quit (Quit: Leaving) |
10:33:09 | * | ics quit (Ping timeout: 252 seconds) |
10:34:07 | * | fowl quit (Ping timeout: 246 seconds) |
10:34:36 | EXetoC | webskipper: sphinx? I don't think so |
10:35:13 | * | ics joined #nimrod |
10:36:46 | * | fowl joined #nimrod |
10:37:00 | EXetoC | I'm unaware of any support for third-party documentation generators |
10:41:49 | EXetoC | why? have you used the official one? |
10:49:05 | webskipper | the doc is not very user friendly. for example i cant get go back to the home page |
10:50:12 | webskipper | cant navigate through all docs |
10:51:01 | * | tq_ joined #nimrod |
10:51:25 | * | tq_ quit (Client Quit) |
10:53:21 | EXetoC | it should be possible, unless it's done manually for the official website |
11:00:17 | EXetoC | well, only on the main documentation page |
11:03:28 | * | q66 joined #nimrod |
11:05:00 | * | DAddYE joined #nimrod |
11:09:44 | * | fowl quit (Ping timeout: 272 seconds) |
11:16:33 | * | fowl joined #nimrod |
11:41:02 | * | q66 quit (Quit: Leaving) |
11:57:21 | * | q66 joined #nimrod |
12:13:19 | BitPuffin | Was nimrod initially called grip? |
12:15:40 | zahary_ | nope |
12:17:09 | BitPuffin | zahary_: but why is your repo called grip-lang then? |
12:17:34 | zahary_ | it's a long story :) |
12:17:42 | BitPuffin | do tell |
12:17:48 | BitPuffin | you are a fast typist aren't you :P |
12:18:31 | zahary_ | grip is the semi official name of the alternative grammar for nimrod that I plan to create soon |
12:21:29 | BitPuffin | :o |
12:21:35 | BitPuffin | zahary_: how is it alternative? |
12:23:27 | BitPuffin | or how does it differ |
12:26:46 | fowl | BitPuffin, its based on brainfuck |
12:27:13 | BitPuffin | fowl: as expected |
12:29:34 | zahary_ | I have explained it many times here and it's a long story indeed - the most significant difference is that it's a bit more homoiconic (google that) and more friendly towards extending the language with new "keywords" defining new category of procs such as rpcProc, asyncProc, undoableAction, consoleCommand and similar categories of types - you'll have to wait till I have some more concrete examples |
12:30:30 | zahary_ | otherwise, it's just nimrod and there will be full bi-directional interop |
12:30:37 | BitPuffin | I recognize that word |
12:31:08 | BitPuffin | ah right it was when learning some lisp |
12:31:31 | BitPuffin | zahary_: sounds cool |
12:33:20 | BitPuffin | zahary_: will be interesting to see where that goes. I'm glad that it's gonna be interoperable |
12:34:49 | zahary_ | Araq has already envisioned some support for alternative syntaxes in the compiler. if he likes the new grammar I might just merge it into the standard nimrod |
12:35:42 | BitPuffin | that's pretty cool |
12:35:57 | BitPuffin | maybe we'll have to create a cimrod for people who like C syntax lol :P |
12:36:34 | fowl | theres a stub grammar for that |
12:36:55 | fowl | one called braces and one called endx |
12:37:05 | fowl | stub parser* |
12:40:56 | EXetoC | BitPuffin: oh no |
12:47:01 | BitPuffin | EXetoC: :P |
12:48:23 | fowl | i found some bitcoins |
12:48:34 | fowl | Current Balance 0.0000264 BTC ≈ 0.02 USD |
12:48:56 | * | webskipper quit (Read error: Connection reset by peer) |
12:50:22 | BitPuffin | yay! |
12:54:04 | zahary_ | I have 2 BTC from back in the day. if we extrapolate the current trend, they should be worth 2 million next year |
12:55:49 | EXetoC | damn, if only I had known |
12:56:07 | EXetoC | fowl: on the ground? |
12:56:18 | fowl | zahary_, you dont need both those millions, can i have one? |
12:57:25 | zahary_ | more millions = more full-time nimrod developers :P |
12:58:55 | fowl | EXetoC, searching my email for bitcoin, found a wallet on the internet |
13:01:09 | BitPuffin | I used to have 50 LTC |
13:01:27 | BitPuffin | LTC is currently priced at 38.30 |
13:01:29 | BitPuffin | usd |
13:01:32 | BitPuffin | ._. |
13:02:28 | fowl | what'd you do with them |
13:02:45 | BitPuffin | I lost them |
13:02:58 | BitPuffin | I thought the wallet wass stored in the same dir as the client |
13:03:04 | BitPuffin | so I had that in dropbox |
13:03:27 | BitPuffin | and then after a reformat remembering that I had some LTC I realized that the wallet was in some %appdata dir or something |
13:03:32 | BitPuffin | and yes I did try to recover them |
13:03:48 | BitPuffin | but it was too late ;_; |
13:04:30 | BitPuffin | if the data is not in three different places it does not exist |
13:13:00 | fowl | im going to gamble these bitcoins |
13:13:17 | BitPuffin | I wonder if I still have my BTC that I have in bitvegas |
13:14:18 | BitPuffin | fowl: do you have minecraft? |
13:15:34 | fowl | i bought it |
13:15:39 | fowl | its not installed currently though |
13:18:10 | * | isenmann quit (Quit: Leaving.) |
13:22:20 | BitPuffin | fowl: care to install? :D |
13:23:13 | fowl | only if someone will profit from it |
13:23:49 | BitPuffin | I will |
13:25:00 | fowl | how |
13:25:55 | BitPuffin | we both will |
13:25:58 | BitPuffin | we'll get free bitcoins |
13:26:01 | BitPuffin | if you hang on |
13:28:55 | fowl | ok |
13:29:00 | fowl | hopefully i can access my account |
13:29:21 | BitPuffin | fowl: hmm, alternatively it could wait until later |
13:29:30 | BitPuffin | since i'm at work lol |
13:32:41 | BitPuffin | fowl: okay go here www.bitvegas.net/bitcoin-casino/?id=12182 and then check how to connect to the server |
13:32:45 | BitPuffin | (it's a casino) |
13:33:59 | BitPuffin | you have to use 1.6.4 |
13:34:08 | BitPuffin | it's easy to fix with the new launcher |
13:35:22 | fowl | not sure which version i have |
13:35:41 | fowl | dont you want to refer me |
13:36:09 | BitPuffin | fowl: I get referred if you go via the link I pasted |
13:36:22 | fowl | oh ok |
13:36:38 | BitPuffin | fowl: you can select a different version in the launcher, just edit what version you use in your profile |
13:36:52 | BitPuffin | I have 10.541 mbtc :P |
13:36:59 | BitPuffin | about 11-12 usd |
13:37:41 | fowl | oh |
13:37:46 | fowl | you cant use the latest 1.7.2? |
13:38:02 | BitPuffin | fowl: nah |
13:38:19 | BitPuffin | click profile editor in the launcher |
13:38:26 | BitPuffin | then edit profile |
13:38:36 | BitPuffin | and use version: 1.6.4 |
13:38:41 | BitPuffin | and then save and play |
13:38:54 | BitPuffin | and then connect to server bitvegas.net |
13:39:07 | BitPuffin | EXetoC: do you have minecraft? |
13:39:23 | fowl | ah ok |
13:41:53 | EXetoC | BitPuffin: no |
13:41:54 | * | fowl quit (Read error: Connection reset by peer) |
13:42:39 | * | fowl joined #nimrod |
13:42:46 | fowl | computer froze |
13:43:42 | BitPuffin | dom96: do you have minecraft? |
13:43:48 | BitPuffin | fowl: lame |
13:44:02 | BitPuffin | that's why people should code their games in nimrod and not java amirite |
13:44:21 | fowl | i think i have to dl the resource pack |
13:45:08 | BitPuffin | fowl: I didn't need to |
13:45:12 | BitPuffin | not to join the server at least |
13:45:22 | fowl | today? |
13:45:31 | BitPuffin | yeah |
13:45:38 | fowl | ok trying it again |
13:50:34 | BitPuffin | fowl: any luck? |
13:50:43 | fowl | yea it works |
13:50:47 | fowl | turned the gfx way down |
13:52:47 | BitPuffin | let's see if it worked |
13:54:33 | BitPuffin | I have no idea |
13:54:35 | BitPuffin | maybe lol |
13:54:44 | BitPuffin | ah there! |
13:55:15 | BitPuffin | fowl: if you stay online I'll keep getting rewarded haha |
13:55:45 | BitPuffin | so if you are online 18 more minutes I'll get fully rewarded |
13:55:53 | BitPuffin | apparently they changed the system |
13:56:07 | BitPuffin | usually you got gifts during a period that you got out of a box |
13:56:18 | BitPuffin | which would be the thing giving you btc |
13:56:20 | BitPuffin | hmm |
13:56:37 | BitPuffin | ah it's still there |
13:56:48 | fowl | i just checked it, i have no gifts :( |
13:56:50 | BitPuffin | Each player can open the chest every 15 minutes of being online. For every time you open the chest you get 0.5mBTC |
13:57:42 | BitPuffin | fowl: also there is this thing 1PPbTAPSoLNCdFe9egofAq8zyqLjT7E5Tb |
13:57:46 | BitPuffin | woa wait |
13:57:49 | BitPuffin | http://www.bitcoinget.com/?r=1PPbTAPSoLNCdFe9egofAq8zyqLjT7E5Tb |
13:58:31 | fowl | i did some of those |
13:59:15 | BitPuffin | fowl: well you can do them for bitvegas |
13:59:31 | BitPuffin | http://www.bitcoinget.com/partner/bitvegas |
14:00:26 | BitPuffin | fowl: anyways if you wanna gamble your BTC it's a great place to do it. I'd say go for blackjack and learn how you can get the best odds |
14:01:34 | fowl | wtf |
14:01:38 | fowl | i juyst bet on red and green one |
14:01:40 | fowl | won* |
14:01:48 | BitPuffin | ah |
14:01:51 | BitPuffin | roulette? |
14:02:00 | BitPuffin | fowl: you might be playing with playmoney though |
14:02:09 | BitPuffin | type /mode |
14:02:45 | fowl | i dont have real bitcoins to play with |
14:02:59 | BitPuffin | I wonder where the giftbox is |
14:03:06 | BitPuffin | fowl: you can get some with the giftbox |
14:04:25 | fowl | its on the second floor |
14:05:28 | BitPuffin | how do I get there lol |
14:06:15 | fowl | the elevator |
14:07:16 | BitPuffin | I don't know where it is haha |
14:09:52 | EXetoC | oh, m as in milli, not million. ok that makes sense |
14:10:15 | BitPuffin | EXetoC: no million obviously |
14:14:52 | BitPuffin | yeah I'm gonna have to play with bitvegas some other time |
14:14:59 | BitPuffin | now I at least have 1.5 more mbtc |
14:23:01 | BitPuffin | fowl: I'm sure if one hangs around and looks for the box every 15 minutes one can gain some BTC :D |
14:25:29 | fowl | i dunno |
14:25:36 | fowl | im pretty sure i've been in for more than 15 minutes already |
14:26:46 | BitPuffin | fowl: have you found the chest? |
14:26:52 | fowl | yea |
14:27:06 | BitPuffin | fowl: what does it say? |
14:30:03 | dom96 | hi |
14:30:07 | dom96 | BitPuffin: yes |
14:30:59 | BitPuffin | dom96: would you mind doing the thing I showed fowl? :D |
14:31:02 | BitPuffin | so I get some BTC! |
14:31:18 | dom96 | but I want BTC too! |
14:31:30 | BitPuffin | dom96: visit www.bitvegas.net/bitcoin-casino/?id=12182 |
14:31:46 | dom96 | I have to use an older version of MC... |
14:31:47 | dom96 | argh |
14:31:51 | dom96 | Sounds like too much bother |
14:31:54 | BitPuffin | dom96: after that connect to it with 1.6.4 |
14:31:57 | fowl | dom96, its easy to do from the launcher |
14:31:59 | BitPuffin | no it's easy with the latest client |
14:32:09 | BitPuffin | you just edit your profile to use 1.6.4 |
14:32:12 | BitPuffin | easy peasy |
14:32:26 | dom96 | IIRC Minecraft doesn't work for me on Arch anyway |
14:32:32 | BitPuffin | dom96: works for me |
14:32:45 | BitPuffin | just install the jre7 openjdk |
14:32:51 | BitPuffin | and then java -jar Minecraft.jar |
14:33:09 | fowl | minecraft from AUR |
14:33:19 | dom96 | hrm, seems I can't login |
14:33:36 | dom96 | and yep, it doesn't work |
14:34:56 | fowl | wtf, i found some secret area and cant get out >:( |
14:36:45 | EXetoC | got any nukes? |
14:47:51 | * | boydgreenfield joined #nimrod |
14:53:26 | BitPuffin | dom96: I don't understaaaaaand why doesn't setCookie woooooork, I'm gonna punch nimrooooooood |
14:53:33 | fowl | http://freebitco.in/?r=63383 |
14:53:35 | fowl | ^^ |
14:53:42 | fowl | LETS COPY THIS SITE https://www.betcoin.tm/prize/ |
14:53:52 | fowl | send us your bitcoins, we'll send you the winnings if you win |
14:54:09 | fowl | (no intentions of doing the right thing) |
14:54:23 | dom96 | let's just make a bitcoin lottery |
14:54:59 | BitPuffin | dom96: https://gist.github.com/BitPuffin/f1bbdc79ff312a67f2e8 |
14:55:25 | BitPuffin | console: |
14:55:36 | BitPuffin | POST /user/personalogin |
14:55:38 | BitPuffin | 303 Moved {Set-Cookie: useremail="[email protected]"; Expires=Fri, 06 Dec 2013 14:55:04 UTC, Location: /} |
14:55:58 | BitPuffin | dom96: are you sure nimforum works on latest version of nimrod? |
14:56:05 | dom96 | no, i'm not. |
14:56:06 | BitPuffin | and latest jester |
14:56:31 | BitPuffin | yet still echo(document.cookie); yields nothing |
14:56:35 | BitPuffin | and I checked |
14:56:38 | BitPuffin | document.cookie is a string |
14:56:40 | fowl | yes |
14:56:44 | fowl | bitcoin lottery |
14:56:45 | fowl | lets do it |
14:57:08 | BitPuffin | fowl: except we keep the money and create a fake person that we pretend won |
14:57:33 | fowl | ok we're all on the same page here |
15:02:25 | dom96 | There of course already is a site which does that: https://bitmillions.com/ |
15:02:40 | dom96 | Looks too "flashy" IMO though |
15:04:43 | dom96 | BitPuffin: Echo the headers that you get when navigating to / |
15:04:52 | dom96 | You should see a "Cookie" header |
15:05:02 | dom96 | http://en.wikipedia.org/wiki/HTTP_cookie#Setting_a_cookie |
15:05:26 | fowl | dom96, there are tons of bitcoin lotteries |
15:05:41 | fowl | dom96, we just need a couple ppl to play per week to be profitable |
15:05:56 | dom96 | True. Let's do it then :P |
15:06:08 | BitPuffin | dom96: echo request.headers? |
15:06:13 | dom96 | BitPuffin: yeah |
15:06:25 | dom96 | fowl: code it in Nimrod too |
15:07:10 | BitPuffin | {:} |
15:08:51 | dom96 | wut |
15:09:02 | dom96 | maybe httpserver is fucking up |
15:09:11 | BitPuffin | dom96: httpserver is such a fuck |
15:09:15 | BitPuffin | :D |
15:09:19 | dom96 | Are you using async or sync jester? |
15:09:46 | BitPuffin | dom96: whatever the default is |
15:10:33 | dom96 | try the other one heh |
15:10:55 | BitPuffin | but how do I know which one I'm using ;_; |
15:11:34 | dom96 | Are you calling register()? |
15:11:44 | BitPuffin | dom96: was da |
15:11:46 | dom96 | Did you create a dispatcher? |
15:12:02 | BitPuffin | was da |
15:12:05 | dom96 | https://github.com/dom96/jester/blob/master/tests/asynctest.nim |
15:12:12 | dom96 | use that |
15:13:23 | BitPuffin | was da |
15:13:25 | BitPuffin | kidding |
15:13:27 | BitPuffin | I'll try |
15:14:22 | BitPuffin | dom96: says hello |
15:14:29 | fowl | look at this https://coincontroller.com/ |
15:14:31 | dom96 | well I mean |
15:14:38 | dom96 | Use that in your code |
15:14:42 | dom96 | set up the dispatcher like that |
15:14:45 | dom96 | etc |
15:15:10 | fowl | people buy a coin to display a link to their site until its bought by someone else |
15:15:17 | dom96 | BitPuffin: or better yet |
15:15:21 | dom96 | try testapp.nim |
15:15:30 | dom96 | It's got a cookie test in there. |
15:15:56 | dom96 | navigate to /session and then /session/blah and then /session again |
15:17:48 | * | mflamer joined #nimrod |
15:18:06 | BitPuffin | {test: blah, test23: blah, qerty: blah, test13: blah} |
15:18:19 | dom96 | yeah. So it works. |
15:18:52 | mflamer | good morning |
15:19:20 | BitPuffin | ugh |
15:19:25 | BitPuffin | but I'm not doing anything different |
15:19:41 | BitPuffin | other than using persona |
15:20:20 | BitPuffin | https://developer.mozilla.org/en-US/Persona/Quick_Setup?redirectlocale=en-US&redirectslug=Persona%2FQuick_Setup dom96, does anything pop out that one does in this that would be a problem with jester |
15:21:12 | BitPuffin | could it be something about setting the values in post? |
15:23:05 | BitPuffin | instead of GET |
15:23:18 | dom96 | I don't know. |
15:23:24 | dom96 | Try using GET maybe? |
15:24:06 | BitPuffin | but that doesn't make sense |
15:24:25 | BitPuffin | either it's post |
15:24:30 | BitPuffin | or post with a redirect |
15:24:34 | BitPuffin | or whatafackever :( |
15:26:01 | dom96 | well it works in the test app |
15:26:05 | BitPuffin | yup |
15:26:12 | dom96 | so you can figure out what's wrong by removing things |
15:26:14 | BitPuffin | guess I might do some testing when I get home |
15:31:24 | BitPuffin | ugh how do I make firefox post |
15:36:29 | * | brihat joined #nimrod |
15:36:42 | fowl | change your form |
15:37:20 | * | OrionPKM joined #nimrod |
15:37:44 | BitPuffin | so now you are saying that I'm fat |
15:37:46 | BitPuffin | that's mature |
15:41:06 | * | gradha joined #nimrod |
15:41:31 | fowl | BitPuffin, bitvisitor gives you ~15 uBTC for viewing a site for like 5 minutes |
15:41:45 | fowl | thats better than 1.5 for someone playing for 30 minutes |
15:42:02 | BitPuffin | dom96: yeah I tried just making it a simple post that sets cookie and redirects |
15:42:05 | BitPuffin | didun wuk |
15:42:10 | BitPuffin | dom96: see if you can reproduce |
15:42:39 | BitPuffin | fowl: does it keep on giving or just once? |
15:43:23 | fowl | per site |
15:43:30 | fowl | its like an iframe type thing |
15:43:43 | BitPuffin | ah |
15:43:46 | BitPuffin | I think I've used that |
15:48:36 | fowl | i wonder how much $ is in these faucet sites |
15:50:31 | * | q66_ joined #nimrod |
15:50:53 | * | q66 quit (Disconnected by services) |
15:50:54 | BitPuffin | fowl: it's always about money with you |
15:50:55 | * | q66_ is now known as q66 |
15:51:02 | BitPuffin | :P |
15:51:13 | fowl | BitPuffin, its just that there is so many of them |
15:51:20 | fowl | they must be making profit |
15:51:51 | BitPuffin | fowl: ah you mean with the ads etc |
15:51:58 | fowl | yea |
15:52:08 | BitPuffin | ofc there is money in them |
15:52:18 | BitPuffin | otherwise they wouldn't keep them running now would they :P |
15:52:51 | fowl | yea but who clicks on ads |
15:52:56 | fowl | like srsly |
15:53:07 | BitPuffin | well they also get money just from having them displayed |
15:53:21 | BitPuffin | but they get more when you click |
15:53:36 | BitPuffin | but those sites are basically 102020321093 ads per page |
15:53:39 | BitPuffin | so it's profiting |
15:53:46 | gradha | so wrap webkit and implement a pseudo-human ad clicker to get bitcoins, not so hard |
15:54:48 | fowl | faking clicks would be annoying |
15:54:49 | BitPuffin | gradha: You've misunderstood |
15:54:59 | fowl | you'd have to connect to a new proxy each time |
15:55:18 | BitPuffin | yeah |
15:55:22 | BitPuffin | wish we had ipv6 |
15:55:28 | BitPuffin | >.< |
16:08:35 | * | boydgreenfield quit (Quit: boydgreenfield) |
16:09:21 | * | boydgreenfield joined #nimrod |
16:25:08 | EXetoC | wawawiwa |
16:26:07 | BitPuffin | EXetoC: ? |
16:29:42 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
17:25:43 | * | boydgreenfield quit (Quit: boydgreenfield) |
17:27:25 | * | Raynes_ is now known as Raynes |
17:27:25 | * | Raynes quit (Changing host) |
17:27:25 | * | Raynes joined #nimrod |
17:35:19 | * | DAddYE quit (Remote host closed the connection) |
17:35:25 | * | DAddYE_ joined #nimrod |
17:36:59 | * | OrionPKM quit (Remote host closed the connection) |
17:41:56 | * | OrionPKM joined #nimrod |
17:48:26 | * | BitPuffin joined #nimrod |
17:48:44 | BitPuffin | new python version out? |
17:48:50 | BitPuffin | dom96: were you able to reproduce? |
17:49:53 | gradha | BitPuffin: "A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications" |
17:50:02 | gradha | that's excellent marketing for the language |
17:50:29 | BitPuffin | gradha: hahahaha |
17:50:52 | BitPuffin | gradha: well we compile to C so we can't really scream much |
17:51:00 | BitPuffin | nothing stops us from compiling direct though |
17:51:51 | gradha | nimrod should compile to python interpreter bytecode |
17:52:13 | gradha | then the comparisons would be fair, maybe |
17:52:14 | BitPuffin | gradha: haha oh god, that has to happen |
17:52:31 | BitPuffin | you know what |
17:52:44 | BitPuffin | I'm gonna drop all by projects and business stuff and just work on that |
17:52:49 | BitPuffin | I feel it is important |
18:09:49 | gradha | dom96: babel doesn't work when the package you are installing contains a binary in a directory other than root because of search paths |
18:30:44 | * | boydgreenfield joined #nimrod |
18:34:13 | gradha | I'm going to post to the forum, BitPuffin, please don't watch |
18:35:44 | BitPuffin | gradha: oh I won't..... nooooooooo :P |
18:36:49 | gradha | there you go, hopefully nobody sniffed my cookies (reminds be of the awesome south park lick my chocolate balls chapter) |
18:39:22 | BitPuffin | gradha: I am not bruteforcing your password..... nope.... |
18:39:47 | gradha | BitPuffin: you are going to have fun with it |
18:39:59 | BitPuffin | oh yuppie yup |
18:40:12 | fowl | BitPuffin, feel free to bruteforce mine, i forgot my password |
18:40:38 | BitPuffin | fowl: lol |
18:40:49 | gradha | this looks like a trend, maybe BitPuffin should start a nimrod hash bruteforcer project? |
18:40:52 | BitPuffin | fowl: but I'm gonna have to intercept your traffic looking in |
18:40:58 | BitPuffin | logging |
18:41:11 | BitPuffin | fowl: however ask Araq if he can give you the hash and have at it |
18:41:18 | BitPuffin | it'll only take 7 seconds |
18:42:36 | BitPuffin | fowl: or just reset the pw :P |
18:44:07 | EXetoC | since when can you do that? |
18:44:24 | EXetoC | c(:) |
18:46:18 | BitPuffin | oh you can't? |
18:46:31 | BitPuffin | I don't use the forum |
18:46:39 | BitPuffin | OUT OF SPITE!!! |
18:46:42 | BitPuffin | no not really |
18:47:15 | BitPuffin | protesting is only a small part of why :P |
18:55:39 | EXetoC | is anyone using the subexes module? seems neat |
18:59:16 | EXetoC | BitPuffin: SO WHAT IS UP? working on that python thing? done soon? |
19:06:24 | BitPuffin | EXetoC: yeah of course! srsly important!!! |
19:06:36 | EXetoC | k |
19:07:45 | Araq | EXetoC: I never use subexes due to their overhead ... I think Iover-engineered this thing |
19:07:53 | BitPuffin | EXetoC: no but right now I am making dinner |
19:08:08 | BitPuffin | EXetoC: other than that I am coding a website for a guy |
19:08:14 | BitPuffin | but it's not going very well |
19:08:18 | BitPuffin | because the cookie bug |
19:08:25 | BitPuffin | the cookie monster har har |
19:08:51 | Araq | EXetoC: but they should work well, I tested them quite well |
19:12:46 | EXetoC | ok |
19:15:34 | * | DAddYE_ quit (Remote host closed the connection) |
19:16:01 | * | DAddYE joined #nimrod |
19:16:33 | mflamer | Araq: I'm looking at implementing a new allocation scheme for object variants using seperate structs instead of a union inside a struct. Trying to decide if this should be a transformation in the semantic phase that creates a new object for each variant, or if I can get away with just doing it in the code gen phase and mangle the variant name into each struct. |
19:17:52 | Araq | there is no choice here |
19:18:16 | Araq | you have to take the backend route or are in a world of pain |
19:19:37 | mflamer | ok, thanks for the warning |
19:20:38 | * | DAddYE quit (Ping timeout: 264 seconds) |
19:21:57 | Araq | mflamer: otherwise you end up having two distinct types A and B that are however somewhat compatible. With something that looks like a new variant of a subtype relation. And that affects every type computation. |
19:22:23 | Araq | and needs to be kept in mind all the time when modifying the compiler |
19:22:47 | Araq | we have anough of these nasty things already |
19:27:05 | * | Arcanum_za is now known as Trixar_za |
19:28:19 | mflamer | Araq: OK, understood |
19:33:41 | mflamer | Is the fact that now we have distinct types in the generated code going to be a problem? So far I'm assuming that as long as I mangle on field access etc. that any assumed relationship between the variants will work out. |
19:35:25 | mflamer | Yeah, that should work, because the compiler still thinks its one type.... sizeof might get a little weird though. |
19:40:20 | * | jennjimm joined #nimrod |
19:41:25 | Araq | hi jennjimm welcome |
19:42:30 | NimBot | Araq/Nimrod master 65d572a Araq [+0 ±1 -0]: fixed definition of culong on win64 |
19:42:30 | NimBot | Araq/Nimrod master 2ae0028 Araq [+4 ±48 -0]: Merge branch 'master' of https://github.com/Araq/Nimrod |
19:42:30 | NimBot | Araq/Nimrod master 08d0fa2 Araq [+0 ±2 -0]: removed 'system.eval' |
19:42:30 | NimBot | Araq/Nimrod master ebc14b5 Araq [+1 ±3 -0]: fixes #686 |
19:42:50 | Araq | BitPuffin: your prayers have been heard |
19:51:30 | jennjimm | hi Araq |
19:52:01 | * | jennjimm is now known as jimmjenn |
20:06:20 | BitPuffin | Araq: great work :D |
20:06:28 | BitPuffin | Araq: Did it do what you wanted it to do? |
20:07:01 | Araq | builder-linux-ppc64(140.211.15.137) created a fatal error. |
20:07:08 | Araq | so ... no idea |
20:07:19 | BitPuffin | woa :o |
20:07:28 | BitPuffin | I'll try and update |
20:07:33 | BitPuffin | since I'm on the linjucks |
20:07:57 | * | boydgreenfield quit (Quit: boydgreenfield) |
20:07:58 | BitPuffin | or oh |
20:08:01 | BitPuffin | it was on ppc |
20:08:05 | BitPuffin | does anyone use ppc? |
20:08:54 | BitPuffin | x86 is behind apparently, I'm guessing you are testing it atm? |
20:10:14 | Araq | yeah |
20:13:10 | BitPuffin | Araq: by the way something that might be a ridiculous feat but would be pretty handy I'd imagine would be to maintain a repo (the nimrod repo is huge enough as it is) of bug code samples, basically things that failed and was fixed. That way you could have a script that goes through all of them (say over night if it's a lot of them) and reports on which ones if any suddenly failed |
20:13:20 | BitPuffin | so you can catch regressions |
20:14:31 | Araq | er ... what? |
20:14:38 | Araq | you just described nimbuild |
20:15:31 | BitPuffin | Araq: doesn't nimbuild just build the compiler? |
20:15:47 | Araq | no we have an excessive tests suite |
20:16:01 | Araq | and every bug in github ends up in the suite |
20:16:22 | Araq | well almost, sometimes I can't do it as the testing infrastructure ain't there yet. |
20:16:33 | Araq | for instance anything that's docutils related |
20:16:58 | * | ryeguy joined #nimrod |
20:17:07 | Araq | hi ryeguy welcome |
20:17:15 | ryeguy | hi |
20:17:40 | BitPuffin | Araq: ah cool well then there you go :D |
20:18:33 | BitPuffin | that's very proper |
20:19:38 | BitPuffin | I think dom96 might be hiding from me |
20:30:36 | * | tylere joined #nimrod |
20:36:21 | ryeguy | how useful is it to disable the gc, in general? |
20:36:29 | ryeguy | say i'm looking to use nimrod for a game |
20:36:34 | ryeguy | i know it has time-bounded gc, which sounds great |
20:37:09 | ryeguy | 1) would there be a noticable improvement by disabling the gc? 2) is this even realistically usable -- does the stdlib allocate a lot? |
20:37:27 | ryeguy | just curious, this isn't a problem i'm currently trying to solve |
20:37:54 | Araq | disabling the GC with --gc:none is only an option if it's a short running process or if you really allocate everything yourself |
20:38:32 | Araq | the stdlib allocates when it feels like, however in don't think we have many libraries that are on your critical path |
20:38:46 | Araq | for instance I don't think you main game loop parses XML |
20:39:39 | Araq | in general, just use the realtime abilities of the Gc and be happy ;-) |
20:39:44 | * | mflamer quit (Ping timeout: 272 seconds) |
20:39:57 | ryeguy | thats what i figured :D thanks |
20:41:58 | Araq | more concerning is that the GC is thread-local and that means your really have to be careful with sharing memory. but then you have to anyway and it's unclear how much it can be improved |
20:42:51 | BitPuffin | ryeguy: my approach to making games with nimrod is use the GC, if it ever becomes a problem, just find the part that is problematic and move that specific part off the GC |
20:43:25 | BitPuffin | but generally even before you do that you can try to work with the GC |
20:43:28 | ryeguy | by "move it off the gc", do you mean use e.g. object pools? |
20:43:44 | BitPuffin | ryeguy: either object pools etc or even manage some memory manually |
20:44:15 | BitPuffin | ryeguy: the GC doesn't know about memory allocated with alloc, so you can do both |
20:48:10 | BitPuffin | Araq: by the way it built perfectly fine on my system, gonna check if the bug's gone soon :) |
20:49:15 | BitPuffin | http://www.gameranx.com/images/updates/1281104758drm.jpg |
20:49:29 | * | tylere quit (Remote host closed the connection) |
20:55:12 | BitPuffin | ryeguy: what kind of game are you planning to make? |
20:55:59 | ryeguy | a sort of simcity-ish style game at a smaller scale |
20:56:32 | BitPuffin | ryeguy: 2d or 3d graphics? |
20:56:35 | ryeguy | 2d |
20:56:50 | BitPuffin | ryeguy: you don't need to worry at all really |
20:57:51 | brihat | Oh well, Nimrod on frontpage of HN again: https://news.ycombinator.com/item?id=6820474 |
20:58:06 | BitPuffin | brihat: what article? |
20:58:12 | BitPuffin | don't answer |
20:58:12 | ryeguy | i posted that, heh |
20:58:14 | BitPuffin | I'll look |
20:58:16 | BitPuffin | lol |
20:58:32 | BitPuffin | ah Araq's slides |
20:58:35 | brihat | lol |
20:58:40 | ryeguy | that slideshow is what made me finally look into nimrod |
20:58:45 | Araq | well it helps when people tell us before |
20:58:58 | ryeguy | sorry, im an outsider :p |
20:59:03 | ryeguy | i got it from reddit |
20:59:08 | Araq | and we need some official PR guy |
20:59:21 | * | gradha nearly chokes on his chocolate |
20:59:43 | Araq | reading reddit and hacker news is bad for my health so I tend to avoid it |
20:59:46 | BitPuffin | Araq: marketing in general I'd say |
21:00:01 | Araq | BitPuffin: you have the job. |
21:00:14 | BitPuffin | Araq: my job is to market nimrod? |
21:00:30 | ryeguy | just encourage people to blog about it, and the rest will follow |
21:00:46 | BitPuffin | Yeah that's kind of our plan already |
21:00:58 | BitPuffin | me dom96, EXetoC etc thought it would be nice to have at least one new article per week |
21:01:05 | Araq | ryeguy: I just wrote an article for drdobbs |
21:01:10 | BitPuffin | but my blog is gonna be delayed |
21:01:20 | BitPuffin | Araq: when will that article come up |
21:01:22 | BitPuffin | ? |
21:01:50 | BitPuffin | kind of funny that I did kind of find myself looking at how to market stuff a few days ago for nimrod :$ |
21:01:52 | Araq | they say it's in the print version of december and will be put online 1 month after that |
21:02:27 | BitPuffin | ah okay so january then |
21:02:31 | BitPuffin | Am I not a genius |
21:02:39 | BitPuffin | january does come after december |
21:02:58 | gradha | shit, programmers still reading paper magazines? I'm on the wrong parallel universe, again |
21:02:59 | BitPuffin | "nimrod sounds even better than google go. why did you start it? what's the desired program that made you design nimrod?" |
21:03:37 | Trixar_za | Dammit gradha, stop using shifting universes on us |
21:03:51 | Trixar_za | I've met like 10 of you and all of them says something similar |
21:04:11 | gradha | Trixar_za: sorry, you know it's hard to keep count when your variable is thread local |
21:04:21 | Araq | BitPuffin: who asks that? |
21:04:35 | gradha | Araq: fxtentacle, at the end of the threads now |
21:04:41 | gradha | I like that nick |
21:05:25 | BitPuffin | Araq: someone at the bottom of HN |
21:05:34 | Araq | the official answer is that "I designed and created it in my spare time, because I could" I guess |
21:05:38 | Trixar_za | True. The thing that really disappointed me about the multiverse is that it surprisingly small. |
21:05:51 | BitPuffin | Araq: well I don't have a HN account so I can't reply for you lol |
21:05:54 | Araq | that's what I said at the emerging langs camp anyway |
21:05:54 | BitPuffin | get dom96 on the line |
21:06:01 | BitPuffin | HEY DOM96 GET OVER HERE |
21:06:17 | gradha | BitPuffin: he's still doing his physics exam |
21:06:24 | BitPuffin | bah |
21:06:28 | BitPuffin | that's not important xD |
21:06:34 | Araq | it's 21:06 for him |
21:06:35 | BitPuffin | nah kidding hope it goes well for him |
21:06:40 | Araq | so ... unlikely |
21:06:46 | BitPuffin | it's 22:06 here |
21:06:56 | gradha | they make really long exams where he lives, he started yesterday |
21:06:57 | Trixar_za | And an hour later here |
21:07:11 | brihat | quick help plz. how to pass "-O2" option to gcc via nimrod? |
21:07:11 | Trixar_za | lol |
21:07:21 | Araq | Trixar_za: aren't you in australia? |
21:07:33 | Trixar_za | South African |
21:07:41 | gradha | brihat: IIRC there's a switch to pass stuff verbatim to the compiler |
21:07:45 | Trixar_za | It's even later there - or should I say earlier |
21:07:52 | Araq | brihat: --passC:"-O2" but it's better to edit your nimrod.cfg |
21:07:54 | Trixar_za | between 6 and 8 hour difference from mine |
21:08:23 | BitPuffin | anyways if Araq or anyone wanna reply to the comment it's here https://news.ycombinator.com/item?id=6820681 |
21:08:58 | Trixar_za | So it's like 7:08am in Sydney |
21:09:09 | * | boydgreenfield joined #nimrod |
21:09:17 | brihat | Araq, thanks |
21:09:29 | * | boydgreenfield quit (Client Quit) |
21:11:28 | Trixar_za | In case you didn't know, the za in my nickname is our country code. It stands for Zuid-Afrika, which used to be the dutch name for South Africa (the current Afrikaans word is Suid-Afrika for interest sake) |
21:12:22 | BitPuffin | Araq: seems like the bug is no longer prescent, great job! |
21:12:35 | Trixar_za | :< |
21:12:46 | Trixar_za | Y u no install Fallout2? :'( |
21:13:21 | ryeguy | some interesting talk about the gc implementation: https://news.ycombinator.com/item?id=6820727 |
21:14:18 | Araq | ryeguy: I will answer later, sorry I'm busy |
21:14:21 | BitPuffin | Araq: Also I think it is really time to start to head for a new snapshot or something as an official release. |
21:14:42 | Araq | release is on 16th of december |
21:14:52 | BitPuffin | Araq: for 0.9.4? |
21:14:55 | Araq | yes |
21:14:57 | BitPuffin | cool! |
21:15:07 | BitPuffin | so you are focusing on bug fixes I reckon? |
21:15:36 | Araq | well actually I want the new VM to be in 0.9.4 |
21:15:43 | BitPuffin | oh |
21:15:45 | BitPuffin | well shit :P |
21:15:49 | BitPuffin | better quit your job then |
21:15:49 | Araq | I should focus on bug fixes, I know |
21:16:25 | BitPuffin | or I guess something you could do is get the vm in |
21:16:32 | BitPuffin | then work really hard on bug fixes |
21:16:38 | BitPuffin | and release a 0.9.4.1 bugfix release |
21:17:03 | BitPuffin | ar 0.9.4a |
21:17:09 | BitPuffin | b,c |
21:17:15 | gradha | if I run "nimrod c -d:release foo" I get release builds, but putting "-d:release" into a nimrod.cfg doesn't have the same effect |
21:17:16 | BitPuffin | ettesettera |
21:17:32 | Araq | gradha: known issue, very hard to solve though |
21:17:43 | Araq | it's not a bug, it's an emergent behaviour |
21:17:44 | gradha | oh, wasn't aware of that |
21:17:58 | Araq | of how the config system is designed |
21:18:23 | * | IrvMG joined #nimrod |
21:18:26 | Araq | I guess for now we can simply document it really well and then ... |
21:18:37 | Araq | oh never mind, that never works |
21:19:30 | Araq | hi IrvMG welcome or welcome back |
21:19:47 | IrvMG | Hello |
21:19:53 | gradha | Araq: I've searched nimrodc for "emergent" and haven't found anything |
21:20:38 | Araq | well yes, it's not documented |
21:27:32 | * | DAddYE joined #nimrod |
21:30:11 | * | IrvMG quit (Remote host closed the connection) |
21:31:56 | * | jasonjckn joined #nimrod |
21:33:40 | ryeguy | is the stdlib docs not up to date? I see a unit testing module on github, but no mention of it in the docs |
21:33:54 | gradha | there are stable docs and git docs |
21:34:13 | gradha | git docs are put on http://build.nimrod-lang.org/docs/overview.html |
21:34:54 | ryeguy | seems to be missing from there too |
21:35:06 | gradha | ah, yes, you need to use the index for that one |
21:40:02 | gradha | it's actually quite complicated to scan for the docstrings of modules and build automatically an index of the available ones |
21:42:26 | brihat | When I compile some code, nimrod always shows like "Hint: system [Processing]"... I find Hint to be confusing. Hint for what?? Should that not be "Info: system [Processing]"... when somebody gives me hint, it means they expect me to act based upon that hint |
21:43:11 | BitPuffin | brihat: well it is a hint |
21:43:21 | BitPuffin | brihat: you know that it used config file bla for example |
21:45:01 | brihat | Logging levels are given as Note < Info < Warn < Error .. that is what every framework, compiler, etc. show. Hint is a bit unusual. |
21:45:09 | brihat | Like I said, hint for what? |
21:45:21 | brihat | hint for my password reset? :P |
21:45:23 | Araq | brihat: good point but we have --hints:off and {.hints: off} and in general we have hints, warnings and errors |
21:45:34 | Araq | and nothing else |
21:45:48 | Araq | perhaps "info" would have been a better word |
21:46:15 | Araq | but that's bikeshedding |
21:46:20 | brihat | Araq: Yup, that was I was thinking |
21:46:55 | Araq | --verbosity:0 should get rid of these iirc |
21:47:51 | BitPuffin | Araq: is there a short to get those off? |
21:48:35 | Araq | btw the messages even show you how to get rid of them: [Processing] means hint[Processing]:off does the trick |
21:49:05 | Araq | no need to lookup a strange mapping between warning numbers and warning messages |
21:49:57 | BitPuffin | yay :D |
21:50:58 | brihat | Huh, i had to google for what "bikeshedding" means |
21:52:15 | * | DAddYE quit (Remote host closed the connection) |
21:52:23 | BitPuffin | brihat: I believe it comes from BSD |
21:52:28 | BitPuffin | the expression |
21:54:37 | brihat | Oh yea, I also discovered yak shaving |
21:55:01 | BitPuffin | what's that lol |
21:56:27 | brihat | https://en.wiktionary.org/wiki/yak_shaving |
21:56:28 | * | mflamer joined #nimrod |
21:57:56 | BitPuffin | that's a good expression |
21:57:59 | BitPuffin | gotta remember that one |
21:58:14 | * | Jackneill quit (Remote host closed the connection) |
22:11:49 | * | mflamer quit (Ping timeout: 272 seconds) |
22:15:20 | * | mflamer joined #nimrod |
22:27:28 | * | DAddYE joined #nimrod |
22:27:39 | * | DAddYE quit (Remote host closed the connection) |
22:27:45 | * | DAddYE_ joined #nimrod |
22:40:19 | * | mflamer quit (Ping timeout: 272 seconds) |
22:42:28 | BitPuffin | Araq: didn't even realize that netbsd was in the build system thingy |
22:43:48 | gradha | good night, honey badgers |
22:44:02 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=2IzR_ClTE8Y again) |
22:56:48 | * | IrvMG joined #nimrod |
22:59:17 | * | dunpeal joined #nimrod |
22:59:43 | dunpeal | Hey. I'm checking out the slides, question about this one: http://nimrod-lang.org/talk01/slides.html#(13) |
23:00:08 | dunpeal | Why can't htmlTag simply be a function that returns a string? |
23:02:03 | OrionPKM | htmlTag makes a type of tag dunpeal |
23:02:18 | OrionPKM | not an instance of a tag |
23:04:28 | IrvMG | On slides #8: "it compiles to JavaScript"? |
23:05:18 | dunpeal | OrionPKM: *nod*, my point is that it's not a very powerful example of metaprogramming |
23:05:25 | dunpeal | in Python, it would simply be: |
23:05:50 | Araq | dunpeal: htmlTag can be a function returning a string, but the example shows how to create 2 functions br and html |
23:05:50 | dunpeal | def htmlTag(s): return lambda: s |
23:06:37 | dunpeal | also, in Python, you'd probably go with something simpler like `htmlTag(s): return '<%s>' % s |
23:06:44 | Araq | it's only an example showing templates and 'astToStr' |
23:06:59 | Araq | then come more complex examples |
23:07:12 | dunpeal | *nod*, thanks |
23:07:45 | Araq | and I'm very well aware of python's capabilites ;-) |
23:10:27 | EXetoC | IrvMG: yes the compiler can generate JS code, as well as C, C++ and Objective-C code |
23:10:46 | BitPuffin | BOOM PREACH IT EXETOC |
23:10:59 | BitPuffin | I should go to bed |
23:11:52 | EXetoC | lame! ok bye |
23:12:03 | BitPuffin | should does not mean I will! |
23:12:34 | EXetoC | o ok |
23:13:10 | BitPuffin | but just because it doesn't _have_ to mean that doesn't mean it might mean that either! |
23:13:34 | BitPuffin | so goodnight! xD |
23:13:38 | BitPuffin | talk to you guys tomorrow |
23:13:41 | BitPuffin | ah promiss |
23:13:43 | BitPuffin | ah promiss |
23:13:45 | BitPuffin | night! |
23:14:24 | dunpeal | any ballpark figures for Nimrod's real-world performance? |
23:16:38 | EXetoC | BitPuffin: bye |
23:17:42 | Araq | dunpeal: we're on par with C++ and rumors say we're faster than C++ "by default" |
23:18:04 | dunpeal | uhm, if that's true, then Nimrod may have a great future |
23:18:20 | * | BitPuffin quit (Ping timeout: 260 seconds) |
23:18:43 | dunpeal | how hard is it to use C/++ libraries from Nimrod? Can it use JS languages if you compile it to JS? |
23:19:14 | fowl | dunpeal, easy, and yes |
23:19:55 | dunpeal | these are very nice figures: http://togototo.wordpress.com/2013/08/23/benchmarks-round-two-parallel-go-rust-d-scala-and-nimrod/ |
23:20:11 | dunpeal | language looks really awesome, hope it becomes more popular. |
23:21:05 | * | mflamer joined #nimrod |
23:21:25 | dom96 | oh, we're on HN again huh. Cool. |
23:22:26 | brihat | dom96: oh yea, i mentioned that already |
23:22:39 | brihat | and oh yea ryeguy submitted it |
23:23:23 | dunpeal | What's the concurrency paradigm of Nimrod? threads? |
23:23:58 | Araq | yes and they are heavy by design. |
23:25:38 | Araq | and yes we know Go does it differently and Rust is still trying |
23:29:05 | dunpeal | yes, heavyweight threads is a very traditional concurrency paradigm. |
23:29:32 | brihat | dunpeal: I just downloaded those benchmarks from github, indeed Nimrod is faster than C |
23:30:16 | brihat | C=3.4 sec but Nimrod=2.5 sec |
23:30:52 | dunpeal | brihat: doesn't it mean the C code just wasn't optimal? the benchmarks run by compiling Nimrod to C, no? |
23:36:21 | Araq | dunpeal: that's correct |
23:36:37 | brihat | Yes, Nimrod compiles to C, but it is heavily optimized |
23:37:24 | brihat | 189 lines of C code vs. 412 lines of Nimriod-generated C code |
23:37:32 | Araq | actually parts of it heavily optimized, other parts still could be much better. But I guess you can say that for every compiler/runtime. |
23:41:08 | brihat | whoa, for some reason C++ is even worse, 11.3 sec. |
23:42:56 | Araq | benchmarks are weird on modern cpus though. However the compiler is a realworld application and performs really well too. |
23:44:02 | * | mflamer quit (Ping timeout: 264 seconds) |
23:49:49 | * | jimmt joined #nimrod |
23:52:37 | * | jimmjenn quit (Ping timeout: 248 seconds) |