« first day (1126 days earlier)      last day (3825 days later) » 

3:02 PM
@eazimmerman lol
 
Need Name Ideas: A raffle system where users can register and choose to participate in a number of raffles.
the name that first jumped out at me was "rocket raffles"
but i'll let you guys think of some cool ones while I code
 
what's raffle?
 
tnxs friends. I need help. question is ok ask? please provide code. bless you. - rlemon
 
what are the raffles for?
Just random?
 
@FlorianMargaine a draw
well first one to get the site kicked off will be me raffling off a medium 3 topping pizza
 
3:09 PM
random shot
 
@mikedidthis yea pretty much
 
prize plunge
luck of the draw
 
anything I can order online and direct ship / deliver to you could potentially be up for raffles
 
rafflol.com
 
they are my name suggestions.
 
3:10 PM
Hi any1 know where can I download javascript
19
 
instant pinned
 
awaits the stars
 
that is fucking awesome.
 
Too obvious, 1.5/10, for the try
4
 
well, the name gives it all...
 
3:11 PM
@ThatHelpVampireGuy download.com
 
> member for 2 years, 5 months
he is dedicated at least
 
@eazimmerman I prefer torrents
 
@FlorianMargaine My new server seems to be OK, thanks for your help
 
great
didn't need to install anything extra after base install?
 
Who ordered the pizzas?
 
3:12 PM
@Incognito not yet.
but you could win one !
 
@BenjaminGruenbaum @rlemon @AbhishekHingnikar @everybody I made a chat. Now I need you (you know, the harderer part...).
 
@rlemon Do I have to program something?
 
stuffed crust pizza
 
stuffed with hotdogs or stuffed with cheese?
 
Raffall (raffle + all)
cheese. duh.
 
3:14 PM
@dystroy screenshot? (port is blocked at work)
 
what about cheese inside hotdogs inside the crust?
 
@eazimmerman I'd suggest rafflr.com but it is already taken (and the design is... interesting).
 
gluton pie.
 
@eazimmerman Raffael.com =P
 
raffal.com is available
raffal sounds good to me
 
3:19 PM
@Incognito nope! I just have to finish the registration system and do a pretty little page then you can enter to win!
I will probably raffle off something once every two weeks / one a month or so
 
@rlemon International shipping?
 
I will only raffle things I can order and direct ship to you
and if you cannot have direct shipment to you, you lose out sorry
 
dude that's awesome!
 
lemonraffle / rupertraffles.com
 
@dystroy "Ryan Kinal" seems to be an invalid user name.
 
3:21 PM
I don't think it takes spaces @RyanKinal
who is @canop ?
copy?
 
Yeah, I figured that much out. But it only told me it should be between 3 and 20 characters.
 
RaffleOverflow.com
^ copyright infringement free
 
Nothing about alphanumeric, or special characters or anything
 
@BenjaminGruenbaum you want me to pay it forward?
 
always pay it forward
2
always
 
3:23 PM
@rlemon Are you staying anon? Can others raffle stuff?
 
@mikedidthis eventually I will open it up for that
 
Pizza day? :)
 
randomraffles.com
 
@BadgerGirl yup!
rraffles.com
 
@connor.js ?
 
3:24 PM
Decisions: Good pizza from the deli, or Pizza Hut with the coworkers... hmmmm
 
deli
your lack of gut rot will thank me
 
Yeah. Yeah.
 
too much greasy foods === gut rot for me
 
@rlemon it's dystroy
 
So, the CEO offered to buy my department beers at 4:00. But we have free beers in the basement at 3:30...
 
Yeah, but another user already has, you can go next.
 
@FlorianMargaine the fact that he's logged in as dystroy as well confused me
y u all so confusing?!
 
<--- not confusing
 
3:29 PM
@RyanKinal Your CEO wants to feel like he's doing something cool and hip, saying no means he's not cool and hip. Hurrah office politics!
so cool
 
@Incognito My CEO is actually a really awesome guy.
It's always good to see him in the office
 
He probably is, he buys you beer!
I worked at a company once that felt like Stalag 13.
He wouldn't have bought us beers.
 
That's a shame
So, we thought we had a SQL injection problem at SlickText... turns out I just wrote some shitty code.
:shrug:
 
How do you confuse that?
 
@RyanKinal like?
code sample?
 
3:34 PM
sql = 'DELETE FROM table ';
if (wheres) {
    build where clause
}
execute SQL // phail
 
ouch
 
Three-hour full backups ftw!
 
