« first day (984 days earlier)      last day (3019 days later) » 

3:00 PM
4seconds before Vogel
 
7
A: Is a question on topic if its asking to improve code, but not for a code review?

JamalFor as long as I've been monitoring this site (which hasn't been long), I haven't even thought about this. Yet another important concern that we need to address while we're still in beta. If somebody asks a specific question rather than asking for a review, is that off-topic? I'm going to ...

 
Alright, so we had a discussion about whether or not we should close a question and we decided we shouldn't close the question - and now on the meta we are deciding to close the question? :P
 
I put the meta out as more of a "what should we do in the future" with these kinds of questions.
 
@EthanBierlein Yeah, but we also link the related questions
It follows that format, if that's what you're worried about
 
@DanPantry assuming we go by the letter...
then again regarding that specific rule that fails we usually don't go by the letter
 
3:03 PM
Letter vs. Spirit of the law rules
 
instead we reinterpret the question
 
@Vogel612 Could you re-format your But not? It's a little confusing
My mind keeps skipping over it and reading
> Because the code is broken
 
A @Moderator opinion would be great on this too by the way
 
@Quill Simon posted on the question earlier, so I think he may weigh in sometime later.
 
@DanPantry better ?
 
3:07 PM
@Vogel612 <3
 
Personally, I think it is a mistake to try to set an overarching precedent as opposed to evaluating each specific question on its own merits...
 
Simon said it seemed on topic to him, also this post by Jamal addresses the idea (though the question title matches less):
7
A: Is a question on topic if its asking to improve code, but not for a code review?

JamalFor as long as I've been monitoring this site (which hasn't been long), I haven't even thought about this. Yet another important concern that we need to address while we're still in beta. If somebody asks a specific question rather than asking for a review, is that off-topic? I'm going to ...

 
@SuperBiasedMan the tldr is
 
^^
 
@Phrancis That's true, but the flood of reacting comments and fundamental quoting bullshit to my statements kinda killed the forum for a proper discussion
 
3:08 PM
@Quill it doesn't work that way you know?
 
The question does not matter. People review any aspect they choose anyway. The question is entirely irrelevant in my eyes. If the requirement for a good question is mentioning that you're interested in all aspects reviewed then just PRETEND it is implicitly asked at every question and anything else is in addition to that, not as a replacement to it. — Jeroen Vannevel 35 secs ago
 
On the other hand I'd like to say I am very proud to take part in a community that clearly cares so much about the quality of the community. You guys are all awesome.
4
 
My biggest pet peeve about CR
 
It's supposed to work the other way round
 
@Vogel612 yeah, can't always rely on authority
 
3:09 PM
@DanPantry A little bit haha. But he seemed to err on the side of acceptance. I'm not sure if that was informed by the site age at the time though.
 
@JeroenVannevel I agree that it seems odd a question can teeter on the off-on topic lines based on one sentence of a question, but that's just the nature of this site
 
@DanPantry I've been fighting against that nature for a long time by now
 
@Quill no... you're going against the grain ...
moderators don't work top down most of the time
 
@DanPantry If you say "my code doesn't work in edge cases" it might get closed, but if you say nothing you just get a point titled "bug" in your code
 
@Quill That's not strictly true.
I've seen several times where very obscure bugs have been pointed out in reviews that no one has noticed.
 
3:12 PM
Really? I've written code that has bugs in it that I've posted here
 
The question is whether your code works in all expected cases or not
 
oh hey @janos is around, wanna weigh in?
 
If you list an edge case and say "it doesn't work in this case", that can be interpreted as "this is a case I must support, and so it is requirement, and my code does not work in it"
with regard to moderator opinion...
Moderators are not the formal authority on how the site runs; they just act in the best interests of how the community and enforce the rules that the community as a whole has decided on meta
2
So while I'd love to see a mod opinion, it's not because they're a mod, just that I'd like to see opinions on this issue in general
 
Can we seriously stop repeating each other
 
