« first day (590 days earlier)      last day (3420 days later) » 

5:01 AM
monking :)
 
monking!
4 hatz behind CrossValidated.SE!
 
Start pimping those silver badge worthy answers!
 
Only if it reaches 10
 
tbh I've never really paid too much attention to the badges, which ones are relevant for the winter bash?
2
 
5:09 AM
Silver and gold
 
any silver or gold earns you/us a hat
 
ah ok
 
@shuttle87 - here's a random answer that may be silver worthy (nudge nudge, wink, wink).
 
i'd forgotten about that question
2
 
certainly one of the noteworthy highlights of 2014 (nudge nudge, wink, wink)
 
5:16 AM
@rolfl the one with 40 upvotes? ;)
 
I put a number of hours in to answering both that question, and the various comments that came through.
@shuttle87 Apparently, thanks Santa!
 
congrats Mr.Guru!
 
heheh .... the vote has to 'fix in' first ;-)
That should earn you a hat too, @shuttle87 ... ;-)
 
0
Q: parallel summation in pthreads

xiver77#include <stdio.h> #include <stdlib.h> #include <math.h> #include <limits.h> #include <time.h> #include <pthread.h> /* double f(double x) { return (4 / (8 * x + 1) - 2 / (8 * x + 4) - 1 / (8 * x + 5) - 1 / (8 * x + 6)) / pow(16, x); } */ typedef struct SplitArg { int n, nThreads, from, ...

 
> You've earned the "Guru" badge (Accepted answer and score of 40 or more) for "Generate random numbers without repetitions". WHoo Hooo!
3
 
5:20 AM
@rolfl lol, somebody noticed somebody non-regular and active in the room :)
 
My cunning plan was not so subtle, was it ;-)
 
regex anyone?
0
Q: Parsing signatures with regex, having "fun" with array return values

retailcoderI have this [nasty] regex to capture a VBA procedure signature with all the parts in a bucket: public static string ProcedureSyntax { get { return @"(?:(?<accessibility>Friend|Private|Public)\s)?(?:(?<kind>Sub|Function|Property\s(Get|Let|Set)))...

 
most probably won't notice at all, so probably subtle enough!
 
in this code: people calling Task.Cancel() and assuming that will cancel the task
 
crap, that regex is pretty involved
 
5:23 AM
@janos it's simpler than it looks like... well when you stick it into Expresso at least ;)
 
this is soooo going to be a selfie :) codereview.stackexchange.com/q/73666/12390
2
 
lol
 
@Mat'sMug User deleted own question
 
here's a hat idea: napalm bomber
 
yeah I saw that.. I wonder how Jamal managed to scare him away...
 
5:26 AM
I'm The Doctor
 
@janos Considered it, but that sort of philosophy (and terminology), is Code Review only.
 
what do you mean considered it? Are SE mods in some hat-selection committee?
 
Considered suggesting a hat of that sort.
there's no committee.
(not a mod committee anyway).
 
note to self: 2 m's, 2 t's, 2 e's
 
Also, there's no special advantage for mods to get hats either, other than some devious things we can do, and get away with easier.
2
 
5:30 AM
No worries; I already got Red Shirt on SO.
Although, given our recent volume of off-topic questions, many of us may earn it.
 
@rolfl yeah, that's kind of the problem with SO, that it's not a philosophy over there
 
^^ I ...missed a hat right there dammit
 
I think 200 (or was it Jamal) did it on purpose, went through one-vote-short b4 winterbash, and upped all the silvers ;-)
 
like you won't get a silver in 2-3 days tops (and most probably today)
 
5:33 AM
lol
 
that's really "dammit" :)
 
@janos Fair point, but I am somewhat anxious to get a gold, I must admit... not sure how I will manage that.
 
a goldie, now that's a different story entirely
 
@janos it is :)
21 hats to rank #15
 
@janos See, by my calculations, if I merge and , and ..... I will get gold tag badge .... ;-)
 
thanks Santa Santas!
 
hhhoooo
 
hahaha
 
@rolfl ah, so that's the devious things you can do and get away with easier!
 
5:39 AM
hm I'll be vote-capped very soon
 
no shit! my first silver answer badge at last!!
 
"at last"
"it took, like, forever"
 
408 answers
 
oh ok
not just any silver, but an answer silver, gotcha
 
the shiniest!
 
5:41 AM
Congrats .... ;0
 
