« first day (1097 days earlier)      last day (3834 days later) » 

11:00 AM
Wouldn't obtainContext sound more sensible?
 
I <3 canvas
 
Alright, laters. Field service.
 
@OctavianDamiean wouldn't new 2DContext() or new 3DContext() make more sense?
 
11:15 AM
What do you think about the following answer about prototypal inheritance? Scroll down to the section "Embracing True Prototypal Inheritance":
10
A: How to achieve pseudo-classical inheritance right on the class declaration?

Aadit M ShahNo. No. No. This won't do. You're doing inheritance in JavaScript all wrong. Your code gives me migraines. Creating a Pseudo-Classical Inheritance Pattern in JavaScript If you want something similar to classes in JavaScript then there are a lot of libraries out there which provide it to you. Fo...

 
@Plux 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.
 
jetstrap.com @OctavianDamiean , @rlemon :3 oh lala
 
@GNi33 What you making?
 
ah, i just had a look at an isometric canvas engine that would look perfect for my purposes
will dig into that code, i kinda want to write the engine from scratch with a little assistance from already written code
 
hello, guys i have a problem i have an input using jquery autoload ,and i need to get the current data in the input. if a user press enter it is ok, since i can catch the event using, keyup or keydown, but what if a user clicks on the list of autoloaded values? how would i catch that?
 
11:23 AM
Im about to start with unit-testing in an application, does anyone here have any experience with the JsTestDriver framework? Or are there any other frameworks you could recommend?
 
i don't know what autoload does, but I'm just guessing it adds some DOM-elements?
then you could just use a delegated click-handler. look up event - delegation and how you can do it with jQuery, it's fairly easy
 
@tomexsans could you use a change event on the input?
 
@phenomnomnominal i have been trying but it does not work, i think it will only work for select or radio input , im not sure
 
hell yeah, smoke - free for 24 days
 
a change event is fired whenever the value of an input changes
 
11:27 AM
text - input?
 
@phenomnomnominal, it does not seem to fire when i click on an auto-complete added DOM.

@GNi33 , yes text input i will try on the fiddle
 
if ("onpropertychange" in inp[0]){
	inp[0].onpropertychange = ($.proxy(function (evt) {
		evt = evt || window.event;
		if (evt.propertyName == "value"){
			//handle change here
		}
	}, inp[0]));
}else{
	inp.on("input", function () {
		//handle change here
	});
}
this works pretty well cross-browser - wise
fires on every change to the input - field, be it keystroke, autocomplete or copy - paste
and inp is a jQuery-object in that case
 
$('#input').keyup(function(){
var id = $(this).val();
console.log(id);
}).change(function(){
var id = $(this).val();
console.log(id);
});

is my code correct?
 
@GNi33 Congrats! Don't be a bitch and reset that!
 
what?
no, i'm not going to :D
don't care if some guy calls me a bitch :P
 
11:33 AM
Hehe
 
@GNi33: Shouldn't inp.on('propertychange', function(e) {...}) work, too?
 
@copy hi
 
Hi cat
 
Hi,i'm trying to get the selected text by user on page any help

$(document).on(function (){
		$('p').mouseup(function (e){
       alert(getSelectionText());
	});
	});


//get selection
		function getSelectionText() {
		var text = "";
		if (window.getSelection) {
       text = window.getSelection().toString();
		} else if (document.selection && document.selection.type != "Control") {
        text = document.selection.createRange().text;
		}
		return text;
		}
 
@copy She's a cat now?
Until yesterday she was only a moron.
 
11:43 AM
any suggestion to get the selected text
 
@ThiefMaster yeah, it should, but there was some weird edge-case i can't recall right now
got it to work the way I posted it and didn't really look back anymore. I should have a look at that again though
 
@SomeGuy lol
 
@AbhishekHingnikar any suggestion to get the selected text
by user
 
@SomeGuy You're asking to get punched in the face ... BY ME?
 
Yeah, then I can call the cops for domestic violence, right?
However, it was a bad joke. Sorry, @BadgerGirl.
 
11:58 AM
It's okay.
@copy Skype?
 
xD
Has anybody done iPhone development here ?
 
@BadgerGirl No, lecture and Internet is really bad
 
remember when SomeGuy was the sweet and ever-so-nice Indian kid and the worst thing he would do to you was taking your flawed english sentence and shove it up butt?
those where the days
now he's doing nothing but insulting innocent people
 
