« first day (443 days earlier)      last day (3873 days later) » 

13:12
@rolfl Answered:
Is there a way to hide lines in an IDE that have anything to do with a Logging object?
0
A: Reusability vs Simplicity

Simon André ForsbergI'll throw out some ideas I have for how you can "solve" this, and then you will have to decide which way to go. The problem, however, is that this means when creating my classes, I need to ferry around this TPos generic construct to places where it doesn't make sense to define it. I'm left c...

@MadaraUchiha ??
Whoa, that was a fast accept. I wonder if he had time to read my answer first?
@MadaraUchiha 2014!
As I said, 2014 ^^
13:15
Thank you santa :D
Now you'll have to wait 5 months before you get another reputation point.
@SimonAndréForsberg What kind of monitor you have? SuperUltraRetina+++?
Good news: it mostly works! Bad news: if you swipe, it crashes the app and VS because of an OOM error
5
While some of us live far in the future:
@MadaraUchiha Benq HDMI Senseye 3 yadayada...
@SimonAndréForsberg It was 196XX. That day, humanity received a grim reminder...
13:17
Welcome to 2K @MadaraUchiha! :)
@MadaraUchiha Or, if you ask Windows, "Generic PnP Monitor" (x2)
@SimonAndréForsberg did you... answer a question about simplicity vs flexibility? :p
@Mat'sMug Yup, seems like I did.
@Jamal I was offline for 9 days and wasn't able to fix the question nor award the bounty. Looking at my rep history the bounty wasn't cancelled/reverted to me. Was it ultimately awarded to konijn, or did it evaporate unawarded? In either case, I still want to find a good solution to my problem, re-ask my question if that's necessary, and award a[nother] bounty (if it isn't already been awarded) to konijn.
13:19
@JeroenVannevel File that under minor defects
@ChrisW If you offer a bounty, and no answer is given and gets a score of 2 or more since the time you posted it, the bounty will evaporate after 8 days, yes.
@ChrisW Hey there. It was not awarded to konjin, because his answer only got one upvote.
> GC_MINOR: (Nursery full)
@MadaraUchiha konijn's answer only had a score of +1 so that explains that.
13:20
It must've been fun to come up with names for all aspects of the technology
@JeroenVannevel The thread 'Unknown' (0xb) has exited with code 0 (0x0).
@MadaraUchiha and no answer is given and gets a score of 2 or more - How can a non-given answer get a score of 2 or more?
2
@SimonAndréForsberg Let's put it the other way
Only answers posted after the bounty was offered and are +2 or more by the time the bounty ends are eligible for automatic bounty.
and not (answer is given and get a score of +2)
I'm cleaning up and . If I wrongly tag a question, please feel free to fix it.
13:22
@SimonAndréForsberg That answer would be great on programmers.
1
Q: How to make this userform timer faster?

NealSo I have a userform that displays a goal time for workers to shoot for when completing a task. It also has a stopwatch on it that is controlled by a start, stop, and reset button on the userform. If the stopwatch time reaches the goal time and goes over, then there is a box called "extra time" t...

0
Q: memory leak in blackberry browserfield

user3828709I have made a blackberry app using Eclipse Plugin which displays a website using browserfield. The problem arises when i try to open a video on the browserfield. It runs for the first time but when i try to run it again a notification come up saying "device memory is low, app needs to close". ca...

