« first day (1188 days earlier)      last day (3767 days later) » 

Does this channel allow jquery questions? :)
 
Hey, was wondering if anyone has any pointers on how the background of nardove.com works in javascript, or if anyone could point me to a place that I could find out how to do something like it. Like a full canvas background, if there is a good way to go about doing it.
 
full size canvas
uses caat.js maybe
my guess
ah uses processing.js
 
yeah and paper.js
 
@Karl just watch the window.resize event
make the canvas height and width window.innerwidth/innerHeight
hide the overflow of the body
 
6:05 PM
@Jacta Sorry, only mootools and prototype
 
also fuckinghatesyou.com (which is basically like my pen above)
 
@Jacta Yeah, but if it's about a plugin none of us know, expect silence.
 
thats how I do it anyway
some browsers allow you to get super fancy and specify the canvas element as the background of an element
 
Awesome! Thats super helpful. So you think looking at the source of those two sites I'll have enough to get the canvas to resize and also be able to easily put div's over it?
 
w/o needing to add a canvas element to the dom
 
6:07 PM
My SQL question doesn't seem to interest people. Would it interest you ?
1
Q: Filtering on a value computed using a subquery

dystroyThis query works : select r.id, name, description, private, auth, (select count (*) from message m where m.room = r.id) as messageCount from room r left join room_auth a on a.room=r.id and a.player='11' where private is false or auth is not null; This one doesn't : select r.id, name, descript...

 
@Karl looking at the second site should help you more
because I have a div over the canvas element with text
not sure if i min'd the code..
^ the source, super small lol
oh for that one I use
  height = canvas.height = document.body.offsetHeight;
  width = canvas.width = document.body.offsetWidth;
document.body.offsetHeight/width is useful if the page will scroll and you want the canvas larger than the window display
 
@dystroy hmmmmmm
 
Thats awesome!
 
haha also I apologize for the vulgar domain name, depending on where you work its nsfw I guess, just due to the word fucking. But there is nothing bad on the site
 
Cool. Thank you very very much! That should do it!
 
6:10 PM
yeah np good luck
 
Thanks
 
@Loktar Ooh, you made it all colourful and happy!
 
haha yea
 
is there a way to get jsfiddle.net/bopperben/DBpJe to work correct - when I choose a month and open again, it shows jan 2014 again - i want it to show correct month somehow
 
user1596138
6:22 PM
Bosses wife made me sympathy cookies hahaha
 
!!mustache rthor
 
awww
 
so cute
 
@rthor I feel as though you are staring into my soul
 
6:25 PM
and asking me "why not?"
 
okay, it's creeping me out. had to delete the image tag.
 
poor guy
 
@Jhawins Hahaha
 
!!unonebox enable
 
@rlemon un onebox enabled
 
6:26 PM
Oh, sweet!
I'd forgotten you'd added that
 
it's been done for a long time. no one enabled it
 
user1596138
!!wiki stuff
 
user1596138
Hmm... Delayed right?
 
Haha
 
6:27 PM
90 seconds and she'll kill that onebox
 
!!wiki my balls
 
Yeah
 
user1596138
Sweet. That's what I thought. We shall see.
 
wow.. it worked..
 
6:27 PM
worked in testing.
 
young bleed is my hero!
> they call me young bleed cuz I fell off my bike at 7 yo
 
hrm
seems like it has been 90 seconds
 
user1596138
How long has it been lol
 
user1596138
THERE!
 
there we go!
 
user1596138
6:28 PM
Hell yeah. Props.
 
works like a charm :P
 
niiiice
I likes it
 
Pretty awesome
 
user1596138
That's possibly one of the most actually useful features we've had. As far as non-owners are concerned anyway.
 
I'll keep it enabled then
:)
 
user1596138
6:29 PM
Too bad she can't do it to other peoples messages too.
 
Haha
 
user1596138
Can mods even edit other people's messages?
 
yes
 
yeah
I don't think we can get a mod to host the bot, though :p
 
I've had a mod edit mine for a joke :P
it was a funny joke too
I wish I remembered what it was
 
6:30 PM
That works, +1, but... that's so ugly... — dystroy 33 secs ago
 
thanx lemn :D
 
damn I do good work :D
 
user1596138
Petition to give the bot a diamond. Haha
 
will never happen
lets get the bot to 1K rep first
 
@Neal You still want to be a room owner?
 
user1596138
6:34 PM
@rlemon people will need to start answering questions from @CapricaSix
 
user1596138
@SomeGuy lol
 
@Jhawins Zirak and I already answered a few
 
user1596138
Cool
 
If you find a question and write a good answer you can donate it to me and I will post as Caprica
but for integrity we're targeting good questions and answers (I think)
 
user1596138
Problem is accepted answers tend to need go hand in hand with quickest answers :P
 
