« first day (637 days earlier)      last day (4296 days later) » 
00:00 - 21:0021:00 - 23:00

12:02 AM
what is the point of an alert system ?
 
To alert people when they have a new comment
 
my suggestion is, try to design a visual effect in the website to let people know they get a new comment
alert is agressive and may lead to frustration if, for example, someone is reading some content then «SPUMP! *alert*»
to notify them whenever the tab is not active anymore, you still can alter the title to make it begin with "(1 new message)"
 
;p its for a crome extension
chrome*
:3 Is 30 seconds too short or long?
 
ok so the question is a little bit more difficult, what I'm sure is that seeing an unexpected alert is really frustrating unless you are not doing anything in your browser
may I suggest you to use a custom page action ?
I mean, normal case = page action is the logo of your extension
then, "new comment" case is the logo with a "new" tag into it, or something
 
@Fred ._.
 
12:16 AM
so when the system get informed that a new comment is available, the page action should update
 
It is not an obtrusive alert
It is a growl-style alert
But im trying to figure out how ofter to check for a new message
 
oh sorry, I thougth it was meant to call "alert('..')"
 
xD no that would be bad
 
then 30 seconds could be nice :)
 
Im just thinking what is reasonable.
okay! Thanks
 
12:19 AM
what is nice with chrome exts, you can let people configure how it works so 30sec could be default value, unless someone wants it different
this could be interesting for you : code.google.com/chrome/extensions/options.html
since localStorage is well supported in chrome.. no headaches :)
 
5
Q: Stack Search Chrome Extension

rlemon Stack Search A Google Chrome Context Menu Extension Screenshot About This is a simple context menu extension that adds an option for selected text on a page to be searched on your favourite Stack Exchange sites. The extension has two main components, the context menu list and the '...

nice chrome extension ;)
 
12:38 AM
 
Loosely translated: German music lobby are content-nazis
 
 
2 hours later…
 
1 hour later…
3:45 AM
@* good morning
 
4:18 AM
Howdy
 
ugh. why are compilers so hard to think about?
 
4:33 AM
anybody care to hazard a guess as to why this returns undefined? jsfiddle.net/donovandigital/3A5sg/13
@Zirak, in what way?
 
We do string analysis in our heads so brilliantly fast. But I can't manage to model it in my head. The most complex parsers I've written so far are pathetic. It could be just me, but I can't grasp compilation.
 
@Zirak, not my strongest suit either, but its like math - some operands, some operators, some outputs
 
You have managed to describe every system ever built, congrats
 
@Zirak, Umm, i guess?
 
From the most basic of life-forms to the most complex intricacies we can't even dream of, it's all like math, because math is our cornerstone language of the universe. So yes, it's like math, that doesn't make it any better; it leaves it exactly as it is
 
4:40 AM
Math doesnt have vars afaik - not in the programming sense anyway
Nor does it have objects
 
Nor do CPUs
It's all a lie, really.
 
You can claim some math things are "objects", but it'll be quite the stretch
So in practical terms I think I am in the right :)
 
But that's still not any better...you're correct, here's a cookie, you can't write OO math. But it's still some operands, some operators, some outputs - as dictated by the foundations of math. And it will be translated into mathematically simple terms, which the CPU can understand.
It's still fuck complicated
And math is fuck complicated
 
@Zirak, there's complicated and complicated which is my point
 
Hell, languages today don't even know how to express numbers right...
 
4:44 AM
IMO this is not even at the calculus level - operators on strings, not functions
 
This was moot
 
@Zirak, can you look at my thing pls?
 
Well, I'm after another sleepless night (not entirely; I don't count the 2 hour horrid sleep), frustrated as hell because I'm incompetent at compilation and annoyed that I still don't know how to really login to SO programatically. So, if I do look at things, I'll start yelling. Or mensturating.
 
Those are mutually exclusive?
 
Menstruation leads to yelling
 
4:52 AM
Also, I hope you're female else we'll be in real trouble
Not vice versa?
 
5:09 AM
o_O
daFuQ did i just read ?
 
I live for that emoticon =P
 
 
2 hours later…
6:59 AM
0
Q: javascript function with game engine

akamercI have coded my main menu for the game in html/css and need the image buttons to function with the engine using JavaScript. For example: Skip (Enable) Which skips the menu when you come back to play to continued the game. (Disable ) Which will return it normal Skip – one image button red ...

 
7:26 AM
0
Q: Print three copy of asp.net page two copy with diffrent color

