« first day (324 days earlier)      last day (3679 days later) » 

12:03 AM
RELOAD
 
37,136. Still no 4096...
At one point after playing 2048 for a while, playing the game feels like, I'm the Matrix!!
 
@Mat'sMug - Stop it!.... (that's a huge score).
Yes, I keep seeing combinations everywhere.
But, I have managed to kill that adiction.
now, if only I can get my wife off Candy Crush!
4
@Mat'sMug That is almost double my top-score.
 
I feel like I'll really beat 2048 when I get the 4096 tile! ;)
 
GoodMorning
 
hey
 
12:06 AM
(then again, I quit at 2048)
hey @Utkarsh
 
Anonymous
oh no
 
Anonymous
it's @Utkarsh
 
oh no.
it's @PatoSáinz
 
oh no
its @PatoSáinz
 
Anonymous
oh no.
 
Anonymous
12:07 AM
it's @rolfl
 
This could get old pretty quick ;-)
 
@PatoSáinz why oh no?
 
Anonymous
@Utkarsh because it's you
 
hey @palacsint ... jinx!
 
very Funny
 
Both of us currently have the same rep.
I guess the Canadian expression is 'snap'.
 
@rolfl Feel free to offer a bounty ;-)
if it's a problem :))
 
Yeah...... not right now ;-)
Bounties after 20K though.
.... Tomorrow, I guess.
 
Well, there are three more unanswered Java questions, and I have votes.
2
 
actually bounties after 20K + n, where n is the bounty amount!
 
12:17 AM
essentially, yeah.
 
Oh, nevermind. You two have already capped.
 
I have Simon's answer halfwritten, but I am trying to complete some work.
@Jamal - that was yesterday's
 
yeah, it's tomorrow here
 
And, palacsint wasn't capped anyway, he had bonuses in there ;-)
 
I guess it gets reset in three more hours.
 
12:19 AM
(meh, is it sad that I no longer consider 200 the cap....? )
 
Someone's star-happy today...
lol
2
 
sorry ;
 
heh, I just got a +1, now I am at 19.9K and palacsint @19.8K ;-)
(probably from palacsint ;-) )
 
:)
 
This is beginning to feel like Face/Off, except I cannot tell who is the bad guy...
 
12:22 AM
Thanks Santa .... sint
konijn and ChrisW can be at 10K this time next week. Simon has a shot if he tries hard.
Mat's needs a week and a half.... but could be a 10K April Fool, if he really tried ;-)
 
It may be a while before I reach 10K, but I'm not in a hurry. I may reach it by the time I lose my powers, whenever that may be.
 
OMG! Star Wars!
5
 
@Utkarsh Stick around for OutSpoken ;-)
 
[badge:outspoken]
 
12:27 AM
Great!
 
0
Q: Determine quadrant of code

Tips48I'm currently in the process of coding a QuadTree. The QuadTree seperates into four quadrants, with 1 being the top right and 4 being the bottom right. I have this code to determine which quadrant the AABB fits into: int getIndex(AABB aabb) { int index = -1; double vertMid = bounds.getX() + ...

 
This one is Cool messletters.com/en
 
0
Q: Portfolio simulator

user39286I am trying to program a basic version of a stock portfolio simulator. The initial starting cash is 100,000. The user should choose to buy from a few defined stocks at a fixed share price. Then be able to sell for a greater fixed price. How can I fix the current code so that I only sell the stock...

 
12:53 AM
Just woke up from a nap and discovered it was time to take a screenshot.
4
Portfolio simulator off topic.
 
Hey! Congratulations ;-0 #1 ... I missed that
 
Monkey answered a(nother) C++ question. You've gotta keep up, palacsint! :P
 
2
Q: Geographic transform function

erotavlasI finally found how to convert geomagnetic coordinate back to geographic coordinate. I'm so close to the correct answer but slightly off. EDIT - after further testing the values are way off for some coordinates. This is my function, but the result are off by several degrees and I'm not sure i...

^ Non-working code, apparently.
 
Thanks. I was up last night trying to justify why the Grace Note query is a poor measure of the health of the community.
 
0
Q: Feedback on how custom triggers are listened to and triggered