@Quill I was addressing a comment you made earlier - and the fact you've asked both janos and Simon to weigh in :p
 
3:14 PM
I did, seeing as both of them have long standing presences on this site
I'd ask any of the Revivalist members to weigh in
oh btw, did someone comment on the question that we were discussing it on Meta
 
That aspect of it is not really relevant^ being that an answer has been accepted and everything
 
Just a paper trail, I suppose
Besides there appears to still be a discussion going on back and forth between the OP and the accepted answer author
 
@Phrancis It's still a courtesy that's actually been feature requested on MSE
 
@janos It's not explicitly stated in your answer: the discussion is about close voting, not down voting (which is always free game).
 
3:18 PM
> When faced with the options of closing or rephrasing, I think OP will logically go for rephrasing
 
If it's going to remain vague as-is, then you'll just have the same situation again in some time
 
Need some air, AFK
 
@DanPantry the point is that there is no basis on closing
 
@DanPantry wow that's almost exactly like what I said
 
Not all OP's are that logical.
 
3:22 PM
0
Q: How do i refactor the time complexity of this algorithm?

Ayoola SolomonImproving the time complexity var input = [4, 900, 500, 498, 4]; function walrusWeight(input) { var target = 1000; var optimum = 0; var sums = []; sums.push(optimum); for(var i=0; i < input.length; i++) { var newSums = []; for(var j=0; j < sums.length; j++) { var newSum ...

0
Q: Python: What’s the largest MD5 hash you can find?

HexaholicI got inspired by Doorknob's blog post What’s the largest MD5 hash you can find? to get my hands dirty and learn some Python. After playing around with the code from that post, I decided to rewrite the whole thing and to make it more flexible (to get some practice). This is what the code does: ...

 
@Quill And @JeroenVannevel has pointed out both times that he disagrees with it. What's your point?
 
Janos has had no opposition
 
@JeroenVannevel I agree, it's @janos who said it
@Quill did you read the first part of what I just said? or the comments on @janos's answer?
yeah because no one had gotten around to posting a comment on it lol
 
I'm fullheartedly opposing anything
 
Take a step back and a deep breath please everyone
 
I'd say that question is off-topic and belongs on SO as it's trying to solve a single problem rather than caring about the overall quality of the code
 
As it says in the help center
 
@skiwi how do you know?
 
There's a meta discussion
 
3:32 PM
The question does not matter. People review any aspect they choose anyway. The question is entirely irrelevant in my eyes. If the requirement for a good question is mentioning that you're interested in all aspects reviewed then just PRETEND it is implicitly asked at every question and anything else is in addition to that, not as a replacement to it. — Jeroen Vannevel 24 mins ago
 
@JeroenVannevel I don't think it's constructive to repeat that over and over and over for this case, mostly because I'm not sure it's applicable here
because we mustn't pretend we can change what OP wants, at least not always
 
We also shouldn't assume things OP doesn't say
Nowhere did he say "I only want to fix this warning"
 
While I generally agree with your idea, I don't think it applies here. This comes down to a subjective call.
 
@JeroenVannevel I don't think that line of thinking will get us anywhere very fast
No, he didn't explicitly say that, but that is the only question he asked
 
if there's a compiler warning saying "Member Bar of type Foo hides member Bar of type FooBase", it's nothing but a hint for reviewers - something smells in the code, and the compiler is telling the OP about it.
monking!
 
3:35 PM
CR reviewers are just being way too pedantic about the rules as usual
 
It is not completely outlandish to assume (assuming makes an ass out of u and me) that that was his primary concern for coming to CR.
 
Monking!
 
Hello, @Mat'sMug
 
I don't know how I'm always at the soft side
I'm typically hardballing it on SO
 
@Mat'sMug Does that mean we should credit the compiler in our review?
5
 
3:35 PM
@JeroenVannevel after all :)
 
Hi, @Mat'sMug
 
@JeroenVannevel Don't get me wrong, I agree with you, I'm just trying to show you some perspective
 
@SuperBiasedMan you could... is CA1004 CC-by-SA? </irrelevant>
 
oh I see the perspective. I just think it's somewhat ridiculous
 
@Mat'sMug I call fair use
@JeroenVannevel now that warrants some explanation
 
3:37 PM
@JeroenVannevel with respect, if you feel so strongly on this issue, why have you not posted a meta answer?
(or are you in the process of writing one?)
 
@Vogel612 ridiculous in the sense that the rules are being interpreted too literally.
 
@JeroenVannevel They're rules. If they aren't meant to be interpreted literally, they are not rules - they are guidelines.
 
@JeroenVannevel you are aware that interpreting rules not literally makes them really damn complicated?
 
@DanPantry I upvoted yours because it addresses the question and situation
 
well I totally forgot to hit accept when I hit "give bounty".... fail....
 
3:39 PM
If we pick and choose which rules to follow (and which ones to apply only liberally), then we may as well not have rules
 
But I'm disagreeing with the other answers based on the justification they use
 
which is something we usually don't want because that makes every part of the help center optional and up for discussion?
 
@Vogel612 +1
If the question comes down to "this rule is being interpreted too literally", then maybe it should not be a rule?
 
You're trying to shoehorn every possible situation into 5 rules
 
But that's an entirely new meta discussion altogether
 
3:40 PM
Not all situations will fit 100% perfectly
I'm fine with 95%
How is complaining the question doesn't explicitly state "oh ps: you can review anything" beneficial to us as a community?
That absolutely added nothing of value
 
@DanPantry lawyers and judges don't only account for the letter of the law. they also account for the spirit of the law
 
@Mat'sMug Which is why the law is known to be subjective and has juries.
Though, I suppose you could argue that we as CR are the jury.
 
@JeroenVannevel in what way is assuming "oh ps: you can review anything" beneficial to the community?
because both sides of that coin have their drawbacks
in the earlier case we're soup nazis, in the latter case we're jerks that don't care about what they are asked
 
it simply shouldn't be mentioned.. Do you see any benefit in having that added to the question? Because that is what your answer and @Quill's boil down to
 
@DanPantry yes! and what I meant was, the "broken code"/"must work as intended" rule is there to avoid dealing with too SO-ish questions that boil down to a single specific issue
 
3:43 PM
@JeroenVannevel yes, the benefit is we're not assuming anymore
 
Oh wait, not Quill's
 
I agree that people asking for a review should not be obliged to say "You can review everything lol"
 
You know what happens when you assert--you make an ass out of the emergency response team.
3
 
There shouldn't be any assuming! Who cares what they say they want reviewed?!
 
@JeroenVannevel Evidently, the person asking for the review
 
3:44 PM
It's worth making sure they know what the site is for before people put effort into giving them a review.
 
Evidently, but that doesn't affect reviewers in any way. I'll agree that when they explicitly say "I just want a review of line 5" it's offtopic
but just because they specify their main issue is not a good reason to close it. That's being pedantic
 
Well it does affect reviewers. If the OP is going to insist on getting a fix for a problem and not care avout reviews, then everyone's wasting their time trying to give them general reviews.
 
And really the only way to tell what an OP wants without him specifying "you can review everything lol" at the end of his question is the way he phrases his question.
 
@JeroenVannevel stahp wait wat? Isn't "I only want a review of line 5" and "I only want this warning fixed" the same thing?
 
That's like writing a question on SO with a clear problem statement and then complaining he didn't end it with "How do I fix this problem?"
 
3:46 PM
@JeroenVannevel In that case, let's just remove the off-topic reason from the help-center altogether
 
I don't think it should be closed. I just think the OP should be told to address the ambiguity
 
You may not like how nitpicky people can be over phrasing but it is necessarily because how things are phrased instructs how things are interpreted
 
> How to solve a problem with your code
If the off-topic reason is too broad, and "CODE DOES NOT WORK" wasn't clear enough, let's get rid of it
 
@Quill as mentioned on meta... problem is probably not sufficiently defined
 
@Vogel612 He did not say "I only want this warning fixed". He said "How do I fix this warning?"
 
3:47 PM
which boils down to the same thing, right?
 
@JeroenVannevel that's the only intention of his post
 
because it's a specific programming question
 
@SimonForsberg made a good point, here is another very specific question that was received extremely well on this site.
72 upvotes (by @janos), pretty sure it went HNQ too..
 
Is that still on topic? I assumed that was a relic of being 4 years old.
 
@SuperBiasedMan The question is 13 maths 20 months old.
 
3:48 PM
@DanPantry ... asked Mar 11 '14 at 9:06 ...
 
Oops, never mind. I totally misread the date
(for some reason I read 11 as the year)
 
that's slightly more than 13 months
 
@Vogel612 I also misread the date as it being the 11th month
 
it's 20
 
@DanPantry That could just as well be flagged by a code quality tool complaining about magic numbers. So yeah, I'd say that's the same issue
 
3:50 PM
@Quill I'm not sure I understand what you mean.
 
truth is, it's a gray-area question that's probably a good fit on both SO & CR. ♪ let it go ♪
3
 
@EBrown I'm planning on making a chat oneboxer that takes the links posted, gets the meta tags from the HTML and uses the values to fill a onebox format
 
@Quill Ah, cool!
@Mat'sMug Context?
 
7
Q: What should we do about questions asking to "fix" warnings?

Ethan BierleinAround the time of writing this post, this question was asked: Extension method to list enum values. The OP is asking how to "fix" their code so a specific warning doesn't pop up (emphasis added): However, when I compile the code, I get the following warning: CA1004 Consider a desig...

 
@EBrown please don't make the 2nd a warzone again...
 
3:51 PM
@Quill gosh, that thing is a meme
 
just read back
 
@EBrown read back / read meta
I can't type today..
 
@Mat'sMug I was surprised only 7 from you
 
@Vogel612 I'm not sure I understand what you mean.
@Quill Made my votes.
 
@EBrown We've been.. heatedly discussing this for the past hour or so
 
3:54 PM
@DanPantry Ah, I see.
 
@DanPantry And by getting me all riled up, people took me away from refugee handling for an hour
You all made the world a worse place today
I hope you're happy
 
lol
 
I was not involved in this. I did not make the world a worse place.
 
@JeroenVannevel It's your choice to get involved, don't blame us
 
I wasn't actually serious
Dinner isn't for an hour -- refugees don't need me yet
I specialize in handing out breakfast, lunch & dinner
 
3:57 PM
I, however, am going to try and do some work in the last 5 minutes of the day
lol
speak to you guys tomorrow
 
0
Q: How to organise this ruby service?

Beni MioService look like this. class PostLayoutService < PostService def setup_full_layout @page = insert_homepage set_homepage build_word_stats end def insert_homepage page_object = PageService.new(name: 'Hey') @manager.create_page @organisation.id, page_object end def...

 
@CaptainObvious Needs title.
 
@CaptainObvious How to title this question?
 
Monking(2)^2
 
user image
5
 
4:10 PM
@Quill That looks good man!
Will they also magic-link to the tag on the main site?
 
uh, probably not
 
@Quill you're a wizard man, a wizard!
 
tags use integers for links on the main site
and they're site unique: CR and MSE
 
Ah, right, that's problematic
 
hmm... that could've worked better :/
 
4:14 PM
haha I can hear you code and scream "thanks Microsoft Stack Exchange for the wonderful API!"
5
@Quill wait are you using the [tag:markdown]?
 
like [badge:guru] kind of layout. With tag badges, it'll be [bronze-badge:php] also CC @vogel612 I found a use case for that :P
 
and it click-links to the badge page?
[badge:phpoop]
 
The tag badges will click link, but not badges: chat.stackexchange.com/transcript/message/26805949#26805949
 
:(
@Quill ask on MSE why they couldn't have standard ID's across sites
 
@Mat'sMug because each tag over 100 get its own badge link
 
4:18 PM
this codereview.stackexchange.com might be a better spot for this sort of question — depperm 43 secs ago
 
Well, I think I'm going to waste my personal day.
 
and some of the sites have been around longer than others, badges have come and gone while tag badges stayed
the orders are relative to creation date on each site
I might just make every non-tag badge link to the badges page and the tab for the relative colour
 
ok, but is [badge:nice-question] ID 46 on every site?
 
that's what I mean: SE should run an update script to fix that and then your extension could link to individual badge pages
 
4:20 PM
or just support the badge name as a query string
 
^^
either way gets to MSE - make sure your meta includes http://i.stack.imgur.com/HZcTD.png, you'll get a truckload of votes I'm sure
 
Maybe hard-coding the links would be a possible (though not ideal) solution @Quill? So if someone wanted to use it for a different site they could just just clone it and change the config?
 
@Mat'sMug and "where can I get this" comments
@Phrancis Not doing per site configs. no way. I'd rather just link the tab. Valid point though
 
@Quill Oh, right, that's also a good solution
 
@Quill then you can link to your CR question which links to your stack apps post which links to a download -
3
 
4:22 PM
the other issue I had was with badge icons and being each site has a different badge icon
 
@Quill eh, standard "beta" circles are fine
 
I'm not 100% whether it's possible, but the sprites sheet is stored as an SVG, and SVG is XML-based, so I may be able to fetch and find the required elements
 
in VBA Rubberducking, Apr 9 '15 at 13:01, by Mat's Mug
@RubberDuck We're programmers, we can do anything
 
14 mins ago, by Mat's Mug
@Quill you're a wizard man, a wizard!
 
TTGTTS
 
4:28 PM
@EBrown Hope you can manage to catch your train
 
@skiwi I'm driving.
 
Wasn't it (Time To Go To The Train Station)?
 
@skiwi Time to go to the store.
 
Close enough
 
I counted one less T and thought Space
I'm catching Space fever from @Zak :P
 
4:32 PM
@Quill reminds me of the sweater I bought that's scheduled to arrive somewhen between Friday and Thursday
 
Somebody forgot to comment out Days.Reverse()
 
0
Q: Refactoring jQuery Code

Chris H.Hey so I have written some code out in jQuery, but it seems to violate DRY. I'm not too familiar with JavaScript or jQuery, so I was just asking for some advice on how to optimize this code: $("#twitter").rotate({ bind: { mouseover : function() { $(this).rotate({animateTo:360}); ...

0
Q: Create Query String From Query Results

FunFly WhiteGuyIn C# I want to run a SQL Query and parse the results into a QueryString to pass to a web page. In my testing I am trying to do this, but I get an error of Key already exists What is incorrect or what is the correct way to do this? private void PrepQuery() { Dictionary<string, string> di...

 
@CaptainObvious Can you Query a better title from those Queried Results?
 
@Quill no that's actually the correct timespan
they really said somewhen in a week starting at 15th
 
Speaking of queries, I was hoping SEDE had the badge ID integers used on the main site, but apparently it doesn't... that table really should be called UserBadges instead of Badges data.stackexchange.com/codereview/query/422988
 
4:36 PM
Well, I'll be back in a bit.
 
later @EBrown
@Phrancis Bring it up on MSE
 
@Quill The naming issue or the badge ID issue?
 
I'd like to bring up the badge ID issue, but the former sounds good
 
Hey guys :) Can you maybe take a small look onto my question? I really do not know about how javascript code is supposed to look so any comments are appreciated :) codereview.stackexchange.com/questions/116563/…
 
Badge IDs would be nice as it would make configuring your app on per-site basis a breeze
 
4:40 PM
@Marv sure
 
Awesome, thank you mate :)
 