There's no such thing as an innocent person!
 
Yay for first gratitude bounty
 
12:05 PM
o/ guys.
 
\o
 
\o
 
@dievardump How have you been?
Haven't seen you in so long!
 
wait for it...
 
12:06 PM
Where are you right now?
 
Pretty well thanks :). And YOu ?
 
@dievardump You don't know who I am, do you? :P
 
Am In France, waiting to have some medical exams before going to Berlin
@SomeGuy you avatar tells me who you are.
 
Heh
 
Do pushups, get sore for a week. #programmerproblems
2
 
12:07 PM
@KendallFrey Well, more like #neverexercisedbeforeproblems
Or #thoughtiwasstronger
First time I tried push ups, I couldn't move my arms for hours. They were just locked in straight
 
#neverexcercisedbeforeanddoeszerophysicalworkinadaybutsitsonhisbutt
programmer is shorter to type
 
The last website I did was awarded on awwwards.com and FWA. Am pretty happy ^^
 
Sore muscles means they're getting bigger, right?
 
Nice! Congrats!
 
@dievardump Nice work!
Good to know you've been doing well
 
12:09 PM
@KendallFrey Yeah, but you don't want to overexert yourself
 
I didn't even break a sweat.
 
@dievardump \o late comer
 
Yo mate !
How is it going ?
 
.during-transition-period .. writing a quitting letter for the first time in life :-/
 
Is that a className ?
^^
 
12:17 PM
yeah kinda tried a bad css joke
I am considering job switch :P
an amazing offer by canadian :D
 
Bing found that removing all JS element handlers on page reduced load time by 20% #velocityconf http://t.co/dnZ2F3lkHB
 
That's not too bad, actually
 
@OctavianDamiean @GNi33 @KendallFrey @SomeGuy imgur.com/a/AaNdZ
And anyone else who plays Terraria
 
woah
 
@rlemon Whoa
 
12:28 PM
are you guys all playing on the same server?
 
We used to play on @Zirak's server.
Octavian plays on rlemon's world, though, I think.
 
now we just jump in and out of eachothers
 
I haven't played in long
 
we're working on getting a server running on a VPS
 
@rlemon TWSS?
 
12:29 PM
then we will be able to all play
 
@Shaz Hahaha
 
@rlemon wow
fk.. lost screenshot
 
@AbhishekHingnikar what what ?
 
I got an offer by a canadian company
best is they don't enforce me to come to Canada :D .. but they will help if they want
so i get to work from home :-) , get paid in canadian rate :D $$$
 
I got an offer to go to Copenhagen yesterday
 
12:36 PM
+ I won't be working for ~15 - 18 hours
 
it includes a paid one day trip to go visit the office and meet with the team :/
 
and i will be working full time on Node.js & C++ & WebRTC
which is fucking awesome :3
@rlemon :D cool !
 
> They will invite you for a full day in Copenhagen ( paid of course and recently voted the world's most livable city by Monocle lifestyle magazine ) to let you see what it's like with the team which has been assembled from some great guys from all over the world so obviously the main spoken language is English, and full relocation payments, visa handling is all taken care of by <CompanyName>
eh, I'm turning it down.
 
:-)
I'm taking the canadian :-)
 
still, cool offer.
 
12:38 PM
@rlemon Why?
 
cause i really don't wanna keep listening iOS developers telling me web-development sucks
 
@BadgerGirl because I don't have any interest working / living outside of Canada
 
and then listen to them trying to align positions by calculating :-| , does iOS has nothing like layout ? (i wonder)
 
(and the title of the email was "front end javascript ninja rockstar needed- Copenhagen, Denmark!")
 
@rlemon aren't you exactly that ?
 
12:39 PM
But why don't you turn it down after? :P
 
eh, one day isn't that much
if I were to go to Denmark I would like to go on a vacation and spend a few weeks
so really the offer isn't that enticing unless I were considering the job.
also it's a front end position in a CRM / Project Management company
not really what I would call interesting work
 
ah .. makes sense :-)
@rlemon how far are you from redmond ?
 
far
 
:-/
how far ?
 
I live in Canada
redmond is in USA
 
12:42 PM
/me checks city
/again
 
@rlemon Not only that, its at the far end.
 
2529 miles
according to google maps
Redmond -> A
Me -> B
 
Raymond, Alberta
sorry :$
 
then still pretty far
maybe a day and a half drive with stops
 
At least.
 
12:45 PM
holy !
Canada is HUGE !
 
