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 | ethraax | null | That's just not true though - any optimizer worth its salt will optimize "jump to next instruction" out completely. | null | 0 | 1318293513 | False | 0 | c2qfw93 | t3_l4p6z | null | t1_c2qfw93 | t1_c2qftpr | null | 1427713650 | 1 | t5_2fwo | null | null | null |
True | s73v3r | null | Again, you're gonna have to spend a significant amount of your own money getting started before investors will even look at you. | null | 0 | 1318293528 | False | 0 | c2qfwc3 | t3_l6m5r | null | t1_c2qfwc3 | t1_c2qesi0 | null | 1427713652 | 0 | t5_2fwo | null | null | null |
True | _georgesim_ | null | If it's a RISC architecture, it's probably at least as fast to simply do a shift. | null | 0 | 1318293530 | False | 0 | c2qfwcl | t3_l4p6z | null | t1_c2qfwcl | t1_c2ps6ft | null | 1427713652 | 1 | t5_2fwo | null | null | null |
True | DownhillReddit | null | Considering creating an account requires all but three seconds, don't sound so surprised. I have 17 accounts including this one that I either plan on cultivating in the future or actively use.
It being a joke does not change the fact that it's a bullshit comment that goes against reddiquette and the general quality of... | null | 0 | 1318293592 | False | 0 | c2qfwnd | t3_l3ct9 | null | t1_c2qfwnd | t1_c2q001f | null | 1427713655 | 2 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | Do you like Python's use of `global`, then? | null | 0 | 1318293660 | False | 0 | c2qfwys | t3_l6uwv | null | t1_c2qfwys | t1_c2qeqwm | null | 1427713659 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318293835 | True | 0 | c2qfxtu | t3_l6yn1 | null | t1_c2qfxtu | t3_l6yn1 | null | 1427713671 | 1 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | [DRY](http://en.wikipedia.org/wiki/Don%27t_repeat_yourself) | null | 0 | 1318293978 | False | 0 | c2qfyjg | t3_l6uwv | null | t1_c2qfyjg | t1_c2qf5sw | null | 1427713680 | 3 | t5_2fwo | null | null | null |
True | generic_0 | null | >And "functional" any language that provides first-class functions and closures -- even though functional implies purity/data immutability.
To be fair, insisting on this distinction is so pedantic that it renders almost every language non-functional. Just like insisting that anything with less than Smalltalk-level... | null | 0 | 1318294000 | False | 0 | c2qfyn2 | t3_l765i | null | t1_c2qfyn2 | t1_c2qfh56 | null | 1427713681 | 4 | t5_2fwo | null | null | null |
True | _georgesim_ | null | Interesting, could you tell us what you find so flawed about C++? | null | 0 | 1318294037 | False | 0 | c2qfyts | t3_l4p6z | null | t1_c2qfyts | t1_c2psyvd | null | 1427713684 | 1 | t5_2fwo | null | null | null |
True | meltingice | null | If this is the case, would you recommend most web developers wait until the project is at a more stable development stage? If there may be changes to the class or inheritance system, then it might be too early for production use of any kind since thats not really a small change to make. | null | 0 | 1318294083 | False | 0 | c2qfz2d | t3_l6uwv | null | t1_c2qfz2d | t1_c2qe4yw | null | 1427713687 | 2 | t5_2fwo | null | null | null |
True | Ventajou | null | I agree 200%! If there is finally a push to replace JS with something better, then let's not stop half way through. Google can always implement Dart atop a byte code VM while others implement compilers for C++, c#, JS or whatnot and leverage their existing skills instead of starting from scratch.
The .NET CLR may not ... | null | 0 | 1318294199 | False | 0 | c2qfzn4 | t3_l6uwv | null | t1_c2qfzn4 | t1_c2qbmth | null | 1427713695 | 3 | t5_2fwo | null | null | null |
True | read_it_jr | null | You aren't using HTMLPurifier. Therefore: Broken. | null | 0 | 1318294384 | False | 0 | c2qg0j3 | t3_l7bjb | null | t1_c2qg0j3 | t3_l7bjb | null | 1427713707 | -23 | t5_2fwo | null | null | null |
True | gobliin | null | And I use Emacs in dired-mode to browse my image files, but I wouldn't call it an image-viewer. | null | 0 | 1318294445 | False | 0 | c2qg0u3 | t3_l6xnp | null | t1_c2qg0u3 | t1_c2qerbs | null | 1427713710 | 2 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | Dart is designed to be run in both the frontend and backend.
If they implemented native Python interpretation in Chrome... well, so what? No one could use it unless they only targeted Chrome users. Microsoft kinda tried to do this with Silverlight/IronPython, but it's not cross-platform enough to be of use. | null | 0 | 1318294573 | False | 0 | c2qg1hh | t3_l6uwv | null | t1_c2qg1hh | t1_c2qf6ji | null | 1427713718 | 2 | t5_2fwo | null | null | null |
True | xiongchiamiov | null | And only run (reliably) on Windows. ;) | null | 0 | 1318294620 | False | 0 | c2qg1q9 | t3_l6uwv | null | t1_c2qg1q9 | t1_c2qcoh8 | null | 1427713722 | 0 | t5_2fwo | null | null | null |
True | ordinary_van | null | Then I have to go and fix ***your code*** which makes me want to punch a puppy. And I love puppies! | null | 0 | 1318294666 | False | 0 | c2qg1yk | t3_l765i | null | t1_c2qg1yk | t1_c2qdgxf | null | 1427713725 | 3 | t5_2fwo | null | null | null |
True | ordinary_van | null | SharkUW = {
votes : -4,
downvote : function(){
return (this.votes = this.votes - 1);
},
upvote : function(){
return false;
}
} | null | 0 | 1318294777 | True | 0 | c2qg2hl | t3_l765i | null | t1_c2qg2hl | t1_c2qdgxf | null | 1427713731 | 0 | t5_2fwo | null | null | null |
True | mikesamuel | null | Is there a particular security property which HTMLPurifier preserves which HTMLSanitizer does not, or a safe snippet of HTML where HTMLPurifier preserves the semantics better than HTMLSanitizer? | null | 0 | 1318294827 | False | 0 | c2qg2pu | t3_l7bjb | null | t1_c2qg2pu | t1_c2qg0j3 | null | 1427713734 | 14 | t5_2fwo | null | null | null |
True | atrilumen | null | Maybe not. But I bet [this guy](http://www.youtube.com/watch?v=Bj7LfR5Ee2c) can. | null | 0 | 1318294848 | False | 0 | c2qg2t3 | t3_l7bjb | null | t1_c2qg2t3 | t3_l7bjb | null | 1427713736 | 33 | t5_2fwo | null | null | null |
True | [deleted] | null | Wow, we really take a lot of things for granted nowadays. | null | 0 | 1318294919 | False | 0 | c2qg368 | t3_l6xnp | null | t1_c2qg368 | t1_c2qczz1 | null | 1427713740 | 7 | t5_2fwo | null | null | null |
True | mikesamuel | null | Thanks for pointing that out. If you're interested, I believe that is derived from http://code.google.com/p/owasp-java-html-sanitizer/source/browse/trunk/src/main/org/owasp/html/examples/EbayPolicyExample.java | null | 0 | 1318294961 | False | 0 | c2qg3cy | t3_l7bjb | null | t1_c2qg3cy | t1_c2qfsxc | null | 1427713743 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I like them both for different reasons. I can make personal connections with intelligent life forms over on G+, much more easily than here. Also, since most people are using their real names over there, they seem to be more polite and everyone just seems more personable.
While there are many intelligent, personable an... | null | 0 | 1318294990 | False | 0 | c2qg3i3 | t3_l6uwv | null | t1_c2qg3i3 | t1_c2qeieo | null | 1427713745 | 1 | t5_2fwo | null | null | null |
True | MatrixFrog | null | Or click the star on http://code.google.com/p/dart/issues/detail?id=22 :) | null | 0 | 1318295016 | False | 0 | c2qg3my | t3_l6uwv | null | t1_c2qg3my | t1_c2qbiub | null | 1427713746 | 6 | t5_2fwo | null | null | null |
True | mikesamuel | null | The thing I am trying to harden is just a function that takes a string of untrusted HTML and is supposed to produce a string of "safe" HTML. The web server that is hosting the testbed is entirely incidental. | null | 0 | 1318295077 | False | 0 | c2qg3ut | t3_l7bjb | null | t1_c2qg3ut | t1_c2qfac2 | null | 1427713749 | 2 | t5_2fwo | null | null | null |
True | emailbitesmyass | null | plural is minutiae. :) | null | 0 | 1318295215 | False | 0 | c2qg4o1 | t3_l6yn1 | null | t1_c2qg4o1 | t1_c2qcngj | null | 1427713760 | 3 | t5_2fwo | null | null | null |
True | vicevirtue | null | I keep hearing the 20% project is a myth or an exception - how common (anecdotally) are 20% projects? | null | 0 | 1318295294 | False | 0 | c2qg50f | t3_l6uwv | null | t1_c2qg50f | t1_c2qbega | null | 1427713764 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I just sent a null byte using tamper data and it outputs %00 | null | 0 | 1318295328 | False | 0 | c2qg55v | t3_l7bjb | null | t1_c2qg55v | t1_c2qfo5p | null | 1427713766 | 1 | t5_2fwo | null | null | null |
True | mikesamuel | null | Thanks. | null | 0 | 1318295358 | False | 0 | c2qg5bx | t3_l7bjb | null | t1_c2qg5bx | t1_c2qfpw5 | null | 1427713768 | 2 | t5_2fwo | null | null | null |
True | willikins_bear | null | This caused Chrome (ver. 11.0.696.68) to crash with no extensions. Not only did it crash the tab that was open (HTMLSanitizer/index.jsp), but it also crashed another tab (HTMLSanitizer/source.jsp) I had open at the same time. | null | 0 | 1318295405 | False | 0 | c2qg5k4 | t3_l7bjb | null | t1_c2qg5k4 | t1_c2qedes | null | 1427713771 | 2 | t5_2fwo | null | null | null |
True | mikesamuel | null | no problem. NUL bytes are definitely a sharp edge worth checking. | null | 0 | 1318295409 | False | 0 | c2qg5kx | t3_l7bjb | null | t1_c2qg5kx | t1_c2qfo5p | null | 1427713771 | 1 | t5_2fwo | null | null | null |
True | spaceyraygun | null | was the the voice of michael kidblount? | null | 0 | 1318295570 | False | 0 | c2qg6d0 | t3_l7bjb | null | t1_c2qg6d0 | t1_c2qg2t3 | null | 1427713783 | 2 | t5_2fwo | null | null | null |
True | julesjacobs | null | I'll guess, but I know almost nothing about type theory.
Introduce a type variable for every expression in the program. Now you can build a graph that represents the subtyping relationship between type variables. For example for function application you can generate the following:
type variables:
f : a ->... | null | 0 | 1318295587 | False | 0 | c2qg6g2 | t3_l6uwv | null | t1_c2qg6g2 | t1_c2qestr | null | 1427713784 | 1 | t5_2fwo | null | null | null |
True | HazzyPls | null | If you're learning on your own time, I imagine looking at what's new would be important.
If you're learning from some sort of class or other measure, stick with what they use. | null | 0 | 1318295614 | False | 0 | c2qg6kg | t3_l7gl3 | null | t1_c2qg6kg | t1_c2qfik9 | null | 1427713785 | 1 | t5_2fwo | null | null | null |
True | ICanSayWhatIWantTo | null | Commit size is less important than ensuring each commit is a self-contained unit (especially if you ever want to be able to bisect), so it's not always that simple.
Sometimes I go to add a new feature, and realize somewhere along the way that I need to do some minor refactoring in order to support it. Instead of toss... | null | 0 | 1318295695 | False | 0 | c2qg6yt | t3_l780w | null | t1_c2qg6yt | t1_c2qfbyo | null | 1427713789 | 10 | t5_2fwo | null | null | null |
True | sedaak | null | Obviously not a businessman... | null | 0 | 1318295704 | False | 0 | c2qg707 | t3_l6m5r | null | t1_c2qg707 | t1_c2qfwc3 | null | 1427713791 | 0 | t5_2fwo | null | null | null |
True | karper | null | Two fictitious characters are presented. One is smart, confident and well-informed. The other is dumb, over-confident and ill-informed. It's quite telling which one you reserved your contempt for. And I'm not even ringing you up for the implicit sexism of your comment at this point!
It's equally deplorable that this i... | null | 0 | 1318295795 | False | 0 | c2qg7gr | t3_l6yn1 | null | t1_c2qg7gr | t1_c2qbkur | null | 1427713797 | 2 | t5_2fwo | null | null | null |
True | EntroperZero | null | It seems like all you would really need, though, is one seed, and a PRNG that doesn't repeat often. Precisely because the amount of entropy is limited, you don't want to have to rely on it every frame. | null | 0 | 1318295819 | False | 0 | c2qg7l2 | t3_l77q2 | null | t1_c2qg7l2 | t1_c2qfq4q | null | 1427713798 | 3 | t5_2fwo | null | null | null |
True | brulez | null | I don't think it should be dismissed that quickly. When debugging it's quite useful to know about how frames work, vtables, etc.
Some of the stuff is also not straightforward to google for. For example, the a=a++; I didn't know that was an undefined operation and while I would recognize it as bad code, it wouldn'... | null | 0 | 1318295859 | False | 0 | c2qg7rm | t3_l6yn1 | null | t1_c2qg7rm | t1_c2qcps0 | null | 1427713802 | 5 | t5_2fwo | null | null | null |
True | mikesamuel | null | I guess I should give up this computer security career because if he ever figures out how to copy text from that black box we're doomed. | null | 0 | 1318295929 | False | 0 | c2qg83x | t3_l7bjb | null | t1_c2qg83x | t1_c2qg2t3 | null | 1427713806 | 20 | t5_2fwo | null | null | null |
True | Freeky | null | BSD has `select` - it's part of POSIX.1, and originated in the BSD socket implementation. `kqueue`, like `epoll` and `/dev/poll`, is designed to scale better - `select` is O(n), requiring a scan through each fd each call, while these newer APIs scale O(1), performing similarly if you have 10 or 10,000 fd's to monitor. | null | 0 | 1318295969 | False | 0 | c2qg8bk | t3_l6j3g | null | t1_c2qg8bk | t1_c2qcmhz | null | 1427713811 | 1 | t5_2fwo | null | null | null |
True | UnpopularStatment | null | Picking and choosing isn't so easy when we're talking about something that wants to become The One Language.
You guys think you hate Javascript? You're lucky Microsoft didn't get a bigger headstart in the 90s or we'd all be writing VBScript. | null | 0 | 1318296005 | False | 0 | c2qg8hx | t3_l6uwv | null | t1_c2qg8hx | t1_c2qfo8b | null | 1427713811 | 4 | t5_2fwo | null | null | null |
True | bichiliad | null | Oh god, I just lost brain cells. | null | 0 | 1318296114 | False | 0 | c2qg92c | t3_l7bjb | null | t1_c2qg92c | t1_c2qg2t3 | null | 1427713818 | 7 | t5_2fwo | null | null | null |
True | munificent | null | It is definitely *not* ready for production use. But if you like new languages and want to explore it, you're certainly welcome to try it out. | null | 0 | 1318296153 | False | 0 | c2qg99b | t3_l6uwv | null | t1_c2qg99b | t1_c2qfz2d | null | 1427713820 | 4 | t5_2fwo | null | null | null |
True | bichiliad | null | That's hardly constructive. -_- | null | 0 | 1318296162 | False | 0 | c2qg9b6 | t3_l7bjb | null | t1_c2qg9b6 | t1_c2qg0j3 | null | 1427713821 | 10 | t5_2fwo | null | null | null |
True | munificent | null | If there is a difference, it's just that `"` needs escaping in double-quoted strings and `'` needs escaping in single-quoted ones. I think that's it. | null | 0 | 1318296190 | False | 0 | c2qg9gf | t3_l6uwv | null | t1_c2qg9gf | t1_c2qfvxs | null | 1427713825 | 2 | t5_2fwo | null | null | null |
True | ordinary_van | null | Edit: Forgot a bracket. (Murhpy's Law) | null | 0 | 1318296193 | False | 0 | c2qg9gx | t3_l765i | null | t1_c2qg9gx | t1_c2qg2hl | null | 1427713825 | 2 | t5_2fwo | null | null | null |
True | shantm79 | null | I'd be curious to see if i can break it using a commercial, application scanner. will try tomorrow. | null | 0 | 1318296299 | False | 0 | c2qga0h | t3_l7bjb | null | t1_c2qga0h | t3_l7bjb | null | 1427713831 | 2 | t5_2fwo | null | null | null |
True | burdalane | null | This article doesn't belong in the programming subreddit. Nevertheless, it's a good article.
I have the problem of seeing only the destination and not enjoying the journey. My goals consist of having lots of money and not working. I don't have a vision of how to get there, except to hope that my father makes enough mo... | null | 0 | 1318296427 | False | 0 | c2qganf | t3_l5hlq | null | t1_c2qganf | t3_l5hlq | null | 1427713839 | 2 | t5_2fwo | null | null | null |
True | meltingice | null | Cool, good to know. I like the idea of getting it to compile to bytecode to run on the JVM. Would love to use it as a more dekstop-oriented language. I would use it over Java or Scala any day. Javascript might take more convincing, especially with the likes of Coffeescript and it's beautiful syntax. | null | 0 | 1318296447 | False | 0 | c2qgar2 | t3_l6uwv | null | t1_c2qgar2 | t1_c2qg99b | null | 1427713840 | 1 | t5_2fwo | null | null | null |
True | MatrixFrog | null | http://code.google.com/p/dart/issues/detail?id=34 | null | 0 | 1318296532 | False | 0 | c2qgb59 | t3_l6uwv | null | t1_c2qgb59 | t1_c2qfgzs | null | 1427713845 | 1 | t5_2fwo | null | null | null |
True | reverend_bedford | null | My adviser wrote his thesis code entirely with ed. Back in the day, it was a text editor. | null | 0 | 1318296741 | False | 0 | c2qgcej | t3_l6xnp | null | t1_c2qgcej | t1_c2qcna5 | null | 1427713861 | 1 | t5_2fwo | null | null | null |
True | wh44 | null | > This kind of knowledge isn't only useful when writing code, it's invaluable while debugging.
I agree that it can be really useful in debugging, however you are contradicting kdorf's point (and I agree with kdorf here): it isn't really useful in writing code. | null | 0 | 1318296749 | False | 0 | c2qgcga | t3_l6yn1 | null | t1_c2qgcga | t1_c2qd4r9 | null | 1427713862 | 0 | t5_2fwo | null | null | null |
True | seydar | null | What's the "shark" program he mentions? | null | 0 | 1318297052 | False | 0 | c2qgdzg | t3_l6xnp | null | t1_c2qgdzg | t3_l6xnp | null | 1427713881 | 1 | t5_2fwo | null | null | null |
True | SharkUW | null | You also don't know what a prefix operator is. | null | 0 | 1318297100 | False | 0 | c2qge7s | t3_l765i | null | t1_c2qge7s | t1_c2qg9gx | null | 1427713885 | 2 | t5_2fwo | null | null | null |
True | mikesamuel | null | Great. I look forward to hearing about it. If it looks like it'll be easier to point the scanner at a java app you run locally, let me know and I can help you set it up. | null | 0 | 1318297144 | False | 0 | c2qgegg | t3_l7bjb | null | t1_c2qgegg | t1_c2qga0h | null | 1427713888 | 1 | t5_2fwo | null | null | null |
True | smhxx | null | Doesn't support HTML5 at all, even semantic elements. Probably a fringe case, since I wouldn't expect users to be entering any <header>s or <section>s into a field that needs to be sanitized... just something to consider, though. | null | 0 | 1318297165 | False | 0 | c2qgekm | t3_l7bjb | null | t1_c2qgekm | t3_l7bjb | null | 1427713890 | 2 | t5_2fwo | null | null | null |
True | mikesamuel | null | That's odd. It should probably elide the NUL, reflect it, or convert it to U+FFFD since that's what most HTML5 states do except, strangely, the [data state](http://www.w3.org/TR/html5/tokenization.html#data-state).
How does tamperdata structure the request? | null | 0 | 1318297346 | False | 0 | c2qgfi3 | t3_l7bjb | null | t1_c2qgfi3 | t1_c2qg55v | null | 1427713902 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I learned C++ back in 1994 (as a hobby) and never really paid attention to updated standards. Almost looks like I have a new language to learn. :P | null | 0 | 1318297477 | False | 0 | c2qgg7n | t3_l7gl3 | null | t1_c2qgg7n | t3_l7gl3 | null | 1427713911 | 8 | t5_2fwo | null | null | null |
True | rcinsf | null | Java is the 'newer' language they're comparing themselves against. They must not have left the room after finishing the 98 spec. | null | 0 | 1318297510 | False | 0 | c2qgget | t3_l7gl3 | null | t1_c2qgget | t3_l7gl3 | null | 1427713914 | 17 | t5_2fwo | null | null | null |
True | mikesamuel | null | Good point. That's because the configuration for this particular review was based on an AntiSAMY policy which was devised before most of the recent work on HTML5 hit modern browsers.
I'll look into updating that configuration. | null | 0 | 1318297513 | True | 0 | c2qggfb | t3_l7bjb | null | t1_c2qggfb | t1_c2qgekm | null | 1427713914 | 1 | t5_2fwo | null | null | null |
True | lampshadish2 | null | Because it was made using LaTeX, an awesome tool for laying out text and mathematical symbols. It's a standard tool for this sort of thing. Suck it up. | null | 0 | 1318297520 | False | 0 | c2qgggl | t3_l6uwv | null | t1_c2qgggl | t1_c2q9f4w | null | 1427713914 | 0 | t5_2fwo | null | null | null |
True | MatrixFrog | null | Yes and no. Dart can (and is, if you look at munificent's comment showing `document.query`) use some parts of the DOM but not others. If you're creating a new language, you shouldn't carry the unfun parts of an old language along with you, any more than you have to. | null | 0 | 1318297563 | False | 0 | c2qggoa | t3_l6uwv | null | t1_c2qggoa | t1_c2qezs0 | null | 1427713917 | 2 | t5_2fwo | null | null | null |
True | MatrixFrog | null | > does not accept outside source code
I hope you're at least wrong about that, if nothing else. | null | 0 | 1318297643 | False | 0 | c2qgh4g | t3_l6uwv | null | t1_c2qgh4g | t1_c2qevl5 | null | 1427713923 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I didn't know Dart was aiming to be The One Language... | null | 0 | 1318297881 | False | 0 | c2qgie8 | t3_l6uwv | null | t1_c2qgie8 | t1_c2qg8hx | null | 1427713940 | 0 | t5_2fwo | null | null | null |
True | yxing | null | She learned me a thing or two. | null | 0 | 1318297896 | False | 0 | c2qgigm | t3_l6yn1 | null | t1_c2qgigm | t3_l6yn1 | null | 1427713940 | -1 | t5_2fwo | null | null | null |
True | MatrixFrog | null | It's worth noting that while Haskell has a rich type system, you *don't* have to declare the types of most variables. So "static typing, which means lots of tedious finger typing, OR dynamic typing, which means much less finger typing" is a false choice.
The way Dart does it, with "optional" typing is not something I'... | null | 0 | 1318297904 | False | 0 | c2qgiik | t3_l6uwv | null | t1_c2qgiik | t1_c2qf9wt | null | 1427713941 | 1 | t5_2fwo | null | null | null |
True | MatrixFrog | null | It's worth noting that while Haskell has a rich type system, you *don't* have to declare the types of most variables. So "static typing, which means lots of tedious finger typing, OR dynamic typing, which means much less finger typing" is a false choice.
The way Dart does it, with "optional" typing is not something I'... | null | 0 | 1318297924 | False | 0 | c2qgipd | t3_l6uwv | null | t1_c2qgipd | t1_c2qf9wt | null | 1427713944 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318297927 | False | 0 | c2qgipv | t3_l6uwv | null | t1_c2qgipv | t1_c2qbblj | null | 1427713944 | 1 | t5_2fwo | null | null | null |
True | Minimiscience | null | The hyperref package (which I believe is effectively standard) can generate PDFs with internal hyperlinking. So that's not an excuse for the poor usability. | null | 0 | 1318297976 | False | 0 | c2qgizu | t3_l6uwv | null | t1_c2qgizu | t1_c2qgggl | null | 1427713947 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't see why the statement termination can't be line-end *or* semicolon, a la ruby. Not sure what python's indentation has to do with semicolons at all really.
Semicolon marks an obvious end to a statement, but so does a line-break. | null | 0 | 1318297982 | False | 0 | c2qgj2d | t3_l6uwv | null | t1_c2qgj2d | t1_c2qgb59 | null | 1427713948 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | I didn't know Dart was aiming to be The One Language... | null | 0 | 1318297991 | False | 0 | c2qgj4p | t3_l6uwv | null | t1_c2qgj4p | t1_c2qg8hx | null | 1427713949 | 0 | t5_2fwo | null | null | null |
True | Contero | null | Thanks. The absurdity of your post made me laugh out loud, and I needed a good laugh. | null | 0 | 1318298051 | False | 0 | c2qgjex | t3_l7gl3 | null | t1_c2qgjex | t1_c2qeskr | null | 1427713954 | 15 | t5_2fwo | null | null | null |
True | kirakun | null | Or how to write code for job securities, assuming you slip through code reviews. ;) | null | 0 | 1318298114 | False | 0 | c2qgjrl | t3_l6yn1 | null | t1_c2qgjrl | t1_c2qcfkc | null | 1427713958 | 2 | t5_2fwo | null | null | null |
True | Ores | null | I agree. Git just needs more and better tools for splitting off these side commits. Git gui and rebase -i are pretty good, but they could be better. | null | 0 | 1318298146 | False | 0 | c2qgjzh | t3_l780w | null | t1_c2qgjzh | t1_c2qg6yt | null | 1427713960 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Having some understanding of what is happening is important, I agree. But it looked like the entire premise of the presentation was based on what happened when you coded *incorrectly*, which, as I mentioned, meant not being explicit about what you want to compiler to do.
Debugging means you have to fix bugs. In the ... | null | 0 | 1318298188 | False | 0 | c2qgk79 | t3_l6yn1 | null | t1_c2qgk79 | t1_c2qd4r9 | null | 1427713964 | 5 | t5_2fwo | null | null | null |
True | MatrixFrog | null | The idea of running the same language on both the client and the server is not new: With Google Web Toolkit, you write Java for both, then the client-side Java is "compiled" to JavaScript and runs on the client. With node.js, you write JavaScript for the server, and JavaScript for the client. [I don't know if this is a... | null | 0 | 1318298202 | False | 0 | c2qgk9v | t3_l6uwv | null | t1_c2qgk9v | t1_c2qf6ji | null | 1427713964 | 1 | t5_2fwo | null | null | null |
True | Ores | null | If you work on a project with other people, having logical small commits that are compilable at every stage allows:
* QA team to see exactly what has changed
* Other devs to have a better idea which commit may have introduced a regression
* Other devs to be able to audit commits without getting confused by unrelate... | null | 0 | 1318298290 | False | 0 | c2qgkqf | t3_l780w | null | t1_c2qgkqf | t1_c2qfa4d | null | 1427713970 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | Well, the thing about that is the code they presented was bad (i.e. not intuitive) code. I suppose you could argue that it is important to be able to read poor code since there are a lot of poor coders out there. | null | 0 | 1318298329 | False | 0 | c2qgkyg | t3_l6yn1 | null | t1_c2qgkyg | t1_c2qcyva | null | 1427713974 | 2 | t5_2fwo | null | null | null |
True | blackyoda | null | I tried "YOU ARE A CUNT" and it didn't work.
good job! | null | 0 | 1318298372 | False | 0 | c2qgl6t | t3_l7bjb | null | t1_c2qgl6t | t3_l7bjb | null | 1427713976 | -6 | t5_2fwo | null | null | null |
True | eganist | null | They were likely open in the same process. | null | 0 | 1318298525 | False | 0 | c2qgm1u | t3_l7bjb | null | t1_c2qgm1u | t1_c2qg5k4 | null | 1427713988 | 2 | t5_2fwo | null | null | null |
True | toyboat | null | Is there a name for this punctuation style? What is your opinion of it?
{ value: 'Mikhail'
, writable: true
, configurable: true
, enumerable: true } | null | 0 | 1318298527 | False | 0 | c2qgm2a | t3_l765i | null | t1_c2qgm2a | t3_l765i | null | 1427713988 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318298555 | False | 0 | c2qgm7b | t3_l48nw | null | t1_c2qgm7b | t1_c2q0pym | null | 1427713990 | 1 | t5_2fwo | null | null | null |
True | regul | null | Replace the female character with a male character and the comment would have been:
"What a pretentious prick."
Is that also implicit sexism? | null | 0 | 1318298564 | False | 0 | c2qgm90 | t3_l6yn1 | null | t1_c2qgm90 | t1_c2qg7gr | null | 1427713990 | 15 | t5_2fwo | null | null | null |
True | BobTurbo | null | I was going to say - well just leave num as an interface that cannot be instantiated and overload max (just so I don't have to put up with people doing var a = new num(), var a = new int() when they are both wanting to do the same thing), but then I read the documentation about interfaces and am a little confused:
int... | null | 0 | 1318298579 | False | 0 | c2qgmc0 | t3_l6uwv | null | t1_c2qgmc0 | t1_c2qbblj | null | 1427713992 | 1 | t5_2fwo | null | null | null |
True | zsakuL | null | Google's worst mistake for Google+ was cancelling Google Wave. Will they cancel Google+ the same way? I'll stick with Facebook. | null | 0 | 1318298606 | False | 0 | c2qgmgt | t3_l6uwv | null | t1_c2qgmgt | t1_c2qbvqu | null | 1427713993 | 2 | t5_2fwo | null | null | null |
True | MatrixFrog | null | I think that's kind of the point. It's clearly going to take a long time to run, so when it responds quickly(ish) it shows you how fast the language has the potential to be. | null | 0 | 1318298645 | False | 0 | c2qgmou | t3_l6uwv | null | t1_c2qgmou | t1_c2qbs6d | null | 1427713996 | 3 | t5_2fwo | null | null | null |
True | cybermind | null | Chrome doesn't actually put *all* tabs into separate processes, which is likely what happened there. | null | 0 | 1318298711 | False | 0 | c2qgn1o | t3_l7bjb | null | t1_c2qgn1o | t1_c2qg5k4 | null | 1427714001 | 2 | t5_2fwo | null | null | null |
True | MatrixFrog | null | I'm not really sure what I think Dart should do on this, but I know the way JavaScript does it is quite dangerous. The classic example being
function f(a, b) {
return
{
sum: a+b,
difference: a-b
};
} | null | 0 | 1318298824 | False | 0 | c2qgno5 | t3_l6uwv | null | t1_c2qgno5 | t1_c2qgj2d | null | 1427714009 | 1 | t5_2fwo | null | null | null |
True | aaronla | null | Thanks. :-)
Which leads me to: keep it to one kind of language lawyering at a time. If you know what the other person meant, skip ahead. Only point it out if it is relevant to matters at hand. | null | 0 | 1318298830 | False | 0 | c2qgnpr | t3_l6yn1 | null | t1_c2qgnpr | t1_c2qg4o1 | null | 1427714009 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | one of my previous companies definitely had the attitude of staff = livestock except they failed miserably to shielding us from politics and bureaucracy.
Morale would be desperately low, then some newly appointment middle manager (they chewed through them monthly) would call a meeting and announce to the team:
We kn... | null | 0 | 1318298837 | False | 0 | c2qgnr7 | t3_l6m5r | null | t1_c2qgnr7 | t1_c2qb0pp | null | 1427714010 | 5 | t5_2fwo | null | null | null |
True | rush22 | null | At my work we have some sort of HTML thing that's "compiled" Javascript. It's the worst thing I've ever seen.
I pity the poor guy who works on it: "Hey, it crashed again. Looks like 'zx' is not an Object in line #456, character 9837. Good fucking luck" | null | 0 | 1318298897 | True | 0 | c2qgo2l | t3_l765i | null | t1_c2qgo2l | t1_c2qewl9 | null | 1427714014 | 2 | t5_2fwo | null | null | null |
True | EpistemicFaithCrisis | null | > Even in supremely large generators, like the Mersenne Twister, the state can be determined and predicted after something like 630 pulls.
Mersenne Twister is large, but certainly not "supremely" so. The internal state can be determined after 623 numbers generated because that's how many words of internal state i... | null | 0 | 1318298916 | True | 0 | c2qgo6t | t3_l77q2 | null | t1_c2qgo6t | t1_c2qdmq7 | null | 1427714016 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | I have heard people call it "comma first" and generally the last curly brace would be on the next line.
The benefit is that you could comment out a single line without getting a syntax error and without editing the preceding line:
{
value: 'Mikhail'
// , writable: true
, configurabl... | null | 0 | 1318298960 | False | 0 | c2qgodk | t3_l765i | null | t1_c2qgodk | t1_c2qgm2a | null | 1427714018 | 3 | t5_2fwo | null | null | null |
True | fosskers | null | And sexy string manipulation! The C++ that never was! | null | 0 | 1318299103 | False | 0 | c2qgp6u | t3_l6uwv | null | t1_c2qgp6u | t1_c2qfcwx | null | 1427714029 | 0 | t5_2fwo | null | null | null |
True | mikesamuel | null | Ack. Thanks for testing.
It probably crashed both frames because I think frames that could possibly end up with the same value for `window.domain` are run in the same process so that JavaScript cross-frame calls don't require IPC. | null | 0 | 1318299146 | False | 0 | c2qgpf3 | t3_l7bjb | null | t1_c2qgpf3 | t1_c2qg5k4 | null | 1427714032 | 1 | t5_2fwo | null | null | null |
True | EpistemicFaithCrisis | null | God forbid we expose new programmers to anything they haven't seen before! | null | 0 | 1318299167 | False | 0 | c2qgpih | t3_l77q2 | null | t1_c2qgpih | t1_c2qf40z | null | 1427714033 | 3 | t5_2fwo | null | null | null |
True | EpistemicFaithCrisis | null | > Build Your Own Simple Random Numbers
No, please don't. There's absolutely no reason you should be implementing random number generation yourself, as opposed to using a quality, vetted library like Mersenne Twister or ISAAC. Mersenne Twister for simulations that no one will try to compromise, and ISAAC for cases... | null | 0 | 1318299243 | True | 0 | c2qgpw7 | t3_l77q2 | null | t1_c2qgpw7 | t3_l77q2 | null | 1427714038 | 2 | t5_2fwo | null | null | null |
True | EpistemicFaithCrisis | null | From the linked article:
> In practice it is not a good method, since its period is usually very short and it has some crippling weaknesses.
The easiest way to generate random numbers is to use an existing library to do it. | null | 0 | 1318299305 | False | 0 | c2qgq7y | t3_l77q2 | null | t1_c2qgq7y | t1_c2qdlgf | null | 1427714042 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1318299335 | False | 0 | c2qgqf6 | t3_l77q2 | null | t1_c2qgqf6 | t1_c2qdlgf | null | 1427714045 | 1 | t5_2fwo | null | null | null |
True | munificent | null | How can Java do better than this? | null | 0 | 1318299345 | False | 0 | c2qgqhn | t3_l76zl | null | t1_c2qgqhn | t1_c2qf26n | null | 1427714045 | 3 | 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.