« first day (1001 days earlier)      last day (3933 days later) » 

10:02 PM
bUMP
 
you interested in doing an online jam track ?
@Cygwinnian
 
Hey, could someone visit 70.66.146.121:5000? Or many people?
 
using chrome online jam?
 
no
 
lol, that's what I thought.
 
10:11 PM
you record your piece and send it as do other musicians then i merge them together as one track
do you have an email i can give you the details better
 
anyways I'm thinking of writing a book called "How to do common things in JavaScript without jQuery"
and yes @Dave
I'd love to
but currently im away from home
 
can you send me it ill give link to the details :)
ah when you home
 
at Yale
and I'm going to b staying here for a while sigh
 
and u neglect your guitar!
take it with you :P
 
How can you leave home without a guitar?!
 
10:19 PM
specially at uni it does help with pulling !
 
I'm so stressed here
I just work work work
and yes, I left home without it
but I did it to chase the American Dream
 
Yeah, the American dream died a long time ago
 
No it hasn't
 
Guitar is very good stress relief.
 
And I still believe in it
 
10:22 PM
Then you're a moron.
 
If you like guitar, play your fucking guitar
 
@Tom bold is fun aye!
 
I have no ability whatsoever. I'd like to, since an hour or so of total escapism focusing on something different that I can actually do would be really nice
 
Listen people
I like guitar
but I love chasing the American Dream much more
and currently it involves me acting like cout
I'm fucking overloaded
 
And I love riding unicorns.
 
10:25 PM
what sort of BS job is this where you're not considered to be some sort of wizard
 
And I love punching babies
 
What you don't understand is that being overloaded is the American dream.
 
which most decent programmers are
 
thought you put overweight
at first
 
That's just a consequence
 
10:25 PM
you ARE a wizard. And if your employer doesn't realise that, leave
get another one, there's a ton
 
no guitar - no wizardry
unless you have lightning scar
but that makes you unemployable
 
I think I would hire someone based on that alone
 
nah if harry potter taught me anything is was to not bother going to class and just trespass alot.
also running into station pillars is not as fun as it looks on the film
 
10:41 PM
hey guys
 
@ItachiUchiha 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.
 
/me awaits link drop
hey @ItachiUchiha
 
I have a question
 
Shocking.
 
lol @phenomnomnominal
 
10:43 PM
whats the best way to make three buttons which will toggle and what none to be pressed on page load
 
im a wizard i can predict your question is about javascript
CSS?
 
Maybe styled radio buttons?
 
jquery
or javascript
 
oh jeese
 
Oh, you want the jQuery room then
 
10:45 PM
yeh we only know Javascript
 
We don't know jquery. It's a really hard language.
 
What is jQuery @phenomnomnominal i've heard about it alot. i hear its popular
 
Yeah. It's like PHP
weird stuff
 
I don't know, I thought only jquery ninjas were allowed to use it?
 
@phenomnomnominal are you kidding me ??? jquery makes javascript work easy, you must try it someday
@phenomnomnominal believe me you will love it..
 
10:47 PM
I don't think I'm smart enough.
 
@JesperJacobsen 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.
 
@ItachiUchiha so i can draw in canvas with jQuery :O ? easier than without ? :O
 
Can somebody help me with selection li's with the arrowkeys? This effect jsfiddle.net/GSKpT ... I can just not get it to work :/
 
How do you add two numbers with jquery?
 
@JesperJacobsen ask @ItachiUchiha hes a jQuery wizard
 
10:50 PM
@Dave canvas are mainly made for html5
 
html5 doesn't use jquery or javascript :O ?
 
@Dave I do love his name too :P And i will thanks :)
 
@phenomnomnominal yes ofcourse
@Dave it does
 
@ItachiUchiha Hey guy with the beautiful name ^^ Can you help me with some jquery? more specefic, selecting li elements with the arrow keys, like here jsfiddle.net/GSKpT ? Because i can just not get it work :)
 
@JesperJacobsen what do you wanna achieve here ?
 
10:52 PM
@Itachi how do you do it??? I tried $('1').add($('1')); but it didn't work'
 
@phenomnomnominal noo thats too much javascript it needs less of that and more jquery
 
@phenomnomnominal you must go through the docs first. things doesnt work like this.
 
Not enough dollar signs.
 
@ItachiUchiha This jsfiddle.net/GSKpT my website to achieve it on is here japseyz.dk/Projects/Code (Seach for Razer)
 
$("here id is passed")
 
