« first day (4 days earlier)      last day (3235 days later) » 
01:00 - 23:0023:00 - 00:00

1:53 AM
hello
 
hey folks anyone around
?
 
is this new?
i feel like i went back in time about 10 years haha
 
what, you mean the chat?
 
chat rooms!
 
why would you feel so
 
1:54 AM
yeah, pretty cool actually
 
it's stackoverflow...
 
but in chat form
 
i think (i hope) within a few years the whole SO site will go IM
yeah that's cool
 
is this just for Q and A
 
in fact you can make a chat room of every question you post on SO
 
1:56 AM
really?
 
huh
well... ive got a question thats been bugging me
if anybody wants to help
 
read FAQ
question about what
it's just you and me on chat right now
 
oh, i see
well... how in the world do i keep track of pageviews
much like SO does
 
i also have a question thats been buggin more few days, cant move on, will post a link within a sec
0
Q: DataGrid is not obedient to SelectedIndex property set

ShimmyI need to make the DataGrid, so if I am in edit mode, and the current row is not valid, the user should not be able to select a different row. In fact, I think that the DataGrid is supposed to avoid selection of another row once the CollectionChangingEventArgs of the CollectionView is flagged fo...

I think the whole SO system should go the IM conversation way, then each line of a conversation is rated
 
2:00 AM
well... im the wrong guy. ive only been programming for about a year and a half
 
so a user can sort conversation by rating
then the user can understand the question
but it surely has to be made very wisely so users can understand the question & answer in first sight, not having to bother digging in to find the conclusion
anyway, what's your question, maybe i can help
why not post it on SO
help other people facing this question + gaining reputation
 
i did, not much help. people on SO nowadays are only there to up their rep - not help
 
that's not right
you're wrong my friend
post a link to your question
 
ooh people are talking
 
ppl are after helping - not after reputation
 
2:03 AM
hahhaa
 
look, of course
reputation is somthing
 
@DanGrossman Amazing, right? I thought we were the only ones here with mouths ;)
 
but it's not all
 
@mtokoly UPDATE page_views SET page_views = page_views + 1 ?
 
no worries now, i just got on here to check out the new chat
but thanks anyways shimmy
 
2:04 AM
What's up @Dan @Yi
Good morning
Welcome back
nice to see you again
 
I want to talk about tracking page views, what do you need help with
 
morning? where are you guys
 
@Shimmy Three letters to get @-mention working ;) @YiJ
@mtokoly Morning here at GMT+8
 
@YiJ
No, need the full word
 
it's 10PM here for me in Pennsylvania, USA
 
2:06 AM
Here is 04:05 AM
Imagine that...
 
yeah... texas, USA 9:06 AM here
 
@mtokoly you probably meant PM
 
no, ever since that interdimensional rift opened up, there's a 11 hour time difference just a few miles east/west in the US
 
I believe it's 9 am @ YiJiang's place...
 
@Shimmy yeah i did. hahaha
 
2:08 AM
@Shimmy 10am, actually
 
I was all excited to tab back here and see a question about tracking page views
 
ive only been programming for about 1 1/2 years and im self taught, so i still have trouble with a number of things
my guess is: i track the user with a cookie. and log EVERYTHING the user views.
 
what are you trying to do
 
i just dont see how that wouldnt get otu of hand
track page views much like SO does
 
I'm not sure what SO does in terms of tracking page views?
But I track every page viewed on over 50,000 websites every day... it actually is not that demanding
just a few servers
 
2:12 AM
@DanGrossman It uses GA I think
 
@DanGrossman so... does everyone kinda have their own way of doing it?
 
I still don't know what you're trying to create
what specific feature that SO has are you trying to reproduce
 
@YiJiang ive read that... is using GA's API viable?
 
no
is it the "Viewed 20 Times" thing?
 
@DanGrossman im trying to recreate their 'views' function.
 