@CaptainObvious Not working, or just memory management problems?
@CaptainObvious Kill it with close-votes.
no language-tag, project copy pasta and 2 lines of explanation..
@rolfl But is it a bad answer here? I think the question should be where the question belongs best, not where my answer is the best. Honestly, I have (as usual) no idea if it makes a good programmers question or not.
I'm not aiming for 20K on Programmers though... :)
Me neither.... I do think that any 'good' answer that starts with "I'll throw out some ideas I have for how you can "solve" this, and then you will have to decide which way to go." is probably not a code review.... ;-) But, I am not inclined to prove a point ;-)
13:26
But feel free to migrate it if it fits there better.
oddly enough, I think I have a more-on-topic answer for that question... an actual review ;-)
@rolfl What it essentially boils down to is: "You're doing it wrong, do either this or this" which can be a good review, right?
@rolfl The more answers the merrier!
WTH is the pretty bit at the end of a URL?
Meh, I just came bvack from 10 days 'off', and it's taking me a while to get back in to the swing of things.
needs votes:
0
A: Generating the pretty bit at the end of a URL

svickF# does have a String module, but it's almost empty. If you want to make string manipulations look more idiomatic, you'll have write functions that wrap System.String methods yourself (quick search didn't find anything existing): let trim (input:string) = input.Trim() let regexReplace (patt...

13:28
@Mat'sMug Up or down?
you decide :)
It's hard to vote for answers in languages I've never used, I have no idea if it's good advice or not.
@svick sounds like he knows what he's talking about ;)
ECS makes the most sense for my system, particularly with regards to extensibility. I have used them before, can't believe I hadn't considered it to solve this problem. Thanks. — Nick Udell 17 mins ago
Bingo.
He's a high rep user on SO, there are but a few that I wouldn't trust fairly instantly
13:31
@Mat'sMug After reading his answer a bit, yes.
@rolfl I removed that first sentence in my answer, as the best approach really is the ECS one.
@rolfl I changed my answer finally, would you like to weigh in on it?
3
A: WHERE NOT IN SQL Performance

MalachiEDIT: If you can, you should add a column to your leads table, something like beingHandled (boolean/bit) then you could write a query that would set it once for all the records which might take a little bit of time but it only needs to be run once. After you have done this you can query this ta...

@JeroenVannevel don't swipe so fast
4
@Mat'sMug did you... answer a question about FizzBuzz in Brainfuck? Oh, sadly no... you didn't. Question is still unanswered :(
@Malachi It also happens just at loading :(
@SimonAndréForsberg My bet is on @200_success to answer that one ;)
@JeroenVannevel what are we talking about here? an iOS app?
13:36
@Malachi Xamarin.Forms but only testing on Android
@Mat'sMug We'll see, I'll probably post a +100 bounty on it when I have 20100 rep :)
@Malachi Last night I swiped so hard I got an OOM.
4
@JeroenVannevel is that the one where you have to pay to develop in Android?
Or I might end up making a selfie on it, but that will probably take quite a while.
@Malachi That's the one
13:37
@Malachi It's C#, of course you have to pay...
@JeroenVannevel how much is it again?
after all it's Micro$oft
@SimonAndréForsberg xamarin itself is free
@Malachi 100€ for a student license
it's the interpreter to Java that is the spendy part
13:38
or was it $?
@Malachi ..."but..."?
I think I am going to go with Android studios
which reminds me I need to download that on this work computer and get back in the app game, so when they need it I can build it
The power of Xamarin is making multi-platform apps ofc, not a single one
@JeroenVannevel that is what I liked about it. but I don't have money to throw at it right now, might as well learn Java
it's free!
someone Removed a down vote!!! woot! I hate them darn things!
@Malachi You want me to downvote you?
Monkey posted a good answer here, vote (up) for it:
13:46
@SimonAndréForsberg I am at a good even number 8800, so no!
1
A: Reusability vs Simplicity

rolflYour interfaces are inconvenient, and you are falling in to a trap of convenience that actually leads to inconvenience..... let me explain... C# makes it easy to create the getter/setter methods for interfaces/classes. There are three places I can see where your use (abuse) of this convenience l...

OK, @Simon - go for it, prove me wrong ;-) — rolfl ♦ 54 mins ago
@rolfl I believe you just proved yourself wrong.
4
Good answer @rolfl
interesting Q&A
6
Q: How are Huey, Dewey, and Louie related to Scrooge?

