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 | skulgnome | t2_37fao | Greg would let kdbus in. | null | 0 | 1546269580 | False | 0 | ecy4zfu | t3_ab601z | null | null | t1_ecxve62 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy4zfu/ | 1548326852 | 2 | t5_2fwo | r/programming | public | null |
False | glaba314 | t2_g0h7l | In fairness, every software developer should probably be able to reverse a linked list, it's not exactly obscure or complicated | null | 0 | 1546269595 | False | 0 | ecy501m | t3_aaxsey | null | null | t1_ecvvvpy | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy501m/ | 1548326860 | 2 | t5_2fwo | r/programming | public | null |
False | MalakElohim | t2_buf9v | Considering that the current millennium started on Jan 1st 2001, they are correct. The previous millennium ended at midnight of the 31st of December 2000. | null | 0 | 1546269599 | False | 0 | ecy506n | t3_ab601z | null | null | t1_ecy4may | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy506n/ | 1548326862 | 31 | t5_2fwo | r/programming | public | null |
False | wredue | t2_1rbubxg4 | Canada most definitely does this. It is called the TFW (temporary foreign worker) program.
It is massively prevalent and getting worse. IT applicants are fast tracked through the TFW program. | null | 0 | 1546269599 | False | 0 | ecy507c | t3_aaxsey | null | null | t1_ecxr4jz | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy507c/ | 1548326862 | 1 | t5_2fwo | r/programming | public | null |
False | stalkedbyamoose | t2_150oke3f | off topic but - in some cultures a square with a circle inside of it is viewed as sacred. i wonder what the reverse means to them | null | 0 | 1546269610 | False | 0 | ecy50lz | t3_ab7qvy | null | null | t3_ab7qvy | /r/programming/comments/ab7qvy/circle_square_processing/ecy50lz/ | 1548326867 | 2 | t5_2fwo | r/programming | public | null |
False | boneheaddigger | t2_4a3br | I got this at a company that likes to think they are the next Google in 2015.
It was really bad. They tried the "if you were shrunk to the size of a nickel and dropped into a blender, what would you do?" I just looked at them and said "oh, you saw that movie too?" since I had recently watched "The Internship" the week before. They had no clue what I was talking about. They wanted a serious answer. I can't even remember what I said, but I remember they didn't look impressed. Then they asked me "if you were driving your car and it suddenly stopped, what would you do?" What they weren't prepared for was that I actually knew a bit about car repair from driving shitboxes for a number of years. So I started asking the standard questions...what was it doing before it died? Will it still crank of I try to start it? Does it have any power at all when I turn the key? The answers were "it just died, it's not doing anything, what do you do?" I think they wanted me to just say that I'd call for a tow or something, but I had spent a decade doing Tech Support and several years learning from a mechanic about how to diagnose and fix my shitbox cars. I don't give up easily on broken things. But they knew nothing about cars, so they couldn't tell me anything about what was wrong with my hypothetical broken down car. So yeah...I didn't get that job.
| null | 0 | 1546269620 | False | 0 | ecy5107 | t3_aaxsey | null | null | t1_ecwdvvq | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5107/ | 1548326872 | 2 | t5_2fwo | r/programming | public | null |
False | zackline | t2_mysu8 | I don't think the diversity projects mentioned relate to working on Linux, if you look through the list it's more educational stuff that is being funded with the donations. | null | 0 | 1546269629 | False | 0 | ecy51bu | t3_ab601z | null | null | t1_ecy3i36 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy51bu/ | 1548326876 | 18 | t5_2fwo | r/programming | public | null |
False | ur_real_d4a | t2_2voc1w7a | Dear friend, I worked in three different countries, got work permits, 15+ companies. The code written by me was/is used by hundreds millions of people globally. I have Sun, Oracle, Amazon certificates. I got a job offer from Amazon. I know how job interview work better than you do.
When I needed algorithm knowledge I just acquired it. Knowledge of algorithms doesn't correlate with you being able to solve problems you have never seen before.
I would compare it to being an engineer who memorized some math formulas and can use them to solve known problems vs a scientist who can come up with new solutions.
But I think that job interview must check presence of skills needed to perform job efficiently. Most places that I have been to and ask algorithms normally will ask you to implement some CRUD functionality. Basically code structuring and design is extremely important in those cases. But not knowing all sorting algorithms or being able to traverse a graph. Actually you never get to do any computational expensive operations yourself. Databases and other software tools/libraries do it for you. Also using right algorithms doesn't guarantee absence of performance issues. Some times simple caching is the answer.
| null | 0 | 1546269631 | False | 0 | ecy51fn | t3_aaxsey | null | null | t1_ecxsmmf | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy51fn/ | 1548326877 | 1 | t5_2fwo | r/programming | public | null |
False | phreadom | t2_328og | I'm sure this is why you have them boasting about their even 50/50 splits on their work force and executive staff, right? Because that's the natural product of simply choosing the best from an open field, and not because they specifically chose people based on their genitalia to fulfill a quota. Right?
Do you want to honestly claim that none of these people want equality of outcome? Because I assure you, many of them openly hate the idea of "equality of opportunity" and actually claim that the very idea is "white supremacist", "patriarchal", etc... because it doesn't result in the equal outcome they want.
Stop and think about that for a moment. They honestly do not like or want "equality of opportunity", because human beings are not all equal. They do not all have the same interests, or abilities. We are not all magical blank slates, as many of them would like you to believe. And thus you **should not** expect such 50/50 splits in outcome like that. And seeing them in such a particular field, being touted by such a group of people, is a red flag that you're seeing enforced equality of outcome at the expense of equality of opportunity and actual merit based selection. | null | 1 | 1546269682 | False | 0 | ecy53e8 | t3_ab601z | null | null | t1_ecy1vgf | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy53e8/ | 1548326902 | 6 | t5_2fwo | r/programming | public | null |
False | ChemicalRascal | t2_4ta76 | What? Linus talks about loving C in that talk, don't be absurd. | null | 0 | 1546269689 | False | 0 | ecy53np | t3_ab601z | null | null | t1_ecy1y3t | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy53np/ | 1548326905 | 8 | t5_2fwo | r/programming | public | null |
False | zackline | t2_mysu8 | > Maybe consider building your own OS
*Temple OS intensifies* | null | 0 | 1546269772 | False | 0 | ecy56vu | t3_ab601z | null | null | t1_ecy265b | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy56vu/ | 1548326944 | 35 | t5_2fwo | r/programming | public | null |
False | mattj1 | t2_4c8zx | If you accept the premise that someone whose grandfather was a slave has an socioeconomic disadvantage to a person whose grandfather owned that slave, it's easy to see that there's a systemic and historical disadvantage for some compared to others. If you also accept the idea that someone maybe more qualified to do something compared to another person trained on that subject (if they too were educated on that subject), you can start to reason about what if person A had the same opportunity as person B at the start: would A still be the most qualified? In some cases yes, but in other cases it turns out that the less-educated person is the more qualified once educated on the subject, i.e. person B is actually most qualified when both persons are given the same starting point.
So, if we start a diversity program now, in a few years or decades we might realize the full education of the largest possible body of experts, so that we might truly achieve the most qualified possible population working on the project. | null | 1 | 1546269776 | 1546270932 | 0 | ecy5725 | t3_ab601z | null | null | t1_ecy4l0m | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5725/ | 1548326946 | 7 | t5_2fwo | r/programming | public | null |
False | Equivalent_Cat | t2_2n0j3qus | And I thought our HR head was bad. | null | 0 | 1546269783 | False | 0 | ecy57ca | t3_ab601z | null | null | t1_ecy3dcm | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy57ca/ | 1548326950 | 5 | t5_2fwo | r/programming | public | null |
False | Insomn | t2_6q083 | Who are "they"? Might be time to name names, if you've got them. | null | 0 | 1546269803 | False | 0 | ecy583f | t3_ab601z | null | null | t1_ecy3u3u | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy583f/ | 1548326960 | 12 | t5_2fwo | r/programming | public | null |
False | Harag_ | t2_poys6 | Lolcode is my new favorite language! :D | null | 0 | 1546269820 | False | 0 | ecy58ru | t3_ab6ce5 | null | null | t3_ab6ce5 | /r/programming/comments/ab6ce5/fizzbuzz_in_10_different_languages/ecy58ru/ | 1548326967 | 2 | t5_2fwo | r/programming | public | null |
False | vanderZwan | t2_6hpwy | Is he reincarnated as a slime too? | null | 0 | 1546269866 | False | 0 | ecy5aj9 | t3_ab601z | null | null | t1_ecy4d43 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5aj9/ | 1548327016 | 5 | t5_2fwo | r/programming | public | null |
False | dead10ck | t2_8it2g | Well that certainly sounds like a much more reasonable and sane interview process than I've ever experienced. You were responding to a comment that was justifying the trivia CS style interview, so from the context, it seemed like you were lending it credence by saying that it weeds out false positives. And yes, they are super common, at least in Silicon Valley. | null | 0 | 1546269947 | False | 0 | ecy5dp7 | t3_aaxsey | null | null | t1_ecxw1l0 | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5dp7/ | 1548327055 | 3 | t5_2fwo | r/programming | public | null |
False | aoeudhtns | t2_fiz4e | Reminds me of an old joke. What do you call someone who graduates medical school with a 2.0?
Doctor. | null | 0 | 1546269953 | False | 0 | ecy5dwq | t3_aaxsey | null | null | t1_ecxjrhf | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5dwq/ | 1548327058 | 6 | t5_2fwo | r/programming | public | null |
False | schveiguy | t2_5ag4m | Many of the lines in the D version are imports. And two lines import 2 symbols from the same module, which could really be on one line. C++ only has one import for ranges (but of course, it's a big one). I think in the interest of cutting down on compile time, this is why there are so many imports. You could replace all of them with 4 at the top: `std.range`, `std.algorithm`, `std.stdio`, `std.typecons`
Part of it is the abstraction of `then` which is really a range library function that simply wasn't in Phobos.
The code could also be shrunk a bit by removing the triples function and putting all the range code inline instead of separating the function. | null | 0 | 1546269983 | False | 0 | ecy5f2t | t3_ab71ag | null | null | t1_ecxzvsd | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy5f2t/ | 1548327072 | 7 | t5_2fwo | r/programming | public | null |
False | clarkd99 | t2_gu0ze | 7 years since starting CS study and you are already an expert?
CS languages should be Math based, why?
FP is a better way to code rather than say data oriented code design?
You do sound intelligent in this article but your views on programming, Math and FP couldn’t possibly be more wrong.
My current project is about 100,000 lines of C code. It has hundreds of pure functions (FP), hundreds of functions that change data structures (OOPS) and hundreds of functions that are combinations of both or something else. The code is multi-core, multi-user and handles it’s own memory management without GC (including a kind of safe pointer system).
My question to you is “Why would I write code in an FP, OOP or any other specialized language when I can have any or all such techniques and performance in just the single language C?”. By the way, my language like most other languages can sort collections with just 4 letters (sort). Is Haskell more succinct than that?
My current project includes most of a database system, language, web server, micro service architecture and more in one package. As part of the language, I provide my internal parser to the language so that a DSL can be compiled and use the looping and condition statements of my internal langauge seamlessly with any custom parts of said DSL. DSL’s like Lisp macros are great but only a tiny part of a useful system.
Would you want to have a cleaner do brain surgery on you? Why would somebody that wants good code call in the Mathematician? | null | 0 | 1546270024 | False | 0 | ecy5gpl | t3_aam1ft | null | null | t3_aam1ft | /r/programming/comments/aam1ft/languageoriented_software_engineering_sort_of_a/ecy5gpl/ | 1548327092 | 1 | t5_2fwo | r/programming | public | null |
False | iDrinan | t2_88l7f | Oh my sweet Jesus. I'm old. | null | 0 | 1546270027 | False | 0 | ecy5gtp | t3_ab601z | null | null | t1_ecy4m77 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5gtp/ | 1548327094 | 72 | t5_2fwo | r/programming | public | null |
False | aoeudhtns | t2_fiz4e | "Here's my GitHub repo containing solutions to the top 1,000 interview questions. You'll never know if I copy/pasted into here or actually was able to solve these." | null | 0 | 1546270045 | False | 0 | ecy5hib | t3_aaxsey | null | null | t1_ecxuhla | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5hib/ | 1548327102 | 6 | t5_2fwo | r/programming | public | null |
False | jbristow | t2_45z4n | But my heuristic is “do they know a programming language good enough to do ifs and a loop” so how does that break it?
EDIT: also, if you’re pretending to be coming in blind, then I have two possibilities:
1. You’re good at faking being dumb. I don’t necessarily notice or care. I’m one of three.
2. You’re bad at faking being dumb. I catch on, I validate my suspicion, usually hip-checking you later with a question designed to trigger an emotional response: “what was the worst feedback you’ve ever received, and why?” “What do you hate most about (language they claim most familiarity with)?”
Like I said, it’s a level setting heuristic, not a final determination. Think of it like an AStar search... you calculate the heuristic as you discover the neighbor. If it’s the shortest, then you calculate that out to actual ASAP. Otherwise, let it float down the priority queue and come back to it
EDIT 2: and I’m more saddened by the “senior” and “staff” level candidates who cant even pseudocode their way through tier 1. (People can have bad days! There’s a big difference between “I picked a language I thought would impress the interviewer, but I can’t remember the syntax 100%” and “but who is Loop?” | null | 0 | 1546270108 | 1546293761 | 0 | ecy5k1d | t3_aaxsey | null | null | t1_ecxsb1o | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5k1d/ | 1548327133 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | Oh, I'm pretty sure the "they" they're thinking of looks more like (((they))) | null | 0 | 1546270117 | False | 0 | ecy5kel | t3_ab601z | null | null | t1_ecy583f | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5kel/ | 1548327137 | 16 | t5_2fwo | r/programming | public | null |
False | atilaneves | t2_cwit7 | `-O2` because I've seen cases where it's faster than `-O3` and I didn't want to try both of them for each and every example. Also because at that point it should be "optimised enough". IRL of course one would try with a lot of different optimisation flags.
`enable-cross-module-inlining` made no difference except for failing to link the generator example. `-release` had no effect (as expected) in the simple or lambda examples, but knocked off about 30% of the runtime off of the range implementation (~700ms). | null | 0 | 1546270141 | False | 0 | ecy5lc8 | t3_ab71ag | null | null | t1_ecy1fyw | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy5lc8/ | 1548327149 | 11 | t5_2fwo | r/programming | public | null |
False | aoeudhtns | t2_fiz4e | Well. I can tell you that many tech companies are sink-or-swim for new hires, often times having a probation period at the beginning. If he's a fast and eager learner he'll be fine, but I've seen quite a few people get churned up. | null | 0 | 1546270152 | False | 0 | ecy5lsu | t3_aaxsey | null | null | t1_ecxozbz | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy5lsu/ | 1548327154 | 6 | t5_2fwo | r/programming | public | null |
False | jorgp2 | t2_aiut5 | Is the hug of death still a thing? | null | 0 | 1546270196 | False | 0 | ecy5njf | t3_ab601z | null | null | t1_ecxx932 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5njf/ | 1548327177 | 1 | t5_2fwo | r/programming | public | null |
False | MagicaItux | t2_h7lo6 | Wow, that's impressive! | null | 0 | 1546270221 | False | 0 | ecy5ohf | t3_aav9js | null | null | t1_ecwg813 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecy5ohf/ | 1548327189 | 2 | t5_2fwo | r/programming | public | null |
False | Carighan | t2_478sf | It actually makes it worse. It's the kind of polite a mob boss is before he has you shot, basically 😱 | null | 1 | 1546270242 | False | 0 | ecy5pcj | t3_ab601z | null | null | t1_ecy4d71 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5pcj/ | 1548327199 | -4 | t5_2fwo | r/programming | public | null |
False | atilaneves | t2_cwit7 | In D, importing `std.range: xxx` still parses all of `std.range`. It wouldn't make any difference.
I disagree on printing - that's what the example is supposed to do. I made sure to count print time on purpose in case there were differences with regards to buffering, etc. | null | 0 | 1546270242 | False | 0 | ecy5pcz | t3_ab71ag | null | null | t1_ecy1i1x | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy5pcz/ | 1548327199 | 8 | t5_2fwo | r/programming | public | null |
False | Euphoricus | t2_eojv1 | No mention of [Enterprise FizzBuzz](https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition)? | null | 0 | 1546270359 | False | 0 | ecy5u1n | t3_ab6ce5 | null | null | t3_ab6ce5 | /r/programming/comments/ab6ce5/fizzbuzz_in_10_different_languages/ecy5u1n/ | 1548327257 | 3 | t5_2fwo | r/programming | public | null |
False | phreadom | t2_328og | The fact that you're being down-voted for pointing out the fact that east Asians are the most heavily discriminated against in college admissions (more than whites) goes to show you what kind of crowd we're dealing with around here and how pervasive the mentality is to "silence the wrong-thinker."
Pointing out that a black person can get admitted with a score several hundred points lower than an Asian with a PERFECT score, because admissions staff want to fill diversity quotas and there are "too many Asians", so they want to punish FAR MORE QUALIFIED candidates to push racial diversity quotas. This isn't subjective either. These Asians actually score VASTLY better on standard tests like the SAT etc... and in reality score very well on personality, likeability, etc (despite lies trying to claim that they lack the kind of personality the school is looking for)... but are punished because of their race. Because they want to see EQUALITY OF OUTCOME and push for equal representation and "more diverse" student bodies. Less white people and Asians, more black and brown people. It's literally what these people admit. They want to see more equality of outcome, so they punish over-represented groups, even if those groups worked much harder, are much more qualified, etc.
> Espenshade & Radford (2009)—Asian-Americans have the lowest acceptance rate for each SAT test score bracket, having to score on average approximately 140 point higher than a White student, 270 points higher than a Hispanic student and 450 points higher than a Black student on the SAT.
http://asianamericanforeducation.org/en/issue/discrimination-on-admissions/
It doesn't matter that you're perfectly correct and quoting a reliable source to point out how a racial minority in the US is being negatively impacted by this obsession with "diversity". What matters is that you pointed out something problematic to their narrative. | null | 0 | 1546270363 | False | 0 | ecy5u7l | t3_ab601z | null | null | t1_ecy2kxb | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5u7l/ | 1548327258 | 43 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546270371 | 1546270697 | 0 | ecy5uiu | t3_ab601z | null | null | t1_ecy3079 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy5uiu/ | 1548327262 | -17 | t5_2fwo | r/programming | public | null |
False | atilaneves | t2_cwit7 | That's interesting. Two of the D examples use `printf` but the other two use `writeln` and that locks as well. That doesn't stop the D generator version from being as fast as the simple (printf) one though. | null | 0 | 1546270383 | False | 0 | ecy5v00 | t3_ab71ag | null | null | t1_ecxz4rb | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy5v00/ | 1548327268 | 12 | t5_2fwo | r/programming | public | null |
False | dominiklohmann | t2_1zb2ywnn | The hack is probably necessary because the end iterator was required to be of the same type as the begin iterator in earlier C++ versions, which is not necessarily true for ranges (e.g. sentinel values as end iterator for infinite ranges or generators). | null | 0 | 1546270505 | False | 0 | ecy5zvp | t3_ab71ag | null | null | t1_ecy373v | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy5zvp/ | 1548327329 | 6 | t5_2fwo | r/programming | public | null |
False | jephthai | t2_591d | Holy long variable names, batman! Is that a rustacean thing? | null | 0 | 1546270540 | False | 0 | ecy61a1 | t3_ab6ce5 | null | null | t1_ecxvm0u | /r/programming/comments/ab6ce5/fizzbuzz_in_10_different_languages/ecy61a1/ | 1548327346 | 1 | t5_2fwo | r/programming | public | null |
False | Korrigan33 | t2_6balc | I like this, makes it sound more random and unexpected then a bus, also less preventable then being hit by a bus. | null | 0 | 1546270546 | False | 0 | ecy61ip | t3_ab601z | null | null | t1_ecy49w7 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy61ip/ | 1548327349 | 8 | t5_2fwo | r/programming | public | null |
False | mathstuf | t2_4580a | When standards and implementations differ by so much (e.g., compilers offering previews of a language) or the standard doesn't cover parts of what projects actually need (e.g., exporting symbols, deprecation, and other attributes before C++14), compiler detection is the only real way to do this stuff. When writing a new compiler, you don't want to have to fix every project to not fall into a `#error unknown compiler` hole, so you emulate some other compiler at the start. Eventually, you diverge and you make your own preprocessor symbol set. This is why you should always detect compilers from specific to generic (GCC generally being something "every" compiler claims to be). Anything GCC would add for detection of "I'm really GCC" would just end up being copied as well. Clang is also now in this pile as there are numerous Clang-based C++ compilers out there. | null | 0 | 1546270581 | False | 0 | ecy62xq | t3_ab3s8n | null | null | t1_ecxro8p | /r/programming/comments/ab3s8n/even_more_fun_with_building_and_benchmarking/ecy62xq/ | 1548327366 | 11 | t5_2fwo | r/programming | public | null |
False | ChrisRR | t2_de2j4 | Don't worry. I'm giving it all my thumbs up. | null | 0 | 1546270612 | False | 0 | ecy6466 | t3_aaxvf8 | null | null | t1_ecwy0e1 | /r/programming/comments/aaxvf8/generation_i_pokémon_cries_explained/ecy6466/ | 1548327382 | 1 | t5_2fwo | r/programming | public | null |
False | jephthai | t2_591d | Does kotlin do the map lazily, or is it going to allocate the whole list before printing it out? | null | 0 | 1546270690 | False | 0 | ecy679u | t3_ab6ce5 | null | null | t1_ecy4die | /r/programming/comments/ab6ce5/fizzbuzz_in_10_different_languages/ecy679u/ | 1548327422 | 1 | t5_2fwo | r/programming | public | null |
False | paolomainardi | t2_3iasr | Alibaba cloud is totally missing and it's one of the fastest global cloud provider of 2018. | null | 0 | 1546270714 | False | 0 | ecy689g | t3_ab7lq3 | null | null | t3_ab7lq3 | /r/programming/comments/ab7lq3/2019_cloud_services_predictions/ecy689g/ | 1548327433 | 1 | t5_2fwo | r/programming | public | null |
False | mcguire | t2_33oe8 | That would change the hash. Can't happen. | null | 0 | 1546270729 | 1546270947 | 0 | ecy68uw | t3_ab601z | null | null | t1_ecy2ir2 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy68uw/ | 1548327441 | 2 | t5_2fwo | r/programming | public | null |
False | Habba | t2_49sn2 | Read through your comments, you have some serious blinders on and are absolutely unwilling to see the bigger picture. Stop playing the victim, no one is putting a disadvantage on you. | null | 1 | 1546270895 | False | 0 | ecy6fk3 | t3_ab601z | null | null | t1_ecy4l0m | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6fk3/ | 1548327523 | 7 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546270969 | False | 0 | ecy6iku | t3_ab601z | null | null | t1_ecy53np | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6iku/ | 1548327560 | -4 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546270980 | False | 0 | ecy6j0u | t3_ab601z | null | null | t1_ecy0f8z | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6j0u/ | 1548327566 | 1 | t5_2fwo | r/programming | public | null |
False | SpiderFnJerusalem | t2_c9lg0 | "Complete garbage bus!" | null | 0 | 1546271025 | False | 0 | ecy6kte | t3_ab601z | null | null | t1_ecxyy20 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6kte/ | 1548327618 | 23 | t5_2fwo | r/programming | public | null |
False | mikemol | t2_2zoox | The developer was not submitting the kind of patches Linus knew he could.
(The new mode of speech reminds me of Mister Rogers...) | null | 0 | 1546271028 | False | 0 | ecy6ky7 | t3_ab601z | null | null | t1_ecy5pcj | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6ky7/ | 1548327620 | 11 | t5_2fwo | r/programming | public | null |
False | OzmodiarTheGreat | t2_51e6k | > Just because it has a computer in it doesn't make it programming. If there is no code in your link, it probably doesn't belong here. | null | 1 | 1546271093 | False | 0 | ecy6nkq | t3_ab601z | null | null | t3_ab601z | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6nkq/ | 1548327652 | -2 | t5_2fwo | r/programming | public | null |
False | gott_modus | t2_j2d1j | >You appear to need me. <3
how? | null | 0 | 1546271100 | False | 0 | ecy6nve | t3_aaxlm1 | null | null | t1_ecy4844 | /r/programming/comments/aaxlm1/because_im_dumb_i_write_better_code/ecy6nve/ | 1548327656 | 1 | t5_2fwo | r/programming | public | null |
False | yogthos | t2_73rg | A far better front-end framework comparison [here](https://medium.freecodecamp.org/a-real-world-comparison-of-front-end-frameworks-with-benchmarks-2018-update-e5760fb4a962). | null | 0 | 1546271189 | False | 0 | ecy6rkc | t3_ab7wte | null | null | t3_ab7wte | /r/programming/comments/ab7wte/best_web_development_frameworks_2019_backend_plus/ecy6rkc/ | 1548327702 | 1 | t5_2fwo | r/programming | public | null |
False | parla | t2_20vv | Looking at the generated code in compiler explorer, it looks like the Rust compiler is not hoisting the multiplications out of the loops, while the C++ compiler (I used clang) does. Furthermore, it seems like using \`for x in y..=z\` etc results in quite convoluted conditions.
&#x200B;
This code seems to perform the same as the C++: [https://godbolt.org/z/-nzALh](https://godbolt.org/z/-nzALh)
&#x200B;
It looks like there's some things to fix in the rust compiler.. | null | 0 | 1546271193 | 1546271568 | 0 | ecy6rqn | t3_ab71ag | null | null | t3_ab71ag | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy6rqn/ | 1548327704 | 37 | t5_2fwo | r/programming | public | null |
False | mcguire | t2_33oe8 | Right. Today we should be worried about a Tesla or BFR hitting Linus. | null | 0 | 1546271209 | False | 0 | ecy6sd7 | t3_ab601z | null | null | t1_ecxyz7a | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6sd7/ | 1548327711 | 1 | t5_2fwo | r/programming | public | null |
False | Russ3ll | t2_5pztg | Plus we get to imagine that bitch Karen getting hit by a bus. | null | 1 | 1546271258 | False | 0 | ecy6udu | t3_ab601z | null | null | t1_ecy1l35 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy6udu/ | 1548327736 | 0 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546271419 | False | 0 | ecy710s | t3_ab4rmh | null | null | t1_ecxzf5v | /r/programming/comments/ab4rmh/blackberrys_patent_for_nsa_backdoor_to_basic/ecy710s/ | 1548327818 | 1 | t5_2fwo | r/programming | public | null |
False | internet_badass_here | t2_f8wyq | The one time I got fizzbuzz it was just step one in a whiteboarding interview that immediately went on to more standard interview stuff. And we only spent about 30 seconds on fizzbuzz, as soon as I started describing the solution the interviewer cut me off and switched to a harder problem.
Tbh I think the obsession with fizzbuzz here does people a disservice by making people think if fizzbuzz is easy for them, they'll breeze through interviews. That's definitively NOT true. Most whiteboard problems are pretty challenging, not just at big N companies, and even if you know your shit cold there's still a good chance of washing out.
Also, from personal experience I can say it's super rare to get a fizzbuzz question in a whiteboard interview (I've had probably a dozen on-sites in the past year, and fizzbuzz only came up once). If you can't do fizzbuzz, chances are 99.9% you'll fail the online tech screen before you ever talk to anyone.
| null | 0 | 1546271425 | 1546271713 | 0 | ecy7191 | t3_aaxsey | null | null | t1_ecxhtnx | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy7191/ | 1548327821 | 2 | t5_2fwo | r/programming | public | null |
False | war_is_terrible_mkay | t2_ho9vu | What about FLO (free/libre/open) software which respects your freedoms and privacy? It exists and i use it almost exclusively.
I mean this doesnt invalidate your point if i apply principle of generosity to it - that most people dont understand that seemingly free things they use actually has an indirect cost (e.g. in the form of data collection).
But my small irk is that technically youre excluding one of the only things that does respect one's privacy from that summary of the world. And if we care about privacy would should be championing and propagating that thing. FLO software for president or something. | null | 0 | 1546271499 | 1546271745 | 0 | ecy74bq | t3_ab5fug | null | null | t1_ecxyv6v | /r/programming/comments/ab5fug/how_facebook_tracks_you_on_android_even_if_you/ecy74bq/ | 1548327859 | 45 | t5_2fwo | r/programming | public | null |
False | KyleG | t2_4qkqz | >and Eric s Raymond
Lol did Eric ghost write this? | null | 0 | 1546271520 | False | 0 | ecy7568 | t3_ab601z | null | null | t1_ecxx932 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7568/ | 1548327870 | 13 | t5_2fwo | r/programming | public | null |
False | KevinCarbonara | t2_7t5o9 | Huh. Maybe I should reapply. | null | 0 | 1546271534 | False | 0 | ecy75rn | t3_aaxsey | null | null | t3_aaxsey | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy75rn/ | 1548327877 | 1 | t5_2fwo | r/programming | public | null |
False | schveiguy | t2_5ag4m | I believe printf locks as well. | null | 0 | 1546271552 | False | 0 | ecy76hz | t3_ab71ag | null | null | t1_ecy5v00 | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy76hz/ | 1548327886 | 8 | t5_2fwo | r/programming | public | null |
False | clarkd99 | t2_gu0ze | So a monad is fascinating because you have statements that run in a certain order? Monad can do IO which can’t be pure. Don’t all none FP programs have order of statements as just the normal function code? Can’t normal programs do IO? Is the “maybe” idea not just an “if/else” structure that you can find in all programming languages?
What does it say about “pure FP” languages that they can’t store data, can’t do IO, can’t produce a random number without making a “smelly box” (monads) to contain the real stuff that the Math wonks don’t like? I have written pure functions in everyone of the 20 plus languages I have worked in so “pure functions” must be a great innovation of FP and Haskell right? | null | 0 | 1546271565 | False | 0 | ecy76vc | t3_aai5ap | null | null | t3_aai5ap | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecy76vc/ | 1548327891 | 1 | t5_2fwo | r/programming | public | null |
False | matthieum | t2_5ij2c | [If you don't pay for the product, you ARE the product](https://www.quora.com/What-does-the-term-If-you-dont-pay-for-the-product-you-are-the-product-mean).
Of course, you may still be the product even if you pay... | null | 0 | 1546271586 | False | 0 | ecy77x2 | t3_ab5fug | null | null | t1_ecxyv6v | /r/programming/comments/ab5fug/how_facebook_tracks_you_on_android_even_if_you/ecy77x2/ | 1548327904 | 12 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 1 | 1546271627 | False | 0 | ecy79pb | t3_ab601z | null | null | t1_ecy4a3s | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy79pb/ | 1548327926 | 0 | t5_2fwo | r/programming | public | null |
False | clarkd99 | t2_gu0ze | And my functions are just callable pieces of code in my program. Great explaination on your part, you must be very smart. | null | 0 | 1546271678 | False | 0 | ecy7bu6 | t3_aai5ap | null | null | t1_ecsbyf5 | /r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecy7bu6/ | 1548327952 | 1 | t5_2fwo | r/programming | public | null |
False | am0x | t2_bsryf | At one of my companies, we had a developer who was genius level smart. However he was super hard headed as well.
We were making packages that were somewhat interdependent on certain others and these packages were consumed by all internal teams in the company.
They weren't complicated packages...mostly pretty small, modularized, and easy to use. We also were inner-sourcing it so it was expected that it would maintained by all the development teams with our team being the ones who reviewed pull requests and merged code.
Anyway, that developer (I joined later on the team) had over-engineered these things so much, that no-one else in the company could make changes without studying and working in the codebase for over a couple of months. It was all unnecessary stuff too. Less about maintainability and more about, "How can we do this the most intelligent (complicated) way possible?" He left the team after awhile and new components built were way more simplified. I still get Slack messages from old coworkers saying that they were banging their heads against a wall at the codebase until they got to one of the new components.
So I totally agree with your comment. | null | 0 | 1546271694 | False | 0 | ecy7cia | t3_aaxlm1 | null | null | t1_ecxhoj2 | /r/programming/comments/aaxlm1/because_im_dumb_i_write_better_code/ecy7cia/ | 1548327960 | 4 | t5_2fwo | r/programming | public | null |
False | i-eat-kittens | t2_z290n | My point is that you attacked their question rather than say something constructive. Not a great way to come off as easy to work with, open minded and willing to address any gaps you might have in your knowledge. | null | 0 | 1546271706 | 1546274105 | 0 | ecy7d0f | t3_aaxsey | null | null | t1_ecy3vwr | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy7d0f/ | 1548327967 | 2 | t5_2fwo | r/programming | public | null |
False | RasterTragedy | t2_zrkyg | Software renderer? Or physics? | null | 0 | 1546271794 | False | 0 | ecy7gpb | t3_aajb7r | null | null | t1_ecxj88x | /r/programming/comments/aajb7r/how_doom_fire_was_done/ecy7gpb/ | 1548328011 | 1 | t5_2fwo | r/programming | public | null |
False | KevinCarbonara | t2_7t5o9 | I don't have any problems with these questions in general. Especially like the manhole cover one, which appears to have been meant to test someone's creativity, as well as their ability to address impossible problems calmly when under pressure. What I do have a problem with is the average interviewer's response to the absurd questions.
My personal least favorite is when an interviewer says, "We're not looking for any in-depth knowledge of the language or problem domain since this isn't what you've worked on in the past. We're just looking at how you solve problems." Then after you quickly solve a problem with a creative and moderately efficient solution with no access to the internet, "Your syntax is wrong. And you aren't using the techniques and design patterns that are common in this language. I thought your resume said you had 5 years experience?" | null | 0 | 1546271805 | False | 0 | ecy7h6p | t3_aaxsey | null | null | t1_ecxqhny | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy7h6p/ | 1548328018 | 21 | t5_2fwo | r/programming | public | null |
False | am0x | t2_bsryf | It depends on the system you are working in, the language, and if performance is a big factor. Sometimes code needs to be a little complicated simply because the scope is complicated as well. | null | 0 | 1546271838 | False | 0 | ecy7ios | t3_aaxlm1 | null | null | t1_ecwj6cn | /r/programming/comments/aaxlm1/because_im_dumb_i_write_better_code/ecy7ios/ | 1548328036 | 1 | t5_2fwo | r/programming | public | null |
False | jftitan | t2_27xbs | I had a client correct me because I stated the "bus factor" about myself in regards to his company's IT. He did the same thing, "let's look at, at the idea of winning the lottery" perspective.
I had to correct him. My life luck does not involve winning the lottery. My odds were better at being hit by a bus. Because if things were fortunate(lotto), I wouldn't be working for him.
months later I quit them, and sure enough I started getting calls this month. | null | 0 | 1546271840 | False | 0 | ecy7irk | t3_ab601z | null | null | t1_ecy4kyi | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7irk/ | 1548328037 | 101 | t5_2fwo | r/programming | public | null |
False | phreadom | t2_328og | I don't accept that premise in the least. My grandparents were dirt poor farmers. Slavery has been over for more than 150 years in this country. Many generations have passed since then, especially in the black community, where most people my age are already grandparents.
So no. You have a culture that doesn't value education, doesn't value wealth, or perhaps more importantly doesn't understand the value of wealth management, and thus spends even more on "luxury goods" than far more financially affluent whites do, for example, out of a short sighted desire for conspicuous consumption... to "play rich" rather than actually BE rich, and in doing so actually perpetuate their own misery etc...
Those things are not the fault of someone long dead. They don't get to blame slavery a century and a half later. They don't get to claim that all white people today benefit from slavery, as only around 5% of whites actually owned slaves, and almost entirely in the south, and slavery was not involved in the industry of the north, or the creation of this country and what made it great, its science, industry, technology, government, philosophy, educational systems, etc etc... and further, far more Brazilians owned slaves than Americans, and yet you hear nothing about them and their guilt. Or the Arabs who had a larger African slave trade, and even enslaved far more than a million white Europeans, etc.
You only ever hear this notion that somehow blacks gets to perpetually claim that slavery is the excuse for why they are losers today. It's someone else's fault they didn't get a good education, didn't work as hard, etc. It's white people's fault... and all white people benefit from the privilege of having slave owning ancestors, despite the reality that the vast majority don't have such ancestors, or anything to do with slavery (such as my ancestors all being in the north, most being recent immigrants after slavery ended, and those that were here were actually fighting on the side of the north against slavery and the confederacy, etc.... where hundreds of thousands of good white people died to help end slavery.)
Further, you seem to ignore the fact that men and women simply do not have the same interests. You should not expect there to ever be a 50/50 split, or equal representation.
Further, if you have a group in a company in this country (the US) with 75% white males, and only 12% blacks, that would actually be a perfect representation of racial makeup in this country... and that's before you actually consider the percentages of those groups that actually are interested in STEM fields... advanced programming, etc.
What you want to work on is ensuring equal opportunity. That means ensuring that you don't discriminate in admissions or selection, against ANYONE, so long as they are qualified. It means that if you're going to offer financial aid, that you do so based on ACTUAL FINANCIAL NEED, not on skin color or ethnicity. It means that if you end up with 95% white males, if that's who actually applied, and that's who actually were qualified, then there is nothing wrong with that.
There is nothing wrong with not having 50/50 splits between men and women in everything. There is nothing wrong with having UNequal racial representation if not all racial groups show equal interest.
The idea that you would even WANT such balanced representation shows a misguided ideological bias that assumes (incorrectly) that all people are totally equal in ability, interests, etc. They're not. Nor should we expect them to be by any stretch of the imagination.
Thus trying to force these kinds of "equal outcomes" based on all these misguided premises inevitably leads to WRONGFUL discrimination today against whites, Asians, males, etc... because they tend to be over-represented in higher education, STEM fields, etc... where misguided people seem to think that it's a bad thing that must be fixed by forcing in non-whites, non-asians, non-males, etc.
And they HAVE been doing this kind of thing in Sweden and other highly egalitarian societies for years now... and what actually happens in reality is that when given the highest degree of choice, THE GENDER DIVIDE GROWS WIDER, because men choose stereotypically male fields, and women choose stereotypically female fields WHEN TOTALLY FREE TO CHOOSE.
We KNOW what the outcome will be because these tests have been done over and over... and while you can FORCE some more balance by pushing women to do things they're not as interested in, and penalizing men for doing what they are interested in (and generally better qualified for)... you can get temporary increases in parity, but they always revert back to the previous imbalance when allowed to actually choose for themselves. Because, again, people are not all equal. They don't all have the same interests or abilities.
PUSHING diversity is WRONG.
Ensuring equality of OPPORTUNITY is valid, even if it means very unequal outcomes in terms of gender, sex, racial makeup, etc.
The minute you look at a group that is proposed primarily of whites, or males, or Asians, or whatever... and you think "THIS IS A PROBLEM THAT NEEDS TO BE ADDRESSED" and you think trying to artificially create "more balance", then at that moment it is most likely you who are the actual problem because you misunderstand the facts at hand and thus your attempts to "help" are likely to actually harm rather than help because there was not a real problem to begin with and you're creating one instead where one didn't previously exist. | null | 1 | 1546271848 | False | 0 | ecy7j3e | t3_ab601z | null | null | t1_ecy5725 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7j3e/ | 1548328041 | 7 | t5_2fwo | r/programming | public | null |
False | mpyne | t2_3w2b6 | No advantages other than the attacker-resistant backdoor. But for the kinds of businesses Blackberry sells to that very much **is** a feature. In this situation being able to choose a backdoor that only the business can use to monitor data flows would be considered very useful by quite a few IT managers out there.
It's like being able to do your own proxy MITM TLS CA architecture (which is the normal way of "solving" this kind of use case) but presumably easier to manage.
All other things being equal the system is much slower than more secure means though so even in that use case it might still not be desirable. | null | 0 | 1546271852 | False | 0 | ecy7j9h | t3_ab4rmh | null | null | t1_ecxxcwq | /r/programming/comments/ab4rmh/blackberrys_patent_for_nsa_backdoor_to_basic/ecy7j9h/ | 1548328044 | 2 | t5_2fwo | r/programming | public | null |
False | takingastep | t2_1qzza4a | Could also have gone with Neptunia, but this was great! | null | 0 | 1546271864 | False | 0 | ecy7jre | t3_ab601z | null | null | t1_ecy4p6y | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7jre/ | 1548328049 | 3 | t5_2fwo | r/programming | public | null |
False | steveklabnik1 | t2_d7udf | > It looks like there's some things to fix in the rust compiler..
Possibly! Remember that the Rust language and C/C++ have different semantics with regards to overflow. It may be the programmer's "fault" for not writing the code with the equivalent semantics (you can make them have the same semantics, but it's not the default). | null | 0 | 1546271878 | False | 0 | ecy7kbd | t3_ab71ag | null | null | t1_ecy6rqn | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy7kbd/ | 1548328056 | 11 | t5_2fwo | r/programming | public | null |
False | Heroiini | t2_mf5vxcz | Affirmative action programs (i.e., these "diversity programs") are always based on equality of outcome approach. Equality of opportunity would not penalize superior races such as whites and asians, which is clearly the point here.
SJWs are the actual nazis and race theqorists. | null | 0 | 1546271931 | False | 0 | ecy7mog | t3_ab601z | null | null | t1_ecy1vgf | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7mog/ | 1548328087 | -108 | t5_2fwo | r/programming | public | null |
False | Zedechariaz | t2_xmlpob | I mean I litterally said in my second sentence that my first sentence was some kind of a joke designed to make you angry but I guess you didnt read up until then...
That's the issue with people like you : so busy talking about them they can't have a real discussion with anyone.
Im so happy your comment got downvoted so much, makes me proud of the Linux community. A lot of them probably also are white males (me too), but apparently they're less self-centered than you. | null | 1 | 1546271933 | False | 0 | ecy7msd | t3_ab601z | null | null | t1_ecy3dcm | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7msd/ | 1548328087 | 6 | t5_2fwo | r/programming | public | null |
False | zid | t2_3edra | Over in the real world, we'd just make a look up table for each nibble/byte/whatever and do two+ lookups and concatenate them.
The code would be much simpler to understand. | null | 0 | 1546271940 | 1546278901 | 0 | ecy7n2w | t3_aavq8r | null | null | t3_aavq8r | /r/programming/comments/aavq8r/reversing_an_nbit_number_in_olog_n_time/ecy7n2w/ | 1548328091 | 1 | t5_2fwo | r/programming | public | null |
False | steveklabnik1 | t2_d7udf | > They don't import everything ranges-related in the other languages either
There is something to be said for defaults though; the easy way is the way most people do things. Making it easier to not import all the code is a benefit.
It really does depend on what exactly you're testing, though. See my comment below about integer overflow semantics; you could make the same argument in the opposite direction for that! | null | 0 | 1546271996 | False | 0 | ecy7pe4 | t3_ab71ag | null | null | t1_ecy1i1x | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy7pe4/ | 1548328120 | 9 | t5_2fwo | r/programming | public | null |
False | ProgVal | t2_9pe2w | try `...` instead | null | 0 | 1546272012 | False | 0 | ecy7q1f | t3_aac4hg | null | null | t1_ectwsoj | /r/programming/comments/aac4hg/modern_c_lamentations/ecy7q1f/ | 1548328127 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | > would not penalize superior races
>**superior races**
And they've shown their true colors! Pack it up boys, we're done here. | null | 0 | 1546272017 | False | 0 | ecy7qa1 | t3_ab601z | null | null | t1_ecy7mog | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7qa1/ | 1548328130 | 106 | t5_2fwo | r/programming | public | null |
False | mandingo23 | t2_64gpa | > but because they have an historical advantage.
What historical advantage do Asians have over Caucasians? | null | 0 | 1546272047 | False | 0 | ecy7rj4 | t3_ab601z | null | null | t1_ecy4bs6 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7rj4/ | 1548328146 | 10 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546272063 | 1546282681 | 0 | ecy7s73 | t3_ab601z | null | null | t1_ecy79pb | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7s73/ | 1548328154 | -11 | t5_2fwo | r/programming | public | null |
False | Heroiini | t2_mf5vxcz | Best comment ITT. | null | 0 | 1546272068 | False | 0 | ecy7sex | t3_ab601z | null | null | t1_ecy53e8 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7sex/ | 1548328157 | -12 | t5_2fwo | r/programming | public | null |
False | atilaneves | t2_cwit7 | Update: The Rust versions can all be made to run faster with a simple edit. I've updated the timings and edited some of the text. | null | 0 | 1546272121 | False | 0 | ecy7unn | t3_ab71ag | null | null | t3_ab71ag | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy7unn/ | 1548328212 | 30 | t5_2fwo | r/programming | public | null |
False | schveiguy | t2_5ag4m | Ooh, that's interesting. Same issue with the D version.
I had to work a bit on it, but this does work and is 172ms vs the \~1000ms:
return
recurrence!"a[n-1]+1"(1)
.then!((z) {
auto ztotal = z * z;
return iota(1, z + 1).then!((x) {
auto xtotal = x * x;
return iota(x, z + 1)
.filter!(y => y * y + xtotal == ztotal)
.map!(y => tuple(x,y,z));
});
}); | null | 0 | 1546272218 | False | 0 | ecy7ys5 | t3_ab71ag | null | null | t1_ecy6rqn | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy7ys5/ | 1548328263 | 15 | t5_2fwo | r/programming | public | null |
False | sickofthisshit | t2_bw07 | Surprisingly, there appear to be at least a few people who believe ESR is not a complete twat. (ESR himself, of course, is the leader in this category.) Many of them are interested in computers and discussing them. That they have difficulty in understanding human communication and personality is unfortunate but perhaps expected. | null | 0 | 1546272219 | False | 0 | ecy7yu4 | t3_ab601z | null | null | t1_ecy7568 | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy7yu4/ | 1548328263 | 19 | t5_2fwo | r/programming | public | null |
False | static_motion | t2_dgqiv | "*Whoever drives a bus like that should be retroactively aborted*" | null | 0 | 1546272281 | False | 0 | ecy81j4 | t3_ab601z | null | null | t1_ecxynlc | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy81j4/ | 1548328297 | 482 | t5_2fwo | r/programming | public | null |
False | annodomini | t2_1qoq3 | I suspected that at first as well, but I tried the Rust example with locking `stdout` at the beginning and using `writeln!` on the resulting handle, and it performed about the same.
It looks like in Rust that the issue might actually be the inclusive ranges (`1..=z`, etc). [According to a comment](https://www.reddit.com/r/rust/comments/ab7hsi/comparing_pythagorean_triples_in_c_d_and_rust/ecy5pv7/) on /r/rust, if you replace that with `1..(z+1)`, which is what the ranges examples in the other languages do, it goes about twice as fast. | null | 0 | 1546272295 | False | 0 | ecy8260 | t3_ab71ag | null | null | t1_ecxz4rb | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy8260/ | 1548328305 | 6 | t5_2fwo | r/programming | public | null |
False | albod47 | t2_2qjg9x1u | Nah this was back at the beginning of the year, first lab we got, and it said absolutely nothing about styling or spacing | null | 0 | 1546272382 | False | 0 | ecy862o | t3_aaxsey | null | null | t1_ecx6orr | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy862o/ | 1548328353 | 2 | t5_2fwo | r/programming | public | null |
False | TetsuoSama | t2_fyg8a | From a logical point of view, your comment could only be true if you thought that white supremacists could not be white. It’s awful logic and the comment makes no fucking sense at all. | null | 1 | 1546272388 | False | 0 | ecy86dr | t3_ab601z | null | null | t1_ecy4itg | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy86dr/ | 1548328357 | -6 | t5_2fwo | r/programming | public | null |
False | albod47 | t2_2qjg9x1u | I think I put like 2 lines in between my first two functions and then 3 lines between the 2nd and 3rd and he was not happy about it | null | 0 | 1546272431 | False | 0 | ecy88dd | t3_aaxsey | null | null | t1_ecxpr95 | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy88dd/ | 1548328381 | 1 | t5_2fwo | r/programming | public | null |
False | Serpens-Caput | t2_7novc58 | I would not shed a tear, probably lol | null | 0 | 1546272458 | False | 0 | ecy89n0 | t3_ab601z | null | null | t3_ab601z | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy89n0/ | 1548328398 | -8 | t5_2fwo | r/programming | public | null |
False | DoctorAcula_42 | t2_12612i3k | Nice, I'm a new-ish developer in Atlanta as well. I'm living in Buckhead, but I'm sure I'll move out if and when I get married. Do you have a bad commute toward the city or something a little nearer to Duluth? | null | 0 | 1546272462 | False | 0 | ecy89t4 | t3_aav9js | null | null | t1_ecwixll | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecy89t4/ | 1548328399 | 1 | t5_2fwo | r/programming | public | null |
False | ur_real_d4a | t2_2voc1w7a | Lol, you know me better. There are people who bend and there are who don't. I asked them a question at the end of the interview. I prefer to work with intelligent people who value opinions of others. If the question was really important to them they should have been able to justify it.
I got hired by another team from the same company, that is how I learned about who was hired instead of me and could talk to her during lunch. I got an employee of the month award in the same company (10k+ employees) and multiple other awards for my performance.
| null | 0 | 1546272463 | False | 0 | ecy89vh | t3_aaxsey | null | null | t1_ecy7d0f | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecy89vh/ | 1548328400 | 3 | t5_2fwo | r/programming | public | null |
False | matthieum | t2_5ij2c | I would suspect the issue is more likely on LLVM side, rather than rustc, as optimizations are done by LLVM. Unfortunately, I would also say that's generally par for the course: optimizations are notoriously finicky, being based on pattern recognition, so a slight tweak to the optimizable code may prevent loop reordering and loop hoisting :( | null | 0 | 1546272470 | False | 0 | ecy8a7c | t3_ab71ag | null | null | t1_ecy6rqn | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy8a7c/ | 1548328404 | 14 | t5_2fwo | r/programming | public | null |
False | parla | t2_20vv | Indeed! So `for z in 1..` will end the loop safely instead of overflowing?
Hoisting the squaring seems like something that should be possible regardless of overflow semantics though, right? | null | 0 | 1546272474 | False | 0 | ecy8aev | t3_ab71ag | null | null | t1_ecy7kbd | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy8aev/ | 1548328407 | 1 | t5_2fwo | r/programming | public | null |
False | ZoDalek | t2_12jkz0 | I'm not so familiar with rust, but can't it do something like this?
for i in 1u32..=100 {
match (i % 3, i % 5) {
(0, 0) => println!("FizzBuzz"),
(0, _) => println!("Fizz"),
(_, 0) => println!("Buzz"),
(_, _) => println!("{}", i),
}
} | null | 0 | 1546272482 | False | 0 | ecy8ase | t3_ab6ce5 | null | null | t1_ecxvm0u | /r/programming/comments/ab6ce5/fizzbuzz_in_10_different_languages/ecy8ase/ | 1548328411 | 10 | t5_2fwo | r/programming | public | null |
False | mattj1 | t2_4c8zx | This isn't about blaming anyone for anything. It's about enabling the kids who would have worked on this stuff if given the opportunity to get into the field, instead of pretending history has no effect on people's position in life.
And who mentioned men vs. women? Maybe take a few steps back and look at how you can positively impact the project by proposing a modified system instead of picking a fight. | null | 0 | 1546272514 | 1546272818 | 0 | ecy8cd6 | t3_ab601z | null | null | t1_ecy7j3e | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy8cd6/ | 1548328431 | 14 | t5_2fwo | r/programming | public | null |
False | burntsushi | t2_382gi | You got downvoted, but in this particular example, you're right. `println!` isn't in the hot path, so locking stdout doesn't really make a difference here.
The reason why folks are jumping on `println!` is because we're used to seeing contrived benchmarks between Rust and whatever where the performance is, in part, determined by I/O and where the Rust program uses line buffering/thread safe I/O and the other program either uses block buffering or doesn't do thread safe I/O. On some work loads, this leads to folks confused about the performance difference. In many cases, locking stdout and using `writeln!` (or using `io::BufWriter(io::stdout())`) fixes the issue. | null | 0 | 1546272538 | False | 0 | ecy8dhj | t3_ab71ag | null | null | t1_ecy2j8d | /r/programming/comments/ab71ag/comparing_pythagorean_triples_in_c_d_and_rust/ecy8dhj/ | 1548328444 | 19 | t5_2fwo | r/programming | public | null |
False | sickofthisshit | t2_bw07 | Your argument about the filesystem and standard library is bogus: a large, featureful language does not mean that high level features *must* be used. Clearly you would not *use* calls like `system()` to implement low-level functions, or call standard IO, but that doesn't mean there can't be lower levels of abstraction that you could still use. | null | 1 | 1546272593 | False | 0 | ecy8g4u | t3_ab601z | null | null | t1_ecy3rac | /r/programming/comments/ab601z/what_if_linus_torvalds_gets_hit_by_a_bus/ecy8g4u/ | 1548328477 | 0 | t5_2fwo | r/programming | public | null |
False | tuckmuck203 | t2_5816u | Yeah I just wanted to clarify in case anyone who read his comment didn't know. | null | 0 | 1546272621 | False | 0 | ecy8hin | t3_aav9js | null | null | t1_ecxqb9f | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecy8hin/ | 1548328494 | 1 | 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.