« first day (529 days earlier)      last day (4330 days later) » 

1:43 AM
@AaronBertrand This is why, a long time ago, I asked on Meta.SO for the ability to follow people. There are some folks whom I just really would love to follow for the sake of their content.
I was chided
Maybe it wasn't there.
 
@swasheck at the same time, I think it's very important we don't turn into Quora
 
@BenBrocka fair enough - I get that
 
Quora is a social network first, a discussion platform second and a Q&A site third. It is not about answering questions so much as following famous people and seeing them give pithy (and often useless) answers to popular questions
 
@BenBrocka I'm unfamiliar with the Quora model so that's a helpful rundown
 
Basically Quora is a great place to follow celebrities and see what they find interesting and read their answers. It is a horrible place if you have a question you want answered
 
1:51 AM
Is that how it started, or is that what it's become?
 
SE's sorting methods ensure new and unanswered questions float to the top, emphasizing solving problems. We strategize for the long tail of search terms from people also looking for answers. Quora's sorting is completely dominated by your friends/followings activity, so unanswered stuff is basically invisible
@swasheck I don't know honestly, I found Quora late last year, it's always been like that in my experience
 
2:33 AM
@swasheck Not sure how you voted for me on the current election page because I'm not there?
 
@jcolebrand thought you were
or was that a primary of some sort
 
There are nomination, primary, election.
 
oh wow
 
Go vote in the election. And if I can give my "influence" I've posted my selection order above as an image
 
well ... i voted for you in something
 
2:42 AM
lol, and I appreciate that
I'm obviously going to have to campaign next time, and write up a compelling reason to nominate, as well as drive my SO rep above 20k
 
clearly
 
 
4 hours later…
6:49 AM
5
Q: Blogoverflow Topic Requests! (Summer 2012)

jcolebrandIf you have a request for our blogoverflow blog (http://dba.blogoverflow.com) then please put them here, one per "answer", and someone will work on a blog entry on it, I'm sure. Also see: Our blog is set to launch this week! (Feedback here please!)

Get cracking!
 
 
13 hours later…
7:48 PM
Massive down-voting today
0
Q: How do sort a table by a content of a string referring to a column (T-Sql)?

Different111222I'm using SQL Server 2008 R2. I would like to sort a table by a specific order which I hold as a string. (the string is created programtically) Consider this table named myTable Col1 Col2 Col3 1 Jon a 2 Joan b 3 John a 4 Jonnie b 5 Jonny a I ...

 
8:30 PM
Well you won't all be able to see the down-votes now. But almost every answer has at least one down-vote.
 
8:43 PM
I see 3 answers downvoted
not counting the deleted answer
Isn't this trivial? Shall it be sent to SO?
0
Q: How to order by 5, 501, 50101, 6, 601, 60101, etc?

user1162541I've got a list of ledger account numbers. These numbers go like this: 5 (main account, #5) 501 (sub account of main account 5, #01) 50101 (sub account of this account, #01) etc. So if I have a list and want to order this by account number, then I'd like to create this order: 5 501 50101 50...

 
I think if someone has come here naturally, we shouldn't try to shoo them away. :-)
You know, until they really become a problem.
I might suggest computed columns to split those apart. But I have no idea if MySQL even supports such a concept.
 
only MariaDB.
 
And open source RDBMS is supposed to be such a holy grail...
It's like all the flavors and distros of Linux
 
in MySQL, only triggers would sustain something similar.
 
Yuck, glad I didn't suggest anything
Other than storing the data separately in the first place.
 
8:50 PM
He could even store only the CHAR column.
What else will he need the INT for, anyway?
 
No idea. He can always concatenate when he needs it.
Or she. Damn, I have to stop doing that.
I always assume simple questions come from boys.
 
haha. I always use 'he' - unless I know for sure it's a she.
 
".NET should read my mind: when I say NUMERIC(3,0) I mean INT! It's a serious bug!"
1
Q: Why is SQL integral Numeric column mapped as System.Decimal in a C# DataSet?

Pavel HodekWhy is SQL integral numeric column (for example NUMERIC(3,0)) generated in C# (in DataSet as column type or in DataAdapter as parameter type) as type Decimal? NUMERIC(3,0) can store integral values in range of -999 to 999. I think it should be in C# generated as type int or another integral one...

 
he obviously confuses int with "integral"
 
That's one problem
 
8:58 PM
the name DECIMAL(3,0) would not help either
We just bested Russia at the Euro :)
 
This M.A. guy is awesome. I think he is related to everyone's favorite poster Artem (Russian characters in his username, so <shrug>)
-3
Q: Select statement as stored procedure

M.A.I have this query that I want to use as a stored procedure: SELECT ISNULL(P.firstname, s.firstname) AS Expr1,ISNULL(P.lastname, s.lastname) AS Expr2 FROM comment AS C LEFT OUTER JOIN professor AS P ON P.ID = C.PID LEFT OUTER JOIN student AS s ON s.ID = C.SID WHERE (C.VID = @VID) i...

What's the bad question threshold? This guy must be near a ban:
 
yeah, no question with a positive vote.
 
9:31 PM
A meta post I might actually not get down-voted into oblivion for
1
Q: Why is the right language not always automatically chosen for the code editor?

Aaron BertrandI know how to override the language chosen, and I believe that the chosen language is driven by the tags. I'm not asking for So if a question is tagged C#, and I want to post a SQL Server stored procedure, I use the following before my code block, and the syntax highlighting obeys the language I...

 
Adding the seems to fix the code highlighting but you are correct. How would the OP know to do that?
 
