archived stringclasses 2 values | author stringlengths 3 20 | author_fullname stringlengths 4 12 ⌀ | body stringlengths 0 22.5k | comment_type stringclasses 1 value | controversiality stringclasses 2 values | created_utc stringlengths 10 10 | edited stringlengths 4 12 | gilded stringclasses 7 values | id stringlengths 1 7 | link_id stringlengths 7 10 | locked stringclasses 2 values | name stringlengths 4 10 ⌀ | parent_id stringlengths 5 10 | permalink stringlengths 41 91 ⌀ | retrieved_on stringlengths 10 10 ⌀ | score stringlengths 1 4 | subreddit_id stringclasses 1 value | subreddit_name_prefixed stringclasses 1 value | subreddit_type stringclasses 1 value | total_awards_received stringclasses 19 values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
False | [deleted] | None | [deleted] | null | 0 | 1546199981 | False | 0 | ecw5w4o | t3_aawt2w | null | null | t1_ecw5vx6 | /r/programming/comments/aawt2w/what_is_a_binary_file/ecw5w4o/ | 1548278315 | -1 | t5_2fwo | r/programming | public | null |
False | IamApuggo | t2_9p71ujm | I actually got this exact question at an interview a few months back. Their reasoning, "Google asks this question, so we will too" | null | 0 | 1546199983 | False | 0 | ecw5wa5 | t3_aaxsey | null | null | t1_ecvvop9 | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw5wa5/ | 1548278317 | 33 | t5_2fwo | r/programming | public | null |
False | squee147 | t2_70n8v | I routinely work in three different languages. Can never remember which one uses which functions. God bless the internet. | null | 0 | 1546200003 | False | 0 | ecw5xb3 | t3_aaxsey | null | null | t1_ecvx0wy | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw5xb3/ | 1548278329 | 59 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546200020 | False | 0 | ecw5y3r | t3_aav9js | null | null | t1_ecw0hm4 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw5y3r/ | 1548278340 | 2 | t5_2fwo | r/programming | public | null |
False | muc26 | t2_lgd0dum | I agree, I assumed he was neutral because it wasn’t mentioned in the blog post. I can see that a young manager might be feeling himself and be cocky to an older employee. | null | 0 | 1546200049 | False | 0 | ecw5zl0 | t3_aav9js | null | null | t1_ecw5ksr | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw5zl0/ | 1548278358 | 1 | t5_2fwo | r/programming | public | null |
False | int2d | t2_1ywgqli9 | You still have to ask questions to interview a candidate. The point is that they will no longer ask questions like "how do you reverse a linked list." | null | 0 | 1546200055 | False | 0 | ecw5zun | t3_aaxsey | null | null | t1_ecvyech | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw5zun/ | 1548278361 | 9 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | The thing about Linux supposedly being unsafe because of no file-locking screams to me that it's supposed to be straight-up FUD. | null | 0 | 1546200071 | 1546202640 | 0 | ecw60r3 | t3_aalc4n | null | null | t1_ecv36gc | /r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ecw60r3/ | 1548278373 | 4 | t5_2fwo | r/programming | public | null |
False | MagicaItux | t2_h7lo6 | Nice! Do you have any advice for a Software Engineer in his 20s? | null | 0 | 1546200103 | False | 0 | ecw62e4 | t3_aav9js | null | null | t1_ecvv6oh | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw62e4/ | 1548278420 | 6 | t5_2fwo | r/programming | public | null |
False | QuickLikeABunnny | t2_11c7v3 | I got stuck in an infinite loop of clicking your awesome list. Thanks. | null | 0 | 1546200144 | False | 0 | ecw64jg | t3_aaqyit | null | null | t1_ecu854j | /r/programming/comments/aaqyit/github_jonatasbaldinawesomeawesomeawesome_awesome/ecw64jg/ | 1548278447 | 1 | t5_2fwo | r/programming | public | null |
False | __j_random_hacker | t2_4rnnt | > If you already have a fixed size input (or bounded size), reversing is already O(1).
If we use Fredman and Willard's [Word RAM model](https://en.wikipedia.org/wiki/Word_RAM), which is a much more accurate model of existing computers than the plain RAM model (some variant of which you must be assuming here), then the OP's algorithm drops from O(n) to O(n log log n / log n), distinguishing it from the naive bit-at-a-time algorithm you describe, which remains O(n). (Each machine word is assumed to hold at least log2(n) bits, so the input occupies O(n / log n) machine words. Each such word needs to be swapped with another word, which takes O(1) time, and have its bits reversed, which takes O(log log n) time; the latter dominates.)
The underlying problem here is really that a single problem-size parameter n fails to capture everything interesting about a computational problem, because it can't distinguish between algorithms that operate on individual bits, and algorithms that exploit the fact that a computer can typically operate on multiple bits in a single operation.
Instead of assuming a Omega(log n) word size, we could simply acknowledge the existence of a word size parameter w. You might be surprised to learn that improvements with respect to this parameter *are* taken seriously by researchers in academia. For example, when the [Shift-Or algorithm for approximate substring matching](https://en.wikipedia.org/wiki/Bitap_algorithm) was discovered, it was rightly heralded as a breakthrough in string algorithms, and led to many published papers. This despite the fact that it "only" improves on the existing DP algorithm by a constant factor w. | null | 0 | 1546200145 | False | 0 | ecw64ku | t3_aavq8r | null | null | t1_ecvie89 | /r/programming/comments/aavq8r/reversing_an_nbit_number_in_olog_n_time/ecw64ku/ | 1548278448 | 21 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546200145 | False | 0 | ecw64me | t3_aav9js | null | null | t3_aav9js | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw64me/ | 1548278448 | 1 | t5_2fwo | r/programming | public | null |
False | FrozenAsss | t2_2u5lrwd3 | "Financially independent" lol and then what, you gonna sit at home and watch tv all day? | null | 0 | 1546200192 | False | 0 | ecw66yt | t3_aav9js | null | null | t1_ecvzspk | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw66yt/ | 1548278477 | 2 | t5_2fwo | r/programming | public | null |
False | lampreyforthelods | t2_2p9babcp | I just took a university class that really stressed writing self-documenting code by using variable names that are descriptive and quickly give the code reader a good idea of what it does. On top of that, they stressed using comments that explain why the code is necessary rather than just restating what your self-documenting variable name choices should have communicated in the first place. For actual documentation, we had to create two websites using doxygen and markdown. The first website was for users and we had to include really basic information on usage of the program that showed off the suite of photo filters and stuff we implemented for them to use. The second website was for developers and included a coding reference for review, a guide on how a developer could add functionality to the existing code base, a bit about the coding style we used with links to Google's main Google Style primer, as well as explanations for why we used different design patterns and where they are used in the code.
​
Does that sound like a good approach to commenting/documentation? You never really know with university courses. | null | 0 | 1546200237 | False | 0 | ecw696r | t3_aavv6v | null | null | t1_ecvwjyd | /r/programming/comments/aavv6v/the_art_of_writing_documentation/ecw696r/ | 1548278505 | 2 | t5_2fwo | r/programming | public | null |
False | ToshiUmezawa | t2_ortlp52 | Hats off to you! I tried building a SIP server in December last year, running into the fact that nothing was built that I could easily setup and integrate with and OpenSIPS looked very daunting.
https://github.com/encryption/SIP
I never finished implementing RFC 3261 though. I see that you are actually calling out to Java for the SIP implementation and using JS on top of that to handle the interface? Cool stuff my man! | null | 0 | 1546200338 | False | 0 | ecw6eca | t3_a8xl5o | null | null | t3_a8xl5o | /r/programming/comments/a8xl5o/i_decided_to_build_my_own_sip_server_and_i_think/ecw6eca/ | 1548278568 | 2 | t5_2fwo | r/programming | public | null |
False | liquidpele | t2_35puu | The other side is that if your hiring sucks, it’s easy to hire really expensive older devs who suck but do it at twice the price. At least sucky juniors you can usually train... | null | 0 | 1546200364 | False | 0 | ecw6flg | t3_aav9js | null | null | t1_ecvrf1i | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6flg/ | 1548278584 | 6 | t5_2fwo | r/programming | public | null |
False | nikomo | t2_4tulx | You do realize we'll never get to this point in human development without solving problems like government corruption first, right? We're talking about a level of society that can't exist for the next couple hundred years, minimum.
We're already seeing an explosive growth in general education. When the oldest living generation was born late enough that they've been taught to resist manipulation, we're looking at a second enlightenment.
Your views on existing governance are completely irrelevant in regards to the automated future. | null | 0 | 1546200373 | False | 0 | ecw6g47 | t3_aandti | null | null | t1_ecw584a | /r/programming/comments/aandti/older_workers_pushed_out_of_work_or_forced_into/ecw6g47/ | 1548278591 | 1 | t5_2fwo | r/programming | public | null |
False | RagingOrangutan | t2_6x55e | The problem is that the author didn't cast it as "here's an anecdote." The author titled it "this is how SV treats their employees," as if this was some universal thing. No doubt it happens, and no doubt that it's shitty when it does, but it is shit that they turned the anecdote into a generalization about the entire industry there. | null | 0 | 1546200428 | False | 0 | ecw6ivv | t3_aav9js | null | null | t1_ecvpnjk | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6ivv/ | 1548278625 | 5 | t5_2fwo | r/programming | public | null |
False | userdel | t2_5t0gc | lofi hip hop: [https://www.youtube.com/watch?v=hHW1oY26kxQ](https://www.youtube.com/watch?v=hHW1oY26kxQ) | null | 0 | 1546200469 | False | 0 | ecw6l02 | t3_aaw3nh | null | null | t3_aaw3nh | /r/programming/comments/aaw3nh/whats_your_favourite_programming_background/ecw6l02/ | 1548278651 | 1 | t5_2fwo | r/programming | public | null |
False | RiPont | t2_ah3mg | Just find a startup that *isn't run by a fucking 20-something*. I left the startup world behind when I had a family, but I still know several serial-startup-coders who are 40+ and 50+.
Startups are a highly-varied world. They're *small*, and each one plays by its own rules. You here about the "bro culture" women face, which I've never seen personally but I I know exists. Well, there are some startups that are definitely "bro culture". There are many ways a small, inexperienced, "break the rules" group flush with investor money can be toxic.
Startups are a *risk*. Each one is risky in its own unique way, and that includes the risk that the culture will be toxic. | null | 0 | 1546200472 | False | 0 | ecw6l5g | t3_aav9js | null | null | t1_ecviefp | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6l5g/ | 1548278653 | 12 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | That "solution" has yet another problem, in the fact that even a seemingly reasonable amount of files can turn out to be way too much.
My biggest gripe has always been with the default `explorer.exe` - it can take a few good minutes just displaying a directory with like 100 files. Sorting them always takes so much longer. | null | 0 | 1546200482 | False | 0 | ecw6lnv | t3_aalc4n | null | null | t1_ecu705g | /r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ecw6lnv/ | 1548278659 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546200527 | False | 0 | ecw6nzg | t3_aav9js | null | null | t1_ecw185y | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6nzg/ | 1548278688 | 2 | t5_2fwo | r/programming | public | null |
False | verylittlefinger | t2_ta9ws | Um, no.
First of all, this is not “Microsoft” and these are not “software developers”. It’s one team, and these are PMs.
Teams at Microsoft do have a pretty wide amount of power - at the division level - on how to structure the recruiting process, and it looks like this PM team decided to experiment. But if you are an actual SDE and you would expect that your interview would be like that at Microsoft, you would be very surprised.
Source: work at Microsoft. Am a developer. Interview people. | null | 0 | 1546200543 | False | 0 | ecw6ori | t3_aaxsey | null | null | t3_aaxsey | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw6ori/ | 1548278698 | 615 | t5_2fwo | r/programming | public | null |
False | RiPont | t2_ah3mg | Well, it's highly abstract, so coders are constantly inventing (read "blogging about") new boundaries to push that they invented. | null | 1 | 1546200587 | False | 0 | ecw6r0u | t3_aav9js | null | null | t1_ecw2egj | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6r0u/ | 1548278725 | -1 | t5_2fwo | r/programming | public | null |
False | RiPont | t2_ah3mg | If there's something cool and cutting edge in EE, it gets a patent.
If there's something cool and cutting edge in "CS", it gets a blog post. Maybe a conference. | null | 0 | 1546200648 | False | 0 | ecw6u5s | t3_aav9js | null | null | t1_ecw5cpm | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6u5s/ | 1548278764 | 0 | t5_2fwo | r/programming | public | null |
False | michaelochurch | t2_4ocdf | I never said that you were crushingly stupid. I was more than willing to give you credit for inexperience.
Being wrong on occasion doesn't mean someone's not smart. When I was 7, I believed in Santa Claus. When I was 17, I believed in corporate meritocracy. One ages out of such things. | null | 0 | 1546200668 | False | 0 | ecw6v3w | t3_aav9js | null | null | t1_ecw5scz | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6v3w/ | 1548278776 | -1 | t5_2fwo | r/programming | public | null |
False | foxh8er | t2_60e80 | Wait, what? | null | 0 | 1546200677 | False | 0 | ecw6vj1 | t3_aav9js | null | null | t1_ecw6nzg | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6vj1/ | 1548278781 | 0 | t5_2fwo | r/programming | public | null |
False | verylittlefinger | t2_ta9ws | Um, yes, whilst technically correct, it really depends on which formula. In high energy physics a lot of formulae doesn’t fit on a wide whiteboard. Yes, these do need to be looked up. But if you call yourself a physicist and have to look up a volume of a sphere... this I haven’t seen. Most formulae at this level I either remember or can derive in my brain in microseconds. Same for CompSci. | null | 0 | 1546200690 | False | 0 | ecw6w7s | t3_aaxsey | null | null | t1_ecvx0wy | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw6w7s/ | 1548278789 | -16 | t5_2fwo | r/programming | public | null |
False | Iteria | t2_3nf7u | There is definitely a middle ground. I work for a company that has been around for 20 years. It's not a startup by any means, but it's not a megacorp. It's only 100 employees period.
Personally I hate startups. The party atmosphere of it is off putting because I have a home life and I'd like to get back to it. Work is work. I don't like high levels of bureaucracy, but some paper pushing is necessary I've found. Structure can lead to innovation. Plus over a found that startups are prone to "the loudest guy wins" syndrome, which never works out for me personally. | null | 0 | 1546200693 | False | 0 | ecw6wda | t3_aav9js | null | null | t1_ecvtomz | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6wda/ | 1548278791 | 17 | t5_2fwo | r/programming | public | null |
False | mghobbs22 | t2_tpan9k | I mean, if you're 'old' it's your fault and if you're 'young' it's your fault. I can't wait to be middle aged so everything is someone else's problem! /s | null | 0 | 1546200709 | False | 0 | ecw6x51 | t3_aav9js | null | null | t1_ecvxl1n | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw6x51/ | 1548278801 | 10 | t5_2fwo | r/programming | public | null |
False | verylittlefinger | t2_ta9ws | Exactly right. | null | 0 | 1546200776 | False | 0 | ecw70h6 | t3_aaxsey | null | null | t1_ecw4smz | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw70h6/ | 1548278843 | 0 | t5_2fwo | r/programming | public | null |
False | o11c | t2_fjay8 | Not the Linux FUSE, but a filesystem in userspace nonetheless. | null | 0 | 1546200781 | False | 0 | ecw70q6 | t3_aalc4n | null | null | t1_ecvpnut | /r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ecw70q6/ | 1548278846 | 1 | t5_2fwo | r/programming | public | null |
False | verylittlefinger | t2_ta9ws | That’s because it’s not. It’s one PM team, not all of MICROSOFT like the article claims. | null | 0 | 1546200832 | False | 0 | ecw73bg | t3_aaxsey | null | null | t1_ecw5eto | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw73bg/ | 1548278878 | 25 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | I think I'm the only sorta-techsavvy person I know, and who didn't have problems with this terrible, terrible, broken piece of trash called "Windows Update" on w10. Others with whom I spoken, told me a few stories of how Windows would be updating for hours on end, or get stuck on update. The worst I had was back when I was using w7 - the update got stuck and I had to restart the computer, at which point it finished the update in a few minutes.
No idea whether it was blind luck and I got in the A/B testing group that received a gentle treatment, or whether I set some hidden combination of settings that made WU bearable. | null | 0 | 1546200873 | False | 0 | ecw75hf | t3_aalc4n | null | null | t1_ecvyg0s | /r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ecw75hf/ | 1548278905 | 2 | t5_2fwo | r/programming | public | null |
False | Iteria | t2_3nf7u | Or... The company can just naturally grow and stabilize. Not every startup gets bought out. Most of they survive are just the major of companies: profitable small to medium sized companies.
Also MBAs are necessary or you get lawsuits and bankrupted. I have no idea why our field can't respect what other fields do, buy there's a reason why they've survived this long as professions. | null | 0 | 1546200885 | False | 0 | ecw7642 | t3_aav9js | null | null | t1_ecvpif9 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7642/ | 1548278912 | 6 | t5_2fwo | r/programming | public | null |
False | captainjon | t2_3lf81 | What is how the interviewer expected one to answer that? Obviously they have an accepted answer in their notes and any deviation is marked incorrect. So what they want? Look up size of aircraft. Look up size of ping pong ball. Do maths. Subtract for seats and overhead bins. Account for ball is sphere and aluminium tube is cylinder. Do they want to hear that thought process or just state 37,789,175 balls... | null | 0 | 1546200969 | False | 0 | ecw7a7q | t3_aaxsey | null | null | t1_ecvvop9 | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw7a7q/ | 1548278965 | 18 | t5_2fwo | r/programming | public | null |
False | 0100011001011001 | t2_bn3gf | Above code would still compile if IO weren't an instance of the Monad typeclass. | null | 0 | 1546200971 | False | 0 | ecw7aaq | t3_aavxpp | null | null | t1_ecw3p2c | /r/programming/comments/aavxpp/advent_of_haskell_thoughts_and_lessons_learned/ecw7aaq/ | 1548278965 | 12 | t5_2fwo | r/programming | public | null |
False | 28f272fe556a1363cc31 | t2_10xu46 | I've been having an interesting experience with documentation for my fellow developers.
* If there is no documentation they refuse to even look at my scripts.
* If I write short to the point documentation they struggle to understand.
* If I write longer documentation including context, they won't read it, and will claim I haven't written any documentation.
I've just started writing documentation to myself. It's actually worked out pretty well.
Mostly because I do end up being the one reading the documentation, then verbally explaining the relevant parts to the current situation. | null | 0 | 1546201008 | False | 0 | ecw7bxa | t3_aavv6v | null | null | t3_aavv6v | /r/programming/comments/aavv6v/the_art_of_writing_documentation/ecw7bxa/ | 1548279013 | 11 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | > And it cannot be fixed because that spaghetti code is spread across multiple subsystems.
Correction: it cannot be fixed because they can't break compatibility with old trash. Thus they are stuck with problems that were with the system since the old bad MS-DOS. | null | 0 | 1546201012 | False | 0 | ecw7c5m | t3_aalc4n | null | null | t1_ecu0pzv | /r/programming/comments/aalc4n/windows_file_access_performance_compared_to_linux/ecw7c5m/ | 1548279016 | 2 | t5_2fwo | r/programming | public | null |
False | TheCanadianVending | t2_iix5d | That's fair. I know personally that GC has a place in games (my area of most knowledge) however it needs to be done at a higher level. Unity and Unreal both have garbage collection, but they are done at a higher level that the engine can work around - and in fact the engine does the garbage collection itself when it is opportune. To have to wait for a generic garbage collection solution in a time-critical loop is not at all beneficial and would cause major hiccups in game play
I agree that people go "GC = BAD" and they refuse to admit otherwise, but you have to have nuance and also say that a generic solution will probably cause issues for many.
Essentially what I'm saying is keep the low-level low and the high-level high. | null | 0 | 1546201022 | False | 0 | ecw7cl9 | t3_aac4hg | null | null | t1_ecw3uof | /r/programming/comments/aac4hg/modern_c_lamentations/ecw7cl9/ | 1548279021 | 2 | t5_2fwo | r/programming | public | null |
False | Sarcon5673 | t2_ebelr | I really want to learn about models of computation. They came up when I looked into solving some computational geometry problems, and I couldn't understand the papers because I'm not familiar with the concept.
How did you learn about them? And what resources would you recommend to learn them? | null | 0 | 1546201059 | False | 0 | ecw7ed1 | t3_aavq8r | null | null | t1_ecw64ku | /r/programming/comments/aavq8r/reversing_an_nbit_number_in_olog_n_time/ecw7ed1/ | 1548279043 | 6 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | > I'm highly unimpressed by a design that has a potential for a simple debug build to be 100x slower, and that slowness comes from overuse of templates; because on top of that we are using an unsafe language, and I don't even want to think about the perf mess of an ASAN debug build of that kind of crap.
None of my codebases are 100x slower in debug build, but I use templates intelligently, even if they're nested. When I have deep runtimes that themselves are tested well, I generally force inlining/optimization on the runtime functions, even in debug builds, so they are flattened in that situation as well. This is what most people *should* do, but they don't. Honestly, the compiler *should* do it unless optimizations are outright disabled (people shouldn't debug with `-O0`, but `-Og`). Even in MSVC, I generally turn on certain optimizations even in debug builds - mainly constant string pooling, very limited code folding and inlining, intrisics, (in the linker) unused reference deletion - things like that that don't actually impact being able to debug. I'm experimenting with using LTO in debug builds as well, as I'm under the belief that in the long run, to properly use C++ (or any future derivations of the language) will require something akin to LTO to make proper modularity work right (and allow automatic cross-TU template instantiation), and with things like Clang's ThinLTO, it's not particularly slow anymore. Also improves the resulting code quality dramatically regardless of templates/whatnot - even C benefits dramatically.
I don't think that templates are the problem, but a misuse of them, and them not using them intelligently. They're very powerful, and deep template systems can make things much faster/easier *if used well*. The problem is that I see them misused. I use templates heavily even in AVR code, which is 8-bit. However, in that case their intent is to actually reduce code-size (by automating codegen, minimizing algorithm size by specifying minimal type sizes, and such). It's actually pretty neat to see - the ADC/temperature lookup sequence in my 3d printer firmware is actually entirely constexpr/templated (and you never have to adjust the table/values). The lookup functions/sequences and a bunch of helper values (max stride, min/max ADV values for uint8/uint16 conversions, etc) are generated via constexpr and templates. The code that comes out is pretty much as optimal as the compiler can generate for AVR. It's a little wonky to read though, but that's mainly because I've yet to go through it and clean it up, and also because I wanted it to be compatible with MSVC Intellisense which doesn't always like valid templates/constexpressions, so I have to write things odd so it's OK with them.
My entire philosophy with metaprogramming is basically to make the programmer's job easier in the end, and to make the program faster/code smaller. If it doesn't do that, then it isn't the right tool for the job in that situation. I strongly dislike how, say, Unreal Engine uses templates. I also dislike how C++ uses templates heavily... everywhere, in the stdlib. Honestly, things like looking up type traits *should be part of the compiler itself*, and a core language feature. Because they instead put everything into headers and templates, it makes compile times go way up. Why do I have to use `std::enable_if[_t]` instead of having some form of conditional compilation like D has? It's frustrating, and makes things more difficult and slower. In my AVR code and my systems-level code, I usually end up writing my own forms of things like `enable_if` and type traits, which are much shallower (and also easier to use). They also compile much faster. They generally have a maximum of two levels of template indirection (usually only one), whereas the stdlib can have much, much more. They also prefer using constant values instead of constexpr functions, which reduces the overhead in the compiler a bit. Never understood why `numeric_limits` gives `max` as a constexpr function rather than as a value. In my AVR lib, at least, the equivalent would be `trait<int32>::max`, which has *one* level of template indirection, and basically no compile time overhead. You can also use `max_value<int32>`. I'd prefer it if the compiler understood 'members' of primitive types, so you could have `int32::max`. That'd be a language feature though, and I doubt that the committee is interested in that.
> And your concern is legitimate if for example you need a comparison function for integers for a sort algo that is in one of your critical paths, and you have the choice between a construct and a compilation process that allows for inlining, and one that does not.
Even in the situation of where you want to have your algorithm within a source file, you can technically specialize a function-pointer overload in the header to redirect to the source file, potentially providing more context via a thin wrapper for more explicit types (including sizes or alignment or such). Would depend on the situation. With LTO, you can technically defer templates to the linking stage, which allows templates to be instantiated outside of the translation unit (I accidentally ran into this when disabling LTO on a project caused it to not build), but that wouldn't fix your build speed concerns (though you *can* use LTO with debug builds).
I'd still prefer using a template wrapper around things like that simple because I find using a template parameter easier than function pointers (and I can be less explicit about types/modifiers like `__restrict`). Fewer spurious warnings, and `typename Fn` and `Fn &&functor` is a bit easier to read at a glance than `std::pair<int, double>(*functor)(int, bool, int, int)`. Even if you need to specify the types, `typename R, typename... Args` and `R (&& functor) (Args...)` is still easier to read, in my opinion.
Though I'd prefer wrapping them in a 'global' template such as `template <typename R, typename... Args> using functor = R(*)(Args...);`, as you can then just use arguments in a more 'natural' looking fashion - `foo (functor<int, float, int, int, float> &&fn)`.
> So yeah we seem to be in line about some technical details realities, no problem about that, and let me try to summarize my spirit by: "try to use the right tool for the job".
My frustration in the discussion has been mainly that you seem to have the assumption that I'm implying use deeply nested templates everywhere. I'm not. They're a tool. I suspect and believe that they're the right tool for the job more often than many people do, but they're not always appropriate (or even feasible). That is also a language-side problem, and a few fixes to the compilation and template system would make them *far* better.
> Function pointers are not the universal panacea; neither are templates -- and neither are strictly more powerful than the other (at least in the practical sense, I've not thought about the formal one)
In terms of flexibility, templates are more powerful simply because they allow more potential types to be used, whereas function pointers are more strict (particularly when it comes to things like `__restrict`). That is potentially good or bad. Due to the current setup for templates in C++, you cannot really take advantage of this cross-translation unit. It's fixable, but it would require a language revision. It can be emulated, as said, using thin, `__forceinline`/`__attribute__((always_inline))` wrappers, but that's extra code.
Note that for many of these reasons I've been moving towards using Clang as a standard toolchain, as it allows me to implement language extensions more easily (and more likely to be added to Clang itself than dealing with GCC maintainers), it has faster (though suboptimal) ThinLTO, and has some very useful attributes, including an attribute-based enable if, which is obviously faster than using `std::enable_if`. Clang also has a concept of the fact that LTO allows templates to be instantiated cross-TU, and has more flexible precompiled header support than MSVC or GCC (including supporting chained PCHs). | null | 0 | 1546201072 | False | 0 | ecw7ezi | t3_aac4hg | null | null | t1_ecveehe | /r/programming/comments/aac4hg/modern_c_lamentations/ecw7ezi/ | 1548279051 | 1 | t5_2fwo | r/programming | public | null |
False | Iteria | t2_3nf7u | To me, it seems binary. Like I don't get everyone's feeling that you're either a small startup or you instantly because a megacorp or part of a megacorp. Most companies grown into a middle ground. That's what gets me.
At least for me the startup phase is the worst. I hate working at megacorps too, but there's definitely a place in the middle that a company can stay in for many decades if not forever. | null | 0 | 1546201074 | False | 0 | ecw7f33 | t3_aav9js | null | null | t1_ecvl7ry | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7f33/ | 1548279052 | 3 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546201190 | False | 0 | ecw7kgz | t3_aav9js | null | null | t1_ecw6x51 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7kgz/ | 1548279119 | 5 | t5_2fwo | r/programming | public | null |
False | foxh8er | t2_60e80 | They aren’t because I don’t work at Google or FB but thanks for asking. | null | 0 | 1546201197 | False | 0 | ecw7ku7 | t3_aav9js | null | null | t1_ecw5d4a | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7ku7/ | 1548279123 | -4 | t5_2fwo | r/programming | public | null |
False | mathstuf | t2_4580a | Using the `Monad`-ness of `IO` would involve using `return`, `>>=`, or `do`. It's just like doing `return {}` in Python doesn't mean you're using the Iterator interface. | null | 0 | 1546201231 | False | 0 | ecw7mft | t3_aavxpp | null | null | t1_ecw3p2c | /r/programming/comments/aavxpp/advent_of_haskell_thoughts_and_lessons_learned/ecw7mft/ | 1548279144 | 9 | t5_2fwo | r/programming | public | null |
False | __j_random_hacker | t2_4rnnt | O(log n) isn't quite right, but nor are several people's claims that this algorithm is "just as bad" as the naive bit-at-a-time one -- the only way that complaint can stand is if we assume a very unrealistic abstract model of a computer. Using the widely accepted [Word RAM model](https://en.wikipedia.org/wiki/Word_RAM), in which we assume only that a machine word is large enough to contain *the length of* the input (that is, at least log2(n) bits wide), your algorithm is O(n log log n / log n), which is strictly better than Ω(n).
I've gone into a bit more detail [here](https://www.reddit.com/r/programming/comments/aavq8r/reversing_an_nbit_number_in_olog_n_time/ecw64ku) if anyone's interested. | null | 0 | 1546201252 | False | 0 | ecw7ndy | t3_aavq8r | null | null | t3_aavq8r | /r/programming/comments/aavq8r/reversing_an_nbit_number_in_olog_n_time/ecw7ndy/ | 1548279155 | 6 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546201261 | False | 0 | ecw7nuc | t3_aaqyit | null | null | t1_ecv4w68 | /r/programming/comments/aaqyit/github_jonatasbaldinawesomeawesomeawesome_awesome/ecw7nuc/ | 1548279161 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546201272 | False | 0 | ecw7odx | t3_aav9js | null | null | t1_ecvtaja | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7odx/ | 1548279167 | 1 | t5_2fwo | r/programming | public | null |
False | FieldLine | t2_f9e9e | What on earth are you talking about? An EE graduate today has totally different training than an EE grad from 20 years ago. | null | 0 | 1546201278 | False | 0 | ecw7onm | t3_aav9js | null | null | t1_ecw0r64 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw7onm/ | 1548279170 | 2 | t5_2fwo | r/programming | public | null |
False | Deranged40 | t2_5tgjc | well, the positive half, at least. | null | 0 | 1546201294 | False | 0 | ecw7pbi | t3_aaxsey | null | null | t1_ecvzw7i | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw7pbi/ | 1548279179 | 10 | t5_2fwo | r/programming | public | null |
False | NotExecutable | t2_fw7wi | I got to sit in a few interviews for contractors we hired for various projects.
Generally, we talk about what we did, what we (want to) do in the current project and then ask what they did in the (recent) past. Questions generally come up naturally from that.
Generally, our project manager would ask the broad questions and relies on the developers to insert some specific questions to verify that they aren't bullshitting us. So if git comes up, I'd ask something about branching strategies or what cherry-picking is.
In one round of interview, we gave the candidates half a page of code and let them review it for half an hour. After that, we asked what they found and that also lend itself naturally to ask some more technical questions. It also sifted out a LOT of people who had more stuff on their resume than in their head.
We generally stay away from CS 101 type of questions or whiteboard problems. So far, it worked pretty well. And in some instances, we got to sift people out that weren't the right fit for our team, but probably would have aced the CS questions. By virtue of them being fresh of university. | null | 0 | 1546201338 | 1546201659 | 0 | ecw7rdf | t3_aaxsey | null | null | t1_ecw5zun | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw7rdf/ | 1548279203 | 7 | t5_2fwo | r/programming | public | null |
False | matthieum | t2_5ij2c | Actually, we have referral bonuses for each stage of interview cleared, so as to encourage resume submission even if in doubt! | null | 0 | 1546201340 | False | 0 | ecw7rg5 | t3_aaxsey | null | null | t1_ecw5hji | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw7rg5/ | 1548279204 | 23 | t5_2fwo | r/programming | public | null |
False | vickv123 | t2_2l6jczws | Very nice.
But, if someone could teach Me to solve the Rubik's cube, that would be amazing! | null | 0 | 1546201376 | False | 0 | ecw7t58 | t3_aaz7c3 | null | null | t3_aaz7c3 | /r/programming/comments/aaz7c3/wow/ecw7t58/ | 1548279225 | 1 | t5_2fwo | r/programming | public | null |
False | acroback | t2_ayq6q | I was asked a data flow problem by one of the Twitter interviewer's recently.
I gave him a solution but he was hell bent on using a spark like solution. It irks me that people have preconceived solutions and would not budge or are not open to new ways to solve problems.
From what I understand you must spend couple of months mugging hundreds of puzzles available online and then just write down perfect code on a whiteboard or a sharepad.
Obviously if you have been working for decades, you will lose out to someone who is fresh out of school but that's what industry wants.
| null | 0 | 1546201377 | False | 0 | ecw7t64 | t3_aaxsey | null | null | t1_ecvvvpy | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw7t64/ | 1548279226 | 299 | t5_2fwo | r/programming | public | null |
False | Kvathe | t2_ale5n | What? Would you consider car work to be a high-stakes, sexy affair? | null | 0 | 1546201407 | False | 0 | ecw7ul9 | t3_aaxmml | null | null | t1_ecw0hh0 | /r/programming/comments/aaxmml/the_next_big_bluecollar_job_is_coding/ecw7ul9/ | 1548279244 | 1 | t5_2fwo | r/programming | public | null |
False | FishPls | t2_g8fa4 | I'm one of those people who _really_ loves writing documentation.
Be it for end-users or other programmers, I think (useful) documentation is always handy to have. We had some pretty awful projects at my last workplace where the project was dependent on some fucking old and unspecified Tomcat version, installation was basically "on ubuntu 8.04 run these commands" (and even they were wrong), after the installation you were somehow supposed to know to move these 3 random files to another directory etc.
I really made sure to document my projects there well, and others appeared to be happy with it as well.
Code comments are another thing. For almost every line of code I write I think to myself "does this code do something that isn't immediately clear why it's done". If it does and it's not easy to rework the code itself to make it clear why it works the way it does, I comment the reasoning. I really have a hard time understanding people who don't bother commenting or documenting a single thing in their projects. Maybe they only expect similar l33t hack35s who are specialized in the same domain as they are to look at the project, or their code is so very clean that it obviously requires no explanation.. | null | 0 | 1546201460 | False | 0 | ecw7x31 | t3_aavv6v | null | null | t3_aavv6v | /r/programming/comments/aavv6v/the_art_of_writing_documentation/ecw7x31/ | 1548279275 | 12 | t5_2fwo | r/programming | public | null |
False | matthieum | t2_5ij2c | Indeed; I find vocals distracting in general, at least when I understand the language.
So either pure instruments (either only the musical track, electro, etc...) or "non-sensical" vocals (Enya, Gregorian Choirs, etc...). | null | 0 | 1546201499 | False | 0 | ecw7yv3 | t3_aaw3nh | null | null | t1_ecvjd30 | /r/programming/comments/aaw3nh/whats_your_favourite_programming_background/ecw7yv3/ | 1548279297 | 3 | t5_2fwo | r/programming | public | null |
False | Sebbe | t2_3z3kd | I can recommend checking out all of his videos. They're incredibly well-produced and delightfully technical. | null | 0 | 1546201565 | False | 0 | ecw81wj | t3_aaxvf8 | null | null | t1_ecw3hn7 | /r/programming/comments/aaxvf8/generation_i_pokémon_cries_explained/ecw81wj/ | 1548279334 | 33 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546201602 | False | 0 | ecw83m8 | t3_aav9js | null | null | t1_ecvx6tu | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw83m8/ | 1548279355 | 10 | t5_2fwo | r/programming | public | null |
False | foomprekov | t2_5hh96 | Young people write bad code, and most of them never learn to write good code. Even when they stop being young people. | null | 0 | 1546201685 | False | 0 | ecw87ik | t3_aav9js | null | null | t1_ecvvozs | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw87ik/ | 1548279404 | 32 | t5_2fwo | r/programming | public | null |
False | polytopey | t2_akus2 | Screw the valley, I hate this "be a manger or rot" mentality companies have for engineers. Luckily, I managed to get a job at a company that have diverging career choices, more managerial, or more engineering. | null | 0 | 1546201736 | False | 0 | ecw89vr | t3_aav9js | null | null | t3_aav9js | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw89vr/ | 1548279433 | 1 | t5_2fwo | r/programming | public | null |
False | goodDayM | t2_91klu | >> Also, not everyone has such antagonistic relationships with coworkers.
>
> Where do you get that from?
From your rants above:
* ... technically we are losers ...
* If you're 40 years old and have to explain to 26-year-old "product managers" ...
* If people knew, at 22, how much corruption, nepotism, and anti-meritocracy exist in the corporate world ...
* The managers and product people aren't "trying to build things". They're trying to climb the ladder.
You have a angry, 1-dimensional view of the people you work with. And you imagine a sad "game" in your head that everyone is playing.
I'm a realist too, and here's the reality I see: The software engineers and product managers I know work 40-hour weeks, rarely ever more than 45 hours. They range in age from 20s to 50s. After work they go home to the wives and kids, or sometimes bring them to the office. All of these people have hobbies or projects outside the office. They are human beings, just as you are, that like to have fun and are saving money for future goals.
Maybe you should work for a different company, or jump to a different career path. Or see a therapist. | null | 0 | 1546201744 | False | 0 | ecw8a9k | t3_aav9js | null | null | t1_ecw1k27 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8a9k/ | 1548279437 | 3 | t5_2fwo | r/programming | public | null |
False | UntestedMethod | t2_2jxjv6j7 | I feel like that middleground is a sweet spot. Proven sustainability without layers upon layers of bureaucracy. | null | 0 | 1546201780 | False | 0 | ecw8bxy | t3_aav9js | null | null | t1_ecw7f33 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8bxy/ | 1548279458 | 4 | t5_2fwo | r/programming | public | null |
False | feature_creep | t2_y22om | Alright, not "all right". | null | 0 | 1546201800 | False | 0 | ecw8cu5 | t3_aav9js | null | null | t1_ecw45y1 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8cu5/ | 1548279472 | 1 | t5_2fwo | r/programming | public | null |
False | nfrankel | t2_ayl6m | Congrats! | null | 0 | 1546201817 | False | 0 | ecw8dmd | t3_aayj7p | null | null | t3_aayj7p | /r/programming/comments/aayj7p/2018_my_year_end_programming_retrospective_my/ecw8dmd/ | 1548279481 | 1 | t5_2fwo | r/programming | public | null |
False | tannerntannern | t2_2kpl1dyi | I actually am a software engineer for what it's worth. | null | 0 | 1546201847 | False | 0 | ecw8ezf | t3_aaxmml | null | null | t1_ecw0hh0 | /r/programming/comments/aaxmml/the_next_big_bluecollar_job_is_coding/ecw8ezf/ | 1548279498 | 2 | t5_2fwo | r/programming | public | null |
False | Millkovic | t2_nfzx5 | It is an estimation problem. | null | 0 | 1546201872 | False | 0 | ecw8g4c | t3_aaxsey | null | null | t1_ecw7a7q | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw8g4c/ | 1548279512 | 7 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546202122 | False | 0 | ecw8rpc | t3_aav9js | null | null | t1_ecvysn0 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8rpc/ | 1548279681 | 1 | t5_2fwo | r/programming | public | null |
False | mtcoope | t2_gv4aa | Bought my first home at 24. Dont regret it at all. 70k was my starting in ohio. My mortgage is 600 a month, if I really wanted to rent out the other 2 bedrooms, I could make 400 per bedroom and my house would be +200 a month. | null | 0 | 1546202164 | False | 0 | ecw8tmx | t3_aav9js | null | null | t1_ecw13lw | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8tmx/ | 1548279705 | 3 | t5_2fwo | r/programming | public | null |
False | feature_creep | t2_y22om | You also wouldn't get any praise from most devs for having worked at facebook or google. Working there doesn't automatically make you a great developer, and in fact from using facebook and google APIs (facebook especially), I would actually have to think twice about hiring you if you had worked there. | null | 0 | 1546202272 | False | 0 | ecw8yrj | t3_aav9js | null | null | t1_ecw7ku7 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8yrj/ | 1548279769 | 1 | t5_2fwo | r/programming | public | null |
False | wotoan | t2_euada | I'd argue because it's technically cool to implement from your perspective, but no one is going to pay you for it since they can just download the office JVM.
Think about problems that businesses have that you can solve with your skills, versus creating difficult but useless things that show off your ability. Maybe someone is typing in Excel sheets into a database for 20$/hr, and you can automate this process to be completed in a day for a reasonable flat fee given that they'll never have to do it again. Not sexy, but you're getting paid, and it's a job you can get a reference and network from. | null | 0 | 1546202291 | False | 0 | ecw8zp0 | t3_aaxsey | null | null | t1_ecvzprn | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw8zp0/ | 1548279781 | 17 | t5_2fwo | r/programming | public | null |
False | CookieTheSlayer | t2_e7i18 | You have 0 experience with EE and have no clue what it involves | null | 0 | 1546202292 | False | 0 | ecw8zqj | t3_aav9js | null | null | t1_ecw0r64 | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw8zqj/ | 1548279782 | 1 | t5_2fwo | r/programming | public | null |
False | bobtehpanda | t2_b55lj | I mean, how many places need a custom-built JVM implementation? It’s a good demonstration of skill but that’s about it. | null | 0 | 1546202316 | False | 0 | ecw90uq | t3_aaxsey | null | null | t1_ecvzprn | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw90uq/ | 1548279795 | 7 | t5_2fwo | r/programming | public | null |
False | michaelochurch | t2_4ocdf | > You have a angry, 1-dimensional view of the people you work with.
Not really. I don't see it in stark antagonistic terms. The middle manager is an exploited proletarian, too. He's not the enemy. This is just another device the upper class uses to pit us against each other.
> ... technically we are losers ...
is true, though. I mean, the people who stole all the money sell it back to us, in exchange for the bulk of our time and complete, one-sided loyalty. It's bad enough that we're in this situation. Worse yet, we're expected to thank them for "the opportunity"... for not being *persona non grata* (and even worse off) in a system designed to use us up, then cull us as soon as we're no longer as useful as an off-the-shelf replacement.
> If you're 40 years old and have to explain to 26-year-old "product managers" ...
I probably shouldn't have put age into it, but the fact is that "product management" is a bullshit job. It exists to put between the executive and the worker two different bosses whom the executive can pit against each other (thus preventing the manager and worker from realizing their class interests are aligned). PMs (and various other "dotted line reporting" pathologies) exist so managers can't protect their own people.
> how much corruption, nepotism, and anti-meritocracy exist in the corporate world ...
That's realism, not antagonism. I'm not saying "everyone who works for a corporation is an asshole". I'm saying that the system is corrupt and was designed with malignant intent. Which is true.
> They're trying to climb the ladder.
Again, realism. It's hard to blame people at an individual level, for playing the game put ahead of them. Corporate capitalism isn't just meaningless; it actively searches out other peoples' stores of meaning and destroys them. It doesn't do that because the rank-and-file are bad people (they aren't). It does that because that's what best suits the people on whose behalf it really operates: the 0.01%, the generationally well-connected, and the executives. | null | 0 | 1546202591 | 1546202812 | 0 | ecw9dts | t3_aav9js | null | null | t1_ecw8a9k | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw9dts/ | 1548279956 | 2 | t5_2fwo | r/programming | public | null |
False | feature_creep | t2_y22om | I worked at a bigCo, and we once spent more time/money discussing if we should pay for Slack than it would have cost to just pay for Slack for the entire team for a year. When I pointed that out (with the math to back it up) I received groans and "yeah, you're probably right", but they still didn't pay for Slack. And add to that all the time we wasted because we didn't have access to our Slack chat history, so we had people asking the same stuff over and over because they couldn't just do a search for it in Slack (chat history is a paid feature in Slack and totally worth paying for). | null | 0 | 1546202647 | 1546202843 | 0 | ecw9gdr | t3_aav9js | null | null | t1_ecvy9jp | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw9gdr/ | 1548279987 | 16 | t5_2fwo | r/programming | public | null |
False | Vidofnir | t2_68t36 | I don't hire anybody who's worked at these ethically bankrupt companies. | null | 1 | 1546202707 | False | 0 | ecw9j9x | t3_aav9js | null | null | t1_ecvxkdo | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw9j9x/ | 1548280023 | 2 | t5_2fwo | r/programming | public | null |
False | bobtehpanda | t2_b55lj | Eh, I don’t know if it’s that true for CS. Except in edge cases you would never really write your own sorting algorithm, for example, let alone specific types like red-black trees. So I would see why most people would forget that over time. | null | 0 | 1546202713 | False | 0 | ecw9jj3 | t3_aaxsey | null | null | t1_ecw6w7s | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw9jj3/ | 1548280026 | 6 | t5_2fwo | r/programming | public | null |
False | bobtehpanda | t2_b55lj | If this were true, then the big tech companies would not be moving away from these types of questions. | null | 0 | 1546202803 | False | 0 | ecw9nru | t3_aaxsey | null | null | t1_ecvxdij | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw9nru/ | 1548280078 | 9 | t5_2fwo | r/programming | public | null |
False | justfordc | t2_6es0rtf | This is a type of problem called a [Fermi problem](https://en.wikipedia.org/wiki/Fermi_problem). Generally the goal is to get the right order of magnitude. (i.e. if the "real" answer is 37,789,175 balls, then both 10,000,000 and 100,000,000 are reasonable answers.)
*e*: correct number of 0s
| null | 0 | 1546202818 | 1546203701 | 0 | ecw9ojg | t3_aaxsey | null | null | t1_ecw7a7q | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecw9ojg/ | 1548280088 | 11 | t5_2fwo | r/programming | public | null |
False | vattenpuss | t2_brzia | O_o is that how unions work in the US? Sounds more like some type of guild system.
Unions do not define who can be in a professional, that's something fucking engineers or lawyers do. I have never heard of any union trying to limit what employees can do or slow down their progression (but then I work in communist cuck Sweden and not the glorious land of the free, home of the brave). | null | 0 | 1546202822 | False | 0 | ecw9opg | t3_aandti | null | null | t1_ecunz14 | /r/programming/comments/aandti/older_workers_pushed_out_of_work_or_forced_into/ecw9opg/ | 1548280090 | 2 | t5_2fwo | r/programming | public | null |
False | istarian | t2_4ttmg | It sort of sounds like the bigger problem is a general thought pattern of overworking yourself at a young age with the aim of getting rich quick and essentially retiring early. And if you're not doing that there must be something wrong.
Even if that was a possiblility for most people, not everybody is like that. | null | 0 | 1546202834 | False | 0 | ecw9pai | t3_aav9js | null | null | t3_aav9js | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecw9pai/ | 1548280097 | 1 | t5_2fwo | r/programming | public | null |
False | BadGoyWithAGun | t2_l2l3h | > You do realize we'll never get to this point in human development without solving problems like government corruption first, right?
I disagree, AI development is moving fast, and more or less totally independently of your government-worshipping bullshit. Total automation like that is definitely within reach this century, maybe even within 50 years. It's our job to make sure it's not used as an excuse for a total government takeover like you're trying to. Strong AI is no reason to throw out property rights and personal liberties, it has to work for the benefit of its owners or it's worthless to them. | null | 0 | 1546202967 | False | 0 | ecw9vqf | t3_aandti | null | null | t1_ecw6g47 | /r/programming/comments/aandti/older_workers_pushed_out_of_work_or_forced_into/ecw9vqf/ | 1548280204 | 0 | t5_2fwo | r/programming | public | null |
False | dblake123 | t2_ewy86 | Happy to see that some software companies are starting to see that the way they interview is fucked and starting to change. | null | 0 | 1546203104 | False | 0 | ecwa25a | t3_aaxsey | null | null | t3_aaxsey | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwa25a/ | 1548280283 | 7 | t5_2fwo | r/programming | public | null |
False | ex_nihilo | t2_3i3r8 | Many of the smartest fuckers I’ve met would never work for a big bank, health insurance, pharma, defense contractor, etc. I will consult for those companies but would not work for them on principle, as I believe that the ways they make money make the world worse for everyone. | null | 0 | 1546203138 | False | 0 | ecwa3qj | t3_aav9js | null | null | t1_ecvxwfo | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwa3qj/ | 1548280303 | 6 | t5_2fwo | r/programming | public | null |
False | istarian | t2_4ttmg | So? I think when it isn't necessary then it's a matter of choice. To act like they're stupid is making an unfounded judgement. | null | 0 | 1546203147 | False | 0 | ecwa44x | t3_aav9js | null | null | t1_ecvy09c | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwa44x/ | 1548280308 | 3 | t5_2fwo | r/programming | public | null |
False | hardwaregeek | t2_56oo8 | Context is important here. I was reading about the history of the technical interview and it partially stemmed from Bill Gates’ love of brain teasers and dislike for behavior interviews. And say what you will about technical interviews, they’re a lot better than behavioral ones. Behavioral interviews are biased towards candidates who the interviewers like and don’t tell you shit about technical capability. | null | 1 | 1546203149 | False | 0 | ecwa49f | t3_aaxsey | null | null | t1_ecvvow4 | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwa49f/ | 1548280310 | 1 | t5_2fwo | r/programming | public | null |
False | energydome | t2_3cmx8 | I work on a 14 person dev team, 10 of us are 40+. The others are in their mid/late 20s, slightly less experienced though incredibly talented. | null | 0 | 1546203182 | False | 0 | ecwa5tq | t3_aav9js | null | null | t1_ecvnifn | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwa5tq/ | 1548280329 | 4 | t5_2fwo | r/programming | public | null |
False | crossCounter23 | t2_1mfl202p | Gottem | null | 0 | 1546203234 | False | 0 | ecwa88b | t3_aav9js | null | null | t1_ecw226z | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwa88b/ | 1548280358 | 1 | t5_2fwo | r/programming | public | null |
False | ArkyBeagle | t2_r4aik | And sometimes it's not particularly deliberate on the part of the "firemen". | null | 0 | 1546203246 | False | 0 | ecwa8s5 | t3_aaxmml | null | null | t1_ecw061s | /r/programming/comments/aaxmml/the_next_big_bluecollar_job_is_coding/ecwa8s5/ | 1548280366 | 2 | t5_2fwo | r/programming | public | null |
False | hardwaregeek | t2_56oo8 | A few of my friends and I have gotten offers from some of the big N companies. One thing we’ve all noticed is that a lot of these companies never ask us to write real code. Sure, we write whiteboard stuff, but the code quality on that is usually terrible. For all these companies know, we could all code like assholes with one letter variable names and 100 line functions. I guess they’re just willing to live with the risk, but it is kinda odd. | null | 0 | 1546203331 | False | 0 | ecwacl7 | t3_aaxsey | null | null | t3_aaxsey | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwacl7/ | 1548280414 | 9 | t5_2fwo | r/programming | public | null |
False | rcfox | t2_6u4kr | Which base are you using for your orders of magnitude where 10000 is a reasonable estimate for 38 million? | null | 0 | 1546203332 | False | 0 | ecwacn8 | t3_aaxsey | null | null | t1_ecw9ojg | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwacn8/ | 1548280414 | 11 | t5_2fwo | r/programming | public | null |
False | XenonBG | t2_4akgi | Actually, 10k and 100k would be 3 and 2 orders of magnitude off, respectively. | null | 0 | 1546203336 | False | 0 | ecwactr | t3_aaxsey | null | null | t1_ecw9ojg | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwactr/ | 1548280417 | 3 | t5_2fwo | r/programming | public | null |
False | mtcoope | t2_gv4aa | I live in ohio, devs where I live top off at about 150k unless they want to switch to management. Decent houses here start at around 80k and a really nice house is about 300k.
How often do devs on the west actually make 450k to 800k salary+stock? Seems like that would be an exception. | null | 0 | 1546203336 | False | 0 | ecwacu5 | t3_aav9js | null | null | t1_ecvu1hk | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwacu5/ | 1548280417 | 9 | t5_2fwo | r/programming | public | null |
False | PolyPill | t2_3632e | I feel like you contradicted yourself there. You spend a lot of time trying to find the perfect employees by putting them through a crap load of random tests which you know causes rejections of good candidates on any step yet you are so desperate for applicants that you reward referrals at every stage.
That makes me think you and I have vastly different ideas of what the word “efficient” means. Is it really that difficult to fire people in the first few months who vastly oversold themselves? Or is it that after hiring you have no idea if they actually do well and just disappear into shifting responsibility and committees?
I guess my opinion is by testing people with brain teasers then all you’re doing is finding people who read brain teaser books. | null | 0 | 1546203360 | False | 0 | ecwady9 | t3_aaxsey | null | null | t1_ecw4smz | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwady9/ | 1548280430 | 22 | t5_2fwo | r/programming | public | null |
False | supertopher | t2_5za32 | Found the light earlier this year, but got a 50% pay raise and still live in a major metro area. Don't even need a car since transit is excellent, was able to afford a condo downtown, and I even lease out my parking spot for another $150/month. | null | 0 | 1546203414 | False | 0 | ecwagfi | t3_aav9js | null | null | t1_ecvmcpe | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwagfi/ | 1548280461 | 1 | t5_2fwo | r/programming | public | null |
False | oo0st | t2_yaxywbv | The same for me, earlier this month | null | 0 | 1546203508 | False | 0 | ecwaknf | t3_aaxsey | null | null | t1_ecvv4uw | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwaknf/ | 1548280514 | 29 | t5_2fwo | r/programming | public | null |
False | ex_nihilo | t2_3i3r8 | I like the “diversity BS”. Having a sausage fest fratboy dev culture is pure shit. | null | 0 | 1546203523 | False | 0 | ecwalc3 | t3_aav9js | null | null | t1_ecw2ckw | /r/programming/comments/aav9js/how_the_valley_treats_its_experienced_people/ecwalc3/ | 1548280522 | 6 | t5_2fwo | r/programming | public | null |
False | leprechaun1066 | t2_5qd1p | You should check out how Django do their documentation. They split it up into different styles depending on the intended audience. Not too far off from what your task was.
&#x200B;
[https://docs.djangoproject.com/en/2.1/](https://docs.djangoproject.com/en/2.1/) | null | 0 | 1546203532 | False | 0 | ecwalpa | t3_aavv6v | null | null | t1_ecw696r | /r/programming/comments/aavv6v/the_art_of_writing_documentation/ecwalpa/ | 1548280526 | 3 | t5_2fwo | r/programming | public | null |
False | Eirenarch | t2_46hjd | We literally have information about one department in one big tech company moving away from these types of questions. Also they might invent a better way to do it but this doesn't mean that the way they used before was not better than all previously known. | null | 1 | 1546203544 | False | 0 | ecwam9x | t3_aaxsey | null | null | t1_ecw9nru | /r/programming/comments/aaxsey/microsoft_totally_changed_how_it_interviews/ecwam9x/ | 1548280533 | 4 | t5_2fwo | r/programming | public | null |
False | ivquatch | t2_3a6gu | wat | null | 0 | 1546203546 | False | 0 | ecwamdf | t3_aavxpp | null | null | t1_ecvv610 | /r/programming/comments/aavxpp/advent_of_haskell_thoughts_and_lessons_learned/ecwamdf/ | 1548280535 | 5 | 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.