AnkitIn Duck Tales, Huey, Dewey, and Louie call Scrooge McDuck, "Uncle Scrooge". They call Donald "Uncle Donald" and Donald calls Scrooge, "Uncle Scrooge". How are they actually related to one another?

@Jamal what happened with this 12 hours ago??? codereview.stackexchange.com/a/42764/18427
@Malachi bear trap comment there...
also Jamal undeleted, then the spam flags kicked in and community killed it.
@Malachi Those don't need comments. Just flag as offensive and let the mods destroy the post and user.
@Jamal ok. was just wondering because it was deleted the first time like 5 months ago....
13:58
@Malachi if it quacks like a duck...
@Malachi It had received only four offensive flags at that time, but was deleted with delete votes. That's not ideal. It should've received all six.
@Jamal does something different happen to the post when that happens rather than a delete?
the flag avenue is more violent
When sufficient flags are raised, Community deletes and locks the post, it's censored out for non-mods, and proper feedback is given to the system.
14:01
@Jamal soo.. you don't see that "please check the Revision History" message?
No, I just see the post itself.
1
Q: Proper way of using the MVC concept - update

Hassan AlthafOriginal question: Is this the proper way of using the MVC-Concept? I updated my files as instructed, and now I require a review. Please point out the most minute things out to me for me to have better code. Once again, efficiency, elegance, and performance is what I need. Also, please point o...

1 day already.. :(
@HassanAlthaf I had to wait for almost 3 days on my latest question..
One thing's for sure: The site certainly won't be short on editing whilst you're around. @Jamal — jt0dd 18 hours ago
usually the answers come sooner or later.. no guys here right now though...
you could try ping Madara, but hey...
14:06
@HassanAlthaf - nice to see you on the voter's page: codereview.stackexchange.com/users?tab=voters
2
I will take a look, but I am new to PHP
wow.. I am in the first row of the voters???
3
@rolfl I do have some recent answers of mine. ;-) cough cough
@rolfl spank the monkey
14:12
has this taken root at all @mods?
4
Q: Growing Code Review, One Idea... :-)

blundersReally like the idea of a Stack Exchange site for peer reviewed code, which leads me to my question. Is there any reason why code "reviewers" can't review code on other SE sites, post a comment suggesting that the code, or a segment of the code be cross posted (with a link to the cross post in ...

I am thinking that the only reason this site survived when the participation crashed was because Jeff Atwood gave it a pardon?
that users avatar reminds me of DasBlinkenlight..
...sideways
and with a ring of fire :)
3/4 of a ring of fire.
it's the one ring power button!
(insert math-jaxxed representation here)
nevermind then...
14:28
1
Q: Interpolate then maximize

FooBarI need to solve max (a', m') f(a, m, e, m', a'). I have approximated f with a grid F - it has shape (nA, nM, nE, nM, nA). Now, I want to interpolate over the last two dimensions (the one I need to maximize over, and then maximize. The following is the only code I could come up with. It looks to...

14:41
Should I remove the "rant" part here?
1
A: Good practice for client code to MVC WebApi service

Mat's Mug Simplified, examplified, trimmed code is frowned upon on this site; I'm surprised this question hasn't received any close votes yet. I don't see anything blatantly done wrong here - I like . On the other hand if the client code you've shown is cohesively written in a specialized service (class...

you mean the first sentence??
or actually all until </rant>?
I meant until the closing tag, do you think the first sentence should be removed?
I totally posted that answer just because the question hadn't had any close votes in 2 days..
well the first sentence is a little heavy, but the rest should be fine..
but IMO it could also stay...
it depends on wether OP finds it offensive or not..
for educational purposes :)
We do want this, right?
14:49
0
Q: URL Shortener in PHP

