« first day (942 days earlier)      last day (4231 days later) » 

17:00
@Zirak When I copy and paste that into my text editor, there are non-printable characters mixed into 'arguments'
N++ usually shows me fancy non-printable characters.
@FizzyTea Blame yourself
@Zirak Wasn't me. Pasted straight from Vim. Maybe it was SO then.
@Zirak You know, the plural of penis is penis.
user1596138
@ShotgunNinja Did you use a fiddle?
user1596138
17:01
@ShotgunNinja If so can you send me it and I'll just check? This happens to so many people. Used to happen to me.
In Latin at least.
@OctavianDamiean It's penes!
Also, I just successfully built Firefox! :D
!!> JavaScript: $0:''?'//:\'':/*/*~function($x$,$y$){+/\+/,function(){}.call.apply(alert,argume‌​nts[['0']])}([,"Hello world!"]);
@BillyMathews As well as it is penis.
17:02
@FizzyTea "SyntaxError: unterminated comment"
Shrug.
@OctavianDamiean it's penes or penises if you're American. Penis is singular, not plural. dictionary.reference.com/browse/penis
1 min ago, by Octavian Damiean
In Latin at least.
@OctavianDamiean Ahh, sorry I didn't see :)
But penes is also valid in Latin.
17:04
200b and 200c: zero width space, and non-joiner.
I've built a lot of stuff from source but building Firefox from source kinda makes me feel bauce, I don't know why. :D
they talking about JS atm
so I thought I drop it in here
@Gordon Cheers!
It works if you copy and paste from the starred item into your console, rather than from the chat.
user1596138
17:08
!!> JavaScript: $0:''?'\//:\'':/*/*~function($x$,$y$){+/\+/,function(){}.call.apply(alert,argume‌​‌​nts[['0']])}([,"Hello world!"]);
@JosiahSouth "SyntaxError: unterminated comment"
Not into the bot!
Into your console!
user1596138
@FizzyTea Look at this fiddle. jsfiddle.net/seh8X
Yeah.
user1596138
Let me get a screenshot of this.... Hold on.
17:10
A Flash-Player? booo, google, booo
Damn, I'd like to be there now.
I mean at the Google I/O
user1596138
@FizzyTea This is the actual content. i39.tinypic.com/2driees.png
user1596138
!!> JavaScript: $0:''?'//:\'':/*/*~function($x$,$y$){+/\+/,function(){}.call.apply(alert,argumen‌​ts[['0']])}([,"Hello world!"]);
@JosiahSouth "SyntaxError: unterminated comment"
Hi guys
17:12
Hey
Okay, stop it now. Sorry I said anything.
yo this toolkit looks fun
I have a problem
with js synthax and can't look
user1596138
Still messed up. But at least now you know that's in there. Unless chatbot is adding it.
on the stackoverflow since I have little time and bug is small
now
I use search method to look for this kind of keyword
user1596138
17:13
@FizzyTea Alright then.....
var keyword="word)";
but I get this error message
Nah, it think it's SO.
unmatched ) in regular expression
user1596138
@IceD Just type it all into one message.
user1596138
@IceD That's annoying as shit.
17:14
it's simple i just did :)
ok let me try again
user1596138
@FizzyTea SO adds two of the zero-space characters. Your code had 4.
I look for a keyword in text. This is the keyword
var keyword="word)";

but I get this error.
unmatched ) in regular expression
@JosiahSouth It's different in different messages.
I tried this example here too.

var keyword="word\)";

var keyword_test=text.search(new RegExp(keyword));
and it didn't work
user1596138
@FizzyTea It's all 200c or 200b though.
17:16
Even though it is lagging, it is very impressive.
Yeah, thanks but I already said. It must have scrolled past when you weren't looking.
user1596138
@IceD You don't want my help. Regex is the devil to me.
arh this is simple :\
I have to use this to search to get the keyword in text
Let's go back to talking about peni.
but the keyword has ) in it
17:17
Yes, it is simple. You need to do \\)
user1596138
@FizzyTea Nope. I saw it. I'm just going to drop this, because you seem to be getting perturbed over the fact
double ??? Since when? :\
let me try then
user1596138
See... sometimes I start a sentence and hope it'll just sort of finish itself.
Look, thanks, and not really. It just seems to be one of those convos that isn't going anywhere useful.
I have some trouble with this jsfiddle.net/Joseph82/npFfQ/3 some one can help me ? :(
17:21
Fuck me! Everyone gets a notebook at the I/O!
@IceD Because your first attempt actually generated the string "word)"
user1596138
Haha. Works for me.
@KendallFrey yeah you are right. I thought just like with with some other cases only single \ would work. Thank you.
Why jealous?
17:22
I WANT ONE TOO!
Not like I'd really need it but still. :P
Isn't that kinda expensive for the hardware though?
I have way too many gadgets and devices anyway.
user1596138
@OctavianDamiean That's ridiculously expensive.... I'd just buy a system76 for that price.
@JosiahSouth Yea but they get it for free at the Google I/O, each and everyone!
That's why I'm jealous.
user1596138
If you haven't seen this, you should. system76.com/laptops/model/bonx6
17:24
@mikedidthis £1,050 is quite a lot, but I'll bet it's worth it
user1596138
@BillyMathews Look at the specs.....
It is worth it.
user1596138
@BillyMathews In what universe is that a reasonable price.
Look at the display specs.
17:25
Computer specs don't mean very much to me.. :/
JACKPOT: Just got an egg with two egg yolk inside!
@OctavianDamiean dude, have you ever tried designing on a hdpi screen before? its fucking useless.
I've had the same laptop for about 5 years now. and 5 years ago, I was 12.
user1596138
@OctavianDamiean I guess to some people that's worth the money. To me I'm fine with an average display. I mean, really, I know it isn't real. When things like this look that crisp it just hurts my head.
@dievardump everything's coming up milhouse!
17:25
@mikedidthis While that might be true, everything looks awesome. :D
Display specs are the least of my worries anyway
@dievardump You just ate twins.
canary die for anyone else after today's update?
when people say stuff like "PS3 has better graphics than Xbox 360" I'm like bro.. you actually can't tell the difference
user1596138
Graphics I definitely care about. Not so much the insane nit-picky details, but it better run damn smooth!
user1596138
17:27
Although it does look very nice. I'm still creaming over the Bonobo system76.com/laptops/model/bonx6
Guys, I know you are having a nice conversation, about pc purchase xD but someone can be so kind to take a look at this: jsfiddle.net/Joseph82/npFfQ/5 :D please!
donottouch.org (some nudity)
user1596138
Just look at some of the specs on that... Plus, it's not small enough to cut your finger off like a macbook air. I like some beef to the things I buy. That's why I have a truck... That's why I bought an iPad which is insanely slim and put a case on it that made it 3X as thick.
@JosiahSouth sorry bro, but its fugly.
@JosiahSouth Yea, no. I don't like such mobile workstations. I mean I love System 76 because of Ubuntu but a notebook has to be portable for me.
17:29
this channel needs more "bro"
_dudebro_modeengaged
You want a fucking amazing, portable and powerful notebook? Get a Samsung Series 9.
If you don't pay attention you can cut yourself with that thing.
@ShotgunNinja you're so jealous man, don't be like that, it will happen to you one day, Never gonna give up
You're welcome, by the way. :P
17:30
Team-based multiplayer: "bro-op"
@rlemon old
user1596138
@OctavianDamiean It's definitely portable...
(still love you though)
so is your face!
user1596138
17:30
To each they're own.
user1596138
@Joseph82 Hmm....
@JosiahSouth their*
I just remembered how someone explained what IRC is. "It's like Notepad but multiplayer."
4
:D
I want edit privileges on chat
@dievardump My gf got one last night as well.
17:31
lol
So I can correct typos and the like
user1596138
@AmaanCheval :(
my portable device ^
ahahah
@rlemon What's that?
17:32
it's called a ruler.
ancient, arcane artifacts
@dievardump Never gonna give, never gonna give ~♪
don't look directly at them
very cheap device
but I never lose power
17:32
they're infused with a great and terrible evil
@rlemon I won't show you my portable device.
@rlemon Solar powered?
user1596138
@Joseph82 I feel like that's ridiculously over-complicated if all you need to do is alert the ID of the anchor clicked.
@AmaanCheval powered by imagination
@AmaanCheval they're meat-powered
17:33
user image
2
@AmaanCheval holy crap, i'm sooo addicted to this one right now -> listenonrepeat.com/watch/?v=ssg0LaOK_kw
@rlemon eeewwww, I'm sure I will have bad dreams of this guy
@GNi33 Holy shit, I have the exact same tab open right now
@JosiahSouth ahah you are right, but that is not my final intent.
17:34
He is just like...
OMG STOP
@AmaanCheval :D
Didn't you post that song earlier?
yeah, i think
user1596138
@Joseph82 True. Try using a boolean to reset idAct the second time the function is run?
@JosiahSouth uhm ok...
17:36
CoffeeScript functions chain really nicely
user1596138
@Joseph82 That's just my first thought.
eheh ok
If half of all the sharing made on G+ is done to private circles, how comes Google knows? :D
Can I from jquery cancel all previous actions associated to an event?
@GNi33 I still enjoy Clairvoyant more, though
user1596138
17:37
@Joseph82 Nevermind. That won't work.
Oh, and Beethoven's symphonies
2
Q: Why is the use of constructors discouraged when creating prototypes?

apsillersQuick background: In JavaScript, the constructor function for each object type has a prototype property. The prototype refers to an object that each constructed object uses as the next step up in its prototype chain. When you want one type to inherent from another type, you can set the prototype ...

Zirak posted a link earlier, and I kept listening :p
I did too, at first, now I really can't be sure anymore
@SimonSarris thanks
user1596138
17:38
@AmaanCheval Idk what you're talking about. But I've got Beethoven on at the office right now...
My love for this band is growing more and more, just wow!
@hugomn 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.
@JosiahSouth Pretty awesome, right? :D
@GNi33 which band?
The Story So Far
17:39
^
user1596138
@AmaanCheval Abslutely. But Pachabel is on the playlist too.
Ah my friend just saw them in London - never listened to them yet :o
Haven't heard Pachabel
@JosiahSouth Pachabel, or Pachelbel?
user1596138
@AmaanCheval Canon in D
17:43
@JosiahSouth I solved the problem :) jsfiddle.net/Joseph82/npFfQ/6
user1596138
@ShotgunNinja We got a badass over here....
I use bind and unbind instead of .click
user1596138
@JosiahSouth thank you anyway
user1596138
@Joseph82 God Dammit
17:44
@JosiahSouth Sorry, I work for a sheet music company, and I come from a musical background.
ahahaah sorry @JosiahSouth good solution :D
I've played Canon in D several times on my French horn.
user1596138
@ShotgunNinja Haha I work for a local entertainment paper/promoting agency. My job is also just music.
@JosiahSouth do you think your solution is more elegant?
@JosiahSouth Sweet deal.
user1596138
17:46
@Joseph82 I only added ev.preventDefault(); to $('a.deleterow').click(function (ev) {
user1596138
@Joseph82 I changed it to the function go() only because I'm more comfortable debugging functions that aren't called automatically onload. I feel like I'm more in control.
user1596138
@ShotgunNinja Absolutely.... Being the only IT guy in the company I can do absolutely anything I want. Although I wish I had more of a team.... No one else here even knows how to write an anchor tag for the web page.
ah ok :) I think I will use your solution @JosiahSouth
@JosiahSouth Nice!
Canon in D was cool too
But I like Beethoven more
user1596138
@Joseph82 What did you do to yours'?
17:50
@JosiahSouth In the "else branch" I call .unbind("click"...) and then I redefine the action with .bind("click"...) jsfiddle.net/Joseph82/npFfQ/6
user1596138
I literally just added ev.preventDefault(); to the first .click function.
Why can't I wrap a <div> in an <a>?
user1596138
@BillyMathews Haha, why? I've never tried that but I would assume it works?
yes I'm understanding now the meaning of preventDefault() xD
@JosiahSouth Oh, it works, but it's invalid
user1596138
17:51
@Joseph82 I don't even understand the meaning. But I knew it belonged there hahaha.
user1596138
@BillyMathews How is it invalid?
@JosiahSouth ahahha this is good!
user1596138
@Joseph82 JSHint says it's valid.
user1596138
I aso used JSFiddles tidy button.
@JosiahSouth uhm, I'm looking at my first fiddle, and preventDefault was yet present
17:53
Eclipse and ShiftEdit both flag it as 'invalid location of tag a'
user1596138
@Joseph82 What?
user1596138
@BillyMathews I don't know what either of those are.
IDE's
I gtg, will see your message when I'm home
user1596138
@BillyMathews Solution: Use a simple text-editor with syntax highlighting. Haha
@JosiahSouth in the fiddle I submit to you, the preventDefault was present
17:55
@JosiahSouth Eeech.
user1596138
@Joseph82 In your fixed one yes. Not in the first one you sent me.
ah, ok @JosiahSouth sorry xD
user1596138
@Joseph82 No nevermind! You're right.
user1596138
@Joseph82 What the hell did I change??? Hahahaha
lol @JosiahSouth so, why yoor fidlle works good?
17:57
^ illegal characters?
user1596138
@Joseph82 Hold on. Let me compare...
@JosiahSouth ahahahh maybe the go() ?
user1596138
This is the non-working fiddle. jsfiddle.net/Joseph82/npFfQ/5.
you really shouldn't be creating the dialog like that over and over
@JosiahSouth "var idAct" instead of "idAct"
17:59
make it static in the html and hide it - then show it and change the specific text pertinent to that dialog
user1596138
Here is a working fiddle still using document.ready jsfiddle.net/Joseph82/npFfQ/6
@JosiahSouth add "var" before idAct and your fiddle will stop to working XD
@JosiahSouth Have you checked out any game music? Some games have some awesome music
		if (!$('#dataConfirmModal').length) {
			$('body').append('<div id="dataConfirmModal" class="modal" role="dialog" aria-labelledby="dataConfirmLabel" aria-hidden="true"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h3 id="dataConfirmLabel">Example</h3></div><div class="modal-body"></div><div class="modal-footer"><button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button><a class="btn btn-danger" id="dataConfirmOK">OK</a></div></div>');
I just don't see the point in this
:/
18:01
Hahaha
user1596138
@AmaanCheval Haha what?
sorry for the triple-ping right there :P
@JosiahSouth so my variable need to be global !?
user1596138
Idk what happened. Fuck it. Your fiddle works now lol.
18:01
@JosiahSouth Look for some music from Bastion
And Dain Saint (might be a lot harder to find)
user1596138
@Joseph82 Where did I add var?
user1596138
@Joseph82 Give me a line number.
@JosiahSouth find for "var idAct = $(this).attr('id');"
@JosiahSouth you write,instead, "idAct = $(this).attr('id');"
@JosiahSouth line 4
user1596138
@Joseph82 Your fiddle works also.
user1596138
@Joseph82 So it can't matter.
18:04
My OOT teacher [ a = ++a; ] is worse then i thought
He loves Java, he thinks C++ is worse then Java ... oh boy .. .he thinks java is the best language etc.
@Darkyen Ocarina of Time teacher?
Object-Oriented Theory?
user1596138
@AmaanCheval I'll check later... I've gotta work on this project and I'm trying to figure out what I did to his fiddle haha.
@JosiahSouth in my code (not fiddle) for each time I click on OK i need to close one more alert (Oh my God)
Haha, enjoy
Also, @Darkyen, that is downright scary. No one should ever think Java is the best language. A pragmatic programmer doesn't choose favorites; he/she chooses what is best for the task at hand.
2
Plus, Java is close enough to the worst language.
user1596138
18:07
@Joseph82 No idea.
user1596138
I'm going out for a smoke man.... If you haven't figured it out by the time I get back in I'm really interested in this problem for some reason haha.
@JosiahSouth than you, now it is all ok
:)
// FIXME
// *snip snip* You're 'fixed' now...
@ShotgunNinja the latter
@ShotgunNinja it is the worst langauge
i think its easier to write hello world in ASM then Java
not to mention more fun :D lol
18:17
        .section        .rodata
string:
        .ascii "Hello, world!\n\0"
length:
        .quad . -string         #Dot = 'here'

        .section        .text
        .globl _start           #Make entry point visible to linker
_start:
        movq $4, %rax           #4=write
        movq $1, %rbx           #1=stdout
        movq $string, %rcx
        movq length, %rdx
        int $0x80               #Call Operating System
        movq %rax, %rbx         #Make program return syscall exit status
ASM x86_64 hello world - wikipedia
public class HelloWorld {
   public static void main(String[] args) {
       System.out.println("Hello, world!");
   }
}
java ^
console.log "Hello World"
@BenjaminGruenbaum you forgot them parenthesis
Been doing CS all day :)
Plays very nicely with Knockout
18:25
Are you kidding me? Google is constantly listening for me saying OK, Google while I'm on their website!?
WAT
I don't know how I feel about this.
@OctavianDamiean ?
@GNi33 Yea, they just added a feature where you just say, "OK Google," and then speak your query to get a spoken response.
Without touching any button.
@OctavianDamiean On desktops?
No way
How can they even access the microphone?
I don't buy it
18:31
They just announced it in the Google I/O keynote.
wait, now they're porting their Google-Glass - Bullshit-functionality to their website?
Not even announced it but also demonstrated it.
well, i don't use google.com anyhow
It's been in Google Now on Androids for a while
@OctavianDamiean Link!
Updates to #googlesearch from #io13 include conversational search on desktop on Chrome & new Google Now cards http://goo.gl/Qnws1
but yeah, even on the phone you need to press a button first
18:32
Nevermind
@GNi33 Nope
You can open Google Now, and say "Google" to activate voice search
no shit?
It is a live stream though.
that's bullshit
it starts listening when i hit the little-microphone icon in the searchbar in google now
18:33
Oh, by the way, that Mozart piece was pretty amazing
@GNi33 In the demo it did that without her touching anything.
She just said "OK Google" to activate the voice search.
Odd. Was that on a Chromebook?
However that implies that the service is actively listening all the time to trigger that event.
No idea to be honest.
Exactly
It doesn't make sense, honestly
@OctavianDamiean Can you find the time where that voice thing happened?
Yea, gimme a second.
18:37
dafuq
I know right?
I'm just confused -.-
I mean on one side it is pretty cool as in it is a cool feature, from a technological point of view, but on the other side I don't quite like the idea.
It's exploitable. I don't like it
If I'm lazy, I should still be required to click one button
Maybe Chrome's going to come out with a "allow website to use mic" option or something
So it can use it whenever instead of asking each time
user1596138
I don't understand why questions like this even get asked... stackoverflow.com/questions/16570670/…
18:49
3
Q: Is there a way to check if specific point (X,Y) is in the SVG element?

Petr KaplunovichWhat I need to do is to understand if mouse leaves SVG object (path, i.e it is not a rectangular - can't use just offset, not a circular - can't use radius and center position, etc. ). I can not use mouse leave/enter events because I have a pointer for mouse that is always above all elements. Obv...

@OctavianDamiean You see how they mention "hotwording"?
It may mean that they plan on adding that to Chrome
Or even the spec

« first day (942 days earlier)      last day (4231 days later) »