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 | jyper | null | WAP - winows aint posix or any sort unix like os(yes I know about the certification). | null | 0 | 1317200748 | False | 0 | c2n6qe7 | t3_kssyt | null | t1_c2n6qe7 | t1_c2n6lda | null | 1427657438 | 2 | t5_2fwo | null | null | null |
True | jyper | null | [HTTrack Website Copier - Offline Browser](http://www.httrack.com/) | null | 0 | 1317200844 | False | 0 | c2n6qk4 | t3_kssyt | null | t1_c2n6qk4 | t1_c2mz2jj | null | 1427657440 | 0 | t5_2fwo | null | null | null |
True | jyper | null | http://en.wikipedia.org/wiki/Portable_Document_Format | null | 0 | 1317200899 | False | 0 | c2n6qnh | t3_kssyt | null | t1_c2n6qnh | t1_c2n326g | null | 1427657441 | 1 | t5_2fwo | null | null | null |
True | francohab | null | I can also do all the things that VIM does in IntelliJ (or Eclipse I guess) without moving my hands from the keyboard. Ok, if I need to go forward 3 words, I would do Ctrl -> -> ->, but the time lost there is gained with autocomplete, compilation on the file, live templates, etc...
Still, I use vi a lot, but only when I need to edit/consult a file on a remote server. | null | 0 | 1317200913 | False | 0 | c2n6qok | t3_ktenx | null | t1_c2n6qok | t1_c2n60wf | null | 1427657442 | 1 | t5_2fwo | null | null | null |
True | paganel | null | Sorry for sounding like an old fart, or a douche, or however you want to call me, the thing is that things are not that simple.
> The problem here is management, they are the ones who usually try to hard implementing the trend of the month.
Do you think civil engineers don't have managers/bosses to whom they have to answer to? They certainly do. Then how come their success rate is so much higher compared to our industry? I do not know. I can tell you an anecdote, though, about how some time ago a pretty good architect came to some construction site in the city where I live and was asking the constructors to change some things in the middle of the whole process. Suffice is to say that some of the engineers called a couple of unskilled laborers (they didn't want to get their hands dirty) and ask them to beat the fuck out of that architect unless he didn't leave the site immediately. How many times have you heard of programmers standing up to their irrational managers to the point of igniting a real fight? Almost never.
> There is a huge amount of money in IT, and a huge amount of money in software development (including QA).
Money shouldn't matter when deciding whether a business is "serious" or not. As a guy that writes code I earn at least 3 times more compared to my father, but most of my projects either never got completed at all or never lived for more than 5 years, tops. In other words evertyhing that I build as a software developer is pretty much useless shit, and I'd like to hope that I'm the only one, but I'm not. For comparison each time I go to my parents' town I drive past a silo that my dad built 20 years ago.
And it's not only us shitty programmers who never went to MIT/Stanford who do useless stuff, I could say the same thing about way smarter guys. Look at Google, they have some of the most brilliant guys/dudettes out-there and they employ them at cloning a social networking website, for crying out loud. Which is a pity, really, I did have very high hopes for that company. Take this [2005 quote](http://onlamp.com/pub/a/onlamp/2005/04/22/bosworth.html) coming from one of their former engineers:
> Bosworth advocated an open model for data.(...)
*Imagine if you can query any data that is available anywhere in the world*. Bosworth said that what this requires is a single, simple, open wire format for items.
| null | 0 | 1317201229 | False | 0 | c2n6r9f | t3_kq001 | null | t1_c2n6r9f | t1_c2n4ig2 | null | 1427657449 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | The problem with the merging debate is people keep pretending that phrases like "it handles cases" mean anything or that there is some kind of general guarantee of improvement from one scheme to another. If you disagree, define "better" mathematically and then show me your proof. Otherwise it is simply opinion, much in the same way people judge coding practices or other subjective matters. | null | 0 | 1317201419 | False | 0 | c2n6rkk | t3_kt058 | null | t1_c2n6rkk | t1_c2n6oqc | null | 1427657453 | 1 | t5_2fwo | null | null | null |
True | jyper | null | It works in Okular(at least basic documents). | null | 0 | 1317201537 | False | 0 | c2n6rr0 | t3_kssyt | null | t1_c2n6rr0 | t1_c2mxox6 | null | 1427657456 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | >I can't fathom why one would prefer JSF to Wicket.
Really? It's often the other way around. For starters read http://it-republik.de/jaxenter/artikel/Wicket-und-JSF-im-Vergleich-4069.html
It's an unbiased comparison between the two.
There was a recent poll to ask users what their *favorite/preferred* web framework is: http://it-republik.de/jaxenter/news/Und-das-populaerste-Webframework-ist...-060497.html
As you can see, in this specific poll JSF is twice as popular as Wicket. If you do some more searching, you'll find that other polls including the one by *zeroturnaround* show pretty much the same thing.
In general, people just like JSF better than they do Wicket.
Sure, the shiny component libraries you mention play a big role. From the outset, facilitating a rich component ecosytem was an important goal of JSF. But they way in which you can easily create composite components is very important too, and the elegant way by which you can create templates, and how you can easily convert and validate GET parameters all play a major role as well.
Then the entire scoping idea with especially the view scope is very attractive to many. I could go on, but there's a lot of reasons why people prefer JSF. | null | 0 | 1317201547 | False | 0 | c2n6rrq | t3_kt682 | null | t1_c2n6rrq | t1_c2n2xq4 | null | 1427657456 | 2 | t5_2fwo | null | null | null |
True | cwstjnobbs | null | Works fine at [1280x1024](http://i.imgur.com/iau5F.png)
People using resolutions lower than that are irrelevant. | null | 0 | 1317201547 | False | 0 | c2n6rrw | t3_ktenx | null | t1_c2n6rrw | t1_c2n326c | null | 1427657456 | -2 | t5_2fwo | null | null | null |
True | kyz | null | You're using a nebulous word - "technology" - which conceivably spans lots of things.
You can't get either a copyright *or* a patent on a "technology" or an "idea". Imprecise words.
* Copyright protects **works** - which includes books, films, music, plays, computer software, databases (in the EU) and the general pattern is "creative endeavours in a tangible form". Software is a creative application of mathematics and symbols to control computers.
* Patents protect **inventions** - machines, human processes, manufactured items, chemical/biological/physical compositions which are novel and non-obvious. EU rules explicitly state "programs for computers" are not patentable.
Copyrights *absolutely* cover computer software. The key point - which you really seem to not be getting - is that someone who copied your software, *even just a small part of it,* has infringed your copyright, and is in just as much trouble as someone who infringed a patent. You can just as easily force someone to stop selling things because of alleged copyright infringement. You can just as easily force an infringer to licence your copyright or your patent.
Simple comparison:
* Someone sees your computer program that embodies an idea. They reverse-engineer your computer program to get the essence of your idea. They write their own computer program which also embodies that idea. **They have infringed your copyright,** because there is evidence they looked at your code and copied a substantive part of it, and created a derivative work of your original copyrighted work.
* Someone independently comes up with the same idea as you, getting no help from your computer program. [They just happen to be smart people working on the same problem as you and came up with the same solution](http://slashdot.org/comments.pl?sid=151312&cid=12701745). They have not "stolen" from you. They have not infringed your copyright. They have gained *nothing* from you. They put in *all* the effort you did. Why the fuck should you have a monopoly right over *their* work?
As for "technology can't be kept secret" - again with the inexact wording. You could *potentially* work out the chemical composition of Coke, and make a good guess at the recipe and method, but there's no guarantee that will work or be precisely the same. Chemical reverse-engineering is a lot more prone to failure. Some compounds we simply couldn't replicate until we saw the reaction happening.
Most patents are not for things which are obvious upon disassembly, but for incremental improvements that could well be kept secret. For example, efficiencies on a car assembly line can vastly decrease the cost of a finished car, and competitors wouldn't be able to figure it out just from disassembling the finished product. They'd need spies on the production line. So you could either keep that secret, and that improvement might be lost to society, or the government could offer you 20 years of monopoly as a sweetener for going public with the invention. That's a good deal, but it's not necessary if your idea was in software, because software already gets protection from all forms of copying for 70+ years. | null | 0 | 1317201939 | False | 0 | c2n6sek | t3_kosg9 | null | t1_c2n6sek | t1_c2m2yd4 | null | 1427657464 | 1 | t5_2fwo | null | null | null |
True | blergh- | null | As far as I know, cw doesn't require the i. | null | 0 | 1317201962 | False | 0 | c2n6sfy | t3_ktenx | null | t1_c2n6sfy | t1_c2n5v3p | null | 1427657465 | 1 | t5_2fwo | null | null | null |
True | EnderMB | null | It's probably because I don't work with a bunch of neckbeards, but I've yet to meet any developer that uses vim that can use it as fast as equal developers with an IDE. In fact, I'd say that in the time it takes to learn how to use vim you could simply become a better programmer, thus making you far more productive than using an ancient text editor will. | null | 0 | 1317202002 | False | 0 | c2n6sim | t3_ktenx | null | t1_c2n6sim | t1_c2n6qok | null | 1427657465 | -1 | t5_2fwo | null | null | null |
True | henk53 | null | Utterly b/s...
The VU in Amsterdam, Netherlands uses Java and basically teaches you all the lower level stuff you mention (and you'll get parts of it from the well known Professor Tanenbaum (http://www.cs.vu.nl/~ast/).
A close by university, the UL in Leiden uses C++ and they basically teach you the very same kind of lower level stuff.
Okay, just two observations in the Netherlands, but I've seen some more in both the Netherlands and Germany and don't really see what you are claiming. Perhaps it's different in the US or so. | null | 0 | 1317202201 | False | 0 | c2n6suj | t3_kteac | null | t1_c2n6suj | t1_c2n6fj3 | null | 1427657470 | 11 | t5_2fwo | null | null | null |
True | vicvicvicz | null | [virtualenvwrapper](http://pypi.python.org/pypi/virtualenvwrapper) is nice. Keeps all your virtualenvs in one spot. | null | 0 | 1317202230 | False | 0 | c2n6swj | t3_ktto0 | null | t1_c2n6swj | t3_ktto0 | null | 1427657470 | -1 | t5_2fwo | null | null | null |
True | henk53 | null | Hahaha.... good one :D | null | 0 | 1317202246 | False | 0 | c2n6sxj | t3_kteac | null | t1_c2n6sxj | t1_c2n5qqh | null | 1427657471 | 2 | t5_2fwo | null | null | null |
True | henk53 | null | >I'll stay in the corner sharpening my C++ skills, it looks like its due to be in fashon again
Would be cool, any indication yet that this is happening?
Btw, although the blogosphere practically abandoned C++ and C++ lost a lot of its popularity compared to 10 years ago, it actually stayed at approximately the third place during the last decade (see e.g. Tiobe, jobs offered, etc). | null | 0 | 1317202414 | False | 0 | c2n6t72 | t3_kteac | null | t1_c2n6t72 | t1_c2n31nl | null | 1427657474 | 3 | t5_2fwo | null | null | null |
True | mushishi | null | Good catch! | null | 0 | 1317202624 | False | 0 | c2n6tj7 | t3_ktenx | null | t1_c2n6tj7 | t1_c2n6sfy | null | 1427657479 | 1 | t5_2fwo | null | null | null |
True | mushishi | null | It has actual benefit: your hand rests on the default position (in a qwerty setting). It's less movement overall. | null | 0 | 1317202864 | False | 0 | c2n6twz | t3_ktenx | null | t1_c2n6twz | t1_c2n6fnj | null | 1427657484 | 7 | t5_2fwo | null | null | null |
True | skilldrick | null | This is all 100% true but I still loves my JS :) | null | 0 | 1317202936 | False | 0 | c2n6u0z | t3_kroia | null | t1_c2n6u0z | t1_c2mx1f8 | null | 1427657485 | 3 | t5_2fwo | null | null | null |
True | julesjacobs | null | This is a best case for evolutionary algorithms because the effects of each mutation on the fitness are independent. Yet a simple randomized hill climber (algorithm 1) was more than 20x faster. This is also my experience. Are there any known real world problems where evolutionary algorithms actually work? That is, where they work better than simple random hill climbing? | null | 0 | 1317203098 | False | 0 | c2n6ub4 | t3_ktg7o | null | t1_c2n6ub4 | t3_ktg7o | null | 1427657489 | 3 | t5_2fwo | null | null | null |
True | francohab | null | In Java, he would definitely be last, especially when you're using frameworks like Spring... I would go crazy if I needed to type letter by letter things like ApplicationContextFactoryProxyImpl (I'm inventing) everytime... | null | 0 | 1317203278 | False | 0 | c2n6ukd | t3_ktenx | null | t1_c2n6ukd | t1_c2n5v70 | null | 1427657492 | 0 | t5_2fwo | null | null | null |
True | archiminos | null | This is why I chose to be a game programmer rather than take the higher salaries. | null | 0 | 1317203360 | False | 0 | c2n6uop | t3_ktd67 | null | t1_c2n6uop | t1_c2n4nl2 | null | 1427657494 | 1 | t5_2fwo | null | null | null |
True | jyper | null | which companies? I thought it was only adobe that had a free pdf reader and a paid pdf editor. | null | 0 | 1317203715 | False | 0 | c2n6v8d | t3_kssyt | null | t1_c2n6v8d | t1_c2n68c8 | null | 1427657501 | 1 | t5_2fwo | null | null | null |
True | Software_Engineer | null | former PhD student here. my adviser would tell me to try it out and come back with easy to read graphs and charts. go do it and report back to us! | null | 0 | 1317204019 | False | 0 | c2n6vp6 | t3_ktg7o | null | t1_c2n6vp6 | t1_c2n6nqx | null | 1427657508 | 2 | t5_2fwo | null | null | null |
True | Software_Engineer | null | Touche. | null | 0 | 1317204063 | False | 0 | c2n6vrl | t3_ktg7o | null | t1_c2n6vrl | t1_c2n69v6 | null | 1427657509 | 2 | t5_2fwo | null | null | null |
True | warpcowboy | null | I meant the "press this button" indicator. | null | 0 | 1317204079 | False | 0 | c2n6vsn | t3_ktenx | null | t1_c2n6vsn | t1_c2n6hfw | null | 1427657509 | 1 | t5_2fwo | null | null | null |
True | John_Idol | null | Seriously LOL'ed at this :) | null | 0 | 1317204105 | False | 0 | c2n6vua | t3_ktg7o | null | t1_c2n6vua | t1_c2n69v6 | null | 1427657511 | 1 | t5_2fwo | null | null | null |
True | Software_Engineer | null | see the top comment of this thread and OP's response | null | 0 | 1317204156 | False | 0 | c2n6vx1 | t3_ktg7o | null | t1_c2n6vx1 | t1_c2n5nys | null | 1427657512 | 0 | t5_2fwo | null | null | null |
True | sztomi | null | > any indication yet that this is happening?
Yes, Microsoft is strengthening up Visual Studio for native development and they introduced WinRT which more or less native again (it's COM(ish), so it's debatable if it's native or not, be there is no bytecode involved). The catch is that they created C++/CX, yet another proprietary flavor of C++ to hide the COM ugliness and tie the applications to WinRT.
But all in all I think that MS stepping on C++ with their "Embrace, extend and extinguish" strategy means that C++ will be "in" again. | null | 0 | 1317204293 | False | 0 | c2n6w4o | t3_kteac | null | t1_c2n6w4o | t1_c2n6t72 | null | 1427657513 | 3 | t5_2fwo | null | null | null |
True | sztomi | null | I don't know, maybe. I think that these arbitrary commands are pointless because they are hard to remember. The snipmate/textmate approach is much better. | null | 0 | 1317204456 | False | 0 | c2n6wdq | t3_kr2x5 | null | t1_c2n6wdq | t1_c2n49pc | null | 1427657517 | 1 | t5_2fwo | null | null | null |
True | codingcanary | null | Well nice one, glad you understand them so well. Perhaps you might remember that not everyone has understood them, and might be interested in an article. By the way, nice one for coming on here *purely* to post this comment. How about STFU? | null | 0 | 1317204659 | False | 0 | c2n6wol | t3_ktei7 | null | t1_c2n6wol | t1_c2n2o5k | null | 1427657521 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Wow. This is an awesome post. Thank you, sir! | null | 0 | 1317204669 | False | 0 | c2n6wpb | t3_ktd67 | null | t1_c2n6wpb | t3_ktd67 | null | 1427657521 | 2 | t5_2fwo | null | null | null |
True | millstone | null | Presumably GAs are better at avoiding local maxima than is hill climbing. In this case there are no local maxima, so there's no way to get trapped, so it's an ideal candidate for hill climbing.
Change the fitness function and you'll probably see GAs do better. For example, only permit insertions and deletions as mutations, and include the length in the fitness, and you'd have some local maxima where a hill climber could get trapped. | null | 0 | 1317204768 | False | 0 | c2n6wv4 | t3_ktg7o | null | t1_c2n6wv4 | t1_c2n6ub4 | null | 1427657523 | 5 | t5_2fwo | null | null | null |
True | akoprowski | null | In principle it can, but it's not what it was designed for (and not where it shines). In particular to write desktop apps one would need to extend the standard library, which is very heavily focused on web apps.
Long story short: there are better language choices for desktop apps, whereas when it comes to web apps... :) | null | 0 | 1317205108 | False | 0 | c2n6xes | t3_kteac | null | t1_c2n6xes | t1_c2n39vw | null | 1427657530 | 1 | t5_2fwo | null | null | null |
True | the-fritz | null | > you can't really print slides out if you have the generated PDF, since each transition is a distinct page; no transitions; most basic animation is an exercise in masochism
Annoying transitions and animations in presentations are a sin anyway.
> PDF is good because it's relatively open, vector-based, and opens anywhere; videos in PDF take the last one out.
Yes, although the Okular/Evince/libpoppler folks are allegedly working on video support.
| null | 0 | 1317205200 | False | 0 | c2n6xk1 | t3_kssyt | null | t1_c2n6xk1 | t1_c2n358y | null | 1427657533 | 1 | t5_2fwo | null | null | null |
True | irondust | null | Many of the big HPC software projects coming from national labs and universities, are in fact free software: Tao, Petsc, Trilinos, parmetis, hdf5, to name a few. Or are developed as free software in collaboration with industry, like openmpi. Things may be different for standalone tools, software directly targeted at end users. Not trying to be a free software zealot here, but a library seriously limits it uptake using such a "non-commercial usage" license.
If you're considering a free software license for a project of your own I would recommend LGPL, which allows linking with non-free software, which in general keeps industrial sponsors happy, but still protects your code in the same way. | null | 0 | 1317205320 | False | 0 | c2n6xr5 | t3_ksm2f | null | t1_c2n6xr5 | t1_c2n67fq | null | 1427657535 | 2 | t5_2fwo | null | null | null |
True | Counterman | null | I remember back when all the "hard core" users insisted that using tiny bitmapped fonts was the way to go. In fact, they even used vim! Oh wait... | null | 0 | 1317205542 | False | 0 | c2n6y2m | t3_ktenx | null | t1_c2n6y2m | t1_c2n2sws | null | 1427657538 | 1 | t5_2fwo | null | null | null |
True | akoprowski | null | Funny how ppl seem to focus on the name :). It's just a name. Pick a short name and chances are it means something in a handful of languages -- by now we indeed know what does Opa mean in some: http://opalang.org/faq.xmlt . But it's more than just a name. And I'd rather hear criticism about the language than its name ;). | null | 0 | 1317205619 | True | 0 | c2n6y6q | t3_kteac | null | t1_c2n6y6q | t1_c2n3pi2 | null | 1427657540 | 2 | t5_2fwo | null | null | null |
True | Counterman | null | No they don't! Even I know that, and I hate vim! | null | 0 | 1317205629 | False | 0 | c2n6y76 | t3_ktenx | null | t1_c2n6y76 | t1_c2n3oif | null | 1427657540 | -5 | t5_2fwo | null | null | null |
True | deong | null | You'll never publish that -- it's already been done. | null | 0 | 1317205631 | False | 0 | c2n6y79 | t3_ktg7o | null | t1_c2n6y79 | t1_c2n5jsd | null | 1427657540 | 1 | t5_2fwo | null | null | null |
True | akoprowski | null | The "does not validate" part we need to look into (the Opa generated markup did validate, but maybe we "lost it" with some recent changes).
What do you mean with old style output, though? | null | 0 | 1317205698 | False | 0 | c2n6yb5 | t3_kteac | null | t1_c2n6yb5 | t1_c2n5kwu | null | 1427657542 | 1 | t5_2fwo | null | null | null |
True | judofyr | null | See also: [How to rank products based on user input](http://masanjin.net/blog/how-to-rank-products-based-on-user-input) which also actually implements it (in Ruby). | null | 0 | 1317205832 | False | 0 | c2n6yik | t3_ktx2g | null | t1_c2n6yik | t3_ktx2g | null | 1427657544 | 12 | t5_2fwo | null | null | null |
True | smeezy | null | The AppInstaller would contain the algorithm for app installation. It should be a very interesting piece of code (all the error handling logic would be there, for instance), but it should hardly contain any data.
>>In the ColorSpaceTransformer visitor case, the entire class may be nothing but algorithms, with all of the data coming from the visited object.
>But it still does an action, a transformation.
You can always rethink your names that way, for example "Controller" classes actually define "Behavior"s.
I don't see how that makes things clearer. | null | 0 | 1317205890 | False | 0 | c2n6ylk | t3_krzdp | null | t1_c2n6ylk | t1_c2n0aiz | null | 1427657545 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317205932 | False | 0 | c2n6yo4 | t3_krzdn | null | t1_c2n6yo4 | t1_c2mv3av | null | 1427657546 | 1 | t5_2fwo | null | null | null |
True | MarkRand | null | plus - I would personally use ^ and $, which is more consistent with things like regular expressions | null | 0 | 1317205998 | False | 0 | c2n6ys0 | t3_ktenx | null | t1_c2n6ys0 | t1_c2n2trn | null | 1427657549 | 1 | t5_2fwo | null | null | null |
True | jyper | null | [Firefox in Firefox](http://seejay.wordpress.com/2007/04/11/firefox-inside-firefox/)
Warning: does not work in IE | null | 0 | 1317206031 | False | 0 | c2n6yu1 | t3_krzdn | null | t1_c2n6yu1 | t1_c2mr7y0 | null | 1427657549 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | The problem with nano is that, while at least non-modal (thus, like emacs and unlike vi, up to date with behavioral research as it was ca. 1983), is that it still doesn't employ CUA keys. Which every other text editing context you ever meet will.
But it's OK for editing the occasional config file, which is all your console editor needs to do anyway. For graphical mode, there are thankfully plenty of excellent CUA text editors to choose between today.
(I remember when it was pretty much only NEdit. Ah, NEdit, I miss it, but it was a little too lean and mean - it never got the full rewrite it would have needed to support mulitbyte character sets). | null | 0 | 1317206196 | False | 0 | c2n6z3i | t3_ktenx | null | t1_c2n6z3i | t1_c2n4fw1 | null | 1427657552 | 2 | t5_2fwo | null | null | null |
True | SmartassComment | null | Maybe it's confused by the upper case file extension? | null | 0 | 1317206539 | False | 0 | c2n6zmq | t3_ktyqp | null | t1_c2n6zmq | t3_ktyqp | null | 1427657559 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | Why do you need syntax highlighting in your console editor? I do as litte work as I possibly can in console editors. The convenience of syntax highlighting in those rare cases are dwarfed by the inconvenience of modal editing. | null | 0 | 1317206707 | False | 0 | c2n6zw2 | t3_ktenx | null | t1_c2n6zw2 | t1_c2n4gq5 | null | 1427657563 | 1 | t5_2fwo | null | null | null |
True | deong | null | Prediction is nothing more than minimizing the error on known data in the hopes that the past is a good predictor of the future. You can use a GA (or any other optimization algorithm) to search for the minimum of the error surface.
The question then becomes, how do you encode something that does function regression? You could assume a particular form (e.g., an n-th order polynomial where you learn the coefficients), you could search for optimal parameters to some other model (e.g., a GA finding good weights for a neural network), or you could even try to evolve a mathematical function directly (e.g., genetic programming or gene expression programming). Those are known ways of doing it, but you could just as easily invent your own method of encoding a function into a chromosome. | null | 0 | 1317206853 | False | 0 | c2n704r | t3_ktg7o | null | t1_c2n704r | t1_c2n568a | null | 1427657566 | 3 | t5_2fwo | null | null | null |
True | bhavyajyothinath | null | noo..first i tried with lowercase.
and in forum i read that it should be given in uppercase.but again it failed to work. | null | 0 | 1317206940 | False | 0 | c2n709z | t3_ktyqp | null | t1_c2n709z | t3_ktyqp | null | 1427657568 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | > Everything is in the muscle memory, so you can concentrate only on the code.
You then face the prospect of either:
* Maintaining two muscle memories (does not work), or
* getting vi key plugins for every other piece of software you use, with the inevitable configuration and update nightmare.
> And yes, it is way faster than moving your hand to the mouse and clicking 3 words ahead.
The people who designed the modern text editor relied on studies which said this was not the case. Mouse-based editing is much faster than it feels, shortcut-based editing is quite a bit slower than it feels. | null | 0 | 1317207248 | False | 0 | c2n70sa | t3_ktenx | null | t1_c2n70sa | t1_c2n60wf | null | 1427657575 | 2 | t5_2fwo | null | null | null |
True | sepp2k | null | Your interpreter does not correctly handle nested brackets. For example the following program should do nothing at all (once the first opening bracket is encountered, it should jump to the end), but using your interpreter it will actually execute the ,. bit because it jumps to the first closing bracket it finds instead of the one that actually closes the opening bracket you encountered.
[[],.] | null | 0 | 1317207302 | False | 0 | c2n70va | t3_ktmdr | null | t1_c2n70va | t1_c2n6agy | null | 1427657576 | 1 | t5_2fwo | null | null | null |
True | bonzinip | null | > The AppInstaller would contain the algorithm for app installation. It should be a very interesting piece of code (all the error handling logic would be there, for instance), but it should hardly contain any data.
Nope, app installation should be "enumerate the steps of a transaction (that's data), and create a Transaction object that can execute them". The logic should be in the transaction and step classes, including (especially) the rollback/error handling code.
> > You can always rethink your names that way, for example "Controller" classes actually define "Behavior"s.
>
> I don't see how that makes things clearer.
I'm just saying that you need not be wed to -er names, because "algorithms" (-er names) always have a "purpose" (a non-er name).
Now of course Controller is here to stay, I'm not proposing that your subclass of Controller should be called FooBehavior. | null | 0 | 1317207462 | False | 0 | c2n7146 | t3_krzdp | null | t1_c2n7146 | t1_c2n6ylk | null | 1427657579 | 1 | t5_2fwo | null | null | null |
True | deong | null | Depends on how you interpret "step up from brute-force". :)
All general optimization methods are at least as bad as brute force when considered over all possible functions (this is called the No Free Lunch theorem). So the way that any optimization method works at all is only by introducing bias; in short, they make it more likely to visit some possible solutions than others. If the bias matches a problem pretty well, then the algorithm works well on that problem. If the bias of an algorithm leads away from the good solutions, then it won't.
GAs work by using a population to sample different parts of the space. Solutions that seem better are allowed to generate new solutions similar to, but not generally identical to themselves. There are lots of other algorithms that do the same thing (particle swarm optimization, differential evolution, population based variants of numerous local search techniques). They all differ in precisely how they do this, and the result is slight differences in how they bias the search.
In theory GAs are no better or worse than any other search algorithm. In practice, they have quite a lot of overhead, so for problems that are solvable with other methods, often the other method will be faster. In addition, it seems to be easier to make a really bad GA than maybe some other methods. | null | 0 | 1317207475 | False | 0 | c2n714x | t3_ktg7o | null | t1_c2n714x | t1_c2n5zrw | null | 1427657579 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I note that the same error will be issued when the input file type is gif when the module required for GIF support isn't available (GD). Maybe you're missing whatever is required for PNG support?
Can you successfully insert other (valid) png files? Can anything else load the same file? | null | 0 | 1317207500 | False | 0 | c2n7169 | t3_ktyqp | null | t1_c2n7169 | t3_ktyqp | null | 1427657580 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | Did you realize that any decent IDE has really smart code completion and shows type errors and syntax errors without running and compiling?
(there's actually [a plugin](http://eclim.org/) to get it in vim, but that "cheats" by calling Eclipse behind the scenes) | null | 0 | 1317207559 | False | 0 | c2n719u | t3_ktenx | null | t1_c2n719u | t1_c2n6d6e | null | 1427657582 | -2 | t5_2fwo | null | null | null |
True | throatyrefrain | null | Super [relevant](http://www.dealfindersmd.com) | null | 0 | 1317207692 | False | 0 | c2n71hq | t3_kjtsp | null | t1_c2n71hq | t3_kjtsp | null | 1427657584 | 1 | t5_2fwo | null | null | null |
True | OopsLostPassword | null | I don't have enough experience in this field to tell if the content of this article is exact but I can certify it's interesting. Thanks. | null | 0 | 1317207727 | False | 0 | c2n71kc | t3_ksugf | null | t1_c2n71kc | t3_ksugf | null | 1427657585 | 1 | t5_2fwo | null | null | null |
True | deong | null | The only real differences are (a) complexity, and (b) the fitness function for biological evolution isn't known in closed-form mathematics, so we tend to think of it as being somehow different.
However, all of biological evolution basically comes down to the (stochastic) optimization of the function f(X)=P_r, where X is the genotype of an organism and P_r is the probability of reproduction. Obviously, this function is really complex, dynamic, and we have very little hope of ever puzzling out all the factors that go into it, but treated as a black box, evolution does a reasonable job of "optimizing" it (although a great deal of care should be taken throwing about terms like "optimal" with respect to biological evolution). | null | 0 | 1317207813 | False | 0 | c2n71oz | t3_ktg7o | null | t1_c2n71oz | t1_c2n4kr4 | null | 1427657586 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | You don't _need_ an excuse, other than the fact that modal editors were soundly rejected by designers in the early eighties, as the measured evidence for their lower productivity started to pile up.
I suggest you learn to use your IDE more efficiently instead. The main problem with modern code editing interfaces is that they're so easy to get to decent speed in, so that few bother to go the extra mile and learn to use all the features. And maybe that's a sensible tradeoff, since learning them takes time too. But if you're going to invest in something like this anyway, might as well be something more modern. | null | 0 | 1317207850 | False | 0 | c2n71r4 | t3_ktenx | null | t1_c2n71r4 | t1_c2n3r17 | null | 1427657589 | 3 | t5_2fwo | null | null | null |
True | Gotebe | null | I appreciate that article series is (going to be) sarcastic.
Is it just me, or do others think **R**eligion when they see **P**roduct **O**wner, **C**apacity, **V**elocity etc? Nice touch, that!
BTW... Article effectively touches power-based relations that are a driving force behind office politics (management, too). That only takes any organization so far. Good organizations manage to avoid that and turn power relations into an honest thing. Worst organizations (and they aren't rare) are those who fake friendliness and care for employees and mix it with office politics to exert power. | null | 0 | 1317207927 | True | 0 | c2n71v2 | t3_ktxk5 | null | t1_c2n71v2 | t3_ktxk5 | null | 1427657589 | 10 | t5_2fwo | null | null | null |
True | Counterman | null | There's no reason to be proud of having learned an archaic text editor interface either. We moved beyond modal text editing for a reason - almost 30 years ago.
The only reason anyone would reject the behavioral studies of the eighties, and subject themselves to something like vim, is the extremely high status of old-time hackers in the Linux programming community.
I learned programming on the Amiga, not the PDP-10, and I'm not going to pretend otherwise or be ashamed of it. | null | 0 | 1317208145 | False | 0 | c2n7280 | t3_ktenx | null | t1_c2n7280 | t1_c2n5m8n | null | 1427657592 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Well, Scrum like any ideology has buzzwords, product owner and velocity are a couple.
But he's making the point that these power relationships really fuck Scrum up, I've not worked under other development ideologies, so I can't make an experienced comparison, but I imagine, given how much reliance is put on certain roles in Scrum, that Scrum is especially vulnerable to this form of failure. | null | 0 | 1317208261 | True | 0 | c2n72f7 | t3_ktxk5 | null | t1_c2n72f7 | t1_c2n71v2 | null | 1427657596 | 6 | t5_2fwo | null | null | null |
True | fatbunyip | null | Nitro PDF for one, Nuance also has free and paid versions, Foxit, probably others also. Not sure if Bluebeam have a free version.
In the PDF space, you're generally looking at PDF consumers and producers (of the files). The consumer side is usually free (all the free readers, possibly some PDF creators like printer drivers etc.). The producers are almost all paid (by producers I mean editors, so you can add text, annotate, create forms add javascript etc.)
The idea is to upsell people by having the free side of things to view PDF files, but as soon as you want to do something to them, you need to buy a product. This has both pros and cons:
It's good because having free consumer apps for PDF promotes the use of the format.
It's bad because a lot of people think that PDF is a "static" format which can't be edited (like a Word document for example). This has led to hilarious results when people (and governments) try to redact PDFs by putting a black box over text and then thinking you can't move it.
In general, the PDF area is pretty competitive and there are various players all concentrated on different verticals (eg Bluebeam in the CAD and engineering area). Adobe tries to be all things to everyone.
| null | 0 | 1317208305 | False | 0 | c2n72hx | t3_kssyt | null | t1_c2n72hx | t1_c2n6v8d | null | 1427657596 | 2 | t5_2fwo | null | null | null |
True | bhavyajyothinath | null | it supports jpg file.
and the code was working.
but my need is to insert a png file.
i've included the file for supporting both jpg and png.but the error still exsist.. | null | 0 | 1317208312 | False | 0 | c2n72ig | t3_ktyqp | null | t1_c2n72ig | t3_ktyqp | null | 1427657596 | 1 | t5_2fwo | null | null | null |
True | seydar | null | I like syntax highlighting. I really enjoy vim's modal editing and don't want to switch, now that I use it, but back when I started, I didn't care much. | null | 0 | 1317208338 | False | 0 | c2n72k2 | t3_ktenx | null | t1_c2n72k2 | t1_c2n6zw2 | null | 1427657597 | 1 | t5_2fwo | null | null | null |
True | Counterman | null | The muscle memory of the vi keys that you have painfully built up will be athropied a little everytime you edit text in a regular CUA-like context.
Instead of switching their editors to CUA-likes, vi fans need to switch the rest of the world to vi. That's why they write plugins for everything.
| null | 0 | 1317208509 | False | 0 | c2n72u4 | t3_ktenx | null | t1_c2n72u4 | t1_c2n6jmd | null | 1427657600 | 1 | t5_2fwo | null | null | null |
True | evolved | null | I had high hopes for some debugger tooltips or vs macros, but I came to the slow realization that the article is basically an advertisement for the commercial software that the blog is for. | null | 0 | 1317208675 | False | 0 | c2n734b | t3_ksqct | null | t1_c2n734b | t3_ksqct | null | 1427657605 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | About 3 months ago, I looked at ZMQ as a solution for a project I was implementing and wrote a set of sample code snippets to test it out. There are a lot of asserts in the code that will cause failures on basic things, such as if you send it an object that is not exactly as expected. The scariest was when I connected via http (not legal at all, but just to see how it reacted), it crashed the ZMQ process. This won't happen much, but network scans happen all the time and there's no way to ensure that they won't. If someone hits the ZMQ ports arbitrarily, the ZMQ server dies - which means that if you were to put up a server on the web it wouldn't last long, and if you were to put it in an enterprise in anything but a very tightly firewalled situation where only a few specific clients would have access to the ports, it would likely die.
It's a great idea, and a great implementation, but it's not quite where it needs to be for realistic inclusion in a production level project. If I had the time I'd do more testing, and help to identify and resolve issues, but for my specific needs I was relegated to logging a bug and moving on to rabbit mq. Not quite the performance, and it has it's own problems, but it's definitely much more mature. | null | 0 | 1317208825 | False | 0 | c2n73du | t3_ksrsz | null | t1_c2n73du | t1_c2n2570 | null | 1427657608 | 5 | t5_2fwo | null | null | null |
True | plzsendmetehcodez | null | > The window manager sends the WM_DESTROY message to a window as part of the window destruction process
So, in fact, WM_DESTROY should be more aptly be named "WM_DESTROYING"... that would prevent this kind of confusion. | null | 0 | 1317208851 | False | 0 | c2n73fj | t3_ktv1z | null | t1_c2n73fj | t3_ktv1z | null | 1427657609 | 46 | t5_2fwo | null | null | null |
True | [deleted] | null | This is a good illustration of how Scrum can go very bad. Warning, buzzwords ahoy!
He mentions new stories being brought into an ongoing sprint, this is a very bad idea, and completely defeats a main point of Scrum - you estimate how much of a known amount of work you can complete in a time period, and you do your damnedest to deliver, this fails so badly if your amount of known and estimated work varies at the whim of your product owner during a sprint.
If the story is that important, then you need to restart the sprint with the new story. It's a significant overhead, yeah, which is the point - fucking up an established working iteration is painful, so it needs a cost associated.
Where I work we make an obvious exception for critical bugs, and they can blow out sprints if they're time intensive, and in that case, stories get dropped and back into the backlog, and we try to deliver what we can from that sprint. It's not a great feeling though, and if code quality is low you're going to end up chasing your ass repeatedly.
The scrum master's role is entirely about protecting the sprint from this sort of shit. If your scrum master doesn't have the power to say "no" without repercussions, then Scrum isn't the right development ideology for your product / organisation. If your scrum master doesn't have the courage to say "no", get a new scrum master.
I can imagine that trying to use Scrum in a highly deadline constrained monolithic (i.e., you can't iteratively release it) product (like games) is like whipping a dead horse that's been rotting for days. | null | 0 | 1317208893 | False | 0 | c2n73i5 | t3_ktxk5 | null | t1_c2n73i5 | t3_ktxk5 | null | 1427657610 | 9 | t5_2fwo | null | null | null |
True | brown_nurl | null | That book is amazing. I should really buy it just to send him a kickback... Well written, and the excercises are just plain fun to do. The fact that it is open to the community is really nice, because you can get a bit of hints and tips as well as guidance from the comments after each chapter.
I wish there were more works in that format. | null | 0 | 1317209001 | False | 0 | c2n73p4 | t3_ktxzn | null | t1_c2n73p4 | t3_ktxzn | null | 1427657612 | 7 | t5_2fwo | null | null | null |
True | sgoody | null | As per some other readers here, I think the HTML is great. Clearly it's the browser's fault for sticking with Times New Roman as the default font. I've changed mine and it makes the page twice as nice to read instantly.
There's a lot of text here and it's nice that it reflows around your browser size, I'd hate to see this page in a narrow centrally aligned column... worse still is when an article is split across pages with those annoying "Next Page" links! Admittedly the default browser styles should probably include a little padding here and there, but fixed width columns are a pet hate of mine.
Shame the most popular comments on reddit are about the HTML rather than the article!
| null | 0 | 1317209092 | False | 0 | c2n73uk | t3_ktd67 | null | t1_c2n73uk | t1_c2n5p8a | null | 1427657614 | 6 | t5_2fwo | null | null | null |
True | dumael | null | Only in languages which are indentation sensitive, unfortunately C, C++ aren't. There's probably a few others as well. | null | 0 | 1317209223 | False | 0 | c2n742v | t3_kooiy | null | t1_c2n742v | t1_c2m337q | null | 1427657617 | 1 | t5_2fwo | null | null | null |
True | ochronus | null | No hw threads: that's what fork is for.
Thread-safety: this gem does not deal with that, on purpose. It's best suited for simple map-reduce like stuff. | null | 0 | 1317209242 | False | 0 | c2n7448 | t3_kt292 | null | t1_c2n7448 | t1_c2n6npr | null | 1427657618 | 1 | t5_2fwo | null | null | null |
True | Timmmmbob | null | Aw I thought this was going to be about evolving a program that prints "Hello world". I always thought "evolving a string" is a terrible example of genetic algorithms. You're evolving the "DNA" itself towards a fixed target, which is pointless because if that is ever the goal you can just *set* it to that target.
In actual applications the "DNA" defines some other structure or output (phenotype?) which the fitness function operates on. For example if you are building a bridge, the fitness function is a measure of the maximum load of the bridge, not how equal the shape of the bridge is to a pre-defined target.
There are probably simpler examples than bridge building that aren't as useless. | null | 0 | 1317209527 | False | 0 | c2n74oo | t3_ktg7o | null | t1_c2n74oo | t3_ktg7o | null | 1427657626 | 27 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | Squaring has the two effects: avoiding negatives, and over-linear emphasis of large distances. | null | 0 | 1317209812 | False | 0 | c2n759g | t3_ktg7o | null | t1_c2n759g | t1_c2n2zm4 | null | 1427657633 | 6 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | No no no, clever young man! Actually it's turtles all the way down! | null | 0 | 1317209870 | False | 0 | c2n75di | t3_ktg7o | null | t1_c2n75di | t1_c2n4ibe | null | 1427657635 | 2 | t5_2fwo | null | null | null |
True | axilmar | null | > It is not ignoring other needs it is providing different avenues to achieve them. For example a class can be allocated on the stack scoped.
The different avenues D offers is a step backwards from how C++ does it. C++ offers a clearer and simpler way to do the same thing.
> Any place that take the Button value will not receive the specific behaviors of SCSB. This! is a special case because the type behaves differently based on being a reference or not.
> Edit:: Ah, here it is, the slicing problem.
The slicing problem does not exist anywhere in real code, simply because value types are passed by reference in C++.
D has made a decision, based on a C++ problem that isn't really a problem. No one has ever complained that the way C++ handles values leads to many sliced objects, from what I am aware.
Perhaps you know better, and there are lots of cases where this problem exists. Personally, I don't, and in all my career I have never seen such an issue in real code.
| null | 0 | 1317209917 | False | 0 | c2n75h2 | t3_kljc0 | null | t1_c2n75h2 | t1_c2n0r32 | null | 1427657636 | 1 | t5_2fwo | null | null | null |
True | panda_burgers | null | Evolutionary techniques like these fall under the umbrella term of search-based optimisation, which sounds far less crazy. These techniques are generally used when the search space of solutions is too vast to explore exhaustively; they serve to approximate an exhaustive search.
Generally speaking, these techniques are used when there are a few acceptable solutions. It is possible to find the absolute best one, but given a limited budget you can run a GA or hill climber for a few days and have it spit out a solution that performs within your requirements.
There are a myriad of applications, one of the most impressive is perhaps their use in [automatically patching software **PDF**](http://www.cs.virginia.edu/~an7s/muri2010/6a.Weimer.program.repair.pdf). | null | 0 | 1317209967 | False | 0 | c2n75kb | t3_ktg7o | null | t1_c2n75kb | t1_c2n5mni | null | 1427657638 | 2 | t5_2fwo | null | null | null |
True | julesjacobs | null | Here's a solution in Python:
source = set(['cat'])
target = 'dog'
words = [w.strip() for w in open('US.dic').readlines() if len(w.strip())==len(target)]
graph = dict((w,set(v for v in words if sum(a!=b for a,b in zip(v,w))==1)) for w in words)
for i in range(len(target)+1):
if target in source: print i; break
source = set.union(*[graph[w] for w in source])
The graph building code is slow (but concise ;). | null | 0 | 1317210066 | False | 0 | c2n75rf | t3_ksqba | null | t1_c2n75rf | t3_ksqba | null | 1427657640 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I get the feeling it needs to mature a bit before it can be truly useful.
| null | 0 | 1317210132 | False | 0 | c2n75w2 | t3_kteac | null | t1_c2n75w2 | t1_c2n6xes | null | 1427657642 | 1 | t5_2fwo | null | null | null |
True | axilmar | null | Win32 is retarded. It's one of the stupidest, if not the stupidest, APIs ever written. It has so many gotchas, that it is practically impossible for a single person to know it all. | null | 0 | 1317210252 | False | 0 | c2n764s | t3_ktv1z | null | t1_c2n764s | t3_ktv1z | null | 1427657645 | -12 | t5_2fwo | null | null | null |
True | crackanape | null | It can't do video any more than my car can perform brain surgery. It can contain, through a generic mechanism, something that can do video, much like my car can contain a surgeon. | null | 0 | 1317210257 | False | 0 | c2n7657 | t3_kssyt | null | t1_c2n7657 | t1_c2n4c7l | null | 1427657645 | 1 | t5_2fwo | null | null | null |
True | julesjacobs | null | In my experience (admittedly long ago), restarting or doing a big mutation in a hill climber when it gets stuck works better than a GA. But if you have a known counterexample that'd be very welcome. | null | 0 | 1317210421 | False | 0 | c2n76in | t3_ktg7o | null | t1_c2n76in | t1_c2n6wv4 | null | 1427657650 | 1 | t5_2fwo | null | null | null |
True | day_cq | null | TL;TR **L E A V E** | null | 0 | 1317210527 | False | 0 | c2n76qv | t3_ktxk5 | null | t1_c2n76qv | t3_ktxk5 | null | 1427657652 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | lol stfu java sucks | null | 0 | 1317210630 | False | 0 | c2n76yw | t3_kteac | null | t1_c2n76yw | t1_c2n6suj | null | 1427657655 | -8 | t5_2fwo | null | null | null |
True | ithika | null | Everyone wants to tell me how to write maintainable code but no-one offers advice on untangling nightmarish code. :-(
Edit: Thanks for the good replies folks. | null | 0 | 1317210807 | True | 0 | c2n77ca | t3_ktg8c | null | t1_c2n77ca | t3_ktg8c | null | 1427657660 | 7 | t5_2fwo | null | null | null |
True | skulgnome | null | And get played by a merchant who optimizes for this sort of formulaic decisionmaking? Isn't that clever, mr. merchant. | null | 0 | 1317210948 | False | 0 | c2n77mk | t3_ktx2g | null | t1_c2n77mk | t3_ktx2g | null | 1427657663 | -5 | t5_2fwo | null | null | null |
True | nickdangler | null | [ForecastWatch](http://forecastwatch.com/) uses genetic algorithms to improve weather forecasting. The primary author, Eric Floehr, has written about it and even had a brief interview on television.
(I'm not associated with forecastwatch.com, but I did meet Eric Floehr at [PyOhio](http://www.pyohio.org).) | null | 0 | 1317210975 | False | 0 | c2n77oq | t3_ktg7o | null | t1_c2n77oq | t1_c2n4hx8 | null | 1427657664 | 1 | t5_2fwo | null | null | null |
True | jerf | null | Yes, this is an educational project, not a "useful" one. It is helpful to remove the question of whether there is a good solution _at all_ from the system when trying to learn about GA _qua_ GA. You could do the same thing with any AI technique, and should if you want to learn it. | null | 0 | 1317211100 | False | 0 | c2n77xr | t3_ktg7o | null | t1_c2n77xr | t1_c2n5d0h | null | 1427657667 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | I suppose so. I still think they're fundamentally different, but I just got up and I probably can't come up with a good explanation at the moment.
I mean, interactive forms are a means to an end - they're there to be translated into a static form (by filling out the fields). Video streams aren't. | null | 0 | 1317211159 | False | 0 | c2n7826 | t3_kssyt | null | t1_c2n7826 | t1_c2n66fi | null | 1427657669 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | Wow, good answer dude! Really shows off your technical knowledge! | null | 0 | 1317211184 | False | 0 | c2n7846 | t3_kteac | null | t1_c2n7846 | t1_c2n76yw | null | 1427657670 | 2 | t5_2fwo | null | null | null |
True | smeezy | null | >>The AppInstaller would contain the algorithm for app installation. It should be a very interesting piece of code (all the error handling logic would be there, for instance), but it should hardly contain any data.
>Nope, app installation should be "enumerate the steps of a transaction (that's data), and create a Transaction object that can execute them". The logic should be in the transaction and step classes, including (especially) the rollback/error handling code.
That leads to a proliferation of classes that have excessive encapsulation. For many algorithm sequences, many of the steps share some knowledge about each other. As an engineer, I don't want to create tiny classes that basically encapsulate a function call.
I think my bottom line argument is this: you can go too far with noun-based encapsulation. There is a balance to be had between purity and practicality. For many instances, an "-er" class is fine, and will be fine for the lifetime of the product. In fact, it may be more understandable and maintainable than the corresponding analysis into "noun" classes. In such cases, it is actually desirable to have "-er" classes, because when it comes down to it, I'd rather have a product that's maintainable, rather than one that is "pure". | null | 0 | 1317211281 | False | 0 | c2n78be | t3_krzdp | null | t1_c2n78be | t1_c2n7146 | null | 1427657672 | 1 | t5_2fwo | null | null | null |
True | bl00dshooter | null | The thing you're missing here people, is that vim CAN do anything your IDE can. Autocomplete? built-in. Templates? there's a plugin for that. Etc.
There is a plugin for just about any task your IDE can do, and if there is some really weird task that no one ever thought about making a plugin for, you can do it yourself. | null | 0 | 1317211325 | False | 0 | c2n78ee | t3_ktenx | null | t1_c2n78ee | t1_c2n60wf | null | 1427657675 | 2 | t5_2fwo | null | null | null |
True | bl00dshooter | null | Omnicomplete... | null | 0 | 1317211376 | False | 0 | c2n78ih | t3_ktenx | null | t1_c2n78ih | t1_c2n6ukd | null | 1427657675 | 5 | t5_2fwo | null | null | null |
True | bl00dshooter | null | Wrong. Try programming with someone who really groks vim and see who's faster. Trust me, I did that when I was learning vim. | null | 0 | 1317211511 | False | 0 | c2n78rz | t3_ktenx | null | t1_c2n78rz | t1_c2n7280 | null | 1427657679 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317211613 | False | 0 | c2n78z4 | t3_kt682 | null | t1_c2n78z4 | t3_kt682 | null | 1427657682 | 1 | t5_2fwo | null | null | null |
True | nickdangler | null | You misunderstand the problem. He isn't trying to solve the "Hello, World!" problem. If he were, you would be right, in that this is a very dumb approach.
The problem is that he does not know genetic algorithms as well as you, and is working on a very simple problem to improve his understanding of how the algorithm works. | null | 0 | 1317211630 | False | 0 | c2n790n | t3_ktg7o | null | t1_c2n790n | t1_c2n5mni | null | 1427657682 | 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.