« first day (185 days earlier)      last day (4832 days later) » 

10:00 AM
@DanGrossman lolwut? That's dated... when?
 
Found it on reddit, thought it was funny, not sure when it's from
 
You have a list of questions with close votes on them? That's awesome
 
@DanGrossman 10k tools, you've still got, around 3k to go I guess
In theory we could pull a list of recent questions with the word [closed] in their title, hrm...
 
I was hoping that existed. I hate voting to close a question that I know will never get enough views for 5 people with enough rep to see it.
 
10:11 AM
But the number of closed votes is not public
@DanGrossman Flag for mod usually does the job
 
2
Q: Receiving "Edit Suggestions"/Review Section and doesn't work

Daniel A. WhiteHey all, I am recieving the new "Edit suggestions" moderator feature when I'm not a moderator. I have over 10k. I can access this page: http://stackoverflow.com/edit-suggestions/{someNumber}, but I cannot approve or reject it. I can also see the numbers (when there is one) or an empty spot in th...

Hi there! :)
He says he has 10k+ rep… but I see 318! Is it a bug or the reality?
 
> Facebook now responsible for 25% of hooker hookups wired.com/magazine/2011/01/ff_sextrade/all/1
 
@balpha Hrump, well that wasn't fun at all, but at least it works - the userstyle now let's the entire parent element of the close vote anchors to be the hitarea for the link
 
10:23 AM
@YiJiang Wait, since when are the close counts not public? Last I checked the close link shows the vote count in parenthesis (if you have close rights), and if actually closed the list of voters is shown in the question...
 
@bdonlan That's not exactly 'public', isn't it?
Only 3k'ers can see them, and 10k'ers can see a complete list
 
It's public once the vote passes :)
 
what's the difference between characters and bytes? I think there is some…
 
Oh. It's not shown for low-rep users?
 
Notepad++ removed the byte count with the latest update :(
 
10:25 AM
Right then, never noticed that the list of users isn't shown for low-rep users. Nevermind then :)
 
@Nyuszika7H One byte is only 256 bits, so you can't represent more than 256 different characters in a 1-byte-per-character encoding. There are many encodings that use many different (and variable) number of bytes per character.
 
... wait a sec, I can see the results for a successful close vote as an anonymous user. Surely that's public? Eg, try opening stackoverflow.com/questions/4905926/… while logged out
 
@DanGrossman I'm using UTF-8 without BOM
 
@Nyuszika7H UTF-8 uses between 1 and 4 bytes per character, depending on the character (earlier code points, like the ASCII characters, use only 1 byte, while those with higher code points use more)
 
@bdonlan You can always see the list of people afterwards, yes, but not the number of votes before it's closed
 
10:28 AM
Ah, I see what you mean then.
 
Hmm… á (an accented letter) should be 1 character and 2 bytes, right?
 
I think so
 
It could be more, depending on how you represent it
For example, you could use combining characters - one for the accent, followed by latin a
Not sure off hand how many bytes the accent combining characters take, but it'd certainly be at least 3 bytes total if you did that
 
I wrote a file with only á as written in chat and a BOM and it was 3 bytes in size
 
U+0342 U+0061 -> 3 bytes (CD 82 61)
@Dan, you're probably counting the newline
 
10:35 AM
possibly
 
wait, got it backwards.
should be U+0061 U+0342 (61 CD 82) :)
... or U+0341 even. Anyway, point is, there's more than one representation for characters in unicode
 
Disturbing.
 
4
Q: Denoting keyboard shortcuts in Stackoverflow questions/answers?

dbrWhat is the recommended method/syntax for denoting keyboard shortcuts in SO answers? For example, to write the following in a less verbose manner: "Press ctrl, and press either the minus key, or the equals key), or "Ctrl or Cmd, and lower-case c", or "Ctrl, alt and a, then ctrl and upper case L"...

Can anyone tell me why everyone is using syntax like Ctrl-C there? I'm using Ctrl+C and seeing that everywhere.
 
One person did, the rest followed. I see the + more often too.
 
7
A: Denoting keyboard shortcuts in Stackoverflow questions/answers?

BombeI’d say we do it just like it’s done all over the world since the beginning of time. Ctrl-Minus/= Ctrl-c Ctrl-a Ctrl-L