6:36 PM
doesn't need to be accepted
just voted
 
user1596138
True. Plus bounties.
 
SO MANY THINGS RUNNING IN TERMINAL
 
user1596138
Is it out of line to ask for vote padding on her answers? Has she answered a question asked by any regulars in this room?
 
@dystroy Wow, I was barking down the wrong hole entirely.
 
user1596138
I feel bad upvoting hers and not the answers above hers unless she's accepted...
 
user1596138
 
55
A: Convincingly "breaking" a system for a non technical user

That Brazilian GuyThe command line interface for the DiskCryptor Open source partition encryption software includes a -bsod parameter, the wiki says it will Erase all keys in memory and generate BSOD (emphasis mine). You can use Windows Task Scheduler to schedule its execution at a given time, and it shoul...

 
I think they need to just implement some bot specific perms
it seems weird to have to vote up a bot
and with as many people that use it, there is clearly a want or need for it
 
Doubt that'll happen
 
user1596138
@rlemon Wow. I feel like that shouldn't be public knowledge.
 
I know :(
basically here's whats happening
we are trying to turn this into IRC :P
 
6:41 PM
@Jhawins lol it is funny
 
user1596138
Users want something => (Mods don't care || Mods don't want it) => Users (the people using it) don't get it
 
user1596138
@rlemon So many assholes tho.. Haha. At least he didn't give them a how-to
 
I need some technical PDF to download now and read tomorrow so that the day long meeting is less boring. What could I learn ? Suggestion ?
 
user1596138
0
Q: changing css using javascript

user2375166i tried to change the css style of a division using javascript. here is Css <style> #box { height:200px; width:200px; background:#c0c0c0; } </style> Here is javascript code <script> fun() { setInterval(function(){fun1()},3000); } fun1() { var x = document.getElementById("box"); x.style.backg...

 
user1596138
lol typo
 
6:44 PM
@dystroy genetic algorithms?
or how they were implemented to solve problems
there was a cool paper about ones learnign to walk
was just on reddit
 
@Loktar I wrote libraries to train genetic algoritms already
 
arent nueral networks trained?
heh reagardless thats my only idea! :P
read a book on angularjs?
thats what I did in our last day long meeting
 
(most of my android games have an AI trained with GA)
 
@Loktar I can offer some training on english spelling, if you want :-)
 
angularjs ? Maybe. Any good and untertaining PDF ?
 
6:47 PM
@JanDvorak if only I cared!
in a forum I care more, chat meh, whatevs
 
user1596138
@dystroy Into Security?
 
user1596138
Just what I was reading last night when I had nothing to do.
 
user1596138
I hate you guys. This has 4 stars?? lol
 
@Jhawins We love you too.
 
lol
 
user1596138
6:58 PM
So I came up with an idea for my life (given my current situation)... Err, my Colorado brother did anyway.
 
user1596138
Bury myself in student loans, and go to school somewhere amazing for whatever I want
 
user1596138
@SomeKittensUx2666 That's his idea for himself.
 
That's an idea, not really a good one.
 
user1596138
Yeah that's what I said. It sounds better then "live 6 miles from town and not have a license for the next year" you gotta admit...
 
6:59 PM
!!youtube primitive vission
 
user1596138
Does anyone regularly on chat (in any room) do much in cyber security/encryption? I haz questions
 
Obama is reading your email, it's too late now
 
I'm sure there are people in the Security chat
 
@Jhawins Downloaded, just like a dozen other various pdf. Still taking suggestions :)
 
user1596138
7:04 PM
I'm not going to bury myself in student loans... But if I'm not able to drive school sounds more appealing. At least I could be doing something productive in my downtime.
 
user1596138
I know I can carpool to school...
 
So you're biking to work?
 
user1596138
The man's tryna get me down so I'll bring my education up.
 
user1596138
@SomeKittensUx2666 I've gotten rides so far. It costs more gas than it actually costs to convince people to drive you around...
 
user1596138
There is over a foot of snow on the ground too. So biking... No. I have studs for the enduro and have used it in the winter, but I can't ride it without a license either.
 
user1596138
@SomeKittensUx2666 Yeah, my Dad's getting a kit like that. But it's for his TW200.
 
!!google TW200
 
user1596138
Plus I live about 9 miles from work.
 
Can someone suggest how can I order 2 functions that happen when I click something? Two separate function, have to happen in certain order, right now it is not.
 
user1596138
7:07 PM
Small dirt bike with a rear tire the size of an ATV tire, and a front tire bigger than my bikes back tire.
 
@rodling Got a Fiddle?
 
user1596138
Made to keep on trucking through mud/snow/water/whatever but still be a bike.
 
@SomeKittensUx2666 nope, i'll make something
 
