« first day (621 days earlier)      last day (4326 days later) » 

4:00 PM
avoid microsoft sidewinder kybds AT ALL COSTS.
I went back to my logitech G11 after experiencing that waste of technology
 
Woo, halfway to Strunk & White!
 
@ThiefMaster Your feet are glorious
 
anyone has Das Keyboard?
it's tempting, but I don't know if it has any real value
 
hm, it looks nice
but it's pretty expensive, wow
 
I have das keyboard :P
 
4:14 PM
and? how is it?
 
compared to what?
shitty plastic keyboard? awesome
 
is it special in any way?
 
well it doesn't have key inscriptions
it's blank
 
@Esailija they have a non-blank version
 
I have a blank version
for about a year now
 
4:16 PM
It's just got all the fancy stuff keyboard aficionados enjoy
 
@Zirak bleh, I hoped nobody would notice them.. totally forgot to crop the image
 
anyone want to help with some jQuery/regex funtime?
 
My website has been using a CSS :hover interaction since forever. We're moving to a JavaScript click. There are hundreds of these scripts out there. Is there one you know of that is mature and stable? I can always roll my own, but there will be bugs, of course. Thought I'd check before I start work.
 
what do you want to achieve with the js - click?
 
Pretty standard dropdown on click, maybe an automatic close after a few seconds of losing focus.
 
4:31 PM
And why do you think this is a difficult task which you can't overcome?
 
Dropdowns are so 2001. My screen 2 million pixels, why would you hide things behind mouse interaction ?
 
@copy Hey, I'm not the information architecture guy!
 
i have a form that i submit with ajax. the success function works as it should, but i'm not getting my POST variable sent back to the application. So the submit functionality doesn't get called. Shouldn't I be receiving a $_POST['archiveForm'] http response? pastebin.com/6sueBzEV
 
Don't work well on smartphones, without Javascript, etc.
 
@copy It's an intranet site, no worries.
 
4:32 PM
Intranet = awful UX or what ?
 
holy hell...2001 was 11 years ago.
 
@Zirak yea, tell me about it
 
I remember things I did in 2001! How can it be 11 years ago!?
 
@LeviMorrison If you have to do it (by your job), write your own
 
Why am I wasting my life here!? I've always wanted to be a lumberjack!
 
4:34 PM
and that's ok
 
Lumberjack ? Don't we have robots for that ?
 
I asked if there was a mature piece of OSS JavaScript I could use. There is nothing wrong with that.
 
Leaping from tree to tree, as they go down the rivers of British Columbia, with my best girl by my side!
!!what's OSS?
@Zirak oss definition: Office of Strategic Services. (source)
 
@Zirak here's a role model for u youtube.com/watch?v=5zey8567bcg
i thought cia replaced oss?
 
I put on women's clothing, and hang around in bars!
I wish I'd been a girlie, just like my dear papa!
But as a matter of fact, some of my best friends are lumberjacks, but only a few of them are transvestites.
 
4:40 PM
so we have a new hire!
I have heard shes older than my mom!
lol I just hope she knows her stuff..
"we used to pour water on paper to get elements to float"
 
Your mom? She knows her stuff.
 
dude my mom is an amazing web developer
she crafts facebook posts like no other
Im just excited to get insight on how they used to do CSS with sticks and rocks
 
"I IM all day and I know my way around IE7, why do you think I can't handle CS courses?"
 
"thats where the term block level came from"
 
@Loktar Rocks were zeros, sticks ones
 
4:42 PM
@copy because most people still have a 1280x800 resolution :p
 
Touring Machine (status: alpha)
The Himalayas were actually made by aliens to commune binary data.
 
@Loktar that made me laugh :D
 
lol yeah I have so many old jokes
 
u cut down trees, wear high heels, suspenders and a bra!
anywho...about that missing POST variable...
 
yeah, the variables are set according to the input name attribute. The form's name makes no difference.
 
4:45 PM
"In my day we used python to choke game, and .net to catch fish!"
 
ahhh. that's it, i bet
 
Also, Y U TREAT DOM LIKE HTML!? hits with CSS 0.1
 
"we used to tweet by training carrier pigeons!"
.. I hope she knows her stuff
otherwise I get to deal with another incompetent dev :?
 
i'm just trying out this code i fould elsewhere.
 
haha, what happened to the other girl dev (the pregnant one)?
She died giving birth to the devil?
 