No… we use Ctrl+C and not Ctrl-C from the beginning of time. :P
status-Ctrl-C
 
@balpha It's possible to mess up the text of the button that toggles between the two lists by closing the list while it's in the state which is not displayed when the list is minimized
 
(toggle showing sort by date when it's already sorted by date)
 
I searched all of Usenet from 1988 to 1995 for "keyboard shortcuts" and the dash seems more common
 
look over there :) I've edited a message 22 times.
C++ or C-+? :P
<script>
function kbd(keys) {
    return keys.join('+');
}
</script>
 
10:59 AM
@bdonlan Yes, it is
 
11:11 AM
wow, chrome froze my computer for a good 3 minutes
putting it to sleep and waking it up seemed to buy me enough CPU cycles to get task manager to open to kill it
 
@DanGrossman win / mac ?
 
win7
 
Yeah i talked to a friend at google who works on chrome, even he says it blows lol
 
It's great... most of the time.
 
yeah true ... what he meant is its not stable enough or something, i had this convo about 6 months back
I work with google engineers on some stuff, they are known to release great stuff but prematurely , and then iteratively fix it ( but that doesnt happen )
 
11:19 AM
can I get a function's name in JS?
 
@Nyuszika7H arguments.callee?
 
@Reno Chrome has like released five new major versions in the meantime :)
 
var foo = function bar() {
    ...
}
foo.name; // bar
is something like this possible?
 
if all else fails:
var foo = function bar() {
name: "bar",
...
}
foo.name; // bar!
 
@badp i use the canary build most of the time, thanks for the info though
 
11:23 AM
Huh, I don't even need that! There's a name property of functions!
var functions = [function foo() { alert('function 1'); }, function bar() { alert('function 2'); }];
alert(functions[0].name); // foo
alert(functions[1].name); // bar
And another question…
var foo = function() {
    alert('Function foo called by ' + this.caller);
}
var bar = function() {
    foo();
}
bar();
Is something like this possible? This alerts undefined.
 
ah got it again :)
function foo() {
    alert('Function foo called by ' + foo.caller.name);
}
function bar() {
    foo();
}
bar();
 
11:39 AM
This episode has the best opener! D&D with LOTR-style narration!
 
Is it possible to get the homepage of an user?
 
Yes, by stealing his OpenID credentials
:goes back to watching the D&D episode:
 
@Reno I use nightlies on Linux :)
(now we need somebody who fetches Chrome from a buildbot.)
 
@DanGrossman I mean, the homepage set in their browser.
I recall there is something like about:home in Firefox and/or IE… but it doesn't work in other browsers.
 
You want to do it programmatically or when sitting at their computer?
 
11:54 AM
@DanGrossman programmatically :P with JS
 
not possible
that's private information, not exposed to untrusted scripts
 
So if I can't get it, I can't redirect them to their homepage, right?
Other thing: Click to play was removed from Chrome, users who had this option selected got the Block all option. This way, plugins were hidden with clicking… we needed right-click -> Run this plugin. Now it's back. :)
 
you can redirect to their homepage
 
I wonder how they made these changes without updates! (or maybe with invisible updates?)
 
damn my mouse is hung
 
12:00 PM
@DanGrossman How?
 
you just don't get to konw what it is
window.home() is a function in firefox, lemme search
 
all i can do is chat because i fail at shortcuts :D
 
Chrome 10: TypeError: Object [object DOMWindow] has no method 'home'
 
here's how to do it in all browsers
7
Q: Sending user to their browser's Home Page using Javascript

TrevIs it possible to get a browser's home page using Javascript? I'd like to place a link on a page that goes to the home page set in the browser.

 
@DanGrossman Neither one works in Chrome.
 
> Looking at it now, this answer doesn't seem to be 100% correct. about:home does not seem to work in IE 8, and window.home() only works in Firefox (not Safari or Chrome). – idealmachine Dec 3 '10 at 2:48
 
why do you want to do this anyway?
 
@DanGrossman just experimenting, it's not so important
 
i see, i bet there's a way, but i don't know it
I know there shouldn't be a way to read the homepage, but navigating to it possibly
 
likes Ctrl+Shift+V (paste as plain text) in Chrome
 