user1596138
@mikedidthis Was in a meeting... What?
 
user1596138
@RyanKinal Hahahahahahahaha
 
user1596138
That's what backups are for. I did something similarly stupid a few weeks ago.
 
3:37 PM
@Jhawins Inorite?
 
@RyanKinal Give Doctrine2 or Propel a shot.
 
@Incognito Yeah. I really need to use a real ORM sometime.
 
user1596138
Boss was just insisting I go on break. Said "go smoke a cig and enjoy it." I have no cigs, so he said he'd buy me a pack. Interesting...
 
@Jhawins Your boss, apparently, is trying to kill you
 
user1596138
That's what I was just thinking.
 
user1596138
3:39 PM
Well I usually take 2 or so smoke breaks a day.
 
tomorrow fill out a workers comp form for shortness of breath and trouble getting up stairs.
 
@RyanKinal Propel is easy to learn but limits you and can become a pain... but there's also this: propel.jondh.me.uk
@RyanKinal Doctrine2 ORM is awesome but the learning curve is hard... simply because you don't do anything "like a database".
FWIW: I don't like ActiveRecord.
 
@Incognito Yeah, I've given Doctrine and RedBean a cursory glance. Haven't really gotten into them, though.
I rolled my own super-simple ORM that uses something AciveRecord-like
But it doesn't handle joins at all
 
I really like doctrine for simplifying code.
 
Good morning
 
3:42 PM
Most of what I do is defined via descriptive ORM bindings, I don't even touch SQL unless I'm doing something non-trivial like a report.
 
It's unlikely I'll move to any PHP ORM any time soon. There's too much feature development to do (as opposed to architecture development)
And any new sites/apps I do will hopefully be in Node
 
user1596138
@rlemon I do have stairs to go down/up to get to my coffee/outside.
 
user1596138
That'll piss him off.
 
@RyanKinal Are you the only one on that project?
 
@Jhawins tl;dr. A guy went to a matchstick company with a simple idea to save them millions. Sold it to said company for $1million. Idea: Instead of including 2 strips of sandpaper on the match box, just include one.
 
user1596138
3:44 PM
If I hypothetically own 10% of the company I work for right now, am I still an employee, or am I a partner of some sort?
 
On SlickText? Not really... there's one other "Junior" developer. He does the easy stuff. I do the hard stuff.
@Jhawins Probably both
 
@RyanKinal hire me
I will do no work for no money
 
I'd be embarrassed to show you my code.
 
user1596138
@mikedidthis What the hell. Why would they pay for that? Couldn't they just do it anyway?
 
I will do no work for all the money
 
3:45 PM
I'd be embarrassed to tell you i didn't understand it
 
@Jhawins not sure. But again, simple idea.
 
@mikedidthis Brilliant
 
user1596138
@RyanKinal What else does it change? Anything?
 
@rlemon I'd be embarrassed that you didn't understand it
 
user1596138
I mean, being hypothetically given 10% equity seems to not do anything.
 
3:45 PM
@RyanKinal I'd be embarrassed about my gas issue when reading code.
@Jhawins quit then demand an arm, a wheel, and a 10% of the fabric from each chair as compensation
It is in my contract!
 
... [I'm embarrassed that] I can't think of another reason to be embarrassed...
 
user1596138
@rlemon But then I don't have a job :/.
 
user1596138
Wait, do I own 10% of profits too if this were my situation?!
 
but the jokes on them. Who wants a chair with one arm and missing a wheel!
 
user1596138
starts looking for business classes at the local college...
 
3:48 PM
@Jhawins Probably. I own a significant portion of SlickText, and I have no idea what that means, exactly.
 
user1596138
Right. I have no idea what it means. What I do know is that if the company hypothetically sells I get 10% of the selling price. Hypothetically.. ;)
 
iirc, if you own a percentage of a company, your entitled to profits or sale value
 
user1596138
Tired of this hypothetical bullshit. Time to write this contract.
 
Kiss me if I'm wrong, but JS functions don't need semi-colons at the end of the brackets right? That would cause an error?
 
but... I also believe that you don't have a say in what happens to the profits, so if they invest back into the company, you don't get anything.
 
user1596138
3:50 PM
@RUJordan Don't know about an error. I've never done that.
 
Me either, too tired to try lol
 
@RUJordan It won't cause an error, but it's unnecessary
 
So it's legal, but not needed, then?
Also, it's good to see you @Zirak. It's been a while since I've seen you
 
"Legal", it'll just be ignored. You can put olives on your toilet, doesn't mean they'll be used.
 