Jitendra Yadav$("#btnPrint").click(function () { var index = 0; for (index = 1; index <= 3; index++) { if (index > 1) { $("#test").css("background-color", "gray"); window.print(); } ...

 
7:37 AM
@Raynos are there any official guidelines for usage of node_buffer.h
 
7:59 AM
RT @hsivonen: A decade later, the Web is still/again browser-specific. Lots of evangelism to do: http://people.mozilla.org/~lmandel/arewecompatibleyet/
 
8:09 AM
0
Q: Read-only video (No way to download, only playable)

epic_syntaxI'm creating PHP based web project in which students can login and watch tutorials. The service is paid, so I want to prevent downloading video files from website (and sharing for free). In other words, every user can only watch videos on website, no way to download. For this purpose, I was s...

 
RT @tabatkins: New blog post, "A Standards-Compliant CSS Parser": http://www.xanthir.com/blog/b4Ju0 There's a request for help in there!
 
 
2 hours later…
9:44 AM
@FlorianMargaine o/
 
heya
not staying sorry
 
no problem :-)
my little kiddie started to compile <3
i am soo happy
user image
5
 
ahahaha
awesom
 
hi 2sailija
hi abhi
can any one let me know how to convert a string to datetime using jquery or javascript
 
is that you @Abhishek
 
9:58 AM
@Esailija do i look that stupid ?
 
I am kidding you :D
<3
 
lol
@Esailija no i know i can be insane [totally crazy idiot] sometimes but there are about a billion more candidates in my country ^_^
 
I was just busting your balls cos youre from india
:P
 
lol
its fine , no offence taken ^_^
and besides .. :D :D :D i am a bit too happy
after 1.5 months i am actually solving my problems in C++ myself :D :D
 
grats
 
10:07 AM
@Abhishek lol @ your facebook poll's answer ;D
 
;D
its true though :P i sit here more then facebook or youtube ^_^
 
Petka Antonov answered a question.
8 seconds ago
When u turn on your PC .... website you visit mostly ?? :D :D
stackoverflow
 
btw counter strike 1.6 became a website ? and people vote it :-/
 
Heh, that would probably be the same answer for me - if i ever turned off the PC. :p
 
10:12 AM
@Esailija looks like I can't add you on fb :o
 
I can add you, I have paranoid settings
 
@Esailija add me too :-)
 
@FlorianMargaine added :P
@Abhishek what's your name or id
 
Abhishek Hingnikar
djdark88.7@gmail.com
 
10:15 AM
Web Developer at VosCastStudies at Gyan Ganga Institute of Technology and Science
 
Yeap
 
btw google indexes chat messages
 
lol I can't add you :D
 
this should do ^^
 
10:15 AM
ah ok that works
 
:-)
you know when u write a binding for node.js with C++ and it works u get the feeling of a life time.
 
:)
@ThiefMaster pls share your non answer queries, I am running dry here :c
 
heh, the ones i used yesterday didn't really have many results (and those are already deleted).. i searched for stuff like "plz help me"
and ingrish things like "kindly send your code"
 
I am now using "could you"
and by newest first, I get a lot of stuff posted within a few days
 
10:31 AM
(enum EnumName)((int )(v8::Number::NumberValue())); <- enum from javascript to C++
 
"Could you answer my question"
first time I see that
 
edit ftw
 
3 mins ago, by Abhishek
(enum EnumName)((int )(v8::Number::NumberValue())); <- enum from javascript to C++
comes handy if u are writing a module esp wrapper and documented no where :-|
 
:-I
 
magical C++ libraries :D
the methods awesomely used by great people also includes using switch case
// i wonder why
@Amaan hello
 
10:46 AM
@Abhishek Hey
 
sup bro
 
Nothing. I'm usually doing nothing if I'm in a chat room
Except browsing the Internet, of course
 
-5
Q: How do I troll this site?

TROLLI've been having a bad day and want to do some trolling here. Any suggestions? I want to avoid being rude, if possible.

3
lol
 
haha
what is Community♦
 
deleted because of 6 spam/offensive flags
something that also includes a -100 rep penalty :> (not that it matters with his account that is now deleted..)
 
