<< 29-11-2013 >>

00:07:38*DAddYE joined #nimrod
00:09:46EXetoCthere'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:34BitPuffinyeah
00:11:49BitPuffinI'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:29BitPuffinhttp://www.howmanypeopleareinspacerightnow.com/
00:16:31BitPuffinsweet
00:17:58BitPuffinhttp://beesbeesbees.com/
00:18:30BitPuffinhttp://defiantdog.com/
00:19:21BitPuffinhttps://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:11BitPuffinI'm really wasting my time
00:27:13BitPuffinshould go to sleep
00:27:17BitPuffingoodnight 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:47webskipperCan I convert convert a sequence to string representation... automatically ? Like echo(str(myseq)) ?
09:38:42*q66 quit (Quit: Leaving)
09:40:46fowltheres no function for it in stdlib
09:40:48fowltry this
09:41:03fowlproc `$` [T] (some: seq[T]): string =
09:41:07fowl result = "["
09:41:24fowl for it in some:
09:41:42fowl result.add($it)
09:41:48fowl result.add ", "
09:41:54fowl result.add ']'
09:42:59EXetoCisn'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:21fowli think the issue is how to format it
09:48:38fowlmaybe you want arrays to be "[1,2,3]" but sequences to be "@[1,2,3]"
09:49:22EXetoCwasn't there another reason? anyway, I might've said this before, but it seems like a really minor issue
09:50:35fowldunno
09:50:38EXetoCso 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:40fowlhow you doing EXetoC
09:51:06fowlwell varargs cant be used because it would match everything
10:05:25EXetoCI 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:42EXetoCfowl: 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:26BitPuffingoooooood day folks!
10:20:35*q66 quit (Quit: Leaving)
10:22:05webskipperhi
10:22:59*DAddYE quit (Ping timeout: 252 seconds)
10:24:58EXetoClo
10:25:30*q66 joined #nimrod
10:26:13webskipperCan we use sphinx for the nimrod lib doc ?
10:28:41webskipperother question: have we sorting algorithms in std lib ?
10:29:44fowlalgorithm 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:36EXetoCwebskipper: sphinx? I don't think so
10:35:13*ics joined #nimrod
10:36:46*fowl joined #nimrod
10:37:00EXetoCI'm unaware of any support for third-party documentation generators
10:41:49EXetoCwhy? have you used the official one?
10:49:05webskipperthe doc is not very user friendly. for example i cant get go back to the home page
10:50:12webskippercant navigate through all docs
10:51:01*tq_ joined #nimrod
10:51:25*tq_ quit (Client Quit)
10:53:21EXetoCit should be possible, unless it's done manually for the official website
11:00:17EXetoCwell, 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:19BitPuffinWas nimrod initially called grip?
12:15:40zahary_nope
12:17:09BitPuffinzahary_: but why is your repo called grip-lang then?
12:17:34zahary_it's a long story :)
12:17:42BitPuffindo tell
12:17:48BitPuffinyou are a fast typist aren't you :P
12:18:31zahary_grip is the semi official name of the alternative grammar for nimrod that I plan to create soon
12:21:29BitPuffin:o
12:21:35BitPuffinzahary_: how is it alternative?
12:23:27BitPuffinor how does it differ
12:26:46fowlBitPuffin, its based on brainfuck
12:27:13BitPuffinfowl: as expected
12:29:34zahary_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:30zahary_otherwise, it's just nimrod and there will be full bi-directional interop
12:30:37BitPuffinI recognize that word
12:31:08BitPuffinah right it was when learning some lisp
12:31:31BitPuffinzahary_: sounds cool
12:33:20BitPuffinzahary_: will be interesting to see where that goes. I'm glad that it's gonna be interoperable
12:34:49zahary_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:42BitPuffinthat's pretty cool
12:35:57BitPuffinmaybe we'll have to create a cimrod for people who like C syntax lol :P
12:36:34fowltheres a stub grammar for that
12:36:55fowlone called braces and one called endx
12:37:05fowlstub parser*
12:40:56EXetoCBitPuffin: oh no
12:47:01BitPuffinEXetoC: :P
12:48:23fowli found some bitcoins
12:48:34fowlCurrent Balance 0.0000264 BTC ≈ 0.02 USD
12:48:56*webskipper quit (Read error: Connection reset by peer)
12:50:22BitPuffinyay!
12:54:04zahary_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:49EXetoCdamn, if only I had known
12:56:07EXetoCfowl: on the ground?
12:56:18fowlzahary_, you dont need both those millions, can i have one?
12:57:25zahary_more millions = more full-time nimrod developers :P
12:58:55fowlEXetoC, searching my email for bitcoin, found a wallet on the internet
13:01:09BitPuffinI used to have 50 LTC
13:01:27BitPuffinLTC is currently priced at 38.30
13:01:29BitPuffinusd
13:01:32BitPuffin._.
13:02:28fowlwhat'd you do with them
13:02:45BitPuffinI lost them
13:02:58BitPuffinI thought the wallet wass stored in the same dir as the client
13:03:04BitPuffinso I had that in dropbox
13:03:27BitPuffinand then after a reformat remembering that I had some LTC I realized that the wallet was in some %appdata dir or something
13:03:32BitPuffinand yes I did try to recover them
13:03:48BitPuffinbut it was too late ;_;
13:04:30BitPuffinif the data is not in three different places it does not exist
13:13:00fowlim going to gamble these bitcoins
13:13:17BitPuffinI wonder if I still have my BTC that I have in bitvegas
13:14:18BitPuffinfowl: do you have minecraft?
13:15:34fowli bought it
13:15:39fowlits not installed currently though
13:18:10*isenmann quit (Quit: Leaving.)
13:22:20BitPuffinfowl: care to install? :D
13:23:13fowlonly if someone will profit from it
13:23:49BitPuffinI will
13:25:00fowlhow
13:25:55BitPuffinwe both will
13:25:58BitPuffinwe'll get free bitcoins
13:26:01BitPuffinif you hang on
13:28:55fowlok
13:29:00fowlhopefully i can access my account
13:29:21BitPuffinfowl: hmm, alternatively it could wait until later
13:29:30BitPuffinsince i'm at work lol
13:32:41BitPuffinfowl: okay go here www.bitvegas.net/bitcoin-casino/?id=12182 and then check how to connect to the server
13:32:45BitPuffin(it's a casino)
13:33:59BitPuffinyou have to use 1.6.4
13:34:08BitPuffinit's easy to fix with the new launcher
13:35:22fowlnot sure which version i have
13:35:41fowldont you want to refer me
13:36:09BitPuffinfowl: I get referred if you go via the link I pasted
13:36:22fowloh ok
13:36:38BitPuffinfowl: you can select a different version in the launcher, just edit what version you use in your profile
13:36:52BitPuffinI have 10.541 mbtc :P
13:36:59BitPuffinabout 11-12 usd
13:37:41fowloh
13:37:46fowlyou cant use the latest 1.7.2?
13:38:02BitPuffinfowl: nah
13:38:19BitPuffinclick profile editor in the launcher
13:38:26BitPuffinthen edit profile
13:38:36BitPuffinand use version: 1.6.4
13:38:41BitPuffinand then save and play
13:38:54BitPuffinand then connect to server bitvegas.net
13:39:07BitPuffinEXetoC: do you have minecraft?
13:39:23fowlah ok
13:41:53EXetoCBitPuffin: no
13:41:54*fowl quit (Read error: Connection reset by peer)
13:42:39*fowl joined #nimrod
13:42:46fowlcomputer froze
13:43:42BitPuffindom96: do you have minecraft?
13:43:48BitPuffinfowl: lame
13:44:02BitPuffinthat's why people should code their games in nimrod and not java amirite
13:44:21fowli think i have to dl the resource pack
13:45:08BitPuffinfowl: I didn't need to
13:45:12BitPuffinnot to join the server at least
13:45:22fowltoday?
13:45:31BitPuffinyeah
13:45:38fowlok trying it again
13:50:34BitPuffinfowl: any luck?
13:50:43fowlyea it works
13:50:47fowlturned the gfx way down
13:52:47BitPuffinlet's see if it worked
13:54:33BitPuffinI have no idea
13:54:35BitPuffinmaybe lol
13:54:44BitPuffinah there!
13:55:15BitPuffinfowl: if you stay online I'll keep getting rewarded haha
13:55:45BitPuffinso if you are online 18 more minutes I'll get fully rewarded
13:55:53BitPuffinapparently they changed the system
13:56:07BitPuffinusually you got gifts during a period that you got out of a box
13:56:18BitPuffinwhich would be the thing giving you btc
13:56:20BitPuffinhmm
13:56:37BitPuffinah it's still there
13:56:48fowli just checked it, i have no gifts :(
13:56:50BitPuffinEach player can open the chest every 15 minutes of being online. For every time you open the chest you get 0.5mBTC
13:57:42BitPuffinfowl: also there is this thing 1PPbTAPSoLNCdFe9egofAq8zyqLjT7E5Tb
13:57:46BitPuffinwoa wait
13:57:49BitPuffinhttp://www.bitcoinget.com/?r=1PPbTAPSoLNCdFe9egofAq8zyqLjT7E5Tb
13:58:31fowli did some of those
13:59:15BitPuffinfowl: well you can do them for bitvegas
13:59:31BitPuffinhttp://www.bitcoinget.com/partner/bitvegas
14:00:26BitPuffinfowl: 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:34fowlwtf
14:01:38fowli juyst bet on red and green one
14:01:40fowlwon*
14:01:48BitPuffinah
14:01:51BitPuffinroulette?
14:02:00BitPuffinfowl: you might be playing with playmoney though
14:02:09BitPuffintype /mode
14:02:45fowli dont have real bitcoins to play with
14:02:59BitPuffinI wonder where the giftbox is
14:03:06BitPuffinfowl: you can get some with the giftbox
14:04:25fowlits on the second floor
14:05:28BitPuffinhow do I get there lol
14:06:15fowlthe elevator
14:07:16BitPuffinI don't know where it is haha
14:09:52EXetoCoh, m as in milli, not million. ok that makes sense
14:10:15BitPuffinEXetoC: no million obviously
14:14:52BitPuffinyeah I'm gonna have to play with bitvegas some other time
14:14:59BitPuffinnow I at least have 1.5 more mbtc
14:23:01BitPuffinfowl: I'm sure if one hangs around and looks for the box every 15 minutes one can gain some BTC :D
14:25:29fowli dunno
14:25:36fowlim pretty sure i've been in for more than 15 minutes already
14:26:46BitPuffinfowl: have you found the chest?
14:26:52fowlyea
14:27:06BitPuffinfowl: what does it say?
14:30:03dom96hi
14:30:07dom96BitPuffin: yes
14:30:59BitPuffindom96: would you mind doing the thing I showed fowl? :D
14:31:02BitPuffinso I get some BTC!
14:31:18dom96but I want BTC too!
14:31:30BitPuffindom96: visit www.bitvegas.net/bitcoin-casino/?id=12182
14:31:46dom96I have to use an older version of MC...
14:31:47dom96argh
14:31:51dom96Sounds like too much bother
14:31:54BitPuffindom96: after that connect to it with 1.6.4
14:31:57fowldom96, its easy to do from the launcher
14:31:59BitPuffinno it's easy with the latest client
14:32:09BitPuffinyou just edit your profile to use 1.6.4
14:32:12BitPuffineasy peasy
14:32:26dom96IIRC Minecraft doesn't work for me on Arch anyway
14:32:32BitPuffindom96: works for me
14:32:45BitPuffinjust install the jre7 openjdk
14:32:51BitPuffinand then java -jar Minecraft.jar
14:33:09fowlminecraft from AUR
14:33:19dom96hrm, seems I can't login
14:33:36dom96and yep, it doesn't work
14:34:56fowlwtf, i found some secret area and cant get out >:(
14:36:45EXetoCgot any nukes?
14:47:51*boydgreenfield joined #nimrod
14:53:26BitPuffindom96: I don't understaaaaaand why doesn't setCookie woooooork, I'm gonna punch nimrooooooood
14:53:33fowlhttp://freebitco.in/?r=63383
14:53:35fowl^^
14:53:42fowlLETS COPY THIS SITE https://www.betcoin.tm/prize/
14:53:52fowlsend us your bitcoins, we'll send you the winnings if you win
14:54:09fowl(no intentions of doing the right thing)
14:54:23dom96let's just make a bitcoin lottery
14:54:59BitPuffindom96: https://gist.github.com/BitPuffin/f1bbdc79ff312a67f2e8
14:55:25BitPuffinconsole:
14:55:36BitPuffinPOST /user/personalogin
14:55:38BitPuffin 303 Moved {Set-Cookie: useremail="[email protected]"; Expires=Fri, 06 Dec 2013 14:55:04 UTC, Location: /}
14:55:58BitPuffindom96: are you sure nimforum works on latest version of nimrod?
14:56:05dom96no, i'm not.
14:56:06BitPuffinand latest jester
14:56:31BitPuffinyet still echo(document.cookie); yields nothing
14:56:35BitPuffinand I checked
14:56:38BitPuffindocument.cookie is a string
14:56:40fowlyes
14:56:44fowlbitcoin lottery
14:56:45fowllets do it
14:57:08BitPuffinfowl: except we keep the money and create a fake person that we pretend won
14:57:33fowlok we're all on the same page here
15:02:25dom96There of course already is a site which does that: https://bitmillions.com/
15:02:40dom96Looks too "flashy" IMO though
15:04:43dom96BitPuffin: Echo the headers that you get when navigating to /
15:04:52dom96You should see a "Cookie" header
15:05:02dom96http://en.wikipedia.org/wiki/HTTP_cookie#Setting_a_cookie
15:05:26fowldom96, there are tons of bitcoin lotteries
15:05:41fowldom96, we just need a couple ppl to play per week to be profitable
15:05:56dom96True. Let's do it then :P
15:06:08BitPuffindom96: echo request.headers?
15:06:13dom96BitPuffin: yeah
15:06:25dom96fowl: code it in Nimrod too
15:07:10BitPuffin{:}
15:08:51dom96wut
15:09:02dom96maybe httpserver is fucking up
15:09:11BitPuffindom96: httpserver is such a fuck
15:09:15BitPuffin:D
15:09:19dom96Are you using async or sync jester?
15:09:46BitPuffindom96: whatever the default is
15:10:33dom96try the other one heh
15:10:55BitPuffinbut how do I know which one I'm using ;_;
15:11:34dom96Are you calling register()?
15:11:44BitPuffindom96: was da
15:11:46dom96Did you create a dispatcher?
15:12:02BitPuffinwas da
15:12:05dom96https://github.com/dom96/jester/blob/master/tests/asynctest.nim
15:12:12dom96use that
15:13:23BitPuffinwas da
15:13:25BitPuffinkidding
15:13:27BitPuffinI'll try
15:14:22BitPuffindom96: says hello
15:14:29fowllook at this https://coincontroller.com/
15:14:31dom96well I mean
15:14:38dom96Use that in your code
15:14:42dom96set up the dispatcher like that
15:14:45dom96etc
15:15:10fowlpeople buy a coin to display a link to their site until its bought by someone else
15:15:17dom96BitPuffin: or better yet
15:15:21dom96try testapp.nim
15:15:30dom96It's got a cookie test in there.
15:15:56dom96navigate to /session and then /session/blah and then /session again
15:17:48*mflamer joined #nimrod
15:18:06BitPuffin{test: blah, test23: blah, qerty: blah, test13: blah}
15:18:19dom96yeah. So it works.
15:18:52mflamergood morning
15:19:20BitPuffinugh
15:19:25BitPuffinbut I'm not doing anything different
15:19:41BitPuffinother than using persona
15:20:20BitPuffinhttps://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:12BitPuffincould it be something about setting the values in post?
15:23:05BitPuffininstead of GET
15:23:18dom96I don't know.
15:23:24dom96Try using GET maybe?
15:24:06BitPuffinbut that doesn't make sense
15:24:25BitPuffineither it's post
15:24:30BitPuffinor post with a redirect
15:24:34BitPuffinor whatafackever :(
15:26:01dom96well it works in the test app
15:26:05BitPuffinyup
15:26:12dom96so you can figure out what's wrong by removing things
15:26:14BitPuffinguess I might do some testing when I get home
15:31:24BitPuffinugh how do I make firefox post
15:36:29*brihat joined #nimrod
15:36:42fowlchange your form
15:37:20*OrionPKM joined #nimrod
15:37:44BitPuffinso now you are saying that I'm fat
15:37:46BitPuffinthat's mature
15:41:06*gradha joined #nimrod
15:41:31fowlBitPuffin, bitvisitor gives you ~15 uBTC for viewing a site for like 5 minutes
15:41:45fowlthats better than 1.5 for someone playing for 30 minutes
15:42:02BitPuffindom96: yeah I tried just making it a simple post that sets cookie and redirects
15:42:05BitPuffindidun wuk
15:42:10BitPuffindom96: see if you can reproduce
15:42:39BitPuffinfowl: does it keep on giving or just once?
15:43:23fowlper site
15:43:30fowlits like an iframe type thing
15:43:43BitPuffinah
15:43:46BitPuffinI think I've used that
15:48:36fowli wonder how much $ is in these faucet sites
15:50:31*q66_ joined #nimrod
15:50:53*q66 quit (Disconnected by services)
15:50:54BitPuffinfowl: it's always about money with you
15:50:55*q66_ is now known as q66
15:51:02BitPuffin:P
15:51:13fowlBitPuffin, its just that there is so many of them
15:51:20fowlthey must be making profit
15:51:51BitPuffinfowl: ah you mean with the ads etc
15:51:58fowlyea
15:52:08BitPuffinofc there is money in them
15:52:18BitPuffinotherwise they wouldn't keep them running now would they :P
15:52:51fowlyea but who clicks on ads
15:52:56fowllike srsly
15:53:07BitPuffinwell they also get money just from having them displayed
15:53:21BitPuffinbut they get more when you click
15:53:36BitPuffinbut those sites are basically 102020321093 ads per page
15:53:39BitPuffinso it's profiting
15:53:46gradhaso wrap webkit and implement a pseudo-human ad clicker to get bitcoins, not so hard
15:54:48fowlfaking clicks would be annoying
15:54:49BitPuffingradha: You've misunderstood
15:54:59fowlyou'd have to connect to a new proxy each time
15:55:18BitPuffinyeah
15:55:22BitPuffinwish we had ipv6
15:55:28BitPuffin>.<
16:08:35*boydgreenfield quit (Quit: boydgreenfield)
16:09:21*boydgreenfield joined #nimrod
16:25:08EXetoCwawawiwa
16:26:07BitPuffinEXetoC: ?
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:44BitPuffinnew python version out?
17:48:50BitPuffindom96: were you able to reproduce?
17:49:53gradhaBitPuffin: "A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications"
17:50:02gradhathat's excellent marketing for the language
17:50:29BitPuffingradha: hahahaha
17:50:52BitPuffingradha: well we compile to C so we can't really scream much
17:51:00BitPuffinnothing stops us from compiling direct though
17:51:51gradhanimrod should compile to python interpreter bytecode
17:52:13gradhathen the comparisons would be fair, maybe
17:52:14BitPuffingradha: haha oh god, that has to happen
17:52:31BitPuffinyou know what
17:52:44BitPuffinI'm gonna drop all by projects and business stuff and just work on that
17:52:49BitPuffinI feel it is important
18:09:49gradhadom96: 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:13gradhaI'm going to post to the forum, BitPuffin, please don't watch
18:35:44BitPuffingradha: oh I won't..... nooooooooo :P
18:36:49gradhathere you go, hopefully nobody sniffed my cookies (reminds be of the awesome south park lick my chocolate balls chapter)
18:39:22BitPuffingradha: I am not bruteforcing your password..... nope....
18:39:47gradhaBitPuffin: you are going to have fun with it
18:39:59BitPuffinoh yuppie yup
18:40:12fowlBitPuffin, feel free to bruteforce mine, i forgot my password
18:40:38BitPuffinfowl: lol
18:40:49gradhathis looks like a trend, maybe BitPuffin should start a nimrod hash bruteforcer project?
18:40:52BitPuffinfowl: but I'm gonna have to intercept your traffic looking in
18:40:58BitPuffinlogging
18:41:11BitPuffinfowl: however ask Araq if he can give you the hash and have at it
18:41:18BitPuffinit'll only take 7 seconds
18:42:36BitPuffinfowl: or just reset the pw :P
18:44:07EXetoCsince when can you do that?
18:44:24EXetoCc(:)
18:46:18BitPuffinoh you can't?
18:46:31BitPuffinI don't use the forum
18:46:39BitPuffinOUT OF SPITE!!!
18:46:42BitPuffinno not really
18:47:15BitPuffinprotesting is only a small part of why :P
18:55:39EXetoCis anyone using the subexes module? seems neat
18:59:16EXetoCBitPuffin: SO WHAT IS UP? working on that python thing? done soon?
19:06:24BitPuffinEXetoC: yeah of course! srsly important!!!
19:06:36EXetoCk
19:07:45AraqEXetoC: I never use subexes due to their overhead ... I think Iover-engineered this thing
19:07:53BitPuffinEXetoC: no but right now I am making dinner
19:08:08BitPuffinEXetoC: other than that I am coding a website for a guy
19:08:14BitPuffinbut it's not going very well
19:08:18BitPuffinbecause the cookie bug
19:08:25BitPuffinthe cookie monster har har
19:08:51AraqEXetoC: but they should work well, I tested them quite well
19:12:46EXetoCok
19:15:34*DAddYE_ quit (Remote host closed the connection)
19:16:01*DAddYE joined #nimrod
19:16:33mflamerAraq: 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:52Araqthere is no choice here
19:18:16Araqyou have to take the backend route or are in a world of pain
19:19:37mflamerok, thanks for the warning
19:20:38*DAddYE quit (Ping timeout: 264 seconds)
19:21:57Araqmflamer: 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:23Araqand needs to be kept in mind all the time when modifying the compiler
19:22:47Araqwe have anough of these nasty things already
19:27:05*Arcanum_za is now known as Trixar_za
19:28:19mflamerAraq: OK, understood
19:33:41mflamerIs 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:25mflamerYeah, 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:25Araqhi jennjimm welcome
19:42:30NimBotAraq/Nimrod master 65d572a Araq [+0 ±1 -0]: fixed definition of culong on win64
19:42:30NimBotAraq/Nimrod master 2ae0028 Araq [+4 ±48 -0]: Merge branch 'master' of https://github.com/Araq/Nimrod
19:42:30NimBotAraq/Nimrod master 08d0fa2 Araq [+0 ±2 -0]: removed 'system.eval'
19:42:30NimBotAraq/Nimrod master ebc14b5 Araq [+1 ±3 -0]: fixes #686
19:42:50AraqBitPuffin: your prayers have been heard
19:51:30jennjimmhi Araq
19:52:01*jennjimm is now known as jimmjenn
20:06:20BitPuffinAraq: great work :D
20:06:28BitPuffinAraq: Did it do what you wanted it to do?
20:07:01Araqbuilder-linux-ppc64(140.211.15.137) created a fatal error.
20:07:08Araqso ... no idea
20:07:19BitPuffinwoa :o
20:07:28BitPuffinI'll try and update
20:07:33BitPuffinsince I'm on the linjucks
20:07:57*boydgreenfield quit (Quit: boydgreenfield)
20:07:58BitPuffinor oh
20:08:01BitPuffinit was on ppc
20:08:05BitPuffindoes anyone use ppc?
20:08:54BitPuffinx86 is behind apparently, I'm guessing you are testing it atm?
20:10:14Araqyeah
20:13:10BitPuffinAraq: 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:20BitPuffinso you can catch regressions
20:14:31Araqer ... what?
20:14:38Araqyou just described nimbuild
20:15:31BitPuffinAraq: doesn't nimbuild just build the compiler?
20:15:47Araqno we have an excessive tests suite
20:16:01Araqand every bug in github ends up in the suite
20:16:22Araqwell almost, sometimes I can't do it as the testing infrastructure ain't there yet.
20:16:33Araqfor instance anything that's docutils related
20:16:58*ryeguy joined #nimrod
20:17:07Araqhi ryeguy welcome
20:17:15ryeguyhi
20:17:40BitPuffinAraq: ah cool well then there you go :D
20:18:33BitPuffinthat's very proper
20:19:38BitPuffinI think dom96 might be hiding from me
20:30:36*tylere joined #nimrod
20:36:21ryeguyhow useful is it to disable the gc, in general?
20:36:29ryeguysay i'm looking to use nimrod for a game
20:36:34ryeguyi know it has time-bounded gc, which sounds great
20:37:09ryeguy1) would there be a noticable improvement by disabling the gc? 2) is this even realistically usable -- does the stdlib allocate a lot?
20:37:27ryeguyjust curious, this isn't a problem i'm currently trying to solve
20:37:54Araqdisabling 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:32Araqthe stdlib allocates when it feels like, however in don't think we have many libraries that are on your critical path
20:38:46Araqfor instance I don't think you main game loop parses XML
20:39:39Araqin general, just use the realtime abilities of the Gc and be happy ;-)
20:39:44*mflamer quit (Ping timeout: 272 seconds)
20:39:57ryeguythats what i figured :D thanks
20:41:58Araqmore 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:51BitPuffinryeguy: 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:25BitPuffinbut generally even before you do that you can try to work with the GC
20:43:28ryeguyby "move it off the gc", do you mean use e.g. object pools?
20:43:44BitPuffinryeguy: either object pools etc or even manage some memory manually
20:44:15BitPuffinryeguy: the GC doesn't know about memory allocated with alloc, so you can do both
20:48:10BitPuffinAraq: by the way it built perfectly fine on my system, gonna check if the bug's gone soon :)
20:49:15BitPuffinhttp://www.gameranx.com/images/updates/1281104758drm.jpg
20:49:29*tylere quit (Remote host closed the connection)
20:55:12BitPuffinryeguy: what kind of game are you planning to make?
20:55:59ryeguya sort of simcity-ish style game at a smaller scale
20:56:32BitPuffinryeguy: 2d or 3d graphics?
20:56:35ryeguy2d
20:56:50BitPuffinryeguy: you don't need to worry at all really
20:57:51brihatOh well, Nimrod on frontpage of HN again: https://news.ycombinator.com/item?id=6820474
20:58:06BitPuffinbrihat: what article?
20:58:12BitPuffindon't answer
20:58:12ryeguyi posted that, heh
20:58:14BitPuffinI'll look
20:58:16BitPuffinlol
20:58:32BitPuffinah Araq's slides
20:58:35brihatlol
20:58:40ryeguythat slideshow is what made me finally look into nimrod
20:58:45Araqwell it helps when people tell us before
20:58:58ryeguysorry, im an outsider :p
20:59:03ryeguyi got it from reddit
20:59:08Araqand we need some official PR guy
20:59:21*gradha nearly chokes on his chocolate
20:59:43Araqreading reddit and hacker news is bad for my health so I tend to avoid it
20:59:46BitPuffinAraq: marketing in general I'd say
21:00:01AraqBitPuffin: you have the job.
21:00:14BitPuffinAraq: my job is to market nimrod?
21:00:30ryeguyjust encourage people to blog about it, and the rest will follow
21:00:46BitPuffinYeah that's kind of our plan already
21:00:58BitPuffinme dom96, EXetoC etc thought it would be nice to have at least one new article per week
21:01:05Araqryeguy: I just wrote an article for drdobbs
21:01:10BitPuffinbut my blog is gonna be delayed
21:01:20BitPuffinAraq: when will that article come up
21:01:22BitPuffin?
21:01:50BitPuffinkind of funny that I did kind of find myself looking at how to market stuff a few days ago for nimrod :$
21:01:52Araqthey say it's in the print version of december and will be put online 1 month after that
21:02:27BitPuffinah okay so january then
21:02:31BitPuffinAm I not a genius
21:02:39BitPuffinjanuary does come after december
21:02:58gradhashit, programmers still reading paper magazines? I'm on the wrong parallel universe, again
21:02:59BitPuffin"nimrod sounds even better than google go. why did you start it? what's the desired program that made you design nimrod?"
21:03:37Trixar_zaDammit gradha, stop using shifting universes on us
21:03:51Trixar_zaI've met like 10 of you and all of them says something similar
21:04:11gradhaTrixar_za: sorry, you know it's hard to keep count when your variable is thread local
21:04:21AraqBitPuffin: who asks that?
21:04:35gradhaAraq: fxtentacle, at the end of the threads now
21:04:41gradhaI like that nick
21:05:25BitPuffinAraq: someone at the bottom of HN
21:05:34Araqthe official answer is that "I designed and created it in my spare time, because I could" I guess
21:05:38Trixar_zaTrue. The thing that really disappointed me about the multiverse is that it surprisingly small.
21:05:51BitPuffinAraq: well I don't have a HN account so I can't reply for you lol
21:05:54Araqthat's what I said at the emerging langs camp anyway
21:05:54BitPuffinget dom96 on the line
21:06:01BitPuffinHEY DOM96 GET OVER HERE
21:06:17gradhaBitPuffin: he's still doing his physics exam
21:06:24BitPuffinbah
21:06:28BitPuffinthat's not important xD
21:06:34Araqit's 21:06 for him
21:06:35BitPuffinnah kidding hope it goes well for him
21:06:40Araqso ... unlikely
21:06:46BitPuffinit's 22:06 here
21:06:56gradhathey make really long exams where he lives, he started yesterday
21:06:57Trixar_zaAnd an hour later here
21:07:11brihatquick help plz. how to pass "-O2" option to gcc via nimrod?
21:07:11Trixar_zalol
21:07:21AraqTrixar_za: aren't you in australia?
21:07:33Trixar_zaSouth African
21:07:41gradhabrihat: IIRC there's a switch to pass stuff verbatim to the compiler
21:07:45Trixar_zaIt's even later there - or should I say earlier
21:07:52Araqbrihat: --passC:"-O2" but it's better to edit your nimrod.cfg
21:07:54Trixar_zabetween 6 and 8 hour difference from mine
21:08:23BitPuffinanyways if Araq or anyone wanna reply to the comment it's here https://news.ycombinator.com/item?id=6820681
21:08:58Trixar_zaSo it's like 7:08am in Sydney
21:09:09*boydgreenfield joined #nimrod
21:09:17brihatAraq, thanks
21:09:29*boydgreenfield quit (Client Quit)
21:11:28Trixar_zaIn 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:22BitPuffinAraq: seems like the bug is no longer prescent, great job!
21:12:35Trixar_za:<
21:12:46Trixar_zaY u no install Fallout2? :'(
21:13:21ryeguysome interesting talk about the gc implementation: https://news.ycombinator.com/item?id=6820727
21:14:18Araqryeguy: I will answer later, sorry I'm busy
21:14:21BitPuffinAraq: Also I think it is really time to start to head for a new snapshot or something as an official release.
21:14:42Araqrelease is on 16th of december
21:14:52BitPuffinAraq: for 0.9.4?
21:14:55Araqyes
21:14:57BitPuffincool!
21:15:07BitPuffinso you are focusing on bug fixes I reckon?
21:15:36Araqwell actually I want the new VM to be in 0.9.4
21:15:43BitPuffinoh
21:15:45BitPuffinwell shit :P
21:15:49BitPuffinbetter quit your job then
21:15:49AraqI should focus on bug fixes, I know
21:16:25BitPuffinor I guess something you could do is get the vm in
21:16:32BitPuffinthen work really hard on bug fixes
21:16:38BitPuffinand release a 0.9.4.1 bugfix release
21:17:03BitPuffinar 0.9.4a
21:17:09BitPuffinb,c
21:17:15gradhaif 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:16BitPuffinettesettera
21:17:32Araqgradha: known issue, very hard to solve though
21:17:43Araqit's not a bug, it's an emergent behaviour
21:17:44gradhaoh, wasn't aware of that
21:17:58Araqof how the config system is designed
21:18:23*IrvMG joined #nimrod
21:18:26AraqI guess for now we can simply document it really well and then ...
21:18:37Araqoh never mind, that never works
21:19:30Araqhi IrvMG welcome or welcome back
21:19:47IrvMGHello
21:19:53gradhaAraq: I've searched nimrodc for "emergent" and haven't found anything
21:20:38Araqwell 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:40ryeguyis 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:54gradhathere are stable docs and git docs
21:34:13gradhagit docs are put on http://build.nimrod-lang.org/docs/overview.html
21:34:54ryeguyseems to be missing from there too
21:35:06gradhaah, yes, you need to use the index for that one
21:40:02gradhait's actually quite complicated to scan for the docstrings of modules and build automatically an index of the available ones
21:42:26brihatWhen 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:11BitPuffinbrihat: well it is a hint
21:43:21BitPuffinbrihat: you know that it used config file bla for example
21:45:01brihatLogging levels are given as Note < Info < Warn < Error .. that is what every framework, compiler, etc. show. Hint is a bit unusual.
21:45:09brihatLike I said, hint for what?
21:45:21brihathint for my password reset? :P
21:45:23Araqbrihat: good point but we have --hints:off and {.hints: off} and in general we have hints, warnings and errors
21:45:34Araqand nothing else
21:45:48Araqperhaps "info" would have been a better word
21:46:15Araqbut that's bikeshedding
21:46:20brihatAraq: Yup, that was I was thinking
21:46:55Araq--verbosity:0 should get rid of these iirc
21:47:51BitPuffinAraq: is there a short to get those off?
21:48:35Araqbtw the messages even show you how to get rid of them: [Processing] means hint[Processing]:off does the trick
21:49:05Araqno need to lookup a strange mapping between warning numbers and warning messages
21:49:57BitPuffinyay :D
21:50:58brihatHuh, i had to google for what "bikeshedding" means
21:52:15*DAddYE quit (Remote host closed the connection)
21:52:23BitPuffinbrihat: I believe it comes from BSD
21:52:28BitPuffinthe expression
21:54:37brihatOh yea, I also discovered yak shaving
21:55:01BitPuffinwhat's that lol
21:56:27brihat https://en.wiktionary.org/wiki/yak_shaving
21:56:28*mflamer joined #nimrod
21:57:56BitPuffinthat's a good expression
21:57:59BitPuffingotta 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:28BitPuffinAraq: didn't even realize that netbsd was in the build system thingy
22:43:48gradhagood 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:43dunpealHey. I'm checking out the slides, question about this one: http://nimrod-lang.org/talk01/slides.html#(13)
23:00:08dunpealWhy can't htmlTag simply be a function that returns a string?
23:02:03OrionPKMhtmlTag makes a type of tag dunpeal
23:02:18OrionPKMnot an instance of a tag
23:04:28IrvMGOn slides #8: "it compiles to JavaScript"?
23:05:18dunpealOrionPKM: *nod*, my point is that it's not a very powerful example of metaprogramming
23:05:25dunpealin Python, it would simply be:
23:05:50Araqdunpeal: htmlTag can be a function returning a string, but the example shows how to create 2 functions br and html
23:05:50dunpealdef htmlTag(s): return lambda: s
23:06:37dunpealalso, in Python, you'd probably go with something simpler like `htmlTag(s): return '<%s>' % s
23:06:44Araqit's only an example showing templates and 'astToStr'
23:06:59Araqthen come more complex examples
23:07:12dunpeal*nod*, thanks
23:07:45Araqand I'm very well aware of python's capabilites ;-)
23:10:27EXetoCIrvMG: yes the compiler can generate JS code, as well as C, C++ and Objective-C code
23:10:46BitPuffinBOOM PREACH IT EXETOC
23:10:59BitPuffinI should go to bed
23:11:52EXetoClame! ok bye
23:12:03BitPuffinshould does not mean I will!
23:12:34EXetoCo ok
23:13:10BitPuffinbut just because it doesn't _have_ to mean that doesn't mean it might mean that either!
23:13:34BitPuffinso goodnight! xD
23:13:38BitPuffintalk to you guys tomorrow
23:13:41BitPuffinah promiss
23:13:43BitPuffinah promiss
23:13:45BitPuffinnight!
23:14:24dunpealany ballpark figures for Nimrod's real-world performance?
23:16:38EXetoCBitPuffin: bye
23:17:42Araqdunpeal: we're on par with C++ and rumors say we're faster than C++ "by default"
23:18:04dunpealuhm, if that's true, then Nimrod may have a great future
23:18:20*BitPuffin quit (Ping timeout: 260 seconds)
23:18:43dunpealhow hard is it to use C/++ libraries from Nimrod? Can it use JS languages if you compile it to JS?
23:19:14fowldunpeal, easy, and yes
23:19:55dunpealthese are very nice figures: http://togototo.wordpress.com/2013/08/23/benchmarks-round-two-parallel-go-rust-d-scala-and-nimrod/
23:20:11dunpeallanguage looks really awesome, hope it becomes more popular.
23:21:05*mflamer joined #nimrod
23:21:25dom96oh, we're on HN again huh. Cool.
23:22:26brihatdom96: oh yea, i mentioned that already
23:22:39brihatand oh yea ryeguy submitted it
23:23:23dunpealWhat's the concurrency paradigm of Nimrod? threads?
23:23:58Araqyes and they are heavy by design.
23:25:38Araqand yes we know Go does it differently and Rust is still trying
23:29:05dunpealyes, heavyweight threads is a very traditional concurrency paradigm.
23:29:32brihatdunpeal: I just downloaded those benchmarks from github, indeed Nimrod is faster than C
23:30:16brihatC=3.4 sec but Nimrod=2.5 sec
23:30:52dunpealbrihat: doesn't it mean the C code just wasn't optimal? the benchmarks run by compiling Nimrod to C, no?
23:36:21Araqdunpeal: that's correct
23:36:37brihatYes, Nimrod compiles to C, but it is heavily optimized
23:37:24brihat189 lines of C code vs. 412 lines of Nimriod-generated C code
23:37:32Araqactually 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:08brihatwhoa, for some reason C++ is even worse, 11.3 sec.
23:42:56Araqbenchmarks 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)