« first day (1186 days earlier)      last day (3790 days later) » 

user41796
2:28 AM
@WorldEngineer - a whole 7 minutes to shut that one down? You're not going to win any mod-twitchy-finger contests that way.
 
user20683
@GlenH7 chatting with girlfriend is a hardware interrupt.
2
 
user41796
I won't make any comments regarding performance then….
 
2:40 PM
free spam flags...
-4
A: Mono is frequently used to say "Yes, .NET is cross-platform". How valid is that claim?

Ivo MilanovMono is as cross-platform as it helps you run C# code on the main Operating Systems. The problem with Mono is that it does not provide a productive cross-platform UI, which is however valid not only for Mono but for the Microsoft .NET implementation as well. That is why .NET is not Java yet - C#...

 
 
1 hour later…
user55340
3:47 PM
That assembly speaker question, until he give the info about the machine I wanted to answer it with:
 
user55340
10 FOR L = 770 TO 790: READ V: POKE L,V: NEXT L
20 DATA 173,48,192,136,208,5,206,1,3,240,9
30 DATA 202,208,245,174,0,3,76,2,3,96
40 POKE 768,F: POKE 769,D: CALL 770
 
user55340
(which is how to do it on the Apple II)
 
user55340
4:23 PM
@gnat hmm... wonder how that question about package stuff is going to go. I was far too committed to writing an answer when I scrolled back up and saw the '2 more answers' when I was about to hit submit.
 
@MichaelT as far as I can tell, save for a few minor sidesteps, it is a dupe of the question I referred in the answer...
47
Q: New to TDD. Should I avoid private methods now?

pupI'm just now learning TDD. It's my understanding that private methods are untestable and shouldn't be worried about because the public API will provide enough information for verifying an object's integrity. I've understood OOP for a while. It's my understanding that private methods make objects...

reasoning appears to be primarily based on a premise that is covered in answers to above question
 
user55340
Testing really wasn't a concern back in the Java 1.0.2 days. Junit wasn't written until a year later (the early days of things moving really fast).
 
user55340
Heh...
 
user55340
> Kent: "We could have said there's a new generation of testing tools, we'll let them have the field. But our commitment is to provide the simplest tool we can imagine for developers writing tests, and we accept that responsibility. We thought we were just programming on an airplane.
 
user55340
 
user55340
4:30 PM
It used to be so simple...
 
@MichaelT yup, design considerations put all the modifiers in the right perspective when one ignores modern approaches to testing (as it was back then). But funny thing is, it's still not a reason to drop private access completely as OP assumes and this is covered well in the "probable dupe" question. simply put, progress made in testing approaches left that old perspective intact
 
user55340
Private still has its uses... and I use it a lot. 99.9% of all my fields are private because other things in the package have no business accessing the fields.
 
user55340
Now methods... thats another story. Being able to ask about the innards or call them, that's not a big problem exposing to the rest of the package.
 
user55340
Another example of default being used - HashMap grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/… has lots of package level so that HashSet can use them.
 
@MichaelT sure. and when you extract method purely for structure and readability, even though it is used just once, it's a 100% guarantee it can be done private without any impact on testability
 
user55340
4:40 PM
As I mentioned, the fields are 99.9% private. Often I have private methods too and those are tested by calling the public interfaces to them - because that is what is exposed.
 
user55340
But then, we're getting into unit testing philosophy there...
 
5:13 PM
@MichaelT philosophy-shmilosophy. :) One of my favorite exercises is to study gaps in code coverage - that is stuff that hasn't been covered by tests. Really fascinating stuff after one learns what it is about, a royal road to discover interesting problems and solutions, including inventing testing scenarios that drill into private methods...
...these very scenarios by the way often give good indication whether it's worth to compromise encapsulation by dropping private modifiers. Other interesting stuff included too, like discovering bugs in spec / design... pretty cool stuff, detective kind of work
 
user55340
It is great to hit the inner methods and make sure they work through package level access. It is also interesting to see what is hard/impossible to hit through the public methods.
 
