« first day (1896 days earlier)      last day (2947 days later) » 

2:00 AM
I'm testing on jsfiddle
I only implemented addition atm :P
 
@ChrisJester-Young :/ Joke ruiner :P
 
@Geobits uhh, like an average suburban city with population of ~75,000
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you should have an operator Map. maybe.
 
I had a sweet geocities page a long time ago in a city far away.
 
2:01 AM
@Downgoat Average is 75000?
 
@Geobits is that where your username comes from?
 
@MarsUltor what's that?
 
@MarsUltor ¯\_(ツ)_/¯
 
@Downgoat Then it would be 26,721 geobitses.
@Downgoat Heavens no.
 
@Geobits how did oyu caluulate that?
 
2:02 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ key-value map/dictionary. link
 
@MarsUltor I don't like the way it forces event loops down your throat, nor do I like the way it implements event loops period. I also dislike it trying to use its own web server instead of Apache/Nginx which 99% of people are going to want to use anyways
 
@Downgoat I know geobits demographics very well.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ kewl
 
@quartata merci!
@MarsUltor That's ES6.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I will have no mercy
@Geobits oh, okay.
 
2:03 AM
@Downgoat ¯\\\\\\\_(ツ)_/¯
 
oh my gosh what happened to his arm>?
 
It's them not his.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Then an object should be good enough
 
@MarsUltor It will be ^_^
 
@Downgoat i need help in he c9
 
2:06 AM
@MarsUltor oh, okay.
 
@QPaysTaxes I still need to check that out :(
What do I need for it to run?
 
how do I install it
 
so wait Ruby's modules/reqs are called gems?
That's a gem har har har
@QPaysTaxes I have to, too ;)
night!
 
@QPaysTaxes will install once it is in brww
 
@Downgoat ?
 
2:18 AM
Did I say that? :|
> Great minds waste time alike —PhiNotPi
 
> abandon all work, ye who enter here -aditsu
 
> So do lesser ones —Geobits
:P
That does have a bit of ring to it, doesn't it?
 
@Geobits ouch. you're not saving me at all :P
 
@QPaysTaxes Nah, the title. I always wanted a title like that. Ya know, dignified yet humble.
 
@Geobits "Geobits the Imperial Downvoter"
 
2:25 AM
@Geobits It's missing The Great before your name
 
The Great works just as well after the name I think.
Or The Great Geobits The Great.
 
Your Lord and Savior, The Great Geobits
 
Waiting two minutes to star things is hard sometimes.
Ah, there we go.
 
Can we get someone to be a guinea pig for something for a second
 
2:29 AM
How many seconds will this actually take?
 
@quartata if it's pizza taste testing, sure
 
I'm game, but not for too long.
 
You'll need Ruby 2.0 and it'll take 3 minutes tops
 
Bah, I've got 1.9 something installed atm.
Stupid koth entries and their old language versions.
 
OK, well, to anyone with Ruby 2: snag this: github.com/quartata/DesertSurvival/tree/oo-refactor and the necessary gems (io-console colorize and perlin_noise) and do ruby survive.rb. Play it a bit and tell me if any camps (C) or oases (O) are spawning.
 
Phigs> 6 7+
13.0
Phigs lives!
 
@Geobits did you see this:
 
Oh is that new?
 
2:33 AM
yes (the picture is new)
 
Meh. I upvote plenty. I have no idea how I came to be known as a downvoter >_>
 
the icon, probably
 
No, I changed the icon because of that.
Also, -1 for baseless assumption ;)
 
-1 for editing
 
2:35 AM
+1 for -1ing
 
-1 for +1ing
 
-1 for goat
 
ಠ_ಠ
 
Phigs is going to be the weirdest language.
 
Phi Golf Script?
 
2:37 AM
Phi's Golfo Supreme
(Alex named it)
 
+1 for +1ing
 
Ah, so it comes with sour cream? Gross.
 
@PhiNotPi you should of named it Mozzarella
 
> should of
 
@PhiNotPi Is that the one with stack-based syntax and lambdas?
 
2:38 AM
@Maltysen should[,] of [course, have ]
>_>
 
@Zgarb yes
 
No one here has Ruby 2?
 
@quartata I do
 
7 mins ago, by quartata
OK, well, to anyone with Ruby 2: snag this: https://github.com/quartata/DesertSurvival/tree/oo-refactor and the necessary gems (io-console colorize and perlin_noise) and do ruby survive.rb. Play it a bit and tell me if any camps (C) or oases (O) are spawning.
 
2:39 AM
@quartata can you make it so I can just do brew install <whatever>?
 
@Downgoat ?
All you have to do is hit Download ZIP...
 
@quartata -1 installation process too complicated
 
You literally hit Download ZIP, unzip it and do gem install io-console colorize perlin_noise
That's it
 
ok, will do in 30mins
 
@quartata i have 2.2.2
is that good?
 
