« first day (842 days earlier)      last day (3474 days later) » 

11:02
@Quill Tempted to mark as spam
@IsmaelMiguel Well, it's a library that replaces the purpose of the whole code, so that might not be so bad.
Still tempted
@IsmaelMiguel Same here.
But NAA fits better.
That's what I did
There is no block like: if (()number1 >= number20)Quill 34 mins ago
Consistent spacing. Sometimes you have spaces after your if statements sometimes you don't. I prefer personally spaces. I can't see any instances of extraneous lines after if statements. — Quill 35 secs ago
11:16
@Quill I can't either
@Morwenn - At a wedding on Saturday these folks were the entertainment..... For some reason I figured you would like to increase their youtube view-counts......
> -"Raw" - Bald guy from Germany
@rolfl On a wedding?
Zak
Zak
Does Captain Obvious pick up every new question?
That's unexpected.
@Zak Yea. It's the feed.
Zak
Zak
11:23
is it supposed to be instant?
@Zak No.
It's on a timer of sorts.
So it can take between 2 seconds and a couple of minutes.
Which is also why it sometimes brings 5 questions at once.
@Zak Maybe, yes
But it's a bit slow
Zak
Zak
ah okay, cool
-1
Q: What is wrong in this code?

user132458I am trying to solve this problem. Here is my code. #include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX 105 int max(int a, int b) { return a < b ? b :a; } void str2int(char* s, int len, int* a) { int i,j; for(i=0, j=len-1; i<len; i++, j--) a[i] = s[j] - ...

0
Q: Filtering and aggregating data from a multi-Worksheet Workbook

ZakFirst off, this is version 2 of a previous question about the same macro: Previous Version. Thank you to Raystafarian, RubberDuck and everyone in chat who helped me make it better. The Macro accesses a workbook containing 8 worksheets each with similarly structured but not identical tables of da...

2
0
Q: I want to shorten this code as much as possible - window timeout alert

MathematicsI have this code here, (function () { // timedRefresh(10); //3600000 delayedAlert(); var timeoutID; function delayedAlert() { clearAlert(); timeoutID = window.setTimeout(slowAlert, 10000); } function slowAlert() { alert("You may have been logged out ...

on a related note...
11:24
@CaptainObvious Burn, broken.
Zak
Zak
@CaptainObvious needs a new title
@CaptainObvious Shameless Plug :)
there's basically only function calls
@rolfl That's funny enough ^^
@CaptainObvious It reads like a feature request, the feature being shorter code.
@Morwenn Their style is certainly energetic, and their stage presence is very entertaining. We were there with the kids, in very rural ontario, at a remote camp site as a wedding venue. I am not sure how it worked, but it really was very appropriate, and good.
11:29
To be specific, I "Refactored Mercilessly". The order of operations is roughly the same and the initial "GenerateReport" sub doesn't look much different, but everything else is entirely re-done. — Zak 1 min ago
Don't put it in the comments, put it in the question.
Comments aren't meant to be forever.
Something about having a "full pig roast" on the back of a truck, an alice-in-wonderland theme, and an open bar, 50km from the nearest town, (town, not city), and it all just worked together.
@CaptainObvious RBA after 3 downvotes.
@rolfl That's an oddly interesting combination
My wife is a redneck, and family events are always entertaining ;-)
@Mast and closed.
11:33
@CaptainObvious Am I the only one who thinks this is off-topic?
2
Q: Is "You're doing it rong" a review?

Emily L.This question sparked a thought in me. To me, the author is not doing this for exercise (not tagged with reinventing-the-wheel and no mention of the sort) so I assume it is done for production. I happen to have some experience with LibGDX which the author uses, enough to know that the library c...

