« first day (551 days earlier)      last day (4411 days later) » 

6:00 PM
@rlemon: man you were too fast >_>
I'm too slow to answer ._.
 
i just get on these cleanup kicks - search the site and find dumb ass answers... that are upvoted and accepted... makes me angry
when I use the site for topics I know nothing about I need to be able to trust the information given.
 
6:23 PM
guys could I get some quick feedback?
theres this amazing site.. mypersonalvault.com
this client wanted me to make it
using her color scheme etc..
^ what I came up with.. its ugly I know
but does it match that site in your opinions?
she also didnt want the picture montage thing.
 
Is there anyone here who is into canvas, and wants to give an opinion on something?
 
canvas is crap
:P totally jking
 
@Loktar: except for the lorem ipsum thingy, it's fine yeah
 
what do you need an opinion on?
 
What do you use, 1x1 divs?
 
6:26 PM
@user973810: @Loktar is a pro in canvas
 
@user973810 I have focused on canvas for like 2 years lol
I was just messing with you
 
he can write tetris in 2 hours
 
haha
 
Kind of want to show this off, but I wouldn't mind any advice or criticism. It's slow. jsfiddle.net/Vr5QV
 
6:26 PM
yeah but thats not because of canvas
hah nice
 
waaaaaaaaaaaaaa it's slow
 
one way to speed it up is to change your pixel size
 
the more you zoom into bright areas, the longer it takes
 
like that for example
pixel size is 4 by default
 
gotta go
cya guys
 
6:28 PM
see ya
 
@Loktar Oh yeah. It wouldn't look as nice of course.
 
also thanks for the feedback
@user973810 yeah
thats doing every 4 pixels
2 is a bit better in appearance, but is slower obv
 
@Loktar neat. Maybe I could make it so you could zoom in thenr edraw in high res.
 
yeah
also theres a ton of these in the prev js1k's
might get some good code examples from there
wow the site is so slow...
 
@Loktar hmm, thanks. Somehow there's obviously a way to make things a lot faster.
 
6:35 PM
yeah.. but those examples are already fast I wonder why
probably has to do with the actual alg for creating the fractal, not the canvas operation
lol what kind of question is this..
0
Q: Definition of an asp.net application?

