« first day (760 days earlier)      last day (4413 days later) » 

00:02
Ahoy hoy
@Loktar I wish!
my teen stash pisses off my gf so bad
lol
yeah my wife would not like a stash.
she hates it A) because her father has a mustache, and B) because it pricks her when I kiss her.
So don't kiss her.
@rlemon, I won.
00:07
I tried that, she bitched.
damned if I do, damned if I dont
But I lost the game.
@phenomnomnominal reading the source for the answers is cheating!
I lose the game
22 secs ago, by rlemon
16 secs ago, by rlemon
9 secs ago, by rlemon
THE GAME!!!
Promise I didn't!
I'm losing less than you.
00:08
What, may I ask, are you gentlemen talking about?
Jayceon Terrell Taylor (born November 29, 1979), known by his stage name Game and The Game, is an American rapper, entrepreneur, record producer and actor. Game is best known as a rapper in the West Coast hip hop scene, and for being one of Dr. Dre's most notable protégés. Born in Los Angeles, California, he released his first mixtape You Know What It Is Vol. 1 in 2002, and landed a record deal with the independent label Get Low Recordz owned by JT the Bigga Figga. Game's mixtape reached the hands of Sean Combs, founder of Bad Boy Records, who originally was on the verge of signing him to...
@monners That is a good question.
!!/urban The Game
@phenomnomnominal [The Game](http://the-game.urbanup.com/1635423) If you think about The Game, you lose The Game.

When you lose, you must tell everyone near you.

You can not stop playing The Game once informed of the rules. However, the game is to be sold, not to be told.

When you hear someone lose the game, then you lose, hate the player.

The only way to win The Game is to really, honestly, forget about The Game. This rarely happens so basically you win but will never know you win because as soon as you do, you lose.
(see full text)
@rlemon That brings me back to.... primary school.
:P
I suppose that makes coma patients the grand masters of the game
00:14
Nah, coma patients think about the game the most.
Dead people, they're the real winners.
But they're ineligible for participation on account fo the fact that they're... dead.
That's not in the rules..
I just lost the game.
It's a logical inference. To include dead people would mean to include inanimate matter. Surely you're not telling me that rocks can play the game?
I see no reason to be exclusive?
@monners Of course. My pet rock is a 23-time international champion.
00:17
So yep, humans just suck at the game, because we're the only ones who can lose it, due to the fact that we're the only ones who can think about it.
Actually, dolphins probably suck at the game too. I bet they think about it CONSTANTLY
By that right though we're the only ones that can win it because we're the only ones that can actively play it.
The only way to win is to not know you're playing it
I just get drunk.... I'm a winner in my own rights. screw you all..
Is there a way to dump data into a blob and then let a user download it?
without uploading to a server?
!!/define blob
00:19
I have a feeling I saw a blog post about it
function TheGame(game) {
    if (game.length === 0) {
        return;
    } else {
        alert("You just lost");
    }
}
function TheGame(game) {
    while (game != null) {
        console.log("You just lost the Game");
        TheGame(game);
    }
}
Somehow the human brain is awesome enough to beat the infinite loop
I agree. Again, coma patients!
Who want to help me make a web based pro tools clone?
Pro Tools the music software?
00:23
Yeah
Wow. That sounds complicated...
I figure with the WebAudio API, getUserMedia and the FileWriter API it can be done now
Well it's not toooooo bad
that might upset Pro Tools a little :P
Doubt it!
It would probably be closer to Audacity
Just the ability to record a few tracks, do some basic mixing and then download an mp3
And how would you integrate it into MIDI peripherals, etc?
Rather, how would you integrate MIDI peripheral input into it...
00:25
Hmm, not sure if getUserMedia allows for midi, but it does allow mike access, which is what i'd aim for at the start
being able to record a few guitars + vox in the browser and then some sort of UI for keyboards. Making a synth in JS is pretty easy.
I'm certainly not at a level to offer any assistance, but good luck!
I think it might be my summer project
Anyone know a good resource for learning the basics of caching/cookies?
this 'summer' (more likely the two weeks off over christmas) I want to make a expandable 'VIM + jsfiddle' and call it VIMiddle
basically js fiddle / codepen with VIM in the browser
aww yea
revel in it's awesomeness
00:30
then I wanna make it so I can easily expand the commands
I'll revel when it's real
each account can have it's own ".profile" scripting area
@monners the editor syntax highlighting is a PITA (imo) but the rest i've basically already written for a number of other projects
(text location, selecting, inserting, executing, etc)
Sweet. Do it!
00:32
eurgh so many things to do... fix my god awful website, clean up all the code from all my projects this year, get them all on the site, finish my masters application THEN i can work on fun stuff
best part is, each individual component is alive already in the wild - I just need to put them all together :P
@phenomnomnominal for me it is; 9 concurrent work projects, my personal site, lemon meme, this new idea, and I have one other idea i'm not letting into the wild (yet) until I actually make it.
the nine work projects are killing me
it's hard to focus on one thing, let alone nine
Yeah I start an internship in 2 weeks too, so little time
"single programmer in the entire company " world problems
00:34
Yeah, tell them to hire you some help
we are - I've lost touch on my C programming over the years so i'm trying to find someone very competent in C atm
I can handle the rest :P let him deal with converting the QNX apps over to Linux :P
Oh well that's good then. What sort of company is it?
it's basically "compile... fix error... compile... replace header"... compile.... google for 2 hours trying to find an alternative because QNX is stupid..."
Industrial Automation for the food and grain industry (Dryer Control Systems)
yea not so exciting (the job is, the clients are not :P)
00:37
Clients ALWAYS ruin it though haha
Well, not always
buncha farmers, they are cool in the sense that they'll listen to you and take your advice on almost anything technology based. but they are dumb as bricks when you are trying to remote troubleshoot
Haha yes I imagine
they also don't seem to understand "liability" and always are all about the "well can't you just log into my computer from there and fix the problem" :P no, no I cannot.
they understand how to use TeamViewer but not how to do basic port forwarding ? common now
Better than farmers in NZ. Some of the most ridiculously backwards people in the world...
@phenomnomnominal Clearly you haven't been to rural Texas
00:40
Hahah, no I have not
well I didn't do one for a while, not much happened (it's PM for most of us, work is done) . we discussed some new ideas for services, THE GAME, and why rlemons teen stash is awesome cool. Also someone actually played my Hangman game. Now I see a girl has joined the room, Welcome @Patricia! Don't worry guys, I already google image searched her profile pic, I think she is for real. Anyways that is my recap - same bat hour - same bat channel. wooosh!!!
@rlemon oh sweet, can i expect regular room-activity summaries?
what the actual fuck?
@GNi33 see the link in the room description. click it
Next step, make the bot do it.
parsing the chat for a witty update would be hard.
00:42
Yeah, but awesome
@rlemon seriously, i just saw that one i pinged to starred and wrote
I spend a long time thinking this shit up you know, it's not like I just write whatever comes to mind first.....
right before hitting the enter key, you post a new one :D
Girl programmers are like unicorns
00:43
mythical?
They totally exist.
hot girl programmers make me think they never took CS101.... because if they saw the caliber of men they were going to be sitting acrossed for the rest of their careers.....
hehe, i love the idea of those tl-dr-updates
my girlfriend: how much do you miss me (yes she asked this)
me: I miss you like Brittney Spears misses her career and self respect.
^ my bazinga of the night
00:45
my girlfriend: -


