« first day (421 days earlier)      last day (3597 days later) » 
00:00 - 19:0019:00 - 00:00

7:00 PM
Hm. Was I too hasty to answer?
 
"The human brain has not evolved to solve probabilistic decision problems" :(
 
0
Q: new to programming

user007i am doing my 3rd b.tech.it ,,, i have quite knowledge on concepts related to c and c++.. but i dnt have enough confidence to solve problems,, i knew tat ,,inadequate practice is d main cause,,, now i would lyk to rectify it,, could yu pls suggest me,,some best websites where ,, i may able to pra...

 
@Jamal I think I was the one being too slow in checking it. Your answer made me want to write a better answer, then I discovered the problem.
 
At least mine doesn't address any brokenness in the code. The original could still would've been written inconsistently anyway.
 
0
Q: Binary search in functional-style Scala

BasilTomatoCurious to know how I can improve it, especially the pattern matching part seems a bit repetitive at the moment (lots of case x if ds(x)) def binarySearch(ds: Array[Double], key: Double): Int = { @annotation.tailrec def go(low: Int, mid: Int, high: Int): Int = { mid match { ...

0
Q: new to programming

user007i am doing my 3rd b.tech.it ,,, i have quite knowledge on concepts related to c and c++.. but i dnt have enough confidence to solve problems,, i knew tat ,,inadequate practice is d main cause,,, now i would lyk to rectify it,, could yu pls suggest me,,some best websites where ,, i may able to pra...

 
7:05 PM
@Jamal Oh dear...
 
Gotta love this man
Can computers think? Dijkstra, 1984: "The question is about as relevant as ‘Can submarines swim?’"
3
 
@SimonAndréForsberg Normally, VLQ flags aren't used with questions... but I think it fits here.
 
@Jamal I think not even you could make that a good question.
 
@Jamal dat instadelete... wanted to VTC, but you were faster...
 
Yeah, I've insta-deleted this one, and left a comment that should reach the OP. Not all off-topic questions should be deleted outright, but this one is just something.
 
7:10 PM
1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2. A robot must obey orders given to it by human beings, except where such orders would conflict with the First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
Yeah... I can see things get really messy once robots can create robots themselves, and also program them.
 
@CaptainObvious Which reminds me...
121
Q: Please charge rep for questions after threshold

GEOCHETSimilar things have been asked before and declined: Award no rep or limited rep for questions Drop giving rep for questions This suggestion, Restrict People With Low Answer/Question Ratios From Moderation Tools, really illustrates the need to stop users from gaming the system by simply asking...

 
0
A: What's a Zombie? And what are the many other memes of Code Review?

Simon André ForsbergMeme: Java vs. JAVA Originator: Jamal(?) (to be determined) Cultural Height: The 2nd Monitor (as usual), but also in various comments scattered across meta. Background: Question with the word JAVA (instead of Java) in the title or body, is often an indication about the poster's skills and/or t...

 
@SimonAndréForsberg YES!
I'm still not sure if it's just people adding all-caps, or if it's assumed to be an acronym.
 
@SimonAndréForsberg - I think I answered that question....
> I want the code to be good code, not just code that scores 3 out of 3.
 
@rolfl To me it seems like the question you answered was "Are questions about Code Hunt good for Code Review?"
That doesn't say how the question should be reviewed though.
 
7:23 PM
OK, the point I was trying to make is that, like always, code review is about making your code better.... not about scoring 3 out of 3 at code golf.
I am not sure how i can say that' 'better'.
 
"readability, performance, etc."
 
@CaptainObvious It looks like the OP has created a new account on English Language Learners sometime after I deleted the question. Now I kinda feel like an ass for my comment...
 
@Jamal I think your comment was fine.
 
hey guys
 
Thanks. Perhaps the OP will eventually come back with an appropriate question.
 
7:34 PM
Hey @Mat'sMug
How does it feel to be a free Mug?
 
for now, like a hangover ;)
hehe.. I see I'm out of mugs!
 
Yeah, I think some of my rep will be reversed though,
And 15 rep left to max for today
 
well done!
 
Well, thanks, but... I had little to do with the upvoting.
10 hours ago, by Hassan Althaf
Simon, I'll help you reach 20k
 
ah, I see
 
7:40 PM
Yeah, that's gonna get reversed. On the other hand, he probably hasn't really spent time reading your posts.
 
I wonder though if today will still count as repmax after the reversal
 
looks like you're getting some 75 points reversed
 
I had a serial upvote of 130 rep a few weeks ago
Wasn't undone
 
@Mat'sMug How can you see that?
 
7:47 PM
@JeroenVannevel That may depend on the length of time between each upvote.
 
@Jamal All over the span of about 2 minutes
Okay no, 8 minutes
and it were only 7 upvotes on SO
He also did it on Programmers & CR
Guess it slips the cracks network wide
 
That may be enough, I suppose. Of course, I don't know any specifics; only SE does.
 
@MadaraUchiha I don't have a problem with PHP. I merely recognize that PHP is a problem.
 
your reputation score timeline is showing +185 today, with +70 3 hours ago and +40 2 hours ago - these ones look legit. But then 9 hours ago, between 09:53:54Z and 09:54:32Z, +50 on various answers, and +25 on various questions, 10 posts upvoted in 30-some seconds, +75 suspicious rep generated. My bet is on a 75 points reversal ;)
 
0
Q: Python: Combining multiple files of uncommon filetype into one

randomcastleI've created a utility program for combining multiple .vec files into one. The program's main usage is for training haar cascade classifiers in openCV (details). I'm mainly interested in feedback on the coding style, but any comments would be appreciated. Here is the code: """ To use t...

 
@Mat'sMug You're one smart Mug!
 
:)
 
@JerryCoffin If you ask very very nicely, perhaps I can convince SE to burninate .
6
 
@Jamal may I star that? :D
 
@Jamal As long as I can ignore it, I don't particularly care one way or the other.
@SimonAndréForsberg ...especially when it comes to mugging (and other forms of mayhem, abuse, etc.)
 
7:54 PM
mayhem?
 
@JerryCoffin Alrighty, then. It probably would've taken a great sum of money to convince them anyway.
 
@skiwi Zeroeth law: a robot must not harm mankind.
@Jamal I'd guess it takes a fair amount to bribe people who hand out diamonds.
 
ugh, I hate when that happens: codereview.stackexchange.com/review/suggested-edits/22770 ...skipping, but I should be rejecting it.. but it's probably a correct edit, and I have no freakin' clue about the language. I wish there was a way to [vote-to] convert a suggested edit into a comment.
 
I just found this SO question and I thought to myself "this is probably something that @skiwi would be interested in". Turns out @skiwi was the one who asked it...
5
 
lol
 
8:01 PM
@SimonAndréForsberg Stars for you!
 
@Mat'sMug I agree--not good to edit somebody else's answer to correct code unless it's an obvious typo. Possibly if you've tried to contact them, and they're no longer active.
 
@SimonAndréForsberg I even get that same thought from time to time.
 
0
Q: Basic Reverse Polish CL Parser

ao2130 K and R Exercise 5-10 Write the program expr, which evaluates a reverse Polish expression from the command line, where each operator or operand is a separate argument. For example, expr 2 3 4 + * evaluates 2 * (3+4) Repository

 
@JerryCoffin was an anonymous user, too
 
@Mat'sMug True--but the validity shouldn't affect the validity.
 
8:12 PM
I see what you mean and I agree.. but read that again ^^ ;)
 