developer747How do you define an asp.net application? Does it have to be built under one solution or does it have to be deployed under one application under IIS? Can multiple web projects be deployed under one IIS application (so that they have access to each other's session, cache etc) ? This is just a t...

I know this is the js chat.. but the question seems pretty random..
 
RT @annevk: Why the IANA Character Sets registry is a failure: http://mail.apps.ietf.org/ietf/charsets/msg02050.html
 
7:14 PM
If you have let say 3 forms on your page and you have made a input-text CSS class that applies some basic styling to all forms, and then you want to add some styling particular to each form...can you use a ID attribute for this? Like: #my-form1 .input-text or is this still bad? Should I instead use a class on the form?
 
@rlemon cool effect
 
heh neat
I keep expecting them to make an image
 
cool
I am waiting on Steve Jobs to appear
 
7:19 PM
Hey does anybody know why IE9 would be loading a page in rendering modes that vary from compatibility and standards mode from machine to machine? I'm already forcing standards mode via a meta tag but just wondering what causes the variation in default modes?
 
because IE is a bad mother fucker.
 
Hit F12 and go to the script tab; sometimes weird things (i.e. not the doctype) send IE to quirks mode. You should get a warning though.
 
I thought the collective screaming a few years back made them reconsider the idea of opt-in proper behavior vs. forcing crappy devs that would rather just rely on older rendering models to add cruft to their HTML instead.
Good point user. Wasn't seeing any errors but I'll check that out just in case.
Although I think compatibility mode is more a mish-mash of quirks and assuming IE6/7 rendering modes.
 
If you have let say 3 forms on your page and you have made a input-text CSS class that applies some basic styling to all forms, and then you want to add some styling particular to each form...can you use a ID attribute for this? Like: #my-form1 .input-text or is this still bad? Should I instead use a class on the form?
 
@Viper use an id.
 
7:30 PM
I think it's the "IE behaving different when it thinks it's hitting your intranet" thing from this post: stackoverflow.com/questions/3726357/…
 
So that is not a bad case of using Ids for styling....I always hear "do not use Ids for" styling purposes
 
I hate them. I hate them so much. They're right to assume intranets are going to tend to be ancient outdated crap-piles, but WTF...
 
0
Q: CSS: Locking the boxes?

Ben___________div class=MAIN_________________ div id=LEFT div id=RIGHT __________________________________________ How can I achive that all the bottoms of the MAIN + LEFT + RIGHT box are glued together? Basically locking the bottoms, say if there is a lot of contents in the LEF...

 
IDs are fine for styling but you should assume the ID is unique.
 
ugh... tables?!?!?!?!?!
 
7:32 PM
Tables are amazing
I use them to hold all my plates
 
id selectors are more efficient and google's page speed recommends them iirc.
 
@ErikReppen ID's for styling should be avoided but it does not do anything wrong. Saying no to id's for styling is like saying no to having inline styles. it's more a management, readability, sensibility, reusability concern.
 
I keep my plates on my desk if there's room. If not, floor.
 
I typically put IDs on all unique sections and elements. They're also helpful for reducing JavaScript DOM work loads by quickly focusing on a smaller set of HTML.
 
7:37 PM
If something is unique, it's typically going to require unique styles. Understanding the point of IDs is all you need to understand to use them for styling. Using IDs for generic styles that are likely to get re-used of course, is silly. I don't know where people get this "prefer classes" thing from. One is for applying styles/behavior to a class of elements. Another is for overriding other styles in specific elements or descendants of specific elements.
 
ah I wont downvote it :?
just because it works
I dont agree with it, but i never downvote a working answer
plus surprisingly no one else has jumped in with a better solution
 
so does me saying $("#leftColumn").css("height", $("#rightColumn").height()); but you would downvote that?!
 
nope :P
I dont downvote the jquery answers either (as long as they work)
I think Ive downvoted like 10 things ever
/me checks
35
 
@rlemon flagged that as irresponsible content lets see if I get a helpfull flag for that or just piss off some mods
 
7:46 PM
@sg3s "helpful" with a single "L"
 
ouch you flagged his answer?
 
@Oleg alright
 
i just downvote so they remove it.
 
... that seems like an abuse of the flag system tbh. yeah Tables arent for layout we figured that out in like 2002, but jeeze the guy already got 2 downvotes for it..
 
only because when I was a newb I would see 23k rep and think "my god this guy has to be right... look at that rep!" even if the answer is retarded.
 
7:48 PM
I never think that, they could of earned all their rep in apple II-e or something :P
 
@Loktar because it is, and he didn't get 2, but more like 5 and 2 people upvoted it
 
@sg3s eh I dont think its flag worthy regardless
not even close
 
@rlemon , my is better
 
have an upvote sir :)
 
'because it is [abuse of the flag system]'
 
7:50 PM
see and it worked.
garbage answer is gone
newb wont be like "dafuq am I doing all this css for when tables look so easy"
 
and I have one more helpfull flag
rofl
 
I assumed the guy deleted it himself.
 
wow that's pretty messed up.
 
yeah I thought I was stretching it too tbh >.>
 
you clearly were
 
7:52 PM
yea I wouldn't have flagged it :P just downvote to death :P and comment as per why I am downvoting
FFS STUPID NEXUS Y U RANDOMLY CRASH REBOOT?!?!?!
 
@rlemon , i call it "community garbage removal service" .. works like charm in php chartroom
 
what irritates me is it was still a correct answer, no where near close to flag-able content. Stuff like that just makes people more scared to answer questions because it may not fit within a certain viewpoint of the "mob"
 
if the problem hasn't been made apparent I comment but I think it was clear this time
 
the downvoting is one thing, thats what its there for.. but not the flagging :?
 
flagging bad answers is pointless
 
7:54 PM
lol idk why I just feel bad for the guy, as much as I hate seeing tables used :P
 
meh you can get a lot of points giving mediocre answers if you also have time, I for one can't spend hours on questions that are usually hard to interpret with a full time job even with the lack of a social life
 
@Loktar but it was downvote-able ;)
 
yeah I agree, I just put my own personal constraints on downvoting lol
 
like what ?
"dont downvote high-rep users who post harmful answers"
?
 
man. I wanna write a PHP/Twitter Bootstrap/[openID/oAuth/local registration] skeleton but every time I start it I end up ragequitting doing all of the openid crap :<
 
8:08 PM
no, I just don't downvote unless it doesn't work
 
