« first day (745 days earlier)      last day (4204 days later) » 

7:00 PM
@jAndy, should've been $(jAndy).hide(function(){$(this).remove()});
smoother
 
var jAndy_cache = $(jAndy).detach(); // store him for later use
5
 
@rlemon, exploded, laughing
 
7:12 PM
@rlemon Does Steam for 64 bit exist?
I can't find it on their site
 
no clue, i dislike steam so buy my games in the classic sense
but I will inquire for you
 
Ah, okay
 
@AmaanCheval, they don't have it
 
@rlemon Desktop notifications work fine for me on Windows now
(Chrome 17)
(Update in a bit)
 
and I don't think they will anytime soon.
 
7:13 PM
mine are fixed as well
 
Oh, cool
 
bah, gists still don't onebox
 
WAT. Windows won't scroll tabs!
 
nope
 
7:14 PM
fall in love with CTRL + TAB and CTRL + SHIFT + TAB
 
I already extensively use them, but :(
Stupid Windows
(Google's fault, I know)
Win 7 64 bit is the most used OS
 
hey @FlorianMargaine is it only ~20h15 in France? Seems you already changed hours right?
 
@rlemon Why do you dislike Steam?
 
well when I was using it there was no "offline" option
 
I planned on getting my game the "old fashioned way" too, but some guy was giving away a free copy of Dota 2
 
7:17 PM
so when I was messing around with DA I ended up having to download and install it 4 times!
killed my bandwidth
 
Dragon Age
 
Damn
 
it's got great deals.
 
Hope it isn't that buggy now
 
7:18 PM
no doubt. I just gave up and only play minecraft and D3 now
 
^ flag as spam/offensive
 
Flag what?
 
var d = document,
    s = d.createElement("style");
s.textContent = "img {-webkit-animation-duration:2s; -webkit-animation-timing-function:linear; -webkit-animation-iteration-count:infinite; -webkit-animation-direction:normal; -webkit-animation-name:spin;} @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg);";
d.body.insertBefore(s, d.body.firstChild);​
Y U NO WORK?
 
Good enough
Alt + scroll
Okay, Windows is extremely odd. I don't know why anyone would ever use it.
I didn't realize it was this bad
 
LOL
I feel the same way about OSX
or whatever they are on now
 
7:26 PM
(i.e. I didn't realize I'd gotten so used to Ubuntu)
For example
 
In javascript, can i detect if i should initiate a download? Like if a link has no file extension that runs a script to make a download start in safari, thats detectable in javascript?
 
I select your code
Click on it
Selection stays! What the?
 
huh
I have never noticed that
 
Is there a way to make a window that isn't in focus scroll?
Nevermind
 
Come on Chris.... stop selecting codepen.io/ScottJH/pen/elHpE
 
7:37 PM
Hey, ( if anyone is there ) how do I get the anwser from stackoverflow.com/questions/13114542/… to work. I'm sure the anwser is right but, even after implementing it there is no change at all and I don't really want to bump the topic yet again.
 
7:51 PM
@rlemon - Do you remember me?
 
yes my love
 
:3
 
what does :3 mean?
I'm too old for this MSN talk
 
It's a kissy face
 
@robjb, are you sure?
 
7:53 PM
sidenote: Postbox won't show the mails you sent from the web interface
 
(function(me, you) {
    me.punches(you);
    setTimeout(arguments.callee, 100);
}($('.user-829835'), $('.user-1105514')));
// recursive ass-kicking
sorry Adnan you were the first ID I saw
:/
 
@Adnan Anime cute face / kissy face, what's the difference? :p
I guess it's all in the context
 
=D
@robjb - I picked it up because of my stupid friend. :(
 
I assume everyone who uses :3 (any strange uncommon ascii emoticon) is a 13y/o girl
 
8:00 PM
@robjb, I believe people go to jail for such differences
 
@Adnan For using the wrong emoticon on the internet? :)
(Just kidding, I get what you meant.)
 
Holy shit. Disney buys LucasFilm for $4 Billion...
WTF
 
@Shiki I know the feeling, it took me forever to break my habitual use of ^_^, x_x, and variations thereof
 
:D
@rlemon - Keep assuming that so the more likely you will remember me. :3
 
@Shiki why would I remember you if you were a 13 y/o girl. i'm no diddler
I remember you as acid trip avatar anyways
 
8:07 PM
well, remember me as a 18 year old fine woman.
=)
420 blaze it
 
still too young
 
35 year old MILF?
 
too old kidding you can never be too old
half your age and add 7
4
26/2==13+7==20 (my cut off)
 
write some function that calculates the proper age of your waifu
 
lol
 
8:09 PM
@Shiki you sound like a guy who say he is a girl on the internet because he does not assume he is gay. You'll burn in hell.
 
o_0
 
hah.
 
Wait wait, we talking about MILFs? :D
 
2012...
...not being a girl on the internet
 
told you he would get jealous.... cat fight!
 
8:09 PM
@Shiki xD
 
yeah Octavian, girls are javascript.
 
My timing is just perfect it appears.
 
Nah you try to steal @Shiki !!!!!!! You try to steal MY RLEMON I have to be mean with you
 
you are all my lovers... passively.
 
btw my avatar fits Hotline Miami perfectly so it's all good
I 'll always be a part of your harem, rlemon-sama. uguu
 
8:10 PM
OMG
 
(oh god that's getting even more weaboo. sorry. thank you my friend for doing this to me.)
 
My gravatar lets you know it will be a "Thriller! A Thriller night!"
 
I'll cut her fingers
One by one
 
@Shiki I didn't understand half the words in the sentence
 
wth is going on? :D
 
8:11 PM
 
I don't understand this conversation and I'm creeped out
 
@rlemon inb4 another picture
btw B-E-F-O-R-E ..I'll remember that.
 
I kinda like the direction this conversation is heading, mainly because I'm a pervert but I missed quite a bit of it.
 
Time for a tangent ... I've been listening to this on repeat almost all day => youtube.com/watch?v=OeO9h0IAVyY
Big G playing in my hometown Nov 3rd, gettin psyched
 
8:15 PM
I'm not a pervert, I'm just very open with my sexuality... and everyone elses.
 
is that supposed to be music?</troll>
 
Sounds even better with the right movie.
 
@ThiefMaster Excellent, excellent music
@OctavianDamiean nice ... I've loved electro house ever since hearing Wolfgang Gartner at EF2012
 
^ That is "excellent, excellent music"
 
@ThiefMaster Ya, metal's great too. That doesn't make EDM any less excellent :)
 
8:19 PM
http://us.akg.com/akg-product-detail-us/k430wht.html
http://gopro.com/cameras/hd-hero3-silver-edition
Too much things to buy this week
 
cameras.. one of the few things where it's so hard not to spend a shitload of money
 
"Wookie the Chew"
 
lel
 
lel???????
you really are a 13y/o girl who thinks this is msn arn't you?
 
:3
wutz ur msn?
got cam?
 
8:28 PM
LOL
 
I mean sure :P ASL? Pics?
 
I feel so incompetent right now, all I wanted to do all day is profile this damned method. Instead I've spent 3-4 hours getting the project to run locally, and another 1-2 trying to figure out where my profiler went and how to use with ASP.NET ... facedesk
 
Here is me:
it's sexy one I just took for you
 
:D
can I shave your back in the bathtub?
like with candles and everything
 
yes.... yes you can
 
8:30 PM
oh my gooosh xoxoxoxo
 
hahahaha
 
:3
fakkk held shift
 
Burn it with fire! tries to scroll down
 
there is a reason I write code sometimes
 
here is a picture I just took rlemon!
 
8:31 PM
Man afaic this is all NSFW
 
wow, those lips could be so useful for... playing the flute....
 
=D
 
I'd offer you all the money on me to get rid of that, but 2 grand might be expensive.
 
Also, yay acronyms.
 
OMFG THAT'S TERRIFYING
 
8:32 PM
Yay for fat wallets.
Yay for not being able to direct deposit my paycheck.
Yay for feeling richer than I am.
 
YaY for knowing Kendalls route home and having a ski mask on hand!
 
$('.ob-image').hide();
 
Right. What's my route home?
 
hah.
 
2 messages moved to recycle bin
@KendallFrey pay
 
8:34 PM
how cruel.
 
@robjb or you just use Killit
 
@Zirak I meant rlemon.
 
OMG They really are planning an Episode 7...
NOOOOOOOOOO
 
Also, I didn't say I would.
 
I can move them back
 
8:34 PM
You have no right
> Star Wars Episode 7 is targeted for release in 2015, with more feature films expected to continue the Star Wars saga and grow the franchise well into the future.
 
did you just put me in the shame room? ;_;
 
Episode 7: Wookie The Chew
 
Yes, yes I did
 
@rlemon i shed tears for star wars.
:P
 
So where are they gonna put it? pre-prequel?
 
8:36 PM
@dievardump wat
 
episode 7
probably after ep 6
which puts it squarely in the domain of the extended universe
 
Unless they're really bad at counting
 
which has been heavily novelized
so they have to tread carefully to remain canon
 
It'll be disney...
They don't give a shit
 
:( It'd be cool to have a story centered around the solo kids.
if they have to do it, that is
 
8:40 PM
Extended Universe? Hell yea!
 
The Star Wars Expanded Universe encompasses all of the officially licensed, fictional background of the Star Wars universe, outside of the six feature films produced by George Lucas. The expanded universe includes books, comic books, video games, spin-off films like Star Wars: The Clone Wars, television series, toys, and other media. This material expands and continues the stories told in the films and, excepting where it contradicts the films, is generally considered canonical. However, George Lucas has viewed it as a separate canon from his movie series. History Development The early...
 
It's Disney - Luke will be played by Johnny Depp, R2D2 will now have a huge mouth and bobbley eyes.
 
:D
Luke's probably going to be drunk all the time then.
 
Screw you if you think this will be good!
 
@rlemon And Eddy Murphy will be Jar Jar Binks voice
 
8:43 PM
if there is a jar jar in this movie, I'll walk out and get a refund
 
there, my position has been cast
 
in C#, 8 secs ago, by rlemon
user image
both rooms need in on this
 
some just remember Pixar was bought by Jobs from... Lucas
CSS3d animation + Canvas
Synchronyzed
good shit
 
8:58 PM
@rlemon 92 / 2 + 7 = 53 :(
Dem gold diggers
Dey after me neck gold
 
Y U RPG HERE ZIRAK?
 
@Zirak LOL
 
well i'll be back later
time to drive hom e
 
okay
so you can help me :3
 
@rlemon Don't forget the ski mask.
 
9:12 PM
He can just use his sock
 
@Shiki: you want to trigger a bioweapon alert?
 
Peace out guys, taking off for home
Have a good one
 
Your mom triggered a bioweapon alert. In my pants. It sounded way cleverer in my head.
 
=D
 
@KendallFrey you bastad! I know it was you!
my battery is dead.... jumper cables are at home :(
I literally just removed them this weekend (pulled my car kit out to replace the bandaids in the medicine cabinet :P)
 
9:26 PM
MacGyver
 
I thought of that.
we have some 8 gauge wire @ work.... I could make my own.
but CAA is far less "blow my ass up"ish
ugh RAGE
stupid cars
 
uhm... ask a friend? girlfriend? wife? anyone?
 
has anyone here used contenteditable for anything practical yet?
 
gf gets ride home with me. people who were still at work don't have cables.
so now I wait for CAA to show up
 
@MichaelO'Brien: WYSIWYG editors
 
9:29 PM
yea there are tonnes of uses
fuck that CAA says they will take an hour
i'm not waiting
time to take a cab
AH HOUR TO DRIVE OUT AND JUMP MY CAR?!?!?!?!
pffft.
 
sigh, I hate sites that javascript-ify links for no damn reason
href="javascript:openLink('...')"-style
 
sites that use images for text are even worse
ugh. what a way to end the work day
 
how would i make it so a wysiwyg instance is saved to a custom url, like mysite.com/a3v6d so when i go to that link it loads the instance how it was edited during that session, i figure this is js appending the url?
 
Guys, is there a way to handle a variable across different javascript files. I am using the variable as an index number. I need that index number to know which JSON file to load in. I can do it all in one big js file. But its massive, i was hoping to break down into different files.
 
9:46 PM
Hey guys, can I ask you a JS related question ?
 
@Nuktu: you mean, like a global variable to use in different javascript files?
 
Hey guys Could someone take a look at my script, it seems a bracket is missing but I cant seem to find where it belongs.. :D
 
@Polmonite Basically yes, ill just be using it as an sort of index
 
posted on October 30, 2012 by Victor Rodriguez

Diaspora* — Community-Driven: Two Months In! E=mc² is Incomplete - YouTube ScienceCasts: Mysterious Objects at the Edge of the Electromagnetic Spectrum The periodic table of tech Hackaday Retro edition: The Macintosh SE/30 Privacy in Ubuntu 12.10: Amazon Ads and Data Leaks

 
$(function(){
$(".a").live("click", function(){
var $this = $(this),
productID= $this.data('productID');
$.ajax({
url: '/Home/AddToCart',
type: "post",
cache: false,
data: {id: productID},
success: function (data) {
data = eval(data);
$this.addClass('productSelected');
},
error: function (result) {
$(".validation-summary-errors").append("<li>Error connecting to server.</li>");
}
});
});
 
9:48 PM
@Avar You can use Firebug extension to debug your code. It will usualy tell you which line its on
 
okey
I am using chrome's debugg but the error is at the end
 
@Avar Also, .live() is depreciated. Use .delegate, or .on
 
@Nuktu: when I need to do something like that I usually create 2 functions, a setter and a getter, for binding the variable to the window
 
One guy said that numbers in JS are immutable and every time I do something like var t =5; t =7; the new memory is allocated for the number, and variable now points to the new number. My question is if the memory allocated for the same number if it is introduced like this for (var i =0; i<1000; i++) { var t = 8;}
 
something like what's described here: snook.ca/archives/javascript/global_variable
 
9:50 PM
@Nuktu okey, but if you take a look at the code do you see any brackets missing?
@Nuktu jsfiddle.net/XpkuL to see it easier
 
@Avar You need another });
 
@Nuktu at the end?
 
@Avar yes
 
@Nuktu ty
 
@Polmonite Thanks for the link! Ill look into it now.
 
9:52 PM
de nada ;)
 
@Avar If you use something like notepad++ and indent your code properly, its easier to find the missing brackets.
 
 var newrow = '<tr class="current_question_answer_row" data-question-id="' + window.batch_question_id + '"><td>'
        + delete_button
        + '</td><td>'
        + window.batch_question_value
        + '</td><td>'
        + (window.batch_answer_checkbox || window.batch_answer_value || window.batch_rdsap_answer)
        + '</td></tr>'
        $('#question_answer_table tr:last').after(newrow);
i got problem with the OR (||) statement.
could anybody help me?
 
@Nuktu Cool thanks! btw if you got tim.
@Nuktu var $this = $(this),
productID = $this.data('productID');

What does this code lines do?
 
@Vinay I might be wrong, isnt the OR statement just for things like if statements. Im not 100% on that though
 
am a newbie
am also stucking ... wat am did wrong...
 
9:58 PM
what's the problem with || ?
 
@Avar Sets two variables, first one: $this that is set to the currently selected item. Second, sets the productID
 
window.batch_answer_checkbox is not getting the value.....
the other two is working fine...
i can't see the checkbox value....
it brings the text_box value..... instead of checkbox value
 
@Vinay That code is creating a variable, and all that code is being concatenated into it. The OR statemnet is used for conditional statements. Such as if(x==7 || y ==7)
@Vinay Again I could be wrong on that
 
Nuktu is right
 
so shall i add 'IF'?
@Nuktu . :(
 
10:01 PM
var newrow = '<tr class="current_question_answer_row" data-question-id="' + window.batch_question_id + '"><td>'
+ delete_button
+ '</td><td>'
+ window.batch_question_value
+ '</td><td>'
+ (window.batch_answer_checkbox || window.batch_answer_value || window.batch_rdsap_answer)
+ '</td></tr>'
create a single string
the code you posted doesn't set the window.batch_answer_box; all this:
 
if(window.batch_answer_checkbox || window.batch_answer_value || window.batch_rdsap_answer)
window.batch_answer_checkbox = document.getElementById('enr_rds_surv_rdsap_xref_answer_check').checked;
i declared like this already...
 
0
Q: HTML5 game programming style

fnxI am currently trying learn javascript in form of HTML5 games. Stuff that I've done so far isn't too fancy since I'm still a beginner. My biggest concern so far has been that I don't really know what is the best way to code since I don't know the pros and cons of different methods, nor I've found...

 
How can I access $('#id')[0]; with the this variable but without an event? Is each the only choice?
 
@Polmonite This link is still valid for jQuery yes? Would defining a variable in document.ready() cause problems?
 
10:45 PM
Guess the room gone silent...
 
11:15 PM
^ went.
 
holy fuck.
just getting in now
what a way to put a damper on your day
two and a half hours to get home from work
:(
 
hiya
well..what about that cab?
 
@rlemon wow why?
 
got home, got a charger, went back, boosted my own car, drove home
 
ah dead battery eh?
 
11:26 PM
battery died because the gf's stupid seat heater she didn't unplug
 
lol
 
but working where I work one of the guys made a battery charger from a welding transformer (does upto 50 amps :P )
 
needs that warm butt!
ha nice
 
oh god
I would be platinum mad
 
so I cabbed home, grabbed that, got a ride back to work.
 
11:27 PM
if my girl would do such a thing
I would ask her to walk to the workplace. Take responsibility for her actions.
 
this the young one or the milf
we work in the same place (different departments)
so she needed the car to get home as much as I did
however I didn't make her go back with me to get the car
 
send her home, it was her fault. don't be a beta.
 
I'm a nice guy
as recompense I am making her buy me beer.
brb going to get it now.
 
that's not much :/
alrite.
 
in 45 minutes and 3 beers i'll be in a better mood
 
11:30 PM
And in a mood where you can't help with js. Oh well.
Anyway. There is a small charger/kickstarter for cars in this country. I mean.. you can get it at shops. It's good to keep that thing around for such situations.
 
11:50 PM
the beer.... is here
well mine will fully recharge a dead car battery in 4 minutes :P
only works if you have it with you
 
Hey, I've actually got a JS question!
What's the best way to eliminate all <a> tags on a page?
 
regexp?
 
isn't regex a bad idea for HTML?
 
Well, regex in the javascript. Like remove every <a> with a single regex.
Maybe there is a cleaner way... but removing them in just remove them...
 
Array.prototype.forEach.call(document.links, function(link) {
    link.parentNode.removeChild(link);
});
 
11:58 PM
...Almost.
 
regex cannot parse HTML
why almost..
works for me
link free chat
 
He meant I almost said the right thing.
 
(working on getting a jsfiddle, it's slooooooow)
 
I guess.
 

« first day (745 days earlier)      last day (4204 days later) »