@Mat'sMug in such cases I like to leave comments below the edited post, stating what was suggested for evaluation by people more competent than myself
 
@Vogel612 that's the best thing to do I guess
 
@Mat'sMug Yes, I noticed the "too".
 
the validity [anonymous-ness of user] shouldn't affect the validity [of the edit suggestion] ..right?
 
Darn, my answer to the Java question was accepted (and right before closure). Unless the OP asks a new question with working code, someone may end up taking it from me.
 
8:17 PM
gotta go, later @all!
 
Later!
 
@Mat'sMug Oh, now I see what you meant. Yes, the first "validity" should be "anonymity". My apologies.
Later.
 
Some interesting Java compiler behavior:
0
Q: Unchecked casts and unnecessary suppressed warnings with lambdas

Simon André ForsbergWhile working with Lambdas and generics, I encountered a special case of unsafe cast warnings. During reproducing and making an SSCCE, I found that it is probably related to the fact that the lambda is effectively "inside" the return statement. The question is: Why do I get a warning in the war...

 
Finally I get a blank Xamarin.Android project to build: NoClassDefFoundError
ugh
This was supposed to be smooth like a babybutt
 
8:38 PM
@JeroenVannevel I've been considering using Xamarin.Android, but I found it to be a bit too expensive for my taste.
Your bounty on question "Capture the notion of invertible functions" expires in three days.
still no answer :(
 
@SimonAndréForsberg 100$ for a student license for a year is very attractive though
that's a day of work
 
> for a year
I don't like subscription fees. Especially not for software.
Perhaps I'll consider it when I want to head more into iOS. At the moment, I ignore
 
8:57 PM
Hi, what anwser I should accept if, in my code review request, all anwsers are great?
 
@Dudi Accept the one that is greatest.
Or the one with the most up-votes. Or any answer you wish.
Or the one written by me.
2
 
9:37 PM
0
Q: Slow Stan/Rstan code

jonaI haven't found anything about Stan on Code Review, but I got great feedback with my last question here so I thought I'd give it a try. If somebody with the required rep could add a "Stan" tag, that'd be great! The model takes a long time to run. I have tried to vectorise it as far as I can, but...

 
9:49 PM
Today's most useless comment:
You are assigning a List<?> to a List<String>. Why shouldn't that cause a warning? If you replace the wildcard in perform with a type parameter, all warnings will disappear. — nosid 16 mins ago
That was not what I was asking about!!
 
10:16 PM
I have 6999 reputation on SO. Annoying.
 
And, that's going to last long?
 
I can fix that annoying score ;)
    NSLog( UIFont.familyNames().join(",") );
why does that not compile ?
 