Especially the high rep users can use the push back really, as they're more likely to be trusted by the newer users. Plus it probably wont stop them from posting answers. Look at it this way, now he got the chance to get the peer pressure badge by being seriously downvoted.... if he deleted it himself anyway
 
teresko write me a mini php framework that has full openid/oauth/local registration support included in it.
you know you wannnnnnnnnaaaaa xD
 
it's in the "todo list"
but faaaaaaar down
@rlemon , i want to make something that would fit well with this concept/pattern : stackoverflow.com/questions/3430181/acl-implementation/…
 
What are the folks in this room recommending at this point for integration testing? PhantomJS ? Selenium ?...
 
@blong monkeys, lots of them, it really works
 
8:12 PM
 
@sg3s :)
 
@blong he meant unicorns... and you only need one. it will eat all of your $ and poop out _
</troll>
bookmarks are annoying to me for singleton pages I'll read over once or twice. They get lost then once a year I spend a few hours sorting all my bookmarks.
 
@rlemon Hehe... I'm not using much $ , but I do want a tool that will only poop out small amounts of _
 
I'd rather just keep that shiz in my fiddle history :P
cough cough Guys I found the most awesome thing about stack overflow today!!! it hazz a search!
<troll data-sarcasm="extreme" />
 
OMG! I didn't know it HAD search? what the awesome shit is THAT?! :O
alright, sorry, have you tried to search and check if any of the decent options suit your needs @blong
 
8:19 PM
@rlemon I know it has a search... but c'mon we all know the SO search algorithm isn't perfect. I want to know today, what YOU guys are using, what's the preference around this chat room
:) I just figured there'd be some experts in here ... </brownnosing>
 
/me so needs to implement the <troll /> tag - it will extend the canvas element and native implementation will be to rick roll the crap outta your users.
 
@rlemon , that post kinda mutates as i learn more about MVC
 
@blong heck no, we all just regurgitate the shit we get from the search.
loves my use of heck not hell... but shit not poop
my potty mouth is run on a setInterval()
 
@rlemon Darn.
<paranoid>I just figure I won't use curse words... </paranoid> I can't believe nobody piped up to say "I USE x, YOU SHOULD TOO!"
 
this is interesting
1
Q: Canvas shows unexpected colors and won't show an inverted image

FB55I'm currently trying to replicate the effect shown in Douglas Crockfords presentation Principles of Security. As a demonstration of the risk of using "One Time Pad" encryption keys twice, he shows two images, encrypts them with the same key and subtracts the one from the other, resulting in both ...

I just fixed it up for him
 
8:28 PM
-1
Q: Possible conflicting of javascript file and jquery

user1278496Quite hard to explain this issue but I will try my best. I have a built in jquery coinslider effect within my website which works absolutely fine. The issue is that I am trying to implement a Javascript tab feature also within the site. I have got the tabs working but only when the jquery is not...

 
the concept is pretty cool though
 
this is stupid
 
lol wtf is that even
 
what is this?
 
Hey guys I include three scripts on my page.. and one in a tab. and I get erros. here is a screen shot of the rendered page.. here are the relative links i'm using. FIX IT FIX IT FIX IT
 
8:29 PM
the one I posted @Babkock?
It encodes the images based on a key of random pixels
and then decodes them
 
no, what is this magical box I'm typing in
 
its called a computer, you can use it to look at unicorns and fairies
 
badass
 
don't forget porn!
 
unicorn and fairy porn
 
8:30 PM
I prefer pony porn. but don't tell my mother.
 
those poor fairies never walk the same again :?
 
bwahahahaha
speaking on which! Has anyone seen the new Cabin in the Woods?!
 
no but I hear its really good
 
FUCKING HORRIBLE!!!
 
really?
 
8:32 PM
I would rather watch my browser crash from $($);
ok ok ok have you ever seen army of darkness?
 
yeah of course
movie is badass
 
yea, it is. now imagine they use modern day graphics.. but kept the same "is it a horror or is it a comedy" kinda feel.
it's not scary enough to be a horror. it's not funny enough to be a comedy.
 
well w/o Bruce Campbell it would be garbage anyway
but yeah I see your point
 
apperently if you read the book it makes sense. but they opt to show you tits and gore over explaining what in the fuck is going on.
 
I thought Cabin in the Woods was a straight horror movie..
I didnt realize it was tongue in cheek
 
8:34 PM
not the 2011 one
anyways... there is one scene (and I wont tell you what leads to it) where you see a unicorn all majestic and shit... glistening in the light... then it rams it's horn in some guys chest.
 