10:59 AM
I see
do you happen to know what happened with this guy? stackoverflow.com/users/285587/your-common-sense
banned for a year, with that high rep
 
Technically I could, but i shouldn't and thus won't.
 
ah sorry, but the curiosity is understandable :D
 
0
A: Web server is extremely slow

Col. ShrapnelWell all these answers as well as closing votes are just trash. I can't believe such ignorance and guesswork can be ever exist. This is perfectly legitimate programming question, however poorly asked and even worst answered. Imagine you are sick and come to doctor. - A am sick! - says you - Gi...

 
lol
I can see any active user losing his mind if they spend too much time on the site
I sometimes type a very aggressive comment to a question but delete it before commenting
maybe I should go outside and just yell
 
oh my
why does shit like that even exist?
 
11:07 AM
lol how did you even find that
 
you flagged an answer related to it, remember?
 
oh, I don't actually read the answers. I just skim them to see if they are obviously non answers
 
11:29 AM
strToUpper
LOL
input#ollqlqlqlq {
text-transform: uppercase;
}
thats all he needs fellas
 
but using only css don't change case in reality
 
it does btw
native method will be faster and wont loop [ depending on the implementation ]
 
no it doesn't , you should try it
<input type="text" style="text-transform:Uppercase;" onkeydown="console.log(this.value)" />
 
:P
0
A: jQuery capitalization text input

AbhishekWhy even use JavaScript ? this is possible using CSS if the id of ur input is textbox then do EDIT :: As corrected by @Random This wont change the value to uppercase but just to show u should use this. input#textbox { text-transform: uppercase; } Or you can always do with javaScript $...

@Random happy ?
 
11:45 AM
For them who know AJAX crawling
I have a page url
`http://www.comingSoon.com/#!message`
Now do i need also a HTML page
`http://www.comingSoon.com/l?_escaped_fragment_=message`
in my server
@Abhishek you are not completing his second requirement
 
@Random am coding a jsfiddle for him atm :P
 
12:00 PM
ah some1 did :-|
.. hopefully he realizes jQuery plugins are coded in js
 
12:11 PM
Anybody know why jquery 1.7 don't widely support uppercase letter in data-* attribute
just run it with different versions
 
12:25 PM
@Random jQuery was changed (i think in 1.6) to comply with the spec which says that data-* attributes can't have capital letters in their names
 
12:37 PM
Remember, attributes are not case sensitive
and data-hello-world gets you helloWorld in jS
 
@Abhishek those types of questions never get answers that actually work bug free.
 
@ThiefMaster If you run foo.dataset["Hello"] the value is undefined, but foo.dataset['hello'] returns the value, even if your attribute is data-Hello
 
true
but anyway, the char after a dash that is not right after the data- is uppercased
 
Do someone know how to find that robot are typing instead of human in javascript.
suppose lastpass fill a password when page load. how I can remove them if I found that plugin try to fill it.
 
Why the hell do you want to check that?
That sounds like you are trying to piss off your users.
(Just like blocking pastes in a "repeat your email" field)
 
12:47 PM
@ThiefMaster I want to know about my bank website.
 
Ah
why not just try using a tool and see if it works
 
when lastpass fill the password then they make it "dkjsfjdskfjdslfdksfdklsfjdklsj" in password. I don't know what they fill but it's make my lastpass not worked on that website.
 
well they could check if there's a value in the field when the page loads
 
dkjsfjdskfjdslfdksfdklsfjdklsj = I don't know what they fill but you can't login with lastpass on their website. It's happen from 1-2 days.
my bank site change password exactly after a millisecond when you click on the form.
change password = in a textbox (pass) where you fill.
I just want to know is their any way to know if I use $("xyz").val() for filling through javascript.
 
@ThiefMaster Yeah, if you want .data("Hello") your attribute needs to be data--hello
 
1:02 PM
Ugh, does that actually work?
But even if it does, if I was someone's boss I'd slap him hard in the face for doing that
 
It works in both jQuery and raw DOM
It makes sense, but that'd make for ugly markup
 
0
Q: Improve this javascript code: It displays hidden text and highlights the selected page number

