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 | shevegen | null | Very good.
Congratulation to the GTK team!
I have now decided to make GTK my preferred toolkit.
Sorry Qt and KDE guys, but you annoyed me to no ends with KDE 4.
I'll invest my time to help GTK. Bye Qt.
The future belongs to GTK! | null | 0 | 1317083456 | False | 0 | c2mt95q | t3_krzdn | null | t1_c2mt95q | t3_krzdn | null | 1427650952 | 0 | t5_2fwo | null | null | null |
True | awj | null | This seems hand-wavy in all the wrong places.
A specific issue is event loss. When your current state is the product of all your previous transition operations, you only need to lose one event to start having problems. Take a look at how TCP [handles this issue](http://en.wikipedia.org/wiki/Transmission_Control_Protocol#Reliable_transmission) then tell me this is a great idea.
At one point the suggestion is made that this system can "beat relational databases in both scalability and throughput". That's a pretty crazy thing to say without much qualification, even if it is in an offhand comment.
I'm not saying that recording the series of events that led to a current state is a bad idea, but this article is strong on suggesting this as a RDBMS replacement and light on the details you'd need to do so. | null | 0 | 1317083486 | False | 0 | c2mt9b1 | t3_ks4su | null | t1_c2mt9b1 | t3_ks4su | null | 1427650954 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | Autocorrection settings are also potentially hilarious if you (for example) autocorrect "the" to "the fucking" | null | 0 | 1317083556 | False | 0 | c2mt9n9 | t3_krv1k | null | t1_c2mt9n9 | t1_c2mquw2 | null | 1427650961 | 2 | t5_2fwo | null | null | null |
True | bettse | null | > As a user, who knows many other users, I can attest that the engineer was correct
Because you are commenting on a post on r/programming on reddit, I would suspect that you are not an 'average' user. You are probably a power user. The users you know would probably also suffer from selection bias; they are more likely to be power users than 'average' users. Power users and average users often have different needs and wants. I think that the engineer could have been correct for you and other users like you, while being wrong about the average user, who (assuming a normal distribution) are a greater percentage of the population.
>Besides more choice is never a bad idea
Ideas like [The Paradox of Choice](http://www.harpercollins.com/books/Paradox-Choice-Barry-Schwartz/?isbn=9780060005696) would suggest that more choice may not always be a good idea | null | 0 | 1317083621 | False | 0 | c2mt9y0 | t3_krv1k | null | t1_c2mt9y0 | t1_c2msso6 | null | 1428192716 | 3 | t5_2fwo | null | null | null |
True | kylotan | null | Lots of people I know never even touch the menu bar, never mind change a setting. That's why several apps are removing the menus entirely. It's interesting to think about how far an app should go to accommodate preferences, knowing that they make the software harder to develop and maintain. | null | 0 | 1317083702 | False | 0 | c2mtac9 | t3_krv1k | null | t1_c2mtac9 | t1_c2mp1p6 | null | 1427650973 | 0 | t5_2fwo | null | null | null |
True | strolls | null | > I clicked that red bookmark icon …
Wait! That's an icon? It has functionality?!!? Why didn't I realise this? | null | 0 | 1317083702 | False | 0 | c2mtaca | t3_krv1k | null | t1_c2mtaca | t1_c2mqvz8 | null | 1427650973 | 4 | t5_2fwo | null | null | null |
True | reten | null | If you've written a small test on your top level public interface without implementing, you do the things mentioned above in your test code first. Sorry, sounds like your trolling. | null | 0 | 1317083767 | False | 0 | c2mtanr | t3_kq001 | null | t1_c2mtanr | t1_c2mhwll | null | 1427650977 | 1 | t5_2fwo | null | null | null |
True | runvnc | null | Is there a Chromium or anything build with this? | null | 0 | 1317083896 | False | 0 | c2mtbao | t3_ksdfr | null | t1_c2mtbao | t3_ksdfr | null | 1427650981 | 2 | t5_2fwo | null | null | null |
True | yogthos | null | I use lisp, so wouldn't know about this semicolon business :) But seriously, in non-trivial code bad indentation could be rather annoying to track down. | null | 0 | 1317083899 | False | 0 | c2mtbbb | t3_krpem | null | t1_c2mtbbb | t1_c2mt1e2 | null | 1427650981 | 1 | t5_2fwo | null | null | null |
True | dnew | null | Agreed. | null | 0 | 1317083967 | False | 0 | c2mtbnf | t3_krklz | null | t1_c2mtbnf | t1_c2ms58u | null | 1427650985 | 1 | t5_2fwo | null | null | null |
True | djnattyp | null | I agree with you... but I felt the need to point out that the correct answer is not just a priority queue, but a [double-ended priority queue](http://en.wikipedia.org/wiki/Double-ended_priority_queue). | null | 0 | 1317084141 | False | 0 | c2mtci4 | t3_ks1qu | null | t1_c2mtci4 | t1_c2mstd9 | null | 1427650996 | 8 | t5_2fwo | null | null | null |
True | tilio | null | yes, because instead of doing things like massive focus groups and a/b testing, a multi-billion dollar company had some douchebag just write up a spec sheet based on a whim, and hand it to the engineers. | null | 0 | 1317084156 | False | 0 | c2mtckn | t3_krv1k | null | t1_c2mtckn | t1_c2mpmsa | null | 1427650996 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | By stealing an XKCD cartoon? | null | 0 | 1317084259 | False | 0 | c2mtczl | t3_ks1qu | null | t1_c2mtczl | t3_ks1qu | null | 1427651001 | -3 | t5_2fwo | null | null | null |
True | kamatsu | null | > It sounds like you are writing Object Oriented C
No, it's not object oriented in any sense. Abstraction is not object oriented. You can do exactly the same thing in Haskell and it's not object oriented. Object oriented programming is more than just data abstraction. | null | 0 | 1317084276 | False | 0 | c2mtd1w | t3_krzdp | null | t1_c2mtd1w | t1_c2mreo1 | null | 1427651002 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317084280 | False | 0 | c2mtd4s | t3_krzdp | null | t1_c2mtd4s | t1_c2mreo1 | null | 1427651003 | 1 | t5_2fwo | null | null | null |
True | gc3 | null | "Kleenex" testing means to take people who've never used your app, and watch them work with it, being very careful not to correct them. It's incredibly useful. | null | 0 | 1317084394 | False | 0 | c2mtdq8 | t3_krv1k | null | t1_c2mtdq8 | t1_c2mpdjv | null | 1427651011 | 3 | t5_2fwo | null | null | null |
True | hyperforce | null | I don't get it. | null | 0 | 1317084431 | False | 0 | c2mtdwz | t3_krklz | null | t1_c2mtdwz | t1_c2msfb7 | null | 1427651013 | 1 | t5_2fwo | null | null | null |
True | gc3 | null | I think any UI engineer should watch users play with their creations. It not only improves the final product but it can create humility. | null | 0 | 1317084463 | False | 0 | c2mte2w | t3_krv1k | null | t1_c2mte2w | t1_c2mps6r | null | 1427651016 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | There is no difference between writing application code and test code. | null | 0 | 1317084479 | False | 0 | c2mte5f | t3_kq001 | null | t1_c2mte5f | t1_c2mtanr | null | 1427651017 | 1 | t5_2fwo | null | null | null |
True | idiotthethird | null | That's because the new interface isn't the primary problem. The fact that there *is* a new interface is a major problem in and of itself. | null | 0 | 1317084499 | False | 0 | c2mte8q | t3_krv1k | null | t1_c2mte8q | t1_c2mrxnl | null | 1427651018 | 2 | t5_2fwo | null | null | null |
True | drb226 | null | That is just creepy how true this is. | null | 0 | 1317084512 | False | 0 | c2mtebk | t3_krv1k | null | t1_c2mtebk | t1_c2mrz5j | null | 1427651019 | 11 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317084624 | False | 0 | c2mtevd | t3_krv1k | null | t1_c2mtevd | t1_c2mpz0g | null | 1427651026 | 1 | t5_2fwo | null | null | null |
True | bucknuggets | null | Personally, I'm not seeing a big problem with calling the class that manages the execution of the db2 loader, "loader". In this case you've got to run this program from the shell - it's ultimately different from running individual inserts since it runs about 10x faster, can defer index updates, etc.
Sure, you could call it "table" and have a load method. But if your only need is to load tables, and you don't read from them, update them, run stats on them, etc, it seems like just an unnecessary abstraction. | null | 0 | 1317084641 | False | 0 | c2mtexm | t3_krzdp | null | t1_c2mtexm | t1_c2mrpxl | null | 1427651027 | 3 | t5_2fwo | null | null | null |
True | yogthos | null | I really haven't seen this problem of having to check indentation and match brackets using a decent IDE, generally you can navigate to the missing bracket just as quickly as finding the improper indentation.
The problem with languages like Java is the verbosity, because it takes so much code to say very little, it becomes difficult to see what's supposed to be going on. If you wrote shitty deeply nested python code it would be equally impenetrable.
While Peter Norwig is certainly entitled to his opinion, I find lisp allows expressing what you're doing a lot better than most languages, python included, because of its declarative nature. It might take some time to learn to think functionally, and that is the context of the lnk you posted, but once you're there it's incredibly powerful. | null | 0 | 1317084645 | False | 0 | c2mteyb | t3_krpem | null | t1_c2mteyb | t1_c2msr5x | null | 1427651027 | 1 | t5_2fwo | null | null | null |
True | kamatsu | null | This guy misuses the english language in annoying ways. "Locus" of our program doesn't quite make sense. He means "focus", but is using "locus" to try and sound smart?
Also, procedural programs don't "bind data to behaviour". The meaning of "binding behaviour to data" in OOP is well defined. The data is actually in a bundle with the behaviour (thereby "bound"). Binding data to behaviour and binding behaviour to data are therefore actually identical concepts in this sense. Imperative programmers don't bind data to behaviour in any sense, unless you call applying a function binding (which functional programmers may well do). | null | 0 | 1317084657 | False | 0 | c2mtf08 | t3_krzdp | null | t1_c2mtf08 | t3_krzdp | null | 1427651029 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317084668 | False | 0 | c2mtf24 | t3_krv1k | null | t1_c2mtf24 | t1_c2mpnw7 | null | 1427651029 | 1 | t5_2fwo | null | null | null |
True | fabiensanglard | null | If the company has an HR department, they probably don't need above average programmers :P :) ! | null | 0 | 1317084677 | False | 0 | c2mtf44 | t3_ks1qu | null | t1_c2mtf44 | t1_c2mrnij | null | 1427651029 | 21 | t5_2fwo | null | null | null |
True | Rodh257 | null | I found this book really good when I studied search engines at uni:
http://www.search-engines-book.com/ | null | 0 | 1317084689 | False | 0 | c2mtf68 | t3_krzys | null | t1_c2mtf68 | t3_krzys | null | 1427651031 | 1 | t5_2fwo | null | null | null |
True | internetinsomniac | null | I'll agree that you should know your user. In my experience, the end users who like things like a literal book skin for an app to be the kind of users who are very bad with technology and have a very poor grasp on using it, and software is frequently designed for someone who knows the basics, or a power user. That's not to say that software shouldn't be designed with technology-challenged people in mind, however many user interfaces (particularly complicated) rely on UI conventions (user knows what a menu is because they've seen one before), because it makes learning new software easier. This is something that people frequently get confused when they say Apple's brilliant new design of X is so "intuitive", what they actually mean is "familiar" (immediately know how to use it because it sticks to UI convention) | null | 0 | 1317084693 | False | 0 | c2mtf6z | t3_krv1k | null | t1_c2mtf6z | t1_c2mpuie | null | 1427651031 | 4 | t5_2fwo | null | null | null |
True | djnattyp | null | ...and above you will see an example of the sort of attitude that shows you that this is definitely *NOT* a great place to get a programming job. | null | 0 | 1317084719 | False | 0 | c2mtfbi | t3_ks1qu | null | t1_c2mtfbi | t1_c2msy7p | null | 1427651033 | 2 | t5_2fwo | null | null | null |
True | overthink | null | I interviewed there once and stunk the place up, too. I was told you can retry after 12 months, or potentially right away in a different department.
| null | 0 | 1317084775 | False | 0 | c2mtflb | t3_ks1qu | null | t1_c2mtflb | t1_c2mt4ih | null | 1427651037 | 6 | t5_2fwo | null | null | null |
True | gc3 | null | I think visual design and UI work is actually harder than most programming work other than multi threaded syncronization problems or memory stomp issues. | null | 0 | 1317084785 | False | 0 | c2mtfn5 | t3_krv1k | null | t1_c2mtfn5 | t1_c2mr1rg | null | 1427651037 | -1 | t5_2fwo | null | null | null |
True | bucknuggets | null | Better suffixes:
* Cop
* Boss
* Doc
* Warden
* Chef
| null | 0 | 1317084847 | False | 0 | c2mtfyo | t3_krzdp | null | t1_c2mtfyo | t1_c2mq5so | null | 1427651040 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317085008 | False | 0 | c2mtgqs | t3_krzdn | null | t1_c2mtgqs | t1_c2mss2d | null | 1427651051 | 10 | t5_2fwo | null | null | null |
True | adotout | null | I certainly hope the web browser asks permission before doing this. I'd rather not have my popup spam come with mouse lock. | null | 0 | 1317085053 | False | 0 | c2mtgzl | t3_ksdfr | null | t1_c2mtgzl | t3_ksdfr | null | 1427651057 | 16 | t5_2fwo | null | null | null |
True | redalastor | null | > Sorry Qt and KDE guys, but you annoyed me to no ends with KDE 4.
How are the trolls in any way linked to the design of KDE 4? | null | 0 | 1317085156 | False | 0 | c2mthip | t3_krzdn | null | t1_c2mthip | t1_c2mt95q | null | 1427651061 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317085368 | False | 0 | c2mtijz | t3_krzdn | null | t1_c2mtijz | t1_c2mry3z | null | 1427651074 | 1 | t5_2fwo | null | null | null |
True | kamatsu | null | I am increasingly skeptical of these algorithms interviews. I used to work at a big Silicon Valley company which did a lot of tough interviews which were very tough to pass. The average intelligence of the engineers there was lower than where I currently work - and, where I currently work, the only interview was a quick informal chat and I was hired mostly on the basis of my (fairly empty) resume and academic transcript. Now, the nature of my work (formal verification) means that there's a lot of self-selecting going on, and only those with the skill actually apply, but it still seems to me that if my current workplace can get skilled employees without a substantial interview, the interview processes for these companies are basically useless. | null | 0 | 1317085452 | False | 0 | c2mtiye | t3_ks1qu | null | t1_c2mtiye | t3_ks1qu | null | 1427651080 | 11 | t5_2fwo | null | null | null |
True | VikingCoder | null | Drawbacks of running local apps locally:
* sometimes you get a virus
* sometimes you get a keylogger that steals your identity
* you have to keep it updated
* you have to have the right CPU architecture
* you have to have the right drivers
* you have to have the right Operating System
* you have to have enough RAM
* you have to have enough CPU horsepower
* you have to have the data you want to process locally, or be able to download all of it in reasonable time
* the developer has to test all of the variations of the above to make sure it will work, which delays releases and drives up the cost
There are a lot of different technologies you can use to view a remote app - OnLive, XWindows, HP Remote Graphics, Remote Desktop, VNC, Gtk over HTML5.
There are applications it will make sense to run remotely. At one point, no one had thought of web-based email. At one point, no one had thought of web-based word-processing, presentations, spreadsheets...
I applaud technologies that might make it easier for some developers to move - even if slowly - into that world. | null | 0 | 1317085490 | False | 0 | c2mtj5f | t3_krzdn | null | t1_c2mtj5f | t1_c2mtgqs | null | 1427651083 | -8 | t5_2fwo | null | null | null |
True | alekseykorzun | null | Let me guess, you just had your 31st birthday? | null | 0 | 1317085599 | False | 0 | c2mtjpj | t3_krv1k | null | t1_c2mtjpj | t1_c2mt7zq | null | 1427651090 | 9 | t5_2fwo | null | null | null |
True | Abscissa256 | null | jmdavis is right about why those two statements are the same. As far as why they don't give good performance as a stack, I addressed that in the article, but let me see if I can summarize it a little better:
First of all, there could be another array somewhere that refers to the exact same memory (ie, the .ptr member is the same) but this other array might still include that last element.
(D allows different arrays to refer to the same memory because usually it's more efficient: If you have the string "What's up doc?", and you want to get the second word, "up", you don't have to allocate more memory for the "up" and then copy it in, you can just use the "up" that's already right there in memory. D calls this slicing. Of course, if you do want to actually copy it, that's easy enough: Just call .dup)
Since there could be another array referring to the same memory but *including* that last element you removed (suppose you took the "up" from "What's up doc?"), if you then appended a new element to the shortened array (suppose you append " and down" to "up"), then your "up" gets copied into a new block of memory so that your "What's up doc?" variable doesn't get clobbered into "What's up and down". It's this new allocation that makes things slow.
So if you're just using an array like a stack, and you aren't concerned about any other references the the same data being overwritten, you can do what I did in the article and *actually* overwrite the old values. | null | 0 | 1317085688 | False | 0 | c2mtk5e | t3_kqoz2 | null | t1_c2mtk5e | t1_c2mnzx0 | null | 1427651096 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317085893 | True | 0 | c2mtl7g | t3_krzdn | null | t1_c2mtl7g | t1_c2mtj5f | null | 1427651109 | 6 | t5_2fwo | null | null | null |
True | coderanger | null | Really? A GIS data mining company is an enemy of democracy? I hope you can back up an accusation like that. | null | 0 | 1317085982 | False | 0 | c2mtlnr | t3_ks1qu | null | t1_c2mtlnr | t1_c2msdw2 | null | 1427651115 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317086541 | True | 0 | c2mtomu | t3_krzdp | null | t1_c2mtomu | t1_c2mt835 | null | 1427651154 | 5 | t5_2fwo | null | null | null |
True | el_isma | null | I'm going to try to explain the difference, as I see it: In object oriented programming (OOP) you have classes. These classes hold data and provide methods to do things to the data. Whenever you want to do something, you look for a class to hold the information and then you build the methods around it.
In procedural programming, you have procedures or functions, they take some parameters and return others. The fundamental unit here is the procedure. They are "free" of data, and only care what you input them with.
If you pay attention to most C APIs, they tend to evolve to be object oriented without telling you they are. For instance, look at the file handling functions in libc: fopen, fclose, fseek, fwrite, fread... They all take a FILE* as a parameter, in there they keep their data. In essence, it's a class in disguise. In this design, you must keep track of what methods apply to this "object", instead of the classic OOP way of having the data know what can be done to it. | null | 0 | 1317086599 | False | 0 | c2mtoxg | t3_krzdp | null | t1_c2mtoxg | t1_c2mppxk | null | 1427651158 | 7 | t5_2fwo | null | null | null |
True | case-o-nuts | null | You apply again. I'd probably put what you've learned since your last interview into the cover letter. And remember, everyone has bad days. | null | 0 | 1317086638 | False | 0 | c2mtp3k | t3_ks1qu | null | t1_c2mtp3k | t1_c2mt4ih | null | 1427651160 | 5 | t5_2fwo | null | null | null |
True | paranoidinfidel | null | Well, a huge object with everything in it isn't really a "flip side" to making "er" classes, it's just another issue with class design. If you are refactoring for the sake of refactoring and creating a bunch of worker classes to operate on data of another class, it is still "doing it wrong". If you're passing an object in to another object to get some work done on it, it's basically creating an external function library and the OOP is broken. Hard to discuss without examples though. | null | 0 | 1317086656 | False | 0 | c2mtp6i | t3_krzdp | null | t1_c2mtp6i | t1_c2mrdsa | null | 1427651161 | 1 | t5_2fwo | null | null | null |
True | coderanger | null | Ask to see their code portfolio. If they haven't made anything where they can show you the code then pass. This is how much of art and design reviews are done, why not programming too? | null | 0 | 1317086719 | False | 0 | c2mtpg0 | t3_ks1qu | null | t1_c2mtpg0 | t1_c2mrb4j | null | 1427651164 | -5 | t5_2fwo | null | null | null |
True | wildcarde815 | null | It Wt which is qt for webapps! | null | 0 | 1317086833 | False | 0 | c2mtpyc | t3_krzdn | null | t1_c2mtpyc | t1_c2mss2d | null | 1427651171 | 3 | t5_2fwo | null | null | null |
True | flukus | null | I see 2 tests.
TestAddingObject:
var obj1 = new Object();
list.Add(obj1);
Assert.AreEqual(1, obj1.Count);
Assert.AreEqual(obj1, list[0]);
AddMultipleObjectsTest:
for (0..3)
list.Add(new Object());
Assert.AreEqual(3, list.Count);
Verifying that the collection change event fired would be 1 more test, not 6 more.
You say you don't like unit testing and consistently ignore the best practices surrounding them (single asserts, mocking, simple tests, dependency injection). No wonder your note getting any value out of unit tests, if you actually did it properly then your results/opinions might vary.
| null | 0 | 1317086862 | False | 0 | c2mtq2c | t3_kq001 | null | t1_c2mtq2c | t1_c2mst20 | null | 1427651172 | 1 | t5_2fwo | null | null | null |
True | are595 | null | Wow, very nice :D. Now if I wanted to split this up into multiple threads, would that be possible? It seems like it's being rendered pixel by pixel, so it should be possible (I think), I just don't know how to deal with having the same file open over several threads/processes. | null | 0 | 1317086903 | False | 0 | c2mtq8l | t3_krpem | null | t1_c2mtq8l | t1_c2mt2m1 | null | 1427651175 | 1 | t5_2fwo | null | null | null |
True | flyingfox | null | You could say it is a high resolution _rendering_ of the Mandelbrot set.
You could also calculate the area. In this program, the Mandelbrot set is rendered from -2.7 to 1.0492 on the x-axis and from -1.2492 to 1.25 in the y-axis. This gives us a pixel area of 6.24652824074e-06. The program finds 240623 members resulting in an area of 1.50305836487. This is a -0.23453% error from the best estimate to date ([1.50659177 ± 0.00000008](http://en.wikipedia.org/wiki/Mandelbrot_set#Basic_properties)). Of course we don't know the exact area of the Mandelbrot set. | null | 0 | 1317086923 | False | 0 | c2mtqbt | t3_krpem | null | t1_c2mtqbt | t1_c2mnja9 | null | 1427651176 | 2 | t5_2fwo | null | null | null |
True | flukus | null | >What could be more of a nightmare than having to change dozens of nearly identical tests because a class was restructured?
Having a test fail and having no idea what it's actually meant to be testing. | null | 0 | 1317086929 | False | 0 | c2mtqcd | t3_kq001 | null | t1_c2mtqcd | t1_c2msrnn | null | 1427651176 | 1 | t5_2fwo | null | null | null |
True | noumuon | null | because i never think of the more obvious examples first. | null | 0 | 1317087080 | False | 0 | c2mtqz3 | t3_krpem | null | t1_c2mtqz3 | t1_c2mrd9a | null | 1427651184 | 2 | t5_2fwo | null | null | null |
True | bryce1012 | null | Part of learning rules like this (perhaps the biggest part) is knowing when and why you should break them. | null | 0 | 1317087096 | False | 0 | c2mtr1c | t3_krzdp | null | t1_c2mtr1c | t1_c2mtexm | null | 1427651185 | 1 | t5_2fwo | null | null | null |
True | DrBartosz | null | Thank you! | null | 0 | 1317087096 | False | 0 | c2mtr1d | t3_krzd8 | null | t1_c2mtr1d | t1_c2mq9ko | null | 1427651185 | 7 | t5_2fwo | null | null | null |
True | code-affinity | null | Much of this advice is general enough to apply to problems other than algorithms. For more in that vein, I highly recommend the classic book ["How to Solve It"](http://en.wikipedia.org/wiki/How_to_Solve_It) by G. Polya. It's been around for 66 years, but its advice never goes out of style. | null | 0 | 1317087295 | False | 0 | c2mtrvg | t3_ks1qu | null | t1_c2mtrvg | t3_ks1qu | null | 1427651196 | 2 | t5_2fwo | null | null | null |
True | Smallpaul | null | You click on popup spam? | null | 0 | 1317087420 | False | 0 | c2mtscz | t3_ksdfr | null | t1_c2mtscz | t1_c2mtgzl | null | 1427651202 | -14 | t5_2fwo | null | null | null |
True | Will306 | null | What about the strategy pattern? I think this is just another blog posting making overly broad generalizations into coding advice. | null | 0 | 1317087475 | False | 0 | c2mtslh | t3_krzdp | null | t1_c2mtslh | t3_krzdp | null | 1427651205 | 2 | t5_2fwo | null | null | null |
True | zingbot3000 | null | And yet Ubuntu has completely lost their way and sucks now, so I guess that that practice is no panacea. | null | 0 | 1317087478 | False | 0 | c2mtsly | t3_krv1k | null | t1_c2mtsly | t1_c2mruzm | null | 1427651205 | -1 | t5_2fwo | null | null | null |
True | troyanonymous1 | null | It's ridiculous. I don't want my GUI to be bottlenecked through HTTP and HTML. | null | 0 | 1317087620 | False | 0 | c2mtt8q | t3_krzdn | null | t1_c2mtt8q | t1_c2mtpyc | null | 1427651215 | 2 | t5_2fwo | null | null | null |
True | binford2k | null | You're asking for change. Burden of proof is on you. | null | 0 | 1317087624 | False | 0 | c2mtt9a | t3_krv1k | null | t1_c2mtt9a | t1_c2ms53c | null | 1427651215 | -4 | t5_2fwo | null | null | null |
True | binford2k | null | You're asking for change. Burden of proof is on you. | null | 0 | 1317087644 | False | 0 | c2mttd0 | t3_krv1k | null | t1_c2mttd0 | t1_c2ms53c | null | 1427651216 | -4 | t5_2fwo | null | null | null |
True | binford2k | null | Cuz it's a shitty icon. lol | null | 0 | 1317087659 | False | 0 | c2mttfp | t3_krv1k | null | t1_c2mttfp | t1_c2mtaca | null | 1427651217 | -3 | t5_2fwo | null | null | null |
True | arnar | null | The point I didn't get is what in the world Shannon and his Information Theory has to do with it. | null | 0 | 1317087784 | False | 0 | c2mtu0u | t3_krv1k | null | t1_c2mtu0u | t3_krv1k | null | 1427651225 | 9 | t5_2fwo | null | null | null |
True | ThreeHolePunch | null | >Oh, no. We know better than the user - otherwise why are we here? Settings are just confusing.
This guy must have advised Google regarding Chrome. | null | 0 | 1317087827 | False | 0 | c2mtu81 | t3_krv1k | null | t1_c2mtu81 | t3_krv1k | null | 1427651228 | 5 | t5_2fwo | null | null | null |
True | Smallpaul | null | I read the "downsides" section twice and could not find the place where he acknowledges that there are a variety of costs incurred by storing extra data.
I actually use this technique in an app, so I am sympathetic to the idea, but this article does not address any runtime costs at all. | null | 0 | 1317087880 | False | 0 | c2mtuhl | t3_ks4su | null | t1_c2mtuhl | t3_ks4su | null | 1427651231 | 6 | t5_2fwo | null | null | null |
True | wildcarde815 | null | Yea. I wasn't meaning you should really make a desktop app run on the web. Thou I think for making legit wt pages is a separate issue. And I suspect this could have some interesting implications for line of business applications. | null | 0 | 1317087981 | False | 0 | c2mtuzt | t3_krzdn | null | t1_c2mtuzt | t1_c2mtt8q | null | 1427651237 | 1 | t5_2fwo | null | null | null |
True | rainman_104 | null | You know, quite honestly, having seen the abominations that users have come up with in Firefox, I'm convinced that users are interested in making their browser the absolute shittiest experience possible. Six toolbars, the most abominable spongebob theme. Bright yellow with neon buttons FTW.
Maybe Apple is onto something with locking down themes on OSX. | null | 0 | 1317088008 | False | 0 | c2mtv4u | t3_krv1k | null | t1_c2mtv4u | t1_c2mtu81 | null | 1427651239 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317088010 | False | 0 | c2mtv5c | t3_ksdfr | null | t1_c2mtv5c | t3_ksdfr | null | 1427651239 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not so sure, but maybe that depends on the language; I'm primarily a python coder and I've never encountered a case where a method that didn't fit on my screen wasn't improved by factoring out at least one component into a more specific (helper) method or sometimes more deeply restructuring the code. | null | 0 | 1317088033 | False | 0 | c2mtv9j | t3_krklz | null | t1_c2mtv9j | t1_c2mpzir | null | 1427651241 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Apple should release an Inbred Tiger version for plebs and let us continue to use software that works. | null | 0 | 1317088150 | False | 0 | c2mtvv5 | t3_krv1k | null | t1_c2mtvv5 | t3_krv1k | null | 1427651250 | 0 | t5_2fwo | null | null | null |
True | rainman_104 | null | Could be worse. Could have been the dev who worked on Microsoft Bob... | null | 0 | 1317088153 | False | 0 | c2mtvvu | t3_krv1k | null | t1_c2mtvvu | t1_c2mt5jw | null | 1427651250 | 0 | t5_2fwo | null | null | null |
True | troyanonymous1 | null | So improve the OS and WM until I can run untrusted native code without any fear of viruses or keyloggers.
You can also just write things in some scripting language to run on any platform (Qt's QML is probably working towards what I want), and those can still be loaded from a remote site if you really insist on reloading an application all the time just to see if it's been updated.
In fact, you can just make some system that loads a native application from a remote server and executes it in a secured mode where it can't touch your files. Logging keystrokes is a matter of poor display server design.
If you have a good OS, it will have a software updater built in anyway, you can tie into that.
It would be better to solve all these issues and have a superior OS made of reusable components than to give up and say "fuck it" and use web browsers instead. I mean, there's only like 2 or 3 web browsers anymore, and they rarely do what I ask them to. They are agents of the website owners for the most part. | null | 0 | 1317088173 | True | 0 | c2mtvzs | t3_krzdn | null | t1_c2mtvzs | t1_c2mtj5f | null | 1427651250 | 2 | t5_2fwo | null | null | null |
True | fullouterjoin | null | The bottom one has an `- s/gx` term that is not in the top one. | null | 0 | 1317088176 | False | 0 | c2mtw0f | t3_krklz | null | t1_c2mtw0f | t1_c2mo5ds | null | 1427651250 | 1 | t5_2fwo | null | null | null |
True | ThreeHolePunch | null | I guess I don't care how ugly people make their browsers, as long as I don't have to use their PC. Just give me my about:config. That and the quality of add-ons for FF are the only reason I use two different browsers. | null | 0 | 1317088238 | False | 0 | c2mtwbk | t3_krv1k | null | t1_c2mtwbk | t1_c2mtv4u | null | 1427651254 | 9 | t5_2fwo | null | null | null |
True | omnilynx | null | >No. This is where I think you (and the author of the article) are getting it wrong. The data is not designed around the code. The code is designed to properly manipulate the data.
Sorry, let me try to clarify. I don't mean the data is designed around the *code*, I mean it's designed around the *process*. In other words, the first question you ask is, "How can I complete this task?" Whereas in OOP the first question you ask is, "What system does this represent?" Obviously you design the data model before you even start typing code, but, for example, you wouldn't go to the trouble of modeling an abstract "person" data type if you're only ever going to be working with "employees" and "customers".
I definitely didn't intend to say that OOP is "better" than the procedural paradigm. They just have different uses. It would be silly to use OOP for something like a server utility that had a single linear flow and didn't accept any user input. Honestly, OOP is usually *over*-used for applications that have no need of the full object modeling structure. | null | 0 | 1317088255 | False | 0 | c2mtwes | t3_krzdp | null | t1_c2mtwes | t1_c2mtomu | null | 1427651256 | 1 | t5_2fwo | null | null | null |
True | fullouterjoin | null | If the code is clean, I will happily with joyous celebration embrace the one that is 1/2 the LOC. | null | 0 | 1317088308 | False | 0 | c2mtwnm | t3_krklz | null | t1_c2mtwnm | t1_c2mn0ji | null | 1427651259 | 1 | t5_2fwo | null | null | null |
True | asteroidB612 | null | Best programming advice you'll ever get; Switch to Common Lisp -- that special place where _code_is_data_ and nearly every new hotness buzzword paradigm was already old hat ~30 years ago. | null | 0 | 1317088315 | False | 0 | c2mtwp1 | t3_krzdp | null | t1_c2mtwp1 | t3_krzdp | null | 1427651259 | 3 | t5_2fwo | null | null | null |
True | rainman_104 | null | Sometimes they get it right. Sometimes we get stuff like Gnome 3... | null | 0 | 1317088320 | False | 0 | c2mtwpw | t3_krv1k | null | t1_c2mtwpw | t1_c2msv2h | null | 1427651260 | 5 | t5_2fwo | null | null | null |
True | xanatos387 | null | I'm not sure what requires backing up. Palantir doesn't even deny the facts of the above, largely because it would be impossible for them to do so given the sheer amount of data that was leaked. Their position is simply "well, it wasn't us, it was one bad employee, and it was mostly HBGary's doing."
Well, it **was** mostly HBGary's doing. Aaron Barr in particular seems like an ultra-bastard that should probably be in prison. But it wasn't just one Palantir employee. Why doesn't a "GIS data mining company" bat an eye when a security company they're working with suggests targeting journalists for "disruption"? I know if that was a casually dropped part of a project I was working on with a client, I would probably not immediately respond, "Hey, great idea! Let me slap that up on this [powerpoint](http://www.thetechherald.com/media/images/201106/HBGary_Greenwald.jpg) slide with my company's logo on it!"
As has been commented by others about this whole affair, possibly the most disconcerting aspect of this scandal was that no one working in any of the attached security companies thought anything about this being in writing, with their names on it. They didn't think anything of it because it's nothing shocking. It's business as usual.
And that isn't acceptable.
Just to be crystal clear, they're an enemy of the **democratic process** because they have happily opposed the rights of the people to know what their government is doing on their behalf, via proposed illegal means, for a paycheck. | null | 0 | 1317088321 | True | 0 | c2mtwq4 | t3_ks1qu | null | t1_c2mtwq4 | t1_c2mtlnr | null | 1427651260 | 17 | t5_2fwo | null | null | null |
True | [deleted] | null | > Grep me no patterns and I'll `Usage: grep [OPTION]... PATTERN [FILE]...`
`Try 'grep --help' for more information.`
FTFY | null | 0 | 1317088361 | False | 0 | c2mtwxq | t3_krklz | null | t1_c2mtwxq | t1_c2mnqc5 | null | 1427651262 | 0 | t5_2fwo | null | null | null |
True | NotUniqueOrSpecial | null | Because the code we produce, unlike one's artwork and design work, is not necessarily our property.
A lot of people believe in maintaining a healthy work/life balance, and while we're devoted and good at what we do, we choose not to bring our work home.
I may read The Art of Programming in my free time, or do research on better design, but that doesn't mean I'm using it to implement stuff outside of a work environment.
It wouldn't be in good faith to provide my work done for my company as example simply due to it not being my property.
I can understand the value of contributing to open-source projects and doing stuff on one's own to provide, but to use available code as the sole metric rules out a set of people who will be qualified for the job. | null | 0 | 1317088363 | False | 0 | c2mtwy2 | t3_ks1qu | null | t1_c2mtwy2 | t1_c2mtpg0 | null | 1427651263 | 29 | t5_2fwo | null | null | null |
True | aerojun | null | Dont you have a download link?
Streaming is too slow (for me). | null | 0 | 1317088507 | False | 0 | c2mtxpk | t3_ks71i | null | t1_c2mtxpk | t3_ks71i | null | 1427651273 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | I usually change only one thing: enable macros menus, if that counts.
Also I would choose option "get rid of ribbons" but it does not exist.
| null | 0 | 1317088530 | False | 0 | c2mtxtp | t3_krv1k | null | t1_c2mtxtp | t1_c2mp5bz | null | 1427651275 | 1 | t5_2fwo | null | null | null |
True | troyanonymous1 | null | k | null | 0 | 1317088660 | False | 0 | c2mtyda | t3_krzdn | null | t1_c2mtyda | t1_c2mtgqs | null | 1427651282 | 1 | t5_2fwo | null | null | null |
True | VikingCoder | null | Lol. I asked you to consider that there are applications that make sense to run remotely. You won't give me that, even when I list examples like GMail and Google Docs?
> This hasnt happened to me when running something locally. It has happened when I visited a sketchy site though.
What browser are you running? If I send you a link to an .exe, would you Run it? No, of course not.
> When was the last time you had to install something but couldnt because of any of these prerequisites?
There are Mac applications I'd like to run.
> also, hate to burst your bubble, but anything running in the browser still requires RAM and CPU power... probably more since there is another layer of abstraction.
You simply don't know the kinds of applications I run. That's okay, that's understandable - most people run in much smaller worlds than I do. I work with large data sets. Your browser is perfectly capable of showing a given view of that data, but there are cases where it's prohibitively expensive for you to download all of that data, first.
> web apps arent a silver bullet. stop drinking the kool aid
There are cases where web apps make sense, that's all I said. | null | 0 | 1317088779 | False | 0 | c2mtyz6 | t3_krzdn | null | t1_c2mtyz6 | t1_c2mtl7g | null | 1427651289 | 0 | t5_2fwo | null | null | null |
True | coderanger | null | Their entire business is making huge amounts of data transparent to relatively clueless users, and as shown by their continued financial success they are pretty darn good at it. When another company, which is indeed a security company that claims to have offensive capabilities, does something crazy I'm not sure how that makes Palantir the enemy. They were on the receiving end of that crazy just like everyone else in the country and dealt with it quickly as best they could. By all means get angry about this kind of thing, but please make sure to aim it at the correct people. | null | 0 | 1317088886 | False | 0 | c2mtzig | t3_ks1qu | null | t1_c2mtzig | t1_c2mtwq4 | null | 1427651297 | -4 | t5_2fwo | null | null | null |
True | [deleted] | null | It's because they chose [a terrible name](http://en.wikipedia.org/wiki/Racket_\(crime\)). | null | 0 | 1317088984 | False | 0 | c2mu00d | t3_kri4f | null | t1_c2mu00d | t1_c2mpmps | null | 1427651302 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317089035 | True | 0 | c2mu0a3 | t3_krzdn | null | t1_c2mu0a3 | t1_c2mtyz6 | null | 1427651307 | 2 | t5_2fwo | null | null | null |
True | coderanger | null | Portfolio pieces are also generally the property of the client that paid for them, artists and designers are just careful to negotiate that they are allowed to used specific bits of the final work (generally screenshots or something else that can't be used to recreate the original design without obvious copyright infringement). So why can't we programmers do the same? Obviously you aren't going to hand over a tarball of everything from your last company, but make sure you have the right to display some parts of it as your portfolio. | null | 0 | 1317089062 | False | 0 | c2mu0fp | t3_ks1qu | null | t1_c2mu0fp | t1_c2mtwy2 | null | 1427651309 | -1 | t5_2fwo | null | null | null |
True | asteroidB612 | null | Javascript is the poor man's Lisp! | null | 0 | 1317089157 | False | 0 | c2mu0xj | t3_kroia | null | t1_c2mu0xj | t1_c2mp8aa | null | 1427651315 | 7 | t5_2fwo | null | null | null |
True | hillgod | null | Fine, I'll rename my new TaskProducer as the product's TaskJaculator. | null | 0 | 1317089160 | False | 0 | c2mu0y7 | t3_krzdp | null | t1_c2mu0y7 | t3_krzdp | null | 1427651315 | 2 | t5_2fwo | null | null | null |
True | deanproxy | null | GOF Observer? | null | 0 | 1317089260 | False | 0 | c2mu1g1 | t3_krzdp | null | t1_c2mu1g1 | t3_krzdp | null | 1427651326 | 1 | t5_2fwo | null | null | null |
True | rainman_104 | null | Yes but there's a certain point where you install too many plugins in FF as well...
about:config is nice if you're a hacker; most people are too stupid to mess with those settings... about:flags is pretty good in Chrome...
EDIT: the whole list:
about:cache
about:credits
about:dns
about:flags
about:gpu
about:histograms
about:memory
about:net-internals
about:plugins
about:sync-internals
about:terms
about:version | null | 0 | 1317089265 | False | 0 | c2mu1gv | t3_krv1k | null | t1_c2mu1gv | t1_c2mtwbk | null | 1427651326 | 2 | t5_2fwo | null | null | null |
True | Yodamanjaro | null | Wanna back up your view with something other than saying the engineer is wrong? | null | 0 | 1317089327 | False | 0 | c2mu1sq | t3_krv1k | null | t1_c2mu1sq | t1_c2ms8i8 | null | 1427651327 | 2 | t5_2fwo | null | null | null |
True | Kallahan11 | null | >Richard:
Call me Dick.
>Manager:
Dick's done a lot of seminal UX work for us.
Best part of the article.
| null | 0 | 1317089485 | False | 0 | c2mu2ke | t3_krv1k | null | t1_c2mu2ke | t3_krv1k | null | 1427651337 | 9 | t5_2fwo | null | null | null |
True | Yodamanjaro | null | Finally someone who hits all the important points from this. I like the thought you put in it. | null | 0 | 1317089498 | False | 0 | c2mu2n8 | t3_krv1k | null | t1_c2mu2n8 | t1_c2ms2fs | null | 1427651338 | 3 | t5_2fwo | null | null | null |
True | VikingCoder | null | > My question is, why not run your code remotely? its probably a lot smaller then the data sets you got
That's what I've been saying - I run my code remotely, and view the output (images) locally through a browser or other remoting technology. | null | 0 | 1317089537 | False | 0 | c2mu2ur | t3_krzdn | null | t1_c2mu2ur | t1_c2mu0a3 | null | 1427651341 | -1 | t5_2fwo | null | null | null |
True | GameFreak4321 | null | > Windows UI would surpass OS X (and everything else) by a good margin.
Blasphemy! | null | 0 | 1317089592 | False | 0 | c2mu34x | t3_krv1k | null | t1_c2mu34x | t1_c2mrid6 | null | 1427651345 | 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.