2:14 AM
ok, that's trivial
add a "views" column to the table that identifies whatever your site shows (in SO's case, the questions table)... and update it by 1 whenever the page is displayed
UPDATE questions SET views = views + 1 WHERE id = #
 
but wouldnt that be broken if someone just hit refresh over and over again
 
you can set a cookie if you want to only record "unique" views
 
@DanGrossman thats what im going for, i just dont see how that wouldnt get out of hand
 
what do you mean by out of hand
every vBulletin forum in the world uses a simple cookie to store the list of threads you've viewed, for example
 
@DanGrossman once again, im self taught. ie i suck :)
 
2:17 AM
that's fine, you're just not explaining any of the things you're asking
 
sometimes its the little things that throw me
 
what are you worried about
you're saying "i have worries" but won't expand so that they can be validated or put to rest
 
how do i use a cookie to record unique page views
??
bad question
heres what i dont understand: if a user goes to 50 pages, wouldnt that mean that their cookie would be rather large?
 
you could also store it in the database, or in a session if you only want to track it for a short period
if (!isset($_COOKIE['pages_viewed'])) {
  setcookie("pages_viewed", array(), time() + 60*24*24);
}

if (!in_array($question_id, $_COOKIE['pages_viewed'])) {
  mysql_query("UPDATE questions SET views = views + 1 WHERE id = $question_id");
  $_COOKIE['pages_viewed'][] = $question_id;
  setcookie("pages_viewed", $_COOKIE['pages_viewed'], time() + 60 * 24 * 24);
}
 
dude, i just copied and pasted that so quick.
you have no idea
 
2:22 AM
mind you ive never actually run that code... just an example of the idea
 
i knew it had to be 'simple'
i know i know
 
to use a database instead, create a table with two columns, one for the user ID and one for the page ID
 
but its the start that ive been looking for
 
insert a row when a user views a page
to get the "total views", count how many rows have that page ID
put a unique constraint on the column pair so that a user can only be recorded viewing a page once
CREATE TABLE views (user_id INT, page_id INT, PRIMARY KEY (user_id, page_id));
that's probably more like what SO is doing
i visited a question while not logged in and the view count didnt go up, and i dont see a cookie, so i imagine they're only logging views by users into a database
 
once again, you have no idea
being self-taught, AND the only programmer i know - things become difficult when you have no one to ask
SO is great, but as you can see - i did even really know how to ask the question
once again, thanks a bunch
 
2:28 AM
Message boards are good for that, people will yell at you until you figure out how to phrase it right :p
sitepoint.com/forums is my favorite
 
ill check it out
nevermind
 
Never tried it, I use Symfony though
 
i looked at it
i think it might be a little too advanced for me right now
well... either way, thanks for the info - you rock man
 
np I wish more people were in chat asking questions
 
well.. i do have one more question
 
2:33 AM
?
 
if i were trying to implement openid on a site where the users would get paid for their input - would you allow the user to pick any name they want (like SO) or force unique usernames
i guess my only fear is impersonation
 
Depends... are you going to have your own registration system or are you only going to use OpenID?
 
i was thinking about only using openid
 
I'd let them choose whatever display name they want then, but that's more a personal decision you could go either way
 
thats what i was thinking
well... thanks for all the help. im gonna take a break and rank up on Bad Company 2
take some fools down
 
2:38 AM
lol have fun
 
cool later
 
3:22 AM
Now, that's the most amazing bug ever found on IE - support.microsoft.com/default.aspx?scid=kb;en-us;2351146
 
@jweyrich O_o Wtf? It crashes when you use prototype.js!?
 
@YiJiang yes, apparently. Nice huh?
 
3:59 AM
.
 
4:16 AM
merging tag synonyms ... is the job that never ends
 
zomg StackOverflow has chat! Finally!
 
yup :)
 
@JamesMcNellis yeah Finally we can chat with any expert any time
:)
@DanGrossman .. Hey! Good Morning
 
First you have to get the experts into the room.
 
hello @Richa
I'm watching Mike Rowe chase baby camels on TV
 
4:29 AM
Hello all
 
brb, rebooting into Windows
 
