« first day (1418 days earlier)      last day (3529 days later) » 

6:00 PM
an array is just an object with numeric keys, a useful prototype and a magic length property.
 
@JanDvorak can't they be numbers?
 
@ziGi nope.
 
I see what you are doing, but I'm just saying that the docs say it should be looking as an OBJECT for a property named "0", not the [0] of an array. That's all. Just that you are doing something the docs say noting about, that I can see.
 
!!> ({"0":"heya"}[0])
 
@JanDvorak "SyntaxError: missing ; before statement"
 
6:01 PM
Anywho.. carry on.
 
@JanDvorak "heya"
 
@ziGi Don't know really, she's just an appearance on the video, not part of the band :/
Manga (also stylized as maNga) is a Turkish alternative rock band whose music is mainly a fusion of Anatolian melodies with electronic elements. In 2009, they won both the Best Turkish Act award from MTV Turkey and consequently the Best European Act award from MTV Networks Europe in MTV Europe Music Awards 2009. They represented Turkey at the Eurovision Song Contest 2010 with the song "We Could Be the Same" and took second place. == Band history == Manga was formed in the year 2001, being named after the word for 'cool man', 'Manga'. Initially, they were mostly underground, playing covers of other...
 
!!> [1,2,3]["1"]
 
@JanDvorak 2
 
6:02 PM
@Luggage ^
 
@JanDvorak, interesting, how did I do that?
 
oh. i didn't know you could inddex arrays with a string
 
Ada has 1-based indexes... It's weird
 
@ziGi Chrome doesn't quote the keys...
 
I should have since JS will cooerce types. I just am fairly strict about types in my own code and forget.
 
6:04 PM
!!> Object.keys([1,2,3])
 
@JanDvorak ["0","1","2"]
 
I still thnink that line needs comments, though. :)
 
!!> Object.keys([1, 2]).forEach(function(e) { console.log(typeof e); });
 
@FlorianMargaine "undefined" Logged: "string","string"
 
I'd totally throw that shit back in a code review wit "WTF?"
 
6:04 PM
That was hard to write on mobile...
 
@JanDvorak interesting
 
@Luggage there's no such thing as too many comments ;-)
 
@JanDvorak a["1"] and a[1] will always behave the same, that doesn't mean that 1 is converted to string first and then used in the underlying getter
 
!!> var a=[]; a[1]="int"; Object.keys(a)
 
6:06 PM
@JanDvorak ["1"]
 
@copy implementation detail
 
@JanDvorak I was advocating comments, but since you said that.. I disagree. to many times I see comments like

//constructor
public MyObject() {
}
 
Guys, "asdf" is a number now! It's not quoted
 
@Luggage those aren't particularly useful, true
 
@JanDvorak, why are you lying to people, you know that it is not really Christian to do so, even Jessus(I) would tell you this
 
6:07 PM
@JanDvorak A good reason not to prefer a["1"] over a[1] for arrays
 
they might be useful for whomever wrote that, though.
@copy perhaps
 
@copy I think it's a string because underscore has behavior based on if the argument is a string or a function. The docs don't explicitely say you can pass in an array index as a number, but the string just 'works'.
 
@JanDvorak blesseth be you my child
 
@rlemon can we get underscore into the bot?
 
and a JS x86 emulator.
 
6:09 PM
@JanDvorak for what purpose?
jsfiddle.net/rlemon/5jz7p29x/7/show also what does everyone think of this logo?
 
@rlemon I would like to test something publicly
 
Is that safe for work?
 
@rlemon me gusta
 
@rlemon simple, but efficient
 
is 'pics' part of the logo?
 
6:10 PM
I assume so
 
@JanDvorak never used underscore
does it do any DOM Manip?
or is it just a js toolkit
 
nope
 
@rlemon I think it's great
 
I ask because something about the alignment of 'pics' feels random to me. But otherwise, i like it.
It's purely for manipulating / querying arrays/objects
 
@rlemon It's a bunch of functions for collections and functions
 
6:12 PM
let me look into the code eval plugin
 
map, reduce, filter, etc, etc. all with a fairly considtent syntax. and chaninable.
 
@rlemon If you've used lodash, it's basically that.
 
