« first day (1096 days earlier)      last day (3845 days later) » 

10:00 PM
Maybe git's motto should be "don't try to do stupid stuff or I'll let you do it" I guess
:P
 
NOOOOOOOOO I missed Layer Cake!!!!
 
<--- this space will be removed, right?
 
Or "we give you enough rope to shoot yourself in the foot" as one of my profs often said.
 
@Shmiddty which space?
 
Anyone mind taking a look at this OpenLayers javascript? My marker keeps redrawing but I just want to have one marker at all times codeshare.io/9Z1BE
 
10:01 PM
SO seems to do a trim on all messages
 
               trimmed?
 
@RyanKinal It's been 20 years. You can't just waltz back into my life like this.
 
Oh, hehe
Markdown'd
 
banana
!!tell shmiddty echo sup
mmk
 
10:04 PM
@Shmiddty I'll walk you through git this weekend, we'll do it on TS, it'll be easier.
 
@Shmiddty What source control do you use?
 
@SomeKittens at work? TFS
 
look at dat sick amount of food! 612 cals, I love life
 
0
Q: Why Facebook and LinkedIn are not truly Single Page Applications?

Mik378I'm currently building a single-page-application using AngularJs. While I'm happy with this way of doing, I've noticed that Facebook and LinkedIn always refresh the whole page while navigating across the different menus. Is there a good reason explaining why Facebook and LinkedIn (which aren't p...

 
I just sit down and eat a stick of butter for lunch
 
10:13 PM
var rgx = new RegExp('^!!\\s*\/?\\s*AFK','i');
console.log(
    [                    // expected actual
        "!!afk",         // true     true
        "!! afk",        // true     true
        "!!/afk",        // true     true
        "!! /afk",       // true     true
        "!! / afk",      // true     true
        "banana !!afk",  // false    false
        "banana !!/afk", // false    false
        "banana !! afk", // false    false
        "banana !! /afk",// false    false
        "banana !! / afk"// false    false
fun fact: all those true values will register as commands
!! / tell OctavianDamiean echo this works for some dumb reason.
 
@OctavianDamiean this works for some dumb reason.
 
Well, 1 and 3 are expected.
!! help
 
WAT!?
I didn't know that.
 
msg.trim().replace(/^\/\s*/,'')
^ that's why.
 
10:15 PM
Yea, I see.
 
The prefix is hardcoded now?
 
Fuck, that's what I'll do this weekend, no Terraria, reading through the bot code.
 
The prefix is stripped before it goes into listeners/command parsing
var possibleName = msg.trim().replace( /^\/\s*/, '' ).split( ' ' )[ 0 ]
 
Going to startup school this weekend, woo!
 
10:17 PM
so !! / foo is turned into foo
 
@caps 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.
 
@Shmiddty this might also be helpful for learning what the bot does and how
 
The !!/afk fix is now merged.
I assume we need to recompile Master.js and restart caprica?
 
@Shmiddty yes
 
interesting: jsfiddle.net/4kWCB/12 my if statement fails
 
10:27 PM
though the compiled master.js needs to be on GitHub
 
Yes.
Fuck ... of course I'm on Windows now and can't do it right away, I'll do it form my notebook before I go to bed.
 
floating point is very weird numbers when u subtract 0.1 through iteration =/ da fuck is going on
0.20000000000000015
0.10000000000000014
1.3877787807814457e-16

^ cos that makes sense :P
 
@Dave Did you notice the hundreds of exceptions in your console?
 
@Dave It's because computers store floating-point numbers imprecisely
!!> 0.3 - 0.2
 
@SomeKittens 0.1
@SomeKittens 0.09999999999999998
 
10:33 PM
@Dave feeling kinda dumb?
 
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). Many hardware floating point units use the IEEE 754 standard. The current version, IEEE 754-2008 published in August 2008, includes nearly all of the original IEEE 754-1985 standard and the IEEE Standard for Radix-Independent Floating-Point Arithmetic (IEEE 854-1987). The international standard ISO/IEC/IEEE 60559:2011 (with identical content to IEEE 754) has been approved for adoption through J...
That's why.
 
@Troy 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.
 
should i bother to round the numbers or leave them as is
 
@Dave doesn't matter as long as it's 0 when you want it to be 0
 
hi
 
10:38 PM
also, you shouldn't animate incrementally.
 
0
Q: Experience as Computer Science research assistant or Real Life development

Georgi AngelovI really hope that is is the place to ask this question as I researched around and saw that a few people wrote about resume questions so I felt appropriate to ask the following question here: I am debating whether to keep my current job as a Javascript/PHP developer or to do a research assistant...

 
Can't reload caprica till morning guys
not until I replace the refresh command
 
haha, oh Zirak.
 
what happened to it?
 
the following is a listener:
!!Should I eat bananas or apples?
and this is a command (the slash is optional):
!!/tell OctavianDamiean echo Stop fucking sheep!
!!search git
 
10:43 PM
@OctavianDamiean That didn't make much sense. Use the !!/help command to learn more.
 
!!findCommand git
!!info gm
!!gm add
OK.
 
shacon?
 
!!undo *5
Ok, that's still there.
 
!!undo
 
10:46 PM
@Shmiddty That was/is a git man page host thingy.
I'll write an actual command for that using the plugin API.
 
visit number 18 billion to caniuse
 
@OctavianDamiean So the page has a thicker beard than you?
 
@Shmiddty totally.
 
How can I call a function whenever the DOM is modified? (DOMSubtreeModified doesn't work)
 
@SomeKittens Oh that's ugly.
There was a CSS hack.
Generally listening to DOM changes is ugly.
 
10:50 PM
basically, I need to call a jQuery plugin whenever something's changed so placeholders work.
turns in developer card
 
0
Q: Simple DOM Traversing Function Similar to getElementsByClassName

JHofAs a learning exercise, I'm writing a function that's essentially a simple version of getElementsByClassName(). Unfortunately I'm having trouble traversing the DOM properly and can't get past the first DOM level. Could someone give me a hint as to why this isn't working? var getNodesWithClassna...

 
Yes, I know it is deprecated but so is IE9
!!forget gm
 
@OctavianDamiean Command gm forgotten.
 
@OctavianDamiean Thank you. Turns out DOMSubtreeModified does work, but I don't know how to write control flow
 
how many of you can actually see the image in the image: eyetricks.com/3dstereo17.htm
took me a while but i can see it
 
10:57 PM
Seriously, they disabled right click?
 
thanks ^
 
@SomeKittens it also wrecks performance.
 
Oh yea, it does.
 
back to the drawing board.
 
Fear not mortals. I have returned.
 
11:00 PM
Interesting idea. ghost.org
 
that's quite clearly a Z-95 headhunter.
Those were the predecessor to the X-Wing.
get it right, jeez.
 
!!afk trivia night
 
@Shmiddty Just go already!
 
Plus, the Z-95 had concussion missiles, which lack the punch of the X-Wing's proton torpedoes and never would have been able to take out the Death Star.
 
Oh hello, an actual Star Wars fan. :)
 
11:04 PM
ohai
 
this war will never end: youtube.com/watch?v=XwPWhLyuKaI
 
0
Q: Single Page Web Application and Requiring JavaScript

ZaemzI'm under the impression, and I agree with it, that it's bad to create a web application requiring JavaScript to function properly. What if one were to create a single page application? Is it possible to create one that doesn't rely on JavaScript, without being difficult, or full of "hacks"?

 
11:19 PM
Oh nice!
 

« first day (1096 days earlier)      last day (3845 days later) »