« first day (216 days earlier)      last day (4747 days later) » 

user1385191
8:00 PM
gawker learned first-hand what happens when your whole site relies on js
 
I feel evil answering 0% accept rate questions
oh well
 
user1385191
their cdn had problems so the js wouldn't load
 
user1385191
= borken site
 
Oh god, I hate their new website
 
@MattMcDonald :-P
 
8:00 PM
@Liam google maps doesnt need js
 
I hate gawker media in general
 
It needs a good url management and a large database of images
 
Holy crap I got an accept from a 0% accept rate
Miracles!
Didn't even bring it up either
 
ha
 
@Raynos That's a lot of work for a small group of people, not to mention some functionality (like scrolling through a map) would be impossible with JS... or Flash (ick)
*without
 
8:02 PM
@onteria_ lol well i just got an accept from 2 weeks ago
 
user1385191
large-scale web apps are fine by me if they don't work without js
 
user1385191
but ones in which you're solely getting and posting information (hey, twitter)
 
user1385191
no way
 
hmm, wonder what happens to this chatroom if you disable JS...
"Welcome to the chat! Unfortunately, you have JavaScript disabled, and thus this chat will not work. If you would like to participate, please enable JavaScript in your browser and reload this page."
heh
 
user1385191
I have no problem with that because it's rich UI
 
8:15 PM
@MattMcDonald ??
 
user1385191
you can't do a live chat without AJAX
 
@MattMcDonald of course u can
comet
websockets
etc etc
 
@Neal Pretty sure comet is still AJAX
 
@Liam nope not at all
@Liam define ajax
2
Q: Comet vs Ajax for chatting

MarkMy site needs a chat room, and I'm also looking to implement a facebookesque person to person chat system. What is most cost-efficient/performant (purely in terms of bw and server) for me. A regular 1 second poll ajax chat, or a comet solution. Thanks.

 
@Neal Honestly I'm not all that familiar with comet, but the Wikipedia article made it sound like long-polling
 
8:23 PM
FB chat doesn't use xmlhttprequest to check if someone has messaged you.
 
@user257493 it uses a comet implementation i believe, tons of hidden iframes
 
right.
 
same thing with gchat
 
Well then, I stand corrected :P
 
I'm fine with the SO chat system, is there something that I should be aware of when doing every-second requests?
 
8:24 PM
@user257493 over head.
@user257493 look at my chat system: blipit.net
 
As in server load?
 
@user257493 yea
 
Cool.
 
who was just on my chat thing?
 
I'll snoop over it when I'm in france later :P
 
8:26 PM
@user257493 ahhhh haaa
i believe this chat is comet, but im not sure
 
Oh wow, someone downvoted Don Stewart on a haskell question
This can't end well
 
Downvotes are free man
 
@Neal, this chat is not comet.
 
this is the start of a new reign of terror
 
@RebeccaChernoff what is it built on?
 
8:29 PM
They're gonna get schooled
 
7
A: What technologies were used to build the chat?

balpha But the answer is old and does not include the chat technology. Actually it's more or less up-to-date, and does indeed include chat technology, because the chat is built on the same stack. The chat is more or less a plain ol' ASP.NET MVC application. Obviously it's very JavaScript-heavy on ...

9
A: Why is the Stack Exchange chat room using simple polling instead of other Comet techniques?

balphaThe answer is simple: Because it works. In the very beginning of the project "chat" we decided to start out with polling, because that's the easiest thing to implement. But we would do it in a way that allows for changing the transport from polling to long polling without too much hassle, should...

 
@RebeccaChernoff hmmmm
interesting
 
hey then wat does this xmpp does ??
 
@Reefaq ??
 
xmmp is a service used for chat implementation
 
8:33 PM
@Reefaq not here
@RebeccaChernoff is there any meta Q's that say how SO handles the load?
 
