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 | plasticscm | null | please do! :) | null | 0 | 1317146705 | False | 0 | c2mzzvh | t3_kt058 | null | t1_c2mzzvh | t1_c2mzzch | null | 1427654195 | 2 | t5_2fwo | null | null | null |
True | xardox | null | At the time, Display PostScript was widely available on Unix X11 workstations. It just suffered from technical and political problems that limited how much it was actually used. And it had none of the advantages of local interactivity that NeWS had (now known as AJAX).
Linux and XFree86 eventually took off without Display PostScript, and XIE/Xr/Cairo evolved out of the server and into a library.
PostScript is completely capable of scaling according to screen size. That's one of the most important things that distinguished it from other rendering models of the time, like X11, which were pixel based.
The problem with HTML is that it was not originally designed to work with CSS and JavaScript and XML and JSON. All these technologies that we combine together and call HTML5/AJAX are just historical accidents that were thrown together, "standardized" and forced to work together by competing commercial interests. None of it was originally designed to work together on purpose.
To summarize:
NeWS was architecturally similar to what is now called AJAX, except that NeWS:
* used PostScript code instead of JavaScript for programming.
* used PostScript graphics instead of DHTML/CSS for rendering.
* used PostScript data instead of XML/JSON for data representation.
Instead, we have all these different technologies and syntaxes mish-mashed together, each with their own quoting and escaping conventions: urls, + instead of space, %hex escapes, html, xml, entities, text, cdata, attributes, css styles, javascript code, json strings, etc, etc, etc, all embedded within each other! Throw in PHP and SQL and RegExps and templating languages for server side programming. What madness!
Please don't preach to me about how your handcuffs and iron ball and chain strictly prevent you from separating content from presentation, and having a simple unified system would lead to temptation. You don't need purposefully ham-strung domain specific languages to prevent sloppy design and programming, you just need discipline.
| null | 0 | 1317146847 | True | 0 | c2n00nt | t3_kssyt | null | t1_c2n00nt | t1_c2myyex | null | 1427654205 | 27 | t5_2fwo | null | null | null |
True | jan | null | > Flash Player 9 (or above) is needed to view presentations. | null | 0 | 1317147084 | False | 0 | c2n0205 | t3_kt17p | null | t1_c2n0205 | t3_kt17p | null | 1427654224 | -1 | t5_2fwo | null | null | null |
True | Jesusaurus | null | I don't actually know anything about charm++, but my first impression from the name is see-harm-plusplus. | null | 0 | 1317147099 | False | 0 | c2n023c | t3_ksm2f | null | t1_c2n023c | t3_ksm2f | null | 1427654225 | 2 | t5_2fwo | null | null | null |
True | mac_os | null | thank you | null | 0 | 1317147158 | False | 0 | c2n02g0 | t3_ks7cm | null | t1_c2n02g0 | t1_c2mvrbb | null | 1427654228 | 1 | t5_2fwo | null | null | null |
True | capecodnative | null | Can I get a tldr? | null | 0 | 1317147227 | False | 0 | c2n02tg | t3_kssyt | null | t1_c2n02tg | t3_kssyt | null | 1427654233 | -1 | t5_2fwo | null | null | null |
True | prelic | null | That's true, most of the time there are harder variants, and I've had interviewers ask them if you get the first one too fast. In the example given, the interviewer asked me to develop an algorithm that used a data structure. I could tell he wanted the sort-and-stack approach, so I gave him that one, and we moved on. | null | 0 | 1317147248 | False | 0 | c2n02xb | t3_ks1qu | null | t1_c2n02xb | t1_c2mzijp | null | 1427654235 | 1 | t5_2fwo | null | null | null |
True | sidcool1234 | null | That's possible, but when you have 200 candidates, this cannot be the first filter. | null | 0 | 1317147303 | False | 0 | c2n039d | t3_ks1qu | null | t1_c2n039d | t1_c2mzgxr | null | 1427654239 | 1 | t5_2fwo | null | null | null |
True | prelic | null | Also, Glassdoor is great, because companies tend to reuse the same questions. | null | 0 | 1317147326 | False | 0 | c2n03e5 | t3_ks1qu | null | t1_c2n03e5 | t1_c2mt4ih | null | 1427654240 | 1 | t5_2fwo | null | null | null |
True | sidcool1234 | null | It's still Flash for non-HTML5 browsers. My IE-6 (at workplace we got no choice) browser shows the slides in Flash. | null | 0 | 1317147406 | False | 0 | c2n03uk | t3_kt17p | null | t1_c2n03uk | t1_c2mz50j | null | 1427654247 | 3 | t5_2fwo | null | null | null |
True | VikingCoder | null | I honestly don't read it that way. I think it's informative, helpful, and inquisitive. I think you legitimately tried to answer the question, and tried to engage the OP in a helpful discussion. | null | 0 | 1317147460 | False | 0 | c2n047h | t3_krzys | null | t1_c2n047h | t1_c2mzs31 | null | 1427654253 | 1 | t5_2fwo | null | null | null |
True | some_dev | null | Concerning your edit, the problem with the XOR trick doesn't strike me as particularly bad, because there are other solutions that can demonstrate problem-solving knowledge and open discussion to time/space trade-offs. That case strikes me as being an unprepared interviewer. An interviewer should have back-up questions in case the interviewee googled or memorized the "optimal" answer.
Its not a question I would ask, because I prefer questions where "tricks" don't exist at all, but its not a worthless question in a vacuum.
Edit: I'd also note that most of the problems being discussed, in my opinion, are more phone-screen style questions. They're basically just a shit-test to make sure that the person can actually code and solve problems before investing further. Actual interview questions should be more in-depth and relevant to the actual work. | null | 0 | 1317147467 | False | 0 | c2n049e | t3_ks1qu | null | t1_c2n049e | t1_c2mzc2v | null | 1427654254 | 1 | t5_2fwo | null | null | null |
True | josefx | null | Not 100% true, stack allocation is a vital part of RAII in c++ so anything heap allocated needs explicit scoping. So we get shared_ptr/auto_ptr vs. using/try/with-open and ~destructor() vs. dispose().
My point being not everything relying on RAII can be done without being any less explicit in c++ than in the other languages mentioned. | null | 0 | 1317147652 | False | 0 | c2n05dk | t3_krrz1 | null | t1_c2n05dk | t1_c2mx7dp | null | 1427654267 | 1 | t5_2fwo | null | null | null |
True | tvshopceo | null | I've also had problems with Preview that rendered fine in Acrobat proper. Here's some information on the issue:
http://212.113.79.37/studies-by-vigc/pdf-viewers/ | null | 0 | 1317147936 | False | 0 | c2n06wg | t3_kssyt | null | t1_c2n06wg | t1_c2my9qp | null | 1427654287 | 1 | t5_2fwo | null | null | null |
True | OverlordXenu | null | Ever try Nitro PDF Reader? | null | 0 | 1317148052 | False | 0 | c2n07ld | t3_kssyt | null | t1_c2n07ld | t1_c2mxqwh | null | 1427654296 | 1 | t5_2fwo | null | null | null |
True | paranoidinfidel | null | > THE PERSON/PERSONMANAGER EXAMPLE IS BULLSHIT. PEOPLE DON'T WRITE CODE LIKE THAT IN REAL SITUATIONS.
That concept is not bullshit. I had also asked you for an example of where you thought the 'er' would be useful which still goes unanswered. Fine, I'll give you one - a "user" class. It doesn't break encapsulation. If you start making a "UserManager" class to handle the business logic, then you're headed in the wrong direction.
Writing simple classes modeled after the real world is what keeps code simple and easy to follow and lets you use the same terms in software as the topic it is supporting. Business apps use this all the time to keep business logic in the correct place and keep the software using the same terms as the environment it is being used.
> NOT ENOUGH INFORMATION WAS GIVEN TO CONCLUDE THAT ENCAPSULATION WAS VIOLATED.
Yes there was, I specificially mentioned a person/personmanager instance where the personmanager handled data and business logic for the person. That is a prime example of breaking encapsulation.
> YOUR ASSERTIONS ARE JUVENILE. YOU CAN GO SPEND YOUR TIME REWRITING THINGS TO COME UP WITH A SENSELESS
I'm not the one spouting juvenile personal attacks and eloquent meaningless ranting without backing it up. At least in this discussion I have pointed out the "why". All you've managed to do is LOUD NOISES AND I DO WHAT I WANT BECAUSE I CAN, DON'T OPPRESS MY PEOPLE.
Class design starts as a thinking exercise and then translates to code. It is full of academic exercises. | null | 0 | 1317148073 | False | 0 | c2n07px | t3_krzdp | null | t1_c2n07px | t1_c2mzrow | null | 1427654298 | 1 | t5_2fwo | null | null | null |
True | nascentt | null | You can do it in Windows too: [PDFCreator](http://sourceforge.net/projects/pdfcreator/) (opensource)you just print to a local pdf service and it outputs it as a pdf. | null | 0 | 1317148079 | False | 0 | c2n07r4 | t3_kssyt | null | t1_c2n07r4 | t1_c2mx75a | null | 1427654298 | 2 | t5_2fwo | null | null | null |
True | f2u | null | Java 7 introduced [suppressed exceptions](http://download.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getSuppressed%28%29). I have seen some cases where the exception from the `close()` hides more relevant exceptions thrown earlier, so it's going to be interesting to see how this works out in practice. | null | 0 | 1317148086 | False | 0 | c2n07sb | t3_krrz1 | null | t1_c2n07sb | t1_c2mxy3k | null | 1427654298 | 1 | t5_2fwo | null | null | null |
True | rkenned | null | Always using raw SQL is stupid, as there's a million use cases where ORM significantly reduces dev time on tasks. Always using ORM is also stupid, as there are plenty of cases where the tweaks required to make it perform as well as raw SQL end up requiring very specialized knowledge, and more time than it would have taken if you would have just skipped the abstraction.
My take, you're an engineer...decide for yourself what tool the job requires. If we had golden hammers that made sense to use on every type of task then most of us would be out of a job. | null | 0 | 1317148175 | False | 0 | c2n08bq | t3_kt1yb | null | t1_c2n08bq | t3_kt1yb | null | 1427654305 | 1 | t5_2fwo | null | null | null |
True | larsga | null | That's why I was skeptical, since being able to produce PDF tells you nothing about how the system works internally. But see the link; there is actually a connection. | null | 0 | 1317148234 | False | 0 | c2n08no | t3_kssyt | null | t1_c2n08no | t1_c2n07r4 | null | 1427654310 | 1 | t5_2fwo | null | null | null |
True | Jasper1984 | null | Why can't we have that in linux? [Cairo](http://cairographics.org/) is pretty neat in that it has different outputs, a gui implemented in it would be able to do it, but for some inexplicable reason it is very slow.. It seems like all objects are stored, sometimes(usually?) you just want to draw to the 'canvas' and be done with it.. | null | 0 | 1317148240 | False | 0 | c2n08p9 | t3_kssyt | null | t1_c2n08p9 | t1_c2mx6fw | null | 1427654310 | 0 | t5_2fwo | null | null | null |
True | matthieum | null | As said at the end, they are *currently* re-encoding the old Flash presentations into HTML5 products, and still have some presentations (with embedded videos or audios) that are still served as Flash.
They *also* say that:
- new presentations that do not use fancy stuff are automatically HTML5
- all presentations are expected to be in HTML5 at the end of the year | null | 0 | 1317148312 | False | 0 | c2n094g | t3_kt17p | null | t1_c2n094g | t1_c2n0205 | null | 1427654317 | 6 | t5_2fwo | null | null | null |
True | Jasper1984 | null | Indeed, trying to print pretty much from anywhere using the gui shows the option 'print to file'. | null | 0 | 1317148335 | False | 0 | c2n099d | t3_kssyt | null | t1_c2n099d | t1_c2my0ol | null | 1427654319 | 1 | t5_2fwo | null | null | null |
True | AttackingHobo | null | Well "may" could be taken as, the user has already accepted this and has also checked the box that says remember this choice. | null | 0 | 1317148412 | False | 0 | c2n09px | t3_ksdfr | null | t1_c2n09px | t1_c2mueau | null | 1427654324 | 1 | t5_2fwo | null | null | null |
True | bonzinip | null | > An AppInstaller should have members called AppState, PersistentStore, Path
An AppInstaller should be a very boring piece of code. -er objects can be there, but they should be boring.
> 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. | null | 0 | 1317148549 | True | 0 | c2n0aiz | t3_krzdp | null | t1_c2n0aiz | t1_c2myxqq | null | 1427654335 | 1 | t5_2fwo | null | null | null |
True | matthieum | null | While good text mergers are helpful... I always find that unfortunately they do poorly with *structured* languages.
I can remember bad experiences with XML or C++ whenever someone moved a tag/function within the file.
So, personally, I am much more interested in language-aware mergers, I have too often seen text-mergers happily merging and just happily creating a corrupted file :/
Now, of course, it does not mean that the algorithm could not be applied on those special mergers :) | null | 0 | 1317148733 | False | 0 | c2n0bmk | t3_kt058 | null | t1_c2n0bmk | t3_kt058 | null | 1427654349 | 6 | t5_2fwo | null | null | null |
True | plasticscm | null | Yes, the algorithm is independent of the 3-way merge tool. Have you seen our "xmerge" thing? http://www.plasticscm.com/features/xmerge.aspx. Our next step is to come up with "language aware" diff and merge. We already have a prototype able to deal with a merge when all methods have been moved and so on... | null | 0 | 1317148875 | False | 0 | c2n0cen | t3_kt058 | null | t1_c2n0cen | t1_c2n0bmk | null | 1427654359 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317148887 | False | 0 | c2n0cgg | t3_kssyt | null | t1_c2n0cgg | t1_c2mxhhf | null | 1427654359 | 2 | t5_2fwo | null | null | null |
True | the_opinion | null | Have your users asked for the flexibility? I Most of the time, I don't care about it. Take a complex tool, like an IDE. I know it *seems* great that we can tailor code completion to our tastes, but as soon as you move to someone else's machine, or another of your own, you have to either live with the default, or set it up again. I've learnt over the years that by living with defaults, my life is much less painful. For less-than-technical users, there's a much stronger case, since they just want something that helps them do their jobs. | null | 0 | 1317148945 | False | 0 | c2n0cs8 | t3_krv1k | null | t1_c2n0cs8 | t1_c2mwi2r | null | 1427654363 | 2 | t5_2fwo | null | null | null |
True | Sir_Edmund_Bumblebee | null | I very nearly took a job at a defense contractor right out of school but went to work for a startup instead. Every day I'm thankful I made that choice. | null | 0 | 1317149110 | False | 0 | c2n0drs | t3_ks1qu | null | t1_c2n0drs | t1_c2muqcg | null | 1427654377 | 1 | t5_2fwo | null | null | null |
True | BitRex | null | Thanks. That looks like a great solution; much better than the C++ behavior. | null | 0 | 1317149122 | False | 0 | c2n0duj | t3_krrz1 | null | t1_c2n0duj | t1_c2n07sb | null | 1427654378 | 1 | t5_2fwo | null | null | null |
True | RealDeuce | null | I absolutely agree that an "I'm colour blind" option setting should be maintained by the system and made available to all the applications, but the developer still needs to support that option setting in his program.
The developer could decide to not support it (or even be unaware of it) and it would end up being an option setting that doesn't work.
Regardless of how you look at it though, when it's supported, it's not a result of the developer NOT making a decision. | null | 0 | 1317149217 | False | 0 | c2n0ee6 | t3_krv1k | null | t1_c2n0ee6 | t1_c2mvith | null | 1427654385 | 1 | t5_2fwo | null | null | null |
True | matthieum | null | I struck a "bad" score on an IQ test once, simply because I the test was in English and 3 questions were about synonyms :x
Reading the questions in English is quite easy for me, but questions emphasizing vocabulary? Not so...
I could guess that for people with a much different culture (I have a West-European culture after all), a number of other hurdles would get into the way... | null | 0 | 1317149306 | False | 0 | c2n0evm | t3_ks1qu | null | t1_c2n0evm | t1_c2mxrvi | null | 1427654391 | 1 | t5_2fwo | null | null | null |
True | specialk16 | null | It must be some magical pixels Apple is putting in there. | null | 0 | 1317149462 | False | 0 | c2n0fsl | t3_kqixo | null | t1_c2n0fsl | t1_c2mi1rx | null | 1427654405 | 1 | t5_2fwo | null | null | null |
True | SciK | null | The gzipped PS version is 722 bytes large. :) | null | 0 | 1317149470 | False | 0 | c2n0fu6 | t3_kssyt | null | t1_c2n0fu6 | t1_c2mz4jz | null | 1427654405 | 2 | t5_2fwo | null | null | null |
True | matthieum | null | Good point about testing for breadth rather than depth!
*Nitpick: I would have classified a priority queue as a data-structure rather than an algorithm* | null | 0 | 1317149482 | False | 0 | c2n0fwl | t3_ks1qu | null | t1_c2n0fwl | t1_c2mstd9 | null | 1427654409 | 1 | t5_2fwo | null | null | null |
True | wot-teh-phuck | null | How does Play! compare with frameworks like Wicket, Stripes, JSF 2? | null | 0 | 1317149583 | False | 0 | c2n0ggi | t3_kt682 | null | t1_c2n0ggi | t3_kt682 | null | 1427654413 | 7 | t5_2fwo | null | null | null |
True | Benutzername | null | Crockford? Don't you mean Brendan Eich? | null | 0 | 1317149601 | False | 0 | c2n0gke | t3_kswql | null | t1_c2n0gke | t1_c2mzy4r | null | 1427654414 | 2 | t5_2fwo | null | null | null |
True | matthieum | null | An 1h interview mobilizing 1 or 2 of your employees is *never* the first filter.
1. CV: keywords search, best left to HRs
2. Email/Phone exchanges
3. Interview
The basic rule ? Set the less costly obstacles first. | null | 0 | 1317149676 | False | 0 | c2n0h04 | t3_ks1qu | null | t1_c2n0h04 | t1_c2n039d | null | 1427654420 | 2 | t5_2fwo | null | null | null |
True | Sir_Edmund_Bumblebee | null | >IMO you should be able to judge technical skills and merit from a mix of their code portfolio and resume
I don't agree. Solving problems is only half the challenge of being a developer, the other half is solving problems within a schedule with deadlines. Someone might be able to make a beautiful solution to a problem, but if it takes them a month to do it and you only have a week to get it done then they're useless to you.
Software is half craft, half triage. A portfolio/resume only shows you how good they are at the craft aspect of it, but don't really offer any insight into their ability to triage and actually get working code out the door. The hard part isn't making beautiful code, it's making beautiful code in a limited time frame. | null | 0 | 1317149730 | False | 0 | c2n0hba | t3_ks1qu | null | t1_c2n0hba | t1_c2mub2c | null | 1427654424 | 1 | t5_2fwo | null | null | null |
True | specialk16 | null | >Don't write tests for getters and setters
Can you elaborate on this? This goes against anything I was told about OOP. | null | 0 | 1317149754 | False | 0 | c2n0hga | t3_kq001 | null | t1_c2n0hga | t1_c2mcfod | null | 1427654427 | 2 | t5_2fwo | null | null | null |
True | mark_lee_smith | null | As preparation for a project I stress tested ZMQ and given that I'd heard so many good things I was very surprised that it seg-faulted consistently under loads that Erlang sniffed at... we went with Erlang for the project :). | null | 0 | 1317149808 | False | 0 | c2n0hrk | t3_ksrsz | null | t1_c2n0hrk | t1_c2mwtyy | null | 1427654430 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | No one cares about Play! framework. | null | 0 | 1317149859 | False | 0 | c2n0i2y | t3_kt682 | null | t1_c2n0i2y | t1_c2n0ggi | null | 1427654435 | -11 | t5_2fwo | null | null | null |
True | binford2k | null | since when do companies have to justify themselves? | null | 0 | 1317149859 | False | 0 | c2n0i39 | t3_krv1k | null | t1_c2n0i39 | t1_c2mus53 | null | 1427654435 | 1 | t5_2fwo | null | null | null |
True | mgrandi | null | they say that screen readers can read the text better, but if they coded their flash program right, they could of implemented some of the accessibility API's that adobe has and (i assume) have screen readers support flash too. | null | 0 | 1317149925 | False | 0 | c2n0iil | t3_kt17p | null | t1_c2n0iil | t3_kt17p | null | 1427654439 | 3 | t5_2fwo | null | null | null |
True | mrkite77 | null | > When I print to a CUPS virtual printer it puts the generated PDF into a folder for generated PDFs
Not on Linux. You can choose your folder right from the print dialog. Here's a screenshot of the print dialog:
http://imgur.com/zQPZE
I can also print to a PS file or an SVG. | null | 0 | 1317149952 | False | 0 | c2n0iot | t3_kssyt | null | t1_c2n0iot | t1_c2mz7px | null | 1427654442 | 3 | t5_2fwo | null | null | null |
True | coderanger | null | Grace under pressure isn't really a technical skill, it is a social one which as I said is where interviews strut their stuff. What you are describing is wanting someone with both the technical chops to get the job done and the social match to fit your possibly hectic work environment, which is exactly what I said earlier. | null | 0 | 1317149968 | False | 0 | c2n0irr | t3_ks1qu | null | t1_c2n0irr | t1_c2n0hba | null | 1427654443 | 1 | t5_2fwo | null | null | null |
True | specialk16 | null | Hold on, you are saying that programming is not a "serious" business? | null | 0 | 1317150137 | False | 0 | c2n0jqy | t3_kq001 | null | t1_c2n0jqy | t1_c2minac | null | 1427654456 | 1 | t5_2fwo | null | null | null |
True | RealDeuce | null | > Adding the scheme is certainly a design choice by the developer. Selecting the specific scheme is a design choice being made by the user. So what? I'm not sure of your point.
My point is to refute this statement:
> Every option setting is a design choice that the developer is not making.
Now, regarding the definition, you dismissed my statement using it, so I should at least know what it is so I can refine my statement.
> The tone of your post also seems to attribute a particular stance on my part with regard to design choices
I don't see how you can read that into my post, but I assure you it is unintended. MY post is simply to assert that an option setting is not necessarily "a design choice that the developer is not making". Sometimes specific options are required or are necessary as a direct result of implementing support for a specific feature (a design decision). An example of the first is accessibility and an example of the second is protocol options which are not negotiable (such as TLS mode on a POP3 connection).
As for your summary, there are a great number of variables eliminated and ignored that I can't quite get behind it. The disconnection of an option setting from a feature is the big one and the using engineer to mean programmer is another.
I think the bit that makes it impossible for me to agree though is lumping "design decisions" with "choice for the user". The two are not the same thing at all (and they're not opposites either). A "choice for the user" could simply be the selection of default settings - the set of settings would be a design decision.
Regardless, your post is absolutely contributing to the discussion, so I don't understand the downvotes either. | null | 0 | 1317150437 | False | 0 | c2n0lh2 | t3_krv1k | null | t1_c2n0lh2 | t1_c2mvg8p | null | 1427654478 | 1 | t5_2fwo | null | null | null |
True | Sir_Edmund_Bumblebee | null | Eh, being able to code quickly and efficiently isn't really a social skill. I'm not talking about dealing with a hectic work environment, I'm just talking about being able to produce good code quickly. What matters about a developer is their efficiency, which is how much they make over a certain time period. A portfolio/resume tells you what they created, but not how long it took them. Guy A might have made twice as much stuff as guy B, but if he took 10 times as long to do it he's not more technically competent. | null | 0 | 1317150466 | False | 0 | c2n0lmf | t3_ks1qu | null | t1_c2n0lmf | t1_c2n0irr | null | 1427654480 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317150478 | False | 0 | c2n0lp3 | t3_kssyt | null | t1_c2n0lp3 | t1_c2mz9by | null | 1427654481 | 0 | t5_2fwo | null | null | null |
True | matthieum | null | A, I am glad there is research on this front :) I know one of Clang open projects was a diff at AST level, but no one seemed to pick it up... though honestly most programs are de-facto structures in blocks so even without knowing how to parse the program, just using the block structure can give very interesting results! | null | 0 | 1317150489 | False | 0 | c2n0lrp | t3_kt058 | null | t1_c2n0lrp | t1_c2n0cen | null | 1427654482 | 1 | t5_2fwo | null | null | null |
True | binford2k | null | no. It means that not everybody gives a shit. Nothing more, nothing less.
If people do give a shit, they'll use something else. And Apple will realize they fucked up. Doubt that will happen though. | null | 0 | 1317150525 | False | 0 | c2n0lz8 | t3_krv1k | null | t1_c2n0lz8 | t1_c2mweab | null | 1427654484 | 1 | t5_2fwo | null | null | null |
True | specialk16 | null | I agree that there is a lot word diarrhea out there with the only purpose of milking clients and companies, yet, some things are "enterprisey" because they need to be. You can code until it works fine, but then you also have to make sure that what you are doing integrates with your clients needs and this goes way beyond just the code. | null | 0 | 1317150534 | False | 0 | c2n0m17 | t3_kq001 | null | t1_c2n0m17 | t1_c2mawid | null | 1427654485 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317150542 | True | 0 | c2n0m38 | t3_kssyt | null | t1_c2n0m38 | t1_c2mxs1w | null | 1427654486 | 1 | t5_2fwo | null | null | null |
True | SciK | null | How do you do that? I’m curious. :)
I’ve seen there is a package called “movie15” to do that. Is it what you use? | null | 0 | 1317150549 | False | 0 | c2n0m4l | t3_kssyt | null | t1_c2n0m4l | t1_c2myv5h | null | 1427654486 | 5 | t5_2fwo | null | null | null |
True | matthieum | null | I'd really like to disagree on the verbose side... but we both know I'd be on the looser's end ;) | null | 0 | 1317150559 | False | 0 | c2n0m74 | t3_kqtat | null | t1_c2n0m74 | t1_c2mwgns | null | 1427654487 | 1 | t5_2fwo | null | null | null |
True | Gotebe | null | For stuff on heap, explicit scoping is much less interesting. If that's your goal, there's little no need to go for new, is it? And *yet*, if it happens, you throw auto\_ptr (or unique\_ptr these days).
Of course that nothing happens by magic, but there's still a difference between language-supported RAII a la C++ or D, and bolted-on using/IDisposable (plus a finalizer, yay for simplicity!), or convention-driven LISP macro. | null | 0 | 1317150615 | False | 0 | c2n0mhr | t3_krrz1 | null | t1_c2n0mhr | t1_c2n05dk | null | 1427654491 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317150719 | False | 0 | c2n0n3v | t3_kssyt | null | t1_c2n0n3v | t1_c2myit1 | null | 1427654499 | 0 | t5_2fwo | null | null | null |
True | theeth | null | I'd like a pixel perfect printer too. | null | 0 | 1317150724 | False | 0 | c2n0n4k | t3_kssyt | null | t1_c2n0n4k | t1_c2n0lp3 | null | 1427654499 | 3 | t5_2fwo | null | null | null |
True | matthieum | null | That's the theory. In practice there are some places where you have little idea of what could get through, and you just throw such a construct because you'd rather log if an exception pass by (note, it it still possible at least in C++ to rethrow the captured exception).
Of course, there is probably a way to trigger the test... *probably*... but then it becomes a matter of investment: is it worth it ? | null | 0 | 1317150724 | False | 0 | c2n0n4q | t3_krklz | null | t1_c2n0n4q | t1_c2mqcdl | null | 1427654499 | 1 | t5_2fwo | null | null | null |
True | pdq | null | Kent Beck works at Facebook? I hope he's not working on the PHP codebase... | null | 0 | 1317150774 | False | 0 | c2n0ndh | t3_kt7g0 | null | t1_c2n0ndh | t3_kt7g0 | null | 1427654503 | 2 | t5_2fwo | null | null | null |
True | Gotebe | null | I didn't say that things happen by magic in e.g. C++ or D. But they still merely require destruction, whereas with-open requires "destruction" *and* use of with-open. | null | 0 | 1317150777 | False | 0 | c2n0ndy | t3_krrz1 | null | t1_c2n0ndy | t1_c2mynff | null | 1427654504 | 1 | t5_2fwo | null | null | null |
True | keithb | null | Writing setters and getters goes against OOP. Objects should represent data and bind behaviour to it. So, don't do this kind of thing (trivial example just to show the idea):
accountNumber = account.getNumber()
balance = account.getBalance()
stream.displayAccountDetails(accountNumber, balance)
rather, do this kind of thing:
account.describeYourselfOnto(accountDisplay)
I refer you to [Growing Object-Oriented Software Guided by Tests](http://www.growing-object-oriented-software.com/) for the full story. | null | 0 | 1317150795 | False | 0 | c2n0nhv | t3_kq001 | null | t1_c2n0nhv | t1_c2n0hga | null | 1427654505 | 3 | t5_2fwo | null | null | null |
True | rockandtroll | null | > They don't have much of a quota and they're always hiring.
Which just makes the "we are very impressed but currently we don't have an opening that is a close match for you" bullshit I received from them even more heartwarming :) | null | 0 | 1317151190 | False | 0 | c2n0pta | t3_ks1qu | null | t1_c2n0pta | t1_c2mve0z | null | 1427654534 | 1 | t5_2fwo | null | null | null |
True | plasticscm | null | In fact our first approach has been parsing, and we use this to do things like this http://www.plasticscm.com/features/method-history.aspx and this http://www.plasticscm.com/labs/method-history-for-subversion.aspx. But finding where blocks are would greatly simplify it. It will be our next step after releasing plastic scm 4.0. | null | 0 | 1317151322 | False | 0 | c2n0qky | t3_kt058 | null | t1_c2n0qky | t1_c2n0lrp | null | 1427654544 | 1 | t5_2fwo | null | null | null |
True | nascent | null | > Separating structs and classes like D does caters for one need, while ignoring other needs.
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](
http://www.d-programming-language.org/phobos/std_typecons.html#scoped).
> No special care is required. C++ does fine with it.
It isn't a special case in the language, it is a special case the programmer must deal with. Trying to find the issue I found C++ doesn't have the polymorphic value type I was thinking of. If you have
SuperCollidingSuperButton : Button
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](http://stackoverflow.com/questions/274626/what-is-the-slicing-problem-in-c). | null | 0 | 1317151407 | True | 0 | c2n0r32 | t3_kljc0 | null | t1_c2n0r32 | t1_c2mzc4d | null | 1427654551 | 1 | t5_2fwo | null | null | null |
True | jinglebells | null | I ran out and got Lion the day it came out. That was the day I had to start using an Ubuntu VM in Parallels because for some reason they've broken a load of Python stuff and I need Django for my day to day job.
It's been a blessing and a curse, thanks to UNIX being able to mount any filesystem at any point, I can just mount an SSH connection into my Ubuntu VM in my Home Folder on the Mac. It's just a pain in the ass and I need 8GB RAM to support it.
However, I would say Lion is OS X Done. I'm not sure how else they can improve it. It's lightyears ahead of the competition (seriously, Windows 7? No multiple desktops?) and the fact that they've started doing Server versions gives me hope.
All the developers at my workplace own Macs because working with the Microsoft stack is just punishment. This week all my XP VMs have decided they're not Authentic Windows and shutdown, despite me having a universal MSDN which costs a lot of money. If you know UNIX you can do LINUX admin and I just don't know how you can justify a Windows server when you have to pay a license fee for an inferior server.
| null | 0 | 1317151536 | False | 0 | c2n0rw9 | t3_krv1k | null | t1_c2n0rw9 | t1_c2mzpc8 | null | 1427654562 | 1 | t5_2fwo | null | null | null |
True | jan | null | lack of screen reader support is hardly the only reason against flash | null | 0 | 1317151544 | False | 0 | c2n0ry0 | t3_kt17p | null | t1_c2n0ry0 | t1_c2n0iil | null | 1427654562 | 9 | t5_2fwo | null | null | null |
True | gorilla_the_ape | null | All other things being the same, yes it can't be better.
However all things aren't the same. The abstraction allows more of the code to be developed by experts and better profiled. It can therefore be better overall. | null | 0 | 1317151610 | False | 0 | c2n0scs | t3_ks403 | null | t1_c2n0scs | t1_c2mxbju | null | 1427654568 | 1 | t5_2fwo | null | null | null |
True | mononcqc | null | I think you can judge language based on its implementations, not how bad I am at technical vocabulary, sadly. I'll fix the 'implementations' with 'encodings'.
The 'binary' I refer to is the Erlang <<...>>, which you can quite simply call a 'binary', because it's a blob of binary data. It should be the 'UTF8 encoding of the string in a binary.'
Nevermind that English is my second language ;) | null | 0 | 1317151685 | False | 0 | c2n0stc | t3_ksqu1 | null | t1_c2n0stc | t1_c2mxxat | null | 1427654574 | 1 | t5_2fwo | null | null | null |
True | easymovet | null | that's cool, and correct :)
I wonder how it detects that and if i can hide it. | null | 0 | 1317151726 | False | 0 | c2n0t19 | t3_kmevq | null | t1_c2n0t19 | t1_c2mx3q5 | null | 1427654577 | 1 | t5_2fwo | null | null | null |
True | josvaesen | null | So how do they add an spf record for a domainname they don't own? | null | 0 | 1317151757 | False | 0 | c2n0t9b | t3_ksnfm | null | t1_c2n0t9b | t1_c2mvkvz | null | 1427654580 | 3 | t5_2fwo | null | null | null |
True | g33n | null | People who complain on forums usually represent 2% or less of the total userbase for any product. | null | 0 | 1317151859 | False | 0 | c2n0tua | t3_kssyt | null | t1_c2n0tua | t1_c2mxqfk | null | 1427654587 | 4 | t5_2fwo | null | null | null |
True | blainezor | null | We learned Scheme in my Comparative Languages class, is there any reason I should learn Racket? I highly doubt my knowledge of Scheme will benefit me in the future, but learning high-order functions was very helpful. | null | 0 | 1317151883 | False | 0 | c2n0tzi | t3_kri4f | null | t1_c2n0tzi | t3_kri4f | null | 1427654590 | 1 | t5_2fwo | null | null | null |
True | vdub_bobby | null | At the risk of intense shame, I'll throw this (non-working) code out there and ask someone to fix it. I don't know coffeescript at all, this is my best guess at an implementation of Bozosort:
bozosort = ->
while !sorted
VA.swap(random(0, VA.length-1), random(0, VA.length-1))
sorted = ->
for x in [1...VA.length - 1]
if VA.lt(x, x - 1)
return false
return true
bozosort()
Anyone want to tell me what's wrong with this? ;) | null | 0 | 1317151999 | False | 0 | c2n0uop | t3_ksqls | null | t1_c2n0uop | t1_c2mzj97 | null | 1427654598 | 1 | t5_2fwo | null | null | null |
True | HansWurst121 | null | Of course it looks nicer and more natural when you write a dephth first search recursively. But then the number of recursions is extremely limited.
The memory is usually split into the "stack" and the "heap". The heap can be as large as your system's memory is, the stack is limited to a few (<hundred?) megabytes. In the iterative version, you use the heap, in the recursive version, you use the stack. This limits the number of recursions, and you get a "stack overflow".
Another interesting advantage: change the queue into a stack, and you have depth first traversal. | null | 0 | 1317152103 | False | 0 | c2n0vc1 | t3_ksqba | null | t1_c2n0vc1 | t1_c2mxo3r | null | 1427654607 | 2 | t5_2fwo | null | null | null |
True | voxoxo | null | It's great for showing videos in a presentation (say, one made with beamer), and avoid using Powerpoint. Or, it would be great if it was properly implemented, but most readers don't support it, so I have to use Powerpoint anyway :| | null | 0 | 1317152275 | False | 0 | c2n0we1 | t3_kssyt | null | t1_c2n0we1 | t1_c2mxuwp | null | 1427654621 | 5 | t5_2fwo | null | null | null |
True | voxoxo | null | Yea, the solution to all of these issues is to *not* use adobe reader. | null | 0 | 1317152348 | False | 0 | c2n0wul | t3_kssyt | null | t1_c2n0wul | t1_c2mzmge | null | 1427654627 | 5 | t5_2fwo | null | null | null |
True | Gotebe | null | Hey, I am old and grumpy, don't let that get you down! And my English was possibly worse than yours when I was your age ;-).
Don't stop working on knowing your Unicode vocabulary though ;-). | null | 0 | 1317152363 | False | 0 | c2n0wxr | t3_ksqu1 | null | t1_c2n0wxr | t1_c2n0stc | null | 1427654628 | 1 | t5_2fwo | null | null | null |
True | paganel | null | > you are saying that programming is not a "serious" business?
When [2 out of every 3 IT projects fail](http://news.cnet.com/8301-13505_3-9900455-16.html) there must be a reason for it. I don't know what those reasons might be, but it's enough for some people to call this business "not-serious", yes, you read that right. | null | 0 | 1317152368 | False | 0 | c2n0wyu | t3_kq001 | null | t1_c2n0wyu | t1_c2n0jqy | null | 1427654629 | 1 | t5_2fwo | null | null | null |
True | varvello | null | The question is: are extension methods, generics... something promotes the productivity of a developer or something that narrows him?
Are there other approaches that satisfy the same goals of extension methods, generics... but more simple, easier to deal with? | null | 0 | 1317152438 | False | 0 | c2n0xdr | t3_kstip | null | t1_c2n0xdr | t1_c2mwwxw | null | 1427654634 | 0 | t5_2fwo | null | null | null |
True | uzimonkey | null | I prefer to [listen to them](http://www.youtube.com/watch?v=t8g-iYGHpEA). | null | 0 | 1317152533 | False | 0 | c2n0xyc | t3_ksqls | null | t1_c2n0xyc | t3_ksqls | null | 1427654642 | 2 | t5_2fwo | null | null | null |
True | Megatron_McLargeHuge | null | Best suffix: 2. | null | 0 | 1317152564 | False | 0 | c2n0y52 | t3_krzdp | null | t1_c2n0y52 | t1_c2mtfyo | null | 1427654644 | 2 | t5_2fwo | null | null | null |
True | al-khanji | null | That's actually not too far off... Think ebook readers, there is no reason in the future books couldn't contain animations. | null | 0 | 1317152603 | False | 0 | c2n0yd9 | t3_kssyt | null | t1_c2n0yd9 | t1_c2mxvx2 | null | 1427654647 | 9 | t5_2fwo | null | null | null |
True | cecilkorik | null | LaTeX -> MathML might be a better approach if that's the purpose you're using it for. | null | 0 | 1317152635 | False | 0 | c2n0ykc | t3_kssyt | null | t1_c2n0ykc | t1_c2myv5h | null | 1427654654 | 3 | t5_2fwo | null | null | null |
True | Megatron_McLargeHuge | null | Of all the things that are wrong about how OO is done in Java, I'd rank StringWriter, PrintWriter, etc. pretty low on the list. | null | 0 | 1317152695 | False | 0 | c2n0yxy | t3_krzdp | null | t1_c2n0yxy | t3_krzdp | null | 1427654654 | 2 | t5_2fwo | null | null | null |
True | Rubenb | null | I think it uses subtle differences in the way requests are handled, like the connection timeout, the order of header elements etc. | null | 0 | 1317152719 | False | 0 | c2n0z3e | t3_kmevq | null | t1_c2n0z3e | t1_c2n0t19 | null | 1427654655 | 2 | t5_2fwo | null | null | null |
True | CaptainJesusChrist | null | They represent a much higher percentage of phpBB users, though! | null | 0 | 1317153242 | False | 0 | c2n11z4 | t3_kssyt | null | t1_c2n11z4 | t1_c2n0tua | null | 1427654694 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317153278 | False | 0 | c2n1264 | t3_kssyt | null | t1_c2n1264 | t1_c2n00nt | null | 1427654697 | 9 | t5_2fwo | null | null | null |
True | MarshallBanana | null | Not really, the skepticism is still the better bet. It has very good support for PDF, but it doesn't actually use it internally. It is only used as an input and output format. | null | 0 | 1317153450 | False | 0 | c2n133p | t3_kssyt | null | t1_c2n133p | t1_c2mx75a | null | 1427654711 | 0 | t5_2fwo | null | null | null |
True | spinn | null | Not trying to be a douche or anything, but what exactly about this is HTML5? All I can see is a bunch of div's, images, inline styles and JavaScript. Don't even see any canvas tags. And the page isn't even HTML5, it's XHTML 1.0 Strict.
Is HTML5 like the new buzzword for everything? | null | 0 | 1317153463 | False | 0 | c2n136m | t3_kt17p | null | t1_c2n136m | t3_kt17p | null | 1427654712 | 27 | t5_2fwo | null | null | null |
True | morphotomy | null | And raw sockets. I want to be able to make an IRC client that doesn't have to go through the web server. | null | 0 | 1317153556 | False | 0 | c2n13o3 | t3_ksdfr | null | t1_c2n13o3 | t1_c2myaen | null | 1427654716 | 1 | t5_2fwo | null | null | null |
True | greyfade | null | You're right. Edited. | null | 0 | 1317153627 | False | 0 | c2n140j | t3_kswql | null | t1_c2n140j | t1_c2n0gke | null | 1427654720 | 1 | t5_2fwo | null | null | null |
True | thedufer | null | This does it:
bozosort = ->
while !sorted()
VA.swap(Math.floor(Math.random() * VA.length), Math.floor(Math.random() * VA.length))
sorted = ->
for x in [1...VA.length]
if VA.lt(x, x - 1)
return false
return true
bozosort()
Hint: Don't try it on any bigger than like 10 elements. | null | 0 | 1317153981 | False | 0 | c2n160x | t3_ksqls | null | t1_c2n160x | t1_c2n0uop | null | 1427654746 | 2 | t5_2fwo | null | null | null |
True | brianpeiris | null | Have you tried Google Chrome Frame? http://www.google.com/chromeframe
It allows you to use HTML5 inside IE6 | null | 0 | 1317154200 | False | 0 | c2n17a6 | t3_kt17p | null | t1_c2n17a6 | t1_c2n03uk | null | 1427654762 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317154239 | False | 0 | c2n17hw | t3_krd8f | null | t1_c2n17hw | t1_c2mnocw | null | 1427654765 | 1 | t5_2fwo | null | null | null |
True | evilgwyn | null | A coworker of mine wrote a race condition in javascript the other day:
var stuff = [];
db.transaction(function (t)
{
t.executeSql("...", function ()
{
for (var i in results)
{
stuff.push(something);
...
stuff.pop();
}
})
})
setInterval(function ()
{
if (stuff.length) return;
// do something else assuming that the results have been processed
}, 100);
| null | 0 | 1317154472 | False | 0 | c2n18st | t3_kt72f | null | t1_c2n18st | t3_kt72f | null | 1427654783 | 2 | t5_2fwo | null | null | null |
True | vdub_bobby | null | Thank you. :)
I eventually came up with this:
sorted = ->
for x in [1...VA.length]
if VA.lt(x, x - 1)
return false
return true
bozosort = ->
VA.swap(Math.floor(Math.random()*VA.length-1), Math.floor(Math.random()*VA.length-1)) until sorted()
bozosort() | null | 0 | 1317154586 | True | 0 | c2n19g3 | t3_ksqls | null | t1_c2n19g3 | t1_c2n160x | null | 1427654791 | 1 | t5_2fwo | null | null | null |
True | ErstwhileRockstar | null | The 'root cause' are over-engineered Java frameworks like Spring. | null | 0 | 1317154686 | False | 0 | c2n1a05 | t3_kssh2 | null | t1_c2n1a05 | t3_kssh2 | null | 1427654799 | 8 | 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.