How fluther knows how many people observing right now my question or answering it in a real time?

1 Answer

Answer :

I’m not sure how do they do it exactly, but it shouldn’t be that hard. This site is relying on javascript for a lot of the ‘special’ features (like composing members). Since the site assumes we all use javascript anyway, It could just use the ‘onUnload’ event that is triggered every time a user leaves the page. I’m betting it’s something way cooler and smarter than I can think of though!

Related questions

Description : How can I implement in my small web site company how many members are observing each page right now?

Last Answer : I've seem people use the window.onbeforeunload event to do this. A common problem with this method is a script not finishing in time. You can use the event to open a new web page that runs a ... , but never sends display information. That way you don't have to worry about your function being killed.

Description : Does the buttons background color at Fluther.com made with CSS only or it is an image?

Last Answer : answer:It's an image. Fluther uses sprites to compress the amount of image downloading the user does with each page request. If you look at the sprite image the buttons are there. Note that ... If you look at Google using Safari or Chrome, the visual effect is accomplished entirely without images.

Description : Why is 'fluther_disc' null or not an object on some Fluther pages?

Last Answer : Which pages, exactly?

Description : Is there a website equivalent to fluther but dedicated to programmers and developers?

Last Answer : There is a paid service called expert’s exchange which has always looked promising.. though I’ve never paid so I’m not sure.

Description : What's the most valuable software programming language right now?

Last Answer : answer:Yes. I think C# is your overall best bet, subject to certain industry/company idiosyncrasies (e.g. Google is all about Python and C++) – or if wanting to do anything for mobile apps (Java). It’s been many years since I programmed for a living though. Delphi may make a comeback…

Description : What's the best web programming language to study right now?

Last Answer : Ruby. Maybe Python. Avoid PHP at all costs.

Description : I'm in PHP right now. Will a transition to Objective-C be relatively easy, or do you think I should try other languages first?

Last Answer : answer:Objective-C is a compiled language, strong typed, then is different to Php in many ways. Since 2.0 version, Obj-C has its own garbage-collector for memory management. I don't try to ... want to do with Objective-C ? Cocoa framework is really interesting, you should take a look at it !

Description : Is there any real difference between Java and C#, in terms of capabilities and functionality?

Last Answer : Java is better cross-platform. C# is better for windows development. C# has closures. phoenyx googles I came across these code examples and this wikipedia article which showed some good comparisons.

Description : If a chatterbot were answering some of the Fluther questions, would the moderators detect it?

Last Answer : Not directly. The user agent string would (hopefully, if they knew what they were doing) make the bot appear to be a normal user, and it would post at a rate that would make it appear to be human. ... ban them , it's more about looking to say this user posts garbage, so we should ban them .

Description : Programming/math question, please see inside (if you're a math wizard)

Last Answer : I wonder if ray-casting strategies would be appropriate here, since it’s like trying to calculate when one object eclipses another.

Description : Excel Help - Macros question?

Last Answer : this is the first post on here that i have not gotten a response for within minutes…I am shocked! Have a stumped your guys?

Description : What does adding a question mark to a URL do?

Last Answer : Oh, and I know it’s used for URL parameters. I mean a ? with nothing else.

Description : I want to make a question and answer site like mind. Domain and hosting are ready. Can anyone make it ? Don't build with WordPress. Ans Bangla should not be made in this way. Knock if there is anyone like that.

Last Answer : You can contract with the admin of this website. He can make you a site.

Description : Attracting the admin's attention ? If one point is obtained by asking a question and two points are obtained by answering a question. Atiqur Rahman Atik Bhai's total points are right. Only his or someone else's points are not right.

Last Answer : answer:

Description : Can I jump right into programming on the Mac?

Last Answer : answer:X-Code. Have fun *rolls eyes *

Description : What conclusion can be drawn by observing that 20 is to the right of 10 on a number line?

Last Answer : Feel Free to Answer

Description : If I feel like I've pretty much asked every question about my life right now and worked though most of it, is it rude to leave without saying goodbye to fluther?

Last Answer : I'm glad you are finally free from your inner demon. It's your choice to stay or leave, no one has any power on you in that matter. No one forces you to say goodbye either. But it's always warm to ... ex's toxicity and grow to be a better man, as well as raise your son to be a great human being.

Description : A traveler, on his way to Miami, reaches a road junction, where he can turn left or right. He knows that only one of the two roads leads to Miami, but unfortunately, he does not know which one ... the traveler find out the way to Miami by asking just one question to one of the two brothers? -Riddles

Last Answer : The question that the traveler should ask is: 'Does the left road lead to Miami according to your brother?' If the answer is 'Yes', the traveler should turn right, and if the answer is 'No', the traveler should turn left.

Description : How do people juggle a Family, Full Time Job, and Open Source Projects?

Last Answer : I am going to watch this one and think on it. Great question.

Description : What question is "Because the people who don't want to inhale smoke are forced to inhale" answering?

Last Answer : “Why would it be justifiable to exterminate smokers?”.

Description : Why do some people feel the need to piss all over a question when they aren't actually answering the question (examples in details)?

Last Answer : I never got that, either. That’s why most of my Qs are in General, and why I can’t ask some light-hearted ones that I would like to because they’d be moved to Social. I guess some people never master the art of simply not clicking…

Description : What do you think of people answering "42" to any question?

Last Answer : Um, what!!!?!?!?

Description : Excerpt from Part One of which book: People today face this persistent question in new and pressing ways. Communities are exposed to the risks of uncertainty, and suffer the grave consequences of ... the ultimate solution to the problem of the proper instrument of government Fill up the blank

Last Answer : Green.

Description : Why are you spending your precious time answering this question for me?

Last Answer : Probably for the same reason why you’re asking it, it’s a Q&A site after all…sung to the tune of small world purely to annoy.

Description : I'm clueless. Why do people make a differentiation between Apps and other programs? What's the difference?

Last Answer : answer:“App” == “Application” == “Program” Same thing.

Description : If someone created a game for PC and had a website they wanted to put it on so people could play it, how would they accomplish that?

Last Answer : Do you have a game that you want people to buy and download and install on their PC to play it (like Portal)? Or does the game just run from the page that people view (like Angry Birds)? Or does the game run on your server and you want people to be able to play it online (like Runescape)?

Description : Website service for media people wanting to sell online streaming videos?

Last Answer : Yes, YouTube. And it is free.

Description : Anyone know an Excel formula to convert Excel Date/Time to a Time-stamp?

Last Answer : Any reason why it has to be a timecode? Could it be a GUID?http://stackoverflow.com/questions/7031347/how-can-i-generate-guids-in-excel

Description : I'm trying to break into the tech industry but am having a hard time figuring out where to start. Where should I start?

Last Answer : PM me and I may have a lead for you.

Description : What are four of the next six things you're going to do (after answering this question)?

Last Answer : Commute home. Take a nap. Go for a run. Go to a 12 step meeting. Answering this doesn’t chaneg anything, it is pretty much how I spend every Friday afternoon.

Description : If someone asks a question, and you answer that question honestly, even though the answer might upset the OP, should you refrain from answering honestly?

Last Answer : answer:I agree, sometimes calling a spade a spade is the only way to go. If the Jerk fits, and all that. Jerk is pretty mild when it comes to name calling. I think it has to do with A. Who the ... grievance just looking for a cause is okay as long as the word you is not used as an intro. haha

Description : What is the best way out of answering the question "So who do you think is pretty?"?

Last Answer : “They’re all pretty, I guess, but I like you and [insert name of actress she likes] much better.”

Description : Do you ever get performance anxiety answering a question first?

Last Answer : Nope.

Description : Do you think it rude or fine to repeat another user's idea when answering a question and then not give that user credit?

Last Answer : It’s routine.

Description : "Have you ever avoided answering a question in conversation? If so why?"?

Last Answer : I’ll repeat it until they give me the answer that I want ;)