user55340
@gnat The question there (the dress for interview question) boils down to should we migrate dups to the other site? The answer is yes in a three fold way - first, we should migrate them to make a pointer for our users that "these questions belong on this other site" and secondly to provide an answer to the asker, and lastly to provide a link to the proper dup on the other site (that will get auto cleaned up if people don't answer it in awhile).
 
user55340
It isn't for us to decide if it is a dup on the other site, and we can't cross its dup. The tool we do have is migration. If they feel its a bad question: why did they answer it, and they can still delete it through 10k tools (lower threshold there).
 
user55340
It is a valid question, it isn't entirely crap, it is on topic on the target site... why not migrate it?
 
@MichaelT I was only concerned by their negative reaction on that question and that it was brought there in a bad shape. It's our luck that someone there eventually recognized a dupe, and they voted accordingly. In its initial shape, as it arrived there, it had good chances for a "rejected" kind closure
 
user55340
5:29 PM
As an aside, I did follow that migration... and I think I had the first dup flag on it.
 
@MichaelT oh man so you are our savior there and things were indeed more or less under control. Thanks! I am all for throwing valid "outside dupes" over our cliff :)
 
user55340
 
user55340
The migration is for the asker and the community - the asker to get the question to the proper site (and hopefully properly redirect answers there in the future) and the community to know that this belongs somewhere else.
 
user55340
It avoids the "but this is a problem that programmers face" things that show up on meta.P.SE because its shown that it can be handled correctly on the other site.
 
user55340
(mwhawhawhaw!)
 
user55340
5:37 PM
@MichaelT not much I think, I am a newbie to assembly language also. In the middle of my study I got this idea. I need a fast grasp. Will looking forward for your sites above, thank you — user2298766 4 mins ago
 
user55340
He doesn't realize I was sending him down a rabbit hole of learning and discovery. It won't be a fast grasp at all.
 
user55340
(I will point out that the "but this is a problem that programmers face" - if it isn't on topic on the other site is impolite as it shunts the problem to another community and gives the asker a bad experience - but if the question is a dup, it is on topic on the other site and thus this shunting shouldn't be an issue...)
 
user55340
@gnat is the data for this 1 day? or what range?
 
user55340
9
A: Regarding the Stack Overflow close review queue

gnatBelow request for data has been posted per discussion with Shog in comments I think having more data about reviewers would help to better understand what goes on. Specifically, it would be useful to see sort of "histogram" showing how many reviewers performed certain amount of reviews, like 200...

 
user55340
(not that you would necessarily know... you might though) - it might be more interesting to look at a normalized day view (average reviews per day by people with this many reviews over the course of 1 month) rather than a sum of "people doing reviews over the course of 1 month".
 
5:57 PM
@MichaelT my understanding is, this is a snapshot for a particular day. There's JSBin link there "Raw Data" that is written in a language I don't know (it says Javascript), but has recognizable array of constants (var values) that seem to be used to generate histograms (via var bins)
 
user55340
Hmm... I still think a "average over time" would give a more complete picture. That said, they're getting lots of people who do one review, but have trouble getting them to be part of the community / taking ownership for the site.
 
user55340
4
Q: How to get more people doing reviews?

MichaelTWe're nowhere near the point of Stack Overflow with (at the time of this writing) 65.9k questions in the close queue. I've noticed an uptick in the queue of people flagging questions. In a batch of 20, I often see a question that is not an audit that has no votes on it - this is from a flag. T...

 
@MichaelT I drafted a preliminary analysis there, will see how it flies...
> Sharp drop at 10-50 likely indicates that many users find it difficult to work in review queue. Drop after 250 (silver bagde) suggests that even after substantial amount of reviews, many users still fail to discover a way to work productively (filtering 1, 2, 3). About half of ~500 users who have gotten golden badge at 1000 reviews indicated an interest to continue using queue even without badges.
overall I feel like SO queue dynamics differs too much from that at Programmers. Here, one might find it difficult to get to silver / gold reviewer badge. At SO, when one knows how to filter, it's as easy as it gets
 
user55340
We can keep it under control for the most part, and occasionally have the evil mods come in and completely empty the queue.
 
@MichaelT yup, and that leaves little room for badge-driven motivation. At SO things are much different
"freaking easy golden badges..." - for comparison, Electorate badge is harder than CV Steward (assuming filtered queue), but even Electorate gets 3-4 users a day, against 1-2 for CV Steward - why? — gnat Jul 20 at 12:45
 
user55340
6:12 PM
Hm... 99.6k - when will they hit 100k?
 
