last day (15 days later) » 

00:26
Does this look like a tomato?
no
it looks like a ?
            	/``\_
           _.-`| \ ``._
       .-''`-.       _.'`.
     .'      / /'\/`.\    `.
    /        |/             \
   '                         ;
  :                          :
  ;                          .
   '                        /
    \                     .'
     `.                 .'
       `-..___....----`
looks a lot better in terminal -_-
@HelkaHomba yay someone else likes LTT
@CheckOutTomato much more tomatoey there. Would not mistake for something else
@HelkaHomba OK, the first one looked like a plum
or not
But I don't recommend an "output this ASCII art tomato" challenge..
Unless it generalizes somehow
00:29
No, no, this is for my Tomato language. I decided to make a "push tomato" operator
uh huh
@CheckOutTomato just don't try to use it in a challenge later
@Riker why not?
because it's boring
I mean, if you can use it for something like the "output any string a googol times" challenge then sure
but don't try to repeat that "print a goat" challenge
not the same, I know :P
but we all take advantage of ASCII-art sometimes
I wonder precisely when goats became the most talked about animal in TNB.
00:35
Hmm... let me add file access commands to Tomato
Check out this hello world program in Tomato:
Hi
Totally not intentional.
00:56
Watch me develop tomato IN REAL TIME dk0.us:8082
nice use of box shadows.
not my program
I'm getting some glyphless characters, though
in the prompt?
00:58
@CheckOutTomato Tomato?
My programming language
Is there something supposed to be happening on the screen right now?
Powerline font installed, still nothing. Do I need to restart Firefox?
 
1 hour later…
02:15
Sorry about the idling, I have to finish a French lesson apparently
I
I'll come back when I can, I'll message the chat room
@JanDvorak
@Qwerp-Derp btw in case you didn't realise CheckOutTomato is wat
wait what really
@Qwerp-Derp Don't you mean... wait wat really???
02:47
@JanDvorak yes
03:03
ok @JanDvorak The live stream is back on
Anyone who wants to watch me develop tomato go to dk0.us:8082
But it isn't blocked on port 8082???
strange things happen
Also, you should check not just if the file exists, but also if you have permission to read it.
Thanks
@Pavel Actually, trying to access the file will just give you an error?
Yeah, but an exception doesn't look as nice as a custom message.
"Could not locate or access file #{ARGV[0]}" looks better.
03:11
@Pavel I tried to improve it, how does it look?
10/10
Ruby looks fun to use, but my brain borks at the prospect of needing to finish blocks with end
I will forget to do it 100% of the time.
You can always use {braces}
Like in C?
BRB learning Ruby.
Which variant of hello world should I use for H?
@CheckOutTomato why do all the names start with a ?
03:21
character literals
@CheckOutTomato The one most commonly used on the site is "Hello, World!"
You should consider creating a Tomato room.
BTW, what I am currently writing is an associative array mapping characters to lambdas.
@CheckOutTomato Oic, the only languages I know either don't have character literals or they look like 'c'
03:22
@Dennis I should do that! Thanks Dennis
@CheckOutTomato Yeah, I could figure that out.
@Dennis Can you move all these there when it's created? Thx.

 Tomato

A room for the Tomato programming language.
tomatoes are cool
Indeed
So, => is for dictionary mapping, and -> indicates a lambda?
I just find it interesting that the dictionary isn't delimited by anything but newlines, and same for commands. I kind of assumed Python was unique in being dependent on whitespace. Or is the Ruby interpreter able to automatically determine where one entry ends and the next begins?
03:27
o dam
I think i did a bad
it is a comma usually
Ha ha.
74 messages moved from The Nineteenth Byte
You know it would have been faster to type those commas by hand, right?
Yay for regex
No it wouldn't have been
I gtg, I'll be back in a few minutes.
o/
Vim is nice for short scripts, but generally I always want an IDE.
Jetbrains has one called RubyMine
Does it have vim keybindings?
There's a plugin for that.
Isn't that for Rails?
I use Rails, so that's still pretty cool
I assume that if it works for Rails it works for Ruby
Technically, it's "The Most Intelligent Ruby and Rails IDE"
Oh wait no, it isn't free. :(
03:44
Free student accounts. I have one.
Awesome, so do I!
I know, I have one too. I just thought you might not.
Actually, RubyMine seems awesome
Downloading now
Awesomeness is a common property of JetBrains products.
04:10
@CheckOutTomato GitHub when?
@Pavel I'll do it now
Also, can't you just use t?0:1 and use Ruby's built in definitions of truthy and falsey values?
Or does it not have those.
everything but nil and false is true
Ah
04:15
TY
I might be able to make a pull request and such.
I wonder if I can do that from the command line?
afaik you can? maybe?
PRs might be a GitHub thing
Eh, I'll clone it in RubyMine and see what happens when I try to push.
All of the ads I'm getting from AdChoices have switched from IntelliJ to RubyMine.
I swear, I only visited the page once.
04:33
@Pavel adblock?
Not on my school computer, which is what I'm on right now.
My laptop is a bit heavy. It's kind of ironic, my school "netbook" I use on my lap, my "laptop" I use on my desk, and my "desktop" is on the floor.
hi
?u is a vowel
@CheckOutTomato I think I know how to do J, execute it and read /dev/stdoutt. I'm not sure if that works tho.
there
that easy
remember, it's a scripting language
You scrolled down, I don't see it now >_>
04:44
there
You didn't give it a paramter.
I thought you meant that it was supposed to execute a shell script, that is Bash/Powershell/Batch
now it does
Whoa, that's cool. I did not know it worked like that.
04:46
yeah ruby is one of the most intuitive and powerful programming languages I've ever used
Yeah I'm definitely learning Ruby
=~ is the equivalent of .matches()?
I think I'll go to the library, pick up a Ruby textbook.
Look up an online guide
Use tryruby.org
\w also matches _, which might not be helpful since it has absolutely no significance to Tomato.
@CheckOutTomato It only covers the basic stuff, which is almost identical to python anyway. I've been meaning to go to the library for a while anyway.
all right
It's how I learned Ruby.
I have a copy of Programming Ruby 2nd edition as well
 
8 hours later…
13:10
I am a tomato
or a potato
halp

  last day (15 days later) »