@JamesMcNellis.. they will surely get into
@sandy.. hellloo
 
Ewww, kangaroo piss. Dirty Jobs is a dirty show.
 
5:02 AM
Uhoh, battle.net disappeared
Dropped from Starcraft, can't reach the website... did an AT&T data center just go offline?
 
5:21 AM
WOOT-OFF IN PROGRESS! woot.com :D
 
5:58 AM
The Grand Secret OS: <sarcasm>Ready to deploy</sarcasm>.
 
6:45 AM
what is going on with my internet
all of a sudden I can't reach a handful of sites I regularly use, but Google and a few others work fine
I rebooted my cable modem and router already :/
I am in here but if I reload I'll lose the chat, I can't see user avatars
 
7:33 AM
Watching Parking Wars on A&E... as they issue tickets to people living on the street I used to live on in Philadelphia
 
8:15 AM
ugh
Am I connected?
Looks like Comcast is having major problems. Lots of traceroutes are dying around New York and New Jersey without ever leaving Comcast... peering is borked. I wanted to stay up all night but they probably won't have that fixed for hours.
Can't even reach my own server in Dallas but I can use my cell phone to see it's up
 
8:37 AM
you are connected
 
9:00 AM
is there any etiquette about editing a question (especially changing its title) if you've answered the question and the answer's been accepted? Does that sound like reasonable behaviour?
 
Why do you want to change the title?
And this is probably a better question on meta
 
@LasseVKarlsen to make it more descriptive, easier to find on Google, etc
It's a good question
 
as a question on meta.stackexchange.com?
 
There's two types of edits, in general
 
9:03 AM
5
Q: Not so singleton, after all (PHP)

Johan Fredrik VarenHi all. Straight to the point: I've got two singleton classes, both inheriting their singleton nature from a super-class. I initialize some properties on the first singleton, and then have the second singleton retrieve the instance of the first one. That instance, however, does not seem to be th...

 
1. It's the "fix typos" type of edit, or "retag" edit. This maintains the full intent and meaning of the question, just ensures you don't get answers or comments that basically say "you misspelled class"
2. It's the "change meaning" types of edit
The first should always be OK, and for instance reformatting code is under that one
The second, normal etiquette means you could prod the OP to change it himself, or change it if you feel there's a good reason behind it
In this case I would probably change the title, agreed
But leave a comment as to why
 
OK that's what my instinct said -- many thanks
 
That's also normal etiquette, if you change a question beyond simple changes (and I tend to leave them in those cases as well), leave a comment why you did it.
 
yes, I'd picked up on that one :-)
 
One would think that modern society was governed by people that were intelligent
But apparently not
Beijing has now removed the digit '4' from all license plates, due to the number being pronounced similar to "death" and is thus considered unlucky
 
9:09 AM
@LasseVKarlsen Pretty common numerological belief in China, yes
Although I think our obsession with the number 8 is even worse
 
@YiJiang, heh?
 
@Benjol 8 in Chinese sounds like 发, or rather getting rich
 
so 84 is better than 48 :), unless you're reading right to left, I guess
 
@Benjol That... doesn't really make sense. Although neither does numerology
 
well, I figured getting rich before death was better than the opposite :)
 
9:17 AM
@Benjol Not for artists
 
@Benjol For instance, you'll see lucky draws with prize money that are made of the digit 8, like $888 or $8888 come up around Chinese New Year. Kinda makes you wish the luck number was a 0 or 9 instead
 
ugh
comcast just died in multiple places again, there goes starcraft and hacker news
 
@YiJiang Yeah, $000 is somewhat better
 
@Chouchenos Would prefer to stick a 1 in front of all that
 
