« first day (298 days earlier)      last day (3735 days later) » 

5:00 AM
perl is the best language for a subset of tasks.
 
Anonymous
I developed a web app in perl one year ago
 
Anonymous
It was written with the Mojolicious framework
 
honestly, it is my 'goto' language... when I need something done fast.
You wrote /. ?
 
Anonymous
>goto language
 
Anonymous
>goto
 
5:00 AM
@PatoSáinz Do you think you could review this question?
0
Q: Design object Perl

HobbestigrouIt is a small backend blog engine that uses the file system as a storage. But I have some ideas to improve things a bit, I'll add support for git and another thing. But I'd like to have an opinion in the state, including the design of Common, Articles, Pages, and Comments class. The code is below...

 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHH NOOOOOOO!!!
 
???
 
Anonymous
@rolfl what?
 
not GOTO!!!! :p
 
also, in case anyone hasn't seen it yet
 
Anonymous
5:01 AM
@syb0rg hmmm let me see
 
Anonymous
I don't do OOP at all
 
Anonymous
I don't like OOP at all
 
Anonymous
Nor I understand OOP at all
 
Anything that you see could be touched up or made better, put it into an answer.
 
Anonymous
OH SO OBJECTS HAVE THESE PROPERTIES WHO ARE ALSO OBJECTS AND YOU CAN ACCESS WITH THESE FUNC... ER I MEAN METHODS
 
5:02 AM
And if you post that answer to chat, you will probably get upvotes :)
 
Anonymous
I'd rather call my function via function() than self.sandwich.meat.cook()
 
well technically self.sandwich.meat.cook() breaks the Principle of Least Knowledge (LoD)
 
Anonymous
@Mat'sMug Principle of wut
 
The Law of Demeter (LoD) or principle of least knowledge is a design guideline for developing software, particularly object-oriented programs. In its general form, the LoD is a specific case of loose coupling. The guideline was proposed at Northeastern University towards the end of 1987, and can be succinctly summarized in one of the following ways: * Each unit should have only limited knowledge about other units: only units "closely" related to the current unit. * Each unit should only talk to its friends; don't talk to strangers. * Only talk to your immediate friends. The fundamental no...
 
Anonymous
@syb0rg i cannot help, too much OOP babble
 
5:06 AM
So it would be more like self.makeSandwich()
 
Anonymous
also, if I got this right, is QA SE a place where you dump your codebase and say "hay please review" or you break it down into patterns and principles with separated questions?
 
What's QA SE?
 
Anonymous
I meant CR SE
 
Anonymous
I keep using CR and QA as synonyms
 
Anonymous
I think they are
 
5:09 AM
Peer reviews, is something programmers do among themselves, hence peer - the QA guy does something else ;)
Some people just dump their code and actually get a review or two.
If you want upvotes for your question you'll want to provide context and break down your post into digestible parts
I'm out, way past bedtime - see you tomorrow!
 
Anonymous
see you
 
Goodnight!
 
5:27 AM
Bye!
(probably way too late)
 
Anonymous
Do anybody here live in SF?
 
@PatoSáinz I don't think so.
 
yeah still lurking.. looks nice, got the manual?
 
Yeah, ... it needs a bit of refining on the breakdown....
But, it breaks the answering in to two sections....
 
5:39 AM
what's the 'Zombie' parameter?
 
Questions that were answered in a day (the zombie threshold in hours).
I think that should probably be 48 or so.
Actually, make it 73, then we both look at the same thing.
s/73/72
OK, so it's 60 weeks, and 72 hours.
 
OK, good.
Red line is the number of questions per week that were answered within 72 hours.
 
oh
well that's one good figure!
 
The bottom yellow line is the average time, in hours.
(for quick answered questions).
and the bottom blue line is the std dev.
 
5:43 AM
and zombie count is....
 
The other three lines are the values for answers for questions that were older than 72 hours when they were answered.
So, the mustard coloured line is the number of zombies answered per week.
 
I wonder how they got to 8-12 hours average
 
That's the thing with zombies... I changed the scale.
 
wow what a peak on week 1!
 
