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 | mooli | null | And this is why I prefer 1TBS over Allman bracing.
if (cond)
{
foo();
}
Takes up enough needless vertical space that leaving off the braces is tempting, whereas:
if (cond) {
foo();
}
Is just compressed enough that there's no reason not to put the braces in. In fact, pretty much everyone that does a no-brace "if" tends to leave a blank line afterwards anyway, so you're really not losing anything.
I've seen enough insanely hard to track down bugs caused by bad merges and ifs without braces to make it utterly, no-questions-asked mandatory to have braces, always. | null | 0 | 1316544921 | False | 0 | c2lat63 | t3_klhlv | null | t1_c2lat63 | t1_c2l9bjh | null | 1427624812 | 5 | t5_2fwo | null | null | null |
True | grauenwolf | null | I heard that WPF is built on top of Direct3D. Metro uses the more modern Direct2D API. | null | 0 | 1316544925 | False | 0 | c2lat6x | t3_kl1qp | null | t1_c2lat6x | t1_c2l7zt4 | null | 1427624812 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316544937 | False | 0 | c2lat92 | t3_klhlv | null | t1_c2lat92 | t1_c2la2u9 | null | 1427624817 | 15 | t5_2fwo | null | null | null |
True | ubergeek404 | null | Newsflash: Someone who uses the ideas of others is not really an innovator, just a technician.
[edit] Look I realize that most people are not actually inventive, and they think they are creative because they take someone else's images and stick words on them. That's a pretty low level activity compared to painting the Mona Lisa for example. So when I challenge them for being overly proud of their great creativity I expect downvotes. But let's face it, it's hard to come up with new ideas and that's why most people just rearrange others people's stuff. Thinking it's innovative is like grade inflation, or self esteem exercises based on back patting instead of real work. | null | 0 | 1316544977 | True | 0 | c2lath1 | t3_klqte | null | t1_c2lath1 | t3_klqte | null | 1428193627 | -12 | t5_2fwo | null | null | null |
True | grauenwolf | null | Hello docking station. | null | 0 | 1316544994 | False | 0 | c2latkv | t3_kl1qp | null | t1_c2latkv | t1_c2l81zs | null | 1427624817 | 3 | t5_2fwo | null | null | null |
True | a_redditor | null | Hm. I didn't know you could write Android apps in Perl.
/kidding | null | 0 | 1316545115 | False | 0 | c2lau8d | t3_klhlv | null | t1_c2lau8d | t1_c2l7r8b | null | 1427624826 | 1 | t5_2fwo | null | null | null |
True | BrainInAJar | null | C++ in general is such an abortion of a language I can't believe anyone still uses it. | null | 0 | 1316545141 | False | 0 | c2laucq | t3_klphp | null | t1_c2laucq | t3_klphp | null | 1427624827 | -35 | t5_2fwo | null | null | null |
True | desrosiers | null | I will find you, and kill you in your sleep. | null | 0 | 1316545163 | False | 0 | c2laugh | t3_klhlv | null | t1_c2laugh | t1_c2l8duk | null | 1427624833 | 26 | t5_2fwo | null | null | null |
True | grauenwolf | null | .NET is fineon ARM. It is the old version of COM based around IDispatch that they can't get to work right. | null | 0 | 1316545163 | False | 0 | c2laugk | t3_kl1qp | null | t1_c2laugk | t1_c2l6u9m | null | 1427624833 | 1 | t5_2fwo | null | null | null |
True | LegioXIV | null | Where is that option in notepad? | null | 0 | 1316545178 | False | 0 | c2lauj0 | t3_klhlv | null | t1_c2lauj0 | t1_c2laowf | null | 1427624830 | 2 | t5_2fwo | null | null | null |
True | berkut | null | > On the higher end though PRMan (and to a degree Mental Ray), is still the champion from what I know, even some CG studios like Blur are switching to it as the scene complexity rose.
This is changing VERY quickly, Arnold has got a lot of momentum, and it's the reason PRMan 16 is now a good raytracer too - Pixar did a lot of work to get it to be much faster casting and intersecting rays (for custom shaders).
Several of the biggest VFX studios in the world are now using Arnold instead of PRMan on their new work. | null | 0 | 1316545207 | False | 0 | c2lauol | t3_kldfr | null | t1_c2lauol | t1_c2laqvj | null | 1427624834 | 1 | t5_2fwo | null | null | null |
True | maxd | null | Here's a couple I have been around.
animationSetAnimationSet();
An "animation set" is like "scared", "fast", etc.
gun.gun->gun
This was almost a decade ago so I can't quite remember, but I think it goes: game object, gun component, gun definition.
fuckYouVisualStudioAndTheAssholesThatMakeVisualAssist();
When developing for Xbox there is some fucking annoying linker problem that means some structures are not inspectable in watch windows. referencing the structure in this function would solve that. :)
EDIT: Oh wait it said "worst". I actually fucking love these names, thought I'd bring them up though. | null | 0 | 1316545221 | False | 0 | c2laur7 | t3_klhlv | null | t1_c2laur7 | t3_klhlv | null | 1427624833 | 1 | t5_2fwo | null | null | null |
True | benihana | null | John Carmack is a genius. Not just because he's an amazing programmer, or software engineer. But because he knows a lot about business and stuff and because he has a tie.
No seriously, he understands business and technology trends. I just wish they would license out the id Tech the way Epic does the [Unreal Engine](http://www.udk.com/).
Great article and great write up. | null | 0 | 1316545226 | False | 0 | c2lausb | t3_klrrx | null | t1_c2lausb | t3_klrrx | null | 1427624836 | 21 | t5_2fwo | null | null | null |
True | simonask | null | Many developers prefer to avoid iterators, because they are extremely verbose. Consider this very simple `for`-loop:
for (std::vector<Foo>::iterator it = foos.begin(); it != foos.end(); ++it) {
...
}
versus
for (size_t i = 0; i < foos.size(); ++i) {
...
}
Furthermore, if at one point you want to refactor, and use an `std::list` instead of a vector, you would have to change a lot of code.
This problem is, of course, alleviated by the `auto` keyword, but the underlying goal is semantic decoupling — API users should not have to care about implementation details.
A different example is when a library function wants to return a collection of objects. Returning an `std::vector` is expensive, and no matter what you do, you still need the API user to do *something* specifically regarding the *collection*, and not just each element, which is what they are presumably interested in.
Consider this:
std::vector<Node> children;
children.reserve(node.num_children());
node.get_children(children);
for (size_t i = 0; i < children.size(); ++i) {
...
}
versus
node.children().each([](Node& child) {
...
});
I would say that readability, and thus productivity, is pretty likely improved. :) | null | 0 | 1316545244 | False | 0 | c2lauvt | t3_klphp | null | t1_c2lauvt | t1_c2lalzs | null | 1427624841 | 16 | t5_2fwo | null | null | null |
True | morphotomy | null | How does this improve on existing technology? | null | 0 | 1316545330 | False | 0 | c2lavcx | t3_klnf3 | null | t1_c2lavcx | t3_klnf3 | null | 1427624840 | 1 | t5_2fwo | null | null | null |
True | NegativeK | null | Not if you don't know how to properly spell my Unicode-laden name.
Mwahahahaha! | null | 0 | 1316545363 | False | 0 | c2lavj4 | t3_klhlv | null | t1_c2lavj4 | t1_c2laugh | null | 1427624842 | 16 | t5_2fwo | null | null | null |
True | doomslice | null | I have a bias towards trusting data vs "but X of my coworkers/friends/father's brother's nephew's cousin's former roommate uses Y, so you must be wrong".
I don't develop for either platform (or even own a phone with either platform), so having a bias towards one side or the other is unfounded. | null | 0 | 1316545395 | False | 0 | c2lavp8 | t3_kkp4z | null | t1_c2lavp8 | t1_c2lasjg | null | 1427624844 | 0 | t5_2fwo | null | null | null |
True | flussence | null | The US government is a result of patent troll intervention. Calling people idiots for voting one way is a worthless comment; corporations have already bought any candidates that could possibly win the election. | null | 0 | 1316545407 | False | 0 | c2lavrv | t3_klqte | null | t1_c2lavrv | t1_c2laqhu | null | 1427624845 | 7 | t5_2fwo | null | null | null |
True | mattstreet | null | Yeah testing ground for ideas sounds good. I was thinking that what we really need is an agreed upon protocol for the type of social media sharing we do on things like facebook. But if this project is to be a testing ground for ideas for the protocol that could be really useful. | null | 0 | 1316545474 | False | 0 | c2law5f | t3_kgsnl | null | t1_c2law5f | t1_c2l9ps5 | null | 1427624850 | 1 | t5_2fwo | null | null | null |
True | wretcheddawn | null | For me, the screen is less busy and it's easier to focus if I'm only looking at one window. If I need to interact with multiple programs, I'll tile them. Windows 7 has this down almost perfect with Aero snap. How often would you want to use more than two program at once? Rarely, but it's still doable.
However, the trend is going to full screen windows in modern UIs. iOS, Android, Windows Mobile, Windows 8, Windows Media Center, are all designed primary to be used with fullscreen windows in most cases if not all. The primary Linux Desktops, like older versions of Windows, can easily be used either way. Only the PC version of Mac OS (as in, laptop / desktop, not phone / tablet) emphasizes non-maximized windows). (also, tiling WMs like Awesome) | null | 0 | 1316545477 | False | 0 | c2law5z | t3_kldfr | null | t1_c2law5z | t1_c2larwo | null | 1427624851 | 1 | t5_2fwo | null | null | null |
True | simonask | null | This is a fundamentally screwed-up type of logic. You don't become a programmer because you love *typing*. At least I hope so. If you do, I hope I will never have to use an API created by you.
Lambdas and closures increase locality, require less typing, and allow for cleaner APIs than functor objects. If you disagree, I challenge you to use any dynamic language with closures. | null | 0 | 1316545504 | False | 0 | c2lawby | t3_klphp | null | t1_c2lawby | t1_c2lasmg | null | 1427624853 | 11 | t5_2fwo | null | null | null |
True | mkdir | null | Tools->Advanced->Download Real Editor | null | 0 | 1316545531 | False | 0 | c2lawhb | t3_klhlv | null | t1_c2lawhb | t1_c2lauj0 | null | 1427624855 | 29 | t5_2fwo | null | null | null |
True | Hypx | null | In a lot of cases sure, and certainly it was in the past, but increasingly it's raytracing these days. | null | 0 | 1316545541 | False | 0 | c2lawin | t3_kldfr | null | t1_c2lawin | t1_c2l7u58 | null | 1427624855 | 1 | t5_2fwo | null | null | null |
True | FredFnord | null | Reminds me of one of my favorites, which was equally far in the other direction:
DoStuffOnlyIfNecessary | null | 0 | 1316545623 | False | 0 | c2lawz6 | t3_klhlv | null | t1_c2lawz6 | t1_c2l8gtb | null | 1427624861 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316545625 | False | 0 | c2lawzo | t3_klphp | null | t1_c2lawzo | t1_c2lauvt | null | 1427624861 | 14 | t5_2fwo | null | null | null |
True | AttackingHobo | null | Man linux must be doing amazing in the desktop market. Every year since 2005 has been the Year of Linux. | null | 0 | 1316545680 | False | 0 | c2laxam | t3_kl7h0 | null | t1_c2laxam | t1_c2l7ljt | null | 1427624875 | 5 | t5_2fwo | null | null | null |
True | majkeli | null | 500+ line VB.NET function in an ASP.NET form named "Go()". It was one of 20 or so badly named functions. VB.NET people! | null | 0 | 1316545829 | False | 0 | c2lay3i | t3_klhlv | null | t1_c2lay3i | t3_klhlv | null | 1427624877 | 2 | t5_2fwo | null | null | null |
True | ceolceol | null | Not to be rude, but could you just tell me "how bad" it is instead of attempting to prove your point through analogy?
I understand that variable names should be semantic, but this doesn't seem like it would fall under the *worst* thing. It shows some form of logic and thought on the previous developer's part. | null | 0 | 1316545875 | False | 0 | c2layc9 | t3_klhlv | null | t1_c2layc9 | t1_c2lag4b | null | 1427624880 | 0 | t5_2fwo | null | null | null |
True | Killobyte | null | If you didn't learn these things in undergrad, you didn't have a very good undergrad program. | null | 0 | 1316545931 | False | 0 | c2layna | t3_klv9k | null | t1_c2layna | t3_klv9k | null | 1427624884 | -2 | t5_2fwo | null | null | null |
True | djnattyp | null | A big problem with this is making sure the 'shit' that people are 'getting done' is actually worthwhile and not just 'shit'. There are places where a premium is put on 'looking busy' and 'staying late' to impress/live up to some bosses expectation. Of course, all the busy fingers clicking across the keys ensured no one actually spent the time to design anything... or see if there was existing code to solve a problem in the language APIs, open source projects, or even the project itself. Why take half a day to design or research something when you can look busy for a week re-implementing it! Mr. BigBoss might see you "surfing the web", "reading a book on company time", "slacking off with co-workers", "just sitting at your desk", etc. | null | 0 | 1316545940 | False | 0 | c2layoj | t3_kls47 | null | t1_c2layoj | t3_kls47 | null | 1427624884 | 7 | t5_2fwo | null | null | null |
True | plasphemy | null | Businesses have the policy to shoot first and ask questions later. They use patents without the rights and rely on the fact that most inventors can't afford the lawyers to fight them. What we need are stronger laws protecting inventors, not stronger laws protecting the companies that steal from them. | null | 0 | 1316545947 | False | 0 | c2layq4 | t3_klqte | null | t1_c2layq4 | t3_klqte | null | 1428193624 | 1 | t5_2fwo | null | null | null |
True | GTChessplayer | null | >The US government is a result of patent troll intervention.
That doesn't make sense.
>Calling people idiots for voting one way is a worthless comment; corporations have already bought any candidates that could possibly win the election.
Right. Government screws up again. | null | 0 | 1316545967 | False | 0 | c2layu7 | t3_klqte | null | t1_c2layu7 | t1_c2lavrv | null | 1427624892 | -8 | t5_2fwo | null | null | null |
True | GTChessplayer | null | That's not true. | null | 0 | 1316545973 | False | 0 | c2layvg | t3_klqte | null | t1_c2layvg | t1_c2las21 | null | 1427624886 | -5 | t5_2fwo | null | null | null |
True | G_Morgan | null | No it isn't screwed up logic. Typing takes such a small amount of my time that I don't consider it a relevant aspect to improve. I've spent a fortnight designing good solutions and algorithms to difficult problems without touching a text editor. Typing is a fringe issue.
Increasing locality is a worthwhile goal. Reducing typing is not. | null | 0 | 1316546034 | False | 0 | c2laz7n | t3_klphp | null | t1_c2laz7n | t1_c2lawby | null | 1427624895 | 3 | t5_2fwo | null | null | null |
True | LegioXIV | null | Just a joke.
I'm not a real programmer anymore anyway. I'm a freaking power point jockey these days. | null | 0 | 1316546065 | False | 0 | c2lazdw | t3_klhlv | null | t1_c2lazdw | t1_c2lawhb | null | 1427624894 | 1 | t5_2fwo | null | null | null |
True | AlyoshaV | null | CORBA is worse: http://download.oracle.com/javase/7/docs/api/org/omg/CORBA/Object.html
Look at that naming. | null | 0 | 1316546079 | False | 0 | c2lazgf | t3_klhlv | null | t1_c2lazgf | t1_c2l8100 | null | 1427624895 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316546086 | False | 0 | c2lazh9 | t3_klhlv | null | t1_c2lazh9 | t3_klhlv | null | 1427624897 | 1 | t5_2fwo | null | null | null |
True | tricolon | null | and in OCaml! | null | 0 | 1316546093 | False | 0 | c2lazk2 | t3_klhlv | null | t1_c2lazk2 | t1_c2l8l13 | null | 1427624897 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316546101 | False | 0 | c2lazla | t3_klphp | null | t1_c2lazla | t1_c2laucq | null | 1427624897 | 13 | t5_2fwo | null | null | null |
True | k3n | null | Same. "Getting shit done" is a euphemism for "writing completely undocumented and unmaintainable code which is so brittle it breaks under the slightest load or on the most basic of edge-cases, is not easily maintainable so as to add/remove/modify features, has no design direction so that any level of trivial complexity that is added is an afterthought with little-to-no sane design principles used at all". In other words, shit code. | null | 0 | 1316546127 | False | 0 | c2lazq0 | t3_kls47 | null | t1_c2lazq0 | t1_c2larrm | null | 1427624898 | 11 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not even sure he knows that the concept of "users" exists. | null | 0 | 1316546155 | False | 0 | c2lazvk | t3_kl7h0 | null | t1_c2lazvk | t1_c2la13o | null | 1427624899 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not concerned with just the trolls. I think the whole patent system inhibits innovation, and smothers competition. Just look at Apple/Samsung. Neither one is a pure troll, but they're stifling innovation and competition. The only people that patents really benefit are lawyers, who also coincidentally are also mostly the people that make the laws. I'll let you solve that mystery on your own. | null | 0 | 1316546169 | False | 0 | c2lazyp | t3_klqte | null | t1_c2lazyp | t3_klqte | null | 1427624901 | 18 | t5_2fwo | null | null | null |
True | [deleted] | null | This should be in /r/programming/funny. Epic. | null | 0 | 1316546170 | False | 0 | c2lazyx | t3_klj1g | null | t1_c2lazyx | t3_klj1g | null | 1427624901 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Yes, patent trolling couldn't exist without government intervention, but it also couldn't exist without human life. Can we now justify the termination of all human life? | null | 0 | 1316546222 | False | 0 | c2lb09a | t3_klqte | null | t1_c2lb09a | t1_c2lamwh | null | 1427624904 | 16 | t5_2fwo | null | null | null |
True | mcguire | null | > and in some employment environments it is necessary
Aye, there's the rub. I started out with finding interview exercises somewhat offensive as well, but as I've gotten more experience in the industry I've come to believe that *something* like that is necessary. Sure, "several days of work" is (very) excessive, and "a half day coding exercise" is probably too much when a half an hour should be enough to separate them as can code from them as are very good at inflating their resumes and talking.
| null | 0 | 1316546226 | False | 0 | c2lb09y | t3_kls47 | null | t1_c2lb09y | t1_c2lab04 | null | 1427624904 | 3 | t5_2fwo | null | null | null |
True | AllegraGeller | null | onigma? lol, i'm definitely gonna be using that one in the future | null | 0 | 1316546308 | False | 0 | c2lb0q9 | t3_klqte | null | t1_c2lb0q9 | t1_c2lamwh | null | 1427624910 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | In your opinion, what language is a viable alternative to C++? | null | 0 | 1316546338 | False | 0 | c2lb0wg | t3_klphp | null | t1_c2lb0wg | t1_c2laucq | null | 1427624913 | 12 | t5_2fwo | null | null | null |
True | fancy_pantser | null | Maybe he started with Perl? It's a language where you can hold down the shift key for an entire line of code. | null | 0 | 1316546380 | False | 0 | c2lb151 | t3_klhlv | null | t1_c2lb151 | t1_c2l7r8b | null | 1427624917 | 2 | t5_2fwo | null | null | null |
True | simonask | null | I strongly disagree. Typing is your enemy. Sure, thinking about solutions is a very important part of the programming process, but that in turn makes it even more frustrating to have to write excessive amounts of code to represent simple things.
Boilerplate is *always* bad. The more your code focuses on the things you actually have spent time thinking about, the easier it will be to write, and more importantly, the easier it will be to *read*. | null | 0 | 1316546395 | False | 0 | c2lb183 | t3_klphp | null | t1_c2lb183 | t1_c2laz7n | null | 1427624921 | 8 | t5_2fwo | null | null | null |
True | xardox | null | struct nelson_mandela \*NelsonMandela = (struct nelson_mandela \*)malloc(sizeof(struct nelson_mandela));
/\* a few pages later ... \*/
free(NelsonMandela);
| null | 0 | 1316546397 | False | 0 | c2lb18q | t3_klhlv | null | t1_c2lb18q | t3_klhlv | null | 1427624921 | 25 | t5_2fwo | null | null | null |
True | [deleted] | null | That and most (all?) browser-based JS VMs are singlethreaded afair. | null | 0 | 1316546437 | False | 0 | c2lb1hl | t3_kkw07 | null | t1_c2lb1hl | t1_c2l9tzy | null | 1427624922 | 2 | t5_2fwo | null | null | null |
True | Yowomboo | null | Yes.
EXTERMINATE! | null | 0 | 1316546479 | False | 0 | c2lb1px | t3_klqte | null | t1_c2lb1px | t1_c2lb09a | null | 1427624924 | 10 | t5_2fwo | null | null | null |
True | cbrandolino | null | Correct declension, incorrect case. I don't think of programming languages' reserved words as grammatical constructs, though. | null | 0 | 1316546487 | False | 0 | c2lb1ru | t3_klhlv | null | t1_c2lb1ru | t1_c2l9xtl | null | 1427624924 | 2 | t5_2fwo | null | null | null |
True | orip | null | From the JTwitter library: https://github.com/winterstein/JTwitter/commits/master | null | 0 | 1316546494 | False | 0 | c2lb1tb | t3_klvsc | null | t1_c2lb1tb | t3_klvsc | null | 1427624925 | 1 | t5_2fwo | null | null | null |
True | sbrown123 | null | >The vision I can see here is that the traditional "large" desktop will go away, which also includes the laptops we have always been using.
People have been stating this for years. Each new mobile platform makes this claim. The belief totally ignores the obvious reason why desktop computers will remain viable:
1. Cheap
2. Easy to expand.
3. No batteries, plugs in to house outlet.
4. Performance.
5. Easier to use. Full size keyboard and mouse!
Edit: I should state each has its place. Personally I own several computers, a laptop, and a tablet (no netbook). My desktop gets the most "work". Laptop for travel. Tablet for reading books and other stuff. | null | 0 | 1316546497 | False | 0 | c2lb1tp | t3_kl1qp | null | t1_c2lb1tp | t1_c2l84qe | null | 1427624925 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | I agree. The guy is all about looking out for people but because he doesn't offer shiny things to play with a lot of people ignore him. | null | 0 | 1316546523 | False | 0 | c2lb1yv | t3_kl7h0 | null | t1_c2lb1yv | t1_c2l93ly | null | 1427624927 | 6 | t5_2fwo | null | null | null |
True | 33a | null | Same convention for using _ as a throwaway in ML. | null | 0 | 1316546560 | False | 0 | c2lb26s | t3_klhlv | null | t1_c2lb26s | t1_c2l817y | null | 1427624930 | 1 | t5_2fwo | null | null | null |
True | simonask | null | I agree. But I want to add, that even with `auto`, a simple `for` loop is still more verbose with iterators than with an index. :) And in the case of `std::vector`, an index even gives you the benefit of being stable across modifications to the vector. ;) | null | 0 | 1316546579 | False | 0 | c2lb2am | t3_klphp | null | t1_c2lb2am | t1_c2lawzo | null | 1427624931 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Yeah look at Redhat they're in the poor house because of centos. | null | 0 | 1316546596 | False | 0 | c2lb2eg | t3_kl7h0 | null | t1_c2lb2eg | t1_c2l990j | null | 1427624940 | 3 | t5_2fwo | null | null | null |
True | alexs | null | > For me, the screen is less busy and it's easier to focus if I'm only looking at one window.
I agree, however I personally find the derped up whitespace or enormously long lines most websites tend to give you when you stretch windows that large to be even worse than having other apps in the background.
> If I need to interact with multiple programs, I'll tile them. Windows 7 has this down almost perfect with Aero snap
That snap feature is actually pretty good I agree. I'd love to have something this when I am being forced to use OS X for work.
> However, the trend is going to full screen windows in modern UIs. iOS, Android, Windows Mobile, Windows 8, Windows Media Center, are all designed primary to be used with fullscreen windows in most cases if not
More specifically they are designed to be used on systems with low resolution, small size screens. Kind of like when people habitually maximised everything on their 1024x768 monitors in the 90's. This is a reaction to a physical resource constraint. | null | 0 | 1316546609 | False | 0 | c2lb2hf | t3_kldfr | null | t1_c2lb2hf | t1_c2law5z | null | 1427624933 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316546675 | False | 0 | c2lb2t3 | t3_klphp | null | t1_c2lb2t3 | t1_c2laucq | null | 1427624950 | 34 | t5_2fwo | null | null | null |
True | baddox | null | In one of my CS classes (small class where everyone knows everyone, professor included), the professor was stepping through some randomized data structure on the board, and the first time he needed a random number, he asked the class. Immediately, several students in unison said "four." We all laughed (professor included), and without ever making it explicit, we all shared a bit of situational xkcd humor. | null | 0 | 1316546675 | False | 0 | c2lb2t7 | t3_klhlv | null | t1_c2lb2t7 | t1_c2l8gp0 | null | 1427624950 | 12 | t5_2fwo | null | null | null |
True | BrainInAJar | null | C | null | 0 | 1316546727 | False | 0 | c2lb32w | t3_klphp | null | t1_c2lb32w | t1_c2lb0wg | null | 1427624947 | -14 | t5_2fwo | null | null | null |
True | 33a | null | That's not great code, but it's certainly not the worst in the world. | null | 0 | 1316546749 | False | 0 | c2lb376 | t3_klhlv | null | t1_c2lb376 | t1_c2l8c6h | null | 1427624949 | 1 | t5_2fwo | null | null | null |
True | wcoenen | null | If lots of people want some software created, they can pool their resources. For example, this is [how nouveaudriver was created](http://www.pledgebank.com/nouveaudriver). | null | 0 | 1316546749 | False | 0 | c2lb378 | t3_kl7h0 | null | t1_c2lb378 | t1_c2l9iz9 | null | 1427624949 | 1 | t5_2fwo | null | null | null |
True | ChaosMotor | null | Thank *GOD* that they removed first-to-invent, because *that's* going to solve this problem, by incentivising thieves and dis-incentivising inventors. | null | 0 | 1316546791 | False | 0 | c2lb3fc | t3_klqte | null | t1_c2lb3fc | t3_klqte | null | 1427624951 | -2 | t5_2fwo | null | null | null |
True | Syn3rgy | null | #define true false
Take that, logic! | null | 0 | 1316546806 | False | 0 | c2lb3ih | t3_klhlv | null | t1_c2lb3ih | t1_c2l842r | null | 1427624952 | 4 | t5_2fwo | null | null | null |
True | ChaosMotor | null | It seems problematic that you can patent something you didn't invent, because you showed up with the check first. | null | 0 | 1316546860 | False | 0 | c2lb3rp | t3_klqte | null | t1_c2lb3rp | t1_c2laok4 | null | 1427624953 | 50 | t5_2fwo | null | null | null |
True | [deleted] | null | I wouldn't necessarily agree with that. A lot of people have got rich from free software and if people would follow through with using open formats then it would be easier to create a competitor to Word for example and vendor lock in would be impossible. I think it would raise the quality of software because it would be harder to just get rich off locking people into your product. | null | 0 | 1316546863 | False | 0 | c2lb3tg | t3_kl7h0 | null | t1_c2lb3tg | t1_c2l9rxb | null | 1427624955 | 0 | t5_2fwo | null | null | null |
True | DoctorSlump | null | Thank you very much... Spent the better part of this hour reading his posts on Q2. | null | 0 | 1316546933 | False | 0 | c2lb48e | t3_klrrx | null | t1_c2lb48e | t3_klrrx | null | 1427624958 | 1 | t5_2fwo | null | null | null |
True | Lerc | null | That's not addressing the point I made. The image made by the university student having fun should not be significantly different the the image made by a complex acceleration structure.
His argument is largely that both rasterization and ray-tracing must be made complex for a real world solution and that such complexity benefits both techniques equally. My point was that this complexity changes the resultant image in rasterization.
| null | 0 | 1316546941 | False | 0 | c2lb4a3 | t3_kldfr | null | t1_c2lb4a3 | t1_c2l7udm | null | 1427624958 | 3 | t5_2fwo | null | null | null |
True | drysart | null | It's certainly not structured as an NT OS subsystem (a peer to Win32, Posix and the OS/2 layers, for instance) from a *technical* perspective (as it's most certainly just built on top of the Win32 subsystem), but from a functional perspective it's a fair statement for what they seem to be going for. There's WinRT apps and there's Win32 apps, and ne'er the twain shall meet. | null | 0 | 1316546941 | False | 0 | c2lb4a4 | t3_kl1qp | null | t1_c2lb4a4 | t1_c2lasja | null | 1427624958 | 2 | t5_2fwo | null | null | null |
True | Xarnon | null | As a Win32 newbie, shit like "lpcszHeader" is fucking horrifying when you first encounter them. Nowadays I guess it means "LongPointerCharStringZeroterminatedHeader" (which is a 4 byte long, char pointer to a string that is "zero terminated" (which is the \0 "character")).
The first time I learned about Hungarian Notation, I used it throughout my then current C++ project. It was good thing I learned to dump that bullshit and use the Ogre3D syntax:
PascalCase for classes
camelCase for methods and functions
camelCase prefixed with m for member variables
class ThisIsMyClass {
int mThisIsAMemberVariable;
void andThisIsAMethod();
}
No Hungarian Notation what so ever! (unless you count the member variable prefix as Hungarian Notation) | null | 0 | 1316546953 | False | 0 | c2lb4ct | t3_klhlv | null | t1_c2lb4ct | t1_c2l8fm2 | null | 1427624958 | 1 | t5_2fwo | null | null | null |
True | yelirekim | null | You would take on a project that would potentially take you years to complete using a language that is a little more than a year old? | null | 0 | 1316547060 | False | 0 | c2lb4yk | t3_kljc0 | null | t1_c2lb4yk | t1_c2l8au7 | null | 1427624967 | 2 | t5_2fwo | null | null | null |
True | schizobullet | null | isn't I current? i've never understood the convention. and J is also already [current density](http://en.wikipedia.org/wiki/Current_density), so if you disregard capitalization, that should be just as reserved of a letter. | null | 0 | 1316547067 | False | 0 | c2lb501 | t3_klhlv | null | t1_c2lb501 | t1_c2l9512 | null | 1427624967 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Did it work? | null | 0 | 1316547074 | False | 0 | c2lb51l | t3_klhlv | null | t1_c2lb51l | t1_c2l9nf9 | null | 1427624967 | 3 | t5_2fwo | null | null | null |
True | sylkworm | null | [CAR and CDR](http://en.wikipedia.org/wiki/CAR_and_CDR)
| null | 0 | 1316547176 | False | 0 | c2lb5my | t3_klhlv | null | t1_c2lb5my | t3_klhlv | null | 1427624974 | 1 | t5_2fwo | null | null | null |
True | yogthos | null | I agree completely, I simply meant that people of business mindset don't like the idea that they actually have to share something in return for what they're getting.
Overall I just feel like the whole thing is a false sense of entitlement. They want others to give their work away without any strings attached, so that they can make money off of it by making closed software. As soon as they realize that the condition on getting all this free work is that you in turn do the same they seem to get upset about it. | null | 0 | 1316547187 | False | 0 | c2lb5oz | t3_kl7h0 | null | t1_c2lb5oz | t1_c2lb3tg | null | 1427624975 | -1 | t5_2fwo | null | null | null |
True | sfgeek | null | I once saw someone define a class called 'BOOLEAN' with consts for TRUE and FALSE. | null | 0 | 1316547214 | False | 0 | c2lb5ux | t3_klhlv | null | t1_c2lb5ux | t3_klhlv | null | 1427624977 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Red hate doesn't sell development, they sell an army of low paid help desk drones. | null | 0 | 1316547290 | False | 0 | c2lb6ao | t3_kl7h0 | null | t1_c2lb6ao | t1_c2lb2eg | null | 1427624984 | 2 | t5_2fwo | null | null | null |
True | drysart | null | .NET for Metro apps is simply the standard .NET Framework, just with the standard libraries hidden and replaced with WinRT.
You, on your own PC, can write a .NET Metro app that makes use of WinRT and also P/Invokes to Win32 code and reflects out some of the full .NET Framework methods that have been hidden and uses those, and it'll all *work*; it's just that your app won't pass Microsoft's app store certification process because they dictate you only use WinRT for Metro apps and don't touch that other stuff any more. | null | 0 | 1316547322 | False | 0 | c2lb6h5 | t3_kl1qp | null | t1_c2lb6h5 | t1_c2l7u8s | null | 1427624996 | 1 | t5_2fwo | null | null | null |
True | Razakel | null | Yep. Credit for a hypothetical lightsaber should go exclusively to Lucas instead of the guy who actually figures out how to fucking do it.
An idea is worthless if it can't be implemented. | null | 0 | 1316547339 | False | 0 | c2lb6kn | t3_klqte | null | t1_c2lb6kn | t1_c2lath1 | null | 1427624997 | 8 | t5_2fwo | null | null | null |
True | wretcheddawn | null | > I agree, however I personally find the derped up whitespace or enormously long lines most websites tend to give you when you stretch windows that large to be even worse than having other apps in the background.
Actually, yes, come to think of it, when I get a skinny column for a page I unmaximize, just to make it tolerable to read. | null | 0 | 1316547350 | False | 0 | c2lb6nb | t3_kldfr | null | t1_c2lb6nb | t1_c2lb2hf | null | 1427624988 | 1 | t5_2fwo | null | null | null |
True | xardox | null | From the original [SimCity source code](http://www.micropolisonline.com/static/doc/html/budget_8cpp-source.html):
Quad yumDuckets = taxFund + totalFunds;
| null | 0 | 1316547443 | False | 0 | c2lb77z | t3_klhlv | null | t1_c2lb77z | t3_klhlv | null | 1427625010 | 1 | t5_2fwo | null | null | null |
True | crepitus | null | We have 5 analysis codes. Anal1, ..., Anal5 and various methods GetAnal, AnalCheck, etc etc. | null | 0 | 1316547458 | False | 0 | c2lb7ao | t3_klhlv | null | t1_c2lb7ao | t1_c2l98ox | null | 1427625003 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Yeah Linux really gone no where because of its licence. | null | 0 | 1316547460 | False | 0 | c2lb7b1 | t3_kl7h0 | null | t1_c2lb7b1 | t1_c2la13o | null | 1427625003 | 0 | t5_2fwo | null | null | null |
True | db4n | null | Other than separating the name info into screen IDs and button numbers, it's no more logical than labeling a bunch of variables x1, x2, x3, etc.. The only way you can understand the logic is to keep paging through your reference as you code, constantly looking back and forth between the reference and the source code. And, as LieutenantClone said, you have make sure you don't lose the reference.
See my original post for BradMW's point about arrays.
| null | 0 | 1316547505 | True | 0 | c2lb7k7 | t3_klhlv | null | t1_c2lb7k7 | t1_c2layc9 | null | 1427625009 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I had a Data Structures professor who had the habit of frequently prefacing programming questions with "What if I walked up to you on the street and gave you ____". The purpose of this was to make you think about a function/variable while pretending you don't know anything about the rest of program.
This really fell through when we were learning about the Head variable in a queue, and posed to the class: "What if I walked up to you and gave you Head?"
Honestly, I don't know what I would do, Professor. | null | 0 | 1316547514 | False | 0 | c2lb7lq | t3_klhlv | null | t1_c2lb7lq | t3_klhlv | null | 1427625012 | 5 | t5_2fwo | null | null | null |
True | drysart | null | Direct2D runs on top of Direct3D, so it's all the same once you dig deep enough. | null | 0 | 1316547534 | False | 0 | c2lb7q0 | t3_kl1qp | null | t1_c2lb7q0 | t1_c2lat6x | null | 1427625012 | 3 | t5_2fwo | null | null | null |
True | TheSuperficial | null | Applying const to a reference (e.g., int & const) does have one value / use: it helps me weed out people who don't know what they're doing. Perhaps even more useless than putting "auto" (old school, not C++11) or "register" in front of a variable.
I know some people like to use the term "const reference", but I've always preferred the term "reference to const". As others have stated, a reference is implicitly "const" as it can't be re-seated. | null | 0 | 1316547566 | False | 0 | c2lb7x5 | t3_klnoy | null | t1_c2lb7x5 | t3_klnoy | null | 1427625019 | 1 | t5_2fwo | null | null | null |
True | hyperkinetic | null | JavaScript doesn't require a VM. Only Java does. | null | 0 | 1316547581 | False | 0 | c2lb7zm | t3_kawp5 | null | t1_c2lb7zm | t1_c2j52m3 | null | 1427625015 | 1 | t5_2fwo | null | null | null |
True | GTChessplayer | null | Um, that doesn't make sense. If there's no government, there's no patents. Humans are not the root of the problem. | null | 0 | 1316547586 | False | 0 | c2lb808 | t3_klqte | null | t1_c2lb808 | t1_c2lb09a | null | 1427625015 | -13 | t5_2fwo | null | null | null |
True | ubergeek404 | null | First of all Lucas's lightsaber was useful within the context of his films, so his implimentation was sufficient for his purposes.
You are right about Lucas getting exclusive credit for the "hypothetical lightsaber", but getting it to actually work takes technical innovation. It's not mutually exclusive because they reside in different spheres. HG Wells tried to get a patent on the armored Tank because he had one in a story. He failed.
But if you put two existing technologies together, if its novel it might be innovation, or maybe just rearrangement, but it is not invention. For example - they guy who stuck an erasure on the end of a pencil did not get a patent because there was nothing new, just rearranged. | null | 0 | 1316547692 | True | 0 | c2lb8lm | t3_klqte | null | t1_c2lb8lm | t1_c2lb6kn | null | 1427625021 | -1 | t5_2fwo | null | null | null |
True | brownmatt | null | Were arrays not allowed? | null | 0 | 1316547701 | False | 0 | c2lb8na | t3_klhlv | null | t1_c2lb8na | t1_c2l7xnc | null | 1427625021 | 1 | t5_2fwo | null | null | null |
True | Learfz | null | ...And yet Righthaven is getting the US marshals called on its ass because it claims that it can't afford the $30,000 it owes. | null | 0 | 1316547714 | False | 0 | c2lb8pp | t3_klqte | null | t1_c2lb8pp | t3_klqte | null | 1427625021 | -1 | t5_2fwo | null | null | null |
True | max99x | null | I'm one of the people who built repl.it. This project grew from the desire for a quick way to try out little snippets of code while learning a new language or when away from one's work machine.
We opted to have all the execution client-side to provide a smooth experience where you don't have to wait for the server to respond to every command. Technically you don't even need an internet connection once it's cached. You can also save your REPL session and resume from another machine, or share it with other people. We have beta support for mobile devices, so you can REPL from your Android or iPhone, though Ruby and Python are still not supported on iOS.
The code is open sourced under the MIT license and available from GitHub (https://github.com/replit).
All feedback greatly appreciated!
| null | 0 | 1316547754 | False | 0 | c2lb8xt | t3_klv3o | null | t1_c2lb8xt | t3_klv3o | null | 1427625023 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | some countries get by without lawyers | null | 0 | 1316547779 | False | 0 | c2lb91x | t3_klqte | null | t1_c2lb91x | t3_klqte | null | 1427625024 | -2 | t5_2fwo | null | null | null |
True | jimbo333 | null | errno, especially when I see it defined as a static global, causes all kinds or error condition fun! | null | 0 | 1316547794 | False | 0 | c2lb953 | t3_klhlv | null | t1_c2lb953 | t3_klhlv | null | 1427625025 | 1 | t5_2fwo | null | null | null |
True | drysart | null | Unfortunately the plan right now (and what might end up being Microsoft's biggest blunder with Windows 8) is that you *can't* turn it off. Your desktop PC will always log in to the Metro interface. Your desktop's start menu will always dump you back into the Metro interface. The desktop is a second-class citizen that's styled to just be another Metro app.
It's a great design for tablets; but there's no way in hell I'm going to be installing it on my desktop PC in its current design. | null | 0 | 1316547823 | False | 0 | c2lb9ah | t3_kl1qp | null | t1_c2lb9ah | t1_c2l88de | null | 1427625026 | 5 | t5_2fwo | null | null | null |
True | sfgeek | null | I always figured if I ever see OCaml on someone's resumé, they're probably lying. I've never actually met anyone who knew the language. | null | 0 | 1316547828 | False | 0 | c2lb9bj | t3_klhlv | null | t1_c2lb9bj | t1_c2lazk2 | null | 1427625026 | 1 | 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.