6:23 PM
@MichaelT today or tomorrow I guess. Recent related activity of SE team at MSO (I saw Shog, Jarrod, Anna) may be interpreted as they would prefer to make sort of a statement / proof that they worry
 
user55340
6:35 PM
@gnat btw, how did you like that meta git question?
 
6:53 PM
@MichaelT I simply loved it. you know, low quality of git posts has been worrying me a lot...
Oct 25 at 18:27, by gnat
@MichaelT I was trying hard to abstain from commenting with something like "why so many brainless git posts at Programmers are so brainlessly upvoted"...
...and suddenly I go to meta and find an answer that addresses it, thoroughly, in a serious, impartial manner. Woo hooo
6
A: Where does my git question go?

MichaelTQuestion is about git the tool If you are asking how specific invocations of git such as: How do I edit an incorrect commit message in Git? How to undo the last Git commit? How do I delete a Git branch both locally and remote? These are questions for Stack Overflow. The key point here is yo...

 
user55340
@gnat The github question asked here was what drove me to write it... and I tried to get some example questions from each site to show how what fits there.
 
@MichaelT I figured that. Now we've got a sensible reference to cover this stuff. I also worried that there's no reliable way for us to figure what questions should stay at Programmers, and your answer covered it, too. Well done
 
user55340
Apparently, we still need some more meta site recommendation Q&A out there...
 
user55340
Where do questions like "how to learn C++" fit? — Blessed Geek 20 hours ago
 
user55340
@BlessedGeek "how to learn XYZ" questions are typically too broad for any Stack Exchange site. There are textbooks upon textbooks covering the area and then you get into the sub realms of programming languages (embedded vs game vs enterprise). Stack exchange works best when there is a single problem that can be solved in a few paragraphs. If you can imagine an entire book on the subject, its probably too broad. — MichaelT 19 hours ago
 
user55340
7:10 PM
@GlenH7 you wanna write that one?
 
9
A: What should our predefined off-topic reasons be?

GlenH7Questions seeking career or education advice are off topic on Programmers. They are only meaningful to the asker and do not generate lasting value for the broader programming community. Furthermore, in most cases, any answer is going to be a subjective opinion that may not take into account all t...

would that do?
 
user55340
I'm thinking more a really long answer that explains why "how to learn XYZ" is always a bad question. We keep closing the questions again and again. And while we have the bit in the close reason, having a few paragraphs (more than a comment's worth of text) explaining why it doesn't work.
 
user55340
Might actually be useful to write a Q&A for each of the standard set of off topic reasons.
 
@gnat I saw that. ;)
:D
 
user55340
I didn't see it, but I can see it, but the raw html doesn't make quite as much sense. I think.
 
7:22 PM
@enderland it didn't eat html, will try raw png
gee I've got enough ammo for 7 bounties on hotness formula fix. Just 2-3 weeks to wait until the dust around CV queue / top bar settles and I can get the ball rolling...
png works :)
 
user55340
7:41 PM
sigh things you stick in edits when you don't have 2k rep -- meta.stackoverflow.com/posts/209644/revisions
 
@MichaelT yeah that's my least favorite part of going below 2k rep there :P
 
Writing unit tests for a compiler is a royal pain
 
user55340
7:56 PM
Well, now I'm at 2016, so no more easy rep from edits.
 
@MichaelT while you're under 3K, use this as a chance to bump "flag weight" there. Dupe flags are dead easy at MSO; I was slowly crawling to marshal badge, being like at 2/3 way there after more than a year, when I discovered this magic after getting under 3K because of bounties. From there on, flags went as easy as it gets :)
 
8:13 PM
@GlenH7 We use craftbukkit over here and it works really, really well, but it's always going to be updated slower than main releases for obvious reasons
 
user55340
@Ampt !!! Do you want to plow my driveway?
 
@MichaelT NOPE
I doubt the plows we use would fit in your driveway :P
 
user55340
Ive got a cliff off to the left that they could put the wing over....
 
user55340
The bigger problem is more one of "ok, we plowed your driveway, there's now a 6 foot wall of snow in front of your garage. Enjoy."
 
user55340
Oh... I've gotta find that picture now...
 
user55340
8:16 PM
 
user55340
 
wtf is that abomination
a pontiac plow? how many times a day do you have to pull it out of the snow bank?
 
