« first day (788 days earlier)      last day (4159 days later) » 

4:00 PM
I tried that, my gf was unimpressed. After three weeks she said I needed to change or she'd leave me. Also a shower wouldn't hurt.
 
Hi peeps, my Search function uses an older version jQuery, and if I link to a newer version, it stops working. I really need that newer version of jQuery because otherwise I cant use the jQuery UI Datepicker. Question about this can be found here: stackoverflow.com/questions/13817700/… Any help would be appreciated! :)
 
three weeks without a shower? Phew...
 
@MaxvanHeiningen If you get jQuery is not defined then you aren't loading jquery
 
Thats the thing, I'm loading it like this: <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.watermark.js"></script>
 
@SomeKittens Command iap learned
 
4:03 PM
Should be working, shouldn't it? ^^
 
And the jquery 1.3.2 is the newer version...? wow
 
And when I change it to <script type="text/javascript" src="js/jquery-1.8.3.js"></script> it stops working
 
just for your enjoyment folks
(function(scr, wud) {
    scr.src = 'http://www.cornify.com/js/cornify.js';
    document.head.appendChild(scr);

    scr.onload = function() {
        while(wud--) {cornify_add();}
    };
}(document.createElement('script'), 72));
 
Yh wasn't ready xD
 
please execute and love life !
 
4:04 PM
So, it seems I know prototypal OOP faaaar better than I know classical OOP. This is a problem.
 
Well, do you have that file?
 
gay tag already active
 
Aye, and its also in the correct directory ;)
But I'm leaving work now, thanks for your help :)
 
No 404 errors thrown anywhere? And it still says jquery isn't defined?
 
multiple plugins + no understanding of the code (presumed) + trying to smash more plugins into the page === MASSIVE FAIL
I don't like my belt, it keeps pinching my belly.
 
4:07 PM
If you reach the critical mass where each conflict solves itself by two other conflicts it might even work.
 
You know, like double negation.
 
@RyanKinal I have the opposite problem....
 
what was some animation in chat some time ago
i saw something flying
 
4:11 PM
WHA!
 
It's the Christmas season!
 
ok:P
 
That was santa
 
@Zirak Someone clearly forgot that he could split those up into several different functions. :D
 
Ok. Santa comes here in 24th December
 
4:11 PM
@Zirak lol
 
This chat has a lot in global scope
 
ok @Abhishek: I'll open the closured function scope
(function() {
 
from now on, we're save !
 
});
 
4:15 PM
DAMN YOU
 
@jAndy i meant the chat-itself
 
with(Zirak) {
Stomp();
 
}
my concern mate
 
Thanks bro
 
(function(){ eval("(function() { alert('I trolls you!'); } ());"); });
 
4:16 PM
you really dont access and leave that with open ^_^
 
with (Zirak) {
    Octavian.mentalSanity--;
}
 
!!> console.log(diacSubstitutions);
 
@SomeKittens "ReferenceError: diacSubstitutions is not defined"
 
lets just have a global
 
@OctavianDamiean Its a constant :P
 