0
Q: Reads transactions from a file and writes them to a database table

SBelI am learning Node.js and I would like to see if I'm using it correctly. Please advise. var mysql = require('mysql'); var fs = require('fs'); var connectionProps = JSON.parse(fs.readFileSync('connection.json', 'utf8')); var connection = mysql.createConnection({ host: connectionProps.host, ...

 
10
Q: Is it effective to review code in language I don't know?

Heather SmithI'm an experienced developer, but have not done a lot of code reviews. I'm being asked to review code written in python but I do not know python. Does it make any sense at all to review code in a language I don't know?

Should have asked in chat here ;-)
 
Hey guys, Word supports *bold* and _italic_ markdown.
 
woot woot
 
4:56 PM
@Hosch250 s/formatting/markdown
 
Yeah, you just have to go into the auto-complete settings.
 
Also Microsoft's formatting rules are messed up, Skype's formatting is one of life's greatest mysteries
4
 
It is disabled by default.
@Quill LOL.
 
Yeah Skype is pretty messed up
 
That actually reminds me of the VBScript script I wrote to turn it off and on
 
4:59 PM
 
@Phrancis svslb svslb svlslb svslb svslb, now repeat after me
 
@Phrancis What's up with the squiggles?
 
Set xmlDoc = _
  CreateObject("Microsoft.XMLDOM")
