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 | flaarg | null | I bet that 5% is only really important to you if you know that its important. | null | 0 | 1318288289 | False | 0 | c2qf72k | t3_l7gl3 | null | t1_c2qf72k | t1_c2qeppk | null | 1427713323 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | Javascript my dear, javascript... | null | 0 | 1318288289 | False | 0 | c2qf72o | t3_l765i | null | t1_c2qf72o | t1_c2qf4x3 | null | 1427713323 | 2 | t5_2fwo | null | null | null |
True | vcarl | null | It's described "as the seminal book on the language."
I Googled "seminal," and it means both "strongly influencing later developments" and "of, relating to, or denoting semen," so take your pick. | null | 0 | 1318288317 | False | 0 | c2qf77l | t3_l6yn1 | null | t1_c2qf77l | t1_c2qcg5m | null | 1427713324 | 8 | t5_2fwo | null | null | null |
True | one-half | null | And [this](http://www.bemorehealthy.com/LGP-30Computer/P5300874.htm) is from his source control system. | null | 0 | 1318288362 | False | 0 | c2qf7fe | t3_l7kdu | null | t1_c2qf7fe | t3_l7kdu | null | 1427713327 | 5 | t5_2fwo | null | null | null |
True | horizon | null | <insert obligatory complaint referencing sidebar here, with additional redirection to r/<any other subreddit>> | null | 0 | 1318288410 | False | 0 | c2qf7nc | t3_l7kdu | null | t1_c2qf7nc | t3_l7kdu | null | 1427713338 | 1 | t5_2fwo | null | null | null |
True | elyscape | null | Interestingly, it actually has at least one more feature than C#: conditional catching. That is, having catch blocks that only catch when a certain condition is true, beyond the type of the exception. For example:
Public Function Add(ByVal y As Integer)
Try
Dim x As Integer = 5
Add... | null | 0 | 1318288432 | True | 0 | c2qf7r2 | t3_l6uwv | null | t1_c2qf7r2 | t1_c2qaimn | null | 1427713330 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Symbols are interned in pretty much every language. | null | 0 | 1318288546 | False | 0 | c2qf89y | t3_l6uwv | null | t1_c2qf89y | t1_c2qa4st | null | 1427713337 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | Blech. | null | 0 | 1318288569 | False | 0 | c2qf8eg | t3_l6uwv | null | t1_c2qf8eg | t1_c2qet5j | null | 1427713338 | -3 | t5_2fwo | null | null | null |
True | [deleted] | null | It's not always easy to describe types. Some languages (ML, Haskell) address this by having very rich type systems that can describe complex types statically. Others (Lisp, Javascript) make everything dynamically typed. The rest (Java, C++) force you to declare types while giving you an extremely limited type system wi... | null | 0 | 1318288871 | False | 0 | c2qf9wt | t3_l6uwv | null | t1_c2qf9wt | t1_c2qcz7e | null | 1427713358 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | This seems something like "I have nothing else to do, so let's waste time doing this". | null | 0 | 1318288917 | True | 0 | c2qfa4d | t3_l780w | null | t1_c2qfa4d | t3_l780w | null | 1427713360 | 7 | t5_2fwo | null | null | null |
True | NruJaC | null | Maybe I'm misunderstanding, but he claims adding to an array backed list (vector or growable array) is O(log(n)). That's just plain wrong if the implementation is done correct. It's kinda a first "hey here's big O notation and here's how you do analysis with it" example to prove that adding to a growable array is an am... | null | 0 | 1318288938 | False | 0 | c2qfa7y | t3_l6xa0 | null | t1_c2qfa7y | t3_l6xa0 | null | 1427713362 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Did it as well.
>Can You XSS This?
>An error has occurred and it has been logged.
Opened a jpg picture of the Kia Hamstars in Notepad, copy/pasted the code about 100 times and then shoved that through.
This would be far more interesting if this was somehow interacting with a database or something.
Also, let'... | null | 0 | 1318288962 | False | 0 | c2qfac2 | t3_l7bjb | null | t1_c2qfac2 | t1_c2qe5aq | null | 1427713364 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | > "... without getting in your way". This seems to sum up the feeling towards types that I detect here. It's an attitude that stems from writing Java or C++, with little or no appreciation for elegant type systems elsewhere (e.g., Haskell).
Bracha comes from the Smalltalk world. They don't have a fetish for type sy... | null | 0 | 1318289091 | False | 0 | c2qfazn | t3_l6uwv | null | t1_c2qfazn | t1_c2qbx9m | null | 1427713372 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | Just wait till God develops a programmer complex. | null | 0 | 1318289133 | False | 0 | c2qfb73 | t3_l6m5r | null | t1_c2qfb73 | t1_c2qbrjd | null | 1427713374 | 2 | t5_2fwo | null | null | null |
True | lampshadish2 | null | Oh shush. I'm not a Haskell guy but found it perfectly readable and informative. | null | 0 | 1318289219 | False | 0 | c2qfbm4 | t3_l77q2 | null | t1_c2qfbm4 | t1_c2qf40z | null | 1427713380 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | You sound grumpy. You should recruit a galaxy of stars to cheer you up. | null | 0 | 1318289231 | False | 0 | c2qfboh | t3_l6m5r | null | t1_c2qfboh | t1_c2qcbi8 | null | 1427713381 | 1 | t5_2fwo | null | null | null |
True | munificent | null | Just some nerd. | null | 0 | 1318289242 | False | 0 | c2qfbqg | t3_l6uwv | null | t1_c2qfbqg | t1_c2qf5w1 | null | 1427713382 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | "To be fair Jim... James... Jimothy. To be fair Jimothy... that sound weird. Can I just call you Jim?" | null | 0 | 1318289269 | False | 0 | c2qfbv8 | t3_l6m5r | null | t1_c2qfbv8 | t1_c2q8aat | null | 1427713383 | 2 | t5_2fwo | null | null | null |
True | peter-pumpkin-eater | null | Agreed - if you want to keep commit size small (which is always nice) then make a change + commit, don't make a huge number of changes and go file-by-file cherrypicking individual changes to commit! | null | 0 | 1318289287 | False | 0 | c2qfbyo | t3_l780w | null | t1_c2qfbyo | t1_c2qfa4d | null | 1427713386 | 5 | t5_2fwo | null | null | null |
True | bitchessuck | null | OO is very ill-defined altogether. What's *the* feature that makes a language OO? You are going to get different answers. Even more basic, what's an object, or a class? I don't know of any generally agreed upon definitions for these, either. | null | 0 | 1318289328 | False | 0 | c2qfc5y | t3_l765i | null | t1_c2qfc5y | t1_c2qdv69 | null | 1427713388 | 2 | t5_2fwo | null | null | null |
True | coned88 | null | Does that concern you? Fundamentals are important but no programming doesn't do much to reinforce them. | null | 0 | 1318289390 | False | 0 | c2qfch4 | t3_l6dcp | null | t1_c2qfch4 | t1_c2qacjc | null | 1427713393 | 1 | t5_2fwo | null | null | null |
True | munificent | null | > Why is Dart not simpler?
It's not Scheme, but I think it's a good bit simpler than C#, Python, and Ruby. Maybe simpler than Java depending on how you look at it. | null | 0 | 1318289400 | False | 0 | c2qfciy | t3_l6uwv | null | t1_c2qfciy | t1_c2qefpr | null | 1427713393 | 4 | t5_2fwo | null | null | null |
True | ghthor | null | That is the way I feel for sure. | null | 0 | 1318289408 | False | 0 | c2qfckk | t3_l6uwv | null | t1_c2qfckk | t1_c2qadgr | null | 1427713393 | 2 | t5_2fwo | null | null | null |
True | robinhouston | null | A couple of plain (not XSS) bugs:
<p align="center">
is blocked, but
<p align="cener">
is allowed.
Also a NUL byte anywhere in the submitted code will cause the output to be blank. | null | 0 | 1318289436 | False | 0 | c2qfcnx | t3_l7bjb | null | t1_c2qfcnx | t3_l7bjb | null | 1427713395 | 3 | t5_2fwo | null | null | null |
True | munificent | null | Huh, do you have any documentation on it? That sounds interesting. | null | 0 | 1318289448 | False | 0 | c2qfcqk | t3_l6uwv | null | t1_c2qfcqk | t1_c2qed5j | null | 1427713396 | 3 | t5_2fwo | null | null | null |
True | neutronbob | null | C *with classes* that makes sense. FTFY | null | 0 | 1318289475 | False | 0 | c2qfcwx | t3_l6uwv | null | t1_c2qfcwx | t1_c2qehvo | null | 1427713398 | 0 | t5_2fwo | null | null | null |
True | high9 | null | This typo is bugging me.
>Pattern.compile("(?i)**cener**|left|right|justify|char");
| null | 0 | 1318289476 | False | 0 | c2qfcx3 | t3_l7bjb | null | t1_c2qfcx3 | t3_l7bjb | null | 1427713398 | 2 | t5_2fwo | null | null | null |
True | azakai | null | > JavaScript isn't suitable for the large browser-based applications that Google builds.
Well, that's what Google says, but is it true? What, for example, is wrong with building large browser apps with GWT? It seems to work very well in gmail etc.
> But since the browser makers can't get off their collective as... | null | 0 | 1318289546 | False | 0 | c2qfd9e | t3_l6u5q | null | t1_c2qfd9e | t1_c2qd24o | null | 1427713402 | 3 | t5_2fwo | null | null | null |
True | mikesamuel | null | Thanks. Will fix. | null | 0 | 1318289578 | False | 0 | c2qfder | t3_l7bjb | null | t1_c2qfder | t1_c2qfcnx | null | 1427713406 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | If you can do CS, you can program. But can you program well? And can you work in a team environment with others where you may not always get your way?
| null | 0 | 1318289606 | False | 0 | c2qfdjx | t3_l6dcp | null | t1_c2qfdjx | t1_c2qf0ff | null | 1427713405 | 1 | t5_2fwo | null | null | null |
True | notSorella | null | I don't think we can generalise things by saying "if you hate anything about X, it's because you don't get it". Sometimes there are concepts that just don't match the way of thinking of certain people, it's not that the concept is wrong, or that the people don't get it, or that those people are wrong. People are differ... | null | 0 | 1318289614 | False | 0 | c2qfdli | t3_l765i | null | t1_c2qfdli | t1_c2qev5f | null | 1427713407 | 9 | t5_2fwo | null | null | null |
True | dbilenkin | null | Interesting point about keeping the head at a certain elevation for the quadrupeds. They were the last creature I was working on before I gave up. I had locally started making other changes such as penalizing them when their heads touched the ground. There's definitely a lot more to explore there because locomotion i... | null | 0 | 1318289673 | False | 0 | c2qfdv5 | t3_kucjn | null | t1_c2qfdv5 | t1_c2py2be | null | 1427713410 | 1 | t5_2fwo | null | null | null |
True | munificent | null | > I ask that Google take the initiative in creating editor support for Dart.
An editor was demoed at the keynote. It's in the repo but I'm not sure how much effort it takes to build it.
> submit the relevant code bits for syntax highlighting, etc to the emacs, vim, textmate, whatever guys.
emacs and vim are in... | null | 0 | 1318289701 | False | 0 | c2qfdzq | t3_l6uwv | null | t1_c2qfdzq | t1_c2qczd4 | null | 1427713412 | 2 | t5_2fwo | null | null | null |
True | neutronbob | null | Well, I'm not sure that's really a deal-breaker if there are other benefits. But, like you, I was surprised to see them in this. It certainly seems like the current preference is no semis. | null | 0 | 1318289735 | False | 0 | c2qfe5f | t3_l6uwv | null | t1_c2qfe5f | t1_c2qcz4j | null | 1427713414 | 2 | t5_2fwo | null | null | null |
True | notSorella | null | I'd say "lack of standards". | null | 0 | 1318289746 | False | 0 | c2qfe7h | t3_l765i | null | t1_c2qfe7h | t1_c2qf4x3 | null | 1427713415 | 2 | t5_2fwo | null | null | null |
True | UmberGryphon | null | I went to graduate school with Mike Haertel. He is, indeed, an Ultimate Unix Geek.
| null | 0 | 1318289948 | False | 0 | c2qff4d | t3_l6xnp | null | t1_c2qff4d | t3_l6xnp | null | 1427713427 | 2 | t5_2fwo | null | null | null |
True | mikesamuel | null | Where are you seeing this? Is it in http://owasp-java-html-sanitizer.googlecode.com/svn/trunk/src/main/org/owasp/html/examples/SlashdotPolicyExample.java ? | null | 0 | 1318290005 | False | 0 | c2qffeh | t3_l7bjb | null | t1_c2qffeh | t1_c2qfcx3 | null | 1427713430 | 2 | t5_2fwo | null | null | null |
True | neutronbob | null | or Fantom, [http://fantom.org](http://fantom.org) | null | 0 | 1318290048 | False | 0 | c2qfflo | t3_l6uwv | null | t1_c2qfflo | t1_c2qal4x | null | 1427713433 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I expected a real VM, like JVM or something like that... | null | 0 | 1318290106 | False | 0 | c2qffvi | t3_l6u5q | null | t1_c2qffvi | t1_c2qbg66 | null | 1427713436 | 0 | t5_2fwo | null | null | null |
True | thecheatah | null | subtract the xs and the ys and abs them the two values should be the same. | null | 0 | 1318290159 | False | 0 | c2qfg59 | t3_l6zqc | null | t1_c2qfg59 | t1_c2qaol4 | null | 1427713440 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | True, but I'd love to see something like AVM2 :( | null | 0 | 1318290169 | False | 0 | c2qfg6k | t3_l6u5q | null | t1_c2qfg6k | t1_c2qfd9e | null | 1427713440 | 1 | t5_2fwo | null | null | null |
True | mikesamuel | null | NUL byte issue. http://code.google.com/p/owasp-java-html-sanitizer/issues/detail?id=4
How are you embedding the NUL byte? Specifically, how are you encoding the POST body? If as UTF-8, are you encoding the NUL using a one-byte or two-byte form (00 vs C0 80)? | null | 0 | 1318290258 | False | 0 | c2qfgmv | t3_l7bjb | null | t1_c2qfgmv | t1_c2qfcnx | null | 1427713445 | 2 | t5_2fwo | null | null | null |
True | SweetIrony | null | It would solve nothing, as the primary issue is locking and resource sharing in an asynchronous multithread environment. A database already has a whole toolset designed expressly for that issue. Adding another layer would add significant cost both in development and transactionally while obfuscating the underlying is... | null | 0 | 1318290262 | False | 0 | c2qfgni | t3_l6wmx | null | t1_c2qfgni | t1_c2qeh4d | null | 1427713445 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Reason for the semicolons? | null | 0 | 1318290339 | False | 0 | c2qfgzs | t3_l6uwv | null | t1_c2qfgzs | t1_c2q9lpp | null | 1427713451 | 2 | t5_2fwo | null | null | null |
True | yonkeltron | null | Thanks! | null | 0 | 1318290350 | False | 0 | c2qfh1o | t3_l6uwv | null | t1_c2qfh1o | t1_c2qfdzq | null | 1427713451 | 1 | t5_2fwo | null | null | null |
True | eaturbrainz | null | After putting the last major draft on arXiv only to have the math torn up a bit by reviewers, I'm hesitating to actually post so that I can avoid embarrassing myself.
Also, my previous experience with posting whole papers to Reddit has been that *very* few people actually read them and end up able to comment or critic... | null | 0 | 1318290352 | False | 0 | c2qfh22 | t3_l6uwv | null | t1_c2qfh22 | t1_c2qet4i | null | 1427713451 | 2 | t5_2fwo | null | null | null |
True | notSorella | null | Is it, really? I think "object oriented" and "functional" have lost most of its meaning throughout language evolution. Nowadays "object oriented" is used to describe any language that has objects, or classes. And "functional" any language that provides first-class functions and closures -- even though functional implie... | null | 0 | 1318290368 | False | 0 | c2qfh56 | t3_l765i | null | t1_c2qfh56 | t1_c2qfc5y | null | 1427713452 | 1 | t5_2fwo | null | null | null |
True | neutronbob | null | In the abstract, I definitely agree. But for designers who hope to get traction for the new language, it needs to be familiar enough for new developers to kick tires easily. Hence, the C-like syntax. | null | 0 | 1318290373 | False | 0 | c2qfh5n | t3_l6uwv | null | t1_c2qfh5n | t1_c2q9vk0 | null | 1427713452 | 3 | t5_2fwo | null | null | null |
True | eaturbrainz | null | Nice going. Always nice to see the language world flowering out again! | null | 0 | 1318290578 | False | 0 | c2qfi5d | t3_l6uwv | null | t1_c2qfi5d | t1_c2q9qwa | null | 1427713466 | 2 | t5_2fwo | null | null | null |
True | artsrc | null | This gels with my experience with CoffeeScript. | null | 0 | 1318290599 | False | 0 | c2qfi95 | t3_hs46u | null | t1_c2qfi95 | t3_hs46u | null | 1427713466 | 1 | t5_2fwo | null | null | null |
True | oSand | null | I'd say a lack of basic language amenities led to a variety of hacked-on solutions. | null | 0 | 1318290637 | False | 0 | c2qfif9 | t3_l765i | null | t1_c2qfif9 | t1_c2qfe7h | null | 1427713469 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | Hmm, seems specious.
1) As you said above, most programmers are already familiar w/ classes, and at this point you're one Google search away from getting classes in there -- or if you're using JQuery, it's already built in.
2) The most widely deployed JS library, the DOM, is written in a class oriented style, not a p... | null | 0 | 1318290664 | False | 0 | c2qfiju | t3_l6uwv | null | t1_c2qfiju | t1_c2qe5rk | null | 1427713470 | 0 | t5_2fwo | null | null | null |
True | eaturbrainz | null | What office are you guys working in? Would you happen to have need of a type-system guy ;-)? | null | 0 | 1318290665 | False | 0 | c2qfijz | t3_l6uwv | null | t1_c2qfijz | t1_c2qbeap | null | 1427713470 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | As someone who is only just beginning to learn C++ (as a first language) should I just ignore all the buzz around C++11 for now? I'm learning from 'Programming: Principles and Practices using C++' by Stroustrup, Dec 08. | null | 0 | 1318290667 | False | 0 | c2qfik9 | t3_l7gl3 | null | t1_c2qfik9 | t3_l7gl3 | null | 1427713470 | 10 | t5_2fwo | null | null | null |
True | UmberGryphon | null | GNU grep was created in 1989, if you were curious. | null | 0 | 1318290689 | False | 0 | c2qfioa | t3_l6xnp | null | t1_c2qfioa | t1_c2qe5q7 | null | 1427713473 | 5 | t5_2fwo | null | null | null |
True | kniteli | null | Definitely. I especially enjoyed the narrator saying, "If only my colleagues had as deep an understanding as [myself]." Egocentricity to the max. | null | 0 | 1318290727 | False | 0 | c2qfiuk | t3_l6yn1 | null | t1_c2qfiuk | t1_c2qbsnq | null | 1427713474 | 20 | t5_2fwo | null | null | null |
True | eaturbrainz | null | I thought that optional typing meant it *would* be doing something wrong, precisely because the user asserted that they wanted 'a' typed.
You could do a sort of inverted Bob Harper system: require annotations for when the compile-time type system should assign/require a statically-checkable type, and otherwise assign ... | null | 0 | 1318290783 | False | 0 | c2qfj4p | t3_l6uwv | null | t1_c2qfj4p | t1_c2qe7qw | null | 1427713479 | 1 | t5_2fwo | null | null | null |
True | eaturbrainz | null | I seriously urge you to build a *sound* type system dominated by Dynamic rather than allowing unsoundness. | null | 0 | 1318290910 | False | 0 | c2qfjqj | t3_l6uwv | null | t1_c2qfjqj | t1_c2q9kbw | null | 1427713486 | 4 | t5_2fwo | null | null | null |
True | codewarrior0 | null | https://gist.github.com/973705#gistcomment-33460
> And you could use httplib2 which has python 3 support
import httplib2
h = httplib2.Http(".cache")
h.add_credentials('user', 'pass')
r, content = h.request("https://api.github.com", "GET")
print r['status']
print r['content-type']
| null | 0 | 1318290913 | False | 0 | c2qfjrf | t3_l7frl | null | t1_c2qfjrf | t3_l7frl | null | 1427713488 | 3 | t5_2fwo | null | null | null |
True | UmberGryphon | null | He is referencing GNU grep's kwset.c, and includes a link to kwset.c in his article.
The original algorithm from Mike Haertel's original kwset.c is still being used, and GNU grep has not switched to the regexp library.
| null | 0 | 1318290996 | False | 0 | c2qfk65 | t3_l6xnp | null | t1_c2qfk65 | t1_c2qbokl | null | 1427713492 | 1 | t5_2fwo | null | null | null |
True | eaturbrainz | null | >technically Haskell's type system is not sound
You mean due to unsafePerformIO or *what?* | null | 0 | 1318291082 | False | 0 | c2qfkkw | t3_l6uwv | null | t1_c2qfkkw | t1_c2q9szn | null | 1427713497 | 1 | t5_2fwo | null | null | null |
True | jcitme | null | Stick with it. | null | 0 | 1318291127 | False | 0 | c2qfksn | t3_l7gl3 | null | t1_c2qfksn | t1_c2qfik9 | null | 1427713501 | 7 | t5_2fwo | null | null | null |
True | eaturbrainz | null | Scala technically has null pointers, but never, ever uses them. *All* the standard libraries pass around Option[T]. | null | 0 | 1318291131 | False | 0 | c2qfktf | t3_l6uwv | null | t1_c2qfktf | t1_c2qdzn2 | null | 1427713501 | 3 | t5_2fwo | null | null | null |
True | toaster99 | null | Greatly. If it was up to me I would not go to this university, it is absolutely horrible (only reason I'm here is because I get free tuition). Thankfully I've been programming for years before I came here, and have already been offered a few internships and currently have a job programming. I know a lot of grads from o... | null | 0 | 1318291310 | False | 0 | c2qflon | t3_l6dcp | null | t1_c2qflon | t1_c2qfch4 | null | 1427713513 | 1 | t5_2fwo | null | null | null |
True | ssylvan | null | Most language designers who allowed it acknowledge that it was a mistake in retrospect, so it's somewhat dangerous to just look at precedent for this. You'll end up not only adhering to industry standard practice for the good stuff, but copy some of the mistakes as well. | null | 0 | 1318291375 | False | 0 | c2qfm00 | t3_l6uwv | null | t1_c2qfm00 | t1_c2qbiub | null | 1427713517 | 14 | t5_2fwo | null | null | null |
True | eaturbrainz | null | Well that's nice, it's a good ideal, but it's also terminally stupid. Type systems are conservative/pessimistic by nature due to Rice's Theorem: there will always exist some semantically valid program that can't be typed. You can *never*, therefore, completely separate a type system from semantics, because you always... | null | 0 | 1318291416 | False | 0 | c2qfm6v | t3_l6uwv | null | t1_c2qfm6v | t1_c2qaxhr | null | 1427713519 | 2 | t5_2fwo | null | null | null |
True | poo_22 | null | I like not having to define types in Python so why is dart different? | null | 0 | 1318291518 | False | 0 | c2qfmn2 | t3_l6uwv | null | t1_c2qfmn2 | t1_c2qbx9m | null | 1427713525 | 3 | t5_2fwo | null | null | null |
True | amaranth1 | null | Wow, just checked out Magpie and I am very intrigued. I'll have to give it and Dart a thorough look-over. | null | 0 | 1318291620 | False | 0 | c2qfn3q | t3_l6uwv | null | t1_c2qfn3q | t1_c2q9qwa | null | 1427713531 | 1 | t5_2fwo | null | null | null |
True | NoMoreNicksLeft | null | Is it? I applaud attempts to make medicine scientifically detached... and yet they seem to treat the patients like they're human beings even as they treat the diseases as problems to be solved.
Why is it medicine can separate sickness from the sick, and yet managerial science can't separate work from the worker? | null | 0 | 1318291674 | False | 0 | c2qfnce | t3_l6m5r | null | t1_c2qfnce | t1_c2qdtgh | null | 1427713534 | 3 | t5_2fwo | null | null | null |
True | gtechIII | null | This is fantastic advice, only I would like to add that it is the people you describe: innovators with social skills and a broad range of expertise that are charged with changing the current system. | null | 0 | 1318291699 | False | 0 | c2qfngd | t3_l6m5r | null | t1_c2qfngd | t1_c2q8yxo | null | 1427713536 | 1 | t5_2fwo | null | null | null |
True | eaturbrainz | null | No, that's MSR you're thinking of. Frankly, they had a good design with C# because they bought off the man behind Delphi. | null | 0 | 1318291826 | False | 0 | c2qfo3b | t3_l6uwv | null | t1_c2qfo3b | t1_c2qcoh8 | null | 1427713544 | 1 | t5_2fwo | null | null | null |
True | robinhouston | null | Ah, I’m sorry. I think I jumped to an incorrect conclusion here.
I pasted the NUL character into the text field in my web browser (Safari 5.1), and the result came back blank, so I assumed this was happening at your end. In fact it looks as though the NUL is causing Safari to treat the text box as if it were empty, an... | null | 0 | 1318291839 | False | 0 | c2qfo5p | t3_l7bjb | null | t1_c2qfo5p | t1_c2qfgmv | null | 1427713544 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | We get it, you love types, this is not the language you're looking for. Stick with Haskell or another language that actually has that as a goal. | null | 0 | 1318291855 | False | 0 | c2qfo8b | t3_l6uwv | null | t1_c2qfo8b | t1_c2qbx9m | null | 1427713545 | -2 | t5_2fwo | null | null | null |
True | godofpumpkins | null | So if I make a generic type that has a type parameter and has a member with a function from that type parameter, who wins? Will the parameter be covariant or contravariant?
Something like `data Predicate a = Predicate (a -> Bool)` | null | 0 | 1318291862 | False | 0 | c2qfo9o | t3_l6uwv | null | t1_c2qfo9o | t1_c2q9kfp | null | 1427713545 | 1 | t5_2fwo | null | null | null |
True | eaturbrainz | null | I certainly don't want to be an employee, but nobody pays for independent PL hacking. | null | 0 | 1318291997 | False | 0 | c2qfovp | t3_l6m5r | null | t1_c2qfovp | t3_l6m5r | null | 1427713553 | 1 | t5_2fwo | null | null | null |
True | drb226 | null | There are a couple ways I could imagine resolving that, the simplest being to agressively assume a union type.
var a = 1;
foo() => a = 's';
// from now on a has type "Int or String"
Since you can't invoke "foo" prior to its definition, this should work out OK. Not saying it's a good idea, but it could ... | null | 0 | 1318292046 | False | 0 | c2qfp4f | t3_l6uwv | null | t1_c2qfp4f | t1_c2qe8h1 | null | 1427713556 | 1 | t5_2fwo | null | null | null |
True | piranha | null | That's true, there often are in DST transitions. But if the user intended to express a time in User Time/Civil Time, then in those cases of ambiguity you'll have to choose one over the other anyway during the conversion to UTC (or have the user choose). I generally advocate storing time information in a format most e... | null | 0 | 1318292087 | False | 0 | c2qfpce | t3_l6v4t | null | t1_c2qfpce | t1_c2q9x7f | null | 1427713560 | 1 | t5_2fwo | null | null | null |
True | drb226 | null | But what makes it better than, say, Node.js? Not saying Node.js is that great, but what would make Dart any better? | null | 0 | 1318292145 | False | 0 | c2qfpm8 | t3_l6uwv | null | t1_c2qfpm8 | t1_c2qeeiz | null | 1427713564 | -2 | t5_2fwo | null | null | null |
True | NruJaC | null | Why? | null | 0 | 1318292192 | False | 0 | c2qfptk | t3_l6uwv | null | t1_c2qfptk | t1_c2qf8eg | null | 1427713565 | 1 | t5_2fwo | null | null | null |
True | high9 | null | http://canyouxssthis.com/HTMLSanitizer/source.jsp | null | 0 | 1318292207 | False | 0 | c2qfpw5 | t3_l7bjb | null | t1_c2qfpw5 | t1_c2qffeh | null | 1427713567 | 2 | t5_2fwo | null | null | null |
True | shillbert | null | "Oh, and dereferencing a null pointer in this version launches nuclear warheads. Don't tell anyone."
EDIT:
Even better, "We added `#define true false` to all standard headers. This should weed out the 99% of programmers who can't debug their way out a paper bag, creating a glorious C++ master race." | null | 0 | 1318292232 | True | 0 | c2qfq0l | t3_l7gl3 | null | t1_c2qfq0l | t1_c2qeppk | null | 1427713568 | 79 | t5_2fwo | null | null | null |
True | tootie | null | I think Alan Kay gave the defining feature of OO as late binding. Something also achieved with functional programming. | null | 0 | 1318292252 | False | 0 | c2qfq3n | t3_l765i | null | t1_c2qfq3n | t1_c2qfc5y | null | 1427713569 | 2 | t5_2fwo | null | null | null |
True | pigeon768 | null | Many NES games that need random numbers use player input to seed the RNG state every single frame.
Think about it - what else on a NES are you going to use as an entropy source? There's no hard disk seeks. There's no network. There's no OS. There's only one processor. There's only one thread. The NES is about as deter... | null | 0 | 1318292264 | False | 0 | c2qfq4q | t3_l77q2 | null | t1_c2qfq4q | t1_c2qdmpy | null | 1427713569 | 6 | t5_2fwo | null | null | null |
True | piranha | null | Unless the user entered the time in TAI, then they didn't express an absolute point in time. =) (Local time or UTC cannot be converted to TAI, the monotonic and constantly-increasing timescale, when the source timestamp is in the future. Leap seconds.)
But generally it comes down to making it clear to the user whet... | null | 0 | 1318292275 | False | 0 | c2qfq80 | t3_l6v4t | null | t1_c2qfq80 | t1_c2q9uw0 | null | 1427713571 | 1 | t5_2fwo | null | null | null |
True | drb226 | null | JavaScript has ugly syntax for classes, but it does have classes. Coffeescript remedies the ugliness of it. The type annotations look nice, but in the end, they are basically thrown away.
I want to like Dart but am not seeing convincing reasons to like it any more than JavaScript. | null | 0 | 1318292295 | False | 0 | c2qfqbj | t3_l6uwv | null | t1_c2qfqbj | t1_c2qdihz | null | 1427713572 | 0 | t5_2fwo | null | null | null |
True | dharmatech | null | Nah, it wasn't anything polished or released.
There are many object systems for Scheme. Some are based on message passing, others like TinyCLOS feature multi-methods. I'd started with a message passing one. The eureka happened when I realized that nothing was stopping me from hacking the multi-methods from the second ... | null | 0 | 1318292452 | False | 0 | c2qfr29 | t3_l6uwv | null | t1_c2qfr29 | t1_c2qfcqk | null | 1427713582 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't think languages with complex type systems "get things right." There is a big downside to such type systems in terms of the complexity of the language and the ease of defining the semantics of the language concisely. There are upsides too, of course, but they're not a clear win, just a different point in the des... | null | 0 | 1318292504 | False | 0 | c2qfrb4 | t3_l6uwv | null | t1_c2qfrb4 | t1_c2qfptk | null | 1427713585 | 1 | t5_2fwo | null | null | null |
True | Digital_Addict | null | If you're just learning it won't really matter. All the basic stuff shouldn't change. | null | 0 | 1318292511 | False | 0 | c2qfrc7 | t3_l7gl3 | null | t1_c2qfrc7 | t1_c2qfik9 | null | 1427713586 | 24 | t5_2fwo | null | null | null |
True | piranha | null | What is it about my comment that suggests that idea? I'm saying that, with the current, often-bad state of affairs of time libraries, you have to pay attention to a lot of detail to know whether the time library does the right thing. | null | 0 | 1318292526 | False | 0 | c2qfreg | t3_l6v4t | null | t1_c2qfreg | t1_c2q9wur | null | 1427713587 | 1 | t5_2fwo | null | null | null |
True | _georgesim_ | null | I wouldn't say it's silly syntax. It's just syntax that was thought for systems writing and efficiency, as you pointed out. Knowing the context, it would be silly to call Java's semantics silly for embedded systems programming, for example. | null | 0 | 1318292736 | False | 0 | c2qfset | t3_l4p6z | null | t1_c2qfset | t1_c2pusdg | null | 1427713600 | 1 | t5_2fwo | null | null | null |
True | scgtrp | null | I haven't managed to XSS it, but I should note that whatever you're using to highlight your code [here](http://canyouxssthis.com/HTMLSanitizer/source.jsp) seems to be trying to close template instantiations as if they were HTML tags. | null | 0 | 1318292842 | False | 0 | c2qfsxc | t3_l7bjb | null | t1_c2qfsxc | t3_l7bjb | null | 1427713607 | 3 | t5_2fwo | null | null | null |
True | jack21245 | null | *** Great! ***
So, we got a new language.
1) BUT, we got a new language that will replace JS? I think that's a bold statement to make from such a company, and there's surely a reason for that. The thing is, you're basically saying, no matter what u know/want/believe/etc we know better than any of you, and "we will ma... | null | 0 | 1318292883 | False | 0 | c2qft4u | t3_l6uwv | null | t1_c2qft4u | t3_l6uwv | null | 1427713609 | 3 | t5_2fwo | null | null | null |
True | notSorella | null | Well, the language's particular implementation of prototypical OO is indeed terrible. Or rather, was terrible until ES5. With ES5 it's just bad ;3
None the less, I still attribute the particular mess you described to the lack of standards. Lisp is a likewise flexible language — actually, make it a ton more flexible th... | null | 0 | 1318292924 | False | 0 | c2qftcm | t3_l765i | null | t1_c2qftcm | t1_c2qfif9 | null | 1427713612 | 1 | t5_2fwo | null | null | null |
True | _georgesim_ | null | You're not thinking low-level. That goto is a costly branch for the instruction pipeline. I'm not saying this is relevant for most of the code that's done in C today, but it is in this context that C was designed to perform. | null | 0 | 1318292998 | False | 0 | c2qftpr | t3_l4p6z | null | t1_c2qftpr | t1_c2pytht | null | 1427713617 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318293161 | False | 0 | c2qfuip | t3_l7bjb | null | t1_c2qfuip | t1_c2qdrdl | null | 1427713627 | 1 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | Duck-typed browser detection ftw. | null | 0 | 1318293229 | False | 0 | c2qfuun | t3_l6uwv | null | t1_c2qfuun | t1_c2qdhtc | null | 1427713632 | 1 | t5_2fwo | null | null | null |
True | _georgesim_ | null | The mod function is defined as:
x mod y = x - y*floor(x/y)
If you substitute x with -8 and y with 3, and use the identity floor(-x) = -ceiling(x), you will see that -8 mod 3 = 1. | null | 0 | 1318293269 | False | 0 | c2qfv1w | t3_l4p6z | null | t1_c2qfv1w | t1_c2q5l3f | null | 1427713634 | 2 | t5_2fwo | null | null | null |
True | _georgesim_ | null | Our production environment is almost entirely based on GCC 2.96 ಠ_ಠ | null | 0 | 1318293428 | False | 0 | c2qfvtw | t3_l4p6z | null | t1_c2qfvtw | t1_c2px0ca | null | 1427713644 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I have a feeling, if software patents are still around 20 years from now everything will be "screwed" anyway. | null | 0 | 1318293446 | False | 0 | c2qfvxa | t3_l6uwv | null | t1_c2qfvxa | t1_c2qevl5 | null | 1427713645 | 2 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | Completely interchangeable? No difference in escapes? | null | 0 | 1318293449 | False | 0 | c2qfvxs | t3_l6uwv | null | t1_c2qfvxs | t1_c2qe8r9 | null | 1427713645 | 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.