@MichaelT get a 4 wheeler and throw a plow on the front of that
its bundles of fun year round. probably wouldn't need more than 400cc and you might not even need 4 wheel drive depending on the situation
 
user55340
Think of it though, put that on the back of your car, like the SUV, and just back your of your garage... presto, driveway clear.
 
8:17 PM
lol. I can only imagine how well that doesn't work, but I'd love pictures if you tried!
 
user55340
@Ampt I'm kind of smarter than that... Hit the curb and oops, there goes your fender.
 
@MichaelT "kind of" is enough to give it a shot for a few laughs right?
and I looked at the price. nevermind. get a 4 wheeler
 
user55340
Still, enjoy the pictures and seeing if you can get any WTFs from your co-workers... (not to mention the wtfs from my former co-workers when they look at url referrals and unique visitors).
 
hahahaha oh ill be sharing
 
user55340
@Ampt I've done some less than ideal things for approaching various home improvement problems that I don't think I'll be sharing.
 
8:20 PM
@MichaelT awww cmon, just one little story
no one has to know. except the internet
 
user55340
@Ampt But the internet is a blabber mouth.
 
user55340
> This is a Plastic Plow – not a Magic Plow! While your plow is well designed and durable, it is no match for concrete or frozen piles of snow. Do not Ram large piles of snow at the end of your driveway. Steady momentum will work on large piles of snow; however, RAMMING will cause something to break!
 
lmao. 500 dollar plastic shovel
get a snowblower
have one of those at home and it works magic
 
user55340
> We HIGHLY recommend that you plow directly from your garage during or just after a snowfall –you will get the cleanest scrape and you can deposit the snow across the street (if legal in your town) before the village trucks come
 
user55340
Note that "if legal" bit...
 
8:23 PM
screw legality.
put the snow wherever you damn want
and if they tell you otherwise, tell them to shut up and deal with it
 
user55340
> Keep a steady momentum while plowing, but keep it slow! (1-2 mph max)
 
I think I could shovel faster than that....
 
user55340
The other bit is that its a flat blade. Not angled. So it just piles up.
 
@MichaelT you know, taken out of context.....
 
user55340
Word of advice - above plow does not work well on sidewalks.
 
8:29 PM
> You're not worried about tearing up your lawn because the nice round edge on the bottom of your Nordic Auto Plow just glides over it.
the ad begs to differ hahaha
 
user55340
The other consideration - if its tight enough that you can clean the driveway, its more than tight enough to mess up the lawn. If it isn't tight enough to scrape the cement, then you've gotta go out there again anyways.
 
@MichaelT you're forgetting that it's a magic plow which can be used by any old mere mortal
 
user55340
As I said... enjoy. I'm most curious to read what your colleagues say. And maybe @JimmyHoffa should get one of those plows too.
 
I'll be in work on thursday so you'll have to wait but I'm sure they'll get a laugh out of it haha
 
user55340
9:07 PM
@enderland you could randomly change your picture to something like...
 
user55340
enderland, Midwest USA
2.5k 1 10 25
 
user55340
See? Almost the same... could confuse people for a day.
 
9:19 PM
LOL
 
user55340
@enderland did you see @gnat and my discussion earlier about that migrated post?
 
user55340
I start my initial monologue at...
 
user55340
4 hours ago, by MichaelT
user image
 
@MichaelT "what migrated post" is pretty vague ;)
 
user55340
The how to dress up in Canada for an interview one.
 
9:31 PM
Ahh, that's what I figured
which is only mildly depressing that a vague statement about an online thing can immmedaitely make me realize what it is you are referring to
 
user55340
It apparently caused some drama over yonder... so its not too surprising that it would be the topic.
 
user55340
Hmm... area 51 proposal... "yonder.SE" - the SE site that is over yonder as opposed to 'round here.
 
user55340
Btw, curious bit - go glance at how many area 51 sites are closed as a duplicate of the workplace.
 
area51 is such a nonprofessional looking site to open up at work. UFOs!
can you easily see the dups from the Workplace link?
oh cool only 2k rep away from 20k there
 
user55340
No easy way...
 
user55340
9:36 PM
Ahh, this is the one I was thinking of.
 
user55340
2
Jobs

Proposed Q&A site for job Seekers, People Changing Careers, Resume Help, Career Counseling, Interview Tips, Interview Q&A