Have you ever driven that far?
 
umm yea
@KendallFrey yes
 
I CAN GOTO AMAANS HOUSE IN LIKE 12-16 hours drive
 
I've driven to BC
@AbhishekHingnikar 3 days to drive a crossed canada (again with stops, but not many)
 
12:46 PM
Is this a day and a half including sleep?
 
but i can still come and meet u :D
 
@KendallFrey yes, but not much
took us 2 days to get to BC
 
Wow.
It took us about a week.
Lots of stops, but still.
 
we stopped once to sleep (two of us driving) and a handful of times to pee / eat.
 
Took us 24h of driving to get to South Dakota.
 
12:49 PM
@AbhishekHingnikar now most people would just fly it
 
@KendallFrey you are canadian aswell ?
right ?
 
Right.
Almost as Canadian as rlemon.
 
how far are u from lemon ?
 
hour
maybe
if i'm driving less ;)
with no opp pulling me over I can make it from kitchener to milton in 35 mintues
 
Less for me
 
12:51 PM
lol
thats cool !
 
I mean, less than an hour
 
how much km's is that ?
 
No way I'm getting to Milton in 35 minutes
 
I have to go north of ottawa next week. :(
6 hour drive
 
North as in francais?
 
12:52 PM
leave at 4am
La Pêche
..
 
Sounds francais
 
"frang-case"
 
@AbhishekHingnikar funny you say that, I've just returned from a meeting with the customer and we've decided to dump bootstrap and I personally decided not to touch bootstrap ever again.
It is causing us more headaches than it solves.
 
@OctavianDamiean are you serious ?
 
1:02 PM
Absolutely.
 
/* Though mostly i use bootstrap for its css */
 
Which is also mostly the part which sucks.
 
@AbhishekHingnikar good job
 
@OctavianDamiean so most likely foundation ?
 
@AbhishekHingnikar nope.
 
1:03 PM
then ?
just a grid ?
 
Maybe purecss.io or I'll just roll my own micro libraries.
 
he just jelly cuz he a bad bootstrapper
:P
but purecss.io is nice
 
^
purecss.io is kewl :D i will most likely use it in my next project
but since the current one is halfway and i have only 1 week to complete... lets stay with boooo strap
 
Nah, it is the second week I'm fixing one bug introduced by Bootstrap just to add two more by fixing that one bug.
It's especially stupid to use bootstrap in that scenario, since all they want is a modal window.
 
posted on October 17, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} This is awesome news for science geeks.

 
1:10 PM
@phenomnomnominal I guess you're right, that'd make more sense.
 
@OctavianDamiean lmao
 
Anyway, all the problems it has caused revealed that it is not really a good framework, at least not in my opinion.
Of course that's 2.3.x
 
@OctavianDamiean the 13.10 will autoupdate it right ?
unlike iFuckingOS
 
Maybe they've fixed most stuff in 3.0
@AbhishekHingnikar auto update what?
 
the beta2 i have... it will auto update to 13.10 final ?
 
1:13 PM
Oh yea, of course.
 
@CodeApprentice 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.
 
You'll not really notice the process.
 
@CapricaSix I'll read them
 
@OctavianDamiean that should be cool :D
 
@SomeKittens what do you generally use? --no-ff or plain pull?
 
1:17 PM
@OctavianDamiean SomeKittens is afk: booze with Irishman
 
Hey, I am working on a javascript library but I don't know what to call it. Any Ideas?
 
noname.js
 
@OctavianDamiean LOL
 
kQuery
one more alphabet better than jQuery
 
@rlemon you can refresh Caprica.
 
1:20 PM
I did this morning
unless you need it again
 
Well, unfortunate for you because the changes weren't built by then. :D
 
!!info
 
@Shmiddty did you test your changes?
 