@rodling Protip: You'll get much better answers if you include a fiddle.
 
user1607528
Hey everybody
 
user1607528
7:12 PM
From now I hate making modification on big websites
 
user1607528
What a coder in the world would use 3 Codeigniter folders for one website
 
@SomeKittensUx2666 something along http://jsbin.com/ANabupUT/1/edit
doesnt work too well right now, but i think concept is there, click something happens and then something happens after
 
The capitalization of functions
And buttons don't have a value, I guess
 
@SomeKittensUx2666 haha yea i came to same conclusion as you posted, logic escaped me on this one haha :(
 
7:16 PM
Or you forgot to include jquery^H^H^H^H^H pay for the pro license of jQuery
 
@SomeKittensUx2666 $ is not defined
 
Todays thai food wasn't spectacular :(
 
@Jhawins I need you
I need you!!!
<?php
$ipath = './doge.png';
$img = imagecreatefrompng($img);
header("Content-type: image/png");
imagepng($img);
y this no work? lemonmeme.com/doge
 
MORE THAN ANYONE DARLING
 
bad path?
 
7:24 PM
nope
 
@BartekBanachewicz you could've asked me :P
@qwertynl I'm here chillax
 
@rlemon s/ipath/img
 
@BenjaminGruenbaum Haha angular is pretty awesome.
 
!!> 'lemonmeme.com/doge/doge.png' === 'lemonmeme.com/doge/'
 
I am leaving my office soon to go on vacation :-)
 
7:25 PM
@copy :facepalm:
 
@SomeKittensUx2666 false
 
thanks
@SomeKittensUx2666 yea and?
 
@rlemon it looks like you aren't using $ipath
 
@RUJordan copy beat you too it
 
Ah, missed that
 
7:26 PM
<img style="-webkit-user-select: none" src="http://lemonmeme.com/doge/">
http://lemonmeme.com/doge/doge.png <- what you posted
 
@dystroy read LYAH or something
 
derp, missed the PHP paste.
 
still doesn't work
@SomeKittensUx2666 yea I still don't get what you are trying to tell me
 
fabian /tmp% curl lemonmeme.com/doge

Warning: imagecreatefrompng(): 'doge.png' is not a valid PNG file in /var/www/html/doge/index.php on line 3

Warning: imagepng() expects parameter 1 to be resource, boolean given in /var/www/html/doge/index.php on line 7
 
/doge/ <- I have an index file here
how is it not a valid png file
???
 
7:28 PM
So is @Jhawins in jail?
 
out on bail
 
because that makes sense
 
@copy what's fabian curl?
 
<?php
$ipath = 'http://lemonmeme.com/doge/doge.png';
$img = imagecreatefromjpeg($ipath);


header("Content-type: image/png");
imagejpeg($img);
 
7:30 PM
png image, but if I treat it like a jpeg all is well
 
@BenjaminGruenbaum Command pedo learned
 
@RUJordan Fabian is his username
 
fabian /tmp% curl lemonmeme.com/doge/doge.png > a
fabian /tmp% file a
a: JPEG image data, JFIF standard 1.01
 
7:30 PM
fucking imgur
was a .png on imgur
 
oh
 
that was dumb
 
@SomeKittensUx2666 he prefers Mr. Fabulous
 
disregard courtesans of doubtful moral standing, acquire currency
 
7:31 PM
Can I call you Fabio?
 
YES BOT! YES!
 
somekittens@localhost: ~/Dropbox/ReferralFeed/html master* $
^ My prompt
 
Kinda looks like Toby Maguire
 
rlemon@rlemon-PC /h/Development/dm/master/src (master)
$
current prompt
 
Jordans-MacBook-Pro:~ Jordan$
=x
 
7:33 PM
forgot my $
everyone else had their $
I needed my $
 
I get $ tonight @ 12:01am
$$$$
 
I got $$$$ in the bank son!
not as much as i'd like. but i'm working there
 
fo' digit son!
 
I'm upto 5
once I get 6 I'll be able to buy a house
 
@rlemon Im a veteran, no down payments for me
America fuck ya!
but yeah I've seen your house prices christ man
 
7:37 PM
@rlemon Move to Rochester
 
I spent way too much last month. My account is hurting lol
 
@Loktar lol yea
100K doesn't even buy me a home
that is a nice down payment however
 
yea
 
I figure 65K is the minimum I need
 
7:39 PM
@SomeKittensUx2666 buy now, before they build the indoor water park!
 
that is 25% roughly down then I pay less fees
 
Like straight cash 65k??
 
llol its hard to have that much saved though.. because at that point you're like.. hey i could take some time off! :P
 
yes
 
issue I struggle with
 
7:39 PM
@Loktar well i'm into the 10K+ right now in my savings.. it is hard not to touch it
 
