« first day (592 days earlier)      last day (3723 days later) » 

19:00
btw, Python/Django zombie:
3
Q: Django template block name changing function

Muhammed K KI created a reusable function for changing block name in Djago templates. I want to know if the code is good or is there any probable issues in it. I developed the function as a hack for the following issue. Template Code {% extends base_name %} {% block main-contents %} <h2>{{ message_he...

Aaaaand one more hat.
@Morwenn Congratz.. How do you wear them all at the same time?
(rofl)
they need to add emoticons here
No ... do not.
19:03
No, please no!
I smell a story
I don't want to risk having emoticons as ugly as Skype's ones.
Why are we all upset about hats?
Ohh. emoticons.
Could somebody explain? :D
0
Q: 3-way merge sort in Java

coderoddeAll those numerous merge sorts split the range in two halves. This is a modification that splits each range into 3 subranges. My demo suggests that 3-way merge sort is pretty efficient on large arrays. So, what do you think? Arrays.java: package net.coderodde.util; /** * @author Rodion Efrem...

0
Q: How to make Excel select just one column through VBA and avoid multiple columns being selected?

user61363Examples below work with empty columns, but not with column B. For some reasons adjacent non-empty columns are also selected with either example. Range("B1:B1000").Select Columns("B").Select

^^ Enough said.
xD Ok point taken
you can stop now :D
19:07
°_°"
I'm losing my mind.
> 20,684,700 rows transferred
mind is undefined
who needs a Red Shirt?
Select count (*) from table
see the last CaptainObvious
19:09
> 251,000 records
I need a red shirt on CR
^^^ there's your chance
@RubberDuck Holy Carp! You're gonna be there all day
still no hat :(
@Mat'sMug - someone just upvoted an old answer of mine..... the comments on that answer made me laugh: codereview.stackexchange.com/questions/36916/…
19:10
@Mat'sMug which one?
Now that I'm a mod, should I be purging that crap?
We're lucky to have you @rolfl. Awesome review! — Mat's Mug Dec 9 '13 at 3:30
Diamonds are black and violets are blue, I write a wrong method and I thank you. I'm never gonna use this.ordinal() for such a method again! There's always gonna be someone (myself, that is) that sooner or later will swap the elements to make it incorrect. — Simon André Forsberg Dec 9 '13 at 15:30
we're still lucky to have you @rolfl, even if you're a mod now
Your poetry is doggerel. <br/> Haiku is supreme <br/> why rhyme? — rolfl ♦ Dec 9 '13 at 16:46
19:11
-3
Q: Where's the delete button?

user61363Where's the delete button on here?

Where's the delete button? WHERE'S THE DELETE BUTTON??? Get me outta here!
3
Are you guys downvoting to get redshirt on that before I delete it?
I deleted it
and DV'd
and no red shit shirt
19:13
lol
would be too soon
I wonder if it has to stay closed and not deleted for the red shirt?
a SEDE query for progress for Red Shirt would be nice
@Phrancis you have VTD powers now?
Grats!
Sure do! I think 4K...Almost lost them yesterday from Bounty!
19:14
Funniest thing I've seen in a while.
I rolled it back to its original state
Some one flagged:
I thought Matt did it
^^ that's me
19:15
Can't bring myself to delete... sorry.
is there a penalty for unhelpful flags?
But, the dismiss does not count as a declined flag.
(not on comments).
@Mat'sMug I didn't know you were a comment!
Badum-Tsh.
19:16
Sorry I'm riding the stupid joke train today.
@rolfl ORLY?
Yeah, but it's not in the declined part that's reported on stats that people see in your more public system like elections,etc.
you think I should be running for that eventual election?
On the right, the comments are not included in the helpful, declined area section for posts.
I think everyone should seriously consider it, yes.
I heard that in order to be elected you need to have done more edits than @Jamal
6
19:18
LOL
3
@skiwi somehow, ...that hat suits you
@Mat'sMug lol
@skiwi fml. That's a life-long goal, akin to accumulating more SO rep than Jon Skeet.
BTW.Work
Attention everyone: CR is now ahead of Physics.SE!
next stop: big apple
19:25
for Fear & Loathing, do I need to delete an answer posted during winter bash, or older are ok too?
I earned mine with an answer posted during WB
^^ Ditto
doesn't matter. good time to do a little house cleaning
@janos Old ones are ok
thanks @RubberDuck
19:27
np
hm, many of my 0-vote answers are better than some well-voted ones :(
@rolfl don't purge those comments, I have been referring to those a bit! (whenever someone is thinking about having their code dependent on the ordering of an enum)
Technically, they should somehow then be merged back in to the answer..... but yes, despite the chatty first part of the comment, the second half has real information in, and that's the real reason I did not delete that one.
even though it was flagged ;)
@Mat'sMug what's "too chatty" about that one?
@rolfl thanks :)
^^ now that is "too chatty".
19:32
oh come on
but then again, this is chat.
ugh. out of stars
ugh. out of bananas.
2
have to eat clementine instead, but those are actually nicer (no offense to monkeys)
2
@SimonAndréForsberg I am offended.
@SimonAndréForsberg that's so unfair
19:34
@Phoenix you're a Phoenix, not a monkey.
@SimonAndréForsberg I am a burning flying coding Phoenix monkey. It is a new breed unknown to you humans yet.
@SimonAndréForsberg I am offended.
2
@SimonAndréForsberg I am hungry
@SimonAndréForsberg I am just pinging myself to continue the pattern
@SimonAndréForsberg I am bored
19:37
@Phrancis I am exception-fucked.
message group stars in chat.
He doesn't need to pee anymore
> You earned Red Shirt on Code Review!
2
@xDaevax I'd love to have a quote message group feature as well. Especially for messages that @Duga write
19:38
0
Q: how to synchronize 2 jobs/processes

avinashkrI am having a continuously running server application which processes 2 jobs(file processing) which are completely different flows. i invoke the client giving either job1 or job 2 so it could be either of these 2 in some interval of time .since the files are picked from a folder I want to synchr...

@SimonAndréForsberg I am late to the party.
2
Don't worry. We ate the cake.
lol
@CaptainObvious not sure about that one
Waffle?
The cake is a lie.
19:40
@Mat'sMug I am ... but in C#
@nhgrif Yes it is. We told you there was gonna be cake for you but we lied. Hence the cake is a lie to you.
@Mat'sMug Unclear
Welcome to Code Review! From the way your question is worded, it appears you are asking for help implementing a new process or feature. Is that the case? — Phrancis 14 secs ago
VTC'd as such
CRAP! I forgot to down-vote before I VTC'd!
Bye bye, Red Shirt.
retract, DV, VTC again?
19:46
I'm going for a waffle on that one
@janos question closed already, too late I think
in that case, yup
if 100 is a magic number keeps getting visits in the false hope of getting a hat, it might even become eligible for that hat (+ get my treasure hunter on CR)
@janos yeah, I have noticed that you're getting close to a goldie on that one
hint: make a slight little edit to bump it onto the front page...
2
19:58
@Mat'sMug Insider info right there
:D
good idea, but it feels a bit like cheating
It's ok. I can't downvote it again even if you edit it. =;)-
phew, then I'm safe :)
The waffle pattern is downvote, edit, then upvote, correct?
Bumped on your behalf @janos
20:00
nvm
+1 hat for CR
legit edit @Mat'sMug, thanks!
did you make a legit comment for hairboat?
somewhat
hairboat? what does that have to do with editing?
20:05
legit comment
@xDaevax Yes, but it also has to be a question. Please be legit about it.
> Rumor has it that commenting on one of your posts will make a super awesome boat hat magically appear.
That's the comment that got me hairboat ^
@RubberDuck been there doesn't work :(
My command post
ooh shiny!
@Mat'sMug what's shiny?
20:09
you lucky
3 monitors!
awww mods cleaned up the comments
@Mat'sMug i've got 3 monitors and a tv :D
How do I get back to mobile version of chat...???
20:11
@RubberDuck Legit is the only way to be.
@RubberDuck here's mine:
Same in Chrome on Android 5. All upvoted triangles are slightly to the left, dark (upvoted by me) and white (not upvoted by me). — janos yesterday
took me an hour to find something I can make a legit comment on
I'm 3 votes short of "Enlightened" on this one:
7
A: Speed optimization for transparent gradient blend algorithm

EdwardThere are a number of things you could do to make this faster and better. Use a pointer rather than array references The code currently computes a pixelIndex and uses it as in pixelValue = pixelBuffer[pixelIndex], but what's actually happening is that each pixel is visited in order. The code c...

> HO HO HO!
Thanks, Santa(s)!
... definitely no Red Shirt today :(
20:19
If we're playing this game, I'm two votes short on this one: codereview.stackexchange.com/a/64976/15094
For the sake of CR having many hats :D
if I could I would
Done
Oh, thank you Santa (and other nice people) :3
@Morwenn It was worth a vote!
20:25
I can never remember.... do I index from most unique to least, or least to most?
hmmmmmmmm
With so many bounty questions now, if I decide to raise one, it probably shouldn't be for a zombie. I do still have plenty of time, though.
yeah Winter Bash does that..
Are all the badges awarded at the same time?
Fixed
@Morwenn Certain badges are awarded at different times. Enlightened, for instance, takes a while, compared to many others.
20:32
@Jamal Ok thanks. I feared that I summoned Santa for nothing :)
Just don't unwrap all of your new toys at once. :)
are my favorite C# people around to get me 5 answers in less than 30 minutes?
Yes, but no. Work man.....
I know. Lamesauce.
Just as a reminder: be sure to check out Santa's "public" list query": data.stackexchange.com/codereview/query/169776/one-vote-short
2
20:42
No bounty for rep cap? No fun :/
2
@JeroenVannevel That looks interesting, especially from a company that has such a long standing antagonism of open source.
@Edward They've gone a lot further with other recent Open-sourcing initiatives
I assume you've seen them pass by as well already?
@RubberDuck it's all good I have to wait to post until I get back to work
@JeroenVannevel Yes, it has been a welcome change.
@Malachi "30 minutes or less" isn't going to be achievable on CR... unless you have a really borked
20:50
Or socks
@Mat'sMug in C#, there's primitives as well, isn't there? Or is everything an object?
@Mat'sMug unless it's in Brainfuck, then it still takes more than 30 minutes
0
Q: Code that finds the largest palindrome from two three-digit factors

Don LarynxMy code is really ugly, but I don't know how to make it better. #include "stdafx.h" #include <iostream> #include <math.h> using namespace std; bool palindromeTest(double numberVectorAddition){//tests if the factors of the palindrome are both below 3 digits each. double p = numberVectorAddi...

This is weird.
DECLARE @downvote INT;
SET @downvote = (SELECT Id FROM VoteTypes WHERE Name LIKE 'Down%');

DECLARE @user INT;
SET @user = ##UserId##;

WITH cte_downvotes AS
(
  SELECT COUNT(Id) AS [Count of Downvotes]
  FROM Votes
  WHERE VoteTypeId = @downvote
  AND UserId = @user
)

SELECT * FROM cte_downvotes;
Returns 0 when I put in what appears to be my UserId (42632)
@rolfl ^^
@SimonAndréForsberg int is System.Int32 which is a struct derived from System.ValueType which is itself derived from System.Object. So int inherits ToString and GetHashCode and GetType methods
Primitives are for dinosaurs
and Java programmers!
20:56
11
A: Since Int32 is a value type why does it inherit .ToString()?

Jon SkeetYes, Int32 overrides ToString... although that's somewhat irrelevant here. All types inherit the members of object - you can always call ToString(), you can always call Equals etc. (ValueType overrides Equals and GetHashCode for you, although you should almost always override them further in stru...

@m.edmondson: Yes - the CLR knows about System.ValueType and System.Enum. They're very special types. — Jon Skeet Nov 16 '11 at 14:21
Who says Java programmers are not dinosaurs ? Who says phoenixes are not dinosaurs? Who says everyone is not a dinosaur since they derive from dinosaurs? Dino-mind-fuck <-- is a word now... ok i will shut up now and keep playing bf3 ... also there exists a world where not everything is an object? and is called Java? OMG :D
everything is a coffee bean
btw what is this?
your total SE rep score ;)
patient number
3
21:02
@Mat'sMug KK thanks :)
why is @Phoenix' post pinned?
My post is pinned? I am flattered :D ... What does this mean?:D
anybody knows HabitRPG ?
it means it's always there (see the panel on the right)
I only see two by @rolfl, one by @Jamal and another by @konijn... but I'd say if a post is pinned it's because... someone pinned it ;)
hmmmm
@Phoenix I pinned both of my pinned posts. Jamal pinned his
(I think)
21:06
Reading Jamal's pinned post I thought at first he's talking about the game Crypt of the NecroDancer (which by the way is amazeballs and you should play it).
finally, Time Lord!
@janos Nice!
lol, now I see @Jamal making a 2nd pass at the old posts I edited (for time lord)
Already got it long ago. ;-) That post just needed another edit. The one about Python design can use a better title, but little context was given.
I've no illusions. You could probably further edit all my edits
I should note that line for my Jamal facts collection
21:12
does TimeLord work with your own old posts?
0
Q: Correct design for binding data to a XAML control in a view, from the ViewModel

JamesI wasn't sure if this is an Overflow question, or one for here - hopefully I've picked right! For context, I am building a universal Windows Store app. I'm just starting to learn C# and MVVM patterns and I need help correctly implementing binding. I have followed this tutorial (Binding) and u...

@janos I see no pinned post by the bird
2
it's @rolfl's pinned, linking to a question by "the bird"
> Also, we could really use some unit tests!
I see that on every repo everywhere. ^
2
21:21
@RubberDuck Everyone needs unit tests!
^^^ :)
@RubberDuck And it probably ought to be on even more...
Ok, SEDE is confusing me lol.
0
Q: Optimize the Buddhabrot

LabelloFollowing an advice in the comments of the following thread: http://stackoverflow.com/questions/27532988/optimize-the-buddhabrot I repose my question here: I am currently working on my own implementation of the Buddhabrot. So far I am using the std::thread-Class from C++11 to concurrently work t...

21:22
@CaptainObvious Oh, it's not a Buddhabot
@Phrancis I hope you're working on the Red Shirt progress script ;)
I am!
@CaptainObvious What thread? I see no forums around here.
yoohoo!
I like how some C++ folks optimize their code: With compiler optimizations.
21:23
I think I figured it out, I am joining the wrong tables evidently
I don't think that that's how it works
Sure, there may be worthwhile optimizations done by the compiler, but it will not improve your asymptotic running time... right?
ridiculously easy hats on SO: red shirt, crab, Naruto (somewhat easy), ...
@Mat'sMug oh! IDEA
lol jk
@200_success your comment turned into an improvement would deserve an upvote
@janos I was happy to see the crab hats here on Cr.
21:27
luckily, it wasn't easy
Just having a hard time finding where the PostFeedback table can be joined to a UserId
Maybe it can't, by design...
@Phrancis the post feedback table don't have an entry for user on each row. So you can't figure out who voted.
depending on the feedback type id though, it can have user id (for example the type for favorited post)
That's what I'm starting to discover
@Janos I fear a Red Shirt progression SEDE query may not be possible due to anonymity site rules...
aaaaaaaah....
of course
dammit
This returns vote types, but it appears to exclude upvotes and downvotes
SELECT *
FROM Votes
INNER JOIN VoteTypes
  ON Votes.VoteTypeId = VoteTypes.Id
WHERE Votes.UserId = 42632
ORDER BY Votes.CreationDate DESC
(hint, change the UserId)
21:34
what does it include then :D
I don't think I can
I don't have the db xD
It's available online, just click the link
the DB is online
Oh it was a link
OMG
wait is this something like a db host... by stackexchange?
21:36
yup
It's like watching an animal being set out into the wild. Its first steps into the SEDE are the most wondrous
what's the catch ? xD
votes on closed posts, whether up or down, could approximate Red Shirt progress, especially if you can check the date of the vote and the closing. Votes on closed posts are likely to be downvotes.
wait wait ... rewind rewind... what is this database actually(yes i am an idiot)
it's everything on SE that's made public
21:38
0
Q: Create a new Member

MalachiI was tasked with member creation on a site that was already developed for Active Directory, so the log in functionality was there and most of the site was all ready to go (after minor major tweaks) Here is what I came up with for my create user method (Button_Click Event) Please let me know wh...

not much to look at. but I am thinking that I will start posting everything that I write, so that I know where I am
it's 5 answers in 30 minutes on the same question, @Malachi ;)
@Mat'sMug lol I know....
let's do it
but I need that one question badge too
I'm on it as well
Prepare to get <del>bashed</del> constructively criticized
21:40
in C# you can compare strings with == ?
@janos yes
I only have 2 stars left
I am not sure there is enough there to get 5 different answers though
At least it's good for me to realize I have not lost my mind and don't remember how to write SQL anymore XD
21:42
@janos but it is still a better practice to avoid ==
@xDaevax entirely not true
== is overloaded to call string.Equals
it's exactly the same, but clearer
According to MSDN:

"When you compare strings, you should use the methods that explicitly specify what kind of comparison you intend to perform. This makes your code much more maintainable and readable. Whenever possible, use the overloads of the methods of the System.String and System.Array classes that take a StringComparison enumeration parameter, so that you can specify which type of comparison to perform. It is best to avoid using the == and != operators when you compare strings. Also, avoid using the String.CompareTo instance methods because none of the overloads takes a StringCompari
one is a set and 2 is a boolean operator
@janos You mean count how many votes where status is closed or deleted? That still wouldn't give any idea of who voted, so the data wouldn't be very useful, unless you check your profile at the same time to see which posts you've cast a down-vote on... was that the idea?
If you want that then I can definitely make it (I think)
there's one from me
21:45
2
Q: Create a new Member

MalachiI was tasked with member creation on a site that was already developed for Active Directory, so the log in functionality was there and most of the site was all ready to go (after minor major tweaks). Here is what I came up with for my create user method (Button_Click Event). Please let me know ...

@janos the votes have to happen before the post is closed
Two more.
wondering if your own answer counts
never mind @Phrancis. I can be patient. It should happen sooner or later
counts as a selfie for sure ;)
1 more!
wouldn't be a selfie otherwise ;)
that's fuckin' team work
^^^ quoted from which band?
21:47
1 vote left
Hmm... PostFeedback.CreationDate is a DATETIME column, but they are all at 00:00:00 what is that about.
@janos Tenacious D
1 more answer needed for the other hat
thanks guys
20 minutes left
lots of good ideas
21:48
@RubberDuck nicely done :)
Implicit convert to date # 102 or something. Ugh.
maybe +1 post would be good just in case Malachi's doesn't count
Took me a second @janos.
@JeroenVannevel Also see this answer: stackoverflow.com/a/3679927/937012
21:51
guys, 1 more quickie answer - this is probably the only pizza CR's going to get
@Malachi: are you sure about "is the email and bar number valid?"?
That sounds really off
Anyone have anything more to say? Just for good measure in case @Malachi's doesn't count?
btw, I have a devious plan to get CR potentially 100+ hats
3
I'm sure @Malachi's answer doesn't count
if you separate them and say " is the email valid?"
@janos remember no sock pupetting
21:53
I like devious plans
half the allotted time is elapsed
we need to get boathair to post a question or an answer
I can add something
no sock puppetting, totally legit. And it's already set in motion
Does the boathair hat respond to mod chat pings I wonder..?
21:54
@xDaevax she is a mod I think
@rolfl do it!
@Mat'sMug and that is my last star
That was my first, and likely last C# answer!
@Mat'sMug Done
Pizza's here! (right?)
21:56
> You earned Selfie on Code Review!
double tap!
Yay team! Good work!
You'll need to share that hat. :)
@Mat'sMug Someone called for delivery?
3
Need to remember that post when we're evangelising "Many small answers".
21:57
and
> You earned 30 Minutes or Less on Code Review!
@rolfl @Malachi did ;)
@rolfl smells like anchovies in here.
2
and no stars left
8 answers within 19 minutes? Looks like 8 socks to delete. ;-)
3
@Jamal LOL
looks like we passed Physics
21:59
Question is, can we overtake Meta SE?
Seems that answering an old own question isn't sufficient to get the Selfie hat :/

« first day (592 days earlier)      last day (3723 days later) »