I haven't used many js libraries
 
I suggest an alternative, lodash, assuming it's compatible. It does more
 
@Luggage I'm pretty sure lodash is just a more efficient superset on underscore, so it should be.
 
6:14 PM
underscore chaining in coffeescript is sexy.
 
I pretty heavily rely on lodash; it lets you write really functional JS.
 
_ people
    .filter (p) -> p.age > 2
    .sort (p) -> p.lastName
 
yea I have no clue what Zirak is there
if one of you guys wants to patch it in and pull request, I can rebuild and stuff
:P
 
@AdamBarak do you have the word "adash" in your language?
 
@Luggage Haskell: sortBy (comparing lastName) $ filter ((>2).age) $ people
 
6:17 PM
Did anyone partake in the enjoyment of the recent icloud debacle?
 
@JanDvorak Yea, i love functional languages. coffeescript has the advantage of just being JS, though.
 
@ziGi Yes. It can be translated to English as "belonging to an island"
Island itself is "ada"
 
Javascript is just Javascript. Coffeescript is Javascript pretending to be Python.
 
You know what I mean, I think. My code exmaple was using underscore and will run (after transpiling) in the browser.
 
@AdamBarak really, cause in bulgarian we call people with the same name as ours "Adash" so for example if my name was Adam, I would call you adash instead of adam
 
6:18 PM
@JanDvorak what does that make Python? :P
 
I do understand.
 
oh shit, so I was reading an article about Pakistan and I found the other word you can use @SecondRikudo instead of terrorist :P
 
@SterlingArcher significant indentation
 
Militant!
that is all.
 
Ahaaaa
 
6:19 PM
haha militant :D
 
Nothing wrong with Python; but coffescript just takes the worst parts of it.
 
@SterlingArcher comprehensions
 
Obama
CIA
Change
FBI
bomb
 
@ziGi Well, in old Turkish it meant also "belonging to the same name" though Ataturk's linguistic reform campaign has changed many words
 
6:20 PM
@Retsam it didn't take the v2/v3 changelog
 
can I configure nginx such that if node isn't running on port:nnnn that it falls back and loads the index.html file?
 
user2620028
Well zigi is now flagged in the NSA computers on a search before fly list.
 
@JanDvorak Touché
 
Many words that came to Bulgarian from Turkish in the Ottoman era, before Ataturk made Turkey a secular state
 
@AaronSiciliano I have been flagged long time ago
@AdamBarak yes we have a lot of turkish words, I agree, my favorite is aylak
 
6:21 PM
anyone here good with illustrator? (I have a logo in html/css and I need a nice high res vector graphic of it so I can have pretty scaling)
 
:D
@rlemon guess who :)
 
hahahaha napiyor lan? aylak
xD
 
"what do you do man? nothing"
 
pretty interesting for those die hard VS users
 
6:22 PM
@ziGi be a doll and make this into an image jsfiddle.net/rlemon/5jz7p29x/7
 
@Retsam I consider coffeescript just an alternate syntax to JS. A syntax that happens to be very convenient in node where I have lots of anonymous functions. I dont' see it as really changing the way anything works.
 
so I can scale for 32*32 -> 512*512
 
@rlemon zoom in and printscreen?
 
@Loktar @rlemon we're in ES room today
 
@Luggage Yeah; and it's that syntax is the part of python that I really don't like.
 
6:23 PM
I know coffeescript is controversial. I happen to like it but like discussing the ups and downs as long as it's not a "my way is right" conversation.
 
@rlemon do you need it immediately cause I am at work
 
Python is, imo, a language with nice features but annoying syntax.
 
@JanDvorak but it gets pixlated
 
I will be home in 2 hours
if you can wait
 
Coffescript's scoping rules are bad
 
6:23 PM
windows + chrome doesn't do fonts well
@ziGi sure
 
cause I don't have it here
 
@Retsam Ahh, well, can't argue with that. I happen to like coffee's syntax. all preference.
I've converted a friend.
 
@rlemon vector, or raster fonts?
 
@JanDvorak Now there is an argument that sounds like not preference. Do go on.
 
uhh. yes
 
6:24 PM
@Luggage Are you from United Kingdom?
 