HyposaurusI have a some triggers placing and sizing some elements for video controls. they wok well enough but mostly through trial and error and I am not sure if there is a better pattern to how I am using them: The full source can be found here: http://jsfiddle.net/Xa93a/ and webpage: https://media.them...

 
1:07 AM
@200_success interesting, ..what came out of it? ('grats for taking #1!)
 
@200_success Grace's argument for the query might be as enunciated here.
 
@Mat'sMug - I should be able to put together a SEDE for:
Does having 10,000+ inactive & long-gone "avid" users (150-200) from the Dark Ages of CR (haven't counted them, really - just assuming) mean we have to compensate with 10,000+ brand new fresh active avid users to make up? How much is the Dark Ages (2011-2012, early 2013) affecting [non-]graduation? We've addressed the unanswered zombies, but we really have no way of addressing zombified users... Yeah, a quick look says we have 30K+ users, but... what's the picture like if we factor out zombie users that haven't visited in, say, a year's time? — Mat's Mug Feb 27 at 18:38
How about a histogram of user dormancy?
 
@rolfl SEDE graph makes histograms?
 
Well, it will e a line-graph, but perhaps.
 
I think the absolute numbers matter much more. See my two latest SEDE queries: rep histogram and rep skewness.
 
1:12 AM
@200_success that's in line with @doorknob's targets
"absolute numbers" I mean
 
But, how about something like:
- horizontal axis...... date user joined CR
- vertical axis % of users who joined in that date who have been active in the past week.
 
@200_success "10-15 people can technically do all the arguing and closing and reopening on a site by themselves, but there's a wide difference between those 10-15 people speaking for a community of 1500 users versus one of 30000 users."
 
Make that the 'past month'
 
@rolfl I like 60 days
30K is BS
 
@Mat'sMug: Regarding the Taxonomist badge for , I've only found one MSO post that states that the badge will go to the creator of the target badge. In that case, we can probably wait until it reaches 50 questions. I don't don't think we're in a hurry to merge the tags.
 
1:14 AM
OK, so, it is a 'retention measure'. What % of users from X period are still participating.
 
@Jamal I don't mind taxonomist, but I agree there's no rush and, by next month the tag will probably hit 50 questions
 
Are you planning on closing the voting phase for the next challenge after April 1st?
 
If you haven't been here in 30 days (Users.LastAccessDate), you probably don't care enough to be considered part of a community.
 
I do wonder what has happened to this user:
 
f@200_success I think 30 is to "avid" as 60 is to "active"
RE: 30K users is BS - here's the breakdown of users that visited in last 60 days
wow that's unreadable
 
1:23 AM
You can click on it to read it
 
yeah, and then it's in-your-face ;)
PCG is accelerating faster than we are
(I think)
22
Q: The race has started. Are you running?

Mat's MugPCG.SE is going on a mission. And so the race begins. For Code Review!! -- syb0rg 2 days ago Let's see: Programming Puzzles and Code Golf Voting & Activity PCG.SE Voting and Activity Chart Compare to: Code Review Voting & Activity CR.SE Voting and Activity Chart ...

 
@rolfl Two tricky aspects of making a histogram are choosing the number of bins and making the bins with zero elements also get plotted.
Feel free to borrow from Reputation histogram.
 
Oh, that's nice.
 
Unix & Linux has an interesting tail.
Programmers is relatively flat (if you could call it that).
 
I have to get some real-work done, the SEDE will take a day or so, but it is favourited.
 
1:31 AM
Looks like being bottom-heavy is a property of a SE site..
 
When did you put that together ... is it in a post I missed somewhere?
I have to get some real-work done, the SEDE will take a day or so, but it is favourited.
 
Last night.
Anyway, then I realized that percentage targets in the Grace Note query would be equivalent to desiring a flatter histogram.
 
Since the answers 'bot seems to be down, I just sent a shotgun blast at a 1+ year-old zombie: codereview.stackexchange.com/a/45177/489
 
There's a statistical measure of the length of the tail, called skewness.
 
@200_success ...which is usually used along with the kurtosis...
 
1:35 AM
Please educate me. I sucked at the stats course I took years ago.
 
Crap... 22 years ago for me.
 
I got a D in elementary stats...
 
PCG's is 5.96, ours is 12.23; SO's is 25.73, WebApps' is 10.76, Beer.SE is 3.34, and Programmers' is 11.39 - so, what does that mean?
 
@200_success Skewness and kurtosis are most often used with something that looks like a normal curve. Skewness is (as you said) the degree to which it's asymmetrical. Kurtosis describes the peak in the middle--whether it's relatively wide and flat, or tall and narrow.
 
1:41 AM
I imagine reputation should follow an exponential distribution?
Benford's Law applies?
How to analyze one of those?
 
Would rep scores have a normal distribution if you aligned each individual users' timelines?
 
@Jamal I'd probably have been subjected to the Asian grading system if I got a D in a stats class. The second author on this is my sister...
3
 
@JerryCoffin gulp
 
is summoned by ping You guys aren't growing fast enough - or at all - in editors (2k) and closers (3k); we're steadier than you! Ha! And the war rages on.
(See the mission post on PPCG)
 
@Jamal Yes--a karmic burden that will probably last the next few lifetimes. :-)
 
1:46 AM
@JerryCoffin If I, say, received three Ds and an F in one semester, would my body be burned and the ashes disposed of?
 
@Doorknob we'll see how long getting your 4 20Kers is going to take, and how many 2Kers we can get during that time ;)
 
SNAP
 
@Mat A steady balance is far better than only a few highly enthusiastic users, IMO. ;-)
 