10:53 PM
@Itachi can you show me the docs for how to add two numbers in jquery?
 
its on w3schools
 
I tried googling but I couldn't find anything.
 
@JesperJacobsen Connect failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
 
oh, damm.. I just transfered it from localhost, forgot the mysql...
give me a second
 
Oh I think I've fit it! $(document.body).html(eval('1+1'));
 
10:56 PM
listen man..y do you wanna add two numbers using jquery ??

if you wanna do it

<button id="but">

<script>

$("but").onclick(function(){

alert("2+3="+(2+3));

});
this will give you the sum of 2+3 on the click of the button
 
But that's just JavaScript?
 
@phenomnomnominal 'this is another way
@phenomnomnominal do you know how ajax call works in javascriptt ?
 
Wait, are you telling me that jquery is just JavaScript??
No, I only know CoffeeScript
 
@ItachiUchiha Try now :)
 
`Wait, are you telling me that jquery is just JavaScript??`

Such a rediculous thing to think, clear such thoughts!
@ItachiUchiha should i use w3Schools to learn best?
 
10:59 PM
adding number in jQuery is sooooo easy :

$.fn.addNumbers = function(num) {
return this.get(0) + num;
}

var total = $(3).addNumbers(2);
 
@Dave yes, for initials, its best
5
@JesperJacobsen i still dont understand what do you want to achieve
 
have a star @ItachiUchiha
 
@itachi wow, I've never seen that site! I'm going to bookmark it! It's so accurate!
 
@ItachiUchiha jsfiddle.net/GSKpT This.. it selects the LI's when you press up and down arrow keys
 
@phenomnomnominal do you mean w3schools ?
@JesperJacobsen just gimme a moment
 
11:02 PM
Yes, thank you!
 
@Dave for ?
 
@ItachiUchiha okay thanks, even thought i have the code from the jsfiddle i cannot get it done >.<
 
for suggesting w3Schools :) its helpful so you get a star infact you have 3 see far right column
 
That site will help many noobs like me!
 
my brain can only comprehend this:

var i = 1;
var j = 2;
var answer = i + j;
alert(answer);
jquery is too hard for me
 
11:05 PM
Omg, how does that work without eval?
 
i'm voldemort.
eval is in my blooood
 
Plz teach me? You should work for w3 schools!
 
Heck yeh, Paul Irish would be jealous then!
@ItachiUchiha should i use node or jquery which is best?
 
PHP BEATS ALL
ITS LIKE JQUERY IS BUILT INTO IT!
 
@Dave both have their own advantage, but i prefer jquery.. you can easily catch up with the tags..
 
11:10 PM
@ItachiUchiha have you used node ?
 
@Cygwinnian PHP is a server side language, it has nothing to do with javascript or jquery
@Dave not much
 
@ItachiUchiha Node is also server side
 
not is isn't @Cygwinnian
 
@Simon 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.
 
@ItachiUchiha is expert
 
11:11 PM
@Cygwinnian node.js is a javascript library
 
wait so jquery != javascript but node == javascript?
 
@Dave M not :P
 
@phenomnomnominal did you know this and not inform me :O ?
 
@Dave NO, both node and jquery are javascript libraries, to make your life easy :)
 
WAIT
 
11:12 PM
UH
 
does that mean i can run node on the client side!
 
SLOW DOWN
Node is a jQuery library
 
omg the rabbit hole gets bigger!!!!
 
Don't thank me ;)
 
client goodness
 
11:14 PM
WAIT SO NODE IS GOOGLE CHROME!!!!
 
^
 
@Cygwinnian no..node is a js library which runs on server side
 
Wait.
 
yes, it is Chrome on the server side :)
 
Chrome is a jQuery library?
 
11:15 PM
omg! Google is taking over the world!
wait does that mean that v8 is written in JavaScript?
 
so using jquery in chrome is jquery on jquery like inception
 
MORE LIKE GQUERY
 
No, v8 runs JS
 
you can write javascript engines in javascript?
 
This is the best thing ever.
 
11:15 PM
omg!
 
this is blowing my marbles out of my pants - crazy stuff
 
lol..dont know where is the thing going :P
 
so android....
 
@Itachi, you don't know very much about JavaScript.
 
don't tell me...
 
11:16 PM
blasphemy!
 
@phenomnomnominal i do
 
Why didn't you tell me that it's just Java in the browser them?
 
^
 
javascript is basic
 
Capitalize
 
11:17 PM
visual basic ?
:O
 
I like BASIC
 