Is it just me or do I smell pasta... namely spaghetti?
 
OK, went on hold.
 
5:09 PM
grails.github.io/grails-doc/3.0.x/ref/Constraints/… Please scroll down and look at the Description paragraph
How complicated do you want your return value to be?!
If it's null or true or nothing is returned, then it is valid, if it is false or a string, then it is invalid
 
-4
Q: rewrite function with lots of ifs

Luiz K.I had this code: https://gist.github.com/luizkowalski/4e1b3240ef9f884d6630 and I need to rewrite it. I came up with this: https://gist.github.com/luizkowalski/77f19dc4cd6da6dcf46e but still, I found it difficult to read and ugly. Does anyone have a better idea?

 
@Hosch250 Skype is saying those are typos
 
Is it "I mostly learned with my experience" or "I mostly learnt with my experience"? My vote is learned.
 
@electrometro "learned from my experience" I think is the most correct
 
"My experience has shown me".
 
5:14 PM
Thought so, thanks!
 
Neither of those sound particularly correct.
BTW, my browser says "learnt" isn't a word, so it isn't commonly used, anyway (at least in US-English).
 
0
A: Is it effective to review code in language I don't know?

QuillAs a regular contributor over at Code Review Stack Exchange, I encounter a lot of questions suffering from Language-agnostic issues, for example: Formatting, indentation Scope Loops Type operations and the list goes on. However, while I don't need to know the language, I can still review thos...