Currently in definition.

 
lol that proposer is completely a spam account
 
user55340
Yep.
 
user55340
Another misguided area 51...
 
user55340
4
P = NP

Proposed Q&A site for everyone who thinks that found a proof for P=NP and want a professional answer to why it's not

Closed before being launched.

 
9:39 PM
lol it's probably fun to be a mod there
crushing people's dreams
 
user55340
5
Trolling

Proposed Q&A site for this site is for any part of Trolling. For those who want to prevent trolling, design systems that discourage trolling, or for people who want to successfully troll others.

Currently in definition.

 
@MichaelT Voted to close as not viable.
"How many quarks are present in one SIMD EE “Emotion Engine” 64-bit instruction/clock cycle?"
[snicker]
 
user55340
@RobertHarvey Oh, think of it though... think of how many trolls you could get in one place.... and then network wide ban them all!
 
Amazing how there are apparently people still out there that think "Programmers" means "anything goes."
 
@RobertHarvey what kind of socks do you wear
 
9:44 PM
@enderland as a programmer, of course.
 
@Ampt obviously :)
 
we don't care what kind of socks you wear when you're shoveling snow, just when you're programming.
 
I like wool socks tbh
 
they get too hot and sweaty for my liking
of course all my socks do.. I have very active feet.
 
9:49 PM
Socket Secure (SOCKS) is an Internet protocol that routes network packets between a client and server through a proxy server. SOCKS5 additionally provides authentication so only authorized users may access a server. Practically, a SOCKS server proxies TCP connections to an arbitrary IP address, and provides a means for UDP packets to be forwarded. SOCKS performs at Layer 5 of the OSI model (the session layer, an intermediate layer between the presentation layer and the transport layer). History The protocol was originally developed by David Koblas, a system administrator of MIPS Co...
that's the only acceptable socks for a programmer
 
user55340
@gnat You forget the "while wearing sandals at work (as a programmer), should I wear socks too?"
2
 
user55340
@GlenH7 your turn to help a bit...
 
user55340
Lets try thinking this backwards... could you try posting a hypothetical answer to the question you have as an answer here? From there, we could look to writing a question that would generate such an answer - or identify if the answer is opinion based and thus problematic. — MichaelT 5 hours ago
 
user55340
Good idea. How about this: The short answer is that the behavior you are experiencing is quite common in the corporate world. Such and such a study found that most programmers spend very little time documenting code, which naturally means a lack of documentation. As for refactoring, such and such found that this was seen as a very low priority among management who want things like adding new features. My own experience at five companies supports this and I've heard similar things from my peers in other companies. So unless your company is radically different, you'll experience the same. — Thunderforge 18 mins ago
 
user55340
(unless someone else wants to help out there some too)
 
user55340
10:14 PM
@RobertHarvey btw, that absurd question on quarks... I'm gonna guess is our resident troll given the set of sites that are associated and the SO question that still remains.
 
user55340
1
Q: How to determine x86 machine opcode values based on real mode offsets and addressing?

Jump if not EqualI am trying to write raw machine code bytes as 0s and 1s in to a text file, and execute it as that through the BIOS. I have some problems understanding, however, how addressing, multiplying, offsets, addressing, operands, and instructions work in combinatorial arrangements, i.e. difference betwe...

 
"I am fully aware that this question will get deleted soon, but I just want some feedback until then." -- Jump if not Equal
 
user55340
@RobertHarvey As I said... resident troll.
 
user55340
10:39 PM
Somewhere back in my inbox history of comments on deleted posts that I can no longer access there's a message from someone named "I don't read FAQs" or the like who expressed a similar sentiment.
 
what's a good image for a button which will be a "Create Design Concept Review" button?
 
How much real estate is on the button?
 
@RobertHarvey I can choose somewhat now. I'm thinking a star wars sketch of something
(I have no idea if this is a long term image, either, so I'm ok with a bit more funny)
 
so serious. I like it though
 
10:51 PM
I'm old school.
 
I've a friend who inveted characters for many of his in house apps he works on
I think one of them is a Mr T one?
 
11:33 PM
Stack Overflow is an endless parade of unremarkable questions today.
I think everyone still has turkey coma.
 

« first day (1186 days earlier)      last day (3790 days later) »