« first day (1432 days earlier)      last day (3517 days later) » 

7:00 PM
Oh, another possible solution to the array vs. htmlCollection: just use lodash. (I mean, maybe defeats the purpose of trying to learn pure javascript a little, but in terms of practical solutions, that's mine)
 
Worlds biggest airforce, and they choose air route to attack
 
@Loktar I don't think even ISIS is seriously considering it.
 
they would perish in a microsecond. [god damnit that typo]
 
they would perish in an apple
 
@AbhishekHingnikar I was super confused.
 
7:01 PM
@AbhishekHingnikar if anything they would sneak in via our unsecured borders
 
@Retsam yes sorry I worded that bad
it has to traverse the chain. more in it makes it slower ;)
 
@rlemon Ah, I suppose that makes sense. Though we've got to be talking microseconds
 
ohh yea, very very micro
 
@Loktar I can put $1000 on the fact that state police in USA can handle those idiots
[s.w.a.t am looking at you]
 
@AbhishekHingnikar Yeah, and if Ferguson is anything to go by, the state police might be better armed than our military, anyways...
 
7:07 PM
Guys, please try and hit svcs.ebay.com/services/search/FindingService/… and tell me what you see
 
@Retsam idk about that... but afaik your swat tops more than half the militaries in the world
 
@SecondRikudo This webpage is not available
 
@Loktar Why?
What's the reason it gives you?
 
@SecondRikudo you work at Ebay ?
 
none at all
 
7:09 PM
might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_INVALID_RESPONSE
 
But, yeah, people shouldn't take the "ISIS is going to invade" thing too seriously. In reality, it's probably just a part of what seems to be ISIS strategy so far: "get the U.S. to intervene".
 
@AbhishekHingnikar Hardly
 
I can't even hit svcs.ebay.com
 
@SecondRikudo do you work for ebay ?
 
@AbhishekHingnikar Hardly
 
7:11 PM
lol
 
@SecondRikudo works for Initech
 
@rlemon i am almost done with your AhhPics you still gonna pay $200
> Eminem is suing the National Party in New Zealand for using “Lose Yourself” without permission
 
@NickDugger they are on the quest to turn all out-ies into in-ies iirc.
 
They're calling it the Bellybutton Campaign
 
Please tell me you know what Initech is
 
7:16 PM
:( I had to google it.. they are the lead producers of TPS reports
haven't watched the movie in a while
 
@Loktar So is McDonalds
 
hah
 
I used to not get bellybutton lint :/
 
@AbhishekHingnikar yup
but then I get to be picky ;)
 
7:19 PM
> I DONT LIKE THIS! FIX IT!
which reminds me, I'm sitting on a months worth of pay cheques
I should cash those
 
one month?
noob
 
@rlemon yeap cause i involved my intern init :D
 
@Zirak That's ... disgusting
 
sorry we don't all live in our parents attics ;)
 
and she rocked it [better designer then me]
 
7:21 PM
:D
 
you guys dont have direct deposit?
 
nope
 
too expensive for just me
 
not enough employees for them to take the cost
direct has an overhead cost
 
ditto
#startupproblems
 
7:22 PM
How can they ruin Pizza like that
 
Weird, I was talking about Heavens Gate just last night in here: gizmodo.com/…
The web developers for Heaven's Gate. Gotta say they did pretty good for 1996 web.archive.org/web/19970128184621/http://www.highersource.com
 
creepy
 
hah they even got on the vrml train
 
Netscape 3.0
nice
 
I remember messing with VRML in early HS for a bit
 
7:26 PM
 
worst I got into was early WML pages
got that was horrible
 
lol @ the red card
 
spinning spinning spinning
 
I didn't mind Netscapes animated icon at all
 
subtle
 
7:27 PM
It was better than IE's "Website found. Waiting for reply..." in the status bar at the bottom
 
dino stories in here
 
@d.h. 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.
 
> Break was over 15 minutes ago... BITCH!
 