user1596138
@Zirak is alive. And making just as much sense as usual! :)
 
3:53 PM
yeah, I won't be on very often.
 
Well, you can put olives anywhere and I won't use them ever. Not a fan ;)
 
What if you're setting a variable equal to a function?
 
That's a shame. If I may ask, what's keeping you busy?
 
My linter yells at me anyway....
 
user1596138
Kalamata olives are awesome.
 
3:54 PM
@twiz That's a function expression then, which makes it perfectly valid.
But function statements (or declarations) don't need one
 
It's a shame it's Pizza Friday.. I have to avoid pizza now. It red sauce gives me horrible heart burn..
 
White pizza
 
But I do have a Buffalo Calamari date tonight with a gorgeous waitress I met last weekend
Eh, I'd do like a philly cheese steak pizza maybe, but i'm not a huge white sauce fan
 
@Zirak it is a classy party?
@Zirak you are good with fun names. I'm making a raffle website to raffle off pizzas and rubber ducks.
also other things
I need a catchy name for it
 
@Jhawins Yeah, I actually signed something.
 
4:02 PM
@rlemon But I'm bad at groovy names
 
Yay massive directory FTP downlooaaddss
 
(see? I use the word "groovy")
 
graffley
 
Raffle off a giraffe and you have a giraffle
 
groovy raffle yo!
 
4:03 PM
Tidbit Dispenser
Robin Hood
Ducking Hood
 
how can I parse an html string using a regexp
I want to activate the easter egg..
 
wtf is with the obvious trolls
 
@BeNdErR SINNER! BURN HIM!
 
@Zirak reddit is on SO now
 
Activate the easter egg..?
 
4:05 PM
yup, chtulu easter egg
 
any regex should do it
 
@BeNdErR Well, if you look at the original question...
 
afaik
 
What the hell is a chtulu easter egg
 
@Joe 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.
 
Joe
4:06 PM
@rlemon uhmm ok
 
you're welcome
 
@Zirak which original question?
 
That was very nice of you lemon.
 
@BeNdErR The one which the easter egg is based on
 
my button isn't nearly as sophisticated as the bot. I might welcome users that have been welcomed before
 
4:07 PM
<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>
 
I base it off "do I remember you" and "how much rep do you have"
 
/HTML/i
 
I miss Caprica's welcome. I barely know anybody so I have no idea if they've been here or not
 
Joe
@rlemon so this is the end result of the bot issue?
 
this is my end result.
I'm a real user, I can do this on my own terms no problem.
so I am
 
Joe
4:08 PM
@rlemon sounds strenuous
 
not at all
 
Why isn't the bot working anyway?
 
I made a button to do it for me
!!echo I am working
 
I am working
 
oh...
 
4:09 PM
Eggs.Console
 
Just can't welcome people? hahaa
 
and can't tell you the socially acceptable age of a potential sexual partner
 
Joe
@twiz there was a major debate about the bot being insensitive
 
console.egg("from a chicken please");
 
bot being insensitive? no the issue was people think they should have to opt into bot interaction.
 
4:10 PM
Oh yeah @rlemon, I've pushed some changes earlier.
 
ok so revert to your script now
gotcha
 
People should have to opt in to being that stupid.
 
erm, I haven't disabled the auto-welcome yet
 
Joe
Is anybody doing any creative things with frontend MVC frameworks?
 
ahh. ok i'll wait.
didn't realize all I had to do to update a userscript was right click on it
awesome!
 
Aren't bots pretty much a normal accepted thing for chat rooms?
 
@twiz yes. but people get all butt hurt when a bot pings them for some reason
but if I ping them and they get butt hurt there is nothing they can do about it aside from ignoring me and flagging me
and if I got flagged for saying "hey" then it would be invalidated pretty quickly
I hope
 
But it only does that the first time they come in the room....
 
Did somebody seriously come ask where to download javascript?
 
4:14 PM
yea I don't get it
 
or when someone makes it
 
Joe
bots were/are the norm in IRC. It's possible that some people aren't coming from that area
 
@RUJordan look at the username
@Joe and they can ignore the bot like any other user
 
But was he serious or just trollin?
 
because it is just a user
it shouldn't be held to any other standards.
 
Joe
4:14 PM
@rlemon how far up must we scroll to see the username?
 
@Joe Actually I've never in my life used IRC, but I'm not sure I've ever seen a chatroom that didn't have a bot...
 
umm... it is on the message
 