Description : How do you use the 'style your text' help when answering a question?

Last Answer : Where it says “strong” or “emphasis”, that is where you place your text, if you get what I’m saying.

Description : I was answering Mary's question about weight loss and the page vanished from the screen. Where did it go?

Last Answer : I have had that happen several times, it is confusing and a bit annoying. You get into writing a comment for a question and you go to post it and the question has disappeared. :\

Description : What is the best online question answering site?

Last Answer : This is an interesting question, but it should be noted that in the context of that article "question answering" is about a machine mediated AI approach, not a fully human approach like we use here at Ask-public

Description : Is it just me, or is McCain avoiding directly answering the question and bashing Obama?

Last Answer : answer:Yup. I am watching and I have Factcheck up. And McCaine is LITERALLY going down the list of debunked items he has tried for months and spewing them out again. He just said im going to answer the ... is all he is doing. He is really coming off as a loser. He just got burned on Energy!

Description : what is the price for blue host and host gator thank you for answering the question?

Last Answer : Blue Host is one of the world's largest Web Hosting companies & providers of online solutions. Bluehost is a top recommended host by WordPress and also proudly supports many other open source programs.cutt.ly/ejeNEjm

Description : Who Match each artist with one of his best-known works.I'm answering a question for APEX4.3.3 Quiz: Art in 18th-Century EuropeGainsborough --> The Morning WalkChardin --> The RayHogarth --> The Graham Children?

Last Answer : Chardi-The RayReynolds-Colonel Acland and Lord Sydney:The ArchersHogarth-Marriage á la Mode

Description : How to get points without answering any question in Ans Bangla ?

Last Answer : There is no way to get points without answering the question in Ans Bangla. If you answer a question you will get +5 points.

Description : like this: don't be afraid, this is how the Maori from New Zealand thank (rofl)

Last Answer : Need Answer: D I feel like doing it when I ask something here and get a link to my aunt wiki: D

Description : Do you gain points if someone is answering your question?

Last Answer : You gain points for posting an answer and comment. You gain more points the more people upvote your answers or comments. 10 points per answer and 5 points per comment. I would recommend you to try to answer any new questions that pop up.

Description : Which Is Easier between asking a question and answering a question and why?

Last Answer : Asking questions has been human's nature and instinct. We just have to find that inner thirst for quests and answers from within. Basically, to find truth and meaning to all our sense of wonder. So, it's easier to ask than answering questions we want answers to our inquisitive minds ourselves.

Description : Do you read all the responses here before answering a question?

Last Answer : I do not read all the responses here before answering a question. It is because, I think it is a waste of time. Moreover, when we actually go to the editor to answer the question, knowingly or unknowingly, ... . And who knows, if he liked my answer, he may give me a thanks too in the bargain.

Description : Choose form the following areas where NLP can be useful. a) Automatic Text Summarization b) Automatic Question-Answering Systems c) Information Retrieval d) All of the mentioned

Last Answer : d) All of the mentioned

Description : Salesforce SDK uninstallation from XCode?

Last Answer : Too many variables – only you know your code, how it was written, and how extensible (or not) it was in the first place. I assume you have been to the Saleforce API and SDK pages.

Description : Is there a program where you can identify music in a specific website?

Last Answer : Need Answer