The one that comes to mind is nhgrif's php answer
 
LOL, reviewing the comments.
 
also it's absolutely hilarious
 
@Quill Kind of an edge case, that one lol
 
5:28 PM
I really must say, learning C# is actually helping my reviews in other languages
 
How so?
 
Stuff that you do in C# that isn't necessarily needed in other languages, but still good
like how C# requires every execution path to be covered, and while it's not necessarily required in JavaScript, it's still a good thing to do
 
Yeah... Another aspect I've found is that working with a 'stricter' language (which is somewhat well defined) you kind of get used to doing it in that well defined way, which you can translate into weaker languages, as well.
 
0
Q: PHP class for reading DTD

VáclavVery long time ago I started development of code generator for HTML. And some time ago I rewrote it and published it under LGPL v3.0 on Sourceforge.net. It is very universal because one of its classes (ElementListSetting) reads DTD files and extracts elements from them. Currently this class cre...

 
@CaptainObvious off-topic, code not included
@SuperBiasedMan is on a roll today
 
5:32 PM
@holroy C# has contaminated fixed my VBA that exact way ;-)
2
@CaptainObvious sounds off-topic even with the code embedded in the post
 
I researched Swift v 1.2 for a little while, and that was also very interesting and thought me some stuff related to mutability and thinking differently. It is an quite interesting language as well. Will look into v2.0 in due time of Swift...
 