the zombie scale is measured in weeks, not hours.
So the average zombie klled was 25-50 weeks old
the std dev for the zombies was similar
So, zimbies were about a year old, and anwhere between recent and 2 years old.
 
5:46 AM
Can you add that graph and explanations as an answer on meta? If you don't mind, ..I really gotta take those contact lenses off!
 
Sure, was that what you were looking for?
 
it's even better
 
Nice.
 
I just wanted to see if the 8-12 hours improved, but your query does much more than that..
*zimbies => starred
 
Zombies from Zimbabwe
 
5:49 AM
good night!
 
I think I'm gone too. Cy'all
 
6:05 AM
And we're back at 94%...
 
happy Birthday :(
 
:-)
 
6:21 AM
0
Q: Suggest a best practice to create Constants class

VIJAYThere is a debate in between my team members about declaration of Constants class. We are moving the constant variables into separate class as like below public class Contants { public const string StateId = "ST"; public const string CountryId = "CI"; } few of my team members are ...

 
6:39 AM
0
Q: Elegant way of making a List of an attribute from a list of objects containing that attribute

TJ-If this is my class: class Something { UUID id; // Other members } Given a List<Something> things and I want to get a List<UUID> ids, this is what I usually do: List<UUID> ids = new ArrayList<UUID> for(Something thing : things) { ids.add(thing.getId()); } return ids; Is there a...

 
7:18 AM
so, infinite recursion in Go hard-locks the whole system
 
hey
whole system as in whole pc?
 
yeah
as in, requires a reboot
 
thats's pretty badass
 
when you've spent a few hours tracking down why something is locking up, that isn't the first word to come to mind :)
on the plus side, coworker says he totally owes me a round of beers
 
hehe, I can imagine debugging could be slightly annoying
hmm, I didn't know interfaces in Java could extend other interfaces
 
7:27 AM
0
Q: Speedup cython dictionary counter

GidonI wrote a simple cython script to optimize the collections.Counter of a dictionary counter and the python zip implementation (the main input is a list of tuples). Is there a way to speed it up? @cython.boundscheck(False) @cython.wraparound(False) def uniqueCounterListCython(list x not None): ...

 
I know, I know...
 
8:30 AM
@rolfl Both of his answers are on migrated questions :)
 
0
Q: level traverse a binary tree

zinkingLevel traverse binary tree question The problem is pretty common level order traverse a binary tree but break each level into single array. I implemented mine: I've designed a few test cases, but when I submit it to the OJ, it just complains runtime error. I don't quite understand where is the ...

 
8:52 AM
0
Q: html product grid for a online catalog

BogdanHello i have this portion of code and i would like to know if i did it right and what changes could be done to optimize and make it better and if i used the right way all the tags. for the moment the css part is not really done since i have few bugs on the height of each column. <div class="shop...

 
9:16 AM
should I post OOP-design questions on CR? or are they more fit for SO
 
@skiwi probably rather something for programmers.SE
 
@amon ok, I'll look into that, haven't been on that site yet
or I have...
 
@skiwi you have, and even asked an interesting, but misguided question
ding me if you need help making this question on-topic for programmers.SE
 
it still has to do with Java 8 quite a lot though, and programmers.SE seems to be language-independant
ah, that questionprobably didn't make too much sense
so maybe SO is a better fit after all?
as I might be abusing some of the new Java8 features
 
language-dependent stuff is OK for programmers
but if you have an implementation problem, it belongs on SO instead
 
9:31 AM
ok, I guess it's a bit on the edge of both, I'll try on SO then
 
0
Q: Dependency on overridden method

Jake RoteIn my code I have a base type which is OnlinePaymentTransaction: public abstract class OnlinePaymentTransaction { public abstract void Complete( PaymentGatewayCallbackArgs args ); } The problem I am having is that each class that inherits from this base class require different dependency'...

 
9:47 AM
178
Q: Most creative way to display 42

MiloDouglas Adams was born on March 11, 1952, and died when he was just 49. In honor of this wonderful writer, I challenge you to display 42 in the most creative way possible. Now this can be printed in the log, using some convoluted way of getting to 42, displayed in ASCII, just to name a couple of ...

that one is awesome
 