2:41 AM
@Maltysen Perfect
 
idk how to gems
 
gem (or gem2.2) install io-console colorize perlin_noise
That's all
 
how do I run it
 
ruby (or ruby2.2) survive.rb
 
oh that makes sense
 
2:43 AM
Make sure it's the right interpreter though
 
yeah ruby -v got 2.1.2
 
Do whichever version you installed the gems on.
As long as it is >=2.0 it's not a big deal
 
@quartata its letting me spam resupply
 
@Maltysen Try walking away from the oasis with that much water
 
Phigs is weird because of its order of execution.
 
2:44 AM
haha
 
Anyways, do you see any camps?
C
 
yeah
 
Awesome!
Can you take a small screenshot real quick?
 
@PhiNotPi pigs are weird...
oh, nvm
 
@PhiNotPi I love figs
 
2:45 AM
ahh I got killed by a worm
 
@Maltysen Yeah, the worms will eat you if you don't have a sword.
 
@Maltysen are you playing dune?
 
You can find swords in camps.
 
Basically, I wanted to combine the way that stack-based languages allow stack-manipulation (and other "traditional features"), with the way that a prefix (non-stack-based) language is capable of using context in order to save bytes.
Consider the following program:
Phigs> 2 3\4+*
18.0
 
2:47 AM
Awesome.
Wait a second
 
9 hours ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
@PhiNotPi Like, the fruit?
 
You said it let you use r the resupply key
 
yeah
 
Uh oops I must have linked the wrong version
Was the branch master or oo-refactor?
 
idk
i used clone
 
2:48 AM
In a "normal" stack based language, this works like so:
2 3\4+*  stack
2        2
  3      2 3
   \     3 2
    4    3 2 4
     +   3 6
      *  18
 
oo-refactor
 
But, in Phigs, the order of execution is like this:
2 3\4+*  stack
      *  *
     +*  * +
    4+*  * + 4
     +*  * + 4
   \ +*  * + 4 \
  3\ +*  * + 4 \ 3
   \ +*  * + 4 \ 3
2  \ +*  * + 4 \ 3 2
   \ +*  * + 4 2 3
     +*  * 6 3
      *  18
 
@Maltysen That can't be right; oo-refactor doesn't have resupply.
 
wait nvm I'm on master for some reason
I clicked on the oo-resupply link
 
Sorry to be a pain in the ass
 
2:50 AM
but git clone must given me master
 
@CᴏɴᴏʀO'Bʀɪᴇɴ no, like the chicken
 
Try downloading the zip instead
 
@Quill Oh, that makes sense
:P
 
@Maltysen git clone gives you all branches
you just gotta switch branch
 
@PhiNotPi That's super interesting by the way
 
2:51 AM
@PhiNotPi cool
 
@Quill yeah, i mean right now im on master
 
@PhiNotPi that's a pretty christmas tree
 
@quartata oo-refactor doesn't exist
 
What??
I'm staring at it..
 
I tried git checkout
and ir made a new branch
 
2:53 AM
I have two lamps in my garden now. Like, two desk lamps. :P
 
@quartata error
survive.rb:121: syntax error, unexpected '|', expecting '}'
...eset.each { prob_sum += prob; |tile, prob| @tileset[tile] = ...
...                               ^
survive.rb:121: syntax error, unexpected '|', expecting '='
... prob_sum += prob; |tile, prob| @tileset[tile] = prob_sum }
...
 
Oops
Move the |tile, prob| to before the prob_sum
 
I should go to sleep
 
Or better yet wait a second and I'll do it and push a new one
 
what about commas and stuff
it worked
@quartata so many errors
I can't press "any key"
 
2:56 AM
Uh-oh
 
i have to press i
 
@quartata I think this type of order of execution will enable the language to do a lot of "Pyth-like" stuff.
 
then after instructions i press a key, and then errors
 
@Maltysen Oh blame @QPayTaxes for that one
What's the error though
 
survive.rb:121:in `block in initialize': undefined local variable or method `tile' for #<Map:0x000000011cc680 @tileset={}> (NameError)
	from survive.rb:121:in `each'
	from survive.rb:121:in `initialize'
	from survive.rb:235:in `new'
	from survive.rb:235:in `from_input'
	from survive.rb:263:in `<main>'
 
2:57 AM
wat
 
i might have fuckd up the fix
 
It should look like tileset.each { |tile, prob| prob_sum += prob; @tileset[tile] = prob_sum }
I committed the fix you can redownload the zip if you want
 
@quartata nothing spawning
 
Just sand? Or just sand and oases
 
2:59 AM
just sand
 
All right, I won't bother you further.
 
and a giant flood of water?
 
You can enjoy the old unbroken version if you want
 
every so often
 
@Maltysen That's night time.
Might look a little funny on your terminal.
 
2:59 AM
oh
 

« first day (1896 days earlier)      last day (2947 days later) »