I guess in the west there are hotels with no 13th floor (I've heard), so that's no better
 
9:21 AM
@YiJiang or a 9 :D
@Benjol But is there a 14th ?
 
Thirteenth floor is a designation of a level of a multi-level building that is often omitted in countries where the number is considered unlucky. Omitting the 13th floor may take a variety of forms; the most common include denoting what would otherwise be considered the thirteenth floor as level 14, giving the thirteenth floor an alternate designation such as "12A" or "M" (the thirteenth letter of the English alphabet), or closing the 13th floor to public occupancy or access (e.g., by designating it as a mechanical floor). Reasons for omitting a thirteenth floor include triskaidekapho...
 
Se..riou...sly...
People are that -dumb- superstitious ?
 
@YiJiang, it's Tetraphobia, which is not the opposite of Tetrismania, I guess ;)
Tetraphobia is an aversion to or fear of the number . It is a superstition most common in East Asian regions such as mainland China, island of Taiwan, Japan and Korea. The Chinese word for four (, pinyin: sì, jyutping: sei3), sounds very similar to the word for death (, pinyin: sǐ, jyutping: sei2), in many forms of spoken Chinese. Similarly, the Sino-Japanese and Sino-Korean words for four, shi (Japanese – other four is Yon) and sa (사, Korean), sound identical to death in each language (see Korean numerals and Japanese numerals). Special care may be taken to avoid occurrences or reminde...
 
@Benjol Yeah, I grew up with the whole numerology thing (not just the avoidance of 4, but also the need to get an 8 in somehow), so I don't really mind seeing things like that
 
ooh, tractor trailer drove into a highway sign down the street, musta been really tall
 
9:36 AM
woops :)
 
nice password
@DanGrossman will that make the front page of the local newspaper? :)
 
@Benjol It's so nice that this chat got history on edited thing :)
 
@Benjol You can use ctrl + enter if you're worried about stuff like that happening
 
@YiJiang, what does that do?
 
CTRL+Enter adds a new line to your message rather than sends it
 
9:41 AM
hey!
 
like on almost all messengers now
 
@Benjol Same as enter, except that if you made a mistake and the script does recognize it, the stuff doesn't get send out and embarrass you :P
 
@YiJiang What kind of error does it recognize ?
 
@YiJiang, thanks, I see: two more ideas :
1. make /hl be a toggle, that way I won't screw up :)
2. click on post id appends it to textbox
(maybe we need a script sandbox)
 
When SO will provide smiley for us in chat ?
:(
 
9:43 AM
@Chouchenos Nah, taking about the user script I and @rchern are building. It adds IRC /command style commands
@Richa Never, hopefully, so that we can continue talking about @rchern's lopsided smilies :)
@Benjol Just use the Sandbox room
 
@YiJiang Is there any beta I could try :) ?
 
@Benjol The purpose of the script (according to @rchern) is that you'd never have to touch the mouse again! So erm.. adding in that could be a tad useless
 