lol what?
 
I wanted to get up and leave the theater.
also, the ending will make you ragequit.
 
thats not how I pictured the movie at all
 
neither did i man.
definatly a get stoned/drunk (whatever your thing is) and pirate it off the net.
 
lol
 
8:35 PM
I'm kinda pissed I payed money to see it.
 
wow man I was considering seeing it this weekend too
 
put it this way... my girlfriend thinks the twilight movies are scarry (she is 28) and she barley twitched during the movie.
 
haha
 
Hi! I'm starting to think about Coffeescript, and I'm not really into it but I want to try out what's the fuss all about. Anyone has any opinions on it? I really need to know it's flexible enough to do some crazy stuff. Is there anything I should know before proceeding?
 
how old are you? Your early 20's right?
 
8:37 PM
@TomShreds Coffeescript is a waste of time. run run for the hills.
 
^
 
That's what I personally think, frankly.
 
@Loktar i'll be 26 this sept.
 
@TomShreds , maybe you should stop thinking about coffeescript and invest time in something more useful
 
ah ok so we are closer in age than I thought
im 30 this sept
 
8:37 PM
But I wanted to try it out, just in case I was missing something,.
 
... for example "spit-balling" would be one of such things
 
I thought about CoffeeScript the other day... then I decided I had a better idea and stapled my nuts to the ceiling fan.
4
so far so good!
 
meh idk, I know some people who have messed with it, just to mess with it.. but like @tereško said makes more sense to invest the time in something more worthwhile
that is star-able my friend.
 
LOL
I stared it too
 
haha nice
 
8:39 PM
and you all have my userscript right??????
 
?? no
 
click 'RAW' to install.
then refresh the chat and star like a boss.
 
OMFGLOL
 
un-star as well to get the full effect. :P
 
Just did
this is amazing.
 
8:41 PM
yea it's a fun little script.
my next version (which I keep putting off) will listen for the xhr callback so I can show another set of animations for when others star things
 
haha nice
 
I've just installed your chat input script
But it did... nothing?
What's supposed to do?
 
put your cusor in the input box.. ALT+A
or RTFD
 
nm thought you meant the star one.
 
:P
 
8:43 PM
RTFD there's none
oh ok
 
NICE
 
now with a touch of tinkering you can customize any part of that script. :P I made the source very easy to alter.
 
Amazing
fuck('yeah');
good stuff
 
lol
you should really check out stackapps.com to see some of the cooler stuff people have made.
 
8:47 PM
oh i wasnt aware of this thansk!
thanks*
 
-3
Q: native Javascript to jquery conversion -

samI am not sure why some (Colin, Daniel A. White, jrummell, Sparky672, Vega 7) are quick to close a question. If you do not want to help, just ignore. I did ask you do my work for me. I said a guide or some help. To the person who asked what have tried, Here is the javascript and the jquery I tried...

cry me a river
 
Hi guys
 
@Matías stop looking at me it's creeping me out...
 
hahaha
okay, so, I'm struggling with compression and encodings ... my idea (as just a test) is to compress some input values before send 'em to a webserver, and in the webserver I'd uncompress those values before processing.
what algorithm do you think could be useful in this case? (for the client side)
 
@Matías what is the purpose?
how large are the files?
 
8:56 PM
no files ... just strings
 
then ensure it's encoded for the uri and leave it be at that.
 
37
Q: StackStalker: Be Notified When Your Question Is Updated (Chrome Extension)

Jason I just finished (at 3am) the most releasable version of StackStalker, the new Chrome Extension that allows you to easily monitor any question you like, regardless of your membership status with StackOverflow! I tried to make it simple, intuitive, and powerful, but mostly I wanted to create s...

 
is this for security purposes?
 
no, just for a test. To see if there's any noticiable gain in the transmission
 
encoding generally increases size. compression will likely not be needed.
upload 10000 bytes vs 1000 bytes and watch the 2ms time increase.
also, the brower and http handle this
you do not need to. they have much better suited languages for processing the data and compressing it.
 
8:59 PM
did i mention that this is for values sent in a form post?
but just strings, not files
 
if you are serious though about trying to max your performance use websockets and chunk the data as they input it.
yes you did.
and like i said... you properly encode them for the uri (if they are GET) otherwise you just sanitize them on the server.
 
0
Q: How to add Google App Script as a gadget to Google Calendar?