Looks like some of you might cap before you go to bed. Not a bad first winter bash day eh :)
 
Hmmm.... I don't think a goldie will be possible for me in the next 20 days
 
Start editing!
 
got that one.
 
Oh yeah
 
5:43 AM
@janos thanks for answering that question - I deleted my answer and got [hat:fear-and-loathing]!
3
 
haha
 
Bye bye, CV! Up next: Information Security
 
19 hats behind InSec
 
Ouch
 
and then the next up is Programmers!
 
5:46 AM
There's also a hat for receiving an upvote and a downvote. gulps
 
@janos I meant specifically [badge:good-answer]. it's not true that this was my first silver answer badge... but I've been dreaming of a [badge:good-answer] for .... as long as I remember answering on CR :)
 
Same here, for Guru.
 
@rolfl how close are you to [badge:legendary]?
 
Same here, for both
 
@Mat'sMug 42 days min
 
5:49 AM
hmm so close
 
yeah, right.... like that's easy ;-)
Seen my rep graph inthe past month or so?
 
nope
 
I'm not even half-way there, and not for lack of trying
 
5:51 AM
@SimonAndréForsberg is getting close to [badge:epic]
 
@janos I know, but I figure an error of a few percent....
THere's an insurmountable issue with my query that I was not aware of till a month or so ago, and it's so embarassing....
@janos what does your /reputation text page say?
 
70
 
OK, my query is pretty accurate for you.
 
it's the first time the query overestimated
 
Mine says: earned at least 200 reputation on 109 days
which is 6 off the query
The bug is that, despite being in a date-time field, the timestamps on the Votes table are truncated to just the date.
 
5:55 AM
the text page underestimates a bit
 
As a a consequence, the query cannot 'apply' the voting patterns in the right order.
 
it doesn't count days when you offered a bounty and came out under 200, which does count for Epic
 
Well, it does the right order, but can't get the timestamps right.
@janos Oh, I have a few of those.
 
I wonder what happens to days where you reached 200 by the help of an accept that a later day gets unaccepted
same for loss due to removed users
 
Not sure, but it won't be in SEDE so I won't see it.
Deleted users are a real problem for the SEDE query
And also down-votes (on answers) by you.
 
5:59 AM
I wanted to write a query to plot the historical gap between two users, based on the top X per site query
 
who downvotes enough to bring themselves below the rep cap?
 
but the top X query looks so nightmarish I just gave up
@Mat'sMug you got 20 upvotes and no accepts a day, and you downvote one answer
 
@janos not how - who ;)
 
uhm... probably nobody? :p
 
speaking of @nobody... haven't seen him in a while..
 
6:02 AM
@Mat'sMug Done it a fw times ;-)
 
well then... blame the monkey!
 
It is amazing how, it's 22:00UTC.... and you're not paying attention, and you see a crap answer, and down-vote.
2
then, nothing gets upvoted in the enxt 2 hours, and you score 198 for the day
 
psst.. that's when you pimp stuff ;)
 
perhaps, but, what's odd, is I can't find examples now.... I wonder if /repuation is 'fixed' after down-voted answers are deleted
 
I think so
 
6:07 AM
> You've earned the "Archaeologist" badge (Edited 100 posts that were inactive for 6 months).
3
 
Now this is wizardry:
1
A: Parsing signatures with regex, having "fun" with array return values