10:22 AM
0
Q: Feedback? PHP to build a local cache of all streams from Twitch.TV API

QwisoI am trying to cache the entirety of streams from Twitch.TV public API with the following code. It is successful but takes almost a full minute to execute so I am wondering if it's my code or just the speed of the API delivery. In any case, because it is my first PHP script (and really, I'm new i...

 
10:52 AM
0
Q: How do I extract interfaces from existing similar classes?

Nate KerkhofsI have about 11 singleton-esque classes divided over a dozen files: the first file is one that gathers all singleton definitions and makes them callable on a request scope: public sealed partial class ExpertiseverslagEngine { readonly IOrganizationService _oService; readonly XrmServiceC...

 
11:07 AM
@skiwi As long as you have already written code, CR is your friend
If you want to ask a more "whiteboard"-style question, Programmers.SE is the place.
Oh, I see you have a quite impressive programmers rep, @amon.
Happy birthday by the way, @Malachi and @Jamal
 
11:28 AM
0
Q: Timer Manager for socket programming

user37619I am trying to write a class as Timermanager for managing tasks based on time intervals under socket communication, for eg: when a client request for a service from the server and if the client doesnt get the Response from the server(within specified time--> managed by Timermanager class), it has...

 
well ok @SimonAndréForsberg it's already up on SO though
 
@skiwi I think your question there can be on-topic on several sites :)
 
12:24 PM
0
Q: generic object pooling in java i want enhance it please help me in improving this