4:17 PM
with( jQuery ) {
 
u cant change it
 
would make so many people happy :p
 
yay drinkies time!
 
4:20 PM
@FlorianMargaine don't try to fix PHP, and by PHP I mean all the bad things in the world
 
Haha
 
jQuery's greatest strength will endup beeing its greatest weakness, supporting "oldIE"
 
lol wtf
Ive seen some CRAZY ass videos of people riding trains in India
 
@FlorianMargaine that last comment seemed quite bitchy. "we want you all to report stuff and help us do our jobs but when you do you MUST DO IT THIS WAY!!! NO DONT USE THE OTHER TOOLS AVAILABLE FOR THE SAME THING!!!"
like, wtf are you using github for if I cannot submit a pull request... dicks.
 
4:24 PM
I just learned what a dunder property is, lol
 
@Abhishek Hahaha seriously?
 
@AmaanCheval yes seriously
 
Seriously? You write jQuery but not javascript?! — amanaP lanaC A nalP A naM A 2 mins ago
 
@rlemon What, was he really cold?
 
4:29 PM
@SomeKittens No, he was coooooooooooool.
 
lol
 
 
lol @jAndy thats a good one
"Fuck that loser"
 
I'm still crying... laughing so hard
 
lol can't believe they said that
 
4:34 PM
hey guys, can someone look at my friends post and help him? he's quite in a hurry stackoverflow.com/questions/13842585/…
 
@Neal Okay, wtf... yeah... why isn't JavaScript listed under languages. Node.js is, jQuery is...
 
@RyanKinal ...
 
@Myhall I'm not familiar with scrollToFixed, sorry
 
In the survey. JavaScript isn't listed under "Which of the following languages or technologies have you used significantly in the past year?"
 
Common Lisp isn't either.
 
4:37 PM
@RyanKinal Neither is Chinese.
 
> Javascript is required for this site to function, please enable.
 
I suppose that's true. We can't expect them to have everything listed... but still. JavaScript: It's popular
 
^
js is one of the most popular languages Evar.
Its in the top 10 for sure
 
@Neil :-P
 
@Loktar last I heard it is the #1 language with active developers worldwide
meaning: more people are actively writing JS than any other language.
 
4:40 PM
makes sense
theres that one listing of langauges thats updated each month
java is #1 I believe
and js was like #4 or #5
 
@Neil Decided to add "English" to one of the languages I use the most.
 
TIOBE index thats it
damn JS dropped to 11 wtf
 
Basic is 7th and Perl is 8th...
lol
 
@Loktar I had a break, I'm back now, should get bumped up to #4 again.
 
says how much TIOBE should be trusted :)
 
4:42 PM
Sorry for that.
 
@OctavianDamiean woa, indeed!
 
@FlorianMargaine yeah idk how they get their data
I just see a lot of devs use it as a defacto list
 
I know, I'm world's belly button.
 
whats crazy is VB, and VB.net, honestly who the eff uses it
 
4:44 PM
what is that for a table ?
who made it and who is responsible for the 'rating value' ?
 
@Loktar You agree with it when JavaScript is on top and disagree if it's on position 11 ? :-P
 
document.write("Javascript is required for this site to function, please enable.");
 
@copy yes! :P
Im surprised you guys haven't heard of this, I see it posted on proggit all the time
used to anyway
 
I never heard about 'tiobe' really, so I'm pretty sceptical about those numbers from the start
 
@RyanKinal that was pretty much my answer
 
4:46 PM
yeah it looks like its based on search volume
and stats from alexa, etc
but idk, id trust github's stats over everything else
 
@RyanKinal Mine would be chat, occasionally edit some posts and flame users.
 
@rlemon Actually, I've now checked all the boxes
 
which JS is far in the lead
 
@OctavianDamiean lol
 
I have to doubt that table
C is in front? Eh?
 
4:50 PM
no big deal if some random website throws out a random table with numbers is it
 
I think the numbers make perfectly sense if you consider languages used in companies. Of course, no sane person would use VB for an open-source project and put that on github
 
no sane person would hire for a company which uses VB
 