Avinash RajHere you go.... (?:(?<accessibility>Friend|Private|Public)\s)?(?:(?<kind>Sub|Function|Property\s(Get|Let|Set)))\s(?<identifier>(?:[a-zA-Z][a-zA-Z0-9_]*)|(?:\[[a-zA-Z0-9_]*\]))\((?<parameters>(?:\(\)|[^()])*)?\)(?:\sAs\s(?<reference>(((?<library>[a-zA-Z][a-zA-Z0-9_]*))\.)?(?<identifier1>([a-zA-Z]...

 
Anybody used dotPeek by any chance? jetbrains.com/decompiler
 
once
 
So i guess it doesn't worth looking into. :D
 
depends
 
6:13 AM
of course. I generalized a lil bit
 
jetbrains is pure awesome
2
 
is there a benefit to hunting hats on multiple sites?
 
I thought you can wear your hats site wide.
 
personal ones: you get a better SE ranking. community....... hunt them on sites below CR's ranking ;)
all right guys, it's waaay past TTGTB here
good night CR!
 
good night
 
6:19 AM
night Mat, see you tomorrow
 
6:33 AM
0
Q: Rotate an Image (2D Array) by 90 degrees Recursively

tgaaly#include <iostream> using namespace std; void printImage(int** img, int N){ //check if image pointer is NULL if(img == NULL){ return; } //check if any of the columns of the image are null (since its essentially an array of pointers) for(int i=0; i<N ; i++){ ...

 
 
1 hour later…
7:40 AM
time to go to work
 
8:01 AM
0
Q: Python process zip files

DevCI have zip bundle for example abcd.zip, it contains more zip's like 1.zip, 2.zip etc.. Now inside each child zip there is a jpg file like 1.jpg, 2.jpg etc.. there are so many other files but I need only jpeg. I need to extract the jpeg's and and create a zip it again with same parent name like 1...

0
Q: Custom TCP java proxy socket load balancer

user2965177Im working on implementing custom tcp proxy server which acts like a load balancer the proxy server will accept client request and then forward request to available hosts public class ProxyServer extends Thread { final static Logger logger = Logger.getLogger(ProxyServer.class); priva...

 
8:14 AM
0
Q: Julia RPN calculator algorithm ported from Python version

Ismael VCI've just finished the Reverse Polish Notation task in Julia from rosettacode.com by porting the existing Python code: http://rosettacode.org/wiki/Parsing/RPN_calculator_algorithm#Python The only lines I don't understand how to port are this one: maxcolwidths = [max(len(y) for y in x) for x in ...

 
9:10 AM
0
Q: Giving a MYSQL database a "version"

JoshuaDI am writing a game that uses an embedded mySQL database for keeping track of scores and I am releasing an alpha soon. I know there are going to be features added down the road which are going to require changes to the database structure. Up to now, whenever I changed the database's schema...

 
 
1 hour later…
10:15 AM
@Mat'sMug I've been "close" for quite a while now...
 
 
1 hour later…
11:15 AM
don't know if I'll get a hat or not, but pimping anyway:
0
A: Android game setup

Simon André Forsberg//starts gameLoopThread which calls the Game's onDraw() method 10x/sec I don't think that's a good approach. onDraw() should be called by the Android framework, not by your code. It is automatically called by Android after a call to invalidate(). private Bitmap bmp; This should definitely ...

 
11:46 AM
0
Q: POJO class and large constructor

DenisI have some dispute with a colleague. I work with some REST-service, from which I get always same type data. class File(): def __init__(self, name, created, modified, media_type, path, md5, type, mime_type, size, public_key=None, public_url=None, preview=None): self....

 
POJO in Python?
 
11:59 AM
haha! Wearwolf hunter duck!
 
0
Q: JS: binding model to view

PashaTurokWhat I need - if there are some changes to model in must be rendered in view (html). The main problem here is to catch changes in model. Firstly I tried to use watch. However it can't work with IE8 (for IE8 it works only for DOM). But we need ie8 as many clients still use it. Besides I don't wa...

 
12:17 PM
Greetings, Programs.
 
Hey @Donald
 
@Donald.McLean You will be watched tomorrow, user.
 
Oh.... exciting. I am ...
2
 
@rolfl I have not yet earned a hat anywhere.
 
@rolfl yay :D
 
12:21 PM
@Donald.McLean See this cool Python answer ... +1 it for a hat.
(or anything else, for that matter).
 
@rolfl a hat for you or a hat for him?
 
For him
All you have to do is vote today, to get a hat.
 
0
Q: Improving some code for a stochastic simulation

JoelSo I'm learning bits and pieces of python. Here's some code that just doesn't seem pythonic, and I'd like to improve it. I'm doing a stochastic simulations with a Gillespie style approach, but if that doesn't mean anything to you, no worries. I'm trying to avoid some iterations and replace the...

 
@rolfl There's a hat just for voting?
 
There's a hat for voting... today
 
12:23 PM
Ah, Saint Lucia.
Not sure why it is today though, Saint Lucia was two days ago... (at least in Swedish calendar...)
 
@SimonAndréForsberg Because this is a US site, and in the US we observe most holidays on the Monday closest to the actual day?
 
Donald - this one should interest you: codereview.stackexchange.com/questions/73653/…
 
aha, was not aware of that.
Actually didn't know you were observing Saint Lucia at all
 
MIchaelT is a regular on Programmers... would be interesting to get him regular here too.
 
@rolfl at least then we would finally have someone that would know what's on-topic on Programmers.
4
HAMMER TIME!
1
Q: HashTable function implementation

TuytuyI have been trying to implement the Hash Table function in Java and here is what I came up with. I would just like to get an opinion on this work. Would there be a better way or any improvement to make to this code? HashTable.java: basically contains all the hastable functions to create the tabl...

 
12:40 PM
Good spotting
Whoo, there's a hat on Donald.... which is good, his avatar often has a hat.
 
meh. saint lucia is so... easy
also it's kinda hard to write stuff when sitting in the corner of the couch...
 
You have to start somewhere.
 
@rolfl I saw that, and already voted for it. Do hats show up in chat?
 
Yes.
 
A hard page reload sometimes helps.
 
12:49 PM
You have to get the Javascript in, yes.
 
@rolfl you have no idea how happy I was to use that hammer :)
Is this how you mods feel whenever you hammer a question?
I guess probably not
 
wow @rolfl has a different profile picture?
 
@SimonAndréForsberg At first ..... the binding-decision thing carries a fair bit of weight... you feel anxious swining it around at first
 
Oh wait, more people
 
@skiwi HAAATTTSSSS!!!!
3
 
12:50 PM
@SimonAndréForsberg Looking forward to it.
@SimonAndréForsberg And sometimes, as mod, you don't want to be the hammer, so you let questions go that you would otherwise VTC.
 
0
Q: Observable timer sequence

Jeroen MostertThis question over on SO about how to call a function "later" using Rx led me to post the following ill-advised piece of code to solve the problem: void Main() { getScheduleTimes() .Where(t => t >= DateTimeOffset.Now) .SelectMany(t => Observable.Timer(t).ToEnumerable()) .ToObservab...

 
@Donald.McLean That's one big downside. The diamond removes your right to be unsure.
 
Sumo Judge. As if we needed an excuse to star something.
5
 
1:07 PM
=) No, but it's nice to have one anyway @Donald.McLean.
I seriously expect there to be more Sumo Judge hats on CR than any other SE site..
4
 
@Donald.McLean good point
@rolfl I was thinking about the comments to the duplicate I hammered, can those be moved to the non-duplicate? Or is the best option to do what I did and leave a comment on the non-duplicate question?
I wonder why this question has gotten a downvote?
-1
Q: Reflection of an object in a 3D world

Ryan The LeachThe following is a excerpt from a class that is supposed to represent a reflection of an object in a 3D world, like in a mirror. After I started I discovered that mirroring is a property of an object, it is either mirrored, or it isn't. Multiple mirrors don't come up with unique objects but just...

 
@SimonAndréForsberg I can merge them.... which will migrate the comments and delete the original.
The issue is that the usernames are different.... I can assume they are the same person, but I can't be sure.
 
usernames different? Not sure what you mean
 
@SimonAndréForsberg this looks like he's asking for code to be written
also the reflections seem fishy to me...
 
1:25 PM
@Vogel612 "how can I re-factor this class, to more suitably deal with the problem?" is not asking for code to be written IMO. It's asking for suggestions / feedback.
 
but the problem is not really clear to me...
I don't get what his goal is...
> The following is a excerpt from a class that is supposed to represent a reflection of an object in a 3D world, like in a mirror.
but there's nothing like 3DObject.mirror()
 
it's a class for flipping the three axis: x, y and z. And by using that creating a kind of mirrored reflection of the original.
 
0
Q: C++ Guess My Number, inverted - CPU has to guess the number the user gives

RPi AwesomenessI'm learning C++ right now and one of the activity/tutorial things was to re-write the High/Low Guess My Number game - with a twist. I had to re-write it so that the computer had to guess the number. Here's the exercise prompt: Write a new version of the Guess My Number program in which the ...

 
@SimonAndréForsberg and what is the representation of the object?
this is a class that gives you booleans...
you give it an axis and you get some booleans back..
where is the 3d Object you were reflecting??
 
@Vogel612 somewhere else, I guess.
outside the scope of review?
 
1:39 PM
I don't understand how this class would be used..
 
0
Q: Make data layer function cleaner

merso0027Can this function be cleaner? It looks to me that I have too much nested stuffs(using+if+while). Thanks. Public Shared Function GetLocationsAutocomplete(ByRef userData As IUser, ByVal prefix As String) As List(Of AutocompleteItem) Dim conn As DbConnection = DbProvider.GetDbConnection...

 
Monking ^^
3
 
Monking @Morwenn
 
What? Do we star "Monking" instead of "lol" now?
 
@Morwenn Did you see? you get hats for staring stuff.
 
1:45 PM
@Donald.McLean Oh, I tend to get a few random hats but I am not especially chasing them :p
 
@CaptainObvious this looks like the database could use a clanup...
 
Hats Leaders: Sites -and- Code Review
24
 
1
Q: VHDL de-mux in need of generics

MastI've built a de-multiplexer which takes 2 inputs: one array of std_logic_vector and one std_logic_vector to select the correct array. It should be written more generic, but I'm not sure how. The length of SEL grows if the length of X grows (4-bit if 16 inputs, 6-bit if 64, etc.). I'm currently us...

 
@Morwenn instead? Pfft! You're underestimating us!
2
 
« lol »
^ see.
 
1:54 PM
^^ failed bait
2
 
^^^ I win anyway: if there are no votes, it proves my point. If I get votes... I get votes :D
 
@Morwenn you wrote that one on purpose, auto-star does not trigger then.
 
@rolfl I'm happy so long as we stay ahead of PPCG
 
@SimonAndréForsberg Well, considering that I never write "lol" in regular conversations, you could say that every « lol » I write in this chat are on purpose :p
 
Sorry for asking, but where's Santa today?
Or perhaps it's because I'm answering old, unpopular questions
 
2:06 PM
Santa has to work. He's got a big deadline in 10 days.
2
 
1
Q: Inferring Memory Alignment in C

Dan AllenThe following code is intended to infer the alignment of double. My questions include: 1. Is there a better to do this? Either by refining the code or using an entirely different approach. 2. Under what (reasonable) circumstances could this not work? 3. Under what (plausible) circumstances cou...

 
@RubberDuck ah, good point
 
2:21 PM
0
Q: Find a nested property in a object, alternative version?

GibboKI am using the following code, it works fine and return an object from a nested "structure" by Id. I would like to know if you could suggested a better approach, possible faster. <script> var data = { item: [ { itemNested: [ { itemNest...

 
Monking @all
2
 
Hey @Heslacher ....
is it just me, or has the 'end of semester' resulted in questions that are mostly on-topic?
 
It has... which is disappointing today. I want my red-shirt.
 
1
Q: Asking which way is better

EvorlorI have a coding question with two compilable options. I want to ask which is better and why. Code review, programmers, stack exchange...im not really sure? Where is this question appropriate. It may be an opinion based question and it may not. I don't really know until I know the answer. Like I...

 
2:37 PM
Drat. simon...
 
@rolfl lol, we really gotta stop making edits at the same time
 
And I have a typo in the 2nd edit.
s/ise/use/
I threw away my answer because of yours, then vogel does one as well.
 
@rolfl Wouldn't be the first time you make a typo.
 
I almost feel like warning him that some of us nearly categorically downvote those questions....
 
@SimonAndréForsberg Nor teh lsat
 
2:40 PM
It's a rare event indeed that I upvote a comparative review.
 
1
Q: Is this a clean way to import someone's twitter feed.

JoeI used some java code to work out how often MPs and Senators cited their sources in tweets. The results are at here and the github for the whole project is here, the Java code I use to download the MPs statements from Twitter is below. I'm looking for any feedback on style, possible errors, and...

 
@CaptainObvious I just witnessed some kind of craziness there.
Downvote, edit, converted to comment in a matter of seconds.
 
You did.... it's easier to see the revision history if I do the edit before the convert. I did not do the downvote.
 
Please give this one the ability to upvote:
1
Q: Number Memory Game (JApplet)

Peadar Ó DuinnínI coded a JApplet game that allows the user to play a game that displays a sequence of 4 numbers that must then be input into a JTextField and if correct, displays a new sequence with one extra number, and continues on until the sequence is gotten wrong. It also allows the user to choose from one...

 
0
Q: basic TCP server client application c#

LordTitiKakaI've written a bsic server/client application to use in a automation applcation written in C# the code is working pretty good , but I have a few thing I want to improve: server : public void socketListener() { peerListener = new TcpListener(IPAddress.Any, Control...

 
2:59 PM
@rolfl It was me before the edit. LMGTFY kinda irked me.
I was just about to remove it when you converted.
 

« first day (590 days earlier)      last day (3420 days later) »