soupman55This code (http://jsbin.com/isexez/3/edit) functions as expected: (1) it displays the page selected; and (2) it highlights the number of the selected page. I would appreciate help in improving it. I am in the process of writing an ebook (http://www.keepcount.net/ebook/01-09/02_tricks.html) an...

 
yeah you should use dashes because html attribute keys are case insensitive
like onMouseOver works even though it's onmouseover
 
1:47 PM
-1
Q: What should i read next in learning Javascript

RafaelI'm currently reading Professional Javascript for web developers and i've read the first 7 chapters. The next chapter i'm starting is chapter 8 : The Browser Object Model. And i have another book : Javascript patterns, i'm feeling that it has some in-depth and easy explanations for patterns than...

 
 
1 hour later…
2:53 PM
@ThiefMaster how to troll stackoverflow question answered: stackoverflow.com/questions/11484495/…
:D
he got me pretty good, I instantly opened specs for abstract relational comparison
even though I ran the code directly in the page's console and got false every time
 
@Esailija hahaha
 
3:08 PM
When you realize that you are just about to be kicked!
 
@Feeds ...if that ebook has anything to do with js, stop writing it immediately and first learn js
 
3:36 PM
HI all.
I have a question and I thought someone there might have the answer.
that's if I'm not alone here, of course
 
Zirak uses Telepathy! It wasn't very effective...
 
Hi Zirak
 
If my hint wasn't transparent enough, we don't have telepathic abilities. If you want to ask a question, ask it; if someone can answer and wants to, they will.
 
lol
 
@Esailija what os are you using ?
 
3:49 PM
windows 7
with ubuntu vm in case I need it
and I also have a macbook pro
 
:-) Oh cool then
i will need somebody to test my module on other oses & architechtures later today :-)
 
I will probably be drunk later today
 
lol so do it someday later ^_^
 
4:10 PM
@Esailija I don't get no shit to finnish
 
@FlorianMargaine wut :D
 
how can you speak that?! :p
 
4:26 PM
0
Q: Please recommend a book on 2D engine development

BaneI am designing an engine for HTML5 games, all is fine and well, and I have a firm grasp of what I want to achieve and how do I want to do it. But, I still feel that I should read an actual book on this, rather than just use the accumulated knowledge from articles and posts I find on the Internet....

 
4:56 PM
@Esailija jenkatehdas.fi you make that ?
 
no www.livemusicstage.com
 
nice (facebook.y)
now i see why u have so much taste in music
 
5:38 PM
Do someone know any website that help me to learn ejs (template system)
 
@AnkitGupta assuming you mean emberjs, how about learn knockout and then the concepts should translate fairly easily?
 
ah, nm
 
5:58 PM
lol
@AnkitGupta that page has more then enough
and consider reading the examples :P
 