12:07 PM
@DanGrossman then they'll find one instance of a young-looking female and frame you for pedopornography :P
(regardless of the actual age)
that, or copyright infringment, or some other reason to screw you.
 
Hmm, wondering how can I access regex capture groups with .replace()?
 
@badp That's why there's an encrypted file system inside the hidden partition. They get only the first password from me, which shows them the partition, and they think they have it all. It's just MILF porn. The real porn is in the hidden file system behind a second password they don't even know to ask for.
 
a ha!
 
TrueCrypt is pretty awesome like that truecrypt.org
 
myText.value = myText.value.replace(/^\/me (.)/, '*capturing-group-1*') this is just an example, it won't work. How can I do something like this?
 
12:10 PM
> Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden operating system.
@Nyuszika7H Use RegExp.exec(string) to get the capture groups in an array
 
I've seen $1, $2 etc. somewhere, but it doesn't seem to work in JS.
 
apparently it does
look at "Example: Using a regular expression to change data format"
 
> 'foobar'.replace(/foo/, 'test$1test')
"test$1testbar"
Sorry, my fault!
I haven't included parens around foo.
Now, why won't this work?
$('#input').keyup(function(event) {
    if (event.which == 13) {
        this.value = this.value.replace(/\*(*.)/, '*$1*');
    }
});
Result:
* *likes chocolate
 
you mean .* not *.?
 
@DanGrossman yeah
@DanGrossman I actually had ., that script replaced it…
 
12:20 PM
either I am an awesome stock buyer, or all stocks tend to rise in value over time :p
 
Hmm, still no luck.
* *likes chocolate
$('#input').keyup(function(e) {
    if (e.keyCode == 13) this.value = this.value.replace(/^\/me(.*)/, '*$1*');
});
 
AAPL: [bought $206, now $346], DD: [bought $36, now $53], MA: [bought $170, now $247], AMZN: [bought $123, now $176], BP: [bought $32, now $46], GE: [bought $15, now $21], V: [bought $58, now $73], MSFT: [bought $21, now $28], EXC: [bought $38, now $43]
 
How do I make a capturing group match anything but something? Maybe (!foo)?
 
[^something] I think
carat inside of [] followed by the stuff to not match
 
12:36 PM
@DanGrossman [^(foo)]?
 
I don't know :/
 
> 'hello'.match(/[^(foo)]*/);
"hell"
replace('/me (.)', '*$1*', input.value) does nothing. Here's my replace function:
function replace(pattern, replacement, subject, flags) {
    subject = subject.replace(new RegExp(subject, flags), replacement);
    return subject;
}
 
is it saturday yet ?
if you guise havent seen this yet
 
Look, this page revals a piece of its PHP code! :P sparkjs.co.uk/assets/downloads/Spark-latest.js
 
stupid developer, probably left a development/debug setting enabled on the production site
 
12:48 PM
Spark does nothing more than jQuery.
> You may have used other libraries in the past such as jQuery, so why would you move over to Spark? Well, Sparks aim is to be extremely lightweight and well optimised, so none of those functions that are easily accomplished with pure JavaScript will be created, because there is no point.
jQuery is extremely lightweight, too…
 
Spark is anorexic
 
Hmm, jQuery 1.2.1 (minified) is ~45 kB, while jQuery 1.5 (minified) is ~80 kB. Spark 1.4.6 (minified) is ~25 kB. Actually, it can't do more than jQuery… it does less than jQuery.
 
that's what it says!
take jquery, remove the parts that are easy with native javascript, and you have spark
 
@DanGrossman So, let's see this…
Spark('p')
        .content('This')
        .content(' has', true)
        .content(' been', true)
        .content(' chained!', true);
This is easy with native JS.
 
well, they didn't write most of that code
it's Sizzle, which both jquery and spark include
 
1:00 PM
They didn't entirely copy jQuery, but it would be easy to do that… :)
I'm always looking for jQuery syntax highlighting, since I'm using jQuery… :P
 
1:16 PM
ok guys im out buy !
 
1:26 PM
darn, I bought the wrong hdmi cable
I wanted to go for a quick jog but it's IMPOSSIBLE :(
Everything is shrouded in a misty fog, temperature is just slightly below freezing, every inch of the ground is pure ice
I couldn't make it 10 feet without almost falling
 