Anyway, the question is an open-ended subjective one — what are good statistical measures of the health of the community, and have I implemented the calculations properly in SEDE?
 
Anyway, I have to go because I'm on a plane that I don't want to crash and we're about to take off
 
1:49 AM
@Doorknob enjoy your flight!
 
See you mortal enemies later. :-)
 
@Jamal I'm probably the wrong person to (even try to) answer that one.
 
@Doorknob Yeah, good luck getting those non-answers deleted without a moderator. ;-)
@JerryCoffin I wouldn't ask that for real anyway (spoiler alert: those grades were real).
 
Gotta go now.
 
later!
 
1:53 AM
sooner!
2
 
@Jamal You're saying you got three Ds and and an F in one semester?
 
@JerryCoffin Yeah, last semester. I'm still not sure how I did that badly.
 
1
Q: QuadTree can't handle many elements

Tips48I'm currently implementing my own QuadTree in c++. It runs well with 100 items, but once you start adding more it slows down. remove, getAll, and insert have all been profiled as taking a while. Any advice is appreciated! class QuadTree { private: const static int MAX_OBJECTS = 20; A...

 
@Jamal Ouch!
 
@JerryCoffin Shockingly enough, I wasn't yelled at. But on the bright side, I did get an A in fencing. :-P
 
2:05 AM
@Jamal Rumor has it that going to class instead of chatting on the Internet might help. :-)
 
I go to class every day. :-) This semester is looking quite better, but calc III is being a pain.
 
@Jamal I can't blame you much for that, nor am I convinced it'll make a lot of difference in the long run. I barely remember any of the calc I once learned, and can hardly remember a time I wished I remembered it either. Geometry and trigonometry (for a couple examples) come up fairly routinely, but calc...virtually never.
 
Derivatives and integrals are pretty fun, but calc III introduces many new things. I actually prefer that and algebra most of all.
This seems off-topic:
0
Q: How to prevent Serialization errors from creeping back

Matt FitzmauriceI recently ran into a Serialization error that only only manifested on 1 out of the 3 machines that I tested on. Unable to generate a temporary class (result=1) error CS0200: Property or indexer 'XXX' cannot be assigned to -- it is read only It was easily fixed by removing the 'private' from t...

There's like... one line of code.
 
0
Q: How to prevent Serialization errors from creeping back

Matt FitzmauriceI recently ran into a Serialization error that only only manifested on 1 out of the 3 machines that I tested on. Unable to generate a temporary class (result=1) error CS0200: Property or indexer 'XXX' cannot be assigned to -- it is read only It was easily fixed by removing the 'private' from t...

 
Seems like a Programmer's question.... ?
Best practice for serializing?
 
2:16 AM
Looks like it.
 
