archived stringclasses 2
values | author stringlengths 3 20 | author_fullname stringlengths 4 12 ⌀ | body stringlengths 0 22.5k | comment_type stringclasses 1
value | controversiality stringclasses 2
values | created_utc stringlengths 10 10 | edited stringlengths 4 12 | gilded stringclasses 7
values | id stringlengths 1 7 | link_id stringlengths 7 10 | locked stringclasses 2
values | name stringlengths 4 10 ⌀ | parent_id stringlengths 5 10 | permalink stringlengths 41 91 ⌀ | retrieved_on stringlengths 10 10 ⌀ | score stringlengths 1 4 | subreddit_id stringclasses 1
value | subreddit_name_prefixed stringclasses 1
value | subreddit_type stringclasses 1
value | total_awards_received stringclasses 19
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
True | [deleted] | null | I can't believe their mods shut that down. That is one of the funniest things I have seen in quite some time! | null | 0 | 1316532541 | False | 0 | c2l8yaw | t3_klhlv | null | t1_c2l8yaw | t3_klhlv | null | 1427623936 | 3 | t5_2fwo | null | null | null |
True | greenspans | null | It's harder to read shit when it spans 300 words across, just zoom the god damned thing. God damned web dev faggots always trying to shove in their stupid opinions where it's not wanted. | null | 0 | 1316532562 | False | 0 | c2l8yer | t3_kldfr | null | t1_c2l8yer | t1_c2l80m2 | null | 1427623944 | -1 | t5_2fwo | null | null | null |
True | Brisco_County_III | null | Far and away my favorite is a function in Matlab called "cumtrapz" | null | 0 | 1316532732 | False | 0 | c2l8z86 | t3_klhlv | null | t1_c2l8z86 | t3_klhlv | null | 1427623952 | 11 | t5_2fwo | null | null | null |
True | kikaerter | null | I clearly remember said shitting :-) | null | 0 | 1316532742 | False | 0 | c2l8z9y | t3_kl7h0 | null | t1_c2l8z9y | t1_c2l8w56 | null | 1427623949 | 4 | t5_2fwo | null | null | null |
True | brandf | null | If you don't have silverlight installed, but you want to watch the video, then why didn't you click on the link to the raw video?
FTFA:
MP4 - http://video.ch9.ms/build/2011/mp4/904.mp4
WMV - http://video.ch9.ms/build/2011/wmv-hq/904-HD.wmv
[edit] Hell, they even gave you a link to the slides - http://video.ch9.ms/build/2011/slides/SAC-904T_Syme.pptx | null | 0 | 1316532769 | False | 0 | c2l8zf0 | t3_kii9z | null | t1_c2l8zf0 | t1_c2kjzpb | null | 1427623951 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316532852 | False | 0 | c2l8ztz | t3_klhlv | null | t1_c2l8ztz | t1_c2l8dpv | null | 1427623956 | 11 | t5_2fwo | null | null | null |
True | Jigsus | null | It's still a baseless assumption. | null | 0 | 1316532915 | False | 0 | c2l905y | t3_kl7h0 | null | t1_c2l905y | t1_c2l8xl6 | null | 1427623960 | -7 | t5_2fwo | null | null | null |
True | pkhuong | null | In the example, the qualifier qualifies the reference, not the referenced value. It's `int & const` (a const reference to an int), not `int const &` or `const int &` (a reference to a const int).
And, indeed, qualifying a reference is dubious. The point of references is that they can only be initialized once, and are immutable afterward. | null | 0 | 1316532935 | False | 0 | c2l9098 | t3_klnoy | null | t1_c2l9098 | t3_klnoy | null | 1427623962 | 6 | t5_2fwo | null | null | null |
True | brandf | null | Did you try clicking the links FTFA to the raw video?
MP4 - http://video.ch9.ms/build/2011/mp4/904.mp4
WMV - http://video.ch9.ms/build/2011/wmv-hq/904-HD.wmv
Or is Linux incapable of playing mp4 & wmv too? If so, sorry, this is your fault... | null | 0 | 1316533012 | False | 0 | c2l90mx | t3_kii9z | null | t1_c2l90mx | t1_c2kpc03 | null | 1427623972 | 1 | t5_2fwo | null | null | null |
True | slurpme | null | It's not true that if you have a web browser installed/running on a machine that it also has a javascript interpreter... | null | 0 | 1316533045 | False | 0 | c2l90sn | t3_kkw07 | null | t1_c2l90sn | t1_c2l8rvl | null | 1427623972 | -4 | t5_2fwo | null | null | null |
True | inmatarian | null | Agile is a rough pace, but it ends up being good for the organization.
The easiest way to implement code-reviews in your organization is to just do them. When your coworkers write code, read it, and offer back simple and constructive comments. If you keep it friendly and helpful, and they don't get offended by it, then they'll start doing code reviews for you. That can expand into conversations about code design before you actually write it. Basically, start opening up the communication channels. You're not getting others to do their jobs for you, you're giving them creative input and feedback.
As for the manager part, that's the hardest part. It takes a manager who's willing to seriously put his ass on the line for his team, and not many will be willing to do that. He's got to be in most conversations, without micromanaging, and when something has screwed up, he's got to take the blame for it. The return on investment is that the team becomes tight-knit, and everybody feels responsible for the whole code base, since their manager can get into trouble for it. | null | 0 | 1316533121 | False | 0 | c2l916o | t3_kk5f4 | null | t1_c2l916o | t1_c2l7ajx | null | 1427623980 | 2 | t5_2fwo | null | null | null |
True | tanishaj | null | Unless those corporate apps plug into "the cloud" instead of hosting things like databases locally. This is where is think Microsoft wants us to go.
Metro apps cannot connect to databases and have only limited local storage. They can talk to the world via web services and contracts though and the stuff on the other end is not so limited. I think there will also be allowances for corporate deployment as well. | null | 0 | 1316533209 | False | 0 | c2l91n6 | t3_kl1qp | null | t1_c2l91n6 | t1_c2l7htg | null | 1427623986 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316533262 | False | 0 | c2l91wx | t3_kl1qp | null | t1_c2l91wx | t1_c2l6znq | null | 1427623991 | 1 | t5_2fwo | null | null | null |
True | archiminos | null | This different to 'const int &'. The const is being applied to the reference itself, but since you can't reassign the reference anyway it's redundant. | null | 0 | 1316533289 | False | 0 | c2l921w | t3_klnoy | null | t1_c2l921w | t1_c2l8y77 | null | 1427623991 | 3 | t5_2fwo | null | null | null |
True | Quazatron | null | Exactly. They could go on simplifying thing for newcomers and still leave enough knobs for the advanced users to customise the desktop to their liking.
But that is not what is happening. We've been witnessing an oversimplification trend that is getting ridiculous. Gnome and Unity are the worst offenders.
I mean, why can't I add a CPU/mem/net indicator to the Unity top panel? It is useful to me, I have been using it since Gnome2, and it lets me catch things like stuck apps taking 100% CPU or Firefox eating up all the RAM.
Why can't I change my desktop font? If I want to use Comic Fucking Sans on my desktop I should be able to!
Stop making decisions for me. If I wanted that, I'd use Windows or MacOS. | null | 0 | 1316533309 | False | 0 | c2l925d | t3_kl1qp | null | t1_c2l925d | t1_c2l8of3 | null | 1427623993 | 1 | t5_2fwo | null | null | null |
True | rox0r | null | In Python, in member functions:
def think(I):
...
def dont_think(I):
...
So they would do crap like: I.think() and I.dont_think(). Thousands of lines of using I instead of self.... | null | 0 | 1316533376 | False | 0 | c2l92g7 | t3_klhlv | null | t1_c2l92g7 | t3_klhlv | null | 1427623996 | 1 | t5_2fwo | null | null | null |
True | adx | null | Please explain why you think this is how failures begin. Because spending the time up front to figure out what the proper tool is for the job at hand is how to mitigate against failure. | null | 0 | 1316533381 | True | 0 | c2l92is | t3_kljc0 | null | t1_c2l92is | t1_c2l8sz0 | null | 1427623997 | 16 | t5_2fwo | null | null | null |
True | Dylnuge | null | Use abbreviations or use omni-complete in Vim. Solved. If you're using an IDE, autocomplete should be builtin. If you're using Emacs, similar features to Vim probably exist. If you're working on a small screen, ask your company for a larger monitor.
Yeah, the class name is a bit ugly, but it is Java style to be verbose, and the verbose name *does* describe the classes purpose a lot better than half the stuff in the Stack Overflow replies (like "LetsProceedWithHandlingTheErrorFromThatOneMethod"). | null | 0 | 1316533432 | False | 0 | c2l92qk | t3_klhlv | null | t1_c2l92qk | t1_c2l8v3i | null | 1427624003 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | One of my first industrial applications was a plasma cutter that had a function called "do_something" and another function called "do_something_else"
They took 3 variables, x, y and z.
Inside, they had 3 nested for loops, for x, y and z respectively.
Back in the days before microtime? | null | 0 | 1316533435 | False | 0 | c2l92s6 | t3_klhlv | null | t1_c2l92s6 | t3_klhlv | null | 1427624003 | 2 | t5_2fwo | null | null | null |
True | LegioXIV | null | the reason why you should use ii and jj instead of i and j is that there are lots of words that have i and j, a lot fewer words that have ii and jj in them. So if you ever need to do a global find/replace, i and j are going to cause you grief. | null | 0 | 1316533521 | False | 0 | c2l938z | t3_klhlv | null | t1_c2l938z | t1_c2l8dpv | null | 1427624005 | 17 | t5_2fwo | null | null | null |
True | Zambini | null | el brilliante! | null | 0 | 1316533523 | False | 0 | c2l9395 | t3_klhlv | null | t1_c2l9395 | t1_c2l8iqe | null | 1427624005 | 1 | t5_2fwo | null | null | null |
True | rasori | null | This is a bit beyond what I normally do (that looks like it should be a comment, not a function name) but, as you seem like someone with experience in the field ($giant_search_engine_company), I'd like some input on actual good practice in naming variables and functions.
I tend to vary depending on scale, but when working on a larger project I try to be descriptive without going over five or six words (most being okay with two or three). My general experience includes working with an IDE, so a long variable name doesn't really cause more work for me and makes it more readable. | null | 0 | 1316533593 | False | 0 | c2l93ka | t3_klhlv | null | t1_c2l93ka | t1_c2l8gtb | null | 1427624007 | 1 | t5_2fwo | null | null | null |
True | yogthos | null | I always find it amazing how people love to hate RMS, all his positions are pro consumer and pro developer. It's like people hate the idea that technology could actually be used fairly and openly. | null | 0 | 1316533603 | False | 0 | c2l93ly | t3_kl7h0 | null | t1_c2l93ly | t1_c2l83al | null | 1427624008 | 16 | t5_2fwo | null | null | null |
True | tanishaj | null | Given the magnitude of the changes to the UX, I would say that Microsoft is most worried about not losing control of the end-user ecosystem to Apple. If they can keep the client and woo the developer, they know they will find lots of ways to make money.
That "largest ecosystem" thing has to be topmost in their minds. | null | 0 | 1316533619 | False | 0 | c2l93oj | t3_kl1qp | null | t1_c2l93oj | t1_c2l6ezq | null | 1427624011 | 2 | t5_2fwo | null | null | null |
True | rmxz | null | * *Abstract* - That's silly - if you try to instantiate one you'll quickly realize it's abstract. *"java.awt.Component"* never felt the need to name itself *"java.awt.**AbstractSerializable**Component"*, even though it is abstract and serializable.
* *Singleton* - Arguably critical shortcoming of the Spring Framework. I can imagine as Spring evolves (say to have one instance host more different apps) they'll use less Singletons. But I bet they'll keep the name Singleton for backward compatibility sake.
* *Proxy* - Naming the class for an implementation detail? Who cares how it implements aspects. Its like if they named it *AbstractSingletonProxy**ThatImplementsAspectsUsingJVMBytecode**FactoryBean*.
* *Factory* - That one makes sense to me.
* *Bean* - Does it need to be in the name? Couldn't introspection tell you what classes are beans without needing some sort of naming convention? | null | 0 | 1316533633 | True | 0 | c2l93qn | t3_klhlv | null | t1_c2l93qn | t1_c2l8f2z | null | 1427624010 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316533638 | False | 0 | c2l93rh | t3_klhlv | null | t1_c2l93rh | t3_klhlv | null | 1427624010 | -1 | t5_2fwo | null | null | null |
True | Dylnuge | null | The hiding behavior is a matter of convenience. Given the number of config folders and files living in my home directory, I'd hate to have to see every `ls` as an `ls -A` (which is -a without `.` or `..`).
Sure, you're right on using the \* operator not doing what *you* expect it to do. But that's actually what I would expect, and there are other better ways to get everything in a folder (like copying the folder itself recursively). | null | 0 | 1316533679 | False | 0 | c2l93z0 | t3_klhlv | null | t1_c2l93z0 | t1_c2l8tl0 | null | 1427624012 | 2 | t5_2fwo | null | null | null |
True | gnuvince | null | You have $100M and you want cheap, easy to hire labour? Use that money to get the best developers you can instead; they'll pay for themselves in no time. And they can become proefficient in any language you throw at them, so you might as well pick up something that improves productivity. | null | 0 | 1316533696 | False | 0 | c2l941z | t3_kljc0 | null | t1_c2l941z | t1_c2l87b1 | null | 1427624014 | 3 | t5_2fwo | null | null | null |
True | rasori | null | ...really? That sounds like a good name. As long as the startup's productive something as trivial as that shouldn't make a difference. | null | 0 | 1316533699 | False | 0 | c2l942g | t3_klhlv | null | t1_c2l942g | t1_c2l8mnk | null | 1427624014 | 2 | t5_2fwo | null | null | null |
True | DethAlive | null | http://dilbert.com/strips/comic/2001-10-25/ | null | 0 | 1316533701 | False | 0 | c2l942x | t3_klhlv | null | t1_c2l942x | t1_c2l8gp0 | null | 1427624014 | 26 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316533762 | False | 0 | c2l94dv | t3_klhlv | null | t1_c2l94dv | t1_c2l89qs | null | 1427624016 | -2 | t5_2fwo | null | null | null |
True | inmatarian | null | When I write code that removes items from a model, I refer to the item being removed as a victim, and the process as killing. So,
victims = model.gatherVictims()
kill( victims ) | null | 0 | 1316533766 | False | 0 | c2l94em | t3_klhlv | null | t1_c2l94em | t3_klhlv | null | 1427624016 | 6 | t5_2fwo | null | null | null |
True | Newky | null | Maybe I'm way off here, but although I agree that the presence of a javascript interpreter isn't a definite with a browser, the last browser I can remember user that didnt have some form of javascript interpreter was dillo web browser. | null | 0 | 1316533809 | False | 0 | c2l94n7 | t3_kkw07 | null | t1_c2l94n7 | t1_c2l90sn | null | 1427624019 | 1 | t5_2fwo | null | null | null |
True | KPexEA | null | Whats wrong with btn_Screen_ButtonFunction?
examples:
btn_Customer_Load
btn_Customer_Save
btn_Invoice_Print
btn_Inventory_Search | null | 0 | 1316533856 | False | 0 | c2l94wo | t3_klhlv | null | t1_c2l94wo | t1_c2l8vi5 | null | 1427624023 | 10 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't really think it's a rational position. I think it's mostly status-seeking behaviour -- mocking a person with outlying beliefs is an easy way to gain status in most situations. | null | 0 | 1316533861 | False | 0 | c2l94xi | t3_kl7h0 | null | t1_c2l94xi | t1_c2l93ly | null | 1427624023 | 9 | t5_2fwo | null | null | null |
True | riceshrug | null | and in EE, j=sqrt(-1), so loops tend to be ii,jj,kk
edit: you know, cuz i is current :) | null | 0 | 1316533882 | False | 0 | c2l9512 | t3_klhlv | null | t1_c2l9512 | t1_c2l8ztz | null | 1427624024 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316533894 | False | 0 | c2l953d | t3_klhlv | null | t1_c2l953d | t3_klhlv | null | 1427624025 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Um I find it a bit too idealistic, at least in my case. I get request from managers who refuse to use computers and they generally begin with "could you set up" because they don't really understand that some things need to be programmed.
And it is not like task comes in, gets done, goes out. It is more like getting a vague concept, agreeing in trying to do something, do something, see if it has anything to do to help the original vague concept, review the vague concept again and so on. Impossible to estimate beforehand, because 10% of it is programming and 90% is discussing what to actually do.
I don't have a manager, there are managers in the company who give tasks to everyone. They don't normally use computers or at most e-mail and excel.
As for the list, the problem is still that you are using an implicit assumption that the list will be reduced with the pace of 40 hours per week. But if it would not be a time-based but results-based job, what would stop people telling you to clear out your list every week no matter how long it takes? And in this case it is better to have it explicit.
I am not sure how to compute the value, if there is even a value. There are things request because some higher-ups want them, but they don't say what they are going to do with them. More often, there are requests from lower-level people who actually do work and in this case I help saving their time by automating something. This is a clear benefit for the person but not sure for the company because I don't know what he does in the freed up time.
Your comment seems to assume all companies ever are 100% professional in everything, people have direct managers, clear tasks, the whole thing is ordered. I never worked in such places. My job is more something bad happens, like the government telling us we forgot to prepare this or that report for 2 years know, some manager panics, runs around to find out what is this and why do we have to give it, it turns out some accountant who left 2 years ago was doing it manually, current accountant refuses to do it manually because already overworked - again, time-based thinking - then he runs around more, finds me, tells me like "can you set it up so that it comes >>makes a whistling sound<< just like this automatically out of that printer", that's how it works. | null | 0 | 1316533899 | False | 0 | c2l954j | t3_jml9p | null | t1_c2l954j | t1_c2l7ktm | null | 1428193641 | 1 | t5_2fwo | null | null | null |
True | sugardeath | null | We had an assignment in my OpenGL class to render a face. The professor always named things after the work being done, so you'd see assignment listings for
* ass_cow
* ass_teapot
* ..
| null | 0 | 1316533912 | False | 0 | c2l956u | t3_klhlv | null | t1_c2l956u | t1_c2l85jr | null | 1428193641 | 9 | t5_2fwo | null | null | null |
True | ImSpicy | null | Not variables, but I usually use goofy test data. Names like Stanky McAssclown, Dr. Joseph Poopenstein, and Rutherford Tits McGee. | null | 0 | 1316534019 | False | 0 | c2l95qy | t3_klhlv | null | t1_c2l95qy | t3_klhlv | null | 1427624038 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | You're IDE doesn't rename just the variable scope? | null | 0 | 1316534030 | False | 0 | c2l95te | t3_klhlv | null | t1_c2l95te | t1_c2l938z | null | 1427624039 | 0 | t5_2fwo | null | null | null |
True | notSorella | null | Vows is perhaps a good example of prototypical OO: http://raynos.github.com/vows-fluent/docs/vows-fluent.html
But of course, prototypical OO lets you do far more than that, it lets you separate behaviours from the data that you use to represent the state needed for them, which you can't do so in a classical language (all sub-classes obligatory inherit all properties from the upper-classes). So, selective inheritance, multiple and dynamic dispatchers by changing the [[Prototype]] at run time and a few other things.
I'd suggest you reading the `Organising Programs Without Classes' ( http://labs.oracle.com/self/papers/organizing-programs.html ) paper, as it explains a lot better than I could. And other whitepapers that describe the flexibilities and new ways of structuring a program that are allowed with prototypes :3 | null | 0 | 1316534089 | False | 0 | c2l9653 | t3_kketr | null | t1_c2l9653 | t1_c2l4ozv | null | 1427624052 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316534108 | False | 0 | c2l968n | t3_kl1qp | null | t1_c2l968n | t1_c2l88nd | null | 1427624054 | 1 | t5_2fwo | null | null | null |
True | notSorella | null | AFAIK, both spellings are correct and refer to the same concept... no? | null | 0 | 1316534111 | False | 0 | c2l9691 | t3_kketr | null | t1_c2l9691 | t1_c2l3v03 | null | 1427624054 | 1 | t5_2fwo | null | null | null |
True | nickdangler | null | I would much rather have JavasCript as a desktop language than PowersHell. | null | 0 | 1316534145 | False | 0 | c2l96fr | t3_kl1qp | null | t1_c2l96fr | t1_c2l876i | null | 1427624047 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | This reminded me of something... Grep Magento's source code for the term "categoty"
./code/core/Mage/Catalog/Model/Layer/Filter/Category.php:155: $categoty = $this->getCategory();
./code/core/Mage/Catalog/Model/Layer/Filter/Category.php:156: /** @var $categoty Mage_Catalog_Model_Categeory */
./code/core/Mage/Catalog/Model/Layer/Filter/Category.php:157: $categories = $categoty->getChildrenCategories();
This is just one of the mistakes I found, there are more but I can't remember them. | null | 0 | 1316534151 | False | 0 | c2l96h8 | t3_klhlv | null | t1_c2l96h8 | t1_c2l8c6h | null | 1427624047 | 1 | t5_2fwo | null | null | null |
True | sugardeath | null | My ex reviewed some code of mine once. Apparently I have a habit of writing "for each guy in dude." | null | 0 | 1316534171 | False | 0 | c2l96kw | t3_klhlv | null | t1_c2l96kw | t1_c2l83hr | null | 1427624048 | 5 | t5_2fwo | null | null | null |
True | danweber | null | I had a coworker who named some random variable "javasucks". I laughed, but it was really unprofessional, and I pitied whoever had to clean up his crap. | null | 0 | 1316534187 | False | 0 | c2l96o6 | t3_klhlv | null | t1_c2l96o6 | t1_c2l8fm2 | null | 1427624050 | 2 | t5_2fwo | null | null | null |
True | jdpage | null | C# does. I've seen source files written in Japanese. | null | 0 | 1316534217 | False | 0 | c2l96tw | t3_klhlv | null | t1_c2l96tw | t1_c2l8k4s | null | 1427624052 | 14 | t5_2fwo | null | null | null |
True | muad_dib | null | Too logical. You're not thinking Corporate enough. | null | 0 | 1316534246 | False | 0 | c2l96zy | t3_klhlv | null | t1_c2l96zy | t1_c2l94wo | null | 1427624055 | 9 | t5_2fwo | null | null | null |
True | ceolceol | null | That's true. I was thinking this was such a complicated GUI that descriptive names wouldn't really help the dev, and you'd probably have overlap.
But you're right. | null | 0 | 1316534288 | False | 0 | c2l9771 | t3_klhlv | null | t1_c2l9771 | t1_c2l94wo | null | 1427624057 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316534302 | 1426124937 | 0 | c2l9792 | t3_kl7h0 | null | t1_c2l9792 | t1_c2l93ly | null | 1427624059 | 3 | t5_2fwo | null | null | null |
True | grauenwolf | null | A lot of it depends on the user. If you are the kind of person who normally runs stuff full-screen anyways and doesn't like a bunch of pop-up notifications this could work. But if you like having a bunch of windows open at the same time, not so much. | null | 0 | 1316534316 | False | 0 | c2l97bp | t3_kl7h0 | null | t1_c2l97bp | t1_c2l76c2 | null | 1427624059 | 3 | t5_2fwo | null | null | null |
True | notSorella | null | JS can use a large range of unicode characters as identifiers as well. For example, the following is valid JS:
>> function λ(f) { return new Function('x', 'return ' + f) }
>> λ('x * x')(2)
4 | null | 0 | 1316534330 | False | 0 | c2l97ep | t3_kketr | null | t1_c2l97ep | t1_c2l7gm7 | null | 1427624059 | 1 | t5_2fwo | null | null | null |
True | more_exercise | null | >GetParent() always has to return a valid pointer (which IMO should have returned a reference if that were the case, not a pointer
This is a really interesting idea. References for when you know it's non-null, pointers for when you can't tell. I'm hesitant to use it myself in public code, but I might play with the idea a bit more until I'm confident I can defend the design choice. | null | 0 | 1316534346 | False | 0 | c2l97hh | t3_kl5hl | null | t1_c2l97hh | t1_c2l6g23 | null | 1427624060 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Information is free. Technical editing requires a paid subscription. | null | 0 | 1316534356 | False | 0 | c2l97jm | t3_kl7h0 | null | t1_c2l97jm | t1_c2l84ot | null | 1427624061 | 2 | t5_2fwo | null | null | null |
True | berkut | null | No it doesn't...
The big VFX companies are daily dealing with 100+GB of geometry per scene and 200GB of textures per scene with Arnold...
With lazy geometry loading and triangle packing, it's very efficient. | null | 0 | 1316534394 | False | 0 | c2l97rs | t3_kldfr | null | t1_c2l97rs | t1_c2l8xqy | null | 1427624061 | 4 | t5_2fwo | null | null | null |
True | jared84lsu | null | they're not explicitly saying it, but they're forcing multi-tier architecture through metro. | null | 0 | 1316534463 | False | 0 | c2l984g | t3_kl1qp | null | t1_c2l984g | t1_c2l857w | null | 1427624064 | 3 | t5_2fwo | null | null | null |
True | dude187 | null | Take a poo, leave a poo. | null | 0 | 1316534469 | False | 0 | c2l985r | t3_klhlv | null | t1_c2l985r | t1_c2l8kfj | null | 1427624065 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | In the old days of BASIC, before the dawn of civilization as we know it, variable names were like A1, B2 etc. In 1990 I briefly worked on accounting software at Microsoft that was like that. It was old code with no meaningful comments, and was horrendous to try to figure out.
One thing I hate is misspelled words in var names, because the misspellings are hard to remember. I recently ran across "Cokie" and "Origional" at work. | null | 0 | 1316534544 | True | 0 | c2l98k0 | t3_klhlv | null | t1_c2l98k0 | t3_klhlv | null | 1427624071 | 2 | t5_2fwo | null | null | null |
True | greenspans | null | even hospitals are run like this now days. BP's motto was "our workers are resilient they can do more with less". It's all about bonuses. Who cares if the company tanks, you'll get your exit. | null | 0 | 1316534556 | False | 0 | c2l98ml | t3_kljc0 | null | t1_c2l98ml | t1_c2l8sz0 | null | 1427624072 | 3 | t5_2fwo | null | null | null |
True | Papper | null | Part of the codebase I deal with at work is a dialog called "The Analyst." The analyst has a configuration dialog.
class AnalConf : VDialog { ... }
resides in AnalConf.h | null | 0 | 1316534570 | False | 0 | c2l98ox | t3_klhlv | null | t1_c2l98ox | t3_klhlv | null | 1427624073 | 2 | t5_2fwo | null | null | null |
True | notSorella | null | I have lynx on my PC, which I do use quite constantly. It has no JavaScript interpreter.
W3M, which some people still use a lot (and I did use a while back on Emacs) also has no JavaScript interpreter. | null | 0 | 1316534578 | False | 0 | c2l98qj | t3_kkw07 | null | t1_c2l98qj | t1_c2l8rvl | null | 1427624073 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316534598 | True | 0 | c2l98uh | t3_klhlv | null | t1_c2l98uh | t1_c2l93qn | null | 1427624074 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | His positions are very much not pro-developer. As far as he is concerned developers should just give away everything. | null | 0 | 1316534632 | False | 0 | c2l990j | t3_kl7h0 | null | t1_c2l990j | t1_c2l93ly | null | 1427624076 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | is it bad that I'm laughing at this? | null | 0 | 1316534707 | False | 0 | c2l99cw | t3_klhlv | null | t1_c2l99cw | t3_klhlv | null | 1427624082 | 1 | t5_2fwo | null | null | null |
True | alexs | null | What the fuck are you maximising windows for? This isn't the 90's. | null | 0 | 1316534799 | False | 0 | c2l99s7 | t3_kldfr | null | t1_c2l99s7 | t1_c2l7la1 | null | 1427624087 | -3 | t5_2fwo | null | null | null |
True | crocodile7 | null | > normal PC apps work fine.
On W8 launch... until W9 or an update comes around, bringing *security improvements*. | null | 0 | 1316534861 | False | 0 | c2l9a5y | t3_kl7h0 | null | t1_c2l9a5y | t1_c2l7yf2 | null | 1427624092 | -1 | t5_2fwo | null | null | null |
True | Newky | null | Upvoted because you have a point and I had neglected to take command line browsers into account, although I would argue that anyone who uses a command line browser would have access to, or would be able to get access to a javascript interpreter in some form or other. I know this isn't necessarily the same as my original argument but the benefit of javascript common platform remains true. | null | 0 | 1316534909 | False | 0 | c2l9af7 | t3_kkw07 | null | t1_c2l9af7 | t1_c2l98qj | null | 1427624095 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | It's both simple and predictable. * never expanded to dotfiles. That's shell 101. If you don't know that, you're likely not concerned about copying your .bashrc somewhere else. And if you want to copy all that stuff, you can get it for a whole three extra characters: cp * .* dst. Or you could, you know, use cp -r like every other person.
Somehow you have failed to find the value in a feature that others find useful. Not all of us want to be bombarded by files we rarely look at. | null | 0 | 1316534952 | False | 0 | c2l9ap1 | t3_klhlv | null | t1_c2l9ap1 | t1_c2l8tl0 | null | 1427624099 | 4 | t5_2fwo | null | null | null |
True | crocodile7 | null | Nobody will be able to download any Metro app which fails Windows Store approval. uTorrent? MS Office competitor? | null | 0 | 1316534956 | False | 0 | c2l9apr | t3_kl7h0 | null | t1_c2l9apr | t1_c2l7vfs | null | 1427624099 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | Slacker! Good Programming Practice dictates `coordinate_on_horizontal_axis`. | null | 0 | 1316534965 | True | 0 | c2l9arg | t3_klhlv | null | t1_c2l9arg | t1_c2l86f2 | null | 1427624100 | 2 | t5_2fwo | null | null | null |
True | immerc | null | Get an editor that can search and replace regexps, or use a language that doesn't need throw-away loop indices.
| null | 0 | 1316534974 | False | 0 | c2l9at4 | t3_klhlv | null | t1_c2l9at4 | t1_c2l938z | null | 1427624100 | 12 | t5_2fwo | null | null | null |
True | crocodile7 | null | Just like Apple, only for the **other 80%** of computing devices out there (i.e. Windows PCs)... | null | 0 | 1316535012 | False | 0 | c2l9b17 | t3_kl7h0 | null | t1_c2l9b17 | t1_c2l5pdn | null | 1427624103 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | Huh, did not know that. Still, I think it's pretty obvious why people don't do that; unless you have a nonstandard keyboard layout or some other nonstandard input method, entering those characters is a huge pain. | null | 0 | 1316535047 | False | 0 | c2l9b7k | t3_kketr | null | t1_c2l9b7k | t1_c2l97ep | null | 1427624106 | 2 | t5_2fwo | null | null | null |
True | Lystrodom | null | (psst: This was a joke.) | null | 0 | 1316535056 | False | 0 | c2l9b9m | t3_klhlv | null | t1_c2l9b9m | t1_c2l94dv | null | 1427624107 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | In high school I named some programs "-", "--" and "---" and accidentally deleted one of them because the delete command syntax was "DELETE-name". | null | 0 | 1316535088 | False | 0 | c2l9bg2 | t3_klhlv | null | t1_c2l9bg2 | t3_klhlv | null | 1427624109 | 1 | t5_2fwo | null | null | null |
True | glenbolake | null | I just started reading that, and one of the first examples of coding standards he gives is about remembering braces for single-command if statements.
Personally, I always (read: unless `cond` is very long) put those on a single line so
if (cond)
foo();
becomes
if (cond) foo(); | null | 0 | 1316535108 | False | 0 | c2l9bjh | t3_klhlv | null | t1_c2l9bjh | t1_c2l8ufn | null | 1427624110 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | five(); ALittleBitOfMonicaInMyLife(); | null | 0 | 1316535183 | False | 0 | c2l9bwl | t3_klhlv | null | t1_c2l9bwl | t1_c2l7s1g | null | 1427624122 | 29 | t5_2fwo | null | null | null |
True | abulfurqan | null | I once came across a code where all variable names were private body parts. Ended up with something like:
if (Vagina == Pussy)
{
Dick = Ass * Cunt
}
Yes I wrote the code. Yes I was still a virgin back then. | null | 0 | 1316535214 | False | 0 | c2l9c2l | t3_klhlv | null | t1_c2l9c2l | t3_klhlv | null | 1427624118 | 2 | t5_2fwo | null | null | null |
True | ZeroBugBounce | null | But the full .NET 4.5 CLR *will* be running on top of WinRT for Metro apps on ARM devices - they will constitute a large chunk of the apps for sure, though certainly not all. | null | 0 | 1316535237 | False | 0 | c2l9c71 | t3_kl1qp | null | t1_c2l9c71 | t1_c2l6u9m | null | 1427624119 | 2 | t5_2fwo | null | null | null |
True | danielmartin25 | null | > most versions of IE don't follow the spec
You don't say. | null | 0 | 1316535270 | False | 0 | c2l9cdj | t3_klhlv | null | t1_c2l9cdj | t1_c2l84ug | null | 1427624121 | 24 | t5_2fwo | null | null | null |
True | 0xABADC0DA | null | View -> Page Style -> No Style
It fixes all these problems. Now that pages use CSS so much it's even better than before since all the text is in a big block without other elements inside it. | null | 0 | 1316535311 | False | 0 | c2l9cl7 | t3_kldfr | null | t1_c2l9cl7 | t1_c2l7la1 | null | 1427624123 | 1 | t5_2fwo | null | null | null |
True | banuday | null | > That's silly - if you try to instantiate one you'll quickly realize it's abstract
The fact that the class is abstract is not the point. The class is scaffolding. It contains the logic necessary to implement a generic SingletonProxyFactoryBean, deferring implementation of specific details to subclasses via abstract methods. It is an Abstract Base Class.
> Arguably critical shortcoming of the Spring Framework.
Actually, this is one of its most important features. The Spring Framework is a DI container. A "singleton" is a guarantee by the container that only one instance will ever be created in one container instance and components into which the object is injected will all receive the same instance. Thus, you don't implement `getInstance()` methods anymore to implement the Singleton pattern, thereby separating instantiation logic
from business logic.
> Naming the class for an implementation detail?
It's not just an implementation detail, it's the core feature of the class and describes its role within the core AOP framework. The Spring AOP framework needs a component to create proxies, and this class provides the template for concrete subclasses which create them.
> Does it need to be in the name?
Why not? The Spring Framework has a lot of classes. Not all of the classes are components that are designed to be wired into the DI container. Putting it in the name makes it visually obvious when looking at a large list of classes. | null | 0 | 1316535347 | True | 0 | c2l9ct1 | t3_klhlv | null | t1_c2l9ct1 | t1_c2l93qn | null | 1427624125 | 7 | t5_2fwo | null | null | null |
True | Banduin | null | This actually may be the best class name I've found.
/// <summary>
/// With it's abstract stylings and double hitting base, the
/// BaseMasterBase class is the obvious inheritence choice for creating
/// new, fresh, and phat MasterPage implementations. Snap!
/// </summary>
public abstract class BaseMasterBase : System.Web.UI.MasterPage
{
} | null | 0 | 1316535409 | False | 0 | c2l9d4i | t3_klhlv | null | t1_c2l9d4i | t3_klhlv | null | 1427624129 | 1 | t5_2fwo | null | null | null |
True | MereInterest | null | This is my experience with POV-ray as a user, not a programmer, but reflections on non-flat surfaces are done very well.
Rather than treating the entire object as flat, you specify the angle of the surface at any point relative to its geometric surface. Mathematically, a sphere always has a normal perpendicular to the surface, but when calculating the reflection, that normal is perturbed by your function. In this way, the surface can be given a very complex reflection with little additional computation.
Shadows are still completely nasty, though. | null | 0 | 1316535422 | False | 0 | c2l9d70 | t3_kldfr | null | t1_c2l9d70 | t1_c2l8vui | null | 1427624130 | 3 | t5_2fwo | null | null | null |
True | GFandango | null | you_are_not_supposed_to_understand_this() | null | 0 | 1316535425 | False | 0 | c2l9d7u | t3_klhlv | null | t1_c2l9d7u | t3_klhlv | null | 1427624130 | 1 | t5_2fwo | null | null | null |
True | toofishes | null | I should have looked at the question date, whoops. Thanks for pointing that out. | null | 0 | 1316535436 | False | 0 | c2l9d9z | t3_klhlv | null | t1_c2l9d9z | t1_c2l8wkt | null | 1427624131 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | You globally change short scope loop indexes?!? | null | 0 | 1316535457 | False | 0 | c2l9deo | t3_klhlv | null | t1_c2l9deo | t1_c2l95te | null | 1427624133 | 3 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | "* means zero or more anything" is simpler than "* means zero or more anything except for dot if it's first character". If I didn't know that, I wouldn't be discussing how it's a bad idea.
I wonder if you're the one who knows his sh. `* .*` has two pitfalls:
- If there are no dotfiles, exit status of commands like cp is 1 because .* is not found
- If you are trying to copy recursively or operate on directories as well as files, .* matches `.` and `..` . | null | 0 | 1316535474 | False | 0 | c2l9di2 | t3_klhlv | null | t1_c2l9di2 | t1_c2l9ap1 | null | 1427624134 | 1 | t5_2fwo | null | null | null |
True | keith_phillips | null | Pretty much any code in [APL](http://en.wikipedia.org/wiki/APL_\(programming_language\)#Syntax)? | null | 0 | 1316535547 | False | 0 | c2l9dvo | t3_klhlv | null | t1_c2l9dvo | t3_klhlv | null | 1427624139 | 1 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | I don't think "professional" means "wears $300 suit, can't smile". Finding some slang or meme in source code is good for comic relief. A look of disapproval here and there and somebody will smile some day; I think it's a good thing to make people smile. | null | 0 | 1316535583 | False | 0 | c2l9e2j | t3_klhlv | null | t1_c2l9e2j | t1_c2l96o6 | null | 1427624142 | 2 | t5_2fwo | null | null | null |
True | rjberry | null | If you're using jQuery (also uses $) you would probably want to use underscore.js for Scriptaculous's non-DOM-related language functionality. No prizes for guessing what special variable they use. | null | 0 | 1316535716 | False | 0 | c2l9etv | t3_klhlv | null | t1_c2l9etv | t1_c2l8erl | null | 1427624151 | 1 | t5_2fwo | null | null | null |
True | TheFrigginArchitect | null | You wouldn't need the flood of inputs to come from human users, I would expect that there are people out there monitoring complicated sensor arrays who would benefit from large-scale real-time processing as well. | null | 0 | 1316535720 | False | 0 | c2l9euk | t3_kks00 | null | t1_c2l9euk | t1_c2l7qof | null | 1427624152 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316535722 | False | 0 | c2l9ev3 | t3_klhlv | null | t1_c2l9ev3 | t1_c2l8gzx | null | 1427624152 | 2 | t5_2fwo | null | null | null |
True | davefp | null | public static final String BACKSLASH = "/" | null | 0 | 1316535732 | False | 0 | c2l9ex8 | t3_klhlv | null | t1_c2l9ex8 | t3_klhlv | null | 1427624153 | 21 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316535751 | False | 0 | c2l9f0h | t3_ki83r | null | t1_c2l9f0h | t1_c2kxwfa | null | 1427624154 | 1 | t5_2fwo | null | null | null |
True | shelfoo | null | Easy.
Some old crappy perl code, with a hash getting populated with all kinds of random shit called %of_the_jedi
Was solely so that the final line in the method could be
return %of_the_jedi; | null | 0 | 1316535761 | False | 0 | c2l9f25 | t3_klhlv | null | t1_c2l9f25 | t3_klhlv | null | 1427624154 | 1 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | I'm not bothered by files starting with . in $HOME because I rarely put files there except for temporary stuff when in a rush; projects, images, audio, porn, and so on have their own directories. | null | 0 | 1316535802 | False | 0 | c2l9fa0 | t3_klhlv | null | t1_c2l9fa0 | t1_c2l93z0 | null | 1427624157 | 2 | t5_2fwo | null | null | null |
True | rjberry | null | One guy wrote
var magic = 174;
in some JS I had to refactor once. | null | 0 | 1316535806 | False | 0 | c2l9fax | t3_klhlv | null | t1_c2l9fax | t3_klhlv | null | 1427624157 | 2 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.