6:46 PM
Hello;
Anyone know how to fix memory leaks?
:(
Nobody?:(
 
You're using setInterval to oblivion, and onLoad="setInterval(getAlerts,fetchFreq);" is meaningless.
 
O.o
 
0
Q: iTween unknown Identifier JS

BlueI get an error in my script(js) saying that iTween is an unknown identifier. BCE0005: Unknown identifier: 'iTween'. iTween.moveBy(gameObject,{"x": x,"y": y,"z": z, "delay": delay}); I put the script called iTween and the JavaScript under a new folder called 'Plugins' but I still get the e...

 
setInterval sets an automatic interval, so it calls the function every specified delay. You're just stacking calls to it
 
Okay, so I can remove the onload?
 
6:56 PM
It's meaningless. onload expects a callback, and you gave it a string.
 
Oh okay;p
But that wont fix the memory leak:(
 
Yes, not having setInterval multiply like a drunken king in a cocaine fest will fix the memory leak.
4
 
:) okay, thanks:)
 
7:08 PM
Its still teleporting a hell of a lot of goats;p
 
I think they're queuing up faster than you can teleport them.
And goats will eat practically everything in sight.
The teleporting goat is a classic antipattern.
 
Ikr:(
 
Sorry, I don't speak Dolphin.
 
?
 
Miming sometimes works.
 
7:20 PM
Hmmm, It still appears to be leaking memory, however it is at a MUCH slower rate
Any ideas?
 
...your king is still on the loose
 
?
 
Still too many goats.
 
You only removed the line that does nothing, and didn't deal with the infinite setInterval calls
 
More goats than you need. Nobody needs that many goats.
Except The Goat King.
 
7:24 PM
So how do I fix that?
Put that outside of the function?
 
Learn the difference: setTimeout and setInterval
setTimeout(func, delay) calls func after delay ms; setInterval(func, delay) calls func every delay ms
 
I want it to repeatedly run the function though
 
You're actually multiplying the function calls at a Fibonacci growth rate
 
Oh nice
 
That's quite a fucking impressive error to make
 
7:26 PM
:D
 
@iHawk It will. Just with fewer goats. Except maybe on Bank Holidays.
 
Lol
So will it still call my function every 30 seconds if i use setTimeout?
 
NO
 
;/
Sorry, slightly confused
 
ok, try to follow: setInterval calls a function periodically; hence the interval. setTimeout calls it once; hence the timeout.
 
7:28 PM
Okay.
 
You're calling more and more setInterval, because inside the function setInterval is called upon, you're calling another setInterval, and so on and on
 
So I need setInterval. But I should move it ouside of the funcion
Right?
 
Or call setTimeout at the end of your function, as you so horribly wrongly did with setInterval.
 
setTimeout only calls the function once, but you'd have delayed recursion.
 
Why on earth did you think a string which does absolutely nothing will cause a memory leak?
 
7:30 PM
Okay, so it will run the function once, and on the next time, it will do it again so the same effect of setInterval outside of the function.
:p Not sure
I will just change it to setTimeout, thanks for your help!
 
Imagine that setX is a 4 year old girl which shouts "YOU GOTTA FUCKIN DO THIS" after set delay. The difference is, that setTimeout murders the girl after the first time. In your implementation, the girl manifests another version of herself like an incredibly annoying Hydra.
6
 
LOL
Okay
 
What if the server takes 31s to respond?
 
@adscriven I dont care about that
 
Neither do I.
 
7:35 PM
:3
YAY setTimeout fixed the memory leak!
Thanks @Zirak!
 
Enjoy
 
When Zirak writes paragraphs over paragraphs of metaphors to teach you something, believe him
 
You should make a sacrifice to honour the Gods. There are plenty of goats.
 
I do.
Yay! Its stayed at 24 mb memory for 2 mins now:D
 
Time for a DoS attack ...
 
7:42 PM
xD
Oh no it went up to 24.1 ;0 what shall I do (joking)
:(
Why does it only call the alert the first time?
 
8:22 PM
Corkboards. Marvellous invention.
They use duck typing, of course.
Hmm, instead of using code to model the real world, I appear to be doing the opposite. Time for a break.
 
@jz11 have a look here jsfiddle.net/mplungjan/4q9jJ
 
All: any way to hail a user who managed to delete his question before I posted a comment?
 
34
Q: How do I contact other users?

ArjanHow can I contact another user, if that user has not specified any contact details in their profile? Return to FAQ index

 
8:50 PM
Yo!
@rlemon We really gotta push Little-XHR to be production ready soon-ish.
 
Little-XHR?
 
stuck with IE8 + Backstretch image, if anyone can help -> bit.ly/P6Q5Uq
Why do fonts.com webfonts not work if you declare a transitional doctype?
 
@iHawk Yup. Kinda like jQuery ajax cept without all the other crap.
 
O.o Nice
Streamlined XHR?
 
@OctavianDamiean URL?
 
Thanks.
 
There is still some stuff to be done though.
 
O.o nice
 
Did you fix the bug where you basically can't launch more than on xhr at a time?
 
@OctavianDamiean Yes, there is.
See Homepage for usage.
 
8:56 PM
If I need xhr now, I just copy from myself
 
@adscriven "There isn't a GitHub Page hosted here, sorry."
 
@rlemon Now the reason why I say that we have to push it is that Dale Harvey (one of the CouchDB developers) is planning to get rid of jQuery in his current project PouchDB as it is essentially only used for its ajax feature.
@adscriven That is the least of our problems to fix. ;)
 
@Zirak Does it work in IE?
 
Not in the least bit
 
@OctavianDamiean It's your #1 problem! :-)
 
8:58 PM
Object.merge uses Object.keys and other ES5 stuff
 
@adscriven Why would you want something to work in IE??
 
@iHawk Because I think one or two people use it still.
 
@adscriven Screw them.....
 
It's not terribly difficult to write an xhr wrapper; the annoying part is transforming data into url form
 
@Zirak And addEventListener.
 
8:59 PM
Screw IE ... we shouldn't waste our time with ancient petrified crap
 
00:00 - 21:0021:00 - 23:00

« first day (637 days earlier)      last day (4296 days later) »