4:47 PM
@Loktar it appears you equate age with incompetence. there's no correlation
 
In his case, he equates human with incompetence :P He brings forth many tales of stupidity
 
People can be incompetent at any age
 
@SomeKittens indeed
 
@Loktar maybe incompetent, but if she knows it it's better than your other coworker
who thinks she knows it all :x
 
conversely, i know a whole lot of incompetent young men.
 
4:50 PM
@MikeS Me, for example
 
yeah, but they know it and won't look at you like they know it all because they "got the experience".
 
There are about 20 of them in this room
Make that 21
 
@SomeKittens not in the least. @Zirak lol
 
22?
@MikeS if you don't consider yourself a noob, then you are
 
@MikeS You don't know me? Allow me to introduce myself
 
4:52 PM
@FlorianMargaine uhh, i'm not so sure of that. i know very few humble young men.
lol @SomeKittens
 
@MikeS HA I LISTEN TO OLD PEOPLE MUSIC TOO LOL!!!!!!111!!11ONEONE
Seriously, my generation's music is terrible
 
oh, and ignorance !== incompetence. but that's way too far off-topic.
 
There was the effect, can't remember the name (maybe Stogner), which said that the adept people didn't consider themselves adept, because they knew what they lack. However, the in-adept considered themselves skilled, because they can't judge the skill level.
 
@Zirak pretty close
 
@Zirak Dunning Kruger ?
 
Why is jsfiddle murder-inducingly slow today
 
@MikeS well I have worked with a lot of devs in the gov
 
@copy ah, that's the one. Had Stogner in my head because of Sturgeon's Law...which is still odd.
 
and all the older ones suck, along with most everyone else.
 
4:55 PM
@Esailija cuz it liked it so much yesterday, it's doing it again
 
The Dunning–Kruger effect is a cognitive bias in which unskilled individuals suffer from illusory superiority, mistakenly rating their ability much higher than average. This bias is attributed to a metacognitive inability of the unskilled to recognize their mistakes. Actual competence may weaken self-confidence, as competent individuals may falsely assume that others have an equivalent understanding. As Kruger and Dunning conclude, "the miscalibration of the incompetent stems from an error about the self, whereas the miscalibration of the highly competent stems from an error about others...
 
usually they have already retired from the mil doing a non tech job
so they are all jr. level
 
@Zirak thx for the ref. bravo
miscalibration of the incompetent LOVE THAT TERM
 
yeah I dont think im amazing or anything.
I just work in the gov.. and its pretty crazy
 
2 mins ago, by SomeKittens
http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
 
4:57 PM
our other dev here didnt even know what FTP was when she started.. making a sr. level salary
 
Any idea how to debug "forEach" and other native array methods?
 
@Loktar i feel for you. being a knowledge worker and in gov is a tough road to travel
 
How's "Project: Shove Canvas Down Their Throats" going?
 
The debugger doesn't step into the functions you supply as params to forEach
 
@Zirak haha I wish!
 
4:58 PM
Can I get javascript help here?
 
our dev here just learned about jQuery about a year ago..
 
@SomeKittens Step two: No, it's actually forEach
 
@FlorianMargaine the nohup hack is not working :X
 
and she still thinks its its own language :?
 
4:58 PM
only if you're humble. lololo
 
@milly No, you physically can't. If you try to get help, you will die.
 
@copy Step three: Ignore somekittens (PHP brain fart)
 
@FlorianMargaine the process was somehow shutdown
fuckk
 
lol well you all know much more than i do
 
on that cheery note, what's ur question @milly
 
4:59 PM
if anyone has a second, i posted this yesterday and got 0 answers so let me know if you have an idea what is wrong stackoverflow.com/questions/11226124/…
 