:-(
<--- has been writing VB for the past 2.5 years
 
@copy Of course not, you wouldn't get any software development related job anymore if they'd find your GitHub profile.
 
oh @RyanKinal present company excepted
 
4:53 PM
has added @RyanKinal to his ignore list
 
lol
 
:'(
 
@RyanKinal Mission accomplished.
 
Off to nap
see ya later
 
4:59 PM
EWWW apparently chrome provides a global event object to "fix" crappy code that's written for old-IE...
 
@Neil Screw you!
 
@ThiefMaster which is ?
 
Probably the same like the argument passed to event callbacks
 
okk.. okay, having git now here at the company, but the requirement to still have patch files for all changes kinda.. kills pretty much of the enjoyment again
 
Do you guys have experience with working with GitHub? I did a bunch of pull requests on the "Can I use" project, e.g. github.com/Fyrd/caniuse/pull/78. All these pull request have been merged, and closed, and now there is a message at the bottom: "Pull request merged — the simevidas:patch-9 branch can be deleted safely.". Does this mean that I am supposed to do that now (delete the branch)?
 
5:07 PM
@Å imeVidas Your code has been merged into their branch
 
@SomeKittens Yes, I got that.
Should I delete all my branches now?
 
You don't have to, but you can.
(sorry for my initial misreading
 
Is there a point of leaving them open?
 
aw man
music at work totally rocks
 
5:14 PM
0
A: How to display alert and confirmation if back browser button has been clicked

NealI am going to answer the question in your title: How to display alert and confirmation if back browser button has been clicked You can't know if the "back" button was clicked or if the page was refreshed or just page changed -> The onunload event will handle all of those cases.

 
@FlorianMargaine If that was a pun, claps
 
@FlorianMargaine i couldn't agree more
@SomeKittens so..... mine would metalcore then?
 
... Who uses Opera? — Neal 5 secs ago
LOL
 
@jAndy Sounds much like someone didn't understand git at all. Or why else do you need to create patch files?
 
tinyAvatars += 1;
 
5:18 PM
You could probably create them automatically via a git hook though
 
@ThiefMaster: well, all customers have different versions of products and our 'leadership' thought that its a great idea to continue, using linux patch file, for patchting and upgrading those systems
which of course, causes more trouble than doing anything good at this point
 
@jAndy well, git patch handles this pretty well
 
well don't I feel stupid.. just realized that I forgot to remove the "disable cache" flag after debugging a web application
That explains a bit actually
 
(+ git apply)
 
Tell him about tags/branches ;p
But in case it runs on customer machines using patchfiles kind of makes sense so they don't have a clone containing all other versions, too...
 
5:21 PM
@FlorianMargaine: yea, but its a huge.. annoying thing.. in the workflow. Like creating a branch, doing some stuff and then before you merge or commit, create a patch and whatnot, sucks hard
 
@jAndy that's how they do it in drupal
they just do git diff > patch
since not much people have commit access...
 
Why doesn't whoever merges stuff there simply add the developer's repository as a remote and then git-merge from there?
 
because they don't have per-dev repositories
 
Isn't that half the point of distributed version control?
 
5:36 PM
If a dev has a clone of a repo on their machine, then they technically have their own repo. It's just that it may not be accessible remotely.
My company uses Mercurial as more of a centralized VCS, albeit with branches of the main repository (living on the central server, and cloned to dev machines)
 
That makes sense.
 
With people working from home, and likely to have varying IP addresses, it's more reliable than actually working with other peoples' repositories.
 
Which serious developer doesn't have some place where he store a public repository?
Could be github if it's public or his vps if it's private and he doesn't want to pay github money
 
I only have another HD and automated backups
 
The kind of serious developer who hasn't worked with DVCS very long?
I've kind of wondered if I could use git and cron to run automated backups (a remote push to a repo on a backup drive)
Or, rather, something cron-esque that runs under windows -_-
Scheduled tasks or some BS
 
5:44 PM
you could probably set up a sheduled task that runs git shell
 
I'm mostly just wondering how much data git can handle. Can it handle my music library?
 
ever heard of dropbox? :D
 
lol, yep
 
lol sorry.. I lol'd too
 
it was a sarcastic joke :D
 
5:46 PM
if you haven't heard of dropbox and are in tech.. well idk
@limelights ah ok good! lol
 
i couldnt really convey the sarcasm :(
 
Funsies?
 
^HD, full screen
Also, anyone here good with math?
 
@SomeKittens 1+1=3
 
5:50 PM
@SomeKittens Math?
 
@SomeKittens quite nice,but it lags quite much
 
@Olli let it load all the way
@RyanKinal I disagree. Math is like my mother. I'm always wrong and never quite sure why because she sucks at explaining.
 
lol
Man. OO in a Static-Typed, Classical language suuuuuuuuucks. It feels so... restrictive.
 
Which language?
 
... VB.NET -_-
 
5:57 PM
hehe
 
snicker
 
I really really want an object that inherits from another object. But NO. Classes inherit from one another, and then you create objects from those.
All I have to say is screw that
 
!!/google yegge land of nouns
 
@Zirak already figured out what the d field stands for in a websocket's message data object?
 
5:59 PM
@RyanKinal ^that
 

« first day (788 days earlier)      last day (4159 days later) »