« first day (733 days earlier)      last day (3582 days later) » 

00:00
@Phrancis Probably most useful to regular users who will follow the tag. But they can be a helpful overview to quickly see what a question is about.
It is also a way for the question asker to communicate their 'landmarks'.
But I can definitely see open-source projects creating tags for their questions.
Consider if the Rubberduck github page points to the tag page on Code Review (and the tag page points back to the github page)
There are 1337 unanswered questions
6
@Duga leet questions.
@rolfl I have a feeling there's only a matter of time before it does get a rubberduck tag on SO
@Duga literally lol
00:02
That is quite funny XD
@rolfl Why do I have a feeling that you could substitute the word 'Tags' there for pretty much any other word?
@SimonAndréForsberg Sometimes I like the
Those are nice, indeed.
@rolfl no clue what you're talking about ;)
If there is ever exactly 1 unanswered question, will @Duga get her plural right?
00:04
should we find out?
@nhgrif Answer 1336 questions and we will find out.
or close them ;-)
I did revisit this answer, @rolfl, but don't know if that made it more clear for me whether or not there should be a tag
11
A: Game tag - When to create own tag for games?

rolflWhen should a game get its own tag? Game tags are not 'meta' tags, they identify a core concept that will be present in the question. minesweeper tells us something about what the code does, not about the person writing the code, or the problems they may be experiencing. So, game tags are real t...

0
Q: How can I write the error function of this ajax call better

Leo FarmerI have the following ajax call and if it errors, I have a default error message stored in a constant which I'll use if the response doesn't contain a custom message. When I look at this, I keep thinking it could be done better. Can anyone suggest how I can do it better? function requestServic...

0
A: Comparing 2 arrays of dictionaries and saving user preferences

nhgrif //we have a match, compare name and change if necessary if (![item[@"title"] isEqualToString:userItem[@"title"]]) { //set user's item title to default title [userItem setValue:item[@"title"] forKey:@"title"]; } This sort of code is a bit redundant, and also shows inconsistency betwe...

00:10
@SimonAndréForsberg Hmmm, that answer is actually quite good.
Good in that it describes my feelings about the tags still.
@rolfl It should be good, it's your answer!
May be good if you also feel that way about tags.
It also fits well with the answer I just gave for your question.
and for the same reasons.
At least I don't see any contradictions.
Is it because I have a 'lot' of answers, or because I have a lot more years than most, that I forget previous answers I have given?
@rolfl probably because of the a 'lot'. I also have problems remembering my answers at times.
0
A: Making a tag for a Code Review community project

nhgrifThis question asks about Code Review's own community projects. I think it would be okay to make a tag for these, but I think not simply Code Review's community project. Any open-source project should feel welcome to ask for reviews of their code, and even host official-to-them code reviews over...

00:15
Phrancis is still in there upside down.
@Phrancis Did you give up on the upside-down-fest?
I like my mug!
You are your mug.....
˙os ʎɐs plnoɔ noʎ ssǝnƃ I 'llǝM
you mean all I am truly good at is holding coffee?
00:18
Importantly, for my answer, I don't think a project should have to be "home grown" to earn its own tag... but on the flipside, I don't think that everyone who posts a question about any random open-source-project should immediately get a tag.
> pro·gram·mer (n) An organism capable of converting caffeine into code.
@Lyle'sMug Bad thing? ^^
@Phrancis , I didn't think about it like that....
@nhgrif I agree, and your comments about the wiki are good, but they apply to any tag related to any library, language, etc.
Did someone star that because I agreed with @nhgrif or because tags should be done right always?
Yes.
@rolfl because tags should be done right always
of course I don't look busy, I did it right the first time.
2
00:22
@rolfl That's true, but I think it's especially true for open-source-projects which are clearly going to be less well known than more ubiquitous libraries.
for the moment ;-)
Dinner
Wowza...
Someone just posted a MSO answer which referenced three MSO questions, two of which were mine...
Although, I'm uncertain why he posted an answer at all...
@nhgrif I like both answers on MCR, but especially yours, as your recommendations would help to establish a precedent of Doing It Right™ for such tags
And also give the responsibility of creating and maintaining the tag usage to the project owners/contributors
Right.
I feel like, to a large degree, the people who use and follow the tag should have the largest say in how the tag is used too.
3
Stargreed
00:34
So for example, if we did , that might be explicitly for questions directly regarding the open-source project.
But once if got to the point of mods and stuff, you guys might want the mods for Cardshifter to also be under that tag. Alternatively, it may feel too cluttered, and creating a tag might be necessary.
By the way, everyone just reloaded, right?
1
A: Comparing 2 arrays of dictionaries and saving user preferences