0
Q: How to use conditional statements in LOGO?

Nyuszika7H? MAKE "num RANDOM 1 ? IF [:num = 1] [print "Number is one.] [print "Number is zero.] [:num = 1] is neither FALSE nor TRUE! Why won't this work? I'm using Imagine LOGO.

 
 
1 hour later…
2:49 PM
-1? What is -1 supposed to mean?
 
@DanGrossman That's probably a bug! Click on it!
 
The link still works, I don't know what -1 means though
 
3:02 PM
@DanGrossman One reject vote
Takes two to reject and approve now
 
Oh, interesting
>_<
I can't vote to close OR flag to close if I'm out of close votes for the day
2
Q: Tomorrow's web development: What's the bearing?

pexI just read a wonderful article about headaches web developers have to live with nowadays. Several questions from that article busied me for some time as well. Now I am wondering whether I missed something, whether there are approaches other than Sproutcore or Cappucino to combine the eternal det...

 
Knu
3:36 PM
anyone know if i can migrate a question from SO to UI?
 
@Knu Can't, flag it for mods instead
(There are a few mods in this room, in fact.)
 
Knu
@yi ok ill just delete it
I don't have an account on UI anyway
 
@Knu The system can associate your old one with the new one on UI when you create an account there after migration
 
Knu
I hope it will affect my accept rate
@jiang not worth keeping
SO wasn't the right audience
"Sorry, this question has answers and cannot be deleted; flag it for moderator attention instead."
I can't migrate it and I can't delete it :/
@yi thx anyway
 
@DanGrossman I wish people would stop sending junk to Programmers'. It only gets closed you know.
 
3:44 PM
@ChrisF I downvoted and voted to close as subjective
 
@DanGrossman The comment wasn't directed at you - but at the others who voted to migrate.
I'll have to leave it for a while, but it will get closed eventually.
 
Knu
If a mod close a question for me will it affect my accept rate?
 
I've got a standard "please check the FAQ and the Good Subjective blog post" and if that comment gets up-votes I close the question.
@Knu Yes. Closed questions don't count in the calculation.
So if it didn't have an accepted answer your rate will go up (proportionally more of your questions are accepted now).
If it did have an accepted answer then I'd have to do the maths to double check ;)
 
Knu
1
Q: What's the preferred orientation for a toggle script?

KnuIm gonna use some kind of accordion javascript (you click a button and some content appears), Id like to know from an UI/ergonomic standpoint what's the best orientation of the expanded state? the button moves down as the content becomes visible (UP) the content beside the button (DOWN) sid...

@chris ok then could you - (if you are a mod) 23.5k rep - close this question (only if my accept rate goes up) else ill wait till UI becomes a full fledged site
dunno why the question was posted as the first chat message (not the last)
Did you see it?
 
@Knu It can be migrated to UI now - it just need a moderator to do it.
There are only 4 slots + the site meta on the migrate dialog and they're all filled so UI is unlikely to get one of those.
 
Knu
4:02 PM
oh? @chris someone told me it wasn't possible
so I should wait and ask later then?
 
@Knu I've asked one of the SO mods to migrate it for you
 
Knu
@chris ok thx so uv seen the question even if it didn't appear in the chat?
 
But the best policy is to flag it for moderator attention. Don't use the "it doesn't belong here" option, just the general message.
@Knu The question appeared in chat for me
 
Knu
that's weird probably a network glitch
 
@Knu ui.stackexchange.com is still a beta site. While I do have the ability to migrate questions there, I can't do so without a really compelling reason.
 
Knu
4:05 PM
OH i see
 
We can, however convert your question to wiki or close it for you. Just flag it for moderator attention and let us know which way you want to go.
 
Knu
@tim there's no real "compelling reason"
it's just a good question for UI and bad one for SO
close it plz if i can get some accept rate back thx
 
What I suggest we do is make it CW, then when UI gets out of beta flag for it to be migrated. It's a good question.
Well, if I cw it, you can accept without a reputation reward
 
Knu
Thx :)
 
No problem, it's done.
 
Knu
4:07 PM
@tim i don't have the option it's probably a rep thing
 
BTW a 57% accept rate isn't "bad". You shouldn't be aiming for 100% anyway.
@Knu No - converting to CW is now a moderator "thing". It was getting abused.
 