@phenomnomnominal listen dude java and javascript has no relation
 
@ItachiUchiha They do so
 
except the name :P
@minitech please enlighten me ..
 
Uh… they’re both programming languages‽
 
11:18 PM
@phenomnomnominal your outmatched dude
 
I want an outmatched dude!
 
@minitech lolzz..i pity you..
 
Whatever, I'm friends with John resig and he told me they are.
 
Jon Skeet told me Javascript is better than jQuery. @ItachiUchiha
 
@phenomnomnominal Can I have your autograph??
 
11:19 PM
@ItachiUchiha Could you figure it out? :)
 
@Dave which language are you prominent with C,C++ , JAVA, PHP ?
 
i use the well know programming language
HTML and CSS
 
Yep just run eval('phenomenonnominal');
 
Whitespace?
 
I only use brainfuck
 
11:20 PM
@phenomnomnominal I got an error??
Nevermind, works in PHP
 
not just any HTML though... HTML5.1
 
@Dave <main> FTW
 
@Dave those are languages that just use tags, no functions or other things can be used in them, HTML and CSS are used by designers, not programmers.
 
@Minitech You're not l33t enough then, sorry...
 
@ItachiUchiha javascript is basic? Do you know about closures, first class functions, continuations, or just the whole es5 standard which is very long?
 
11:21 PM
CSS has functions.... you set the name then the info in the curly braces... thats how you make functions too!
 
@irachi do you want to guess what I do for a living?
 
@ItachiUchiha Uhh! Conditional comments!
 
.function{
//css
}
 
No, CSS has classes. OOP.
 
@JesperJacobsen I still dont understand your problem
 
11:21 PM
It’s not functional. Sheesh.
 
Css3 is turing complete.
 
@Dave thats CSS3
:P
@phenomnomnominal i wud like to know
 
CSS is clearly functions just like node in chrome page source for their v8 engine made in html
 
@FlorianMargaine (Wait, really?)
 
@ItachiUchiha I want to navigate through the li's the seach generates with the arrowkeys... IE. if you seach razer 2 products come up, if you press down arrow it selects the first :)
 
11:22 PM
@florian read back a bit if you haven't yet. It's gold.
@minitech, yep game of life.
 
Oh, using :target or something?
 
@minitech yeah, google will answer you better than I about the why.
 
@ItachiUchiha what if i use C++ instead of jQuery?
 
I was thinking along the lines of “making a stylesheet halt”.
But that works too.
@Dave C++ is available as a jQuery plugin
 
@ItachiUchiha ohhh CSS3 uses functions ah im using CSS 1.0
 
11:24 PM
I want a JavaScript to CSS compiler.
 
no wonder it won't work for me
 
@Dave you cant..and i cant make you understand y..
 
i can't use C++ in a browser?
 
@JesperJacobsen now i got yur problem.. the jsfiddle works correct..ri8?
 
@phenomnomnominal Build one, in CSS.
 
11:24 PM
Node is a js library? REALLY?
 
@ItachiUchiha yes, but i cannot convert it over to my site, and it bugs me :P
 
for chrome client side @FlorianMargaine obviously
you know nothing evidently :P
 
@FlorianMargaine We have established that it is a Chrome jQuery library
 
@Dave you can use C++ in the browser.
 
this room has long needed some one who knows their stuff. thanks for joining us @ItachiUchiha
 
11:25 PM
@Dave i cant make you understand... betta read.. stackoverflow.com/questions/8003670/running-c-in-browser
 
@FlorianMargaine no you can't @ItachiUchiha said so
 
Like I said, @Dave, C++ is available as a jQuery plugin.
 
ah ^ ill check that out @minitech on w3Schools
 
Please stop hurting my brain
 
what are you people talking about ...
 
11:27 PM
the truth hurts doesn't it @FlorianMargaine
 
Oh hey, somebody actually mentioned Emscripten. At the very bottom. I was wondering when that would come up.
 
I'm leaving.
 
@Florian, isn't it amazing?!
 
@ItachiUchiha theres c++ plugin for jquery thats what we're talking about
 
11:27 PM
guess you don't know as much about jquery as you first thought :D
 
I'm leaving and will be back when the room will be saner.
 
@Dave Flagging this
@FlorianMargaine If you’d like sanity restored, that could happen.
 
Someone should flag the last hour...
 
sanity is restored once some one uncovers wtf has been happening for the last hour
 
@Dave you're not really being fun anymore. You weren't to begin with tbh...
 