nhgrif //we have a match, compare name and change if necessary if (![item[@"title"] isEqualToString:userItem[@"title"]]) { //set user's item title to default title [userItem setValue:item[@"title"] forKey:@"title"]; } This sort of code is a bit redundant, and also shows inconsistency betwe...

Did we just miss a reload-fest?
Did we just miss a TTGTB-fest?
goes back to writing documentation
00:49
0
Q: Random letter test

Thom Thom ThomMy first test (randomUpperCaseLetter) checks if the returned random letter is an uppercase ASCII one. The second one (compareCharactersWithAsciiCodes) is just me trying to understand Java. package com.company.letter; import com.company.RandomLetter; import org.junit.Test; import static org.ju...

Lol
Title: If my dogs were a pair of middle-aged men :D
01:16
@rolfl @nhgrif @SimonAndréForsberg it seems I missed a conversation about a tag...
Darn, I wrecked VS, it seems.
I installed an Azure update, and now my app won't load.
I personally wouldn't want to see that tag unless someone was asking about their use of our API.
I would burn it myself if I saw it suddenly on all of @Mat'sMug and i's questions about our code inside the project.
Oh. There's a meta.
Uninstalling Azure, and we'll see how it goes.
@RubberDuck opinions on the meta & answers?
Uninstalling everything Azure fixed it, sort of, and cleaning/rebuilding solved the rest.
Installed Unity, now to figure out how to use it.
01:31
You can't earn the Populist badge over a low score answer. You have to earn the Populist badge over an answer with at least +11 score, like a Jon Skeet answer. — nhgrif 1 min ago
Is it bad that I'm going to be spamming that link left and right?
0
A: Making a tag for a Code Review community project

RubberDuckAs a Code Reviewer, I can see the appeal for creating a tag to link these questions together. It's a logical grouping and someone may want to follow this tag. However, as one of the developers and a reviewer, I have a problem with creating a tag for code from the project. If a tag were to be cr...