do you have just 1 chat tab/window open or do you have 2? (since I see you're in the php room also)
 
@RebeccaChernoff i only have one open
 
Interesting usage of localStorage
I may need to start a mini-project for this
 
@RebeccaChernoff the link in the answer is tainted
 
8:39 PM
hm?
 
@RebeccaChernoff chrome warns me that the link might have a virus when i try to go to it.
 
@RebeccaChernoff well no, i would like to know how 2 tabs can communicate, i never knew u could do that
 
wait, diveintohtml5?
I've got to see this
 
@onteria_ click on the link in that answer
@RebeccaChernoff any other links?
 
8:42 PM
not necessarily the best idea depending on what your browser will do... (;
 
well ive gtg
let me know if you have something
latr ppl
 
@Neal hmm that's odd, I don't see it anywhere in the source
 
@Neal, feel free to edit that post with a better link
and just browse the [chat] tag
 
Nope, must be an old false positive
I actually turned safe browsing off because I found it makes a crapton of HTTP requests to google with URL info to check against their servers
I'll take my chances
 
um, what did you think it did?
q:
 
8:47 PM
I've been growing in paranoia lately, I switched to a TOR, looking into getting VPN, started searching with DDG
 
@RebeccaChernoff I never thought about it until I saw the giant number of requests during a packet sniff debug session
I also dislike that Google Instant thing. Ended up turning it off
I found it really distracting
 
Google in general is bothering me
 
It's a legitimate warning, there's some code that was snuck into the top of the JavaScript on that page that loads an iframe to that domain. It looks like it's trying to exploit the Java plugin.
I wonder if anyone let him know that was happening, hrm.
 
Just @ mention him.
 
Wait this "Legendary badge", when it says 'Earned at least 200 reputation on 150 days' is that 150 consecutive days?
 
8:55 PM
Not sure, I don't really pay attention to the karama system except when I want recognition for an answer or access to more tools
 
I'm in it for the badges. My life is a lie.
It's the only thing that motivates me to spend 30 minutes lecturing someone who didn't escape SQL input when their only issue was misspelt form names
(I did note the actual error though :P)
 
My main goal is to create content. I keep convincing myself it's too hard to do, which I'm working on getting around.
but now is the long weekend. see everyone later!
 
9:44 PM
What happens when you demand your answer be accepted: stackoverflow.com/questions/6076108/…
 
user1385191
ha
 
user1385191
self-entitlement is just awful, isn't it?
 
user1385191
"give me a present on the nth anniversary of my day of birth or I'll never talk to you again"
 
I wanted to say something about the whole demanding of an accepted answer, but I decided it wasn't worth it and explained why they were wrong instead :P
 
user1385191
at least it's better than: "hey, you downvoted me. I DEMAND AN EXPLANATION."
 
9:47 PM
I didn't even downvote. I should have though.
ha, this person links to a site that smells like illegal book downloads for a book that's freely available from the publisher
 
user1385191
you really have to annoy me to get a downvote
 
user1385191
something like "jQuery is always the answer, shame on you for doing otherwise"
 
user1385191
(true story, I've downvoted something like that)
 
jQuery is always the answer, shame on you for doing otherwise
:P
 
@MattMcDonald you should totally drop that...
 
user1385191
9:51 PM
can't downvote comments
 
user1385191
you're lucky :)
 
:D
 
2
Q: style type="text/css" ... what else is there?

DanAre there any other types that browsers support for the style tag besides "text/css"? (Excluding any synonyms for css). If not, then why not? <style type="???"> ... </style>

I always did wonder about that
What the... PERL/FCGI/IIS? Sounds like a fun combination
Heh, github links are becoming like jsfiddle links for showing code
for C programmers that is
 
10:13 PM
Delete Answer: because when you realize what the op REALLY wants to do, sometimes it's better to run away in fear
4
 
(Y)
@onteria_ yeah, html5 is nice and has plain <script>, <style> and <!DOCTYPE html> tags without the cruft.
 
yeah I know that DOCTYPE's are pretty much a code template / copy & paste job, but damn they're so long
Mercy on your soul if you need to deal with namespaces (ugh)
 
I for one am happy that the standard is moving back toward "stuff you can write off the top of your head" like in the old days.
 
I had code once that used xhtml with custom tags in a different namespace
Kind of annoying though, because if you put custom tags defined in a dtd / xml schema file somewhere, and use them in HTML, they won't show up properly unless you use CSS rules
 
user1385191
other than the doctype, xml namespace attribute, and a the content-type meta tag, I have most of the XHTML Strict stuff memorized
 
user1385191
10:22 PM
(though I usually just copy + paste from my own site)
 
I have trouble remembering names of CSS attributes and especially order of arguments.
 
user1385191
var xmlDoc=new ActiveXObject("MSXML.DOMDocument");
xmlDoc.async="false";
xmlDoc.load("items.xml");
 
user1385191
ho-hum, just more legacy code
 
@MattMcDonald just saw that
I like how they call it "associative array"
 
user1385191
I've found XML to be more and more of a pain compared to JSON when I go through older code I've written
 
10:28 PM
People see the object['property'] syntax and think it's an associative array
When it's just another way of saying object.property
 
user1385191
supposedly, the dot syntax was just added to make it look nicer
 
user1385191
(aka syntactic sugar)
 
Ugh, not another "Please look at my regex and tell me what's wrong" question
I will not become your regex parser! I refuse!
 
user1385191
var str = "foo";
var test = str['slice'](0);
alert(test); //foo
 
okay that threw me off for a second
so it's the reverse then? object.property is just another way of saying object['property']?
 
user1385191
10:35 PM
yep
 
user1385191
square bracket notation is like the RegExp contructor
 
user1385191
it's not as direct, but you can make dynamic code with it
 
"Inverse les colonnes 1 et 2" hmm yikes
"You really need to work on translating this into English. I'm French and I don't understand the second half of your post"
French Programmers: intense.
 
11:34 PM
(Y)
 
0
Q: Chrome _ = Safari 4.

tylermwashburnThe title pretty much says it all. What version of Chrome is equivalent to Safari 4? If anyone knows the same about Safari 3 and 5 as well, that'd be helpful.

I mean, yeah they both have a WebKit backend, but the patches are different
 

« first day (216 days earlier)      last day (4747 days later) »