JackI created a small App Script with a small UI. Now I'd like to have it as a gadget in my Google calendar. I tried to embed a gadget with the following basic XML: <Module> <ModulePrefs title="Reminder" height="800" scrolling="true"/> <Require feature="dynamic-height"/> <Req...

 
compression is a wasted effort.
you'll likely add more code to handle compression of the form data and increase page load that way than the method would save.
 
@rlemon, let's assume it is not in this case
 
9:01 PM
@Matías it's like me asking "how can I build a system to hold me in the car when it crashes" then not accepting someone saying "dude, the seat belt and air bag are already there... just make sure you use them"
@Matías you show me a light weight javascript compression library that also has a corresponding server side component and i'll maybe acknowledge your question.
 
json is already quite compressed :/
 
try to understand i'm just pointing out that you're wasting you're time thinking about this... I mean we all do it. that is why we're in the chat to ask and see if we're crazy or on track.
this time you're not on track...
 
@rlemon: github.com/dankogai/js-deflate - DeflateStream in .net :)
 
sorry if you want I suppose JSON would be the ONLY thing I could think of.
53 kb is not light weight
 
Compression makes sense only when the compression/decompression algorithm is present on both sides. That is if you don't have to transmit it as well.
 
9:04 PM
consider how much data you send. 53kb is 53000 characters of text
 
anyways. i'm out before I get all pissy and start yelling "Y U NO LISTEN!"
 
@rlemon, 53kb is loaded once, and cached for following requests
@rlemon, each post of just "strings" is about half mb every now and then
 
@Matías wasted effort - you came in and asked. that is the answer. deal with it or go somewhere else and ask.
 
so ... i think it's possible to improve this scenario
 
9:05 PM
yes it is impossible to improve this
HTTP is ~20 years old... you're not going to re-invent it over night in JS
 
Certainly not in JS but in $! :D
 
is it full moon or something ?
 
was obviously trolling
 
var $ = document
 
@sg3s: imma trollin like a boss :p github.com/Ralt/My-small-library
 
9:10 PM
i think you could crash it all by running $($) .. or something like that
emm .. @FlorianMargaine , @rlemon .. question : why are you still supporting XHR for IE5.5 and IE6 ?
.. just asking , since there is :
xhr: {
    xmlhttp: (function() {
        var xmlhttp;
        try {
            xmlhttp = new XMLHttpRequest();
        } catch (e) {
            try {
                xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
            } catch (er) {
                try {
                    xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
                } catch (err) {
                    xmlhttp = false;
                }
            }
        }
        return xmlhttp;
    }()),
 
coz it's cheap to support ie6 this way
 
like jquery is cheap for selecting elements stuff?
I like the cookie object
 
jquery doesn't select elements :p
thanks :)
 
@FlorianMargaine .. then what is the reason for IE5.5 support ?
 
I know
 
9:14 PM
@tereško ask rlemon :(
 
also .. that lib sucks
 
why?
global variable?
 
jslint.com , to begin with
 
jshint you mean?
 
9:16 PM
no , i meant what i wrote
 
oh yeah, i see what you mean
gotta think of using "use strict" <<
 
don't think, just do it
and (function (document, window, undefined) {}(document, window));
 
haha
there is a mass downvoter on me right now :D
downvoting months old questions...
wow
now I've got a mass upvoter
 
lulz
 
is that so that i'll be banned or something?
I stepped into a dangerous question :p stackoverflow.com/a/10236608/851498
@Esailija: you're gonna like the comments :p
 
9:32 PM
yeah I upvoted your comment :P
 
@sg3s why document and window?
get it for undefined, but these two...
 
no particular reason, I just pass on w/e I use from the global scope and usually shorten document and window to d and w
so if you don't use window, don't pass it
 
its considered to be neater
 
10:02 PM
what is the best pros of backbone.js?
any idea??
 
10:22 PM
@tereško I am aware of the pitfalls of that xhr object. I am in the process of redesigning it.
Please if you do have any ideas or comments on how to improve (and you care enough to do this) there is a github page for it. issues have already been raised by Raynos.
github.com/rlemon/Little-XHR
@FlorianMargaine he is the one earlier today who suggested tables for a layout issue :S
anyways... back to my php yay php!
^ ಠ_ಠ (it's a love hate thing)
 
 
1 hour later…

« first day (551 days earlier)      last day (4411 days later) »