I do see the appeal... But shouldn't the tag be for the library we're exposing?
I mean, I actually kind of dream about seeing that tag on SO someday, but CR is kind of different.
Maybe it makes sense, but we would almost need two tags if anyone else but me asks about code that uses RD.
Btw. I over reacted. I most likely wouldn't burn it.
The fact you would follow it (or both) speaks volumes.
I would. I have a vested interest.
I'm most concerned with separating questions about the inside from questions about the API.
1 hour ago, by nhgrif
But once if got to the point of mods and stuff, you guys might want the mods for Cardshifter to also be under that tag. Alternatively, it may feel too cluttered, and creating a tag might be necessary.
If you scroll up to that point, you'll see I was suggesting (or trying to suggest), that those who are actually using/following the tag could/should decide how to use it.
If you want/need two tags to seperate the innards from the outards, that seems okay to me.
But I don't think anyone would claim that making a tag for the API would be a problem... we already have those.
@RubberDuck Everyone has a vested interest in something... I have one in on Code Review, and on SO
01:42
The meta is mostly about creating the tag for the innards.
Right, but as it sets a precedent. I'd like to be careful.
At some point I should push JDOM code to Code Review for review, and then, if I do it enough, there would be need for the tag too?
Yes, it should set a good precedent.
But, the "if I do it enough" part is key, and if I can get enough people to agree.
Also, not all open-source project will necessarily have an outward facing API that can be used (and create questions on that end of it)
01:43
You have that.
It should yes, but is it a good precedent to create both a Rubberduck and a Rubberduck-api?
How many questions would you say you'd tag with each, currently?
I mean, eventually if enough questions exist for both, then definitely yes.
The question is, do enough questions exist for both currently?
And if not, do enough questions exist for one or the other individually?
And if so, let's create that tag, and tag only the appropriate questions. Don't tag future might-be questions as , but tag all the questions about the innards as
And additionally, tags are a process, not a state.
there is no reason why the tag cannot be split further when it is appropriate.
That's true too.
consider , which is an umbrella tag, and has sub-tags for more popular instances.
Right now, there's no need for two, but one would be useful.
We don't need to guess ahead to the end goal, just what's good for now.
01:49
Just dropping in for a sec, but does anyone actually know what the code on HackerTyper actually does?
wow...
could you just give me a plaintext version? I'm not tapping buttons all night.
@JeroenVannevel thx.
motherf*
I removed sounds
That ping blew up my ears
01:54
@JeroenVannevel - sorry
It's that big subwoofer you have, @Jeroen
Part of me really hates sites like that that promote "programming is hacking, and hacking is bad" and another part of me really just loves freaking out my friends.
Nice try
I'm in bed with earbuds in my ear on full volume -- worse than the woofer
@EthanBierlein When I was growing up, hacking was still good.
Woah there! I'll chip in on meta in an hour or so
*chime in. Whatever
@rolfl I don't know when you grew up, but I'm assuming it was in the days of good-o'l hardware hacking, and not the days of malicious internet DDOSing and site-hacks.
02:07
@EthanBierlein Don't tll the cops, but there were times when I would drill a hole through 2-cent coins and tie fishing line to the coin, then drop it through the phone-box, make calls, and fish it out afterwards.
@rolfl Prank calls?
Often, yes.
I was in boarding school ;-)
We used to do the Alfred-E-Newman hphone prank.
Oh man, that sounds fun, nowadays when you try to do stuff like that, they just record your call and block your number.
Get many different people to call the same number and say, is Alfred home, can I talk to him?
Of course, there was no alfred there.... but, after a few days of this, you get someone to call, and say:
hey, I'm Alfred, ny messages?
lol
Man it seems like things were a lot more light-hearted back then. Pranks seem so brutal sometimes today.
02:10
In South Africa, at the time, all phone calls cost a lot of money, including local calls.
Is that why you used the coin trick?
You couldn't afford to prank call people unless you were a kid, with an unlimited supply of coins.
yeah.
Also, you were kids in boarding school, 500km from home, and, you would 'dutch call'.
Sorry guys. I got pulled away.
drop your coin in the box, phone home, let it ring three times, hang up.
then pull your coin back.
by the time you got your coin back, you parents woul dcall you back too.
Lol, anyways, I gotta go, see y'all
02:12
Night
0
Q: Simple and safe file reader for C