Zak
Zak
@Mast It's certainly unclear what they want feedback on
@Hosch250 hi how are you
@rolfl Oh...
how can i update longitude and latitude in the database
@Hosch250 hi hosch sori for late reply
11:38
@AsimAbbas I haven't seen Hosch the last couple of hours.
:23631604
Please, stop spamming Hosch
@Quill It's gone now.
Zak
Zak
It felt really good being able to write this :) "Good Sign: It went from an order of magnitude over the character limit to under it :)"
@AsimAbbas Let me just say this straight out: The 2nd Monitor is not a help center to get help with any programming problem you might have. Do it the proper way, try things, search google, break the problem down, and ask a specific question on Stack Overflow.
5
11:43
Thank you! I wanted to say those words but I would sound like as a$$hole
@SimonAndréForsberg I want the possibility to flag chat messages as 'help vampire'. But it would probably get shot down on MSE.
I sense a feature-request
@Mast meh. if no RO is around, first tell the user to stop
if they don't stop, ping a RO
if you are through all ROs, go flag for mod attention and explain the situation
@Mast The correct action of 'help vampire' messages is to write them a message and tell them how to properly approach things, not deleting their message.
alternatively if they are spamming, then flag all spam, for 10k people to understand the situation with as little context as possible
11:46
@SimonAndréForsberg True.
I was going to expand on my proposal, but it turned offensive pretty fast.
@Mast Same problem here
@SimonAndréForsberg Don't hit the vampire with garlic, give them some red cordial, and tell em where to get the blood
get the vampire into a rehab center
11:51
:P
@Vogel612 Trick question: Should the vampires be supervised by humans or by vampires?
often enough they stop bugging you, and sometimes surprisingly often they become useful members of the community
@Quill Kill the vampire.
@skiwi obviously werewolves
@Vogel612 I'm glad you have more hope in humanity than I have.
11:52
that's not hope in humanity.. I've seen it happen
Monking :-)
Greetings
Zak
Zak
Monking
The misspelling of "wrong" as "rong" is obviously intentional, but I must admit it just looks wrong to me! Is there a reason for it to be spelled "rong"? — rolfl 17 secs ago
TTGTW
Pro tip: Never set your sound notifications to "visible room". God, that was annoying.
3
HI @ROLFL!
2
12:07
@SimonAndréForsberg That's life-changing advice. Thanks. Now, I'm paranoid...
7
Q: How to preserve the remaining trolls?

user6760During the early medieval age, the population of trolls is declining. These are savage creatures who aren't as cunning as humans, and not only are we part of their diet, humans are in fact their only source of food. An adult troll is about ten times as large as a mature human but half as agile. ...

Oh, wait, no. I already was apranoid!
Stack Exchange, one of the few places in the internet where questions about feeding trolls can actually be on-topic.
6
Zak
Zak
12:24
does anyone know when @RubberDuck is usually online?
It's less internet slang than it is racist slur toward eastern countries: urbandictionary.com/define.php?term=EngrishQuill 2 mins ago
@Quill it is? I've never used engrish in a racist manner...
Zak
Zak
I hadn't even noticed people starred my question :) you guys are awesome
@DanPantry opinions on linguistic meanings differ, but, its use in that meta question is pointless
Regarding your observation about the InvalidCastException, it falls under the Bonehead exception category: "That argument is null, that typecast is bad, that index is out of range, you're trying to divide by zero – these are all problems that you could have prevented very easily in the first place, so prevent the mess in the first place rather than trying to clean it up." — dcastro 57 secs ago
lol
I'm surprised this question doesn't have more answers
3
Q: Scissors: A fluent API for manipulating lists using the familiar copy-cut-and-paste

Emmanuel RosaWhat I've hastily named the Scissors API brings the cut-copy-paste paradigm made popular by word processors to the realm of list processing. The Scissors API is fluent, provides methods to manipulate a list, and maintains context through the use of a customizable clipboard. An example: Fixing Yo...

I needed 4 more revisions but I finally figured out why throw statements aren't allowed!
10
A: Why can't I throw exceptions from an expression-bodied member?

Jeroen VannevelThis happens because the first two code snippets (5 and Console.WriteLine) are expressions. More specifically these are respectively NumericLiteralExpression and InvocationExpression. The latter one (throw new Exception()) is a statement -- in this case: ThrowStatement. If you look at the Rosly...