i don't have a girlfriend
:'(
LOL
sorry, I laugh because it's witty not because of your self sorrow and inevitable personal "enjoyments"
;)
nah, i'm actually pretty near on getting into a relationship (or something like it at least), so...
but i don't have time for that stuff people use to call "life" anyhow
is there any value to this?

function private(obj, prop, value) {
    if (Object.defineProperty) {
      Object.defineProperty(obj, prop, { value: value, writable: false, enumerable: true, configurable: false });
    } else {
      obj[prop] = value;
    }
    return obj;
}
it's right there in the arguments, you just need to make sure you pass it
Let me reword that: Are there any blaring issues with this as a way to declare 'private' variables?
oh
duh
yes
this will make them constants.
;)
it's getting late, i'm just being a no-funny-troll right now
and yes, you probably don't want to set writable:false
I was at Weta when they were finishing up Prometheus and I had just assumed they were cg too.
but that would work for constants right?
00:53
There are a lot more films in there than just tat one
watch it you'll recognize chars you likely also assumed were CG
Yeah I am, it's awesome
HOLY CRAP THE VOGONS ARE NOT CG?
MIND BLOWN o_O
no fucking way.
That seal is ridiculous
People are idiots: 'Worst movie ever. Who cares how it was made? Ick.'
01:08
Could anyone recommend a good guide to submitting forms via AJAX to PHP?
Currently I'm doing it the old-school way just passing it to the validation file in PHP with action="/post.php" etc.
An example of the form is here is you're bored: ezrahub.com/board/thread/38979.php
Clarification: don't need to validate the form with JS or jQuery, just pass it to PHP file without a page load, if this is possible.
var xhr = new XMLHttpRequest();
xhr.open('GET', url, false);
xhr.onreadystatechange = function() {
     if( xhr.readyState == 4 && xhr.status == 200 ) {
           // response is in xhr object
     }
};
xhr.send(data);
data is key=value&key2=value&key3=value
And can I wrap that in a $('submitbutton').click( function {}); etc.?
Or in the HTML.. action="submitform();" etc.?
Also I'm using POST and not GET
well do you want to use jQuery or just plain old js with no libs
if you only need ajax and don't care about old IE support then you don't need jQuery
Definitely want to use jQuery since I'm alreayd using it for a lot of other stuff
!!/tell wnajar jquery ajax
01:15
beat me too it
Unless you think regular old javascript is better. I've never done any ajax stuff with JS so this is quite new...
well if you are already loading jQuery just use it
Reading the doc now
If you have jquery already, use it
and you bet me to it
lol "old javascript"
01:16

