« first day (999 days earlier)      last day (3964 days later) » 

10:00 PM
I look at old games and think "Damn, how did we ever play these for so long?!" then I think what the future us will think of games like Angry Birds.
 
@rlemon future? I hate that game.
 
you can never win
 
@NagaJolokia crap... they do...
That is not good. I have to rewrite it better...
 
Oof. Well doesn't it just need a this.queue = [] in the constructor? Should be easy to fix.
 
@NagaJolokia fixed it
 
10:03 PM
Cool!
 
dunno why I did not catch that earlier
 
0
Q: generic chaining technique for overloaded method

Michael BestA common operation in JavaScript is to replace an object method with a new one while still calling the original method. This is often done like this: var originalMethod = obj.method; obj.method = function(arg) { // call original method originalMethod.call(this, arg); // do my stuff n...

 
@Neal I think you can remove queue and running from the prototype too, if you want.
 
@NagaJolokia well now it works if you do not want to do new Queue, you can technically run it from the prototype as well.
 
Oh yeah.
 
10:11 PM
@BenjaminGruenbaum I'm looking at the TODOMVC for backbone, but I can't see where they are persisting/retrieving the data. Do you have any clue where that might be?
 
user1125394
@BenjaminGruenbaum this one is the coolest dukascopy.com/client/javadoc/com/dukascopy/api/system/…
 
@Shmiddty Backbone usually uses .fetch and .sync for fetching data and has Backbone.LocalStorage for saving it.
Link?
 
user1125394
since I want to auth more than 1 account, I'm screwed
 
0
A: generic chaining technique for overloaded method

Benjamin GruenbaumHere is another approach. What you're doing here is very common in a Decorator pattern. In most languages, this is done by both composing and extending an object. In JavaScript, this isn't needed - you can simply use prototypical inheritance. Here is what I would do to decorate a function in ...

 
user1125394
and whoever also code with singletons should confess :p
 
10:21 PM
@Loktar it looks like CodePen listened to me (or multiple people) about the fork line - now it lists parents and children in categories
 
10:38 PM
@cx I'm working on some code that is kind of a singleton.
 
@Shmiddty Has it lied to you yet?
 
ihs.modules.materialRequests = (function () {
    var app;

    function MaterialRequestApp() {
        var AppView;

        this.init = function () {

        };
    }

    return {
        init: function () {
            if (app === undefined)
                app = new MaterialRequestApp();

            app.init();
        },
        cleanup: function () {
            // cleanup after ourselves!
            app.cleanup();
            app = undefined;
        }
    };
})();
It's only kind of a singleton
 
so I am going absolutely insane about something tiny. I have a response to an AJAX post, and when I alert (response); it shows up differently than .html(response)...I'm just echoing my SQL call to check on things...with the alert it shows up as: ...WHERE productName = 'Products Name';
and with the .html it shows up as ...WHERE productName = '';
 
@radleybobins escape it.
 
okay ill try that
 
10:46 PM
:(
my first instance of the chat log biting me in the ass
er.. that might not be it
anyway before I knew Fransesco I joked about his profile pic
there we go.
 
@Shmiddty You have to give the pattern a name with lots of syllables.
 
> codepen.io/Francext <-- makes some cool stuff but.. his pic freaks me out like hes staring into my soul, maybe even wants to give me a little rape.
:? whats annoying is the log doesnt cache images (so it shows his current image)
so it shows his most recent pic, I think he assumes its a recent comment I made
/me puts foot in mouth
man I need to remember this chat is searchable on google dangit
 
@Loktar both of those links are the same...
can you link to the specific message?
 
yeah
Mar 1 at 15:56, by Loktar
http://codepen.io/Francext <-- makes some cool stuff
 
oh nvm
 
10:50 PM
there we go, sorry
thats the link he emailed me
I feel bad now, because now I know him and hes really cool
but yeah it shows his most recent pic
so lame, even the mustachify works on it as well.. which is even crazier lol
 
@scmiddty the escaping didn't change anything
@schmiddty any other ideas?
 
@rlemon thats badass about codepen!
I hated the forkline before
even when I forked something, it looked like I made it so I would make sure not to fork
/me wonders who else I've talked crap about in the so chat
old coworkers meh
 
user1125394
11:06 PM
@Shmiddty yep:) dukascopy.com/swiss/english/forex/jforex/forum/… now I'll wait their reply, fortunatyely they are responsive
 
banana
 
user1125394
o shit it's javaScript room, I always forget :p
 
-_-
 
wait..... @Loktar he called you out on that?
was he offended?
 
11:23 PM
home time
 
good
@BenjaminGruenbaum win 7 or 8?
 
@Shmiddty It's easier, bot-wise. That way I don't have to look track the middle of the screen to see the last message
 
@NagaJolokia double jump past the apple to the very very edge of the plat
 
11:35 PM
I hate Patrick Ness. Just finished the "Chaos Walking" trilogy. And I also love him.
AGH
Why must things be complex
@RyanKinal I think you'd like this trilogy
@Amaan Same goes to you
 
@Gacnt It keeps getting me!
(cherry)
Got past the chapple, quantum spike of death killed me.
 
I'll give it a look. Eventually. Maybe.
 
Starts with "The Knife of Never Letting Go". Fucking brilliant. I hate him. This is the ending of Evangelion all over again, with less psychedelia.
 
 
Also, dammit PDO. Why don't you return native DB types instead of strings? :shakes fist:
 
0
Q: MySql PHP Insert with join

bushdiverI can't get the following Insert to work although the syntax seems correct.. INSERT INTO views T JOIN members T2 ON '$username' = T2.username (ITEM_ID, ITEM_TYPE, USER_ID, USER_TYPE) VALUES('$itemview', '$type', T2.id, '$usertype') All the variables are predefined of course.. W...

 
user1125394
php is the next door
 
@Gacnt Yep. Then what?
 
I don't know.. lol
 
@cx Yeah, I know. I'm just bitchin' and moanin'.
 
11:39 PM
Oooh, so close to the platform!
How many levels are there?
 
Nobody knows.
Except maybe copy.
Maybe
 
user1125394
it's inception-level design
 
!!/weather Kuwait
 
@rlemon [](openweathermap.org/city/285787): 32C (305.15K), sky is clear
 
Ugh. I should buy some beer so I can tolerate writing more documentation tonight.
 
user1125394
11:41 PM
/me hmm I'll SO this java question, may have better solutions
 
!!/weather yourmom
 
@RyanKinal Sorry, I couldn't get the data: Error: Not found city
 
!!/weather hell
 
@Gacnt The platform on the very right
 
@RyanKinal West Bay: 28C (301.15K), few clouds
 
11:42 PM
Not bad
 
@NagaJolokia 2
 
Do they, uh, get harder?
2
 
ROFL
Also, that's what she said
 
@NagaJolokia Just a little bit
 
I made the platform move! And then I died.
 
11:47 PM
Anybody ever watch MAximumsblack rage through of I wanna be the boshy / I wanna be the guy / gaiden
 
Dammit. How do you get on it?
 
@NagaJolokia Which one?
 
user1125394
I bet you can hack it in js
 
On moving platform.
Now spiked against wall. :'-(
 
Try jumping
 
11:53 PM
Trying!
I did.
I fell off.
 
TRY HARDER
 
user1125394
ahh shit that java breaks my design, ok gonna cry further
 

« first day (999 days earlier)      last day (3964 days later) »