dev_nutAs an exercise to improve my coding ability in C, I have attempted to write a simple and safe file reader. I believe this should be portable as well to major platforms(correct me if I'm wrong). For simplicity's sake I assume the file will fit in memory which is mostly true for my usecase.(Note: I...

Any Unity users here?
Ohhh..... As in ubuntu?
I've got the jist of it, I think (I hope!), but I have one question.
No. MS Unity IoC.
How to install xfce?
Oh, OK.
I'll shut up.
actually, go to bed.
02:14
Night.
I don't think anyone is around now, maybe tomorrow.
NVM, let me check something first.
0
Q: n-digit Verification Code Generator

philipjkimThis is a verification code generator, which generates n-digit numeric strings. (code can be 0000, so I chose String as a return type rather than Int or Long.) It'll be great if anyone review this code and suggest more elegant or scalaish solution. import scala.util.Random object VerificationC...

02:58
0
Q: Execute GeoDjango query from multiple rows of data and read it using AJAX

Sachi TekinaFor now this is my code, I used AJAX to read the result of my query. function e() { $.ajax({ url: "tbl/", dataType: "json", beforeSend: function () { $("#info_tbl").show().text("Getting data from server...Please wait.").addClass("getme") }, ...

monking!
@Mat'sMug Do you know Unity?
I'm a mite stuck trying to register my types.
OK.
You use Ninject, or what?
@Mat'sMug Would you mind specifying what I should have in my App.xaml.cs?
Ninject, yeah
03:08
I found some things I should customize, but what were you thinking of in particular?
the app's entry point is the ideal spot for configuring your IoC container - setting up your composition root.
Well, I found a Windows Store app example that using Unity.
so that's where you create and configure your container
I'm basing most of my stuff off that.
I see.
the IoC framework is irrelevant, the concepts are identical
03:09
I'm not sure whether to register an instance or a type.
I have a single IApplicationSettingProvider interface.
I have three settings based on that.
one key concept is that you cannot do dependency injection halfway
you gotta go full-blown, or not at all
I registered an instance, but I can't seem to get it out anywhere :(
@Mat'sMug So I'm finding.
who needs an IApplicationSettingProvider?
put it in its constructor
then that concrete type has an interface, and is probably a dependency of another concrete type
I did, because everyone told me to use an interface and derive my static class off it.
static doesn't play well with DI (or OOP in general)
03:12
I have nothing static.
Everything is instance-based.
so your app.xaml.cs is your entry point. you'll want to use that only for composing your application (SRP)
Well, I have one question.
Why don't I just create public fields of my settings there that I can access from any page?
the idea behind DI is that you inject the dependencies
03:14
OK.
so that you can control them from the outside
OK, so it is like an instance of an instance?
any time you new up something, you create a coupling between the types
But don't I want just one instance of my settings?
Like, why create two?
sure you do
you create only one
03:16
And, I don't want them static.
but you are not the one creating it
think of inversion of control as turning "instantiating objects" into a concern of its own
and that concern is completely handled by the composition root
OK, so let's say I have my inversion of control set up.
Now, how would I use that one instance of my settings from my multiple pages?
I need to pull the data from the instance and stick it into my VM to interact with the UI.
say you have 20 types that need an ISmurf, and you only ever want to have 1 instance of a Smurf
then you make every type that needs an ISmurf receive that ISmurf as a constructor argument
But I have only one type - a static partial class Something : Page.
And, I cannot pass constructor arguments to my pages.
yes you can
the designer wants a parameterless constructor. your app wants to inject the dependencies
I personally don't care for the designer, but if you really want to you can have a default constructor with a comment that says // for designer
03:20
So I do I bypass the parameterless constructor block?
you don't bypass it, you chain it
Chained constructors?
yes. your parameterized constructor calls the default one
now, I was getting to the static/singleton thing
03:22
OK, I get that now.
So, where does the constructor get this data from?
If the constructor can get it, can't I just set up a field in my VM directly?
if you want every type that needs an ISmurf to always receive the same instance of a Smurf, you configure your IoC container to bind ISmurf to Smurf, and add a lifestyle configuration such as .InSingletonScope() (well that's how Ninject has it), which instructs the IoC container to always inject the same instance.
you never call a constructor directly
the IoC container calls them
Oh, so that is what the lifetime thing is.
OK, dishes time.
later!
03:27
Will work on this tomorrow.
Thanks for the help.
no problem, anytime!
04:08
0
A: Making a tag for a Code Review community project

Mat's Mug Disclaimer: I own the Rubberduck project's GitHub repository. Should we create a rubberduck-vba tag? No. The project's name is "Rubberduck", so the tag should be rubberduck. Okay then. Should we create a rubberduck tag? I'm biased, but I'll say yes, and @rolfl's answer says pretty much ...

@rolfl you here?
04:19
@Mat'sMug I like that a lot
Francis-Veilleux-Gabourys-MacBook:cardshifter francisveilleux-gaboury$ git commit -m "MOAR DOCUMENTATION"
I think that's enough documentation for one day. I might fire up a videogame for a bit and then just crash
Hello @EliasBenevedes
0
Q: Node.js - Asynchronous JSON query (probably easy fix)

user3642365I apologize if this is a stupid question, but I am new to Javascript and Node.js really hurts my head because it is asynchronous. My goal is to query for a JSON object from an API and be able to work with it. I have tried to look for questions and answers on what I should be doing but none of it...

04:36
Welcome to Code Review. Does your posted code actually work? If so, are you looking for an explanation of why or how it works? — Phrancis 16 secs ago
> I'm biased, but I'll say yes, and @rolfl's answer says pretty much everything I'd have to say about why - I'll only add that having this tag will allow me to stop having to introduce and link to the project's website/repository every time. It seems to be community consensus that there's a place for this tag, and I'll happily create it with my next post, and author a detailed wiki for it.
04:59
My code currently does not work, it stalls and then returns an error in Terminal: {"status": {"message": "Service unavailable", "status_code": 503}} — user3642365 3 mins ago
0
Q: Asphostportal IIS6 vs IIS7

marqueezI have two shared accounts at asphostportal. One uses IIS 6 and one uses IIS7. On both I have websites in Classic ASP. On the IIS 6 account, when I make an error in code and upload it then try to access that page, I get an error message that looks like this: ================= Microsoft VBScri...

I'm reading the entire Unity guide. Learning a lot.
See you later, past midnight.
asphostportal might be the worst name of a thing ever. Except perhaps onomatopoeia.
05:19
monking @all
@chillworld monking
how are you?
Good, going to bed soon. Wrote documentation today :D
@chillworld How are you?
fine, preparing some courses what I have to give 20-21 may
@chillworld Oh, are you teaching the courses?
05:32
It's a side job, you know I'm pretty familiar with ZK framework
And ZK has asked me to give sometimes courses for them through webbex
That's cool :)
So, why not ;)
Hey... educate some people, maybe make a bit of money doing it; sounds all good to me ;)
@Phrancis <s>maybe</s> make a <s>bit</s> of money ;)
damn, how do we do strikethrough
so it should be : and make easy money ;)
it's pretty good money for the courses but the preparation isn't paid
@Phrancis thx for the edit ;)
--s--
s
ah found it
I should watch the help file first instead of googling ^^
@Phrancis you made a little mistake with the code tags. package private is different from package private
package private is putting no modifier. private is the modifier private
0
Q: Exploring the Code Explorer

Mat's MugThe Code Explorer is a dockable toolwindow that displays a TreeView that shows all opened VBA projects and their respective modules, but unlike the "native" Project Explorer, Rubberduck's explorer also drills down to individual module members, and allows quickly navigating them: While it looks...

05:48
@chillworld My apologies
Yeah chat doesn't support HTML. Kind of wish it did, but then again, it would probably be a mess if it did
<font face="Times" size="64pt" color="red">This would be absolutely obnoxious</font>
@Phrancis no problem, I make more mistakes in sql then you ;)
I make lots of mistakes in every language :)
lol, me to ;). Look at mine English ^^
@Phrancis why you put red as color, isn't it fancier to put chucknorris as color (is also red)
-_-"
The hoops one would have had to jump through to get color="chucknorris" as a legit color...
Perhaps I under-estimate Chuck Norris fans.
TTGTB
06:08
@Phrancis sleep well
Monking @all
hi! TTGTB here... bye!
0
Q: backtracking using stacks (non-recursive)