Javascript Resources.

Sep 4 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 at 13:40 by rlemon

BUT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
don't let jQuery be your crutch. there is a lot it cannot do and a lot that it does not do well.
Learn JavaScript!!!!
that is all
don't be blind and use use it learn HOW it does it
Do I want to be sending a datastring?
I see a lot of people using .serialize()
@monners, sure hope that was sarcasm
01:18
1 message moved to recycle bin
Blatant abuse of power: 1 | @monners: 0
And maybe also use a .preventDefault(); and leave the normal action in? (for those without JS)?
@wnajar lol, if they don't have js then preventDefault won't fire anyways
Durrr good point lol
01:19
and in jQuery return false fires preventDefault and stopPropagation
so you only need return false (for most cases)
Hm.. alright, gonna try this
how many people don't have js these days?
2% (desktop, older mobiles maybe more)
Not much expected on the first try...
wow, that many?
oh of course
01:20
Quick question.. does my JS $("#thepostform").submit(function(e){ take precedence over what I have in the html, to submit it to /post.php?
Or will i be POSTing twice?
@wnajar As long as you preventDefault then you shouldn't be posting twice.
So right now I have:
    $(document).ready(function(){
    $("#thepostform").submit(function(e){
       e.preventDefault();
        dataString = $("#thepostform").serialize();
        $.ajax({
        	type: "POST",
        	url: "/post.php",
        	data: dataString,
        	dataType: "json",
		});
    });
});
@rlemon
There we go... ^^
01:24
Am I doin it right?
@phenomnomnominal Sarcasm? Never.
No luck.. doesn't work right now
// ok so I will be nice here
// 1. you put this code at the end of your HTML just before the </body> tag,
// include it in a <script> tag or in a included file (but either way make sure the script tag is there)
// you don't need to wait for the "dom" to load now because it already is loaded (minus images and iframe data)
$("#thepostform").on('submit', function() { // use .on handlers for the love of pete
    var dataString = $("#thepostform").serialize(); // use VAR or you will kill a baby seal
(see full text)
LOL
Thanks... I know 1, 2 and 3
01:28
Thanks for being nice
glad you can take the sarcasm + thinly veiled contempt
I know how it is explaining to others.. it seems so obvious to you but for the guy who just started it's like chinese
I feel that way explaining other things that aren't this, as you can see
i kid i kid, and if jQuery had existed in 1998 I would have totally used it instead of taking the painstaking hours of learning the language ;)
I'd imagine it was quite a different beast in 98?
01:30
Hm..
Still not doing anything
now today, with the power of the internet and the overwhelmingly large community there is no reason not to sit down for like 20 hours and learn js.
Console isn't being too helpful
there is almost no other language you can learn in the same time you can js
^ because of the large community
just read the definitive guide and you're pretty much on it
Try teaching someone to juggle. It takes a very special kind of patience, presumably the same kind that good programming teachers possess
01:31
Code is in: ezrahub.com/static/javascript/thread.js at the very bottom
definitive guide 6th ed is stale. I read all 1000+ pages. the good parts is good, but doesn't cover everything I would need... so I suggest reading both.
eloquentjavascript.net is also a good read
Chrome console says literally nothing when I submit it.. but it doesn't go through the normal posting action..?
Really? Stale? I thought it was great! +1 on eloquentjavascript though
Maybe I'm just partial to Rhinos
and I only do this as an enthusiast...... I wish I could code my work in js...
What's your language of choice at work?
01:33
Any thoughts?
Hopefully nothing to derelict
c++/c#
Can I assume you use Visual Studio? If so, lucky.
embedded systems is c/c++ and user management software (remote) is c#.net
vs2012 pro, and VIM
notepad++ and geany are my quick and dirty editory (gui)
vs is so good, i was doing some XNA stuff, so I had to use parallels on my mac anyways, and it was the best
but i just use textmate most of the time
01:35
do you do much front end web development
yes and no
or web development period.? basically anything not .net
yes i do client side work, but hardly any ui
i'm in love with node
for .net VS all the way, for anything else learn VIM or Emacs
and making big things in JS
01:36
and if you haven't already, learn the power of linux. start with Ubuntu or Fedora and dive in. (Arch is good as well)
yeah weta is a linux shop
@wnajar where is ezrahub.com/static/javascript/thread.js included in the HTML
the head? or at the end of the body
At the very bottom
Right before the closing </body> tag
do you have a live site I can look at?
I commented out the code also so users could use the site
Yes
01:40
I will be testing, feel free to bin my test posts when i'm done.
i'll post them all as rlemon
I can uncomment the code if you want to see what happens (nothing right now)
onsubmit="return dopost(this);"
this is blocking my code
was about to comment that
<form id="thepostform" name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="/post.php" method="post">
Flood attempt on the board detected. Your post has been discarded. Cool down for a second and try again!
SWEET!
01:42
Ah okay, I'll uncomment that
comment the onsubmit
And comment out the JS
uncomment
no I just removed the onsubmit and added my code and it gave me that message
You get the idea
Oh!
power of chrome dev tools at work
You can only make a post once every 10 seconds, so if you try to do it more often than that, you'll get that error message
ALL OF YOUR CLIENT CODE IS BELONG TO US!
no, I only did it once
01:43
You seem to have submitted the post though..
Those last two posts are mine.
14 secs ago, by rlemon
8 secs ago, by rlemon
4 mins ago, by rlemon
i'll post them all as rlemon
Ah, so it didn't work
sorry i'm an ass, but i'm also Canadian so i'll apologize for it
Yeah weird, I get that flood error too
Trying to do it via AJAX
I removed the flood time
And it seems to work, but the post isn't made
01:46
well you seem to have a lot of code running there that you don't understand
:/
(hate to say it, but it's all mashed together)
programming by coincidence means you often are left scratching your head.
Yeah, I wrote most of the other code, but it takes a while to go through it all.
Remembering which part did what. Also it's a collaborative project by a bunch of students
Worked for me, it just took a while
I just undid it all so users could use the site
One drawback of testing this on a live site, hah
pfft, your js is raped by my dev tools.
you can't stop me
I'm gonna go to the gym, will have another crack at it after
01:50
So for all < 10K users, (at least I know this works for room owners) you can see your own flagged messages (don't go flagging shit to test this because 10K+ users will get pissed about it) by permalinking the post > then checking the "history" against it.
Wait, messages that we flagged or messages of ours that were flagged?
@SomeKittens maybe both
I think i've found a loophole in the system
@phenomnomnominal wats that?
01:57
Seriously?
teach them right for using asp.net
!!/define bonjour
@phenomnomnominal french? what does it mean
@rlemon bonjour: good day. (source)
@rlemon thanks.

« first day (760 days earlier)      last day (4413 days later) »