num = "0"

Set toUpdate = xmlDoc.selectsinglenode("//config/Lib/Conversation/EnableWiki")

toUpdate.text = num
@holroy Apple's Official Programming Guide to Swift will serve you well, it's written really nicely and is available as an eBook
 
nice answer here
1
A: Powershell Windows Service Deployment

MattYour code and overall logic look good. In general the areas of improvement I see are There are some things you are inconsistent about, e.g., function parameters You are sending notification information down the pipeline. Some of the parameter declaration could be improved. I see that your are ...

 
@Quill Have used it quite a lot, and it is a very good reference
 
@Mat'sMug Is that the user who posted the 'how do I generate tag interest' meta question?
 
5:36 PM
yup
serviceName: _ <-- Pretend that underscore is blinking
lol
TIL "splatting" parameters
$params = @{
    ServiceName = $serviceName
    TargetServer = $targetServer
    DisplayName = "APP Test Syncronization Service"
    PhysicalPath = "C:\APP\APP.SyncService.exe"
    Username = $user
    Description = "Description"
}

Install-Service @params
definitely a contributor we want sticking around and eventually hoppin' into the 2nd monitor
 
TTGH
 
I am worried about that with my current programming ways running of class would end in mad (never-ending) recursion. - does it work as intended? Note that if there's a possible edge-case that ends up in an infinite loop, it's not a problem - but we require your code to be working as intended... please clarify a bit. The last edit made your question enter the reopen queue, where people will either vote to reopen or leave closed - put the chances on your side =) — Mat's Mug ♦ 26 secs ago
he'll fit right in
@Mat'sMug That was a thought that needed to be removed. I thought you needed something else but you don't. Also... are you my mug? — Matt 4 mins ago
 