Nope. US. Baltimore.
 
arghhh ok :D
!!welcome superfloyd
 
@superfloyd Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Sorry to disappoint.
I speak fairly fluent British
 
I thought the luggage as something English. And your avatar doesn't deny that fact :P
 
6:25 PM
having multiline object literals with braces in Coffeescript is awkward at the very least, and the expected syntax doesn't work / produces unexpected results.
 
It's a character from a book written by a Brit. Terry Pratchett.
 
Well I imagine it's easy for you
hehehe I wasn't wrong about the character then. It bears that English touch on it
 
@Luggage haven't we been over this before. it's an old sad (drunk?) character from peanuts :P
 
hahaha man
 
Yes, old charlie brown.
 
6:28 PM
you are a 40 year old charlie brown. deal with it
 
It makes me laugh
 
But he was referring to my name, Luggage.
They are unrelated
 
Also the character
 
@Luggage Wow, you must hate your parents.
 
I thought it was in reference to Patty :P
 
6:29 PM
!!wiki patty
 
A patty, in American, Australian and New Zealand English, is a flattened, usually round, serving of ground meat or meat alternatives. The meat is compacted and shaped, cooked, and served. Patties can be eaten with a knife and a fork in dishes like Salisbury steak, but are typically served in a sort of sandwich called a "burger", or a hamburger if the patty is made from ground beef. The patty itself can also be called a burger, whether or not it is served in a sandwich, especially in the United Kingdom and Ireland, where the term "patty" is rarely used. Similar-shaped meat cakes not made from ground...
 
you know, Charlie being her luggage
 
dafuck
 
It's a mimic
 
6:29 PM
^ Patty
 
yeah she is it
 
@Luggage looks vaguely SMBCish
 
it is from SMBC
 
thought wikipedia would show it
 
My avatar. It's from SMBC
 
6:30 PM
...duh
which one? I couldn't find it
 
looking, one sec.
 
Do you guys eat Filet Americain in the States?
 
OH IT'S THE FRIGGIN' VOTEY
 
another good Charlie Brown related smbc: smbc-comics.com/?id=2454
 
do you know Snoopy? :P
I used to read it when I was a kid
 
6:32 PM
I've never read Charlie Brown. Well, I'm sure I have here and there, but never regularly.
 
meh.. I remember I did too here and there because it was a bit familiar to me when I saw it as your avatar
 
I grew up with the peanuts. Hell, I'm from the same city as Charles Schulz
 
that's just cool
I grew up with Peanut Butter :D
 
Peanuts = Charlie Brown, Snoopy, Lucy, Patty, Linus, etc
 
@NickDugger Yes yes I know them, I was kidding :-)
hey look; linus => linux;
ah yeah Linus Torvalds
 
6:37 PM
Peanuts = salty
 
@Loktar What's that? :P
 
oh I should have included it in the ping
militant
 
Torvalds is a jerk. A jerk who happened to start a popular kernal and make Git, which I love. But a jerk.
 
militant is a good word.
 
I agree with the fact he's a jerk
 
6:38 PM
@Luggage Huge jerk.
 
He boasts that Linux exists because of selfish developers, and being selfish is good
dafuck
 
He doesn't have a grasp on the reality of business.
 
So I've started reading Learn Python the Hard Way
 
Yeah
 
I'm about halfway through
 
6:39 PM
Can be, in that respect. I think he's a jerk becasue he'll jsut trash anythign that isn't his or his way
 
like his comments on SVNa nd anyone who uses svn.
 
All I've learned so far was how to freaking print
 
I haven't been impressed with Learn X the hard ways
didn't seem particularly hard
 
to be fair, I like using git far more than svn
 
6:40 PM
I noticed that too a few months ago
 
@NickDugger SVN sucks.
 
I'm glad we've all established we're superior to Linus freaking Torvalds.
 
@SomeKittensUx2666 He's a burglar at best :P
 
@SomeKittensUx2666 I never claimed to be more superior to him.
I'm surely nicer than him though.
Heck, even when I'm not nice I'm nicer than him.
 
I always though North Europeans were the most docile and gentle people. Someone must have raised an exception somewhere in the country in Linus Torvalds case
 