@rlemon hey rlemon, that was a pretty cool tutorial you gave me yesterday. I went through it and its clearing things up. But how would you implement the layout to place the images on, have that snap in effect and have them cropped in the shape of the phone (or any other arbitrary shape)? In case you don't remember: casetagram.com/design
 
@Jaigus remind me the tutorial ??
 
user1596138
@RyanKinal Right. I will be here soon.
 
4:16 PM
(I'm here a lot, and I link a lot of people to a lot of things)
 
ahh yes. drag and drop files. good stuff
depends on if you want to do this with canvas or html elements
 
I have a feeling using a library would better, as it may have a better chance being supported across more browsers well?
 
html elements you can just clip the image ??
 
Nothing like a DELETE query with an unsanitized $_GET parameter in it. That's not dangerous at all.
 
4:17 PM
canvas you can pretty much use a mask and do anything you want to the image
if you want browser support use jQuery UI draggable I suppose
then you can snap and have grids and containers
 
Does anyone here understand what a redirect URI is for oAUTH2 authentications?
 
to clip an image into a circle you just set a border radius on it
 
The author mentioned support for his method would be patchy; thats why im asking
 
for the drag and drop?
 
yeah
 
4:18 PM
well that is modern browser thing
 
yeah i guess so : /
 
if you want to have other browsers ALSO add a 'browse for image' button
 
@ninjasense The page on your site where it will send the user after authentication, I think...
 
like imgur. you can drag and drop or hit the upload button and browse for an image
 
@twiz
 
4:19 PM
ah ok
 
@twiz yea I've read a bunch of documentation but it still doesnt make sense to me
when is the redirect ahppening?
who is the user?
Im trying to authenticate in a web appication
 
Any user authenticating with your app.
 
@rlemon Well what I really want is to be able to 1. upload via some upload button, 2. have the thumbnailed upload images appear in a panel, 3. drag the thumbnails from the panel to a picture with a layout
 
ok doesn't sound too bad
 
@ninjasense You know how you get like a form that says "Grant permission" or "Cancel"?
 
4:21 PM
you can actually google each part and there are tutorials on them all
 
after that, it will redirect
I haven't used oAuth in a long time though...
 
"upload image and show thumbnail"
"drag and drop elements on a page"
"clip images with css"
"drag and drop elements with snap"
^ those search terms should return great results.
 
@rlemon lol yeah im looking in to the canvas masking thanks !
 
canvas isn't supported on older IE FYI
 
Ok. And theres no fall back for the masking since its a modern feature right
 
4:25 PM
@twiz okay I wasnt sure if this redirect url needed some sort of server side listener or something of that nature but it seems like this is nothing more than a simple redirect
that does nothing except that
 
Yea, I'm pretty sure that's correct.
 
Like I said, its been a while since I used oAuth though.
 
@SomeGuy You'll love this ^
 
okay well either way thanks for the help
 
4:28 PM
>Before the player gets to take control of his avatar, they are asked to create a character, which is purely the liberal’s way of teaching out kids that modifying and gender changing one’s self is fun and normal.
how logical... haha
I really hope that thing is just a joke.
 
Angry, righteous God-fearing Christians never joke about homosexuality.
 
hey guys. I have a question.
 
You remind me of Stan.
He had a question.
 
> Now that the player is free, they will spend the next 400 hours robbing people, killing villagers, crafting sexual items, fornicate with elves and other Harry Potter style animals and also learn how to conjure up black magic.
 
so I have a lot of tabs, and clicking on each will cause it to draw one chart using highcharts.js. However I have about 20 of them hardcoded as $('#someTab').click(function() { drawChart() });... is there a more efficient way to do it?
 
4:32 PM
Crafting sexual items. xD
 
@Zirak for(i=j=1;~i<0;i+=j=i-j)print(i)
 
I want pizza.
 
I have a star doughnut
 
I want burger
 
I want to be king of the pirates
 
4:41 PM
@crowz $('.some-class').click(function(){drawChart();});
 
@ArnaldoCapo but it's a different chart each time
 
Why do you waste a stack frame...
@Crowz put ids in array, loop over it
 
@crowz $('.some-class').click(function(){ var $e = $(this); drawChart();});
with the element you can tell which chart you are drawing
 
Wat
Way to go useless
Meh, I'm outta this
 
is there any good jquery-less alternative to .offset().top? i've tried elem.prop('offsetTop') but it doesn't work for all elements
 
4:44 PM
Is it sarcastic?
 
@user2204158 How is that less jQuery?
 
@FlorianMargaine can you put a function in a object, as weird as that sounds?
 
@qwertynl ah sorry i forgot to mention, i'm using angularjs which has a mini version of jquery built in, but it doesnt include .offset
 
@user2204158 ok then.
 
ie, {"drawThisGraph": drawThisGraph(), "drawThatGraph": drawThatGraph() }
 
4:46 PM
function foo() { return 1; }
function bar() { return 2; }
var a = { 'foo': foo, 'bar': bar };
a.foo(); // 1
a.bar(); // 2
 
Tried some rare sennheisers and audio techia ... yikes apple sounds horrible !
but they were just 80x costlier :->
that awkward moment when apple can be tagged cheap
 
user1596138
Does anyone use webalizer?
 
!!google webalizer
 
@Jhawins we use sentry
 
user1596138
4:47 PM
I have a LOT of porn sites coming up as referrers on our public stats. Not sure how to get rid of them, that's a fact of life. But they can't be showing up here.
 
@user2204158 don't let jQuery get in your way
 
user1596138
Hold on..
 
element.offsetTop works just fine
 
@AbhishekHingnikar Apple has always had horrible headphones.
 
@rlemon Clever man! That works
 
4:48 PM
@rlemon it works fine but not with all kinds of elements, some just return 0 when it should be 300+
 
what elements and what cases
 
@twiz The earpods are fine
 
I thought it was really funny back when the iPod was a huge deal, but for some reason they shipped their fancy device with the world's worst headphones
 
don't ask a XY probelm. Tell us your real problem
 
also, can you have multiple data-values? eg, <li data-value="chart1 chart2 chart3">
 
user1596138
4:49 PM
 
user1596138
That
 
Hey, I need some sort of overmind to help me with this:
http://stackoverflow.com/questions/20005689/upgrade-single-dropdown-calculator-to-multiple-dropdown
 
that's the problem, when the element is a child of an absolute positioned element it works, but when the parent is relative - it doesn't
 
is there anyone here that also understands django? I need to implement a js code that sorts dynamically added fields in my html...Help?
 
user1596138
RewriteCond %{HTTP_REFERER} allinternal\.biz [OR]
	RewriteCond %{HTTP_REFERER} djhits\.com [OR]
	RewriteCond %{HTTP_REFERER} asstraffic\.biz [OR]
	RewriteCond %{HTTP_REFERER} ass-traffic\.biz [OR]
	RewriteCond %{HTTP_REFERER} drtushy\.biz [OR]
	RewriteCond %{HTTP_REFERER} "-cartoon" [OR]
	RewriteCond %{HTTP_REFERER} "-sex" [OR]
	RewriteCond %{HTTP_REFERER} "-naked" [OR]
	RewriteCond %{HTTP_REFERER} "incest-" [OR]
	RewriteCond %{HTTP_REFERER} "teen-" [OR]
	RewriteCond %{HTTP_REFERER} "xxx" [OR]
	RewriteCond %{HTTP_REFERER} "-rape" [OR]
 
user1596138
4:52 PM
Maybe?
 
@nitzanwe Everyone help her. That's an order :)
 
ha ha...
:)
I just need one helper
 