(for the C# folks)
12:38
highly voted self-answer, nice
From article:
>Boneheaded exceptions are your own darn fault, you could have prevented them and therefore they are bugs in your code. You should not catch them; doing so is hiding a bug in your code
@JeroenVannevel I guess we have a new Eric Lippert!
But.. but I preferred the Lippert one..
@skiwi no you misunderstood...
Jon does Java...
C# is just a hobby :)
Double ninja-edit then...
12:40
@JeroenVannevel you got too much upvotes to be Lippert.
Lippert and a half
@Zak Usually around now.
He was around half an hour ago.
Zak
Zak
Cool. I really want to show off the progress I made with my refactoring :)
SHhow off is perhaps not the right sentiment
Self-answering is a valid form of answering here, (if you're talking about a SE question)
Zak
Zak
something more along the lines of "my-code-is-so-much-better-I-feel-like-10-times-the-programmer-I-was-a-week-ago-‌​THANK-YOU!"
12:47
Would be nice to see the working snippet in this answer. — Stefan Steinegger 30 mins ago
@JeroenVannevel ^^ obviously didn't quite read the answer
lol yeah
"It can't be done"
"So can you show how it's done?"
Nice Q&A there
0
Q: HTML to Markdown converter

ᔕᖺᘎᕊI've made a simple HTML→Markdown converter in Javascript and am looking for any feedback. For now, I've basically used Stack Exchange's /editing-help as a guide as to what to convert, but I might look at CommonMark's spec later on. It uses DOMParser() and then goes through the child nodes to con...

Thanks! I'm pretty proud that I managed to discover the language design decisions for not allowing it on my own
One step closer to becoming an expert
@Zak I'm always online. Just not always in chat. What's up?
Zak
Zak
12:53
@RubberDuck I was hoping you could take a look at my re-written code and tell me what you think
hmm... something's off...
Greetings (again)
If anyone has any constructive criticism for this question I'd appreciate it.
@EBrown You're still not using auto-properties
@Zak I might be able to, but it won't be soon.
12:57
Por qué no?
BTW.WasteOfTime
@Vogel612 What is it?
@RubberDuck Meeting?
my code stopped working,..
@JeroenVannevel I actually did move some of them to auto-properties, after I posted that question.
and I have no clue why.
12:58
I'd edit it, though it might be considered an invalid edit.
Javascript?
Zak
Zak
@RubberDuck Okay, thank you. Do you know anyone else who might be willing if available?
nobody answered that aspect yet so you can change it
It would help if you could update whatever you have already
Alright, I also converted all the _PascalCase things to _camelCase.
I don't like wasting time
Now we're talking
12:59
I did both of those after it was posted...lol
Soon you'll start using braces as well
Why do people use _fooBar instead of this.fooBar ;-;
_privateVar
publicVar
@DanPantry Because local parameters are fooBar.
@IsmaelMiguel I know what the convention is, but I don't get why it is used
13:01
In C# I use: private field _fooBar, public property FooBar, local parameter fooBar.
You never have public variables, you'd have properties
@DanPantry To easily identify them. Since you can write fooBar and you don't know which one is it.
local parameter one makes sense, but I just prefer this. rather than prefix with _
So, using _fooBar for private fields allows you to easily tell it's a this. field.
this. explicitly says "this is on this object" instead of relying on code convention to point it out for you
Hello @IntensifierDescriptorMan
13:02
Yeah, but the new conventions are recommending eliminating this.
be nice, and go play holy war somewhere else, will ya?
2
@JeroenVannevel Question updated.
Making modals to confirm user's actions is so.... boring..... I mean, It's fine if I don't confirm a irreversible delete, right?
The efficient way is to start coding, then ask your question if it doesn't work. If it works and you're not sure it's efficient, you can opt for code review instead. — Mena 55 secs ago
13:07
@IntensifierDescriptorMan Sure, as long as you don't verify input data either. ;)
@IntensifierDescriptorMan why do you have an irreversible delete in this day and age anyways?
also be glad it's modals.
@EBrown And use root with an hard-to-find password, like password
that's a huge improvement over confirmation pages
Yeah, he is right
Imagine a giant a$$ page just to say "I want to delete"
Yeah, this is the fanciest thing I've made so far. So much Javascript. I love how it's looking. Older version had a delete page.
13:09
@IsmaelMiguel We use them at work.
Because IE7/8 + Modals != success.
Come on...
You can get a simple dialog
Not with the options I need for work.
May I ask what options?
Or it is secret?
Government stuff.
13:11
Secret then
We have specific government regulations that force us to do certain things in certain ways.
And a lot of them.
@EBrown You're f*cked!
Greetings, Programs.
Greetings, Stargazer
0
Q: Add an html code tidbit dynamically through button or keypress

CluelessThe code at the bottom will insert a form block that works as an invoice line generator overall. I would like to be able to add lines in between already saved and generated lines, but do not know how to proceed to do so. Does anyone have any ideas? Here is an example of what I want to do : Ge...

13:26
@EBrown off-topic, asking for help writing unwritten code
Thanks, @IsmaelMiguel. Fixed now
-1
Q: Add an html code tidbit dynamically through button or keypress

CluelessThe code at the bottom will insert a form block that works as an invoice line generator overall. I would like to be able to add lines in between already saved and generated lines, but do not know how to proceed to do so. Does anyone have any ideas? Here is an example of what I want to do : Ge...

@Quill You're welcome. I've told that user on previous answers to declare the variables in the bloody loop. He ignored it always.
@EBrown I personally would prefer that you implement changes suggested from previous reviews before you post another question. I don't want to offend you, but it is somehow boring to bring the same stuff up for each question like for instance autoimplemented properties etc.
reminds you of the good old times of JDQ..
> I'm looking for general review and best practices
@IsmaelMiguel perhaps it's always buried in your always exceptionally helpful other comments
13:30
Monking
hey @Malachi only 198 rep to get
@Heslacher Unfortunately you cannot always use auto-implemented properties.
Especially in struct types.
Which is why I branched away from it.
@IsmaelMiguel these are huge
@Vogel612 They are.
13:32
@CaptainObvious still needs some CVs
@Heslacher I am working on it!
of course I have a house to sell, a job to get, and a home to pack, all within the next 4 weeks along with other things.... lol
@Vogel612 Hammered down!
-1
Q: Paging in WPF applications

kanisun krishnanPaging control are used in WPF application.This control are used in MVVM design pattern.This controls are used in datagrid..

Yeah @IsmaelMiguel. Daily stand up.
@RubberDuck ?
13:36
@IsmaelMiguel listed first != !buried
Still don't get it
@Zak there's a reasonably healthy community around these days. Good questions in that tag don't go unanswered. Someone will come by eventually.
@IsmaelMiguel you asked if I had a meeting.
@RubberDuck Oh, I got it. Yeah, you're screwed. Any more today?
Defining variables in the loop has no practical advantages, since all variables are function scope anyway. — Greg Burghardt 2 mins ago
Defining variables in the loop is a good way to denote their usage for the loop, rather than externally to the loop, although their use may extend after the loop. — Quill 14 secs ago
Not today.
13:38
@Quill You're kinda right. But I kinda set my foot away when I see the same user doing the same mistake 3 times and then still says he didn't knew about the right way!
@DanPantry I don't get it either. I like the this keyword, but I use the underscore anywhere I'm working with a team for consistency's sake.
@Heslacher, it's best to avoid tagging with custom reasons unless absolutely necessary, the datagrid one probably could've been tagged with 'unclear what you're asking'
And yeah, even non- users are writing reviews, these days.
@Quill which question do you mean. Link please
-3
Q: Paging in WPF applications

kanisun krishnanPaging control are used in WPF application.This control are used in MVVM design pattern.This controls are used in datagrid..

@Quill There the custom reason is IMHO legit
13:47
'unclear what you're asking' would've been fine
"Unclear what you are asking" doesn't fit here, because there is no code in that post.
brb
@Heslacher Blatantly off-topic?
Broken code would fit, since there is none.

« first day (842 days earlier)      last day (3474 days later) »