Serialization requires public members. Why fight it? This question appears to be off-topic because it is not asking for code to be reviewed. Please see our help center to see what we're all about. — Mat's Mug 48 secs ago
 
@Jamal I enjoyed most of my math classes too--but there's a whole lot I learned that I'm pretty sure I've never put to any real use.
 
I hope that applies to stats for me. I'd rather not try to retake the class. My last math class will be linear algebra.
 
@Jamal Most people actually do stats very little--but it's of almost immeasurable value to understand stats other people have used (or, more often, abused).
 
Eh, I'll stick to playing around with <random>. :-)
 
2:28 AM
@Jamal Evaluating random number generators is one of those rare places that you could really use stats...
 
True. And I do remember Loki once saying that you shouldn't mess with your own random implementation unless you have a PhD in stats.
 
@Jamal I'm not sure I agree. Writing code for a generator isn't all that tough. Any competent coder should be able to do that. Choosing the coefficients to use in a generator is where you get into seriously deep math.
 
I'm not even in full understanding as to why rand() isn't good.
 
@Jamal It isn't necessarily bad, but its internals are unspecified, so it often is. The C standard also had (may still have) some language that some people have interpreted as saying that a (mediocre) example implementation was actually required to be used, so some implementations used it even though they knew it sucked.
The other big problem is that the standard library doesn't include code to reduce output from rand to a given range (e.g., 1..6) and doing so correctly turns out to be somewhat non-trivial itself. stackoverflow.com/a/5129184/179910
 
2:46 AM
I am still getting used to <random>, and I have just recently put it into my templated Deck class (which I've already posted a lot on the main site).
 
@Jamal I think we're all still getting used to <random> (especially since that's one of the few things that was in TR1, but still changed substantially before inclusion in C++11).
By whatever strange coincidence, I was just answering this question on SO...
 
What? Damn, that's just what I've started using.
 
@Jamal std::shuffle FTW!
 
Or is it referring to std::random_shuffle? I'm using std::shuffle now.
I ended up putting the std::random_device in an anonymous namespace in the implementation file. Is that the proper thing to do?
 
@Jamal Yes. You want to use std::shuffle, not std::random_shuffle.
 
2:53 AM
Right. Would I just need the random device, or do I also need std::mt19937?
 
@Jamal You probably want to use std::mt19937. If you use random_device at all, just use it to get a seed for mt19937. random_device often has very low bandwidth, so using it all the time can slow your code (a lot).
 
This is what I have so far:

namespace
{
std::random_device rd;
}

// ...

template <typename Card>
void Deck<Card>::shuffle()
{
std::shuffle(playable.begin(), playable.end(), rd);
}
 
You usually want something on this order:
#include <random>
#include <algorithm>

std::random_device rd;
std::mt19937 engine(rd());
std::shuffle(playable.begin(), playable.end(), engine);
 
I'll try that.
 
This seeds mt19937 from the random device, then uses mt19937 to generate the rest of the random numbers you need.
 
3:02 AM
 
It works!
 
@Jamal cool!
 
And with the enum classes I've put in recently, it's even more C++11-like. Looks much better than my first version (which Loki greatly criticized). ;-)
 
@Mat'sMug g'night.
@Jamal He is helpful that way, isn't he?
 
Yup. But I've learned a lot from him, which I would've never gotten from school. It's nice to be around actual C++ professionals.
 
3:10 AM
I tried to review one of his questions today.
 
@ChrisW Definitely not a trivial task.
 
Post the answer yet?
 
Yeah, I saw that. That zombie would've sat around anyway.
1
A: HTTP Stream Part 2 A stream that opens an HTTP GET and then acts like a normal C++ istream

ChrisW #include "ThorsSimpleStream.h" There's no ThorsSimpleStream identifier used in the header: instead, "ThorsSimpleStream.h" declares class IThorSimpleStream. I prefer it if the filename of the header matches the name of identifier which it declares. IThorSimpleStream declares friend class I...

 
I found it in the unanswered list.
 
@Jamal I got a mail today and this was written in it:
Hello,

Congratulations -- you are one of the top new Code Review Stack Exchange users for the week of Mar 17 2014!

http://stackexchange.com/leagues/week/codereview/2014-03-17

It's users like you who make this community worth visiting in the first place. You can always find your profile at:

http://codereview.stackexchange.com/users/38941/utkarsh

Please don't hesitate to ...

provide feedback on how we can improve on Meta Code Review Stack Exchange

visit our real time web chat to meet fellow community members
what does it mean?
 
3:17 AM
@Utkarsh I think it means: "Welcome to the jungle!"
 
I guess it's just a congrats. I don't remember getting that myself.
 
@Jamal why am I at first position if my week rank is 23?
 
@Utkarsh one of the top new users...
 
Okay
 
Yeah, you stay away from the actual top of all users... OK?
 
3:20 AM
@rolfl ...says the guy who will probably up-vote him more than (almost) anybody else!
 
yeah, well.... ;-)
I am a sucker for a pretty face.
I just looked... I am the top of the monthly leaderboard for every month since I joined, except the first month, and I was only a member that month for 1 day (@17:32)
 
@rolfl Should we start calling you "Jon"?
 
People have joked, but, to put it in perspective, Jon loses at least 5X as much rep as I earn each day.
Jon can go on holiday for a week and still do that ;-)
The thing is, I am really not trying all that hard.... I swear.
I do try to answer about 4 questions per day.
@Jamal - any guess as to why this was protected: codereview.stackexchange.com/q/201/31503
 
@rolfl I guess it's just because it has over 1K views. Though, that alone shouldn't warrant protection.
 
@rolfl Honestly, I can believe that--at one time, I rep-capped pretty consistently on SO by writing around 2 or 3 answers a day.
 
3:33 AM
@Jamal - this, apparently, triggered it:
+1 for the difference and the FilterIterator. Only thing that could be improved is to only check the array values. No need to run over the whole array. — kaiser 2 hours ago
@JerryCoffin Admittedly, the 4 CR questions tend to require about 4X the time than an SO answer.
 
Hm... that makes no sense. :-P Well, only a moderator or him can remove that protection.
 
Yeah, I know.... which is why I figured I would mention this to you. ;-)
 
@rolfl Yup--I rarely have time to do many (if any) during the week.
 
On SO my skillset is not very effective at repping .... too many people in the space, and as a consequence I am seldom FGITW. I end up tracking just some low-volume specialty tags instead.
 
@rolfl I mostly gave up doing FGITW a long time ago (I'm not a good enough typist). I can often get a substantial amount of rep by writing an answer more like you'd expect here--more thought, more suggestions to really improve the code in general, not just fix the problem they've already recognized.
 
3:46 AM
So, what you're saying, is you really should be here anyway ;-)
I prefer it here because askers have typically done more homework, and that makes me think a bit more, and learn a bit myself.
skiwi's Java8 forays are a case-in-point.
The challenges too.
 
@rolfl Perhaps. I think my answers there often reach a larger audience though.
 
and the volumes are low enough that I inspect more questions that are in my weaker areas... so I extend myself.
 
Quite a bit of it is probably more habit than anything else though--I was writing answers like that before Cr existed.
 
That is true as well.... hmmm #sybase on IRC was a place.
 
@rolfl I'll have to take your word for it. Never did much on IRC.
 
3:49 AM
When a hash-tag actually meant something different.
(I still occasionally visit this one room ....
 
@rolfl Don't worry. You'll undoubtedly recover eventually... :-)
 
Plane has landed
 
"debug my code" question...
0
Q: Wrong with Word count exercise

GenkiThis is a word frequency counter for a web page. However, this script does not work correctly. Please check for me what's wrong with this code. This is index.php file <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Words count</title> <script type="text/javasc...

 
4:12 AM
-1
Q: Some errors with a word frequency counter for a web page

GenkiThis is a word frequency counter for a web page. However, this script does not work correctly. Please check for me what's wrong with this code. I cannot run it properly. This is index.php file <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Words count</title> <

 
OK, bed time.... TTYAL
 
@rolfl G'night.
 
@Jamal - one last thing .... and codereview.stackexchange.com/…
Lots of edits in there and we have a 200-Q tag.
Promise, I won't flood the active page.
 
It's times like these when I wish tag-only edits can be done without bumping the question, even if such power has to be left to a moderator.
 
'recurse' matches 'recursion' as a search term!
good night
 
4:19 AM
Goodnight!
It's gonna take a while to get through all those questions.
 
I only have to get through 60 or so .... and not all of them qualify
So, yeah, it will take some time.
 
I'd exclude the closed ones.
 
But, I am helping CR toward [badge:generalist].
 
Which only shaves off 11.
 
I figure it would be easier to do this than to ask 50 android questions ;-)
2
 