Knu
@chris well ppl tend to avoid ppl with less than 60% and I am not asking a lot of questions
 
@Knu , CW (for questions) is a guarded feature now.
Honestly, if a question is well written and interesting .. I don't notice the accept rate.
 
@Knu I don't look at accept rate - to be honest I rarely notice the name of the poster either.
 
Knu
@tim so even with a high rep i couldn't do it eh :)
 
4:09 PM
Just follow up on it @Knu, when UI gets out of beta flag to have it migrated.
I agree, it would be a great question there.
 
Knu
@tim will do
@chris ur not the casual SO user :)
 
yawns Good morning all.
 
Knu
Hey. (afternoon in here)
 
:sigh: Did I mention recently that I hate customers?
> I make a buy from your site and still wait to start my campaign!! Now I don't want!! Send me mu money back or I report you to the police!! stupid assholes!!! send me my money back!
 
Knu
@timpost the accept rate isn't updating i guess it takes days?
 
4:13 PM
He ordered advertising on January 31st. The advertising started on February 1st. He quoted the e-mail with his login information to view the status at any time. Moron.
 
@Knu It is cached, yes
I saw it take .. approximately 2 hours once
 
@DanGrossman shakes head
 
Knu
@post k thx i wonder if you should accept an answer which says "you can't do that" instead of waiting for an hypothetical genius
 
@DanGrossman Who needs customers? Waste of time if you ask me :)
 
@ChrisF I dream of being Google some day. Your customers need you so much that you can provide zero customer support whatsoever and still take their money, and they'll thank you for it.
 
4:16 PM
@Knu If that's the consensus of the answers (and votes) then yes do it.
@DanGrossman You need to come up with something people didn't know they wanted
 
Bananas injected with a chocolatey nutella core. I just came up with that. I'm gonna be a millionaire.
 
@DanGrossman Not sure what I would make of that, but we do have deep fried bananas here in South East Asia
 
Knu
as the one asking how can I possibly be able to tell objectively if he's right - I mean you can't be satisfied and Iv seen a lot of answer being accepted and then someone reply months later with the real solution
 
@Knu There's nothing to stop you changing which answer is accepted. There's no lock in of that vote. You can even unaccept and answer and not accept a new one.
 
Knu
I guess it's a good thing for reversal :)
oh I didn't know that
 
4:20 PM
First time I saw that actually happen today. Someone accepted an answer, unaccepted it then accepted mine instead. :)
 
All acceptance should mean is that "this answer helped me the most". If new information comes up there's nothing stopping some one posting that even years later
 
Knu
oh then I have a bunch of question where i have the right answer :p
 
Another day past the rep cap... <2000 to go
 
I've only beaten the rep cap 24 times. There are 12 days when I hit 200 exactly from just votes, so I'm still way off Epic
 
Knu
@timpost could you edit the title of this question to "LT Firefox 3.6 CSS Hack"
0
A: Firefox 3 only CSS Hack

Knubody, x:-moz-any-link, x:default, x:indeterminate {background:red} 3.6 red 3.5.8 not red (You will use it to reset 3.6) your "0% accept rate" is scary

or anyone with some rep
really misleading title
 
4:28 PM
@Knu, suggest the edit. Anyone can suggest edits now.
 
Knu
oh ok @rebecca hi
the edit queue must be huge
 
it's virtually always empty
 
@RebeccaChernoff Did you see the notification from chat.SE by the way? I'm curious what was going on there, heh.
 
0
Q: How do I fix my site after realising the doctype was wrong?

CameronWhile trying to fix the hover bug in internet explorer I realised that the doctype was written wrong. I corrected it but now the formatting is wrong! This is what it should look like: projectstratos.com/05-02-11/ and this is what it does look like: projectstratos.com/05-02-11-1/ Is there any ...

Someone decipher, and also tell me what those tags have to do with it
 
@TimStone ?
 
4:34 PM
@RebeccaChernoff Check in the Tavern over there, something odd on GameDev. Probably has a simple explanation, but I wasn't sure what was up.
 
I like this not-working tag someone used
 
You're gonna make go allllllllllllll the way over to that tab to look? q:
 
@RebeccaChernoff Yep. :P (It's not just a single message, otherwise I'd onebox)
 