i am using appcelerator alloy java script i am trying to display the name of the table view row i have clicked in alert box any suggestions?
 
I have a tight budget because my work commute is ~250/m on the train alone, and I'm aggressively investing in my 403(b)
Once I get a raise of almost any amount, I'll be saving much more per month.
 
ohh budgeting is important :P
 
? 250 miles?
 
dollars sorry
$
 
7:40 PM
per week?
 
month
 
$250/mo
 
ahh ok
mines a little less than that
about 140 currently
 
gas + insurance /mo for me is ~$160
 
oh yeah insurance.. god
our first bill came with my truck on it
$450 :(
 
7:42 PM
car is in the shop right now getting its regular maint. package. that will run me another $550
 
our bills before that were like $170
 
@BenjaminGruenbaum Good idea, downloaded
 
tire rotation, fluids, flushing the lines, oil... god it is so expensive
 
$3.50 on the way, $5.20 on the way back, $4.75 for parking per day. = ~$270/month not including gas
My car insurance is $97 a month, cellphone $120
 
car insurance: $79/mo
internet: $125/mo
cell phone: $90/mo
 
7:43 PM
But it's kinda cool to be able to say I was financially independent from my parents 3 weeks after college graduation
 
@RUJordan hehe I was at 16
however I DO NOT recommend anyone else try that
there were some tough times
 
During the summers I would pay for all my things because ever since I was 16 I've worked full time during school breaks and part time during school
 
how do i show scrollbars ?
isn't it supposed to be overflow:auto;
 
But yeah. I'm a few months away from a mandatory raise, which will be very nice.
 
when I was in grade 11 I worked full time after school (also not recommended) and made some decent cash. In grade 12 I got a job leading a SQA department for an elearning company. This was also full time after school... however in grade 12 I only had one morning class per day so that worked out well
 
7:46 PM
$(scrollbars) = true
^ its totally that.
 
@Loktar no i have a weird situation
 
overflow-x: scroll;
overflow-y: scroll;
 
my scrollbars don't wanna be ssen i guess.
 
@Loktar -1 not enough plugin
 
lol
 
7:46 PM
@rlemon tried that.
 
well then it is $.forceTheMotherFuckingScrollBars({ foo: true });
 
shall i show u guys ?
see no scrolls ?
 
her voice is amazing
 
oh ffss.
 
.sn-multi-view {
  overflow: hidden;
}
I assume you just saw this as well @AbhishekHingnikar
 
7:51 PM
no not that.
the .sn-view{} has overflow:scroll;
 
well in the inspector that is what is being taken
 
i think they are there just out of viewport !
 
they are
so apply it to the parent
 
Logical question: say you have an event bound to a button. What's the simplest, most effective way to unbind and rebind the event so that you can spam click it and it will only trigger once the previous code is done?
I'm thinking literally unbinding and rebinding is too overhead
 
ps @rlemon swipe from right :D
do u think thats smooth ?
 
7:52 PM
If a browser supports window.addEventListener will it also have a sane event being injected into the callback or do I still have to e = e || window.event; e.target = e.target || e.srcElement;?
 
i'm not on a touch device
 
@RUJordan keep a flag. No need to actually unbind. You can removeEventListener but no real need.
 
nobody has seen miszy today, right?
 
@PeeHaa sane.
 
@rlemon the solution here was :-) "box-sizing:border-box"
and :-) okay then
 
7:53 PM
@BenjaminGruenbaum k tnx :)
 
@BenjaminGruenbaum is there an example somewhere? I can see setting the flag when the code block starts, but how does it know when the code is done? Resetting the flag after?
 
@RUJordan yes.
 
var shitIsRunning = false;
$('#blah').bind('click', function(){
    if(shitIsRunning) return;
    shitIsRunning = true;
    setTimeout(function(){
       /* run shit, run! */
       shitIsRunning = false;
    }, 0);
});
 
Isn't bind deprecated?
 
windows console alternatives ?
@BenjaminGruenbaum ?
 
7:55 PM
@AbhishekHingnikar git bash.
@RUJordan it is, use on
 
@RUJordan most of my clients are running outdated jQuery, but I think the point is still made?
 
it has multi - tabs ?
 
@nderscore yes I was talking vanilla but that was easy to understand
@BenjaminGruenbaum that's what I thought
thanks
 
!!s/\$\('#blah'\)\.bind(/document.getElementById('shit').addEventListener(/
 
@nderscore Could not process input. Error: unterminated parenthetical on line 4
 
Dang
Regex has to be my weakest point
I barely understand it
 
@nderscore Could not process input. Error: unterminated parenthetical on line 4
 
But I barely use it
@SomeKittensUx2666 +1 for monster regex
 

« first day (1188 days earlier)      last day (3767 days later) »