4:27 AM
lol
2
 
Actually, I should check for other changes in there... if I am smart I can track archeologist, and copy editor at the same time ;-)
 
Yeah, that'd be best. Too much edit-stalking for me.
 
4:49 AM
0
Q: Ugly number implementation in scala

rajeevprasannaI am trying to implement ugly number sequence generation in Scala. Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15... I have implemented using var keyword like java implementation and it is working fine. Here is the ideone link ...

 
That's an old one!
 
@Jamal Indeed it was. Shedding parts as it shambled through the countryside looking for a brain to eat...
 
And you smashed its head to pieces with a shotgun blast. :-)
 
@Jamal You're clearly confused. I used the shotgun earlier. This time I used the deadly but nearly silent cross-bow.
 
4:57 AM
Forgive me; I'm still a junior zombie-hunter (all those badges were from zombies that didn't put up a good fight). :P
5
Oh wait, zombies can't fight...
 
@Jamal Sure they can--just not very well.
 
and they love to eat brains
 
Yet, there are still many zombies out there that haven't been killed yet. We need more zombie hunters who know the specific weaknesses of these remaining zombies.
 
O.o In India, there are no Zombies
 
Would you like ours?
 
5:05 AM
Nope ;p
 
Off-topic:
0
Q: Explain the output (2-D arrays in C)

Sunil SharmaI wrote the code as follows : #include<stdio.h> int main() { int arr[3][2]={{1,2},{3,4},{5,6}}; printf("%d %d %d",arr[0][3],arr[1][2],arr[2][0]); return 0; } And the (GCC) output is : 4 5 5 Please explain this output. According to my approach the code should thro...

 
@Jamal Wait a sec now--you can't go giving those away. They're potential badges, and I'm really only in it for the badges....
 
0
Q: Explain the output (2-D arrays in C)

Sunil SharmaI wrote the code as follows : #include<stdio.h> int main() { int arr[3][2]={{1,2},{3,4},{5,6}}; printf("%d %d %d",arr[0][3],arr[1][2],arr[2][0]); return 0; } And the (GCC) output is : 4 5 5 Please explain this output. According to my approach the code should thro...

 
@JerryCoffin So, you're prepared to attack them all single-handedly? All the rest of us can do is to finish them off (via votes) after they've been wounded (via answers).
 
@Jamal Well, I don't know about all. I guess you can give away all the Java questions you want to...
4
 
5:11 AM
There are just three remaining.
And another off-topic question:
0
Q: Infix to postfix conversion