Language?
 
Thanks, Santa! Rabbit!
 
IOS?
 
10:18 PM
Objective-C
 
There's your answer ... ;-)
 
Doesn't .join make it an array?
I believe NSLog wants String.
 
Swift
 
No wait... .join should make it String...
 
indeed
 
10:19 PM
@konijn And, ..... there's your answer... ;)
 
But.. familynames returns string of object per api
which are strings
so I need to cast to string array now
 
I'd rather get CR rep than SO rep now though.
 
NSLog( "%@" , UIFont.familyNames() ); //<- Cheated my way out ;)
 
Your equation is inconsistent with your code. Your code actually does $$f(x) = \sum_{i=1}^{n}\left|x_i\right|^i$$ if you use one-based arrays, according to MATLAB convention, or $$f(x) = \sum_{i=0}^{n-1}\left|x_i\right|^{i + 1}$$ if you use the zero-based array indexing convention. — 200_success ♦ 4 mins ago
I've closed the question.
 
10:37 PM
@SimonAndréForsberg Isn't that also what Microsoft is doing with their newest versions of Office? I still have the 2010 version, which I will keep as long as I can.
 
@Jamal To a large extent, yes.
This is one of the motivators for large companies with sensitive data, to be moving away from MS products.
 
0
Q: Implement Division with addition. multiplication,division or subtraction

SREEPRASAD GOVINDANKUTTYCould you please tell me if there is better way of performing division without +,-, * or /? I've tested this code for different values of a and b. Tested working for 1.divide(8,3) 2.divide(5,10) 3. divide(9,6) 4.divide(42,6) Could you please tell me if there is a cleaner solution? I have porte...

 
@SimonAndréForsberg I've had it for a short time, but I still love Microsoft Office. But if the subscription service is all there is left, then I'll go for something else.
 
10:41 PM
An Aussie and a Kiwi enter a room together…
there has got to be a punch line.
 
The Aussie moves to Switzerland, but only cares about the first letter of the country, then merges with the Kiwi and becomes @skiwi.
And also moves to Netherlands, of course.
 
An Aussie and a Kiwi enter a room together…
> .... but they did not leave together......
 
Please don't become a stand-up comedian, @rolfl.
(No offense)
 
none-taken, I am in a chair... .and quite good enough, already.
Thanks, and I will be here all week
 
For me Sunday is the last day of the week, so technically you have been here all week already.
Although considering your , I believe you'll be here for more than just a week...
 
10:47 PM
I think the consecutive thing is becoming embarrassing though.. (as if the jokes are not).
 
yawn It's too early to be doing anything
 
for the first time, in probably .... this century .... I slept for more than 11 hours... straight.
Crashed at 9:30, woke up at 9am
 
I think I do that on most weekends because I'm so tired :/
 
I have spent a lot of time recently working both the toronto, and the beijing timezones.
Aaaaaaaaaaaaaaaannnnnnnnnnddddddddddd ...... Pizza!
 
I fear I've added two new zombies that are going to kick around for a while
 
10:56 PM
@rolfl You should be proud of your consecutiveness!
 
how many consecutive days are you at now?
 
11:14 PM
I'm at 70 :)
Luckily, I already have fanatic badge.
0
A: Implementing division without addition, multiplication, division or subtraction - follow-up

Simon André ForsbergSeems like the approach you've taken is to implement the + operator yourself. And when using the + operator on negative numbers, you've implemented your own - operator. I have to congratulate you for being able to implement these operators from scratch. Good job. A slight bug is that your cod...

Two up-votes required for rep-cap
 
I'm at 227 :(
 
Still waiting for the reload...
 
Why are all SE sites in the west?
 
@Yuushi: Regarding this question, does it appear that the OP's version of C assumes that the non-main functions return void (I don't think int is assumed since they don't return anything). I may need to adjust my answer again.
 
11:43 PM
Nevermind, I think my improvement covers it better.
 
0
Q: Async Wrapper around Public API

PrescottTear it apart. I'm mostly concerned around the appropriate use of 'ConfigureAwait(false)', possible poor handling and duplication of of the HttpClient in Invest and Get<T>. using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Http.Headers; us...

 
@Jamal In C, anything that doesn't have a specified return type returns int by default
 
that being said, always better to make it explicit
 
@Yuushi Ah. I thought that was for a previous standard. Should I remove the part about that anyway?
@SimonAndréForsberg Goodnight!
 
11:50 PM
@Jamal I'd say leave it in
 
Okay. If those other functions still implicitly return an int, could it cause UB or something? This is a part of C that I never quite understood.
 
hrm, nope, I'm wrong
they did change it in a later C standard
implicit-int return was removed
 
That's what I thought. I just couldn't remember the exact standard.
 
yeah, except for main (which is special and will return a 0), if you don't return from any other function, and it has a non-void return type, the result is undefined
 
Ah. Well, I'm glad that was all discontinued.
 
11:55 PM
I think I'm slowly losing my C-pedantry; I don't really ever use C anymore
 
00:00 - 19:0019:00 - 00:00

« first day (421 days earlier)      last day (3597 days later) »