user3355121After reading lot of documents I wrote this object pooling code.Can anyone help me to improve this code. I am lagging in validating the object whether I can reuse it or not? if any thing is wrong in code please point it out. /* * To change this template, choose Tools | Templates * and open ...

0
Q: Customised Java UTF-8

srikanthThis time i have implemented customized utf8 encoding mechanism . The code works fine. But i lot of concerns regarding the code . Here's the code : public class Utf8Encoding { public static void main(String[] args) { byte [] arr = new byte[1000]; int iStr = 95000; // or > 65535, ...

 
12:36 PM
0
Q: Seemingly impossible `UnboundLocalError`

lanzzMy Django application throws sporadic UnboundLocalError exceptions for the company local variable, at the return company statement at the end of this method: @classmethod def my_get_or_create (cls,name, uid=None): """ Helper. Needed as sometimes we might not be getting uid for one and th...

 
 
1 hour later…
1:37 PM
0
Q: How to generate balls and box combinations depending on rule set I have?

user2809564I am working on a project in which I have three box (as of now) and each box will have some color of balls So I am storing the input in a Map of String and List of String as shown below. Map<String, List<String>> boxBallMap = new LinkedHashMap<String, List<String>>(); Data in the above map ca...

 
@StackExchange all yours... I'm off to work.
 
@StackExchange all yours... I'm at work.
 
1:53 PM
Heya.
 
Man man man
upvoting 600 questions is going to take a while..
 
About 15 days, if you only vote on the questions
and vote on 40 per day
Hi @kleinfreund
 
Hi!
and thanks, Santa!
well it's a good thing I took that screenshot at 95%, it slipped back to 94% overnight..
 
2:19 PM
Hi mug!
 
0
Q: Loop optimization and js code review

VIckybIn below piece of code i should highlight countries on the map based on the category of the country there are 2 different type of countries (issuing office and selected countries). Based on the country type i have to highlight that country on the map , lets us not worry about map code. There is ...

 
Oh, btw, @konijn. You might want to consider down-voting some of them. Not that that will go any faster of course...
 
Right
On it !
There were a number where I could not bring myself to upvote
the carousel questions drive me nuts
 
@StackExchange too much i in this question !
 
@konijn - find someone at a similar place, and race them!!!!
If you are smart, pick someone who's got fewer question-votes.
 
2:25 PM
I'm at 943. I'm out :)
 
Maybe @ChrisW would be a good candidate for a race.?
 
Do I see a SEDE query coming up?
 
Congrats, you've gained the privilege – trusted user – learn more
2
Yay!
 
Gentlemen, we've revived a Guru!!
Use a profiler to answer a performance question. Anything else is guessing. — Eric Lippert 7 hours ago
(1 more vote on my answer there, and @vals earns a [badge:populist]!!)
 
Well done!
 
2:32 PM
@syb0rg Congrats!
 
@Mat'sMug - check out the report now, by the way: data.stackexchange.com/codereview/query/170999/…
@syb0rg - trusted nuts? never would have thought to see the day .... ;-)
Average age of the zombies at any point in time is slowly increasing too.
 
@rolfl that's an amazing query, good work!
I edited the 100 days post and put your part instead of mine in the "Time to Answer" section.
I like the "10's of zombies still walking" series ;)
 
When putting things in to there, I considered the 15-week report, but it just looks bleah.
 
how does that look?
 
Really nice.
 
2:38 PM
exactly :)
 
SEDE is really powerful, actually.. I like it.
The queries I write are often too slow for stackoverflow data though.
 
Time to think of a great design for the final release. — Morwenn 13 mins ago
 
@syb0rg - you still learning more?
 
@Mat'sMug It needs another +1 on both answers. 11/23 is the minimum
 
really? aw that sux
 
2:43 PM
I did my Santa-job there for now though :)
 
Thanks Santikea!
 
Wut!?!!
Wow they need a serious Call of Duty!
 
It made me doubt my query (two things.... < zero values for question ages.... and: such a hiigh number of zombies....
^^^ but the zombie count is right.
 
wow
^^ didn't know that
you hover a comment and it says whether it was written using the Android app.
 
2:49 PM
Huh....
don't like that.
 
they advertise the SE app that way
(which is a great app BTW)
 
Wow, that's like 25% of their questions
And yet, they are graduated...
 
Bring it up on their meta?
(and link to our post #999?)
well, remember - Unanswered was a pressing issue for CR, but wasn't the only one.
 
3:19 PM
0
Q: Improve performance of gaussian kernel function evaluation

GabrielI need to improve the performance of a function that calculates the integral of a two-dimensional kernel density estimate (KDE) where the domain of integration is all points that evaluate below a given value. I use the function stats.gaussian_kde to obtain the 2D KDE. I made this question (slig...

 
3:49 PM
0
Q: Requesting Resources Until Exhaustion

TanakiWhen an API has a 'next' feature, I use the following pattern to obtain all the results: /** Obtains a list of channels followed by a user */ function get_follows(username, callback) { var channels = []; function handler(data) { if (!data || data.follows.length == 0) { ...

 
hey
 
hi @skiwi
 
how are you today?
 
Time to quit work. But I will go visit a friend. So see you tomorrow probably.
 
bye @SimonAndréForsberg!
Excellent, have you seen this?
12
Q: 100 days later: what's up?

Mat's Mug November 15, 2013. 6:30AM UTC. Community Manager Grace Note posted How is Code Review doing right now?. We are 100+ days later. Rewind Since mid-November 2013, a number of things have happened: A fun tag was created on Meta-CR. CR users answered the Call of Duty; incoming, as well as m...

 
4:03 PM
time to read it
wow at picture #1, the dropping in activity around new year's :)
 
yeah I put that SO chart there to relativize the mid-December dip on our charts :)
 
it's a good post
time to dig into android apps and set up a shared keystore for a VCS-project
 
4:23 PM
First post on this chat, wow /o/
4
 
@Morwenn welcome to The 2nd Monitor! ...it's never too late ;)
I'm impressed with the numbers. Some aren't. So given the site's review was getting 100 days old I thought I'd make a little recap.
..and correction: first starred post on this chat :)
 
@Mat'sMug - Have a look at this question... and then look at the dates of the answers:
 
interesting
Answered 2 years before it was asked?
@Morwenn ready to hit 1K?
 
Exactly.... why I have negative average answer times in the askubuntu data.
 
the problem isn't the query, it's the data!
quite a skewer eh
hmm.. 2nd post later then!
 
4:45 PM
@Mat'sMug Thank you (and to you to @rolfl)!
@rolfl Learning what?
 
*too ^^^
 
finally, got GoogleMaps in my android app
working
 
5:01 PM
Put this in your pipe and smoke it, askubuntu!!!!!
2
0
A: Unanswered questions - what to do?

rolflLong-time listener, first time answerer .... (ubuntu user for a long time too). I'm a regular on the CodeReview site and we are still in Beta, but are trying to get promoted. We had a "beta review" last November that identified a number of issues stalling this promotion. One of the items identi...

3 hours ago, by syb0rg
Congrats, you've gained the privilege – trusted user – learn more
@syb0rg ^^^^ still learning ^^^ ?
 
watch, soon every SE site is going to start calling their unanswered questions "zombies"
 
I am trying to make it so!
 
:)
I think we should all get a badge for "best usage of SEDE for getting a site on track"!
 