BinaryHeroI'm having trouble getting my code to work correctly. It's supposed to read in a series of infix expressions from a file until it reaches a semi-colon or period (A+B.), and then output the postfix of the expression to another file. So far this is my code: expression::expression() { ifix = "...

 
@Jamal A lot more C++ zombies than that...
 
@JerryCoffin Oh, I meant Java questions.
 
@Jamal what about migrating these questions to Stack overflow?
 
@Jamal Yes, I was just adding that although there are only 3 Java zombies left, there are a lot more C++ zombies than that.
 
@Utkarsh I could, but I don't think they're quite good enough. And one of them was cross-posted.
 
5:17 AM
@JerryCoffin And all those C++ Zombies are coming from a Coffin
 
Yes, the infix to postfix conversion question is also on SO.
@Utkarsh Scary, isn't it?
 
lol
 
-1
Q: Infix to postfix conversion

BinaryHeroI'm having trouble getting my code to work correctly. It's supposed to read in a series of infix expressions from a file until it reaches a semi-colon or period (A+B.), and then output the postfix of the expression to another file. So far this is my code: expression::expression() { ifix = "...

 
5:40 AM
Well, I guess I need to get to bed. G'night.
 
Goodnight! I'm spending the night with calc III homework. :-/
 
@Jamal Enjoy!
 
I will...
 
for me, its morning
 
 
2 hours later…
7:39 AM
morning
 
 
1 hour later…
8:59 AM
-1
Q: Reverse Singly Linked List Java

user3371223Can someone tell me why my code dosent work? I want to reverse a single linked list in java: This is the method (that doesnt work correctly) public void reverseList(){ Node before = null; Node tmp = head; Node next = tmp.next; while(tmp != null){ if(next == null) r...

 
9:25 AM
Morning
 
10:17 AM
hello skiwi..
 
Morning :)
 
hi there..
 
How are you doing?
 
10:37 AM
FINE
soz caps..
reading up on german chat..
 
0
Q: Logging without Code Bloat

Pete PetersenI was wondering if any of you new any best practises or design patterns so that I can have good logging in my programs without them looking messy or bloated. I am currently using C# and NLog however I guess any advise here language and tool agnostic. The problem we have is that we want to have ...

0
Q: Dry the throwing of ArgumentNullException("ParameterName")?

user960567I am using this code a lot of places, if (ParameterName == null) { throw new ArgumentNullException("ParameterName"); } But I think this is not dry. The only difference here is ParameterName. Is it ok to use these lines every where or there a way to make it DRY

 
well, other than that, I am creating a presentation for the Girl's Day at our company..
and after that I should get my Validation working..
 
What's that Girl's Day about?
("Girls" would be a little bit too obvious)
 
well it's about getting Girls interested in MINT
Math, IT, Nature Sciences...
(Biology, Chemics, Physics, ...)
actually there is also a Boy's day...
that is about getting boys interested in social jobs...
 
Well. Why not...
 
10:44 AM
that logging question looks kinda OT...
calling upon @Jamal to educate Programmers mods
 
It's my first time seeing anyone recommending AOP to solve a problem.
 
lol....
 
11:09 AM
Hey Code Reviewers, you might want to chime in here:
0
Q: Is this question off-topic / should it be migrated?

laaltoThis SO question: Too many 'if' statements? Currently closed as off-topic: This question appears to be off-topic because it is about improving the cleanliness of existing working code. Code Review is where this question belongs. This is exactly what Code Review is about. – Simon André Forsb...

The question in question seems more appropriate for CR than SO...
 
2
Q: Is this question off-topic / should it be migrated?

laaltoThis SO question: Too many 'if' statements? Currently closed as off-topic: This question appears to be off-topic because it is about improving the cleanliness of existing working code. Code Review is where this question belongs. This is exactly what Code Review is about. – Simon André Forsb...

@YannisRizos Lol, didn't see you there... I'll post an answer to it.
 
Hey @SimonAndréForsberg, have access to your code (the clone from my rpsgame repo) perhaps? I'm thinking you're at work, so I doubt
 
@SimonAndréForsberg I'm looking at this now.
 
Just posted an answer to the MSO question.
@skiwi I'm actually home from work today.
 
I was wondering if you could change your Simon was here to Simon 2 was here?
I want to test merge conflicts
 
11:21 AM
@rolfl I'm looking forward to it, although it is past morning and apparently there's no answer yet :) (But you didn't mean European morning, did you?)
@skiwi Pushed it.
 
@SimonAndréForsberg Thanks, i have 3 minutes to test :p
Git Push Failed, merge conflicts \wee/
Manual merging, ugh..
Gotta go though
 
11:38 AM
0
Q: Problem with gridview shuttering when scrolling

prasad thangavelproblem with scrolling gridview shuttering the app. i have more then 1000 items in my gridview. every time load picasso gc will increasing. check below code is that any wrong this code. import java.util.ArrayList; import java.util.HashMap; import android.app.Activity; import android.content.Con...

 
11:50 AM
0
Q: is there a way to leave notificationManager and alarmManger alive even when the app is closed?

Elad Bendahow would you recommend for me to design an android app where i want it to 1) send location update every 10 minutes 2) to show push notification I want both actions be available even when the app is closed. Here i might ask for your explanation what "closed" states an app can be in? a) rem...

 
@Mat'sMug In Java you can use private members and reflection for serializing :) Java: 1 - C#: 0 ;)
 

« first day (324 days earlier)      last day (3679 days later) »