Tweets 3, Cuddles and Sunshine

by Xenthos

Back to Common Grounds.

Daraius2010-12-10 05:06:56
Dropped the ball on the RP front several times tonight! Sorry folks. I blame pesky sister for making me entertain her all night.
Unknown2010-12-10 05:45:11
So I finished that clown mask... suspicious.gif
Lorina2010-12-10 06:05:27
Oh fiddle. Accidentally got enemied to to the Inner Sea. This will be a fun to pay off.
Shulamit2010-12-10 10:05:25
Ergh, thank you kid for making me feel like I have to do guild rank stuff instead of designing things, man sad.gif
Unknown2010-12-10 13:53:06
Just want to express my dissatisfaction that Lua is 1 indexed instead of zero indexed. Caused me so many problems.
Unknown2010-12-10 14:20:52
I was going to rave about anatine, the most lovely poison of them all, but now I've messed myself up so badly that I can't log in. sad.gif

The telnet client on my phone can't cope with the forced movement and hypochondria spam.
Vadi2010-12-10 15:09:20
QUOTE (Deschain @ Dec 10 2010, 08:53 AM) <{POST_SNAPBACK}>
Just want to express my dissatisfaction that Lua is 1 indexed instead of zero indexed. Caused me so many problems.


Welcome to the modern world! Zero is considered true, as well. (and it's awesome)
Unknown2010-12-10 15:19:52
QUOTE (Vadi @ Dec 10 2010, 10:09 AM) <{POST_SNAPBACK}>
Welcome to the modern world! Zero is considered true, as well. (and it's awesome)


Hehe, I'm actually used to that - in Ruby everything is true except nil and false.

I was writing my autobasher this morning, and I could not figure out why my list of mobs was empty. Then I realized it wasn't, but monsters was nil. tongue.gif

Other than that I'm enjoying Lua though, but getting used to table.insert(myTable, item) as opposed to myTable.insert(item) is a little weird.
Unknown2010-12-10 15:50:04
I understand hating 0 based arrays.

But I don't understand 0 not equaling false, because in binary logic, you only have 0 and 1.

Unknown2010-12-10 16:12:33
It was a minor speed bump in my Lua learning, but I love Lua more than any other language now.
Vadi2010-12-10 19:36:20
QUOTE (Deschain @ Dec 10 2010, 10:19 AM) <{POST_SNAPBACK}>
Hehe, I'm actually used to that - in Ruby everything is true except nil and false.

I was writing my autobasher this morning, and I could not figure out why my list of mobs was empty. Then I realized it wasn't, but monsters was nil. tongue.gif

Other than that I'm enjoying Lua though, but getting used to table.insert(myTable, item) as opposed to myTable.insert(item) is a little weird.



myTable:insert(item)
Unknown2010-12-10 20:01:05
Whenever I see a psymet monk, I always think of Ryu.

Unknown2010-12-10 20:13:06
In java class I know exactly how to code a lot of the stuff that I'm doing in lua but not in java, so where I'm working with varaibles in java I keep wanting to declare them the way one would in Mudlet, and even go so far as to code out a program in my head that would function in Mudlet running from aliases as one would code in java. dry.gif
Unknown2010-12-10 20:15:52
doh.gif


(Not related to anything that has been posted. At least, not on the forums.)
Unknown2010-12-10 20:36:29
QUOTE (Phred @ Dec 10 2010, 10:50 AM) <{POST_SNAPBACK}>
I understand hating 0 based arrays.

But I don't understand 0 not equaling false, because in binary logic, you only have 0 and 1.


I actually like 0 based arrays, it's what most languages use. As for the second thing, there are a few reasons. Most modern languages have an actual variable type for boolean values, so it's more consistent to just use those (and nil is usually false as a matter of convenience).


QUOTE (Zarquan @ Dec 10 2010, 11:12 AM) <{POST_SNAPBACK}>
It was a minor speed bump in my Lua learning, but I love Lua more than any other language now.


Ever used Ruby? >_>


QUOTE (Vadi @ Dec 10 2010, 02:36 PM) <{POST_SNAPBACK}>
myTable:insert(item)


Thanks for the tip, much cleaner IMO.


QUOTE (Kayte @ Dec 10 2010, 03:13 PM) <{POST_SNAPBACK}>
In java class I know exactly how to code a lot of the stuff that I'm doing in lua but not in java, so where I'm working with varaibles in java I keep wanting to declare them the way one would in Mudlet, and even go so far as to code out a program in my head that would function in Mudlet running from aliases as one would code in java. dry.gif


Hehe, I know the feeling of this, we use Java where I work, though I use Ruby for most projects at home. It doesn't help that they even have different syntax conventions - java variables are usually camel case (thisIsAVariable), and Ruby ones use underscores (this_is_a_variable)
Unknown2010-12-10 21:03:30
Tried Ruby for a web project, hated it, and went back to PHP pretty quickly.
Xenthos2010-12-10 22:29:46
I don't mind arrays one way or the other in a language.

What I mind is when you have to integrate languages that use differing bases. For example, integrating C++ with RDMLX. Great fun.

... for many reasons, of which that is probably the least problematic.
Ileein2010-12-11 03:51:12
Big things done, and I need sleep. Now let us hope this isn't all a huge mistake.
Unknown2010-12-11 03:54:11
QUOTE (Ileein @ Dec 10 2010, 10:51 PM) <{POST_SNAPBACK}>
Big things done, and I need sleep. Now let us hope this isn't all a huge mistake.

If I start drinking or not depends on (ok, it probably doesn't) how much of a big damn headache we just made for ourselves or not. Everything will be a beautiful garden of sunshine and rainbows and it'll all be super awesome and just great. HAPPINESS ALL AROUND. twitch.gif
Daraius2010-12-11 04:26:40
Hey, just in time for me to apply for aetherfavors. No, I didn't plan it that way. laugh.gif