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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
False | [deleted] | None | [deleted] | null | 0 | 1543622641 | False | 0 | eatmcpf | t3_a1rp4s | null | null | t1_easikql | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatmcpf/ | 1546258391 | 31 | t5_2fwo | r/programming | public | null |
False | 13steinj | t2_i487l | When most people say what he did they are referring to the redesign because of its aesthetics and because of the new user profiles (also redesign).
It's definitely completely unrelated to my comment either way. | null | 0 | 1544758550 | False | 0 | ebqu3hi | t3_a5gx0c | null | null | t1_ebqm24t | /r/programming/comments/a5gx0c/how_reddit_ranking_algorithms_work_hacking_and/ebqu3hi/ | 1547582038 | 1 | t5_2fwo | r/programming | public | null |
False | noir_lord | t2_3655m | To err is human, to really fuck up you need a contractor ;). | null | 0 | 1543622647 | False | 0 | eatmcxp | t3_a1t38z | null | null | t1_eatkolb | /r/programming/comments/a1t38z/a_collection_of_wellknown_software_failures/eatmcxp/ | 1546258394 | 2 | t5_2fwo | r/programming | public | null |
False | ArrrGaming | t2_c3hig | Why would I need to search the menu for my favorite plate? If it's my favorite I know they have it already. | null | 0 | 1544758569 | False | 0 | ebqu4ca | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqu4ca/ | 1547582048 | 1 | t5_2fwo | r/programming | public | null |
False | stevegrossman83b | t2_1lm5r842 | You can always calculate and cache the inverse of your prime to avoid the division. | null | 0 | 1543622776 | False | 0 | eatmhv4 | t3_a1sbwp | null | null | t1_eatfge5 | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eatmhv4/ | 1546258455 | 2 | t5_2fwo | r/programming | public | null |
False | iBzOtaku | t2_gimzb | this much headache for such a basic feature. this is why I can't give up on sublime even though I'm tempted to test vs code with every update. | null | 0 | 1544758687 | False | 0 | ebqu9pz | t3_a5mk9z | null | null | t1_ebph33i | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqu9pz/ | 1547582116 | 1 | t5_2fwo | r/programming | public | null |
False | claytonkb | t2_61b8b | I'm not knocking your link, but if you think that's incredible then [Rosetta Code](http://www.rosettacode.org/wiki/Category:Programming_Tasks) is going to blow your mind. | null | 0 | 1543622836 | False | 0 | eatmk3e | t3_a1xjwr | null | null | t3_a1xjwr | /r/programming/comments/a1xjwr/the_arcane_algorithm_archive/eatmk3e/ | 1546258483 | 12 | t5_2fwo | r/programming | public | null |
False | clefairy | t2_328pf | Wait, they broke the old api! | null | 0 | 1544758903 | False | 0 | ebqujy2 | t3_a5sg9k | null | null | t1_ebq2sv5 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqujy2/ | 1547582242 | 1 | t5_2fwo | r/programming | public | null |
False | BunnyBlue896 | t2_x7hen | I love dynamic programming. It is such an easy go to tool for a large class of problems.
The problem is then when people show you a better solution (which is effectively a dp short-cut). My response is then of course "but what if I'm not clever"
But yeah, it's interesting to see different dp approaches to a common problem, as pointed out, this is much like and edit distance problem. | null | 0 | 1543623085 | False | 0 | eatmtnb | t3_a1gxu3 | null | null | t3_a1gxu3 | /r/programming/comments/a1gxu3/how_to_measure_dna_similarity_with_python_and/eatmtnb/ | 1546258600 | 1 | t5_2fwo | r/programming | public | null |
False | sastraxi | t2_4ouby | Couldn't agree with you more. | null | 0 | 1544758922 | False | 0 | ebquku8 | t3_a5y50c | null | null | t1_ebqt7s7 | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebquku8/ | 1547582252 | 14 | t5_2fwo | r/programming | public | null |
False | j16180339887 | t2_12yyjh | Thanks for the feedback, actually I am looking for a new maintainer. | null | 0 | 1543623450 | False | 0 | eatn7mq | t3_a1qyws | null | null | t1_easgn3a | /r/programming/comments/a1qyws/github_joeky888fil_unix_file_command_written_in_go/eatn7mq/ | 1546258772 | 1 | t5_2fwo | r/programming | public | null |
False | 2Migo2 | t2_2b14043u | I will just stick with linear scanning with my eyes :) | null | 0 | 1544759772 | False | 0 | ebqvlb3 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqvlb3/ | 1547582732 | 1 | t5_2fwo | r/programming | public | null |
False | quicknir | t2_iczmz | https://www.youtube.com/watch?v=8nyq8SNUTSc&t=3194s | null | 0 | 1543623545 | False | 0 | eatnb6f | t3_a1roi0 | null | null | t1_eatj60z | /r/programming/comments/a1roi0/how_to_optimize_c_and_c_code_in_2018/eatnb6f/ | 1546258845 | 2 | t5_2fwo | r/programming | public | null |
False | Flywolfpack | t2_d00kz | Can't mow the lawn, NP-complete | null | 0 | 1544760094 | False | 0 | ebqvyb7 | t3_a5sg9k | null | null | t1_ebqnxsl | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqvyb7/ | 1547582894 | 9 | t5_2fwo | r/programming | public | null |
False | Poddster | t2_3a27b | I imagine it's as shit as his games.
| null | 0 | 1543623553 | False | 0 | eatnbgp | t3_a1y1rq | null | null | t3_a1y1rq | /r/programming/comments/a1y1rq/al_lowe_reveals_his_sierra_source_code/eatnbgp/ | 1546258848 | -29 | t5_2fwo | r/programming | public | null |
False | TwiiKuu | t2_4ge2f | thanks this is full version enjoy... | null | 0 | 1544760495 | False | 0 | ebqweiu | t3_a5qwdf | null | null | t1_eboqp7e | /r/programming/comments/a5qwdf/get_free_for_aoao_photo_watermark_87_full_version/ebqweiu/ | 1547583124 | 3 | t5_2fwo | r/programming | public | null |
False | Zodiakos | t2_4askr | What if the moon were made of green cheese? | null | 0 | 1543623659 | False | 0 | eatnffe | t3_a1sa9m | null | null | t1_easppae | /r/programming/comments/a1sa9m/unreasonable_gatekeeping_of_basic_coding_skills/eatnffe/ | 1546258897 | 3 | t5_2fwo | r/programming | public | null |
False | Shadowvines | t2_fw1r9 | While this is great and all the added verbosity only lends to decrease my team's ability to produce in hopes that we catch a bug. While from a purely ideological standpoint that makes a lot of sense. But I imagine most of us work for companies and have sprint goals and competitors anything that slows my ability to develop a product has got to be worth the time. | null | 0 | 1544760575 | False | 0 | ebqwhnh | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqwhnh/ | 1547583162 | -3 | t5_2fwo | r/programming | public | null |
False | didibus | t2_4xpocx2 | Where I work, given our micro service heavy architecture, it happens more often then you'd think that services are swapped out for brand new ones, while keeping the interface intact. A lot of refactoring is done where you just re-implement the whole API from scratch. That's on a good day. You'd also be surprised how often new services take the place of old ones, with major breaking APIs, and everyone is forced into a migration.
Some people call that Fast Software, a play on the word for fast fashion. The idea that business needs change so quickly that software isn't actually meant to last very long, but instead it needs to be replaced over and over again given revised requirements and expectations, taking into account the learnings from prior attempts. Thus it might be better to optimize for specialized, quick delivery and prototyping rather than generic, long shell life and reusability. Especially with efforts on the latter often failing to even achieve that goal in practice.
Anyways, that was a bit of a sidestep. To address your direct reply, most of the time for me is actually spent with developers thinking about what are and how can the code be written or modified to deliver on the requirements. The requirements tend to be 70% enhancements and new features, and 30% operational (like performance or scale related) and bug fixes. Yes, the study did not address all these. It just said green field impmementation of a small program was quicker. Obviously, we'd go back to Java if we didn't think Clojure continued to make us more productive even now that we are way past the initial part.
I've got no strong evidence that static types are bad or slow you down. And I only have minor evidence that dynamic languages make initial development of small program quicker. I also have minor evidence that people tend to misjudge the productivity gains of static type systems, especially given a small program.
On top of that I have my own experience with Java, C++, C# and Clojure.
I feel like, while it's not a lot to go by, it is more than people arguing with me in this thread. Who only have their personal experience and nothing more. Also, they did not mention what that experience was either and with what specific language, so they're not giving much info to reason with. | null | 0 | 1543623838 | False | 0 | eatnmbm | t3_a1o5iz | null | null | t1_eat6p1v | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatnmbm/ | 1546258982 | 2 | t5_2fwo | r/programming | public | null |
False | draculamilktoast | t2_7709j | First from the text:
> Getting clarification comments right is hard, since there is often no objectively right answer.
and as you say,
> ... as if the person reading has never seen a variable declaration before.
In a learning environment one can reasonably expect the reader not to know everything and it might even be appropriate to add such a comment. "Variable declaration" might be a pretty scary term if you're new to programming so writing it down might help you remember. As an example:
//Assign values to array
let arr = [1, 2, 3, 4, 5];
While this may seem like a redundant comment its not obvious to all students that we are "assigning" values to an "array", so while this comment can be seen as useless from a more experienced programmers point of view, if you're new and especially haven't been paying much attention in class, this comment might have some utility.
Then on the other hand in this particular case I might add that we're declaring these values inside the function because it's an example and that you would usually get these values as function parameters, but if we're at a stage where variable declaration is a new thing, it is probably not yet appropriate to be discussing that slightly more advanced concept. But if you were to add that in the comment it wouldn't be a bad thing. So the comments, when it comes to code in education, can be used as a platform for you to repeat obvious stuff just to show off to the teacher that you know what you're doing.
In fact the best comment in that particular function may be that you don't need it as you can use
[1,2,3,4,5].reduce(function(a, b) { return a + b; });
instead. This example might even in some cases teach the teacher about the joys of functional programming but in the very least it shows that while you're capable of solving the problem, you are also a "team player", which may be an even more important thing than your raw ability to solve problems for some companies or organizations. | null | 0 | 1544760718 | False | 0 | ebqwnge | t3_a5u9us | null | null | t1_ebq2g9h | /r/programming/comments/a5u9us/how_to_write_useful_comments/ebqwnge/ | 1547583233 | 1 | t5_2fwo | r/programming | public | null |
False | daviegravee | t2_u8hb6 | >isn't it just simple algebra?
>2 * ( i * i ) = 2i * 2i = 4i
That would be 2i^2, not 4i. You don't distribute the 2, evaluate the expression in parentheses first, then multiply by 2. Also, 2i * 2i = 4i^2, not 4i.
>2 * i * i = 2i * i = 3i
Again, that is 2i^2. You don't add coefficients when multiplying. | null | 0 | 1543623889 | 1543639403 | 0 | eatnoa5 | t3_a1rp4s | null | null | t1_eatl76k | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatnoa5/ | 1546259006 | 8 | t5_2fwo | r/programming | public | null |
False | ry0wn | t2_6vlr7 | That's a hilarious and very original joke. The article is written in American English and uses US dollar signs, and the author is from Los Angeles, so my points are valid regardless of my nationality. | null | 0 | 1544760780 | False | 0 | ebqwptw | t3_a5sg9k | null | null | t1_ebpdl57 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqwptw/ | 1547583262 | 0 | t5_2fwo | r/programming | public | null |
False | habitats | t2_5p7oo | I have a degree in this and I still don't get it | null | 0 | 1543623948 | False | 0 | eatnqin | t3_a1rp4s | null | null | t1_eat2kym | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatnqin/ | 1546259034 | 1 | t5_2fwo | r/programming | public | null |
False | gott_modus | t2_j2d1j | that's IDA | null | 0 | 1544760949 | False | 0 | ebqwwh5 | t3_a5ylm8 | null | null | t1_ebqn21r | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqwwh5/ | 1547583345 | 12 | t5_2fwo | r/programming | public | null |
False | Freiling | t2_45vz1 | I haven't played minecraft. Does the player have to manually place all those cubes, or do they use level editor things? | null | 0 | 1543623956 | False | 0 | eatnqss | t3_a1rp4s | null | null | t1_eatkghs | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatnqss/ | 1546259039 | 1 | t5_2fwo | r/programming | public | null |
False | singlelinelabyrinth | t2_2g41zjup | You joke, but have you tried to reduce "efficiently mowing the lawn" to the traveling salesman problem? Doesn't seem hard. Bonus points: Imagine the lawn in question is a golf course. | null | 0 | 1544761108 | False | 0 | ebqx2rm | t3_a5sg9k | null | null | t1_ebqvyb7 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqx2rm/ | 1547583423 | 6 | t5_2fwo | r/programming | public | null |
False | cowardlydragon | t2_d0po | tl;dr they shard then merge | null | 0 | 1543623986 | False | 0 | eatnrzn | t3_a1wwdh | null | null | t3_a1wwdh | /r/programming/comments/a1wwdh/why_the_rdbms_is_the_future_of_distributed/eatnrzn/ | 1546259053 | 17 | t5_2fwo | r/programming | public | null |
False | rossisdead | t2_4a5cq | I think it might depend on how fast you type? I type pretty fast and it the caret animation makes it feel like it's lagging behind. | null | 0 | 1544761131 | False | 0 | ebqx3om | t3_a5mk9z | null | null | t1_ebqn2f1 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqx3om/ | 1547583434 | 2 | t5_2fwo | r/programming | public | null |
False | slykethephoxenix | t2_cyruc | Many NPM Modules already use binaries from other languages that are compiled, or downloaded in the npm package (This is one of the reasons you don't commit node_modules). | null | 0 | 1543623987 | False | 0 | eatns03 | t3_a1kye0 | null | null | t1_ear9pqn | /r/programming/comments/a1kye0/how_to_compile_nodejs_code_using_bytenode_hacker/eatns03/ | 1546259053 | 1 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | I think this is a shallow evaluation. No software is written once. No software spends its entire life maintained by one team. Readability is extremely important for the long-term viability of software. These days, competition is about how quickly you can respond to changes in the market. Developing a product with something like Ada improves not only maintainability, but also agility.
I should also mention that Ada is designed to build very large systems. This is only more relevant to mainstream software. As products grow and add more features, Ada has an amazing ability to handle that growth through exceptional encapsulation, enforced engineering principles, and unparalleled readability. | null | 0 | 1544761208 | False | 0 | ebqx6pf | t3_a5ylm8 | null | null | t1_ebqwhnh | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqx6pf/ | 1547583471 | 17 | t5_2fwo | r/programming | public | null |
False | pfp-disciple | t2_66jan | I would normally agree with you, but this looks like a culture problem rather than a technical or language problem. | null | 0 | 1543624060 | False | 0 | eatnuta | t3_a1u6ge | null | null | t1_eatjldj | /r/programming/comments/a1u6ge/bug_the_latest_nodejs_lts_can_make_permanent/eatnuta/ | 1546259089 | 36 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | As mentioned in the article, it is easy to make a rule like this, but how do you enforce it? The argument being is that Ada doesn't give a choice, it simply requires it. This is a consistent pattern throughout Ada. Another example is that case (switch) statements must always cover every possible outcome - and that is enforced by the compiler. | null | 0 | 1544761324 | False | 0 | ebqxb7y | t3_a5ylm8 | null | null | t1_ebqcdwq | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqxb7y/ | 1547583526 | 20 | t5_2fwo | r/programming | public | null |
False | Mabot | t2_12chr1 | Yeah about that, I thought that aswell, but i is just a loop index. | null | 0 | 1543624178 | False | 0 | eatnzel | t3_a1rp4s | null | null | t1_eat1szb | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatnzel/ | 1546259145 | -1 | t5_2fwo | r/programming | public | null |
False | Knservis | t2_5sejb | Why not just: `perl -0777 -pnle '$_=/shrimp\s+\$[0-9]\./?"Available!":":("' menu.txt` :-) | null | 0 | 1544761370 | False | 0 | ebqxd17 | t3_a5sg9k | null | null | t1_eboxuas | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqxd17/ | 1547583550 | 1 | t5_2fwo | r/programming | public | null |
False | didibus | t2_4xpocx2 | Really? I've honestly not seen posts arguing against these in a long while. They might debate their details, but they don't argue against their complete use. I also havn't seen an actual team going against these in a long time.
I acknowledge I might be completly wrong here though. So if these are being argued against, well obviously that dismisses my rationale. | null | 0 | 1543624183 | False | 0 | eatnzm2 | t3_a1o5iz | null | null | t1_eatctw2 | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatnzm2/ | 1546259148 | 2 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | Thanks for noticing that, I had decided to expand the example a bit, and didn't catch that. | null | 0 | 1544761454 | False | 0 | ebqxgig | t3_a5ylm8 | null | null | t1_ebqqj38 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqxgig/ | 1547583621 | 5 | t5_2fwo | r/programming | public | null |
False | restlesssoul | t2_472kx | Rich is a smart guy but I wish he'd learn a few basic things about the type systems he likes to rag on. He uses the type declaration of Haskell's reverse (reverse :: \[a\] -> \[a\]) as an example where the types don't "communicate anything" and is "almost information-free". It tells actually quite a bit. It says that reverse is a function that takes a list of anything and returns a list of the same type but it also says that the function's logic **cannot** depend on what the **list contains**. So, it cannot for example sort them. It can only operate on the list's structure. I think that is valuable information. | null | 0 | 1543624302 | False | 0 | eato44w | t3_a1o5iz | null | null | t3_a1o5iz | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eato44w/ | 1546259204 | 23 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | I'm not sure, in this particular case (or any case really), that this is a plausible error. | null | 0 | 1544761533 | False | 0 | ebqxk3s | t3_a5ylm8 | null | null | t1_ebqmgs6 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqxk3s/ | 1547583666 | 1 | t5_2fwo | r/programming | public | null |
False | playaspec | t2_5du1m | > Why am I paying a court some money?
Because the application has to be researched to make sure it's unique and non-obvious to a practitioner in the art. they fail at this quite often anyway, and allow patents on things already patented. | null | 0 | 1543624491 | False | 0 | eatob43 | t3_a1tazn | null | null | t1_eat90oo | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatob43/ | 1546259289 | 19 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | Isn't it great that Ada allows you to focus your tests on a narrower set of unknowns? Spending less time and investing less risk? | null | 0 | 1544761577 | False | 0 | ebqxm0l | t3_a5ylm8 | null | null | t1_ebqo6c9 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqxm0l/ | 1547583690 | 18 | t5_2fwo | r/programming | public | null |
False | snowe2010 | t2_53c7i | This looks super useful. I can't wait. | null | 0 | 1543624573 | False | 0 | eatoe7g | t3_a1s9y5 | null | null | t1_easvt1t | /r/programming/comments/a1s9y5/uno_a_uniq_like_cli_tool_for_log_data_a_tiny_tool/eatoe7g/ | 1546259327 | 5 | t5_2fwo | r/programming | public | null |
False | irish_throwaway_1 | t2_fqmvy | Ooof... That's too bad. Just for the record, wasn't me down voting. | null | 0 | 1544761636 | False | 0 | ebqxoj6 | t3_a5ssxk | null | null | t1_ebqaxyg | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqxoj6/ | 1547583721 | 1 | t5_2fwo | r/programming | public | null |
False | playaspec | t2_5du1m | > The whole patent process can protect if you follow the process.
Lol. It doesn't do that **AT* ***ALL***. All it gives you the right to do is spend more money suing people who violate your patent. For small players, it's nothing but a money losing uphill battle. | null | 0 | 1543624659 | False | 0 | eatohf0 | t3_a1tazn | null | null | t1_eassp2d | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatohf0/ | 1546259367 | 0 | t5_2fwo | r/programming | public | null |
False | quadmaniac | t2_62g7j | God, the JS comments here are pure gold! | null | 0 | 1544761746 | False | 0 | ebqxt5i | t3_a5sg9k | null | null | t1_ebqn2d4 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqxt5i/ | 1547583778 | 2 | t5_2fwo | r/programming | public | null |
False | funkinaround | t2_5ngc9 | He shows that the alternative to Maybe in Clojure is to use schema/select. For example, in Scala, you might have:
class Car {
make: String,
model: Option[String],
year: Option[Int]
}
getNewerThan(List[Car] cars, int year): List[Car] = {
cars.filter{ c => c.year.map{y => y > year} }
}
With schema/select, you do something like:
(s/def ::make string?)
(s/def ::model string?)
(s/def ::year int?)
(s/def ::car (s/schema [[::make ::model ::year]]))
(get-newer-than cars year =>
(s/select ::cars [s/list-of ::car {::car [::year]}])
(filter (fn [car] (> (car ::year) year)) cars))
With this approach, you don't "pollute" your car definition by saying that some things may be optional because I know in some contexts, we won't have them. Instead, you are just simply specifying what your car definition can support and then, when you need to make use of your car, because you know what you need at that time, you can specify what you need from your car. For other contexts, where you don't need to care what attributes of your care are available, you don't need to specify it nor worry about it being included.
I think this approach is a fantastic way to achieve the goal of: let me just work on maps of data and not have to deal with place-oriented-programming while being able to specify what these things are and what I need from them when I need it. | null | 0 | 1543624890 | False | 0 | eatopqp | t3_a1o5iz | null | null | t1_easft5i | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatopqp/ | 1546259498 | 5 | t5_2fwo | r/programming | public | null |
False | random314 | t2_4arpg | I feel so inadequate everyone I see someone else's bash-fu. | null | 0 | 1544761813 | False | 0 | ebqxvz4 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqxvz4/ | 1547583813 | 1 | t5_2fwo | r/programming | public | null |
False | playaspec | t2_5du1m | > It is also going to cost the patent holder the same amount of money to defend it.
Is *that* supposed to be some sort of consolation to the person whose invention was wrongly patented by a huge corporation? | null | 0 | 1543624938 | False | 0 | eatorjt | t3_a1tazn | null | null | t1_eatcm6w | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatorjt/ | 1546259520 | 5 | t5_2fwo | r/programming | public | null |
False | McNerdius | t2_5e8bl | yeah it's probably just vote fuzzing and i got my panties in a bunch :) | null | 0 | 1544761868 | False | 0 | ebqxyi4 | t3_a5ssxk | null | null | t1_ebqxoj6 | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqxyi4/ | 1547583843 | 1 | t5_2fwo | r/programming | public | null |
False | AceOfShades_ | t2_15tf7z | Oh yeah you have to do it by hand. Level editors exist, including in-game tools if you modify the client or server, but yeah it’s often done by hand in game. There is a mode with infinite blocks, flying, and instant block breaking and stuff that makes it easier in the base game. | null | 0 | 1543625147 | False | 0 | eatoz98 | t3_a1rp4s | null | null | t1_eatnqss | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatoz98/ | 1546259615 | 3 | t5_2fwo | r/programming | public | null |
False | vitorgrs | t2_pjahg | My dream would be Globosat Play, Telecine Play and Globo Play unified (and all on Globo Play end). | null | 0 | 1544762057 | False | 0 | ebqy6n7 | t3_a5wkot | null | null | t3_a5wkot | /r/programming/comments/a5wkot/how_we_built_globoplays_api_gateway_using_graphql/ebqy6n7/ | 1547583946 | 2 | t5_2fwo | r/programming | public | null |
False | kurashu89 | t2_8t7zd | No one said it was a good choir. | null | 0 | 1543625180 | False | 0 | eatp0gk | t3_a1we32 | null | null | t1_eatg74q | /r/programming/comments/a1we32/i_put_words_on_this_webpage_so_you_have_to_listen/eatp0gk/ | 1546259631 | 8 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | I wanted to start with an easy one, but it is the first of what I hope to be a long series. Heartbleed is another ripe example. | null | 0 | 1544762076 | False | 0 | ebqy7gn | t3_a5ylm8 | null | null | t1_ebqtiuv | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqy7gn/ | 1547583955 | 24 | t5_2fwo | r/programming | public | null |
False | didibus | t2_4xpocx2 | That's pushing it a little. I'm only saying that static types havn't shown a clear and undeniable benefit, and that's why we're all here arguing about it.
I'm also very interested in the topic obviously. I'm a huge fan of static type systems. I know top of the art ones like Haskell, Idris, Liquid Haskell, or simpler ones like the traditional Java, C++, C# systems, or the optional ones like Core.typed for Clojure and Typed Racket. I havn't tried TypeScript though, but if I needed to use JavaScript, I'd definitly choose to use TypeScript or Flow over ES6.
Type driven design is fun, and static guarantees are highly satisfying. But as much as I have feelings of interest and safety with regards to static type systems, I can not say they are justified, because I have no data to justify them with.
The small data I have seem to show Clojure as an outlier in the dynamic world, and that static type systems in general bring only minimal benefits in terms of defects, while having a small impact on productivity.
This leads me to the conclusion that you need to judge a language as a whole. Because many parts might each contribute more or less to productivity and safety, and it is when you sum them all that big benefits are gained or lost. | null | 0 | 1543625230 | False | 0 | eatp2ag | t3_a1o5iz | null | null | t1_eatdyxu | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatp2ag/ | 1546259653 | 3 | t5_2fwo | r/programming | public | null |
False | Strange_Meadowlark | t2_ag7pk | OP is not incorrect, but like /u/theoldboy I find the given example to be rather weak -- `goto fail;` could be caught using a style checker to enforce the use of braces, with the same style checker also enforcing consistent indentation and code style.
I would have liked to see more than one example for using Ada; for example, does it implement an borrow checker like Rust? Can it reduce verbose error checks (which obscure the story of the code behind repetitive bookkeeping) by allowing functions to return algebraic `Maybe<>` types? Does it support programming-by-contract? Can you place unit tests in the same file as a function so that test code is also the example code? | null | 0 | 1544762236 | False | 0 | ebqyegu | t3_a5ylm8 | null | null | t1_ebqpdrw | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqyegu/ | 1547584042 | 7 | t5_2fwo | r/programming | public | null |
False | eye_gargle | t2_10s0y2 | I hope this article makes headlines. The author just needs to say it's Google in the title. | null | 0 | 1543625236 | False | 0 | eatp2jy | t3_a1tazn | null | null | t3_a1tazn | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatp2jy/ | 1546259656 | 0 | t5_2fwo | r/programming | public | null |
False | cyanrave | t2_3thxo | I disagree. Before VS Code came along, ST3 + Package Control were fantastic competition in the not-so-big IDE space. It felt fairly snappy and functional as long as you groomed the plugins in a decent manner.
Along comes a project backed by a billion dollar company that for all intents and purposes, absolutely crushes ST3 + Package Control. Absolutely. Destroys.
You can say $80 is ‘too much for a text editor’, but give ST3 credit in being much more than just a text editor. Moreover it’s a user license, so it’s pretty well a one time thing.... I would guess the same argument is made against products like WinRar too which is even cheaper.
I know it may seem strange to actually _pay for software that works well_ but you may want to consider it. | null | 0 | 1544762238 | False | 0 | ebqyejs | t3_a5mk9z | null | null | t1_ebp04dq | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqyejs/ | 1547584043 | 3 | t5_2fwo | r/programming | public | null |
False | ivquatch | t2_3a6gu | I think the point of Rich's quote has more to do with testing being the *emphasis* rather than design. It's not a question of types vs. tests. | null | 0 | 1543625718 | False | 0 | eatpkav | t3_a1o5iz | null | null | t1_easxvzy | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatpkav/ | 1546259876 | 3 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | >Does it support programming-by-contract?
Ada was one of the first languages to do this, and remains one of the most contractual languages out there. For example, you can explicitly state Pre- and Post-conditions on all functions and procedures. You can also define static and dynamic predicates for types.
Ada uses exceptions, and does it more elegantly than Java/C++/C# by not having "try" blocks. Rust decided to avoid exceptions entirely. Ada can implement the same kind of error checking and encapsulation just as easily though. In my opinion, it is more flexible, since it allows you to contain errors at different levels without explicit code to pass errors up.
The next version of SPARK (a subset of Ada) will include borrow checking. However, this was always possible and fairly trivial in Ada through the use of limited types, which can never be copied, and through "Finalization", which allows objects to be controlled during Initialization, Adjustment (assignment), and Finalization. | null | 0 | 1544762623 | False | 0 | ebqytig | t3_a5ylm8 | null | null | t1_ebqyegu | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqytig/ | 1547584255 | 20 | t5_2fwo | r/programming | public | null |
False | 0polymer0 | t2_7h5ni | My favorite discussion on how to take advantage of the cache:
MIT Cache oblivious algorithms: [https://www.youtube.com/watch?v=CSqbjfCCLrU](https://www.youtube.com/watch?v=CSqbjfCCLrU)
Small changes to some naive programs, as well as more creative memory layouts, can make huge differences. I know it's a video, but Erik does a good job motivating everything. | null | 0 | 1543625737 | False | 0 | eatpl1g | t3_a1sbwp | null | null | t1_easccpo | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eatpl1g/ | 1546259885 | 6 | t5_2fwo | r/programming | public | null |
False | rlbond86 | t2_436ic | I'm not really convinced that Ada is really the issue here. Lots of languages require "bracketed" if statements. Should we all use FORTRAN? Even BASIC uses this type of syntax. Really it speaks more to the failure of C than anything else | null | 0 | 1544762838 | False | 0 | ebqz1dv | t3_a5ylm8 | null | null | t1_ebqxm0l | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqz1dv/ | 1547584353 | 0 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543625751 | False | 0 | eatplli | t3_a1wxkn | null | null | t1_eatf094 | /r/programming/comments/a1wxkn/my_friend_just_found_a_bug_in_google_images_can/eatplli/ | 1546259892 | -3 | t5_2fwo | r/programming | public | null |
False | devperez | t2_cr8bd | Why do they eventually want to drop support for JQuery? | null | 0 | 1544762983 | False | 0 | ebqz6kd | t3_a5zjwu | null | null | t3_a5zjwu | /r/programming/comments/a5zjwu/bootstrap_340_released/ebqz6kd/ | 1547584416 | 18 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543625900 | False | 0 | eatprgb | t3_a1tazn | null | null | t1_eatorjt | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatprgb/ | 1546259964 | -1 | t5_2fwo | r/programming | public | null |
False | CelloAxeMurder | t2_q5pre | Is this basically like Apache Wicket then? | null | 0 | 1544763029 | False | 0 | ebqz88k | t3_a5umm4 | null | null | t3_a5umm4 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebqz88k/ | 1547584437 | 1 | t5_2fwo | r/programming | public | null |
False | HomeBrewingCoder | t2_149sqrr2 | What if it is a market worth 2 million? Then it is worth it for Google as worst case they get a headstart, and are facing an opponent that has to pay 1m up front to win a 1m split of the market. | null | 0 | 1543625975 | False | 0 | eatpufa | t3_a1tazn | null | null | t1_eatcm6w | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatpufa/ | 1546260030 | 2 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | Well, as someone mentioned above, this example is (deliberately) low-hanging fruit. There is a lot more to Ada than this. It is pretty silly to compare Ada to BASIC, because Ada is a much larger language, is strongly typed, object oriented, concurrent, and extremely expressive. BASIC is none of those things. The only real thing that Ada shares with BASIC is using english words. This is true for Pascal (more fairly comparable), Simula, Smalltalk, etc back to ALGOL. | null | 0 | 1544763095 | False | 0 | ebqzajf | t3_a5ylm8 | null | null | t1_ebqz1dv | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqzajf/ | 1547584466 | 6 | t5_2fwo | r/programming | public | null |
False | hch12907 | t2_gn6uz | Pipelining allows the CPU to execute multiple (22 on Intel Core-i pipelines I think?) instructions/micro-ops in the same cycle. Modern CPUs are superscalar too. | null | 0 | 1543626020 | False | 0 | eatpw7d | t3_a1sbwp | null | null | t1_eatlouf | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eatpw7d/ | 1546260053 | 1 | t5_2fwo | r/programming | public | null |
False | no_condoments | t2_10enji | 1) this seems like a call for more government to solve a problem that doesn't exist yet. It's mostly a scare tactic based on hypotheticals and grandiose futuristic claims
2) Hannah Fry is a brilliant mathematician and is remarkably attractive. | null | 1 | 1544763096 | 1544763422 | 0 | ebqzajk | t3_a61jek | null | null | t3_a61jek | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebqzajk/ | 1547584466 | 3 | t5_2fwo | r/programming | public | null |
False | alllowercaseTEEOHOH | t2_11i0gccl | Frightening, but not remotely new.
The process Google tried to do was Thomas Edison's entire business model. | null | 0 | 1543626060 | False | 0 | eatpxq6 | t3_a1tazn | null | null | t3_a1tazn | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatpxq6/ | 1546260070 | 12 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | >In terms of wide-reaching impact, the stuff that’s happened with Facebook’s Newsfeed is really, really concerning. Fifteen years ago, let’s say, all of us were watching all the same TV programs, were reading the same newspapers. The places we would get our news, and especially our politics, tended to be universal. And what that meant was that when you had a national conversation about an issue, everyone was coming to that conversation with the same information. But as soon as Facebook decided that they wanted to become purveyors of news, suddenly you have these highly personalized newsfeeds where everything is based on what your friends like, what you like, things that you’ve read in the past. And that’s become so infinitesimally cut up into tiny little chunks, that suddenly when you try and have a national conversation, people are missing each other. They’re talking about different things, even though they think they’re talking about the same thing. Even before all of this Cambridge Analytica stuff, which is a whole other level, I think there is a really serious implication on democracy and on politics. But it’s something that can happen without anybody ever being malicious or having ill intent. It’s just a totally unintended consequence of barging in somewhere without thinking through what the long-term implications of being in that space was.
It's not about hypothetical and grandiose futuristic claims. It's about what's happening right now as a result of today's algorithms.
\------
Here's the justification
>**Why do we need an FDA for algorithms?**
>
>It used to be the case that you could just put any old colored liquid in a glass bottle and sell it as medicine and make an absolute fortune. And then not worry about whether or not it’s poisonous. We stopped that from happening because, well, for starters it’s kind of morally repugnant. But also, it harms people. We’re in that position right now with data and algorithms. You can harvest any data that you want, on anybody. You can infer any data that you like, and you can use it to manipulate them in any way that you choose. And you can roll out an algorithm that genuinely makes massive differences to people’s lives, both good and bad, without any checks and balances. To me that seems completely bonkers. So I think we need something like the FDA for algorithms. A regulatory body that can protect the intellectual property of algorithms, but at the same time ensure that the benefits to society outweigh the harms.
>
>**Why is the regulation of medicine an appropriate comparison?**
>
>If you swallow a bottle of colored liquid and then you keel over the next day, then you know for sure it was poisonous. But there are much more subtle things in pharmaceuticals that require expert analysis to be able to weigh up the benefits and the harms. To study the chemical profile of these drugs that are being sold and make sure that they actually are doing what they say they’re doing. With algorithms it’s the same thing. You can’t expect the average person in the street to study Bayesian inference or be totally well read in random forests, and have the kind of computing prowess to look up a code and analyze whether it’s doing something fairly. That’s not realistic. Simultaneously, you can’t have some code of conduct that every data science person signs up to, and agrees that they won’t tread over some lines. It has to be a government, really, that does this. It has to be government that analyzes this stuff on our behalf and makes sure that it is doing what it says it does, and in a way that doesn’t end up harming people.
&#x200B; | null | 0 | 1544763330 | 1544764748 | 0 | ebqzimg | t3_a61jek | null | null | t1_ebqzajk | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebqzimg/ | 1547584566 | 2 | t5_2fwo | r/programming | public | null |
False | BigFatMonads | t2_2k91bbh5 | This is a disappointingly little amount of content from 3 weeks of learning | null | 0 | 1543626106 | False | 0 | eatpzih | t3_a1x9c3 | null | null | t3_a1x9c3 | /r/programming/comments/a1x9c3/what_i_learned_about_cryptography_in_3_weeks/eatpzih/ | 1546260092 | 1 | t5_2fwo | r/programming | public | null |
False | audioen | t2_gz6hs | The innovation since PHP-based web apps of the 2000s has been to create the notion of persistent page state, which is updated by events. When Ajax was invented, the page state lived on the web client, and I think that was a revelation to all those people who tried to create component frameworks server side, but got bogged down by having to carry so much state in form hiddens from request to request because every little detail had to be recreated. With Ajax, you no longer had to do that.
The innovation given by React seems to be to use some diffing mechanism to rapidly discover the parts of page that are different, and focus any expensive operations only to the changed parts. While, say, Wicket, had the concept of server-side state in the 2000s, the notion of directly diffing the page state on server side was beyond the framework, and so the programmer had to tag the components that changed due to an event, and wicket would render those and send back the entire HTML for them.
I really appreciate the straightforward nature of the framework. While I personally am not excited about switching back to server-side HTML rendering, and probably won't ever go back to doing things that way, at least these days it's not that bad compared to doing things client side. The higher latency of anything server side pushes the desire to do more work on the client side, but on the other hand, the client side needs to keep the download size in control, which is challenging as apps grow ever more features. | null | 0 | 1544763363 | False | 0 | ebqzjrx | t3_a5umm4 | null | null | t3_a5umm4 | /r/programming/comments/a5umm4/phoenixliveview_interactive_realtime_apps_no_need/ebqzjrx/ | 1547584580 | 7 | t5_2fwo | r/programming | public | null |
False | Annh1234 | t2_nru14 | You either get this data from mainly cached sources like the Skyscanner API ( with limitations), illegally scrape some OTAs like Expedia ( and probably get blocked), or get your data from a GDS ( very expensive ).
Inventory changes in real time, and beside a monthly fee, the GDS usually charges per scan/search.
( Google fights used to have an API, at 3 cents per scan, but they closed)
So whatever site you find, will eventually block you if you don't actually book/buy something.
For a monthly fee, I can provide you the data ( have a system that does this, mainly used by b2b travel agencies), but for free, it's unlikely you will find something useful for more than a flight or two. | null | 0 | 1543626142 | False | 0 | eatq0wz | t3_a1x8a7 | null | null | t1_eatiu3i | /r/programming/comments/a1x8a7/is_there_a_windows_programwebsite_like_this_that/eatq0wz/ | 1546260110 | 3 | t5_2fwo | r/programming | public | null |
False | dataf3l | t2_4wu9m | what tutorials did you use for this? | null | 0 | 1544763459 | False | 0 | ebqzn10 | t3_a5dskw | null | null | t3_a5dskw | /r/programming/comments/a5dskw/i_dunno_how_many_of_you_are_memers_but_i_coded/ebqzn10/ | 1547584620 | 1 | t5_2fwo | r/programming | public | null |
False | victotronics | t2_izlew9 | Fortran
* Is as object-oriented as C++. Classes, polymorphism, operator overloading.
* Has an elegant array notation that is great for scientific work.
* Arrays can start at any lower bound. Not just 0 or 1: any.
* Has a pointer concept that is more like C++ references than C addresses. Elegant notation.
* Had a notion of deallocation of dynamic data years before C++ shared/unique pointers.
* Modules are better than header files; C++ is about to catch up with Fortran in that respect in a couple of years.
Yeah, there is a lot of old Fortran code out there which uses constructs that should not be used anymore, but that goes for C++ too. You want to know how often I see "auto\_ptr" fly past when I install packages? | null | 0 | 1543626207 | False | 0 | eatq3el | t3_a0nbik | null | null | t3_a0nbik | /r/programming/comments/a0nbik/fortran_is_still_a_thing/eatq3el/ | 1546260141 | 1 | t5_2fwo | r/programming | public | null |
False | ironnomi | t2_kw4bt | Removing jQuery has basically been on their list since 2.x days. | null | 0 | 1544763460 | False | 0 | ebqzn2x | t3_a5zjwu | null | null | t1_ebqz6kd | /r/programming/comments/a5zjwu/bootstrap_340_released/ebqzn2x/ | 1547584620 | 19 | t5_2fwo | r/programming | public | null |
False | Kiloku | t2_7trw4 | In the vanilla game, you have to manually place each block (but in Creative Mode you can fly in any direction and don't have to fight enemies and such).
There are mods that make reshaping the terrain easier, as well as unofficial external level editors | null | 0 | 1543626348 | False | 0 | eatq8t3 | t3_a1rp4s | null | null | t1_eatnqss | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatq8t3/ | 1546260207 | 1 | t5_2fwo | r/programming | public | null |
False | i_feel_really_great | t2_qzxow | > The next version of SPARK (a subset of Ada) will include borrow checking. However, this was always possible and fairly trivial in Ada through the use of limited types, which can never be copied, and through "Finalization", which allows objects to be controlled during Initialization, Adjustment (assignment), and Finalization.
I have always mentioned that to various people seeking comparisons with Rust. Which makes it the lesser important feature of the next release of Ada (2020?). The more important one is lightweight tasks a la Golang and Erlang. | null | 0 | 1544763472 | False | 0 | ebqznio | t3_a5ylm8 | null | null | t1_ebqytig | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqznio/ | 1547584625 | 7 | t5_2fwo | r/programming | public | null |
False | PM_ME_OS_DESIGN | t2_17cwrk | > Also had a personal blog, intubo.com on which I released two demos, one in flash (2009) and one WebGL, when it was in aplha (2010), both around editable streaming sparse voxel world. The second was featured on Khronos website. Next thing you know, minecraft alpha is released (2011).
To be fair, Notch has explicitly said that Minecraft was basically a copy of [Infiniminer](https://youtu.be/JlSIbbAu088?t=84), which was released in 2009.
| null | 0 | 1543626382 | False | 0 | eatqa3v | t3_a1tazn | null | null | t1_eatjznl | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatqa3v/ | 1546260224 | 21 | t5_2fwo | r/programming | public | null |
False | rlbond86 | t2_436ic | Interesting... Would like to see some of those more complicated examples. | null | 0 | 1544763493 | False | 0 | ebqzo8g | t3_a5ylm8 | null | null | t1_ebqzajf | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqzo8g/ | 1547584634 | 1 | t5_2fwo | r/programming | public | null |
False | victotronics | t2_izlew9 | That's a misunderstanding. The downloadable reference implementation of BLAS/LAPACK is written in Fortran, but any optimized version (MKL, Atlas, Blis) is written in C. | null | 0 | 1543626392 | False | 0 | eatqah1 | t3_a0nbik | null | null | t1_eak91s7 | /r/programming/comments/a0nbik/fortran_is_still_a_thing/eatqah1/ | 1546260228 | 1 | t5_2fwo | r/programming | public | null |
False | Sunius | t2_8wy4w | Tooling. Have a program autoformat it for you on commit. | null | 0 | 1544763524 | False | 0 | ebqzpbw | t3_a5ylm8 | null | null | t1_ebqxb7y | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqzpbw/ | 1547584648 | 18 | t5_2fwo | r/programming | public | null |
False | wasachrozine | t2_j5l9w | Honestly, they probably still have questions about the topic but don't know how to ask what is bothering them. When that happens, try answering in a different or more in-depth way, or ask clarifying questions yourself. | null | 0 | 1543626436 | False | 0 | eatqc88 | t3_a1rp4s | null | null | t1_eatkyhc | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatqc88/ | 1546260249 | 11 | t5_2fwo | r/programming | public | null |
False | no_condoments | t2_10enji | Do you think Facebooks response to it has been bad? Certainly they've responded to the claims above.
More generally, how much control over sources of news do you think the government should control? Controlling Facebook news: good? Trump kicking Jim Acosta out of the press room: bad? I generally dont like the idea of government controlling the press or news distribution in anyway. | null | 0 | 1544763583 | False | 0 | ebqzrcs | t3_a61jek | null | null | t1_ebqzimg | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebqzrcs/ | 1547584673 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1543626495 | False | 0 | eatqeir | t3_a1rp4s | null | null | t1_eatgxva | /r/programming/comments/a1rp4s/why_is_2_i_i_faster_than_2_i_i_java/eatqeir/ | 1546260279 | 1 | t5_2fwo | r/programming | public | null |
False | rememberthesunwell | t2_fujg8 | you just triggered my imposter syndrome | null | 0 | 1544763781 | False | 0 | ebqzy3h | t3_a5u9z0 | null | null | t1_ebq0q90 | /r/programming/comments/a5u9z0/cs_interviews_and_how_they_can_become_unbroken/ebqzy3h/ | 1547584756 | 2 | t5_2fwo | r/programming | public | null |
False | ThirdEncounter | t2_1ud6zgq | Oh yeah, I'm aware that every person has their own path to walk down. Glad it worked out for you! :-) | null | 0 | 1543626603 | False | 0 | eatqiml | t3_a1tazn | null | null | t1_eatlmij | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatqiml/ | 1546260329 | 4 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | But why use tooling if your languages does it for you? | null | 1 | 1544763861 | False | 0 | ebr00wo | t3_a5ylm8 | null | null | t1_ebqzpbw | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr00wo/ | 1547584820 | 2 | t5_2fwo | r/programming | public | null |
False | duhace | t2_dhfv4 | reason, a libertarian rag for people who can't reason | null | 0 | 1543626918 | False | 0 | eatqul2 | t3_a1vjtq | null | null | t1_eatfqzi | /r/programming/comments/a1vjtq/bakers_law_youll_never_know_how_evil_a_technology/eatqul2/ | 1546260477 | 6 | t5_2fwo | r/programming | public | null |
False | SimpleNovelty | t2_121d0lsg | I started doing this when I got my first job. Far less chance anybody makes a mistake and it ends up more readable in my eyes. Then again I'm a freak who makes whitespace always visible. | null | 0 | 1544763874 | False | 0 | ebr01d5 | t3_a5ylm8 | null | null | t1_ebqcdwq | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr01d5/ | 1547584826 | 3 | t5_2fwo | r/programming | public | null |
False | didibus | t2_4xpocx2 | I think you're trying to portray me like a zealot, but that's just a complete misrepresentation.
I use an array of languages, and I would use statically typed languages in certain situations. I'd also use dynamic ones. It's the pro static type evangelists that are the real zealots. I mean look at the OP's comment that started this whole thread:
> you're still smart enough to know that using a type system has advantages
How disingenuous and disrespectful is this comment? That's the sign of a true zealot to me.
You mention Nim, Rust and Idris. Okay, which one do you want to discuss? Or are you just ignoring the comment I replied too arguing that static type evangelists always promote the union of the benefits of all typed languages?
You want to talk about Idris? Okay, I love Idris. I'm a huge fan of Idris, Liquid Haskell, and F*. Neither are in a state where I can realistically bring them to my team and depend on them commercially. They also bring a pretty big overhead in terms of productivity, but that could just be me still getting a better grip with them.
What about Nim? I mean, Nim, really? Its type system is nowhere the same league as Idris and Rust, I'm confused why you bring it up? It also has a garbage collector. So what about Nim?
Alright, Rust is my second favourite language currently after Clojure. Static memory guarantees are a whole other ballgame. When I need critical performance, Rust is my go to. Obviously I wouldn't build a browser in Clojure.
> ignoring the experience of others
How am I ignoring it? If you have system programming experience, well, I can't even think of a single system level language without static types. C might be the closest in that it doesn't particularly have a very powerful one. But like why are we even arguing in this case. Go use Rust or stick with C.
If you come from a JavaScript background, and find your code to be brittle, find a better language. Maybe TypeScript, I havn't used it, but I do know its type system is unsound. So why not Bucklescript and OCaml, or ClojureScript? And if you were using Node, and care about safety and now security too, just don't. Use the JVM, or the CLR, or the Beam, or GHC, or Go.
My point being, judge a whole language for the sum of its parts. Realize that many things matters. If you had a bad experience with X, and X lacked types, don't think the lack of types was the entire root cause. If you had a bad experience with Y, and Y had types, don't think types were the entire root cause.
And to that, I'm arguing Clojure as a whole is a really productive and mostly safe language. Much more productive and safer than many statically typed languages. | null | 0 | 1543626931 | 1543633488 | 0 | eatqv1z | t3_a1o5iz | null | null | t1_eatdoqr | /r/programming/comments/a1o5iz/maybe_not_rich_hickey/eatqv1z/ | 1546260483 | 11 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | Do you think private corporations should be able to manipulate people in order to suit their own private interests without any oversight? | null | 0 | 1544763888 | False | 0 | ebr01v7 | t3_a61jek | null | null | t1_ebqzrcs | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebr01v7/ | 1547584832 | 2 | t5_2fwo | r/programming | public | null |
False | qomu | t2_dg9i9 | Haven't really done much ios development, but could you get around this with testflight? or do you still need to pay the 100/year just to be a dev? | null | 0 | 1543626961 | False | 0 | eatqw8n | t3_a16q8g | null | null | t1_eas3h0f | /r/programming/comments/a16q8g/exploiting_javascript_developer_infrastructure_is/eatqw8n/ | 1546260497 | 1 | t5_2fwo | r/programming | public | null |
False | no_condoments | t2_10enji | Yes. That's basically guaranteed by the first amendment. What about yourself? Do you think the Trump administration should be given more oversight and control of CNN, MSNBC and the Huffington Post? | null | 0 | 1544764038 | False | 0 | ebr078r | t3_a61jek | null | null | t1_ebr01v7 | /r/programming/comments/a61jek/we_need_an_fda_for_algorithms/ebr078r/ | 1547584898 | 0 | t5_2fwo | r/programming | public | null |
False | duhace | t2_dhfv4 | of course moving to go from node.js would seem great... | null | 0 | 1543627136 | False | 0 | eatr2xb | t3_a1jbqf | null | null | t1_easagqi | /r/programming/comments/a1jbqf/go_2_here_we_come/eatr2xb/ | 1546260610 | 2 | t5_2fwo | r/programming | public | null |
False | annexi-strayline | t2_opgl37x | Indeed, I look forward to the discussion here in the blast furnace to help inform me on what might be a more impactful avenue to go down for the next post. | null | 0 | 1544764039 | False | 0 | ebr079y | t3_a5ylm8 | null | null | t1_ebqzo8g | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebr079y/ | 1547584898 | 3 | t5_2fwo | r/programming | public | null |
False | regerts_ | t2_g1jiz5o | Can't believe people are trying to downvote you. It's blatantly obvious that you're right. | null | 1 | 1543627164 | False | 0 | eatr402 | t3_a1tazn | null | null | t1_eat0zm2 | /r/programming/comments/a1tazn/company_google_tried_to_patent_my_work_after_a/eatr402/ | 1546260623 | 2 | t5_2fwo | r/programming | public | null |
False | STATIC_TYPE_IS_LIFE | t2_12crq47 | You people care more about syntax sugar than performance. Go write Python/js, and wait 10 years to do anything. I'll keep writing Java and c++, meaning my code actually fi is he's running before the start of the next century. | null | 0 | 1544764054 | False | 0 | ebr07tb | t3_a5umpk | null | null | t1_ebpssy5 | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebr07tb/ | 1547584905 | 2 | t5_2fwo | r/programming | public | null |
False | Isvara | t2_10v24 | I know... I'm asking if they're averaging it to get less than one. | null | 0 | 1543627360 | False | 0 | eatrbb4 | t3_a1sbwp | null | null | t1_eatpw7d | /r/programming/comments/a1sbwp/not_all_cpu_operations_are_created_equal/eatrbb4/ | 1546260712 | 2 | t5_2fwo | r/programming | public | null |
False | WarWeasle | t2_48aw1 | Eat out? I eat baked chicken with frozen vegetables. Like I have every day for 40 years.
Flavor? What do I look like, a GUI programmer? | null | 0 | 1544764121 | False | 0 | ebr0a6w | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebr0a6w/ | 1547584935 | -1 | t5_2fwo | r/programming | public | null |
Dataset Card for "REDDIT_comments"
Dataset Summary
Comments of 50 high-quality subreddits, extracted from the REDDIT PushShift data dumps (from 2006 to Jan 2023).
Supported Tasks
These comments can be used for text generation and language modeling, as well as dialogue modeling.
Dataset Structure
Data Splits
Each split corresponds to a specific subreddit in the following list: "tifu", "explainlikeimfive", "WritingPrompts", "changemyview", "LifeProTips", "todayilearned", "science", "askscience", "ifyoulikeblank", "Foodforthought", "IWantToLearn", "bestof", "IAmA", "socialskills", "relationship_advice", "philosophy", "YouShouldKnow", "history", "books", "Showerthoughts", "personalfinance", "buildapc", "EatCheapAndHealthy", "boardgames", "malefashionadvice", "femalefashionadvice", "scifi", "Fantasy", "Games", "bodyweightfitness", "SkincareAddiction", "podcasts", "suggestmeabook", "AskHistorians", "gaming", "DIY", "mildlyinteresting", "sports", "space", "gadgets", "Documentaries", "GetMotivated", "UpliftingNews", "technology", "Fitness", "travel", "lifehacks", "Damnthatsinteresting", "gardening", "programming"
Dataset Creation
Curation Rationale
All the information fields have been cast to string, as their format change through time from one dump to the following. A reduced number of keys have been kept: "archived", "author", "author_fullname", "body", "comment_type", "controversiality", "created_utc", "edited", "gilded", "id", "link_id", "locked", "name", "parent_id", "permalink", "retrieved_on", "score", "subreddit", "subreddit_id", "subreddit_name_prefixed", "subreddit_type", "total_awards_received".
Source Data
The Reddit PushShift data dumps are part of a data collection effort which crawls Reddit at regular intervals, to extract and keep all its data.
Initial Data Collection and Normalization
See the paper.
Who are the source language producers?
Redditors are mostly young (65% below 30), male (70%), and American (50% of the site).
Personal and Sensitive Information
The data contains Redditor's usernames associated to their content.
Considerations for Using the Data
This dataset should be anonymized before any processing. Though the subreddits selected are considered as being of higher quality, they can still reflect what you can find on the internet in terms of expressions of biases and toxicity.
Contributions
Thanks to @clefourrier for adding this dataset.
- Downloads last month
- 4,783