6:43 PM
Ohh, Git is (in my mind) far supieror to SVN.. but I just hate how Torvalds is so black and white and offensive about it.
SVN isn't the scourge of humanity, just not as powerful as git.
 
therefore Github
 
efbg mu l,l
'
 
@SomeKittensUx2666 He's still an extremely intelligent and capable person who happens to be an asshole :)
 
@SecondRikudo ahahahaha the cookie monster goes vegan
 
ntresting bajer gerl..
Intelligence is nothing without a little humanity
 
6:45 PM
 
Better dumb but human then :D
hahaha
 
how much is enough human to be considered humane?
 
I haven't seen the Hannibal television show. Is it good?
 
save dogs, eat c******
 
@Shmiddty quite!
 
6:47 PM
@ziGi Enough not to be an asshole :P
 
I am not a human then
 
I just started watching American Horror Story. It is much better than I was expecting
 
What's a 7 letter cuss word that starts with a c? O.o
 
Cosplay?
 
I only can think of the 4 letter one
 
6:47 PM
I never said that zigi.
You're an alien.
 
might be
is it normal to not have a feeling of envy or anger
or jealousy
 
@SterlingArcher Not really a kus word but some people might get offended by the full word
you know who eat dogs :D
Yes, that means you're evolved my friend.
 
I don't recall ever feeling them
 
nor boredom
 
6:49 PM
Come with me, I'll show you the world below us...
 
a lot of people think I am strange because I go alone to bars and caffees
 
this song is amazing
especially towards the end
 
We must be both strange then
 
@AdamBarak Adam you are really low, lower than a basement :D
 
@ziGi nothing wrong with that
 
6:49 PM
@AdamBarak do you know sufi
 
If I like that person I'll hang out with him/her (well not more because my gf is jealous), otherwise fuck it and I'm going alone :D
 
@AdamBarak which person?
 
nah I live in the basement
@ziGi The religion?
well any person
 
adam you are lower than dusuk mahalle :D
 
hahaha lol why so? xD
dushuk :P
 
6:52 PM
haha it is just a saying we invented with some friends that sounds funny
 
I'm tempted to downvote for using document.write()Sterling Archer 8 secs ago
 
ahhh ok it's like every Turkish words goes? :D
 
we have such places that mean "Low neighbourhood" and we say to each other that we are lower than low neighbourhood
it just sounds funny :D
 
yeah I can see that :P
 
so whenever we see a village that starts with "Low/Lower" then we say that
 
6:53 PM
Mmm mac n cheese snack
 
aaaah that's why you said dusuk :P
 
yes
 
niska grad!
:D
you're lower than niska grad!
:D
eto dobra grad haha
I mixed russian with bulgarian haha
@ziGi do you know @taco ?
 
hahahaha :D
quite good
@AdamBarak not really, who's he?
 
yeah I think so :P
 
6:57 PM
I am me.
 
well I thought he was bulgarian xD
 
Who are you?
 
taco?
 
yeah taco
 
are you bulgarian?
 
6:57 PM
Nope
 
ok
 
who was it then? O_o
I remember someone lol
 
We had an office in Sofia until recently though, cool guys
 
@taco where are you from then?
 
aaah okay taco I remember :P
 
6:58 PM
why isn't there an office anymore
 
Atlanta, Georgia, US
 
Atlantis
!!wiki atlantis
 
Atlantis (Ancient Greek: Ἀτλαντὶς νῆσος, "island of Atlas") is the name of a fictional island mentioned within an allegory on the hubris of nations in Plato's works Timaeus and Critias, where it represents the antagonist naval power that besieges "Ancient Athens", the pseudo-historic embodiment of Plato's ideal state (see The Republic). In the story, Athens was able to repel the Atlantean attack, unlike any other nation of the (western) known world, supposedly giving testament to the superiority of Plato's concept of a state. At the end of the story, Atlantis eventually falls out of favor with...
 
bbl
 
!!urban bbl
 
6:59 PM
@AdamBarak bbl Abbreviation of barrel, notably for oil.
@AdamBarak [Bbl](http://bbl.urbanup.com/18966) be back later
used in internet chatting.
 

« first day (1418 days earlier)      last day (3529 days later) »