@YiJiang, ok :(
 
@YiJiang ..what is rchern's lopsided smilies ?
 
in The Tavern (General) on Meta Stack Overflow Chat, 4 hours ago, by rchern
@TimStone, no account on cooking (;
An example
 
9:48 AM
@YiJiang.. :D yeah hope these can help us to elaborate a programmer mood :P
 
10:08 AM
hehe, local news all day... they just realized that highway toll collectors can get paid over $300,000 per year if they max out all the bonuses in their employment contracts
 
10:19 AM
God ! Please make a magic ... I need leave for two days ...but my boss ...
:(
 
Don't star that! Evil people.
Google's just started to index the transcripts of these rooms... 33 so far
2
 
how will SO manage room? b'coz it may increase day by day..evryone can create it
 
@Richa Read the FAQ, the section on freezing and deleting rooms
 
 
4 hours later…
2:13 PM
Sometimes I think all these new log-in schemes are making things worse
Yes, I can log in with openid now
or twitter
or facebook
but now I have to keep track of how each system works and which one i picked for which site
which doesn't seem all that much better than remembering a log-in for each site
and my openid (from yahoo) and twitter accounts aren't linked in any way, so it's not like i have only a single presence on the web anyway
 
average users dont even know what oauth or openids are
hence they use their email for the login and the same password for every site, perhaps slightly varied
 
but they still would have the same problem of remembering whether they logged in with google or yahoo or facebook or twitter, and of those log-ins not linking together
i guess for security, it fixes a problem... kind of
but it doesn't really help with simplifying log-in or unifying one's web presence
at least not as much as initially expected
 
 
2 hours later…
4:02 PM
@DanGrossman How does the indexing work/look?
@DanGrossman For instance, this shows nothing right now: "site:chat.stackoverflow.com Ken Henderson's Guru book for SQL" - was expecting to maybe see something from my database room
 
4:18 PM
@DanGrossman do they come under "latest updates" :)
 
4:45 PM
@YiJiang Still not seeing anything with that. What's the difference between chat.meta.stackoverflow.com and chat.stackoverflow.com (other than a more completely confusing system of host names than it needs to be)?
 
@CadeRoux chat.meta was the first chat room to be open
It's been around for a very long time already
That's why the indexing has already occured there
But since these transcripts are to be kept indefinitely, it's only a matter of time before they're indexed
 
@YiJiang Oh, that was the old beta. Is it still active? Google has the cache, but the link from Google is broken.
 
@CadeRoux It should be
 
@YiJiang "site:chat.meta.stackoverflow.com cade roux" is pulling up one dead link and a bunch of up to the minute twitter results.
@YiJiang Stackoverflow broke teh google.
 
@CadeRoux Hehe.. perhaps it did. Maybe it was an old URL scheme or something
 
4:56 PM
robots.txt have anything to do with this?
 
@LasseVKarlsen Shouldn't be. I thought it was stated that they had every intention of letting Google crawl these records?
 
Then I must be reading it wrong: chat.stackoverflow.com/robots.txt
 
@LasseVKarlsen The actual rooms are disallowed because they are all ajax-powered. The transcript isn't on that list I think
 
No, but you need incoming links for google to find it then
 
@LasseVKarlsen The URL is /transcripts/{room id}
 
5:02 PM
And from robots.txt:
Allow: /transcript/
 
And I'm pretty sure the transcript permalinks will get crawled
 
and /transcripts also leads to 404, so as I said, it looks like google requires incoming links to discover the rooms
 
@LasseVKarlsen chat.stackoverflow.com/transcript/33 doesn't really appear to be one big document (or is it).
 
Yes, but how does google find that page?
 
@LasseVKarlsen The transcript permalinks do get carried out of chat, you know
People do link back to the transcript, from, say, SO proper
 
5:05 PM
Yes, but perhaps not as much as we expect... yet
 
@LasseVKarlsen Is the room list in robots.txt?
 
Allow: /
so shouldn't be
But I'm not sure if it can get from the room list to the transcripts
No, it should be
So it should be able to find them
 
5:21 PM
the transcripts are also linked from the room index
well hidden, but they are :)
 
 
2 hours later…
7:49 PM
hi
 
8:02 PM
"Do you have any girl on girl on vibrating object.. on girl stuff?" -- Dr. House
 
does SO have a page where i can check my history. looking for a thread i read last night which i forgot to favorite
 
What web browser do you use
Chrome has a nice chronological history interface, just scroll ot last night
 
agh annoying. not on chrome either. maybe i dreamt it
 
pdb
8:25 PM
hihi
 
@Jonny remember what the thread was about?
 
yeah the thread was called something like show your resume with examples.
i looked at everything under the resume tag but isnt there
 
Any specific details you can remember?
 
not really i was browsing through loads and it was late at night. it doesnt really matter now though thanks anyway
 
8:43 PM
should i put down an unfinished degree on my resume? like i took a year out and only have 1 semester left to finish but wont be able to afford to go back to college till i get a job. so should i put it down like: Bachelor of Science in Computing in Software Development (2006 - till present/in progress)
 
9:13 PM
@Jonny it would probably be good to put it on there
 
9:40 PM
what a long degree name
 
 
1 hour later…
10:57 PM
oh wow
 
<[^>]>
 
very nice chat software here
 
01:00 - 23:0023:00 - 00:00

« first day (4 days earlier)      last day (3235 days later) »