Look at this fine design that company did for a moving company in 1996 (oops, 2002):
 
7:29 PM
> The pain train's coming...
 
AWWWWWWWWWWWWWWWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
haha
 
@mikedidthis this is hilarious
The guy crying behind the recycling bin hurt me so bad
> YOU KNOW YOU NEED A COVERSHEET, ON YOUR TPS REPORTS, RICHARD, THAT AINT NEW BABY!
Hey Terry!
Hay Janice! *:back to Richard:*
MOTHAFUCKER!
Hahahahahahaha xD
Oh my god how did I not see this back in 2003
 
tight jeans + awkwardly shifted === bagged myself :(
 
.. Oh yeah.. I was 12.
@rlemon that's the price we pay man.
 
7:39 PM
> Like many children, Terry was born
 
@SterlingArcher you've never seen Office Space before?
Oh wait, we're talking about some obscure commercial
 
okay. Dumb question here. I'm in angular, and have a string like Theory of Computing from the database, and want to somehow make it into a url safe string like theory_of_computing and have it work across multiple files... how would this be best accomplished?
 
@SterlingArcher so much gold. I love the recycling one and when they get a new office line backer.
 
string.replace(/ /g,'_')
 
@corvid encodeURIComponent?
 
7:44 PM
!!> var str = 'Theory of Computing'.toLowerCase().replace(/ /g, '_'); str;
 
@rlemon "theory_of_computing"
 
@KendallFrey wouldn't that %20 it?
!!> encodeURIComponent('Theory of Computing')
 
Yeah, that's "url safe"
 
@rlemon "Theory%20of%20Computing"
 
> Ha! Ha! Devastating.
 
7:45 PM
I imagine he's making slugs
but yea
 
> YOU CANT WALK AWAY FROM A K22 PAPER JAM! YOU MUST BE OUTA YOUR MIND, SON! THIS IS MY WORLD DONNY, YOU JUST WORK HERE BABY!
So much gold XD
 
looks like our c brother and sisters are not interested in updating websites
x_O
 
@SterlingArcher so so so good. I must watch them again soon.
 
user1596138
Couchbase+node help please?
 
The "Hay Janice" part got me the worst lol
@Jhawins I don't know couch, but I node a bit
 
user1596138
7:51 PM
@SterlingArcher just a couch problem
 
user1596138
:P
 
user1596138
The documentation... Doesn't exist?
 
You're a towel
 
@Jhawins yes couchdb has excellent documentation
that ships with the tool
 
user1596138
@AbhishekHingnikar Prove it. Show me the increment functions documentation
 
7:52 PM
@Jhawins i will have to install couchdb
 
user1596138
Oh, then instruct me?
 
user1596138
Not couchdb
 
oh you mean couchbase ?
 
I've looked into couchDB, it looked interesting; anyone experienced to say whether or not it's any good?
 
user1596138
Yea
 
user1596138
7:53 PM
tbh I installed couchdb on accident first
 
@Retsam its great.
 
I'm using mongoDB for an app
 
Huh; why do we have two different database tools with the word "couch" in their name?
 
user1596138
@Retsam It's impossible to google for help
 
@Jhawins your Google Fu is weak
 
7:54 PM
I really enjoy the band "Live" -- try googling for them :P
 
It's not like the database field is so flooded that we should be having that sort of collision...
 
fucking hell man. I DONT WANT LIVE PERFORMANCE! I WANT THE BAND!
 
user1596138
@taco you don't even know what the prob is... And I haven't asked a question here in a very long time.
 
user1596138
lol
 
@Jhawins your google-fu is still weak
 
7:55 PM
My least favorite googling experience is when I was using the CLIPS language for a college course.
 
^
 
user1596138
This is getting me no where...
 
does not compare to my bing-style.
 
user1596138
lol
 
user1596138
I just need docs
 
user1596138
7:55 PM
There are tons of broken links
 
user1596138
Oh yeah!!
 
user1596138
But not for couchbase...
 
user1596138
The node module really should have some docs
 
(And, no, I don't mean CLISP; but Google and my fingers both seemed to think that I did)
 
user1596138
The problem is that I don't understand. I want to understand, but I can't find anything worthwhile for the current module
 
user1596138
@AbhishekHingnikar Old.
 
dat documentation
 
couchbase -couchdb +documentation filetype:pdf
 
user1596138
Outdated
 
user1596138
@taco Just as outdated.
 
user1596138
2.X bitches.
 
Guys promise question
 
Well then, good luck, young grasshopper
 
user1596138
7:58 PM
See my problem
 
ids is an array of string IDs
 
user1596138
!!afk smoke
 
return ids.map(function (itemId) {
    return ebay.findItemDetailsAsync(itemId, apiKeys['ebay']['production']);
});
 
!!afk clouds
 
@SecondRikudo do you work for ebay
... incoming hardly
 
7:59 PM
ebay.findItemDetails is as followed (before promisify)
@AbhishekHingnikar No, I do not work for eBay.
 
so. On an angular router, can you have a controller for everything under a specific url? Eg, if there's /course/create, /course/edit, /course/submit, should one controller handle all of that, or multiple?
 
I hate the stupid eBay API with all my being
Almost as much as I hate internet explorer.
Does that answer your question?
 
yeah i had my gun ready to shoot you, if u did
 
findItemDetails = function(itemId, apiKey, callback) {
    var params = {
        'OPERATION-NAME': 'GetItem',
        'SECURITY-APPNAME': apiKey,
    };
    var uri = endPoint + '?' + qs.encode(params) + '&REST-PAYLOAD&ItemID=' + itemId;
    console.log("Asking for item ID %s", itemId);
    makeAPICall(uri, callback);
},
 
8:00 PM
I think he needs node.js module docs
 
@SecondRikudo Do you have to write unit tests against the API because the documentation is wrong 50% of the time?
 
@SomeKittensUx2666 I write unit tests against mocks
 
Does Ebay have an official API?
 
But my situation testing has to be constantly changed because the documentation is wrong 75% of the time.
 
8:01 PM
Geez guys, let him finish asking his question
 
I thought they were all unofficial and based on scraping
 
@Loktar Yes, and it sucks.
 
Now
I get the following output in my terminal
 
His question is going to be spread across like 100 chat messages at this rate.
 
8:01 PM
@SecondRikudo Not quite my point. I had to write unit tests against the API (before writing any of my own code) because the docs were wrong 50% of the time (and the examples had syntax errors.
 
you see that <XML>
 
@Retsam don't worry we all can read.
 
[ '281434996515',
  '271598678038',
  '271598691733',
  '271582264240',
  '271585872963',
  '281418483677',
  '271582263478',
  '271598691252',
  '281418489829',
  '281418486713' ]
Asking for item ID 281434996515
Asking for item ID 271598678038
Asking for item ID 271598691733
Asking for item ID 271582264240
Asking for item ID 271585872963
Asking for item ID 281418483677
Asking for item ID 271582263478
Asking for item ID 271598691252
Asking for item ID 281418489829
Asking for item ID 281418486713
 
so I had to figure out how to use said API (what to give it, and what was expected)
 
That first array is ids, the others are obviously the console.log() from within getItemDetails
.all(function (items) {
    console.log(items);
    console.log("Done!!");
})
.catch(function (err) {
    console.error(err);
    process.exit(1);
});
Neither of these is getting fired.
 
user1596138
8:03 PM
Well fuck couchbase lol. What else should I use? Am new to node.
 
Node works well with mysql tbh
 
user1596138
Yeah but ehh I can do Lysol already just fine
 
@Jhawins Go Mongo
 
user1596138
And I wanna do a NoSQL
 
8:03 PM
It's fun
 
user1596138
@second Idk if I wanna use what you use seems like it's broken every hour ;P
 
node-webkit with embedded mongodb
 
user1596138
Hahaha
 
8:04 PM
@NickDugger na-uh
 
@Jhawins What I use gets broken due to broken APIs
 
node-webkit + apache-couch , love done right
 
My Mongo database works like clockwork.
 
user1596138
Maybe I'll just stop coding for today.
 
@AbhishekHingnikar I know nothing about couch (even though I have it installed on my laptop) -- does it work as an embedded db?
 
8:05 PM
@Jhawins go out in the sun, have fun
 
user1596138
Ehh
 
user1596138
I'm out in the sun a lot
 
user2620028
That moth has very good english skills :D
 
@AbhishekHingnikar that's more complicated than getting an embedded mongodb to work in node-webkit (I think)
 
8:07 PM
So anyone about the promise question?
 
@NickDugger have u seen pouchdb though :3 ?
 
user1596138
I'm not looking for the simple solution... I'm just trying to learn
 
Where the hell is Benji when you need him?
 
pouchdb.com syncs with couchdb
 
Probably crashing coding something in swift
 
8:08 PM
@NickDugger now beat that :P mongo
 
user1596138
So the easier way is the bad way to me in most cases today lol
 
@AbhishekHingnikar dogedb.com
 
user1596138
Shortcuts at least.
 
@AbhishekHingnikar so... pouch is a database, or it simply syncs with couch?
 
Admit it, you had your hopes up for a moment there :D
 
8:09 PM
@NickDugger afaik its a pure js db that works inside a browser
 
@NickDugger It works well with douch(e)
 
iirc it uses IndexedDB under the curtains or something similar
 
user2620028
just remembered i have to do the assignment #2 for my crappy web dev class
 
I withdrew from a web dev class because they spent a week teaching us how to use email.
 
@NickDugger ....?
If it's that easy, stay in for the credits
 
So just edit the snippet out
 
@Cerbrus hi bestie
 
@SomeKittensUx2666 nah, I'm a drop out now, but have a great career-track job, so I don't even care anymore lol
 
Hides ;-)
:P
Also, Damn that beep is loud on this PC (The @name beep)
 
@NickDugger uhhuh.
 
user1596138
8:22 PM
Oh I figured out my problem
 
user1596138
Oops hahaha
 
@SomeKittensUx2666 that uhhuh sounds awefully condemning lol
 
You seem to have your period key confused with the lol key
@NickDugger and why is that?
 
It gets stuck sometimes lol
there it goes again
 
buh, why is angular so confusing of a framework?
 
8:34 PM
Angular confusing? How so?
Sure, it has a bit of a steep curve
 
> Angular confusing? Sure, it's confusing
 
[knockout.js fanboyism here]
 
I don't like either, but I've also never used either, or even ever tried using either for that matter.
 
Guys: assuming: <form id="myForm" name="myForm">...: use var form = document.getElementById('myForm') or just myForm?
 
myForm is undefined
 
8:40 PM
@Retsam Ew, Knockout.js is like the 7th grader who keeps trying to hang out with the seniors so he can be cool too.
 
Eeh, I mean document.myForm
derp
 
@SomeKittensUx2666 Ouch.
 
document.myForm is undefined
 
wut
 
@Cerbrus I've never felt comfortable relying on the automagic of ids
 
8:42 PM
But seriously, I'm surprised that the same people who decry jQuery for being bloated are so quick to say "look how great Angular 'everything-but-the-kitchen-sink' JS is!"
 
@SomeKittensUx2666: That's my opinion, too
Not necessary, by giving the form a name it is attached to the documentelzi 13 mins ago
Some people disagree, though
 
forms are a bit different, though
 
@Retsam I don't see how those two compare.
 
oh wait... we're talking about forms
maybe I should pay attention
 
'Bloat' means it's big for the usefulness it delivers
 
8:43 PM
Eh, yea, hence the "assuming: <form id="myForm" name="myForm">" :P
 
A huge portion of jQuery is selectors, which means 142KB of minified code to replace $ = document.querySelectorAll.bind(document);
 
Angular is only 30-isk KB more than jQuery (When minified)
For the functionality it provides...
Damn
 
user2620028
is the preference of this chat against jquery entirely due to the performance repercussions of using jquery over javascript?
 
@SomeKittensUx2666 I mean, that's part of it, but isn't it better generally to have single use tools, than a single giant Swiss Army Flamethrower, no matter how functional it might be?
 
Well vanilla js is only 25 bytes, when gzipped
 
8:46 PM
@AaronSiciliano: It's because jQuery allows junk like $(this).attr('id')
 
@Retsam That's one philosophy
 
It's like using a wheelchair when you can walk perfectly fine
 
And jQuery promotes lazy programming
 
user2620028
@Meredith while drinking i have done that for fun :/
 
@Cerbrus I wouldn't go that far, but I'd say jQuery is strongly associated with lazy programming.
 
8:47 PM
ive used jquery for fun while drinking
 
I've started drinking while using jQuery.
 
Semantics ;)
 
Speaking of wheelchairs
 
I've used drinking for fun while jQuery-ing
 
I've started drinking, period.
 
8:47 PM
whats worse
 
phrasing
 
jquery or php
 
Caption: "When ya girl comes to your basketball game"
 
More like using a wheelchair when you have no legs
 
@Cerbrus nice edit :p
 
8:48 PM
Yea
That's... Much better >.<
 
@SomeKittensUx2666 People who say "knockout isn't as good as angular" I don't think necessarily get that. Knockout is a single-purpose tool, while Angular is a swiss army flamethrower.
 
user2620028
But it also can make it more readable and maintainable code. (not saying it always is the case)
 
Angular translate is goddamn awesome though
 
@Retsam I don't see KO as a single-purpose tool though.
 
And angular allows true separation of code & content
Knockout... Kinda, but not quite
 
user2620028
8:49 PM
you guys keep using the name angular and i don't know what it's meant to even do. I should probably go start learning it lol
 
Angular code / html just looks so neat and clean.
Yea, I'm totally fanboying now
@AaronSiciliano: give it a look, it's pretty neat
 
ew... so much ng-this and ng-that
 
user2620028
I am pretty sure i have read into it before and hated it.
 
@SomeKittensUx2666 It's a tool for doing dynamic data binding. What more is there too it? It's certainly more single use than Angular "I also come with a router" JS.
 
8:51 PM
@NickDugger: Knockout's going all ko-this, right?
 
I dunno, I don't use either
 
@Retsam Not to be pedantic, but ui-router now is separate from the main project.
Though your overall point is valid
 
@Cerbrus Nah, up until the newest version knockout just uses data-bind="this: , that: inside of HTML elements to bind to templates.
 
Hm, Knockout uses data-bind
It's been a while
@Retsam: Yea, I just looked it up :P
 
The most recent version 3.2 added full web component support. (Which slightly undermines the "single-use" bit, but you could argue that web components are an extension of doing data binding)
 
8:54 PM
0
Q: iOS 8.0 breaks async keyword for external JavaScripts

KalleLoading external JavaScripts with the "async" keyword is not working correctly in iOS 8.0 (The keyword "defer" seems to work correct.) Do any one else see this problem with "async" on iOS 8.0?

anybody tested ios8 yet?
 
I was about to that
 
So far my mobile works fine but I don't safari enough
@Cerbrus if they can provide an example it may be a good question
 
I can always retract the vote :P
 
I safari too much. I think I've opened it two or three times in the past month.
 
touche :P
 
user2620028
8:57 PM
so far from what i am reading, angular looks a lot like knockout
 
It is, but better ;-)
 
user2620028
In what ways are angular better than knockout?
 
</fanboy>
 

« first day (1432 days earlier)      last day (3517 days later) »