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 | s73v3r | null | >but that doesn't mean that it created a job
Do you think that the design company didn't have to hire people to manage production? Or sales? Or designers to create new designs? | null | 0 | 1316375166 | False | 0 | c2kt4x2 | t3_khvyw | null | t1_c2kt4x2 | t1_c2kk08p | null | 1427616349 | 2 | t5_2fwo | null | null | null |
True | s73v3r | null | >There is no provision that will stop the incompetent dumbasses from the Patent Office from granting patents on which the existence of prior art is common knowledge.
If you don't know about the existence of the prior art, then you can't really rule on it. And part of the problem is that the patent office can't afford to hire people with high levels of industry experience, so many of those things aren't known about at the time. The types of people that actually would be able to properly evaluate patents in their fields are very expensive. | null | 0 | 1316375288 | False | 0 | c2kt5fv | t3_khvyw | null | t1_c2kt5fv | t1_c2kizis | null | 1427616356 | 2 | t5_2fwo | null | null | null |
True | warmfuzzykitten | null | Even if iOS had a terminal app and provided open access to all data on the phone in some sort of directory simulation, the data themselves wouldn't be a good match for command line tools, which only work well on text files. The world has moved on; the *nix command line has stayed behind. Programmers like it because programmers work mostly with text files. The rest of the world, not. | null | 0 | 1316375367 | False | 0 | c2kt5ra | t3_kgqnz | null | t1_c2kt5ra | t3_kgqnz | null | 1427616360 | 0 | t5_2fwo | null | null | null |
True | ibisum | null | Sweet! I'm going to get a new one, then.. Mine is decades old. | null | 0 | 1316375396 | False | 0 | c2kt5vn | t3_kj1na | null | t1_c2kt5vn | t1_c2kraoi | null | 1427616362 | 2 | t5_2fwo | null | null | null |
True | mistralol | null |
I know what you mean. However in c# and the .net framework it is possible to pretty much write an application without writing a single loop over the data returned from the database. The gridview / repeater are really useful for that sort of stuff :) | null | 0 | 1316375503 | False | 0 | c2kt6c2 | t3_ki83r | null | t1_c2kt6c2 | t1_c2ks3wo | null | 1427616372 | 1 | t5_2fwo | null | null | null |
True | ErstwhileRockstar | null | Fortunately AOP has become a thing of the past. The idea that you write half-finished programs that are beefed up with 'aspects' is bizarre. At least in retrospect. | null | 0 | 1316375593 | False | 0 | c2kt6pd | t3_kjiii | null | t1_c2kt6pd | t3_kjiii | null | 1427616376 | 0 | t5_2fwo | null | null | null |
True | misterkrad | null | if you took the time to off-line compress the entire database into one large solid rar - what would the gains be? (7-zip can do solid rar - try the 64 bit version with 72 gigs of ram)?
I think the best implementation would be a combination of off-line compression using gobs of ram/cpu and updates using no-compression or light compression to perhaps another database or set of files that get re-integrated once a night.
Does anyone have any good articles on sql server 2008R2/2011 compression for comparison?
| null | 0 | 1316375719 | False | 0 | c2kt79q | t3_kjete | null | t1_c2kt79q | t3_kjete | null | 1427616381 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | I strongly disagree. The problem with static languages (and I love static languages a hell of a lot more than dynamic ones) is that changes are often made to the *interface* of a class, which requires changing things in the header, the class description, and each call site. This is not due to "verbosity", but due to the fact that static languages force all these things to match, whereas dynamic languages are far more relaxed. | null | 0 | 1316375804 | False | 0 | c2kt7mu | t3_kjja4 | null | t1_c2kt7mu | t1_c2kt2m8 | null | 1427616386 | 6 | t5_2fwo | null | null | null |
True | MaikB | null | I disagree. Lets say you changed your mind half way and start rewriting code. In a dynamic language you can start running the rewritten parts without adapting others. If the execution hits invalid code you just get an error message and know where to work next. In a static language the compiler will say: NO, I can't compile and/or link this. | null | 0 | 1316375994 | False | 0 | c2kt8g9 | t3_kjja4 | null | t1_c2kt8g9 | t1_c2kt2m8 | null | 1427616395 | 2 | t5_2fwo | null | null | null |
True | ironykarl | null | Yessir, [the deregulation of airlines](http://en.wikipedia.org/wiki/Airline_Deregulation_Act) and [trucking](http://en.wikipedia.org/wiki/Motor_Carrier_Act_of_1980) in the US are both recent examples which involved enabling market entry and led to obvious price decreases.
There're countless examples of national industries (as in government protected and subsidized industries) becoming majorly inefficient and expensive producers of very bad products. Indian's economy from (roughly) the 1950s onward is a fantastic example.
If you're wondering _why_, just imagine how hard you would work for gains _if you didn't have to._ Sensible entities will tend to reduce the amount of effort they have to put forth to get the results they want. Not letting people enter the market freely, tinker, take risks, and acrue capital around basic concepts makes things radically easier for the established market leaders. | null | 0 | 1316376122 | False | 0 | c2kt90v | t3_khvyw | null | t1_c2kt90v | t1_c2kq1xj | null | 1427616402 | 3 | t5_2fwo | null | null | null |
True | greyfade | null | It might be *more* acceptable, but I'm not convinced the tradeoff is ultimately worth it.
The thing with trade secrets is that they don't last forever. Eventually some widget gets reverse-engineered, or someone comes up with the same idea independently - it'll come out into the Public Domain eventually, why force it? Trade secrets give you the same protection as a patent, for a natural span of time, just without the forced disclosure.
I just can't reconcile the arbitrary time period that a patent sets where that knowledge is *available but inaccessible* with the Constitutional charge to Congress that it must "Promote the Progress of Sciences and of the Useful Arts." It doesn't do that when the world is forced to sit on their hands for 15-20 years while they wait for this knowledge to pass into the Public Domain. | null | 0 | 1316376438 | False | 0 | c2ktaca | t3_khvyw | null | t1_c2ktaca | t1_c2kt18n | null | 1427616420 | 1 | t5_2fwo | null | null | null |
True | Slavigula | null | I think she's into anal.... yeah, definitely... | null | 0 | 1316376523 | False | 0 | c2ktaor | t3_kj1na | null | t1_c2ktaor | t3_kj1na | null | 1427616425 | -1 | t5_2fwo | null | null | null |
True | neitz | null | I don't think it was because Haskell is not the right choice for mainstream, but rather that it would have a lot harder time mapping to the .NET framework. The .NET framework was designed with mutability and side-effects all over the place and this would not translate well to Haskell which strives for pushing these things only to the top most layers. | null | 0 | 1316376643 | False | 0 | c2ktb6z | t3_kii9z | null | t1_c2ktb6z | t1_c2kozoj | null | 1427616431 | 3 | t5_2fwo | null | null | null |
True | neitz | null | *largest | null | 0 | 1316376769 | False | 0 | c2ktbnx | t3_kii9z | null | t1_c2ktbnx | t1_c2kjl0c | null | 1427616437 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | Well, using XML and being like Swing is not the only two options. One could also have a good Java API; for example, it could be type safe and uncomplicated. | null | 0 | 1316376957 | False | 0 | c2ktcfi | t3_kje6b | null | t1_c2ktcfi | t1_c2krb8n | null | 1427616447 | 2 | t5_2fwo | null | null | null |
True | wolf550e | null | LZ77 is just sliding window de-duplication. It transforms an array of bytes into an array of two types: literal bytes and (offset,length) pairs which are references to bytes that previously appeared and the decoder has already seen and can copy from the output buffer. Also, by using a length that is greater than the offset, it provides run length encoding.
Without a guarantee of a maximum offset, the decoder must keep all the output in a buffer in order to be sure it is able to decompress the data (if, for example, it suddenly encounters a pair that says (offset=1GB, length=100bytes) and it needs to repeat 100 bytes from 1GB ago, it must be able to access what it outputted 1GB ago. Because this is impractical, there is a limit either in the spec or in the header of the compressed stream, so the decompresser can allocate a sufficient buffer (or error out). Limiting offset to 16bits is practical. Nowadays, archival compressors use much larger windows.
Deflate is LZ77 with an encoding to transmit both the literals and the offset-length pairs using huffman codes. It uses Russian dolls style to first transmit the huffman tables you're going to need to decode the data, themselves compressed with huffman coding using clever static tables and RLE specified in the spec. It uses two tables: one for literals and lengths of offset-length pairs and another only for offsets of offset-length pairs. Because offsets appear only after lengths, bitcodes of offsets and literals may overlap without being ambiguous. It allows to transmit incompressible data with little overhead. Compression windows are limited to 16bits, but it's streaming. If you want independently decompressible chunks, you must flush every time you make a reset point (and record the offset in the compressed data).
You can use any algorithm and data structures to turn input byte array into a series of minimal length literals and back-references (including slow code that produces the absolutely shortest such description for any given input) and then use the deflate encoding to transmit it. Minimal length of reference is 3, max is 258 (IIRC).
About NTFS not compressing using chunks larger than 64k: probably because (1) its encoding only allows 16bit long back offsets and because (2) in case of random access, NTFS would need to read from disk and decompress a big chunk of data before it can return a single record.
Why doesn't NTFS pack compressed data tighter in the file, leaving on average one half empty 4kb block per compressed chunk? Because tail packing would make the code that maps logical offset in file to physical block on disk too complicated. ReiserFSv3 had tail packing and it was problematic. For example, you didn't know how much free space the disk had.
I have a toy LZ77 compressor in python2: https://github.com/zeevt/csnappy/blob/16792d2f5a7793b2559476c2eeec92a23284bbd7/pysnappy_compress.py
It compresses independent blocks, not a true sliding window. It has two different LZ77 routines, one that uses chaining and unlimited memory (well, you can calculate worst case scenario for any length of input) and one that uses Snappy's hashtable with no chaining. The code is short and you can compare the outputs. Insert print statements to debug... | null | 0 | 1316376964 | True | 0 | c2ktcgg | t3_kjete | null | t1_c2ktcgg | t1_c2kslq9 | null | 1427616448 | 5 | t5_2fwo | null | null | null |
True | stridera | null | I know what you mean. After programming for so long, I'm sometime amazed that people don't know what a for loop is or something similar. Thanks for the tips. I'll look into it. | null | 0 | 1316377245 | False | 0 | c2ktdne | t3_kj1na | null | t1_c2ktdne | t1_c2kpwr4 | null | 1427616464 | 1 | t5_2fwo | null | null | null |
True | player2 | null | The first two weren't even on your radar until C# was released. Stop trolling. | null | 0 | 1316377277 | False | 0 | c2ktds1 | t3_kjf91 | null | t1_c2ktds1 | t1_c2ksgkk | null | 1427616466 | 4 | t5_2fwo | null | null | null |
True | Zarutian | null | Well, MicroSoft has the propensity to say that they will do something and commit to it longterm but then turn around and cancel any such commitments.
I wager that the reason for this is the rampant "empire" building in the office politics and inter-departmental rivaly internal to MicroSoft. I think the world would be better of if MicroSoft was split into many smaller companies. Then they would have no choice but to agree on public open standards. | null | 0 | 1316377296 | False | 0 | c2ktduo | t3_kip3s | null | t1_c2ktduo | t1_c2kjtp7 | null | 1427616467 | -2 | t5_2fwo | null | null | null |
True | el_isma | null | I've found this Wikipedia article to be a good introduction to C++11: http://en.wikipedia.org/wiki/C%2B%2B11
As well as this one from Stroustrup:
http://www.research.att.com/~bs/what-is-2009.pdf | null | 0 | 1316377344 | False | 0 | c2kte1o | t3_kjja4 | null | t1_c2kte1o | t3_kjja4 | null | 1427616469 | 5 | t5_2fwo | null | null | null |
True | Durinthal | null | I never said I'm telling people to avoid Macs. For some people they're great, just don't expect me to help when they break. | null | 0 | 1316377411 | False | 0 | c2ktebp | t3_kjhvo | null | t1_c2ktebp | t1_c2krzzk | null | 1427616473 | 1 | t5_2fwo | null | null | null |
True | sltkr | null | This has been realized to some extend. For example, ARM's [Jazelle](http://www.arm.com/products/processors/technologies/jazelle.php) VM moved interpretation of Java bytecode to the processor (basically allowing the processor run bytecode natively).
The reason it hasn't really caught on is that (1) the ARM system is completely proprietary and platform dependant and (2) that good JIT compilation can beat even the most efficient hardware interpreters. | null | 0 | 1316377652 | False | 0 | c2ktf9m | t3_kjf91 | null | t1_c2ktf9m | t1_c2kqthx | null | 1427616485 | 7 | t5_2fwo | null | null | null |
True | neitz | null | Not really. In Haskell for instance I can load whichever modules I am working with into GHCI and modules that use that module are not compiled/loaded. It is a great environment for rapid prototyping. Again, its really verbosity (especially bad in C++ with header files and the like), and highly coupled software that is the culprit. | null | 0 | 1316377676 | False | 0 | c2ktfd3 | t3_kjja4 | null | t1_c2ktfd3 | t1_c2kt7mu | null | 1427616491 | 21 | t5_2fwo | null | null | null |
True | __j_random_hacker | null | I think a better approach would be to write an adapter class that wraps the graph node class and presents the correct interface. I.e. the graph node adaptor class contains a graph node object, and for every method required by the interface, the adaptor class contains a method of that name and signature that simply forwards to the corresponding method on the contained object. Then you could make the adaptor class have a `Less()` method that forwards to `Smaller()`. | null | 0 | 1316377717 | False | 0 | c2ktfj7 | t3_kikut | null | t1_c2ktfj7 | t1_c2krzt9 | null | 1427616488 | 1 | t5_2fwo | null | null | null |
True | Rubuler | null | Sure is September 15th in here. | null | 0 | 1316377861 | False | 0 | c2ktg66 | t3_kjrve | null | t1_c2ktg66 | t3_kjrve | null | 1427616497 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | That depends on the domain it's used for and what your definition of engineering is. One definition states the use of rigorous mathematics and testing to back up assumptions made by the engineers. I would say that formally modeled software systems fit this definition. Most day to day software engineering is probably more like rigorous craftsmanship. | null | 0 | 1316377977 | False | 0 | c2ktgn6 | t3_kjhvo | null | t1_c2ktgn6 | t1_c2ksky2 | null | 1427616502 | 1 | t5_2fwo | null | null | null |
True | dnew | null | I think where you store the adaptor depends more on what code you have control over yourself. Plus, I think you'd just write a new method that works on the graph node, if I remember my Go properly. I interpreted the intention of that line as "you sometimes need to write code to change what it accepts" sometimes, because trying to sound-byte exactly which seam of your program should implement that adaptor isn't going to be effective. | null | 0 | 1316378092 | False | 0 | c2kth3z | t3_kikut | null | t1_c2kth3z | t1_c2ktfj7 | null | 1427616509 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I often do prototypes in Python when developing engineering programs that need special scientific and mathematics functions. I use SciPy for the Python development and later, if I need more performance, I migrate it to C using the Gnu scientific library.
However I much prefer plain C over C++. I used to do a lot of development in C++, but then I found that C lets me develop in a quicker and easier manner. These days I only use C++ for a few programs, mostly if I use a GUI, like Qt, that's C++.
The reason C is better for me is that it lets one develop interfaces gradually. I start with one single source file with all the functions in it. As I refine my structure and add code I start splitting the functions over several modules. It's the flow of development that gives me the insight of what should go where.
In C++ the definition of classes more or less freezes the API from the beginning. If I implement a function as a method of a class and later find that it would be more logical to implement it as a method of another class that refactoring is a bitch.
| null | 0 | 1316378194 | False | 0 | c2kthhk | t3_kjja4 | null | t1_c2kthhk | t1_c2ksu3g | null | 1427616515 | 10 | t5_2fwo | null | null | null |
True | velit | null | same thing with opera | null | 0 | 1316378239 | False | 0 | c2kthnf | t3_kjja4 | null | t1_c2kthnf | t1_c2kse00 | null | 1427616516 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | You don't know what programming is if you think that wasn't. | null | 0 | 1316378258 | False | 0 | c2kthq0 | t3_kjhvo | null | t1_c2kthq0 | t1_c2krxf1 | null | 1427616517 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | License + humongous titles + PGP key > article. | null | 0 | 1316378572 | False | 0 | c2ktiyw | t3_kjkxj | null | t1_c2ktiyw | t1_c2krtqy | null | 1427616533 | 7 | t5_2fwo | null | null | null |
True | torvalder | null | > (Braces for downvotes)
(Shakes fist)
| null | 0 | 1316378582 | False | 0 | c2ktj00 | t3_kjdt6 | null | t1_c2ktj00 | t1_c2kt4a8 | null | 1427616533 | 1 | t5_2fwo | null | null | null |
True | kankeroo | null | Stories like this depress me a bit. | null | 0 | 1316378650 | False | 0 | c2ktja7 | t3_khf6j | null | t1_c2ktja7 | t3_khf6j | null | 1427616537 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316378660 | False | 0 | c2ktjbe | t3_kjja4 | null | t1_c2ktjbe | t1_c2kthnf | null | 1427616539 | -20 | t5_2fwo | null | null | null |
True | wolf550e | null | Best source on compression I know:
http://mattmahoney.net/dc/dce.html
I remember him writing that he experimented with some version of PAQ and the arithmetic coder beat huffman coding by 10% or something like that. Can't find it now.
Static huffman tables imply static distribution of symbols. If you really only want to compress English text, there are special case compressors that use dictionaries. | null | 0 | 1316378676 | False | 0 | c2ktjd6 | t3_kjete | null | t1_c2ktjd6 | t1_c2ksw2b | null | 1427616539 | 3 | t5_2fwo | null | null | null |
True | mpyne | null | In fairness it turns out that with modern computers that you almost invariably want to [use QVector instead of QList](http://marcmutz.wordpress.com/effective-qt/containers/), or better yet, use std::vector instead of QVector. | null | 0 | 1316378682 | False | 0 | c2ktje4 | t3_kjebe | null | t1_c2ktje4 | t1_c2kq8g1 | null | 1427616547 | 1 | t5_2fwo | null | null | null |
True | chengiz | null | Bit rich coming from someone who doesnt understand basic semantics. | null | 0 | 1316378737 | False | 0 | c2ktjme | t3_kjhvo | null | t1_c2ktjme | t1_c2kthq0 | null | 1427616542 | 1 | t5_2fwo | null | null | null |
True | jakkarth | null | > Some seem to think this reddit is for "links that programmers might find interesting or funny". No. It's for programming links. Programming. *Programming.* **Programming.**
| null | 0 | 1316378972 | False | 0 | c2ktkkn | t3_kjrve | null | t1_c2ktkkn | t3_kjrve | null | 1427616560 | 2 | t5_2fwo | null | null | null |
True | bigniggerdicks | null | I am uncomfortable with '/b' in the corner of those slides. | null | 0 | 1316379001 | False | 0 | c2ktkp0 | t3_kjja4 | null | t1_c2ktkp0 | t3_kjja4 | null | 1427616560 | 10 | t5_2fwo | null | null | null |
True | yurigoul | null | That is the project he is working on: boiling water plus coffee is ice coffee. It will be the next major hit at Starbucks and the supermarkets will follow. Everyone will drink it. What could possibly go wrong? | null | 0 | 1316379045 | False | 0 | c2ktkw1 | t3_kjhvo | null | t1_c2ktkw1 | t1_c2ksz7x | null | 1427616563 | 2 | t5_2fwo | null | null | null |
True | uriel | null | > if they just keep adding features that are generic (channels and slices are both generic types)
Those two 'features' have been an essential part of the language from the start, they were not just added later on, and those features themselves are orthogonal, so I don't see how they harm orthogonality. | null | 0 | 1316379300 | False | 0 | c2ktlx0 | t3_kikut | null | t1_c2ktlx0 | t1_c2krmco | null | 1427616571 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | > A broken data/time class
http://joda-time.sourceforge.net/ | null | 0 | 1316379309 | False | 0 | c2ktlyf | t3_kjf91 | null | t1_c2ktlyf | t1_c2ksgkk | null | 1427616572 | 7 | t5_2fwo | null | null | null |
True | shriek | null | >/b/
There. Feels so much better now. | null | 0 | 1316379443 | False | 0 | c2ktmjg | t3_kjja4 | null | t1_c2ktmjg | t1_c2ktkp0 | null | 1427616580 | 11 | t5_2fwo | null | null | null |
True | drysart | null | Visual J++ had events and delegates in 1998. I can't remember if it had special property syntax or not. | null | 0 | 1316379540 | False | 0 | c2ktmym | t3_kjf91 | null | t1_c2ktmym | t1_c2ktds1 | null | 1427616585 | 15 | t5_2fwo | null | null | null |
True | [deleted] | null | I couldn't get it to play in Firefox 6 but it somehow plays fine in IE9. I don't have Silverlight installed. | null | 0 | 1316379653 | False | 0 | c2ktng4 | t3_kjja4 | null | t1_c2ktng4 | t1_c2kse00 | null | 1427616591 | 2 | t5_2fwo | null | null | null |
True | inmatarian | null | My only gripe with QtConcurrent is that it uses the same thread pool as QThreadPool::instance(), so that you can easily run into a situation where you have tasks running that block for some reason and prevent other tasks from getting a shot at running. QThreadPool isn't immune from this, but it can be mitigated easily by creating a new QThreadPool instance, which will fire up its own qthreads rather than sharing. | null | 0 | 1316379766 | False | 0 | c2ktnwr | t3_kjebe | null | t1_c2ktnwr | t1_c2krxdg | null | 1427616598 | 1 | t5_2fwo | null | null | null |
True | MaikB | null | I rarely implement classes but just functions, which are implemented using some STL classes. OOP is way overused IMO.
That said, I often implement things in C for maintainability. C just compiles and runs everywhere and most developers can make sense of a piece of C code. There is also trouble when using C++ code in plugins for proprietary host programs that themself use C++. I had matlab and abaqus segfault on me due to version mismatches between the C++ runtime libraries. I worked these problems out in these cases, but I don't feel comfortable to leave long living code behind that by default segfaults. Though it sure is a lot more verbose and error prone, at least for, to write something in C than in C++.
| null | 0 | 1316380065 | True | 0 | c2ktp6h | t3_kjja4 | null | t1_c2ktp6h | t1_c2kthhk | null | 1427616615 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316380105 | True | 0 | c2ktpc7 | t3_ki83r | null | t1_c2ktpc7 | t1_c2klxw7 | null | 1427616617 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I meant in relation to patents.
| null | 0 | 1316380123 | False | 0 | c2ktpfj | t3_khvyw | null | t1_c2ktpfj | t1_c2kt90v | null | 1427616618 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Those are features I learned about in December of 1992 when my aunt gave me a copy of VB 2 for my birthday. | null | 0 | 1316380156 | False | 0 | c2ktpl0 | t3_kjf91 | null | t1_c2ktpl0 | t1_c2ktds1 | null | 1427616620 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | Sounds like you're really looking for electrical engineers or ECE majors. As I'm sure you found out, there's a large difference between the kind of close to the hardware programming you do and abstract, high level programming. I'm not sure it's reasonable to expect the average graduate to be able to do both. | null | 0 | 1316380204 | False | 0 | c2ktprp | t3_khkyd | null | t1_c2ktprp | t1_c2ksgav | null | 1427616622 | 1 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | *Now* we've boarded the memory train. | null | 0 | 1316380219 | False | 0 | c2ktpu5 | t3_kjf91 | null | t1_c2ktpu5 | t1_c2ktmym | null | 1427616623 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316380253 | False | 0 | c2ktpy2 | t3_ki83r | null | t1_c2ktpy2 | t1_c2klz5k | null | 1427616624 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | J++ had support for COM so they must have done something for properties. Exactly what that was I'm not sure of. | null | 0 | 1316380277 | False | 0 | c2ktq13 | t3_kjf91 | null | t1_c2ktq13 | t1_c2ktmym | null | 1427616626 | 5 | t5_2fwo | null | null | null |
True | nemtrif | null | > a new Windows API (WinRT) that is entirely dependent on non-standard C++
The non-standard extensions are optional - you can write WinRT with standard C++ or even C. | null | 0 | 1316380316 | False | 0 | c2ktq7a | t3_kjja4 | null | t1_c2ktq7a | t1_c2krxvw | null | 1427616628 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Yea, and once they find a way to thread it through the standard API it is going to be great. | null | 0 | 1316380321 | False | 0 | c2ktq7y | t3_kjf91 | null | t1_c2ktq7y | t1_c2ktlyf | null | 1427616628 | 6 | t5_2fwo | null | null | null |
True | sbrown123 | null | Nice programming hack. A better and more useful solution would have been to get it to run in the Android environment (Java included). Then people could write apps in a different language but not lose the OS, apps, and functionality. | null | 0 | 1316380426 | False | 0 | c2ktqnz | t3_kjj9n | null | t1_c2ktqnz | t3_kjj9n | null | 1427616634 | -5 | t5_2fwo | null | null | null |
True | klo8 | null | Delphi had properties in 1995, at least according to Wikipedia. | null | 0 | 1316380464 | False | 0 | c2ktqtr | t3_kjf91 | null | t1_c2ktqtr | t1_c2ktds1 | null | 1427616639 | 7 | t5_2fwo | null | null | null |
True | tau-lepton | null | Danke | null | 0 | 1316380487 | False | 0 | c2ktqxb | t3_kfvm7 | null | t1_c2ktqxb | t1_c2ksz30 | null | 1427616639 | 1 | t5_2fwo | null | null | null |
True | WalterBright | null | D templates have significantly more power than C++ templates, yet have a simpler syntax. | null | 0 | 1316380489 | False | 0 | c2ktqxm | t3_kikut | null | t1_c2ktqxm | t1_c2kry78 | null | 1427616639 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | Doing programming with mathematical functions as the basis. | null | 0 | 1316380532 | False | 0 | c2ktr47 | t3_kjkxj | null | t1_c2ktr47 | t3_kjkxj | null | 1427616640 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | Why would you downvote for that? It's at the end of the article and has no effect on the readability of the article. | null | 0 | 1316380547 | False | 0 | c2ktr5q | t3_kjkxj | null | t1_c2ktr5q | t1_c2krtqy | null | 1427616640 | 5 | t5_2fwo | null | null | null |
True | stkerr | null | It's obnoxious | null | 0 | 1316380834 | False | 0 | c2ktsby | t3_kjkxj | null | t1_c2ktsby | t1_c2ktr5q | null | 1427616655 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | That has been my experience. For quick and dirty prototypes, dynamic typing doesn't offer me anything over a statically typed language and a dictionary.
Take Ruby for example. I used to drool over the query syntax that was exposed for stuff like ActiveRecord. But now that I have LINQ I couldn't care less about Ruby. I have the same sort of elegant syntax plus I don't have to run tests to discover typos. | null | 0 | 1316380997 | False | 0 | c2ktt0f | t3_kjja4 | null | t1_c2ktt0f | t1_c2kt2m8 | null | 1427616667 | 7 | t5_2fwo | null | null | null |
True | davebrk | null | You shouldn't uninstall VS from the Add/Remove Programs. There's a separate program to uninstall it. | null | 0 | 1316381086 | False | 0 | c2kttd6 | t3_khtuh | null | t1_c2kttd6 | t1_c2kkd8o | null | 1427616670 | 1 | t5_2fwo | null | null | null |
True | LiveOnSteak | null | My voodoo marbles say that you're full of shit. And I can trust my voodoo marbles, because they use complex chemical interactions, just like biology! | null | 0 | 1316381094 | False | 0 | c2ktte9 | t3_kjhvo | null | t1_c2ktte9 | t1_c2ksjn1 | null | 1427616670 | 0 | t5_2fwo | null | null | null |
True | grauenwolf | null | That is a problem in C and C++ to be sure. (And objective-C if I'm not mistaken).
In VB or C# you don't have headers to deal with. Most call sites simply use var/dim, so you don't have to change the types there either.
| null | 0 | 1316381162 | False | 0 | c2kttne | t3_kjja4 | null | t1_c2kttne | t1_c2kt7mu | null | 1427616672 | 3 | t5_2fwo | null | null | null |
True | ssylvan | null | If you change the interface to a function, say, you better update the use sites even in a dynamic language. The only difference is that the compiler will point out all of the places you need to update in one case, whereas in the other you get runtime crashes.
If you have type inference (so that changes that don't modify *how* something is used won't require changes at the use-sites), then there's really no benefit to dynamic languages in this respect. | null | 0 | 1316381201 | False | 0 | c2kttt7 | t3_kjja4 | null | t1_c2kttt7 | t1_c2kt7mu | null | 1427616676 | 22 | t5_2fwo | null | null | null |
True | mkantor | null | I'm just talking about the "model" part of [MVC](http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller). I usually like my MVC frameworks to have an inheritance tree where the ORM class (e.g. ActiveRecord) extends a more basic Model class whose sole job is data representation/manipulation. | null | 0 | 1316381280 | False | 0 | c2ktu4z | t3_ki83r | null | t1_c2ktu4z | t1_c2kq8s6 | null | 1427616679 | 1 | t5_2fwo | null | null | null |
True | brandf | null | how does this compare this to .NET? C# 5 await + TPL + PLINQ is pretty nice. | null | 0 | 1316381289 | False | 0 | c2ktu6f | t3_kjdt6 | null | t1_c2ktu6f | t3_kjdt6 | null | 1427616679 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | That style of programming reminds me of VB 6 and incremental compilation, and it royally sucked. I would get half-way through testing something and boom, a bear comes out.
| null | 0 | 1316381320 | False | 0 | c2ktuax | t3_kjja4 | null | t1_c2ktuax | t1_c2kt8g9 | null | 1427616681 | 4 | t5_2fwo | null | null | null |
True | thegeek2 | null | Why not use tools to ensure they all match? That way you get all the benefits of static typing with very little cost.
I find c# a lot easier to work in than many dynamic languages due to the amazing IDE that is Visual Studio 2010 + Resharper. | null | 0 | 1316381352 | False | 0 | c2ktuf8 | t3_kjja4 | null | t1_c2ktuf8 | t1_c2kt7mu | null | 1427616682 | 2 | t5_2fwo | null | null | null |
True | ssylvan | null | They didn't just add a bunch of extensions for no reason. They added them because they absolutely needed those extensions in order to support the scenarios that they wanted (in particular, fast native code that still has a safe ABI accessible to multiple languages). | null | 0 | 1316381361 | False | 0 | c2ktugp | t3_kjja4 | null | t1_c2ktugp | t1_c2ksagv | null | 1427616683 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316381364 | False | 0 | c2ktuh8 | t3_kjj9n | null | t1_c2ktuh8 | t3_kjj9n | null | 1427616683 | 1 | t5_2fwo | null | null | null |
True | fgriglesnickerseven | null | Good ol' Herb really has his 'fondle my managers balls' gesture down. | null | 0 | 1316381378 | False | 0 | c2ktuj8 | t3_kjja4 | null | t1_c2ktuj8 | t3_kjja4 | null | 1427616684 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316381396 | False | 0 | c2ktulw | t3_kjja4 | null | t1_c2ktulw | t1_c2ktjbe | null | 1427616685 | -11 | t5_2fwo | null | null | null |
True | grauenwolf | null | Languages
As the successor to COM, the WinRT API is meant to be equally accessible from C++, .NET, and JavaScript.
| null | 0 | 1316381445 | False | 0 | c2ktut6 | t3_kjja4 | null | t1_c2ktut6 | t1_c2ksagv | null | 1427616688 | 1 | t5_2fwo | null | null | null |
True | clubdirthill | null | You need H.264 codec support. Thus, Safari and IE9 are your only bets. | null | 0 | 1316381473 | False | 0 | c2ktuxm | t3_kjja4 | null | t1_c2ktuxm | t1_c2kse00 | null | 1427616690 | 9 | t5_2fwo | null | null | null |
True | grauenwolf | null | The current build of WinRT does not support C++/CLI. I do not know if that will change in the future. | null | 0 | 1316381486 | False | 0 | c2ktuz4 | t3_kjja4 | null | t1_c2ktuz4 | t1_c2kszww | null | 1427616691 | 2 | t5_2fwo | null | null | null |
True | mkantor | null | Really? I've always found the opposite. Eventually you end up phasing most of it out or tweaking the underlying implementation but the early prototyping-phase speed gains of a good ORM class have been pretty significant in my bigger projects. Maybe we just work on different kinds of software. | null | 0 | 1316381519 | False | 0 | c2ktv4d | t3_ki83r | null | t1_c2ktv4d | t1_c2klpcx | null | 1427616693 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | >Lack of events
It's probably not exactly what you meant, but the standard library now has an eventing system: http://blogs.oracle.com/arungupta/entry/totd_145_cdi_events_a
A more heavyweight form of events via messaging has been supported by for a good decade as well via JMS in the standard library. | null | 0 | 1316381578 | False | 0 | c2ktvd2 | t3_kjf91 | null | t1_c2ktvd2 | t1_c2ksgkk | null | 1427616696 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | The way you know that a topic is becoming mainstream is preponderance of poorly written tutorials on that topic (just think about what was/is happening with buzzwords that were/are Java, XML, and now HTML5). So the fact that this article is not well written is actually a good thing -- functional programming is becoming mainstream. | null | 0 | 1316381589 | False | 0 | c2ktvf9 | t3_kjkxj | null | t1_c2ktvf9 | t3_kjkxj | null | 1427616696 | 13 | t5_2fwo | null | null | null |
True | shevegen | null | I cant play this video.
Youtube works
isnt there a youtube link to it? | null | 0 | 1316381629 | False | 0 | c2ktvl6 | t3_kjja4 | null | t1_c2ktvl6 | t3_kjja4 | null | 1427616699 | -4 | t5_2fwo | null | null | null |
True | tgehr | null | Those are macros, or templates. Generics are less powerful and less efficient, but in return simpler and generate less machine/VM/whatever code. | null | 0 | 1316381654 | False | 0 | c2ktvph | t3_kikut | null | t1_c2ktvph | t1_c2kmqkl | null | 1427616700 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [Relevant](http://www.destinati.com/writing/sci.phys/Optical.pdf) | null | 0 | 1316381663 | False | 0 | c2ktvqx | t3_kgfhb | null | t1_c2ktvqx | t3_kgfhb | null | 1427616701 | 1 | t5_2fwo | null | null | null |
True | danharaj | null | I don't see how that's possible since C++ templates are (unfortunately) Turing complete. | null | 0 | 1316381701 | False | 0 | c2ktvw0 | t3_kikut | null | t1_c2ktvw0 | t1_c2ktqxm | null | 1427616711 | 0 | t5_2fwo | null | null | null |
True | henk53 | null | Wow, thanks for reminding me about that :) VS6 was as far as I remember actually one of the best Java IDEs at the time and Microsofts JVM actually the fastest one around.
What a difference a decade makes, unimaginable today... *(not that MS is bad, or VS is bad, but that Microsoft was one of the top Java players)* | null | 0 | 1316381721 | False | 0 | c2ktvyt | t3_kjf91 | null | t1_c2ktvyt | t1_c2ktq13 | null | 1427616703 | 4 | t5_2fwo | null | null | null |
True | henk53 | null | Some aunt you have :P | null | 0 | 1316381753 | False | 0 | c2ktw34 | t3_kjf91 | null | t1_c2ktw34 | t1_c2ktpl0 | null | 1427616713 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316381782 | False | 0 | c2ktw7v | t3_kjja4 | null | t1_c2ktw7v | t1_c2ktuxm | null | 1427616716 | 1 | t5_2fwo | null | null | null |
True | MaikB | null | That style of programming is just for the rather short timespan during the design of the algorithm. I found it to be more time efficient to allow myself to be messy in the early design phase. | null | 0 | 1316381809 | False | 0 | c2ktwc3 | t3_kjja4 | null | t1_c2ktwc3 | t1_c2ktuax | null | 1427616718 | 4 | t5_2fwo | null | null | null |
True | kirakun | null | That's exactly my point. UNIX file system was another example I cited (since that is where I'm more familiar). | null | 0 | 1316381921 | False | 0 | c2ktws9 | t3_kjhvo | null | t1_c2ktws9 | t1_c2ksqmi | null | 1427616718 | 1 | t5_2fwo | null | null | null |
True | kirakun | null | OOP! Are you following the comments? | null | 0 | 1316381971 | False | 0 | c2ktwwp | t3_kjhvo | null | t1_c2ktwwp | t1_c2kt1oo | null | 1427616721 | 1 | t5_2fwo | null | null | null |
True | danharaj | null | I always hate when yet another soap box blog about Haskell wanders its way onto the front page. Haskell is great, and there are really great communicators who expound on its greatness. Everyone and their dog doesn't need to talk about it.
Also, when you write a blog post and submit it to /r/programming, you're making a glorified self-post that gets karma and circumvents the sidebar rules. So dishonest. | null | 0 | 1316381971 | False | 0 | c2ktwwr | t3_kjkxj | null | t1_c2ktwwr | t1_c2ktvf9 | null | 1427616721 | 1 | t5_2fwo | null | null | null |
True | kirakun | null | OOP! Are you following the comments? | null | 0 | 1316381980 | False | 0 | c2ktwzt | t3_kjhvo | null | t1_c2ktwzt | t1_c2kt1oo | null | 1427616720 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | That would be an interesting comparison really.
From what I've heard the Task Parallel Library in .NET is pretty slick and C#'s clossures makes al sorts of parallel computations easier to express.
But the Java concurrent library really holds it own, and fork/join is a really powerful addition. | null | 0 | 1316382010 | False | 0 | c2ktx5k | t3_kjdt6 | null | t1_c2ktx5k | t1_c2ktu6f | null | 1427616724 | 2 | t5_2fwo | null | null | null |
True | ethraax | null | When I was speaking of call sites, I was thinking more about argument types than return types. Either way, I don't see much use of `var` in C#, but that was working with a sizable corporation, so perhaps smaller companies are faster to jump on newer syntax. | null | 0 | 1316382101 | False | 0 | c2ktxiy | t3_kjja4 | null | t1_c2ktxiy | t1_c2kttne | null | 1427616729 | 1 | t5_2fwo | null | null | null |
True | HazzyPls | null | Why am I bending over backwards just to watch a freaking video? Sound doesn't work with Moonlight, it won't let my browser use HTML5, and I'm currently downloading the entire mp4 file to watch it offline. | null | 0 | 1316382324 | False | 0 | c2ktyfz | t3_kjja4 | null | t1_c2ktyfz | t3_kjja4 | null | 1427616739 | 3 | t5_2fwo | null | null | null |
True | ironykarl | null | The principle's the same, really. | null | 0 | 1316382333 | False | 0 | c2ktyha | t3_khvyw | null | t1_c2ktyha | t1_c2ktpfj | null | 1427616739 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | > I've been in the 95th percentile my entire life
We're not talking about the 95th percentile, we're talking about the 99.999th percentile with this kid. | null | 0 | 1316382397 | False | 0 | c2ktyr4 | t3_khf6j | null | t1_c2ktyr4 | t1_c2kh9sm | null | 1427616743 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | The whole premise of this article is bullshit, that because ORM is currently insufficient for all needs that it is an 'anti-pattern.'
I carry around the weight of ORM specific knowledge along with my knowledge of SQL because having both is overall much faster than if I only had one.
Having said that, I think he does have some good points and the people who write ORMs should be paying attention. | null | 0 | 1316382402 | False | 0 | c2ktyrx | t3_ki83r | null | t1_c2ktyrx | t1_c2kp42a | null | 1427616743 | 1 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.