ding ding ding
 
The problem is hard though. there is no right language.
But for questions tagged with the right language would 99% be SQL.
 
If a tag starts with sql-server* why would the right language be anything other than sql?
I think the algorithm looks at exact matches, and sql-server-2008-r2 hasn't been added. I don't think the wrong language was chosen in this case, I think the search was exhausted.
 
Oh, I don't know how SO internal algos work.
But say a question that can be answered with a Powershell script.
 
9:45 PM
That's fine, that's on the answerer.
 
@AaronBertrand Aye, it decided to disable prettify for that question because the syntax highlighting setting for that tag is null (the default value). Easy enough to change though, and I don't see any particular reason to object to doing so.
 
@TimStone thanks Tim. I updated my meta question to also include a request for wildcard. It seems sql-server-2008 worked but sql-server-2008-r2 did not. And I suspect sql-server-2012 will not as well, and that when SQL Server 2015 is released we'll have the same symptom again.
@ypercube 99% of answers to questions that are tagged only with some sql-server-* tag are going to include only sql code samples, or a mix of sql and other.
 
Yeah, I agree. What you propose is good, I think. (i hope it can be done).
 
Yeah, at the moment it's done on a per-tag basis because the algorithm tries to pick a specific language when possible, and defers to prettify to decide on its own when there's some conflict. While this case is pretty clear-cut, I imagine there are some other circumstances where specifying the language using a pattern might result in more conflicts than intended (the whole idea here being to avoid that where possible since Prettify doesn't always get things right)...
...but admittedly I haven't thought about it that much to say for certain.
 
@TimStone well you can do it just for sql server, I don't really care about any of the other tag families. :-)))))
 
9:54 PM
@TimStone: Now that you are here, I have another question for you: Has what you see when clicking on the "StackExchange -> all sites" been changed recently?
The ordering seems different than it used to be yesterday.
 
Totally kidding, of course. But I do think there are some tag families where a regex match would be feasible and unlikely to cause conflicts (e.g. sql-server*). I think there is still room to put the algorithm in place in that case which still might decide that C# should be the language because C# is the more popular tag. And those cases will win out more often against SQL Server if it's based on a specific tag like sql-server-2008-r2.
 
It's a shame @jcolebrand didn't make it to the final stage of the Stack Overflow elections, since barring a change to the application, you could have made staying on top of new tag additions his job ;)
@ypercube I have no idea, but you're referring to the drop down? It should be the list of sites where you're a member, ordered by reputation (down to 200), and then random after that point.
 
yes, the dropdown, it used to be that way.
it seems to be fetching in random order today.
 
Seems fine for me at the moment, but there was some trouble with the API today that would have likely caused it some issues in determining what reputation you had on which site to influence the order.
 
ok thnx.
 
9:59 PM
Seems ok to me too.
 
probably it's on my side. FireFox fault.
 
I stopped using Firefox two weeks ago. Too many funky things - wasn't loading remote javascript, remote CSS, etc. Half the web sites I went to looked like garbage.
Refresh sometimes worked. But even images would be missing. Switched to Chrome. It has some funky behaviors too but when a web site loads it's all there.
Perhaps the all sites list is re-ordered using a <script src> tag that isn't loading correctly.
Do you notice other things anywhere, like missing images, or Times New Roman on sites that shouldn't be using it?
 
and I just remembered I did an FF update before logging to SO
 
Usually I expect updates to fix things, not break them more. So you've convinced me to put off trying FF again for at least a couple more updates. :-)
The deal breaker was broken functionality on my bank's web site. Which they could probably fix, but it worked on Firefox previously, and continued to work fine on Safari and Chrome (Mac) and IE on Windows. Only Firefox on both platforms was broken in the same way.
 
10:17 PM
@nickchammas you know, you can encourage the comments too :p
 
@AaronBertrand I quit 6 months ago and switched to Chrome. FF seemed to pause/hang constantly
 
Chrome does that for me quite a bit. Mostly when clicking back.
spin... spin... spin
I also don't like that it is very aggressive in caching. I see updates pop into a question, click on a link, click back, and the updates are no longer showing. I have to manually hit refresh, like I did back in the 1990s.
This is on a Mac, behavior might be different on a pee see.
 
You're one of those mac folk though right? ;)
 
you bet
 
Btw @AaronBertrand, have you embraced the joy that is SSDT yet?
 
10:20 PM
I use Windows but only via VM or VPN+RDP. Not a single Windows machine in this house.
No sir. I don't really do that kind of development these days.
All right, dinner time, ciao chaps
 
ciao
 
I actually have to shave for this one
 
toodle-oo
 
got to go too
 
you're so sweet Mark
 
10:21 PM
:)
Odd that people I work with never seem to pick up on that. Quite the opposite in fact!
 
I have the same problem. Everyone thinks I'm a douche.
It's like they only read my StackOverflow comments...
 
SO will take you to an early grave my friend!
 
I have the same problem as both of you guys
What I love the best, however, is when I ask a question, and certain people think I'm challenging them.
 
So long as they're outnumbered by the folk that are happy to have a healthy technical debate, we'll keep on winning :)
 
@ypercube Apparently someone else is having the same issue
 
10:36 PM
Yes, reading it. No time to deal with this though today. I bet my money on the FF update.
 

« first day (529 days earlier)      last day (4330 days later) »