I figured I could have asked it as a separate question, but there was a technically 'better' spot.
I agree.... now to find precognitive answers on CR.
 
5:16 PM
wow.. we have 14 of those
all < 1 day precognition
 
@syb0rg: Anything to answer for that Snake Game in C question? It looks like a lot of code, and I suppose the OP has waited long enough.
 
@Jamal bounty?
 
I'm not sure. Some may still believe it's a bit off-topic, and it does still have downvotes.
 
@palacsint - +1 for a decent answer, +10 for reading the question ... ;-)
 
5:22 PM
:D
 
napalm'd
 
You have votes... ? You sick?
 
(resisting lol-temptation...)
13 left
 
@rolfl: When will you get the gold? When recalc happens?
 
Recalc happens at abour 03:00Z
 
5:24 PM
 
so, about 10PM EST
^^^ fail ^^^^
 
I presume after the script for serial-voting runs ;)
 
@Jamal, make one for 'answering the question before it is asked ... how did you go back in time for that ? ....'
 
@Jamal have you seen my comment flag? What do you think?
 
@Mat'sMug: I'm monitoring the situation (lol, I sound like a cop). I'll delete the comments soon.
 
5:27 PM
10-4
 
@rolfl: If I were to churn out CR memes with Meme Generator, I would be here all day. :-P
 
@rolfl Oh, of course!
 
user image
3
^^ fail
 
user image
2
 
5:35 PM
A .....cat?
 
Grumpy Cat!
 
oh, when a site of SE gets its own subdomain, it does not mean the site is out of beta yet?
 
^^ when "beta" is removed from the front page, we're out of beta (and it will show, because that also happens to come with a complete redesign of the entire site!)
I'm we're eagerly awaiting a Community Manager's response to the 100 days meta-post ;)
 
5:58 PM
0
Q: Python Find/Replace and Count: Int object is not subscriptable issue

owwoow14I have the following problem and would like to know where I go wrong in my code: Input1 amphibian anm|art|art|art|art anaconda anm The second one provides the data to be mapped: ie: Input2 amphibian first heador 10 anaconda first heador 2 anaconda second hello 1 I ...

 
and back online, yay
router aws acting up
was*
@Mat'sMug I wonder how I missed the beta sign
but it technically didn't answer my question yet :P
 
We've just covered Big-O and some simple algorithms in discrete math II class today. It was all so easy. lol
 
it all starts out simple...
perhaps the course was called Data Structures? or is it really Algorithms
 
No, just discrete math II. I've already had a data structures class, which actually involves programming. This part just uses pseudocode.
 
0
Q: Improving simple Hadoop Java code

AgostinoI got a piece of Java code using Hadoop to calculate min, max, average and variance on a large dataset made of (index value) couples separated by a newline 0 11839923.64831265 1 5710431.90800272 It's compiled locally and run on a remote distributed HDFS instance by a sh script. My main conc...

 
6:15 PM
trying to understand Stream internals from Java8 is not fun
and ah ok @Jamal , didn't know that aws given in discrete math II
or well discrete math in general
 
The hardest may be recurrence relations and generating functions. I'm not looking forward to those.
 
Algorithms class is pretty darn hard, which I'm having right now
in this quartile
 
0
A: Is this code optimal? Image-downloader/wallpaper setter

rolflThe system you have in place is efficient in the sense that it offloads the network-based work on to an AsyncTask, and the callback updates the wallpaper. You don't give the details of your ImageLoader AsyncTask, but you could neaten a few things up by putting them in to there... and it would lo...

user image
2
 