InnZaayynnThis is a code using stacks to output a permutation of N numbers from 1 to N: #include <stdio.h> #include <stdlib.h> #define N 3 int main(){ int start, move; int nopts[N+2]; //array top of stacks int option[N+2][N+2]; //array stacks of option int i, candidate; move = start =...

06:42
Monking all
@Phrancis There's a SO post about that:
2345
Q: Why does HTML think “chucknorris” is a color?

user456584How come certain random strings produce various colors when entered as background colors in HTML? For example: <body bgcolor="chucknorris"> test </body> ...produces a document with a red background across all browsers and platforms. Interestingly, while chucknorri produces a red back...

hey @Mast
07:15
@Mast I know, that's why I told him that ;)
07:28
0
Q: Inverse mapping of a dictionary - python

overexchangeFor the below question picked from here: Write make inverse dict(d) that returns a new dictionary with the ‘inverse’ mapping. The ‘inverse’ mapping of a dictionary d is a new dictionary that maps each of d’s values to all keys in d that mapped to it. For instance, >>> d1 = {‘call’: 3, ‘me’:...

@Mat'sMug a Singleton is probably not the right choice to make...
I think what you want is a facade over your parser, that's a de-facto singleton by operating on a static Parser instance.
08:29
Monking
monking @skiwi
0
Q: Event handler has dependency on call order

hellboyOn WinForm there is TreeView control. In AfterSelect event is private field selectedFolder updated. For event OnKeyDown for Delete key is event handler implemented that interacts data access layer : selectedFolder is passed as parameter to method DeleteFolder. The selected node of TreeView is a...

08:47
Monking @skiwi
0
Q: javascript void

NatI constantly get javascript void with particular sites I used to have access to . Can you tell me how I can get rid of this. I have updated everything and have tried opening it up in Chrome. But no luck.

@Captain Off-topic. There's no code included and his problem appears to be broken code.
09:04
0
Q: More explanatory Quicksort implementation

G. SamarasDuring my first years in uni, we had to implement sorting algorithms ourselves. As a result, I had implemented a naive Quicksort. I thought that it would be easier to find it from my pseudosite, rather than my old projects (because as the number of projects I was writting increased, the more diff...

09:27
@mast what you think? reopen or not
code looks a little differtent but, doesn't look like to solve his bug what he spoke about
but again, python isn't mine language so I can't really be sure
If it solves the bug, it's good. If it doesn't, it's still off-topic
@Morwenn states it should be re-opened though
I'm not a fan of constructs like he's using in Python, so I'm not sure what to make of it
It could definitely use improvement, that's for sure
well, let's open then
If you're not sure, you should skip it
But hey, we can always close it again if need be
We get what, 50 questions a day?
30?
no idea
This isn't SO where you get a question every 5 seconds
Voting there is different from voting here
09:37
SO has a lot of idiots who thinks they are "the best" and if you shoot one meter above there head, they are deadly hurt in there ego. Here the ego is a lot smaller and people are more friendly.
09:48
0
Q: Redirect standard I/O

simplicis veritatisI successfully redirect std I/O using the following functions: Checks if input/ output file has correct format/extension: bool isFileName(const string& file){ if (file.size()<4) return false; static vector<string>fileExtensions; fileExtensions.push_back(".txt"); fileExtens...

I think i have some answer on a question you should look at
6
A: Zk how to pass parameter from java code to zk page?

chillworldYou can do this : HashMap map = new HashMap<String, String>(); Boolean isManufacturing = true; args.put("isManufacturingKey", isManufacturing); map.put("isManufactringChecked",workflow.getEmergencyChange()); Executions.createComponents("/myZul.zul", null , map); create this controller : pu...

you have to read everything and look what's the accepted answer
Darn, the accepted answer should be burned.
indeed, I try to explain why not do that way but he doesn't want to listen
Your answer could be better though
It's hard to follow
There's no 'This is why you should do this', there's only 'do this'.
that's possible.
in the comments I explain why it's better to do it there
0
A: How to apply css selector in ZK

chillworldYou just have to use the sclass attribute so your css is applied with the default css. <style> .bold{ font-weight: bold; } </style> <grid> <columns> <column/> <column/> </columns> <rows> <row> <label value="${labels.personal.name}...

do I love ZK ;)
10:03
Those comments are very minimalistic
Anyway, back in an hour or so
k smakelijk ;)
0
Q: Dynamically sized C array

jackwilsdonI've been working in C for a while and have decided to implement my own dynamically sized array as an exercise and to actually be used in a project. I have also written Doxygen documentation for the library, which I have removed from the code here for readability. You can find the full code with...

@rolfl a question, can you see who put downvote on a specific question?
10:37
monking @nhgrif
Hi.
@chillworld No.
mods also not?
0
Q: Argument over performance using Convert.ChangeType in Web Applications

VeverkeA debate has been going on at work about using Convert.ChangeType. A couple of fundamental assumptions to this discussion is delineated below: 1. The discussion is within the context of web applications. 2. The types to which I want to perform casts are primitive types. Now, to the argument it...

Why do you want to know who downvoted? It's not important, really.
@chillworld You got what, 2k? What's one point?
4k
10:50
@mast it's not about the 2 points. but 2 downvotes on questions in 3 days (while in all the time I never had one) on 2 different questions get's me a feeling that someone is targeting me, and play's it smart.
@chillworld Only if the downvote was from me.
If you suspect a case of being targeted as part of a "grudge", then I can ask the CM's to investigate.
@chillworld thanks for the checkmark ;)

« first day (733 days earlier)      last day (3582 days later) »