Any idea how do I debug forEach(function() { // code here });? Web Inspector debugger won't step in
 
uhhh oh. hope i dont die lol
 
@milly cut all the unrelated to your problem code, provide a clean example of your problem on jsfiddle.net and then people will try to help you
 
@gryzzly Replace by for loop is the first thing that comes to mind
 
@gryzzly i think someone mentioned foreach is not camel cased
 
5:01 PM
@copy yeah, that works
 
@gry
lol woops
 
bah looks like jsFiddle is getting slow again :?
 
Ok ill try that
 
@MikeS come on guys, I already gave a link to MDN. forEach is camel cased, because JavaScript unlike PHP is a sane language
 
editorializing won't help
 
5:02 PM
@copy just thought maybe there is some other way to do that
 
!!> [ typeof [].forEach, typeof [].foreach ];
@Zirak ["function","undefined"]
!!/tell MikeS mdn Array.forEach
 
i didnt see the link til now, fyvm. lol
 
Well, I feel a little better about myself now
 
@milly got it I think
 
o, and i sit corrected
 
5:05 PM
wait.. nm lol
I just got it working in fiddle. Now on to the issue
 
@Loktar JsLint hated it
 
jslint is a poop.
 
vs. a pee?
 
jslint hates everything, because it's a reflection of Crockford, who is full of hatred.
 
5:08 PM
Crockford is not full of hatred
 
haters gonna hate, so i heard.
 
I hate his stupid style rules mostly.
a+a=1
 
see
 
Google is full of hatred. The makers of CoffeeScript are full of hatred.
Crockford wants to find the good in JS
 
it must be a zen thing
<--hater lost his POST variable
 
5:12 PM
@milly also answered the question :)
 
I wish there was a way to maintain CSS :hover while checking styles with dev tools
That would make debugging crappy code so much easier.
 
@RyanKinal yep, clearly a missing feature
 
Of course, :hover should mostly be used for purely cosmetic changes, and display changes.
But when people use it for things like position, left, and top... it's a giant pain
 
@RyanKinal ooooh yeah
 
i work my way around that with a debugging-class most of the time
works fine, but an built-in way would be great
 
5:24 PM
@RyanKinal Chrome dev tool -» select your element -» (In the css panel, up-right ) toggle element state
 
omg
@DieVarDump I love you
 
One more time, please
 
In the configuration tools (bottom right) you can add some things too
pretty usefull
 
yeah, but I never think about it
 
5:27 PM
..
 
@Esailija soon 20k
 
ok I am gonna user forever
 
gz for the 18k :p
 
ty :P
 
Yesterday was the day Marty McFly arrives when he travels to the future
 
5:37 PM
@DieVarDump sigh No, it wasn't
That was shopped
 
oh :(
 
real date was (is?) in 2015
 
@FlorianMargaine oh lol nohup was just fine
TypeError: Object #<Worker> has no method 'kill'
crashed the main process
but it shouldn't crash ever
 
That makes me happy
 
5:38 PM
I didn't want to miss it
 
@Esailija you'd need some supervisor to relaunch it if it crashes then
 
no I mean the main process shouldn't ever crash because it has very little code
very little code to cause error etc
but the node.js douche bags just had to change .kill to .destroy()
who does that
they also changed the event "death" to "exit"
I'm never updating node again
 
@DieVarDump AWESOME
... now does Firebug have the same thing?
Don't get me wrong, I love Chrome dev tools, but when somebody (for some reason) has issues in FF, everything goes to hell.
 
now I know why people ever used firefox... they don't know all the features dev tools have
 
@Esailija any update comes with something, that's why there are changelogs :p
 
5:45 PM
@FlorianMargaine False. Vista.
 
You troll.
 
@FlorianMargaine you don't radically rename public api without any reason
why is destroy better than kill
 
it's a major version change
 
You do if you want to piss people off!
 
(for node)
node is not at 1.0 yet :p
I don't know if they'll ever be tho.
 
5:46 PM
maybe because *nix developers might expect kill to send a signal instead of just terminating the process?
 
kill/death vs destroy/exit
I am foreseeing destroy/destruction
I'll have the code ready for 0.9 LOL
 
@RyanKinal sure, css panel -» Style (top left) -» hover
 
But it's more sensible
 
@DieVarDump Thanks!
 
5:53 PM
You're welcome
 
@FlorianMargaine do you know if there is a problem
 
I debugged too much crappy CSS (sometimes mine) so if i can help, it's a pleasure
 
I did npm install forever -g
but it encountered error
but is it possible it left some crap behind?
 
hm
dunno
check the folder
supposedly, it leaves only npm-debug.log
 
good
 
5:55 PM
I'd double check tho
don't remember where the folder is
 
/usr/local/lib/node_modules/npm/node_modules ?
 
my vm isn't up :p
running vagrant up :-)
 
I installed it with ./configure make make install
 
it's /usr/local/lib/node_modules
and got an error if I try to install forever too
 
yeah fuck forever
cluster + nohup ftw
 
6:03 PM
I need a website that doesn't use google analytics
do you guys know of any? :|
 
@FlorianMargaine !google.com
actually, try microsoft.com
I'd say it's a safe bet they don't use google
 
@FlorianMargaine Syntax error on line 33, missed a +
 
yeah I'm on it
that's why I wanted a website to test on :p
there's something else wrong then :/
found it
 
can I ask here doubt in java here?
 
6:07 PM
wtf, they say it's only divs
 
@DineshVenkata Is this the java room?
 
What is Java ?
 
@DineshVenkata JavaScript !=(=) Java
 
I know that @SomeKittens
 
@DieVarDump It's the prefix for "script"
 
6:08 PM
Oh ok, thx
 
@DieVarDump It's what wakes me up every morning
 
javascript is a scripting language
I know that
 
@DineshVenkata Actually, I know some Java, shoot
 
java is a noobing language, did you know that
 
Legends say it's a language, but it collapsed under the weight of its own boringness.
 
6:08 PM
@DineshVenkata And Java is a crappy language, you should know that too.
 
yea @SomeKittens I can't seem to be get this working int a=in.nextInt();

for(int i=0;i<a;i++)
{
y[i]=in.nextInt();

}
Scanner in = new Scanner(System.in);
 
@Esailija Yes, but it's the one I had to do all my early assignments in (higher-level classes are language-agnostic)
 
I get a nullpointer exception
@DieVarDump I think Javascript borrows a lot from Java
 
you get a nullpointer exception ahah
 
does someone know a good tutorial for firebug? ima n00b on its advanced debugging tools.
 
6:10 PM
@DineshVenkata I thought our answers would not let you think you can ask about Java here
 
@DineshVenkata Are you using in before declaring it?
 
@DieVarDump .NET don't hurt me, don't hurt me, no more
 
i'm trying to read the headers, but it makes no sense to me
 
@DineshVenkata Join me in the java room
 
@SomeKittens Not just that...y could be of improper length, or not delcared at all.
 
6:11 PM
@SomeKittens ofcourse not
 
AAAHHH JAVA IN MY HEAD MAKE IT STOP MAKE IT STOP
2
 
@Zirak That would be ArrayIndexOutOfBounds
 
ok, I made a bad joke
 
JavaScript would do the right thing and just fail gracefully and give you some random result
 
6:12 PM
and is it just me but are you assignin scanner to in AFTER the loop
 
why isn't this working?
it looks like the request isn't made
 
Do these two functions make sense to anyone who isn't me?
 
ok, it worked
my vm just didn't have internet :D
@Zirak I'd refactor them into one can( permission, userid )
 
lol
they are awesome
don't fall into trap of string sirens
they will lure you
You can retain the elegance without cheating (not indenting function) by using $.proxy( step, null, i+1 ) :P — Esailija 47 secs ago
 
gist: A little script that will screw up people using campaigns on Google Analytics, 2012-06-28 14:40:31Z
/**
 * A little script that will screw up people using campaigns on Google
 * Analytics.
 *
 * Do. Not. Use.
 *
 * I am not responsible for any action that people may employ using this
 * little script. It was done purely out of curiosity.
 *
 * Usage:
 *     node shitanal.js url
 *
 * Example:
 *     node shitanal.js http://www.google.com/search
 *
 * PS: shitanal = shitty analytics. No offense intended, that's just a pun.
 */
var http = require( 'http' );

// Generate a random string of 10 characters
function randomString() {
    var text = '',
        possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
        len = possible.length;

    for ( var i = 0; i < 10; i++ ) {
        text += possible.charAt( Math.floor( Math.random() * len ) );
    }

    return text;
}

( function req() {
    // Generate the path
    var path = process.argv[ 2 ] + '?utm_campaign=' + randomString();

    http.get( path, function( res ) {
        if ( res.statusCode === 200 ) {
            console.log( 'Hit successfully: ' + path );
            req();
        }
        else {
            console.log( 'Error. Stopping the script.' );
        }
    } );
} () );
 
6:23 PM
pretty awesome but he cheated with that function
 
> PS: shitanal = shitty analytics. No offense intended, that's just a pun.
 
Yeah, the first thing which came to mind with shit-anal is shitty-analytics
 
:D
ok, gotta go
cya
 
LOL
don't name your file like that
it's experts-exchange for a reason
 
@FlorianMargaine Nice one
 
6:29 PM
omg what a douche bag
2
A: How to add class to a collection of elements sequentially?

EngineerTry something like this: (function step(i){ if( i < article.length ){ $(article[i]).addClass('some_class'); setTimeout(function(){ step(i+1) },10000); } })(0);

:'(
 
@FlorianMargaine That's a good idea
 
no it's not , wtf
stringly typed api?
 
ahahaha, nice one
 
okay, what's your take?
...without flogging with constants
 
@FlorianMargaine what exactly does that script mess up? (not familiar with GA)
 
6:32 PM
.canUse() is much better than .can("use")
 
@ThiefMaster What is that? a blow dryer and a paint roller with toilet paper on it?
 
throws in towel obviously doing something wrong. cannot get my form to submit. when i run firebug, POST header is blank. here's the code. i'd sure appreciate the help with this. thx pastie.org/4167051
@KyleTrauberman looks like a leaf blower
 
ahh, that makes sense
I want to try that on my wife. :P
 
no clue, but i guess it's a lot of fun if you have a girlfriend that spends too much time in the bathroom
 
wtf is that??
 
6:37 PM
u notice they don't show the part where she stabs him in the eye with an icepick
 
@ThiefMaster what is that amazing contraption?
 
it wouldn't be funny if they did.
 
@Esailija //make canUse and canDel
[ 'Use', 'Del' ].forEach(function ( perm ) {
    var low = perm.toLowerCase();

    cmd[ 'can' + perm ] = function ( usrid ) {
        var canDo = this.permissions[ low ];

        return canDo === 'ALL' || canDo !== 'NONE' && canDo.indexOf( usrid ) > -1;
    };
});
 
Yep
 
nm someone asked.
I should l2readup
 
6:38 PM
looks like halloween gear if u ask me
 
just please don't do can("STRINGHERE") :D
 
I took it to that :P
 
@MikeS what is POST header
can you use a real tool like chrome dev tools
 
@MikeS Because you didn't specify the method?
owait, nvm...ajax shit
actually, yeah, you didn't include any data
So naturally no data will be sent
 
you have better eyes than I
 
6:45 PM
can somebody lend me a hand smoothing the edges ?
 
oh crap, I forgot all about hex character entities. &#xaf0 or shit.
 
next project Javascript Comment De-editorializer (i'll be rich)!
 
OK guys, I need your opinion
 
xanax smoothes my edges
 
Yes, they do make you look fat
 
6:49 PM
I'm getting into web design, should I first learn jquery or javascript?
 
ducks
 
slams head on desk
 
plain javascript, but from an up-to-date resource
 
@ThiefMaster takes the bullet for everyone
 
that is, no w3schools, no tutorials that even mention netscape, document.all or document.layers in their code, no tutorials that are older than 1-2 years
 
6:50 PM
@ThiefMaster I envy you. So young. Still have the power.
 
as soon as you are familiar with javascript, getting familiar with jQuery is not a bad idea - it's incredibly useful and popular

Noob Javascript Resources

Jun 15 at 13:05, 1 minute total – 11 messages, 2 users, 0 stars

Bookmarked Jun 15 at 13:09 by rlemon

 
Correction: As soon as you are familiar with the DOM
 
if you are truly familiar with javascript you know what libraries to use
 
-insert snarky editorial here (when i think of it)-
 
you can make those decisions for yourself by then
 
6:51 PM
Oh, and DOM is not related to BDSM in this context
 
I've already gone through Jeremy Keith's DOM scripting -- what's the point on knowing knowing the old DOM model when jqeury takes care of all that tedious coding?
 
wait, you are getting into web design?
learn photoshop and css I guess..
 
-knowing*
 
9
A: What benefits are there to native JavaScript development?

ZirakLet's talk about cars. Oh wait, we already did - remember that time we met, a few weeks ago, over steak and drinks? That was a great stake. We talked about cars. In fact, you seemed to be quite the expert on cars. You were able to explain, in detail, all of what's right and wrong and exciting ab...

5
 
@MikeS: Depending on what you are doing it does fit into the M of BDSM though
especially when IE6 (sometimes also 7 and 8) is involved.
 
6:58 PM
got it
 
People tend to think laziness is a fact of life, dictated to them when they're born. It's not (or at least, shouldn't be.) Laziness is awarded to those who work hard to obtain it.
 
beautiful
 

« first day (621 days earlier)      last day (4326 days later) »