matheussilvapbI just developed a URL shortener, which you can access on gus.netii.net. index.php: <? $sql_host = "..."; $sql_db = "..."; $sql_user = "..."; $sql_pass = "..."; $conn_error = "Could not connect to database"; $con = mysqli_connect($sql_host, $sql_user, $sql_pass, $sql_d...

@Jamal totally agree with you
not my field of expertise, but
also nice job on educating YADSOU
meh.. gotta work on declensed forms yet.
or declined? declinated?
Greetings, programs.
Greetings, user
For anyone with a sufficient tag score: codereview.stackexchange.com/tags/library/synonyms
14:54
@Jamal You realize you can approve it singlehandedly, right?
Lots of blue
Hey @Donald!
And hey @Madara
can we just promote this to a mod-room already??
@MadaraUchiha Yes, but I just wanted to hear from others.
@Vogel612 Can we also get promoted to blues?
@skiwi that was the implicit plan.....
15:00
0
Q: PHP URL Shortener

matheussilvapbI just developed a URL shortener. index.php: <? $sql_host = "..."; $sql_db = "..."; $sql_user = "..."; $sql_pass = "..."; $conn_error = "Could not connect to database"; $con = mysqli_connect($sql_host, $sql_user, $sql_pass, $sql_db) or die($conn_error); $hash = ht...

@Mat'sMug I wasn't even aware of that question. I would have VTC'd if you hadn't written an answer. But now that it has a good answer, I see less reason to close it.
@Jamal, @rolfl I am going to post an answer on this question, but can we put a note on it that says it isn't a good post or something? it only gives the Where statement and it seems hard to give a good review to me, other than shortening up the where clauses
3
Q: Reduce the code in a WHERE clause without using dynamic SQL

Mithun P How can I write the following T-SQL query part in a shorter way without using dynamic SQL? WHERE ( (@Max IS NULL OR @Type <> 'Products') OR (@Max IS NOT NULL AND @Type = 'Products' AND ProductCount > @Max ) ) AND ( (@Min IS NULL OR @Type <> 'Products') OR (@...

@Malachi Then why post an answer?
^^ that
it's from 2011, too. And migrated from SO.
15:06
and it has an accepted answer - for whatever that is worth
0
Q: How to quickly find unique list items?

nikolavI use the loop-every-single-list-item approach to filter out unique elements in a given list, which tends to be very inefficent way as a list grow in size, or as function call frequency increases. Lately I was working on event handling patch and needed fast method for filtering out unique functio...

@SimonAndréForsberg yeah I think I might have somewhat salvaged that one.
0
A: Reduce the code in a WHERE clause without using dynamic SQL

MalachiI am just going to step through this so that it is a little easier to understand for someone happening upon this question in the future. this is what we are starting with WHERE ( (@Max IS NULL OR @Type <> 'Products') OR (@Max IS NOT NULL AND @Type = 'Products' AND Produc...

@rolfl because the answer there would be a good answer if it explained how they got there. and I am saying that the question post could be better with more information
Monking @All
What do you guys think of this.. Spam?
http://codereview.stackexchange.com/questions/57580/php-url-shortener
@CodeX A real spammer don't put that much effort into asking a question
15:11
monking @CodeX
@Mat'sMug How are you?
@SimonAndréForsberg It still seems weird there is an advert on the page..
been worse :)
@CodeX - it did OK for me: gus.netii.net/?l=d0d2d36b
But I have adblock installed :)
Its not a shortener though is it?
Huh?
Why was my comment on that question deleted though?
15:12
@MadaraUchiha It was not, the whole question was deleted.
and then reposted.
your comment can be reapplied, but the reason for the delete was not the comment... ;-)
google.com - gus.netii.net/?l=db85f073
Its on a free host though so maybe it could be shorter
@CodeX why would you use a url shortener for google.com?
Hold on..
ever heard of goo.gl
15:16
@Malachi you can shorten google.com as google.ca too ;-)
@rolfl or just type your search in the chrome url bar....
You should pop in to the 2nd monitor chat roomrolfl ♦ 8 secs ago
@Malachi that can be shortened too ;p
http://codereview.stackexchange.com/q/12228
hey guys
Hey @matheussilvapb ;-)
15:19
Hello
Hey @matheussilvapb
we were just talking about you ;-)
yep
i just made caca
We were discussing whether your question was spam
15:19
well, CodeX was ;-)
its not spam guys
Haha it looked very suspicious
I figure that you're legit.
i just noticed the free hosting and removed my comment
I have been purging comments on the question a fair amount too
(if your comments are gone, it's because I deleted them).
15:21
so what do you think is it good ?
@matheussilvapb - you're ....
I agree with @rolfl
probably hahah
That's not a bad thing, but, there are probably better ways.
15:21
is it safe though ?
Nope.
You risk SQL injection, and other things.
No
15:22
And you shjould probably change your passwords ;-)
i thought real scape string would do it
$query = "SELECT * FROM links WHERE hash = '$hash'"; DROP table
i already chaged it
Good.
Otherwise I can request to have your original question purged, but that is a pain....
needs votes:
0
A: WhenAll for .NET 3.5