11:29 PM
Oh, c’mon, just move all the messages and get it over with.
 
oh so its all my doing >.>
 
Bookmark them please.
 
typical. clearly ain't read the last hour. @FlorianMargaine
 
Nah don't delete them
It was 90% me
 
@Dave no. Just saying you're not funny is all
 
11:29 PM
im not here to entertain you.
 
You have nothing to do here then.
 
but i guess no one was funny. but i found it all quite amusing.
 
@Itachi, I'm really sorry.
 
Itachi was funny.
And actually entertaining.
 
without the setup how would he be funny.
 
11:31 PM
It was actually all just very frightening to watch.
 
lols
 
Dangerous... I hope no one read it and believed it!
 
doesnt that rule apply to most of this room :P
don't believe everything in here
@ItachiUchiha have you worked it out now?
 
@ItachiUchiha I can give you the link to my site so you can see the coding behind :)
 
@Jesper, he may not be the most reliable source of help.
 
11:34 PM
ohh found the ignore feature didn't know we had one
 
@phenomnomnominal Why? And could you maybe help then? :P
 
@JesperJacobsen the last hour should of given you some clues
 
I'm on mobile, not much help
 
@Dave yeah maybe :P
@phenomnomnominal Oh, okay ^^
 
What was it that you needed help with? I think it was lost in a flood.
 
11:36 PM
selecting elements using the arrow keys
i think
 
Yes.. this really jsfiddle.net/GSKpT ... I just can't get it to work on my own site :/
 
@JesperJacobsen Does your own site have a live page available for looking?
 
jsfiddle.net/GSKpT/117 works fine for me here @JesperJacobsen
you have to click in the input box first
 
> [16:38:49.571] TypeError: "input#search".blur is not a function @ japseyz.dk/Projects/Code/scripts/script.js:4
 
11:39 PM
because you have it assigned to the element not the document
 
("input#search").blur(function(){
should be
 
@Dave The jsfiddle works fine, it's my site that does not work
 
$("input#search").blur(function(){
 
oh
 
Or better
$('#search').blur(function() {
 
11:40 PM
okay changed. but still nothing :(
 
Or better, $('#search').on('blur', function () {
 
Okay, I have changed it to that, but it does not really change anything :P
 
Next part is to debug, using a bit of console.log.
 
Get you debugger; statements on
 
Also, you should use e.preventDefault() when you’ve handled up and down.
Otherwise the cursor ends up at the beginning and end of the textbox each time, depending on your OS/browser/stuff.
Set a breakpoint on line 39
 
11:43 PM
I am not that good at jquery yet, this is just the code from the fiddle, which i will then examine when it works :)
 
And we find… $current is of length 0!
Another good reason to never use jQuery, but I digress.
 
hah, yeah but javascript is hard xD
 
So you’re finding the not-working jQuery easier right now? :|
 
have you learnt javascript before jquery library @JesperJacobsen
 
nope, but with javascript i would get a headache by just lloking :P
 
11:46 PM
its not that bad dude
 
No, i have not.. I've learnt a tiny bit
 
you really should learn the language before the library @JesperJacobsen
 
like getElementById is the only javascript i can do :P
 
What’s this‽ $listItems also has a length of 0!
 
How did you interrobang!
 
11:47 PM
Compose key!
Oh, @JesperJacobsen — you’re loading the autocomplete elements with Ajax?
 
That’d be it, then… they don’t exist after ready.
 
oh, didn't think it was important T.T
 
So select $('li') inside your handler, I guess.
 
11:48 PM
It’s really important.
You should probably also make that selector more specific :)
 
It kinda works.. by being selected for like a mili second now xD
I think it's interfearing with line 57 of custom.js
 
Sounds like you need delegation
 
Care to explain what that is? As said i am not very good yet :/
 
Google jquery event delegation
 
Or just Google “event delegation”. Results not involving jQuery tend to be both clearer and more accurate.
 
11:53 PM
Yeah, this is true
 
or use SO search
equally as good these days as google
 
I am not sure i get it.. I will have to translate delegate to my own language first i think
 
@phenom bronichiwa
 
That's not a word
 
well, I am not getting this to work alone xD
The on(keyup) sets the timer, but how do i prevent that if it is up or down arrowkey which is pressed?
 
11:57 PM
Check the key code
 
AWESOME, WORKS... almost, now i need to actually have it so it counts as hover over, and enter clicks on the link xD
 

« first day (1001 days earlier)      last day (3933 days later) »