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 | I stepped onto go a few months back and quickly realised that they tightly control their STL. Jesus, people keep begging them to add generics and they've blatantly refused for years.
This minimalist approach is so refreshing after using C++ for years. I hope these are the same. | null | 0 | 1546073236 | False | 0 | ecsk77p | t3_aac4hg | null | null | t1_ecshv7w | /r/programming/comments/aac4hg/modern_c_lamentations/ecsk77p/ | 1548217677 | -1 | t5_2fwo | r/programming | public | null |
False | VeganBigMac | t2_ptrwa | Tons of great devs don't know C. According to SO's survey, only 22% of professional devs use it in their work. Why would you learn a language that you have no reason to. The entire point of the article was arguing against this exact type of elitism. | null | 0 | 1546073241 | False | 0 | ecsk7d8 | t3_aaco1d | null | null | t1_ecs1608 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsk7d8/ | 1548217679 | 13 | t5_2fwo | r/programming | public | null |
False | kr_kr | t2_14gk4x | It also depends on the team's and company's culture. There're a lot of places and type of people who would never agree to do pair programming, and it's not necessarily a bad thing. | null | 0 | 1546073301 | False | 0 | ecsk9bd | t3_aaagix | null | null | t1_ecsge9t | /r/programming/comments/aaagix/why_review_code/ecsk9bd/ | 1548217704 | 1 | t5_2fwo | r/programming | public | null |
False | DCoder1337 | t2_bkgg4 | > *chlorine trifluoride, a substance that can burn through concrete*
Ah, *that* substance.
> _There’s a report from the early 1950s of a one-ton spill of the stuff. **It burned its way through a foot of concrete floor and chewed up another meter of sand and gravel beneath**, completing a day that I’m sure no on... | null | 0 | 1546073328 | False | 0 | ecska5q | t3_aaco1d | null | null | t1_ecs9skf | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecska5q/ | 1548217713 | 19 | t5_2fwo | r/programming | public | null |
False | 10260909569552752544 | t2_15sg0jz4 | It's simple, just make everything of type any. Your co-workers will love you. | null | 0 | 1546073392 | False | 0 | ecskc5g | t3_aaco1d | null | null | t1_ecryt92 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecskc5g/ | 1548217738 | 16 | t5_2fwo | r/programming | public | null |
False | Whisper | t2_9nq1 | That's the wrong question.
The correct question is "what problem that people have do monads solve, which cannot be solved as easily without monads?". | null | 0 | 1546073611 | False | 0 | ecskivu | t3_aai5ap | null | null | t3_aai5ap | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecskivu/ | 1548217851 | 65 | t5_2fwo | r/programming | public | null |
False | Occivink | t2_53r1h | It's not that I want it, it's that it's the only "correct" behavior. Consider the following:
You have a directory `~/foo`, and inside it a symlink `bar` that points to `/mnt/baz`. You do `cd ~/foo/bar` and because of the virtual path thing, both the prompt and `pwd` tell you that you're in `~/foo/bar`. Moving up with ... | null | 0 | 1546073623 | False | 0 | ecskj9f | t3_aabai1 | null | null | t1_ecsglgt | /r/programming/comments/aabai1/fish_shell_30/ecskj9f/ | 1548217856 | 9 | t5_2fwo | r/programming | public | null |
False | invisibowl | t2_j44u6 | In which /u/cleeder learns that non-native English speakers exist | null | 0 | 1546073783 | False | 0 | ecsko1q | t3_aabai1 | null | null | t1_ecrs6e4 | /r/programming/comments/aabai1/fish_shell_30/ecsko1q/ | 1548217915 | 4 | t5_2fwo | r/programming | public | null |
False | witti534 | t2_i759c | But you made it work at least once. | null | 0 | 1546073973 | False | 0 | ecsktr9 | t3_aac4hg | null | null | t1_ecshr26 | /r/programming/comments/aac4hg/modern_c_lamentations/ecsktr9/ | 1548217985 | 1 | t5_2fwo | r/programming | public | null |
False | SaadAttieh | t2_2pd4av8 | I agree entirely. What I am hoping for is to fine out if something lightweight like this is in demand. And especially those who want "range" like behaviour with c++14. If this is so, I will be looking for help to formalise the interface. I have certainly tried to make the interface as consistent as possible. With helpe... | null | 0 | 1546073978 | False | 0 | ecsktwf | t3_aach46 | null | null | t1_ecru840 | /r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecsktwf/ | 1548217987 | 4 | t5_2fwo | r/programming | public | null |
False | eskimoFry | t2_gxd2g | yeah, I am trying to focus on one thing but the thing I am focusing on apparently has no scope. So back to being jack of all trades until I can settle on one thing. | null | 0 | 1546074140 | False | 0 | ecskylm | t3_aaco1d | null | null | t1_ecsbf8y | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecskylm/ | 1548218046 | 1 | t5_2fwo | r/programming | public | null |
False | Adverpol | t2_k7xhv | Ive written quite a few of these, in practice its flexible enough to fit my needs. | null | 0 | 1546074594 | False | 0 | ecslce9 | t3_aac4hg | null | null | t1_ecrlcb9 | /r/programming/comments/aac4hg/modern_c_lamentations/ecslce9/ | 1548218218 | 5 | t5_2fwo | r/programming | public | null |
False | jl2352 | t2_11g67p | They had an entire team dedicated to testing. So they worked on trying to find bugs, and trying to break code checked in.
They also basically wrote it twice. Everything it would do and how it would do it was formally spec’d. Then it was written again in actual code. If you didn’t know how it would be implemented then ... | null | 0 | 1546074804 | False | 0 | ecsliv3 | t3_aa3qdm | null | null | t1_ecqfhl7 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsliv3/ | 1548218297 | 8 | t5_2fwo | r/programming | public | null |
False | vplatt | t2_1uz5 | > Monads are about null safety.
It seems a little more complicated than that: https://en.wikipedia.org/wiki/Monad_(functional_programming)
Nulls are only one of the side effects. | null | 0 | 1546074847 | False | 0 | ecslk8s | t3_aai5ap | null | null | t1_ecseuoi | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecslk8s/ | 1548218315 | 1 | t5_2fwo | r/programming | public | null |
False | killerstorm | t2_m827 | It's not really "modern", we had a plenty of C++ metaprogramming fans in mid 2000s, or even earlier. Back then the language didn't have lambdas, but it didn't stop people from implementing lambdas using template and operator abuse. It was not any simpler than modern modern C++, and yes, people got some of that stuff in... | null | 0 | 1546075106 | False | 0 | ecslsfg | t3_aac4hg | null | null | t1_ecqu6o3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecslsfg/ | 1548218445 | 7 | t5_2fwo | r/programming | public | null |
False | jediknight | t2_2smkc | > "what problem that people have do monads solve, which cannot be solved as easily without monads?".
The most frequent problem is handling failure. Once you start using `Maybe` for any length of time you realize that this is the sanest way. There are so many operations that fail and having this failure explicit in... | null | 0 | 1546075115 | False | 0 | ecslsoi | t3_aai5ap | null | null | t1_ecskivu | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecslsoi/ | 1548218448 | 30 | t5_2fwo | r/programming | public | null |
False | alexanimal | t2_8ucwy | Are you me, Dan? No wait I'm not you you're uhh successful? | null | 0 | 1546075309 | False | 0 | ecslyhi | t3_aaco1d | null | null | t3_aaco1d | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecslyhi/ | 1548218520 | 3 | t5_2fwo | r/programming | public | null |
False | ForgetTheRuralJuror | t2_xcv53 | Learn to use the sites that you're trying to emulate. | null | 0 | 1546075312 | False | 0 | ecslykw | t3_aaco1d | null | null | t1_ecs9bf0 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecslykw/ | 1548218521 | 8 | t5_2fwo | r/programming | public | null |
False | real_jeeger | t2_8dabp | Pah, what's wrong with a good sprinkling of "if err != nil"? | null | 0 | 1546075579 | False | 0 | ecsm6hx | t3_aai5ap | null | null | t1_ecslsoi | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsm6hx/ | 1548218619 | 27 | t5_2fwo | r/programming | public | null |
False | fatdunky | t2_xq7c5 | This reminds me of bbs days. Each site had it's own demo apps, they would use various techniques like this. Fire was the most popular. Well showing ascii art was the most popular lol, but fire was the most popular of the fancy effects.
https://youtu.be/xbUEFy1rk0k
| null | 0 | 1546075641 | 1546075879 | 0 | ecsm89h | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsm89h/ | 1548218641 | 37 | t5_2fwo | r/programming | public | null |
False | vplatt | t2_1uz5 | Sounds good. What are your results with this routine? And do you actually incorporate some physical time in there, a.k.a. the gym? | null | 0 | 1546075749 | False | 0 | ecsmbf8 | t3_aab645 | null | null | t1_ecr1w4n | /r/programming/comments/aab645/learning_to_learn_develop_skills_to_master/ecsmbf8/ | 1548218680 | 1 | t5_2fwo | r/programming | public | null |
False | oselotti | t2_9x4a3 | Yes, a monad is something that obeys monad laws:
Left identity
```
return a >>= f == f a
```
Right identity
```
m >>= return == m
```
Associativity
```
(m >>= f) >>= g == m >>= (\x -> f x >>= g)
``` | null | 0 | 1546075799 | False | 0 | ecsmcv9 | t3_aai5ap | null | null | t1_ecsbyf5 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsmcv9/ | 1548218698 | 7 | t5_2fwo | r/programming | public | null |
False | max630 | t2_mwwkl | It looks like C++ as it always used to be. Each of the used classes or methods is defined somewhere and usually (if it is in stl) quite extensively documented. it may take time to coprehend it but it's a task which terminates eventually (this is not always so, in the programming field). For a person which claims onesel... | null | 1 | 1546075799 | 1546108853 | 0 | ecsmcvb | t3_aac4hg | null | null | t1_ecrogyu | /r/programming/comments/aac4hg/modern_c_lamentations/ecsmcvb/ | 1548218698 | 1 | t5_2fwo | r/programming | public | null |
False | vplatt | t2_1uz5 | Yep. **It's easier to ask forgiveness than to beg for permission.**
Of course, you shouldn't try this until you truly know what you're doing. Otherwise, you're fired.
YMMV. | null | 0 | 1546075830 | False | 0 | ecsmds3 | t3_aab645 | null | null | t1_ecqnkd5 | /r/programming/comments/aab645/learning_to_learn_develop_skills_to_master/ecsmds3/ | 1548218708 | 1 | t5_2fwo | r/programming | public | null |
False | darksv | t2_h8y93mb | >but not "count from 1 to infinity"
In fact, you can get unbounded ranges by not providing the upper bound in range syntax, like `1..`:
fn main() {
let triples = (1..).flat_map(|z|
(1..(z+1)).flat_map(move |x|
(x..(z+1))
.filter(move |y| x*x + y*y == z*z)... | null | 0 | 1546075838 | False | 0 | ecsme0d | t3_aac4hg | null | null | t1_ecsejdm | /r/programming/comments/aac4hg/modern_c_lamentations/ecsme0d/ | 1548218711 | 9 | t5_2fwo | r/programming | public | null |
False | tonyplee | t2_12fpia | Any idea the processing speed in term of fps for the 4K demo for X gpu?
​
​ | null | 0 | 1546076069 | False | 0 | ecsmknp | t3_aa91bp | null | null | t1_ecq9fc2 | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecsmknp/ | 1548218794 | 1 | t5_2fwo | r/programming | public | null |
False | monkeyWifeFight | t2_3nh9b | > Lots of things are many times more verbose, so they are far harder to read; things like lambdas are easily replaced by good old functors so I don't see any reason to use them.
Are you saying that you actually prefer this:
struct StringComparator {
bool operator() (const string &a, const string &... | null | 0 | 1546076105 | False | 0 | ecsmlqy | t3_aac4hg | null | null | t1_ecrv75u | /r/programming/comments/aac4hg/modern_c_lamentations/ecsmlqy/ | 1548218807 | 1 | t5_2fwo | r/programming | public | null |
False | SanityInAnarchy | t2_5oygg | I suspected I was missing something, but couldn't find it. Thanks! Edited it into the original post to make it less of a wall of text. | null | 0 | 1546076259 | False | 0 | ecsmq9c | t3_aac4hg | null | null | t1_ecsme0d | /r/programming/comments/aac4hg/modern_c_lamentations/ecsmq9c/ | 1548218863 | 2 | t5_2fwo | r/programming | public | null |
False | monkeyWifeFight | t2_3nh9b | It's such a depressing indictment of the decline of this sub that this vacous (and wrong) comment gets 3x the votes compared to the thoughtful explanation by /u/lobster_johnson below. | null | 0 | 1546076420 | False | 0 | ecsmuri | t3_aac4hg | null | null | t1_ecr17pc | /r/programming/comments/aac4hg/modern_c_lamentations/ecsmuri/ | 1548218919 | 25 | t5_2fwo | r/programming | public | null |
False | GItPirate | t2_8y7x7vr | I loved looking through that. Awesome stuff man | null | 0 | 1546076441 | False | 0 | ecsmvah | t3_aajb7r | null | null | t1_ecsk2su | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsmvah/ | 1548218926 | 36 | t5_2fwo | r/programming | public | null |
False | nacholicious | t2_k7ymt | As an android developer I still find it incredibly weird how both web and mobile are essentially frontend ui systems, but for some reason mobile is always seen as part of the greater software engineering ecosystem (with the same traditions, best practices, etc) while web is doing it's own thing almost completely isolat... | null | 0 | 1546076530 | False | 0 | ecsmxnj | t3_aaco1d | null | null | t1_ecseae1 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsmxnj/ | 1548218956 | 9 | t5_2fwo | r/programming | public | null |
False | Log2 | t2_6aj98 | It's going to spread like wildfire in your code base. | null | 0 | 1546076544 | False | 0 | ecsmy07 | t3_aai5ap | null | null | t1_ecsm6hx | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsmy07/ | 1548218959 | 19 | t5_2fwo | r/programming | public | null |
False | alphaglosined | t2_f0fiz | Ugh what limit? Gonna need some source to back that one up as I've never seen it. | null | 0 | 1546076709 | False | 0 | ecsn2g1 | t3_aac4hg | null | null | t1_ecsc9zp | /r/programming/comments/aac4hg/modern_c_lamentations/ecsn2g1/ | 1548219044 | 5 | t5_2fwo | r/programming | public | null |
False | DJRBuckingham | t2_ywqtq | I was mostly thinking of MSVC for std::vector, yes, although I've experimented with doing as you suggest and debug was still significantly slower. If memory serves a full debug build caused a 16x performance degradation but only 8x if you disabled the iterator debugging/etc, compared to a 2x performance degradation wit... | null | 0 | 1546076753 | False | 0 | ecsn3mt | t3_aac4hg | null | null | t1_ecsjw62 | /r/programming/comments/aac4hg/modern_c_lamentations/ecsn3mt/ | 1548219058 | 16 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546076784 | False | 0 | ecsn4f2 | t3_aai5ap | null | null | t1_ecslsoi | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsn4f2/ | 1548219068 | 4 | t5_2fwo | r/programming | public | null |
False | alphaglosined | t2_f0fiz | But at least with D you have a chance of interacting with C++ directly ;)
Anyway, the GC was never an issue. You just have to learn some very basic things about how it works, which is something anyone should learn with such runtimes. | null | 0 | 1546076850 | False | 0 | ecsn673 | t3_aac4hg | null | null | t1_ecroylj | /r/programming/comments/aac4hg/modern_c_lamentations/ecsn673/ | 1548219090 | 3 | t5_2fwo | r/programming | public | null |
False | kuikuilla | t2_b2ngh | > 1. massively expensive to label images for training
Why not use 3d models and game engines to produce the training material? No need to label 2d images, just make a close to photoreal 3d world and have the engine label the objects automatically? | null | 0 | 1546076863 | False | 0 | ecsn6kd | t3_aa91bp | null | null | t1_ecqdg1t | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecsn6kd/ | 1548219094 | 1 | t5_2fwo | r/programming | public | null |
False | failsatreddit | t2_2tiupr3k | Please lose all the annoying semi colons and we'll talk. | null | 0 | 1546076881 | False | 0 | ecsn71n | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecsn71n/ | 1548219100 | -8 | t5_2fwo | r/programming | public | null |
False | DJRBuckingham | t2_ywqtq | I'm keeping an eye on Jai for sure, I have a lot of respect for Jon and support what he is try to achieve. Wasn't aware of Zig, I'll take a look, thanks. | null | 0 | 1546076998 | False | 0 | ecsna4s | t3_aac4hg | null | null | t1_ecshv7w | /r/programming/comments/aac4hg/modern_c_lamentations/ecsna4s/ | 1548219138 | 3 | t5_2fwo | r/programming | public | null |
False | trenskow | t2_9ix9e | Oh, man! What the demo scene were able to pull out of a Commodore 64 still amazes me to this day. | null | 0 | 1546077050 | False | 0 | ecsnbh4 | t3_aajb7r | null | null | t1_ecsjz8t | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsnbh4/ | 1548219155 | 110 | t5_2fwo | r/programming | public | null |
False | rifeid | t2_7jmul | Less vague title: The Commons Clause and similar "like FLOSS but actually not" licenses are bad for your business and for the ecosystem. | null | 0 | 1546077070 | False | 0 | ecsnbzh | t3_aajf75 | null | null | t3_aajf75 | /r/programming/comments/aajf75/the_cyclical_theory_of_open_source/ecsnbzh/ | 1548219161 | 4 | t5_2fwo | r/programming | public | null |
False | theaceshinigami | t2_eeral | every time I learn more about the development for doom the more amazing the game becomes. | null | 0 | 1546077124 | False | 0 | ecsnd57 | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsnd57/ | 1548219175 | 18 | t5_2fwo | r/programming | public | null |
False | vattenpuss | t2_brzia | I agree it has that effect, but blaming a group is rarely helpful either.
Unless your organisation is small enough for "the whole team" to mean "the whole company", blaming teams will still lead to the same issue as blaming individual developers: people will start hesitating to report issues. The correct way out of th... | null | 0 | 1546077156 | False | 0 | ecsndv1 | t3_aaagix | null | null | t1_ecql1s4 | /r/programming/comments/aaagix/why_review_code/ecsndv1/ | 1548219185 | 3 | t5_2fwo | r/programming | public | null |
False | BoxMonster44 | t2_4zr8u | Basically. It's kind of the other way around - pretty sure the functional way of thinking came first and TS adopted it. (Not a knock on TS at all - strict null checking in particular is a very elegant application of the Maybe concept.)
More useful than Maybe is Either. Rust uses a type called Result, which is the same... | null | 0 | 1546077188 | False | 0 | ecsneh3 | t3_aai5ap | null | null | t1_ecsn4f2 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsneh3/ | 1548219192 | 10 | t5_2fwo | r/programming | public | null |
False | mr_birkenblatt | t2_d7qfg | almost. `Maybe` still has the original type. This way you can call functions with `None` (and it type checks). In TypeScript you have `Foo?` types (? not sure about the syntax) that indicate that a type can be null. This is equivalent to `Maybe` (just the syntax and the name are different -- they are the same concept). | null | 0 | 1546077206 | False | 0 | ecsneu6 | t3_aai5ap | null | null | t1_ecsn4f2 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsneu6/ | 1548219196 | 9 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546077282 | 1546078691 | 0 | ecsngb6 | t3_aaco1d | null | null | t3_aaco1d | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsngb6/ | 1548219215 | 1 | t5_2fwo | r/programming | public | null |
False | vattenpuss | t2_brzia | Why should management see any information from the review process? I don't see any reason to have any sort of "paper trail". The review is of code "in flight", the code under review has not yet been merged into mainline.
IMO, the review is between the person(s) who made the change, and the person(s) reviewing it. If y... | null | 0 | 1546077592 | False | 0 | ecsnm6p | t3_aaagix | null | null | t1_ecri7c6 | /r/programming/comments/aaagix/why_review_code/ecsnm6p/ | 1548219288 | 1 | t5_2fwo | r/programming | public | null |
False | fagnerbrack | t2_xeaqp | It's not a bad thing for the company but a good thing for the competition | null | 0 | 1546077618 | 1546309659 | 0 | ecsnmn0 | t3_aaagix | null | null | t1_ecsk9bd | /r/programming/comments/aaagix/why_review_code/ecsnmn0/ | 1548219293 | -1 | t5_2fwo | r/programming | public | null |
False | Log2 | t2_6aj98 | Also, anything can be an approximation. The question is what guarantees on how good it is do we have. | null | 0 | 1546077817 | False | 0 | ecsnqdg | t3_a9qz9q | null | null | t1_ecm8hwe | /r/programming/comments/a9qz9q/amoeba_finds_approximate_solutions_to_nphard/ecsnqdg/ | 1548219339 | 1 | t5_2fwo | r/programming | public | null |
False | MentalMachine | t2_biq50 | Probably talking out of my ass but here goes: not sure it's as much that devs are bad interviewers, more that the interview process is kinda garbage. You put in a CV and cover letter, get your references sorted, then you go in, making sure you do all the soft skills well, can recount your experiences etc, and then you ... | null | 0 | 1546077830 | False | 0 | ecsnqmo | t3_aaco1d | null | null | t1_ecrei69 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsnqmo/ | 1548219342 | 5 | t5_2fwo | r/programming | public | null |
False | vattenpuss | t2_brzia | What can one then do with this credit? Can you buy stuff with it? Cake? | null | 0 | 1546077939 | False | 0 | ecsnskz | t3_aaagix | null | null | t1_ecr4z3a | /r/programming/comments/aaagix/why_review_code/ecsnskz/ | 1548219367 | 1 | t5_2fwo | r/programming | public | null |
False | stevenjd | t2_9q2nh | > This isn't about tone.
Of course it is. You don't like the tone of the message: "You're an idiot and stop wasting our time" instead of "I'm ever so sorry, I don't mean to offend or be rude, please don't take offense, but I fear that you may be operating on one or two teeny little misapprehensions or misunderstan... | null | 0 | 1546077952 | False | 0 | ecsnssu | t3_aaco1d | null | null | t1_ecsk5io | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsnssu/ | 1548219368 | -10 | t5_2fwo | r/programming | public | null |
False | Tynach | t2_9rbwn | How much of this also applies to `g++` and `clang`? If this is mostly just complaints about MSVC, but other C++ compilers don't have these issues, then perhaps you should consider migrating to a different compiler.
Granted, with C++ especially, you can't just switch compilers. I understand that, especially in the cont... | null | 0 | 1546078173 | False | 0 | ecsnwr8 | t3_aac4hg | null | null | t1_ecsn3mt | /r/programming/comments/aac4hg/modern_c_lamentations/ecsnwr8/ | 1548219419 | 11 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | I'm sorry, but I'm not particularly interested in slippery-slope arguments. You speak of the blasphemy of using a template parameter instead of a raw function pointer as being a guarantee of being leading to deeply nested abstractions, and I simply don't see the connection. The usage patterns aren't even particularly s... | null | 0 | 1546078309 | False | 0 | ecsnz7h | t3_aac4hg | null | null | t1_ecs9x3p | /r/programming/comments/aac4hg/modern_c_lamentations/ecsnz7h/ | 1548219449 | 2 | t5_2fwo | r/programming | public | null |
False | mr_birkenblatt | t2_d7qfg | all those explanations always make it seem that making failure more easily to deal with is the only benefit of monads. if you explain it using `Applicative` its benefits become more clear imho. short version:
with `Applicative` you have two functions.
1) you can wrap something in the applicative type `foo -> App f... | null | 0 | 1546078493 | 1546097711 | 0 | ecso2hr | t3_aai5ap | null | null | t3_aai5ap | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecso2hr/ | 1548219490 | 13 | t5_2fwo | r/programming | public | null |
False | major_clanger | t2_148kf8 | Part laziness, part 'Google does this so it must be right'.
It's far easier to pick off-the-shelf algo-puzzler questions from leetcode, than to build exercises/questions more representative of the coding done at the company. | null | 0 | 1546078515 | False | 0 | ecso2vh | t3_aaco1d | null | null | t1_ecs5llh | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecso2vh/ | 1548219495 | 7 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | The compiler is *very* good at ICF these days. This isn't the early 2000's anymore. I've seen better output from templates rather than equivalent macro constructs, and vastly better than user-written variants which rarely match in layout or semantics.
I sincerely feel as though many people here don't actually underst... | null | 0 | 1546078526 | False | 0 | ecso32u | t3_aac4hg | null | null | t1_ecs96mh | /r/programming/comments/aac4hg/modern_c_lamentations/ecso32u/ | 1548219498 | 5 | t5_2fwo | r/programming | public | null |
False | curious_s | t2_14kg9o | Fourth! | null | 0 | 1546078612 | False | 0 | ecso4mu | t3_aaco1d | null | null | t1_ecsg9s9 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecso4mu/ | 1548219517 | 1 | t5_2fwo | r/programming | public | null |
False | franzwong | t2_5ysgs | Maybe is like "Null object" in design pattern. You can still "call" the method but it does nothing. | null | 0 | 1546078887 | False | 0 | ecso9m3 | t3_aai5ap | null | null | t1_ecsn4f2 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecso9m3/ | 1548219606 | 0 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546078942 | False | 0 | ecsoaki | t3_aai5ap | null | null | t1_ecsn4f2 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsoaki/ | 1548219618 | 1 | t5_2fwo | r/programming | public | null |
False | cpt_fwiffo | t2_eidmq | You can get a lot of stuff done with python without knowing much about it. That's one of its main strengths. | null | 0 | 1546078986 | False | 0 | ecsobe1 | t3_aaco1d | null | null | t1_ecrf8qc | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsobe1/ | 1548219627 | 2 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | You're conflating deeply-nested templates with the issue at hand, which is literally using a template argument instead of a function pointer. It's a giant leap there, and to suggest that one inevitably leads to the other comes across as fear-mongering. I don't generally have difficulty debugging shallowly-templated cod... | null | 0 | 1546079118 | 1546079353 | 0 | ecsodrg | t3_aac4hg | null | null | t1_ecs5w99 | /r/programming/comments/aac4hg/modern_c_lamentations/ecsodrg/ | 1548219657 | 2 | t5_2fwo | r/programming | public | null |
False | BrunchWithBubbles | t2_gw8cq | No. It’s true that Maybe adds an additional inhabitant to a type (`Nothing`) just like nullable (`?`) in Typescript with strict null checks adds an additional inhabitant (`null`). The key difference is that Maybe can be nested as in `Maybe (Maybe a)`, which is what enables Maybe to be a monad. Nullable types cannot be ... | null | 0 | 1546079120 | False | 0 | ecsodsm | t3_aai5ap | null | null | t1_ecsn4f2 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsodsm/ | 1548219657 | 18 | t5_2fwo | r/programming | public | null |
False | mister_virgin | t2_v723mp3 | It's really confusing what people really refer to when saying "TDD"
Type DD or Test DD | null | 0 | 1546079278 | False | 0 | ecsogou | t3_aaco1d | null | null | t1_ecsg8zo | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsogou/ | 1548219693 | 1 | t5_2fwo | r/programming | public | null |
False | Tynach | t2_9rbwn | I think you misspelled 'Perl'. | null | 0 | 1546079323 | False | 0 | ecsohil | t3_aac4hg | null | null | t1_ecsctqj | /r/programming/comments/aac4hg/modern_c_lamentations/ecsohil/ | 1548219703 | 2 | t5_2fwo | r/programming | public | null |
False | Frizkie | t2_4ptdg | Wow that video hits hard. Remarkably lucid compared to the other stuff you see of his time in his van.
He knew he was crazy. In his mind, what was he going to do about it? | null | 0 | 1546079525 | False | 0 | ecsolgu | t3_9d6rpt | null | null | t1_e5gzm2g | /r/programming/comments/9d6rpt/creator_of_temple_os_terry_davis_has_passed_away/ecsolgu/ | 1548219752 | 1 | t5_2fwo | r/programming | public | null |
False | throwawayinthefire | t2_dv0fg | I tried to get started to look at the docs and the page wasn't available on mobile | null | 0 | 1546079581 | False | 0 | ecsomlr | t3_aahy66 | null | null | t3_aahy66 | /r/programming/comments/aahy66/releasing_documate_v102/ecsomlr/ | 1548219766 | 6 | t5_2fwo | r/programming | public | null |
False | AlexMeanberg | t2_9c46d | From this except, the book sounds incredible | null | 0 | 1546079692 | False | 0 | ecsooqd | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsooqd/ | 1548219792 | 9 | t5_2fwo | r/programming | public | null |
False | LeeHide | t2_tqbvo | Ay fuck unity. If someone wants to get started with video game development *as a programmer*, there is no way in hell they should start with unity. C# itself is one if the slickest OOP languages out there, but it's important to grasp that language and the concepts and ways of OOP outside of the context of unity to be e... | null | 0 | 1546079723 | False | 0 | ecsopcl | t3_aajb7r | null | null | t1_ecsjz8t | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsopcl/ | 1548219799 | 72 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | Why would a 64-bit type be inferred from a 32-bit? | null | 0 | 1546079741 | False | 0 | ecsopo6 | t3_aac4hg | null | null | t1_ecrhnrt | /r/programming/comments/aac4hg/modern_c_lamentations/ecsopo6/ | 1548219803 | 1 | t5_2fwo | r/programming | public | null |
False | DJRBuckingham | t2_ywqtq | I find MSVC is generally worse than gcc/clang, but only noticeably so in a few rare cases. Some of the projects I've worked on were MSVC only, and they also tended to be the largest, so I'm more intimately familiar with the drawbacks of that compiler. Other projects I've worked on were cross-platform and used gcc/clang... | null | 0 | 1546079816 | False | 0 | ecsor3n | t3_aac4hg | null | null | t1_ecsnwr8 | /r/programming/comments/aac4hg/modern_c_lamentations/ecsor3n/ | 1548219821 | 13 | t5_2fwo | r/programming | public | null |
False | bdtddt | t2_x8et0 | You are totally misinformed, this explanation is basically nonsense. | null | 0 | 1546080008 | False | 0 | ecsouv6 | t3_aai5ap | null | null | t1_ecseuoi | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsouv6/ | 1548219868 | 8 | t5_2fwo | r/programming | public | null |
False | JoeWakeling | t2_8fv2o | Thanks for the detailed answers!
>The short answer is, to do it right, we had to re-work the compiler internals around `const` completely. If you're curious for more, I can explain more, but that's basically it. C++ and D don't need to do what we need to do, so it's a much easier feature for them. See below.
That ... | null | 0 | 1546080277 | False | 0 | ecsp07f | t3_a9zyp3 | null | null | t1_ecqaaf9 | /r/programming/comments/a9zyp3/thoughts_on_rust_in_2019/ecsp07f/ | 1548219933 | 1 | t5_2fwo | r/programming | public | null |
False | NerdStreetBoys | t2_13n0pzln | I love fish. Unfortunately can’t use at my new job (banking).
I wish it supported the `$()‘ syntax too. | null | 0 | 1546080645 | False | 0 | ecsp7ns | t3_aabai1 | null | null | t1_ecqm6is | /r/programming/comments/aabai1/fish_shell_30/ecsp7ns/ | 1548220026 | 2 | t5_2fwo | r/programming | public | null |
False | davorzdralo | t2_62ihs | Nope. Straight up insulting people and being obtuse fuckwad is still not a tone issue. | null | 0 | 1546080677 | False | 0 | ecsp8aj | t3_aaco1d | null | null | t1_ecsnssu | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsp8aj/ | 1548220034 | 8 | t5_2fwo | r/programming | public | null |
False | n2_throwaway | t2_g61kz | As a fairly experienced non-graphics dev , do you have pointers to resources for building graphics pipelines and shaders? I'm not afraid of math either | null | 0 | 1546080749 | False | 0 | ecsp9lv | t3_aajb7r | null | null | t1_ecsopcl | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsp9lv/ | 1548220050 | 14 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546080752 | False | 0 | ecsp9o8 | t3_aaagix | null | null | t1_ecs143u | /r/programming/comments/aaagix/why_review_code/ecsp9o8/ | 1548220051 | 2 | t5_2fwo | r/programming | public | null |
False | masterofmisc | t2_dqd35 | ...Weirdly I just finished watching [RetroAhoy: Doom](https://youtu.be/6A4-SVUHQYI) which is a GREAT video essay on Doom for anyone who is interested. He's got one on [Quake](https://youtu.be/OipJYWhMi3k) too.
I literally just found his channel based off another Reddit thread and he has loads of good content. Yesterda... | null | 0 | 1546080832 | 1546081232 | 0 | ecspb8b | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspb8b/ | 1548220070 | 195 | t5_2fwo | r/programming | public | null |
False | blind3rdeye | t2_5esol | Nice demos and explanations. That's some cool and interesting stuff.
I have one quick question though. In your description for 'Metablobs', you've described how to calculate a number but it isn't clear to me what that number is used for? Is it the brightness of the pixel or something? | null | 0 | 1546080859 | False | 0 | ecspbsl | t3_aajb7r | null | null | t1_ecsk2su | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspbsl/ | 1548220077 | 14 | t5_2fwo | r/programming | public | null |
False | nh_cham | t2_62wfw | And here's a similar version in Turbo Pascal: https://youtu.be/cdbZ904TJgw
I just learned about the book, it sounds amazing, ordered it straight away! It belongs right next to Michael Abrash's Graphics Programming Black Book. | null | 0 | 1546080981 | False | 0 | ecspe7q | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspe7q/ | 1548220107 | 7 | t5_2fwo | r/programming | public | null |
False | __pg_ | t2_rcy9eog | Welcome to [Phase 3](http://aras-p.info/img/blog/2018/cpp_phases.jpg). | null | 0 | 1546081000 | False | 0 | ecspekx | t3_aac4hg | null | null | t1_ecsodrg | /r/programming/comments/aac4hg/modern_c_lamentations/ecspekx/ | 1548220111 | 1 | t5_2fwo | r/programming | public | null |
False | fistsmalloy | t2_h0bgn | My results have been solid career wise I went from junior dev to senior management in 6 years currently working for a telco. Physical time is a challenge but I go to the gym in mornings maybe twice a week and play indoor football (soccer) once a week although I have slipped lately in the run up to Christmas. I try not ... | null | 0 | 1546081049 | False | 0 | ecspfk7 | t3_aab645 | null | null | t1_ecsmbf8 | /r/programming/comments/aab645/learning_to_learn_develop_skills_to_master/ecspfk7/ | 1548220123 | 3 | t5_2fwo | r/programming | public | null |
False | bdtddt | t2_x8et0 | No, monads are a specific interface for wrapped types which allow you to flatten doubly wrapped types and turn a normal type into a wrapped type. There are other such interfaces, such as functor which allows one to apply a function inside of a wrapped type. All monads are functors. | null | 0 | 1546081230 | False | 0 | ecspj7f | t3_aaco1d | null | null | t1_ecs0svi | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecspj7f/ | 1548220168 | 1 | t5_2fwo | r/programming | public | null |
False | mechanicalgod | t2_6x70u | Not OP, but I'd highly recommend checking out https://learnopengl.com. | null | 0 | 1546081302 | False | 0 | ecspkpb | t3_aajb7r | null | null | t1_ecsp9lv | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspkpb/ | 1548220217 | 33 | t5_2fwo | r/programming | public | null |
False | xcdesz | t2_79zii | Probably true. CS and software engineering are related, but definitely not the same. A CS person might concern themselves with the inner workings of a data structure, but a software engineer would want a library that wraps the structure to do useful work. The engineer might need to know a little bit about the theory... | null | 0 | 1546081318 | False | 0 | ecspkzr | t3_aaco1d | null | null | t1_ecrfqsw | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecspkzr/ | 1548220220 | 3 | t5_2fwo | r/programming | public | null |
False | obsceneoddities | t2_2hgze7ed | +1 for Ahoy, his video essays are great and I've learned a lot from him, and it's not just interesting, its entertaining. | null | 0 | 1546081319 | False | 0 | ecspl14 | t3_aajb7r | null | null | t1_ecspb8b | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspl14/ | 1548220220 | 51 | t5_2fwo | r/programming | public | null |
False | xcdesz | t2_79zii | You say you don't know the language to keep some smartass from coming along and saying "oh yeah, then how do you do this..." And label you as BS in an interview.
| null | 0 | 1546081572 | False | 0 | ecsppz9 | t3_aaco1d | null | null | t1_ecs50he | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsppz9/ | 1548220281 | 2 | t5_2fwo | r/programming | public | null |
False | Straight_Derpin | t2_har8d | Totally agree. I just finished my first game design course this semester and am now pursuing a game design minor at my university. We used Unity and it was great but I'm really glad I had prior experience making games and building the engine up from scratch; it made me appreciate the amazing amount of functionality Un... | null | 0 | 1546081695 | False | 0 | ecspsad | t3_aajb7r | null | null | t1_ecsopcl | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspsad/ | 1548220310 | 10 | t5_2fwo | r/programming | public | null |
False | GeneticsGuy | t2_74f0b | I think I remember reading John Carmack recommending people learning OpenGL that are experienced devs but no gaming experience, and he said this was one of the best places to start. | null | 0 | 1546081763 | False | 0 | ecsptiq | t3_aajb7r | null | null | t1_ecspkpb | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsptiq/ | 1548220325 | 15 | t5_2fwo | r/programming | public | null |
False | Othis | t2_1erju0gu | Maybe you are, but I’m not. Where I work, reviews take _priority_ over writing more code. | null | 0 | 1546081797 | False | 0 | ecspu4l | t3_aaagix | null | null | t1_ecqxqtv | /r/programming/comments/aaagix/why_review_code/ecspu4l/ | 1548220333 | 1 | t5_2fwo | r/programming | public | null |
False | FrozenAsss | t2_2u5lrwd3 | How is the SFML .Net binding nowadays? The only problem i have with creating 2d games is the enormous amount of time it takes to create the graphics and UI. There should be some kind of generator for creating shitty 2d sprites. | null | 0 | 1546081877 | False | 0 | ecspvls | t3_aajb7r | null | null | t1_ecsopcl | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecspvls/ | 1548220351 | 1 | t5_2fwo | r/programming | public | null |
False | __pg_ | t2_rcy9eog | None of that is aimed at Eric in particular. All of us have been there. | null | 0 | 1546082147 | False | 0 | ecsq0lr | t3_aac4hg | null | null | t1_ecsckom | /r/programming/comments/aac4hg/modern_c_lamentations/ecsq0lr/ | 1548220413 | 4 | t5_2fwo | r/programming | public | null |
False | okovko | t2_lzdnc | That's pretty rad. | null | 0 | 1546082505 | False | 0 | ecsq7ai | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsq7ai/ | 1548220494 | 0 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [removed] | null | 0 | 1546082561 | False | 0 | ecsq8by | t3_a66102 | null | null | t3_a66102 | /r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ecsq8by/ | 1548220508 | 1 | t5_2fwo | r/programming | public | null |
False | AyrA_ch | t2_8mz48 | They still don't say that the makefile has to be fed through the size tool, giving you additional space for code (1048576 bytes for submission total) and possibly allows the c file to be completely empty. | null | 0 | 1546082770 | False | 0 | ecsqcbc | t3_aag673 | null | null | t1_ecs5u0l | /r/programming/comments/aag673/ioccc_2019_begins_official_contest_rules/ecsqcbc/ | 1548220558 | 3 | t5_2fwo | r/programming | public | null |
False | mgostIH | t2_y3ijl | In the Rust code, you can also substitute those `(1..(z+1))` using the inclusive range syntax of `(1..=z)`, you can println! in debug mode the tuple directly and (optionally) convert the filter and map into a filter_map.
Here's the code under my changes:
fn main() {
let triples = (1..).flat_map(|z| {
... | null | 0 | 1546082934 | False | 0 | ecsqfc4 | t3_aac4hg | null | null | t1_ecsejdm | /r/programming/comments/aac4hg/modern_c_lamentations/ecsqfc4/ | 1548220595 | 5 | t5_2fwo | r/programming | public | null |
False | xcdesz | t2_79zii | Reading and writing code should be the primary quality. Interviews are tough because a programmer needs time to reflect before they start hammering out a solution to something. Aside from take home assignments, an interview technique that I might recommend is that instead of having them write code on the spot, put so... | null | 0 | 1546082960 | False | 0 | ecsqftq | t3_aaco1d | null | null | t1_ecseab5 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsqftq/ | 1548220601 | 2 | t5_2fwo | r/programming | public | null |
False | kaeblo | t2_iw9bc | Error handling, processing collections, sequencing asynchronous functions.
I find these much nicer compared to the alternatives I've seen.
In Haskell / Scala you also get do notation / for comprehension, which help a lot with producing readable code. Basically you can get rid of nesting (nested loops, nested async c... | null | 0 | 1546083025 | 1546083382 | 0 | ecsqh1d | t3_aai5ap | null | null | t1_ecskivu | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsqh1d/ | 1548220616 | 19 | t5_2fwo | r/programming | public | null |
False | cosmicr | t2_4apf5 | I remember doing this in C way back in the early 90s. Was a cool trick to impress your friends. | null | 0 | 1546083067 | False | 0 | ecsqht4 | t3_aajb7r | null | null | t3_aajb7r | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecsqht4/ | 1548220626 | 6 | t5_2fwo | r/programming | public | null |
False | pbl64k | t2_hn6wp | > what problem that people have do monads solve, which cannot be solved as easily without monads?
This also the wrong question, but to answer it, you cannot DRY out some parts of your code without some way to speak about monads in general. Every monad, that is, everything that has lawful implementations of:
1. `si... | null | 0 | 1546083140 | False | 0 | ecsqj7a | t3_aai5ap | null | null | t1_ecskivu | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsqj7a/ | 1548220643 | 15 | t5_2fwo | r/programming | public | 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.