svickint count = remainingTasks.Count(); Since remainingTasks is a List, you can use the Count property here. var exceptions = new List<Exception>(); This variable should be declared where it's used: in the if Interlocked.Decrement block.

15:23
@Mat'sMug Again I ask, up or down?
@Mat'sMug Why don't you vo-- oh. :-)
@matheussilvapb Consider using prepared statements php.net/manual/en/mysqli.quickstart.prepared-statements.php
lol up - he made me realize my mistake - and I'm ;)
why realscape doesnt work ?
Speaking of which, I'll let you know if they get reversed.
15:24
Escapes special characters in a string
it wont save you from SQL injection
i saw that in w3schools
w3schools is not as good as its google rankings.
7
yeah
need to go
bye
cya
No problem. thanks
15:26
Thanks @rolfl ;)
1
Q: Themed Folder Classification

CodeXI am trying a very simple method of getting the theme information via a theme.xml within each theme folder. What it should do: Scan the theme directory ../themes Return the names of all the theme folders (array) Use the name of the theme folder returned to create a link to search in file_exist...

If anyone feels like kicking me in the balls..
It seems to help my productivity
Why do I need one of your questions to do that?
See above ^^
@rolfl If you upvoted that question, Thanks ;)
Better than a kick to the balls?
Sometimes a little knock is all you need to give you the motivation to get up and go
Since I've been here I have learned more about PHP than in the 4 years of googling
Someone needs to wipe the web and start again!
8 upvotes on my answer to the usability game question, wtf!?
15:43
woah, what just happened here?! I get up 5 minutes and come back with +50?! Thanks @Santa!
No upvotes for me, but then again I neither wrote an answer.
I gotta love some website here: Some features work in Chrome, the others work in Firefox, in Internet Explorer nothing works.
Shit
somemone tried to drop my db
not succesful
Did it work?
15:51
noo
somemone tried www.pornhub.com; DROP *
Hmmm.... that's somewhat unexpected.
That won't work anyway..
@Jamal Why didn't I think of that name last time I played that game?
It needs a quote and other stuff in there.
15:52
They would be better off targeting a table
Yeah, a delete * from hash would be more along what I would have tried first.
Look into prepared statements
It would make more sense @rolfl
CodeX, copy/paste an SQL Injection answer for @matheussilvapb ;-)
Time for you all to learn something about my excellent language!
I'd upvote it ;)
@rolfl i could rewrite his code to use PS
That would be worth a vote and an accept ;-)
Ok, give me 20mins gotta do some housework and ill be back with a rewrite
@matheussilvapb Full answer coming soon
@CodeX Never heard that excuse before ;-)
huahsuahs
15:57
Happy Monday!
Monking @Phrancis
Hey @Phrancis

« first day (443 days earlier)      last day (3873 days later) »