tnx
 
function offset(elem) {
	if(!elem) elem = this;

	var x = elem.offsetLeft;
	var y = elem.offsetTop;

	while (elem = elem.offsetParent) {
		x += elem.offsetLeft;
		y += elem.offsetTop;
	}

	return { left: x, top: y };
}
compares parents as well.
 
4:55 PM
43 users wow
js room so POPULAR!
o/
 
@Loktar How's your Django?
 
@BenjaminGruenbaum non existant
I've done very little with python
 
That's what I thought, I don't know anyone here works with Django.
 
oh shi zirak is here eh?
what were his thoughts on the bot controversy?
 
Guuuys could someone help me out? :-) jsfiddle.net/EfYev/4 I need it to sum up the values from multiple dropdowns
 
4:57 PM
@AndyAndy Sounds like homework. Also, why are you using data attributes for prices like that?
 
@rlemon that function returns NaN for both top and left
 
man too much messing with angular lately..
I look at your fiddle @AndyAndy and think how trivial that would be with angular
 
@BenjaminGruenbaum I'm new to JS, never actually needed it. Values need to be fixed
 
I dont really understand the fiddle..
 
@Loktar me either.
 
4:59 PM
so you start with a few fruits to begin with?
 
@rlemon /facepalm, thank you it works like a charm, i wasn't using it properly
 
Give me a second
 

« first day (1126 days earlier)      last day (3825 days later) »