Ever heard the phrase "a flash in the pan"? According to my mom, my grandfather and grandmother allegedly used this phrase to talk about Elvis Presley when he made his first break. The idea was that he would have a brief "flash" of popularity and then evaporate into nothingness; he wouldn't even...
@gnat Pardon my lack of understanding, but I don't see how that thread on meta.Workplace.SE relates to broken windows (or heads on spikes). What are you trying to say, @gnat?
@NickAlexeev I am trying to say that these spikes are well known to be useless at best. As for how broken windows "work", I provided concrete recent example in comments over there
@NickAlexeev understood now. :) The problem is, these heads stink. And make more stinky stuff get here. As Atwood pointed in that article I refer, "these posts... truly start to drown out everything else on the site..." For another interesting example, you can search MSO or MSE when Shog blacklisted code-golf at SO, letting it just stay closed turned out not enough
@gnat I have read your post on meta more carefully and some of the referenced works. I agree with you that the Hot Network Questions feature often promotes wrong kinds of questions.
I see a similar thing on EE.SE. My eyeball estimate is that 30% to 50% of EE.SE questions that got hotted, are ones that I would not promote.
however simple it is, I don't expect this (or any other solution for reported issue) to be implemented in foreseeable future, because its impact on Stack Overflow seems to be negligible. Substantial, direct benefit of proposed feature would likely be achieved only on smaller sites — gnatFeb 2 at 22:02
StackOverflow is for code questions, something when you're stuck and you tried so many other things... if your question is regarding an idea, you should post it to Programmers — balexandre12 secs ago
@ThomasOwens if you have ideas on how to improve IT infrastructure, this is a good time to push these. Such outages sometimes (unfortunately not always) make management realize that what they considered spending is actually an investment
@gnat Except our IT infrastructure is managed by contractors.
We seriously outsources everything. 100%. Total infrastructure. We control nothing.
The extent of the IT staff employed by the company exists to manage the contractors for different things - workstations, servers and storage, telephones, printers and faxes, mobile devices.
We are bringing in an internally managed engineering development network because of it. But things like email are managed like 5 levels higher than my manager.
So we'll be running our own servers for development, version control, building.
@ThomasOwens since all of these levels are affected by email / IM outage, it will be easier than usual to pass it up the chain. You only need to account for that higher level lingo to make it go up smoother...
You need to forge a new mission statement which establishes brevity as a core value for your organization. Then hold meetings to find stakeholders who will buy in to the innovative paradigm. Be sure to mark down action items for everyone, and track them so that they follow through with their new ...
We still have telephones. But I should throw out the idea of IRC. I'd also like to throw up one of the open source Stack Exchange clones, unless we include some kind of JIRA plugin that handles knowledge. Although the project SharePoint repository is the "ultimate" thing.
@gnat Believe me - people are scrambling to fix the email outage. I called the help desk number and they provided ticket numbers to track. People have been working it for like 4 hours now.
So I'm putting together a question for Prog. I'll link it when I'm done if anyone wants to answer it.
It's not offshore. It can't be offshore because of the work we do. If it was offshore, maybe they would have a cost savings. But instead of paying salaries + benefits, they are paying an third party to pay their people salaries + benefits.
@ThomasOwens it's a known thing. Offshore or not, outsourcing to 3rd party is already proven as not always good idea as it was thought before. "Innovative paradigm" is frankly not very innovative. Many companies learned the hard way to count their losses from outsourcing and figure that some things are just better to bring back home
Everyone here agrees, and as far as can tell, that goes all the way to the GM.
I wonder how I know when this email outage is done. I closed Outlook because it couldn't connect to the server and kept prompting me for a password...eventually it will be fixed.
@ThomasOwens while I have your attention - Community user recently "outsourced" featured tag from that STCI Phase 2 question at meta, could you please bring it back home? I guess this tag auto-expires after a month
Harvey Balls are round ideograms used for visual communication of qualitative information. They are commonly used in comparison tables to indicate the degree to which a particular item meets a particular criterion.
For example, in a comparison of products, information such as price or weight can be conveyed numerically, and binary information such as the existence or lack of a feature can be conveyed with a check mark; however, information such as "quality" or "safety" or "taste" is often difficult to summarize in a manner allowing easy comparison – thus, Harvey Balls are used.
In addition to...
Unlike questions like farting in a cubicle or what programming name to give my pet or who your favorite computer scientist is or who you should follow on Twitter, these ones are about real-world work problems.
The first batch doesn't require professional software developers and isn't about solving a software development problem. The second set is.
@ThomasOwens per my reading, that general reference covers these as well, as part of a broader bucket. Q&A model turned out surprisingly robust, if you consider all... permutations it survived at different SE sites. Skeptics, Code Colf, Code Review, Software Recs and others bend it in many various ways. The only thing it couldn't handle so far (and probably wouldn't handle ever) is open ended discussion
I think the biggest barrier is people. If you could ask a question and people would post self-contained answers (after checking to see if another post was already the same answer), it would work, I think.
I do think there's a difference between a discussion and a question with a large amount of answers. The system isn't design for the first, and people are a barrier to effectively doing the second since they are more used to forums.
@ThomasOwens ah that. I am not sure, because no one seriously tried that, but I tend to agree. Having problem with that could very well be "implementation problem", not a model limitation really. That "MeFi pattern" of proactive protection, mentioned by Shirky, it suggests that there may be the way out. When a user with positive rep posts garbage, and it gets downvoted, and these downvotes aren't countered by lemming upvotes, one could only imagine how things could work then
Programmers would be an ideal place to try something like that. But as an established site, I'm not sure that it wouldn't be confusing.
Many questions that we have when conceptually working on software don't have right or wrong answers. Just a range of answers that are more right or more wrong for our particular circumstances.
But writing a question in a way like that is...not easy.
@ThomasOwens that's an interesting twist. You may be on to something, I didn't think of it that way so far. One counter-argument I can think of from SE higher ups is that things already work more or less that way, in regular questions that aren't exposed to hot list lemmings. They could tell that going this way will simply break entertainment we provide to wider audience. "Give few questions to us to entertain the crowd, and enjoy the majority of the rest." This is possibly how they feel....
...as for broken windows effect, they likely don't care as it doesn't impact SO
Do you think that there are other sites that may experience the ability to have large numbers of answers to questions? I could ask their mods what they think, too.
@ThomasOwens besides Workplace (which not coincidentally has a unique feature of immediate protection by 15Kers), unlikely. We're talking a site that has topics where typical SO lemming easily can and want to talk about (and vote up with their assoc bonus), it's not kind of stuff discussed eg at Physics. Also, there should be no "hard" posting rules like ones that protect Soft Recs / Code Review / Code Golf
@ThomasOwens when the audience of potential answerers is sensibly limited, or when posting rules strongly impose certain specific effort to answer (and allow quick objective deletion if it isn't met), questions that naturally can have many answers, could in theory fly normally. At least until these bump into UX limitations - how many reasonably long answers can one grok in a single question?
but that's not like what we have at Programmers :)
@ThomasOwens oh. This reminded me heretic idea I once posted at TWP meta. This way, questions with multiple answers would require progressively more effort to add a new answer. But this feature is unlikely to ever be implemented, I am really surprised that it gained so little downvotes...
When posting my answer I check that it doesn't repeat others as required by our FAQ.
In current UI, this becomes difficult when question already has many answers.
I would want that questions with 10 or more answers (including deleted ones) have additional UI allowing me to review each of previo...
@ThomasOwens yes, I even recall testing that "suggested questions" feature. It's inobtrusive, which is both strength and weakness. If I wanted to thoroughly check other's answers, I would much prefer comparing them side by side against a preview of what I drafted. This is what I try to do myself now, which turns out hard without system support when there are 5 or more answers already. As a result I end up generally abstaining of answering these - too hard to check
I have a tree that consists of 5 types of nodes - V, W, X, Y, and Z. V represents the root node, and a given tree has exactly one element of type V. A V contains one or more Ws, a W contains one or more Xs, an X contains one of more Ys, and a Y contains one or more Zs:
Looking at this, I decid...
The Button was the name of a meta-game and a social experiment regarding an online button and countdown timer that would reset each time the button was pressed. The experiment was started on the social networking website Reddit on April 1 and was active until June 5, 2015. The game was started by a Reddit administrator and was thought to be an April Fools' joke.
The Button garnered enthusiasm from Reddit users worldwide, attracting clicks from over one million unique user accounts. Various websites, browser extensions, and mobile applications were created for the sole purpose of tracking the live...
So, in summary: We should create a canonical Q&A thread where the canonical answer is simply "Install a different IDE, and this problem goes away". — Yakk22 mins ago
@RobertHarvey Lots of too chatty, and comments that should be edited into the answer
Including your own like:
Is this: *Background Color <%=Html.RadioButton('rbBackgroundColorWhite', 0, false)%>White <%=Html.RadioButton('rbBackgroundColorWhite', 0)%>Black in the browser or in VS2008? — Robert Harvey ♦Jun 17 '09 at 3:26
@ratchetfreak Yeah. Or I can use ensureSize(). It's two method calls. But I just solved my problem. A little prompting toward an adjancency list helped, but it's also more robust and just a better data model.
@ratchetfreak Yes, but it seems like that will add the indices that I need. So if I have a backing array of size 5 and call ensureCapacity(10), I now have indices 0 through 9 available.
> Each ArrayList instance has a capacity. The capacity is the size of the array used to store the elements in the list. It is always at least as large as the list size. As elements are added to an ArrayList, its capacity grows automatically. The details of the growth policy are not specified beyond the fact that adding an element has constant amortized time cost.
@durron597 Yeah. add(E) just adds to the end. That's OK. add(int, E) and addAll(int, Collection) should allow you to specify an index that is beyond the end of the current list.
> If the list fits in the specified array with room to spare (i.e., the array has more elements than the list), the element in the array immediately following the end of the collection is set to null. (This is useful in determining the length of the list only if the caller knows that the list does not contain any null elements.)
@ThomasOwens if you don't have a different capacity/size, then every time you add a new element all existing elements need to be copied into a new array object behind the scenes
> When the number of entries in the hash table exceeds the product of the load factor and the current capacity, the hash table is rehashed (that is, internal data structures are rebuilt) so that the hash table has approximately twice the number of buckets.
@ThomasOwens because size is a property of the List interface and capacity is an implementation detail that got exposed to let programmers minimize allocations
Last night's Netflix session: Starry Eyes was I think trying to be some metaphorical thing a bit more than necessary, but at the end of the day it was some slasher which didn't make sense... Well put together but bizarre and random, and it ends without any explanation. It was all about the atmosphere, sense of foreboding, and eventual inexplicable madness and murder... Blah. Way too damned slow also.
@RobertHarvey I didn't realize that we were deciding the future of programming in here. Forgive me for not conceding my ways instantly, oh wise and powerful one.
@Ampt the thing is, checked exceptions are a cool idea, that years of practice have shown everybody in Java just works around rather than utilizing. I suppose the real question is: Should the work arounds be removed, or the checked exceptions? I think for the type of code and coder it's gear for, the checked exceptions should be removed.
That's pretty much what everyone seems to agree on for the most part. If the language had any focus on correctness, then I would be all for checked exceptions. But the language has no sense of damage control or correctness validation at the language level, so they just end up getting in the way of people who chose the language to avoid worries about correctness.
@JimmyHoffa Do you think that there is a language that should have checked exceptions based on the type of code and coder it's geared for? Or maybe what code and coder would drive the need for checked exceptions?
@ThomasOwens it's not a need, it's a feature. It's a simple matter of declaring all possible output types from a method - including the exceptional output types, as a part of the method type signature. Various functional programming languages already have that. It makes sense when you want to have stricter guarantees in your code, perhaps you're doing really critical stuff like aerospace/healthcare software- guarantees are good then.
@ThomasOwens it's the same difference - methods can error, so forcing them at compile time to declare as a part of their signature their error results before allowing them to generate such is design by contract.
For all the endless reams of Java coders writing internal LOB apps for their marketing dept etc, correctness matters very little, so getting them moving faster and allowing errors is really fine.
That would make it easier to be documentation and not relying on Javadoc. It would also make it easier for IDEs or static analysis tools to throw up warnings or errors if you fail to handle an exception.
@ThomasOwens yeah.. though the reasons are understandable. That said, I'm sure Java is used in Aerospace in some places most likely. Though yes, more healthcare than aerospace...
@ThomasOwens So you're arguing checked exceptions are a good thing, right?
No language should force me, by default, to handle any exception. However, I should be able to use my code as documentation and allow declared exceptions to throw a warning if they aren't handled.
So I can have public int foo() throws RuntimeException as a valid statement. In a default configuration, if I didn't catch RuntimeException in a caller, that's no problem. However, I could write tools or toggle IDE or compiler settings to turn not catching the exception into a warning or error.
@ThomasOwens If it's critical applications, I would say - the language definitely should force you to handle all possible errors. How you handle them is up to you, not all can be corrected but you should definitely halt the error from causing catastrophic failure. I would like the compiler to force coders to do that in the event their software may have impacts on someone's health
@ThomasOwens you wouldn't! My point exactly is - checked exceptions don't belong in Java because it's not geared towards the scenarios I refer to above.
@JimmyHoffa I'd say that checked exceptions don't belong in most languages. But the ability to support tools that facilitate more robust software should be part of the language.
It turns the language into an ecosystem of not only the compiler, but IDEs and static and dynamic analysis tools.
From what I can tell, the model based development allows for a lot of simulation without hardware to ensure that your Simulink models are accurate and correct before you put it on hardware for integration, SIL, flight test, and production.
@whatsisname and ones written in Java. Look, I know bureaucracy is hardly the solution to choosing or designing anything with technical quality, and whenever you're talking about critical life affecting things bureaucracy is bound to be the first tool that get's used. So realistically, all of these types of systems are plausibly some of the worst... scary thought, but likely true
I do agree with 2. I don't like moving software development out of the hands of people with years of education and experience developing software. There are a lot of good control systems engineers out there, but I'd rather have software engineers build software from their models and algorithms.
I have written a client program that is limited to certain IP addresses. I check the IP addresses on the server side. Of course, someone can use a proxy server and access my server with a "valid" IP address.
So I am thinking about adding some client-side code to check the local IP address and ma...
so in other news, I think I'm going to scrap my entire thesis and fight to drop my adviser, and do a capstone project instead... I should write a book about this grad school experience
For example, there's an AbstractList<E> abstract class that includes inner classes. Rather than just me inspecting their code to see if it's useful, let me run test cases against my implementation of the interface and see red/green.
I'm thinking more for people who extend or implement the interfaces and abstract classes that come with the language to ensure that you know if you're violating the intended contract.
I wouldn't weigh them as much as my unit tests, but it would be nice to know where I am or am not following the intention of the interface
For example, the Iterator in AbstractList makes certain assumptions. I'm reading that code myself now to see if it holds true for my code. I'd rather run a test/
@ThomasOwens ...on a further thought, I bet one could find such cases in JCK. It would be an overkill to pay for seeing or using their code though just for that. There is a (slim) chance that Oracle tries to monetise by "spinning off" part of such tests in some other commercial product, I am too lazy to check their commercial offerings in this area
Yeah. I'm not going to both to look for this, since there's no way I can buy it,
It would be nice to include these things as part of the JDK, though. The ability to build your own JDK should be monetized, and I have no issues with that.
I wonder if it would be useful if I went through all of the interfaces and abstract classes in the JDK and write JUnit tests based on the descriptions of the interfaces (and maybe vetted them against OpenJDK).
@ThomasOwens I bet these are included. IBM builds and sells their own JDK, and they pay Oracle for certifications. And someone else does, I don't remember. Apple did at some time back, but they couldn't make it from java 5 to 6 so they dropped
@ThomasOwens IBM (and some others, and Apple in the past) build their JDK, or JRE, from scratch or something like that. Heck when Java was Sun's, Oracle themselves did their own JRE or JDK, JRockit. After they think they're ready for beta, they pay to Oracle to run the JCK (I don't know exact details, whether Oracle runs it or they themselves). They fix failures reported by failed JCK tests, and after all tests get green, they proudly stick that Java label on their stuff
@ThomasOwens absolutely. I bet tests for that in JCK are near perfect - how couldn't they, after so many years of testing so many implementations - but buying tests for all the Java just to get several ones for AbstractList would be 200% overkill
But there could be value in writing test cases for a set of the interfaces and abstract classes included in Java that people may extend. The idea being that if you implement one of these interfaces or extend one of those abstract classes, you want to make sure that if you give your implementation to a class that accepts the interface or abstract class, it will conform to the expected behavior as defined by the JavaDocs.
But I don't even know how feasible that is. A lot of the methods would rely on access to inner data to test them.