Little weird right?
 
4:43 PM
It's not even noon and I've used up my close votes, upvotes, rep cap, etc...
 
:D RT @penwing: RT @SFXmagazine: Good Omens is going to be made into a four part TV series, says Sir Terry Pratchett at the #SFXWeekender.
 
@TimStone, did you search on meta for anything?
 
@RebeccaChernoff I think I got tired and went to bed instead, but I suggested to the user that they go post on their meta...not sure if they did.
@RebeccaChernoff Ah, there is a post there now.
1
Q: No answer exists, but the site says 1 answer is there!

brainydexterI asked a question sometime back, and then I saw someone answered it. But, when I try to open the page, all it says is 1 answer and there is nothing else there. There is no content, no-nothing! Here it is: Improving first person camera and implementing third person camera Out of curiosity, I ch...

Still seems wrong that the answer count is off though.
 
5:01 PM
They're cached, but should equalise eventually
 
Seems kind of a weird thing to cache, given you have to pull all of the answers anyway. It's been some time too, hrm. pokes the numbers
 
<~ still waiting for missing badges... maybe it takes 48 hours?
 
I have a feeling you shouldn't hold your breath. :P
 
:sad:
3
Q: When is the Publicist badge awarded?

Dan GrossmanI recently (18 hours ago) submitted one of StackOverflow's interesting questions to Hacker News and reddit, where it was featured on the front page all day. I used the personalized link the site gave me using the "Link" link. That resulted in somewhere around 30,000 views of the question in less...

 
I'm actually a bit surprised that someone didn't try and close that as a duplicate of the last time someone asked about the award timeframes for those badges... (Not that it actually is a duplicate, you have a specific scenario that you're asking about).
 
5:10 PM
> Edit reason: User failed English 101
 
0
A: Detecting the connection is closing in a chat server written in Python 3

Lennart RegebroYes, this is correct. And now this answer is not too short anymore.

Heh
 
Can't see. :(
 
four oh four, access denied
 
plants more rep seeds to harvest later
 
5:13 PM
Sorry - the edit is "less -> fewer". Is that correct? It's my native language but I never know
0
A: Don't show suggested edits that I can't approve

wafflesI made a couple of changes that may help alleviate this problem. We suppress the queue notification if there are less than 5 pending items in the queue 20k users can approve all tag wiki changes I agree it makes sense hiding the items, however it is a reasonably expensive calculation that I ...

 
To English.SE! I think "fewer" is technically more correct, but honest I'm never quite sure either. I definitely don't feel that it was edit worthy, but. :P
 
Never mind - I looked it up ;)
 
23
Q: "less" vs "fewer"

Boofus McGoofusI've just received a memo which says (effectively) As more people leave, there will be less people available. I want that word to be fewer. Are there guidelines for which word ought to be used when?

@DanGrossman Oh, you got the Booster badge for that question? :P
 
Maybe, I guess I'll have to do it again
 
Yeah, you only get one of those badges per question.
 
5:25 PM
 
I'd have to be logged in. ;)
 
anybody here owns an HP CN245B?
 
...maybe.
 
My printer looks almost exactly the same, but it's not. HP has a lot of models, some of them identical but with different numbers by what store sells them.
 
...'cause my parents want a buy/pass opinion :|
 
5:32 PM
That printer is old, nobody sells it...here
 
it looks like a gimmick
 
apparently it's cheap in europe, so maybe
it's not worth fussing over stuff like that anymore, all the printers are basically the same, and you'll spend almost as much just buying the first set of non-starter print cartridges for them
if you don't like it, pick a different one when you run out of ink
 
heh, the printer's on offer at 79€ and HP claims a cartridge set is 36€ (or 72€ if they only have the "XL" packages)
so yeah.
 
@badp - good question on my Web App moderator nomination ;)
 
5:39 PM
@ChrisF The answer is clones (if I remember the question)
 
@ChrisF Yeah, you got my 1st choice on Programmers but you also seem to be 1/2 on WebApps so... :|
 
It's now three on Web Apps, but it's a perfectly valid question.
It does help that Web Apps is low traffic ;)
 
oh, I didn't notice that you were pro tempore mod on both.
silly me.
 

« first day (185 days earlier)      last day (4832 days later) »