huh. TIL you can use Markdown in Bounty descriptions
 
0
Q: A generic interface for nearest-neighbor data structures

Tavian BarnesI have written the following interface to represent data structures such as VP trees that perform nearest-neighbor searches. (JavaDoc omitted for brevity.) public interface MetricIndex<T> { interface Match<T> { T element(); double distance(); } static <T> Match<T> ...

0
Q: Convert a number into a different base and return as string

Martin TuskeviciusI wanted to write a function that would take a long long int argument as well as a base and it would convert that number into an equivalent number in a different base, and return the result as a string (er, char array). For example, the call, convertBase(9, 5) should return "21\0". For negativ...

 
5:51 PM
@Hosch250 lol
@Mat'sMug says we are supposed to lure you into the 2nd Monitor: chat.stackexchange.com/rooms/8595/the-2nd-monitorHosch250 30 secs ago
 
@Hosch250, link the message
 
Hi, @Matt.
 
Hey guys
 
hello
 
Hi!
 
5:53 PM
11 mins ago, by Mat's Mug
definitely a contributor we want sticking around and eventually hoppin' into the 2nd monitor
 
21
Q: Welcome to The 2nd Monitor!

PhrancisSo, you have found your way to the Code Review main chat room, The 2nd Monitor, perhaps for one of these reasons: You were invited or "pinged" by a site moderator or other user to discuss a post on the main Code Review site; You visited Code Review for the 1st or Nth time, and noticed the chat ...

 
13 mins ago, by Mat's Mug
TIL "splatting" parameters
 
Hey there @Matt - Nice going on the Powershell questions!
 
monking
 
monking!
 
5:56 PM
I have a ways to go. Hoping to get some better people in here.
CR answers are so long....
 
I'll post a FizzBuzz for you if you want.
 
that answer was very very nice, you'd deserve the bounty for it
 
Give'r
Bounty is not over yet
 
I love PowerShell. I need to find reasons to use it and start posting questions.
 
^^ditto
(although I have not written PS ever, I'd like to learn as it sounds realllllly useful)
 
5:59 PM
@Phrancis it's incredibly powerful. and it will finally get you on board with .NET :)
 

« first day (984 days earlier)      last day (3019 days later) »