@rlemon I awoke on Thu, 17 Oct 2013 13:21:41 GMT (that's about 12 seconds ago), learned 185 commands
 
Oh, ok.
 
1:22 PM
there were load errors.
 
@Ameer 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.
 
refreshed again and it was ok
 
Not ok.
Ok.
 
sometimes she has 404s loading the chat stuff
 
anyone angularjs??
 
1:22 PM
Ah.
@Ameer Are you confused about that or do you have a question?
Because a question requires only one question mark.
 
i have a question on unit testing with angularjs
 
:yawn:
 
for directives
 
#internet problems
 
@adara 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.
 
1:24 PM
@Ameer mocha\
 
0
Q: Can't test multiple instances of a angularjs directive in Jasmine running Karma

Dean PetersonI have an uber-edge case here. I am writing a wrapper directive around a jQuery plugin that transforms a simple html element into a formal Feedback oriented view. <div my-directive>DirectiveContent</div> Since the plugin doesn't know what to do with it. My directive transforms it into somethi...

 
!!refresh
 
Wait, is that command baked in?
 
yup
and just tested it works and checking the privs code
and it is all set up
 
cant test partial files using module in beforeEach. fires error saying not a module
 
1:26 PM
so room owners and mods can refresh Caprica with !!refresh when making updates
 
Oh, good to know. I thought Zirak removed it a while a ago.
 
@OctavianDamiean good news
I think I fixed my migration script :)
he did remove it
er, disabled it
!!youtube Hurt Less (feat. Jenna G) dubstep
rocking out at my desk to this and getting strange looks from the receptionist
 
@rlemon love u so much :D
 
listen to the song
very good
 
listening :P
ps
!!youtube chillstep
 
1:32 PM
damn, that is not the version i'm listening to on grooveshark
!!undo
fuck
wrong message
sorry
 
!!youtube Life Lessons Learned The Hard Way ADTR
!!undo
not the whole album, stupid
 
this
this is the version i'm listening too
just makes you want to get up and dance
 
oh ffs
!!youtube ADTR hammer nail lyrics
 
but the grooveshark version is still WAY better. grooveshark.com/s/Hurt+Less+feat+Jenna+G/33My16?src=5
like the audio is much crisper rip
 
!!youtube blast pornstep 2
 
1:36 PM
what ever happened to Datsik
 
@AbhishekHingnikar Can you give me again your link to the ES6 draft where intl was mentioned ?
 
@AbhishekHingnikar thanks
 
i kind of LOVE it so i follow it a lot :-)
it also mentions the published spec location
 
Quick question about bootstrap
 
1:41 PM
@Kevin 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.
 
How is your setup usually?
do you generally link to the css and js in the dist directory?
I mean for development
because it changed a little with v3
This way I don't seem to have easy access to the less variables
as easy as if I was including the less files.
 
I just dumped bootstrap.
 
migration script works now
 
@AbhishekHingnikar hi i can't read ur blog..it just says welcome to my blog
 
@rlemon nice.
 
1:46 PM
now that that works I can re-write it all :P
haha
 
@sTACKoVERFLOW Internet Explorer ? Firefox ?
 
@rlemon yay
 
firefox@AbhishekHingnikar
 
@sTACKoVERFLOW there is no blog tehre btw.
 
whoa, i didn't know there were slime blocks
 
1:47 PM
goto codepen.io/darkyen its more fruitful
 
hahaha
yes
 
@eazimmerman Yea, feed gel to the solidifier.
 
the only thing that is wrong atm is the ice blocks
because items.json is wrong :P
 
i wish they had gel armor and gel weapons
gel armor could negate knockback
gel arrows could slow enemies
 
@OctavianDamiean CoD 4 multiplayer doesn't work on my machine :(
 
1:51 PM
@rlemon Ice Blocks create tileID 161
@mikedidthis :o
 
crashes due to sound card, sp is fine
 
@joshuahornby10 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.
 
@mikedidthis uhm, latest patch?
 
@OctavianDamiean 1.7?
 
1:51 PM
Yea.
 
will try again, something to do with Realtek and microphone
 
@OctavianDamiean yea there are only 4-5 that need to be fixed
 
@MattGrubb 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.
 
why is items.json missing stuff / has wrong info
 
Hi guys, I made a video to canvas app following code from MDN and some other sites...
 
1:54 PM
I signed up for Steam. What's your id?
 
@mikedidthis try to set the audio settings to the lowest possible settings and then go from there.
 
@OctavianDamiean hey!
 
It works great on most browsers... however on Chrome 30... every so often it will go aw,sanp
and crash
anyone have experience with this?
am running it on localhost
 
@rlemon because it was a really quick and dirty thing that Zirak did for me to extract some information.
I can send you the proper .cs file.
 
5 messages moved to dats my jam
@OctavianDamiean eh, it's ok
 
1:55 PM
A couple hundred of items are missing in that JSON file. :)
 
I noticed
:P
 
guis guis
steam ids plz
 
ma1nz0r
 

« first day (1097 days earlier)      last day (3834 days later) »