Edit-stalked.
 
Anonymous
@rolfl async is too spooky for me
 
6:32 PM
Does anyone know how too troubleshoot router DNS issues?
 
@skiwi Unplug it, and then plug it back in :P
 
+10
 
it only fixes it temporarily @syb0rg
 
@skiwi That's what I always do when something happens to my router... even if the results are temporary. :P
@PatoSáinz Have you voted on any questions or answers on Code Review?
 
Hey, it worked in South Park.
 
6:35 PM
I love that skype keeps working, because it doesn't use DNS
 
Anonymous
@syb0rg one
 
though if they need to move their domain for whatever reason, they need to patch skype
 
7
A: What's a Zombie? And what are the many other memes of Code Review?

Mat's MugMeme: We could really use your ammo Originator: syb0rg Cultural Height: Side-effects of The Mission? Background: Activity on CR has recently taken a hell of a spike. 40 votes/day isn't enough ammunition to shoot at all the good answers that are thrown at all incoming zombies. Increased activit...

 
Anonymous
@syb0rg repwhore
 
Anonymous
6:38 PM
already upboated :)
 
(there's no meta-rep on CR ;)
 
@PatoSáinz I'm not saying to vote on my stuff, I'm just saying to vote on stuff.
 
Anonymous
@syb0rg oh
 
Anonymous
ok then i'll help around :)
 
But if you do want to drop me some rep, I won't deny it ;)
 
6:40 PM
Whoa... rolfl is up to almost 15k karma? Jesus. The monkey has been busy!
 
Huh, @Mat'sMug - :
10
A: What's a Zombie? And what are the many other memes of Code Review?

Mat's MugMeme: TS | RSA Originator: rolfl Cultural Height: star-power Background: The 2nd Monitor is quite a star-happy chatroom. How many of you know that there's only a number of times you can "star" a chat post - a star cap (like the rep cap and the vote cap, a star cap). And just when you run out o...

See that one ^^^ it is by lol.upvoter
@Corbin - thanks ;-) now, if only I was busy on my work ;-)
 
15k karma in 3 months is insane
 
TS^^
 
:p
 
@Corbin - avg of 122 per day since I joined.
 
6:42 PM
o.O
 
not insane
 
busy monkey compiler
 
Don't underestimate the power of .
 
Anonymous
I want to offer you all a challenge
 
Anonymous
To please check out my first perl programme
 
6:43 PM
Posted yet?
 
There are a couple of folk here who know it....
 
@PatoSáinz Post that as a question.
 
Anonymous
@syb0rg sure
 
But shorten it up a bit, cut it down into snippets.
Make it easier for the reviewers.
 
6:44 PM
@PatoSáinz - you have identifies in there.
@PatoSáinz passwords?
 
Anonymous
@rolfl those pws aren't valid anymore
 
Anonymous
don't worry
 
Is 7 hours a quick answer?
0
A: How do I extract interfaces from existing similar classes?

Mat's MugExtracting an interface essentially boils down to taking the signatures for all public members, making them part of the interface you're extracting, and then making the type implement the interface you've extracted. Tools like ReSharper work amazingly well for this (the partial class is handled,...

 
@PatoSáinz - you will probably want to clean up some of the language as well.
@PatoSáinz - what happens at line 652 ?
 
Anonymous
lol i didn't even notice that
 
Anonymous
6:50 PM
@rolfl magic, and, i copied the whole module into my script
 
Anonymous
but apparently i forgot to remove its shebang
 
Anonymous
and use strict; use warnings; which are already included
 
For what it's worth, the code indentation is messed up, the content is questionable, and I would down-vote and perhaps flag it if you asked on here.
 
Anonymous
@rolfl i'm censoring everything
 
Anonymous
and yea actually, that was my first program ever
 
Anonymous
6:53 PM
and some of it were code duplication via copy and paste
 
Anonymous
so indentation is all over the place
 
just remember that there is no excuse to actually post a question of which you think is not formatted correctly, has vulgar language, etc., then everything is alright
 
@rolfl quick question: if CR has ~30 new questions per day, how do we answer ~140 within a day?
 

« first day (298 days earlier)      last day (3735 days later) »