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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | gramie | null | My feeling is that the connection between music and programming is that both are centred upon the recognition and usage of patterns. Not just the GoF type of patterns, but recognizing what situation calls for a for loop or an if statement.
Once you understand the patterns, you can abstract problems and understand the ... | null | 0 | 1491237726 | False | 0 | dfryk15 | t3_633o3y | null | null | t3_633o3y | null | 1493760284 | 3 | t5_2fwo | null | null | null |
null | arbitrarycivilian | null | OK, I'm not too familiar with Rust's lifetime syntax, so I'll give you the benefit of the doubt that it's awful. But Rust is breaking new ground by attempting to be a mainstream language making use of affine logic, so a few rough spots is expected. Most languages do not introduce radical new concepts, so there is no ex... | null | 0 | 1491237736 | False | 0 | dfrykcm | t3_631p99 | null | null | t1_dfrv74r | null | 1493760288 | 1 | t5_2fwo | null | null | null |
null | PrintfReddit | null | Okay so if I'm someone looking for a genuine job at, say, a place like Google, I should be okay? Assuming I can get in, of course. | null | 0 | 1491237755 | False | 0 | dfrykwq | t3_637m7q | null | null | t1_dfrxxiy | null | 1493760297 | 16 | t5_2fwo | null | null | null |
null | CunningRunt | null | Because management and accounting types can't see past "why pay a US programmer $1 when we can hire the same guy in India for 10 cents?"
Except it's not the same guy. And that 10 cents usually increases to $1.89 after delays, communication problems, and rework. | null | 0 | 1491237822 | False | 0 | dfrymx5 | t3_637m7q | null | null | t1_dfrxyjr | null | 1493760341 | 70 | t5_2fwo | null | null | null |
null | tsirolnik | null | This one is posted here on monthly basis | null | 0 | 1491237831 | False | 0 | dfryn8a | t3_635ggh | null | null | t3_635ggh | null | 1493760346 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491237835 | False | 0 | dfryncg | t3_637m7q | null | null | t1_dfrydnj | null | 1493760346 | 1 | t5_2fwo | null | null | null |
null | lolomfgkthxbai | null | Any source for that? IIRC the tax rates are similar when you consider other taxes in addition to federal income taxes (e.g. state tax, payroll tax etc). The US seems to be [about average](https://data.oecd.org/tax/tax-on-personal-income.htm#indicator-chart) as a percentage of GDP. Someone has to pay for the largest mil... | null | 0 | 1491237848 | False | 0 | dfrynph | t3_637m7q | null | null | t1_dfrxpqn | null | 1493760352 | 43 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491237859 | 1491238100 | 0 | dfryo2t | t3_637m7q | null | null | t1_dfrxqip | null | 1493760357 | 0 | t5_2fwo | null | null | null |
null | Isvara | null | Blacks hats, unfortunately. | null | 0 | 1491237881 | False | 0 | dfryosd | t3_6344ep | null | null | t1_dfrmv65 | null | 1493760367 | 3 | t5_2fwo | null | null | null |
null | hobbykitjr | null | I've had issues where the 'coder' i was interviewing, handed off the phone to another guy to answer the screening questions... I proved by asking a personal question in the middle of the technical questions and he got tripped up and put the other guy back on the phone.
this was for an offshore developer. But where i w... | null | 0 | 1491237939 | False | 0 | dfryqig | t3_637m7q | null | null | t1_dfrxyjr | null | 1493760391 | 40 | t5_2fwo | null | null | null |
null | AspiringIdiot | null | It is not required, unfortunately. I don't know the exact logic why not, as all modern architectures I'm aware of (including embedded) could support this in an efficient way. | null | 0 | 1491237959 | False | 0 | dfryr4c | t3_6350ax | null | null | t1_dfrx6kk | null | 1493760399 | 3 | t5_2fwo | null | null | null |
null | time_lord_allonzy | null | I can't find the document linked on the website under releases. Surprising. | null | 0 | 1491237965 | False | 0 | dfryr9v | t3_637m7q | null | null | t3_637m7q | null | 1493760403 | -1 | t5_2fwo | null | null | null |
null | AGivant | null | Good for Canadian and Mexican IT guys, we need just T1 visa (NAFTA stuff). | null | 0 | 1491237991 | False | 0 | dfrys40 | t3_637m7q | null | null | t3_637m7q | null | 1493760415 | 75 | t5_2fwo | null | null | null |
null | wayne62682 | null | Good. H-1B has been abused far too long | null | 0 | 1491238008 | False | 0 | dfrysmh | t3_637seo | null | null | t3_637seo | null | 1493760422 | 32 | t5_2fwo | null | null | null |
null | sirin3 | null | Only way you can survive 35 years in the industry | null | 0 | 1491238065 | False | 0 | dfryuch | t3_635ser | null | null | t1_dfrjjyi | null | 1493760453 | 8 | t5_2fwo | null | null | null |
null | dantheflyingman | null | What? well that feature seems far less impressive now. | null | 0 | 1491238084 | False | 0 | dfryuya | t3_6350ax | null | null | t1_dfrnpil | null | 1493760461 | 8 | t5_2fwo | null | null | null |
null | liranbh | null | I think we can forget about it. More and more web dev for all purposes | null | 0 | 1491238102 | False | 0 | dfryvi2 | t3_636jjs | null | null | t1_dfrwl2s | null | 1493760469 | -1 | t5_2fwo | null | null | null |
null | standard_revolution | null | Could we please keep this discussion free from politics? r/programming seems to be one of the few places where politics don't matter, I would like to keep it that way. (Maybe excluding things like net neutrality or Internet privacy. Things which directly influence the programming sector. | null | 0 | 1491238102 | False | 0 | dfryvib | t3_637m7q | null | null | t1_dfrynph | null | 1493760469 | -17 | t5_2fwo | null | null | null |
null | doublehyphen | null | You can hire a good senior developer in Stockholm (where all the tech jobs are) for 100k USD including all taxes. Can you do that in th US? Remember to include true cost of health insurance. | null | 0 | 1491238119 | False | 0 | dfryw0x | t3_637m7q | null | null | t1_dfrxpqn | null | 1493760476 | 10 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491238120 | False | 0 | dfryw1y | t3_637m7q | null | null | t1_dfrxpqn | null | 1493760476 | 1 | t5_2fwo | null | null | null |
null | OneWingedShark | null | > This begs the question is if the Indian candidates are that bad, why hire them to begin with?
Because of perceptions.
Take, for instance, *training*.
Most commercial companies view training as a complete loss, not as an investment -- this is one instance where the US's armed forces are vastly superior to "the ... | null | 0 | 1491238135 | False | 0 | dfrywfh | t3_637m7q | null | null | t1_dfrxyjr | null | 1493760481 | 21 | t5_2fwo | null | null | null |
null | irishsultan | null | I assume that it will fail because of things like branch prediction (and the fact that you change a value in one branch and not in another)
You could solve this by not having an if statement and instead doing something like `is_valid = is_valid && pass_char == auth_char`, although I'm not entirely certain that... | null | 0 | 1491238211 | False | 0 | dfryyrt | t3_6344ep | null | null | t1_dfrx6gx | null | 1493760515 | 2 | t5_2fwo | null | null | null |
null | renatoathaydes | null | HA! That's a great analogy, if I can call it that. I used to play the piano and keyboards with a band... I sometimes do some front-end, but mostly back-end in my programming... just like when I was in the band playing :D | null | 0 | 1491238244 | False | 0 | dfryzsm | t3_633o3y | null | null | t1_dfrluhh | null | 1493760530 | 3 | t5_2fwo | null | null | null |
null | staticassert | null | Nah, because this assumes that you're talking about hashes - so an empty password would still provide a hash. | null | 0 | 1491238341 | False | 0 | dfrz2qy | t3_6344ep | null | null | t1_dfryhyt | null | 1493760601 | 2 | t5_2fwo | null | null | null |
null | agonnaz | null | > Writing 100% secure software is hard for sure,
I'd say "impossible" rather than "hard". It's like designing an unbreakable lock, or a 100% safe car.
You're right, though, that security isn't just a "you have it or don't" situation. Everybody can make effort and improve security, and reap the rewards of that. ... | null | 0 | 1491238358 | 1491244917 | 0 | dfrz3at | t3_6344ep | null | null | t1_dfrft7k | null | 1493760609 | 5 | t5_2fwo | null | null | null |
null | staticassert | null | Length isn't the issue - we're assuming hashing has already occurred. | null | 0 | 1491238362 | False | 0 | dfrz3ev | t3_6344ep | null | null | t1_dfrx6gx | null | 1493760611 | 2 | t5_2fwo | null | null | null |
null | staticassert | null | You got it. The problem is that *this isn't written in assembly*.
edit: To be clear, it isn't branch prediction, it's the "smart compiler" issue. | null | 0 | 1491238388 | 1491242426 | 0 | dfrz40p | t3_6344ep | null | null | t1_dfrwcsf | null | 1493760623 | 5 | t5_2fwo | null | null | null |
null | eldelshell | null | Most probably by calling the victim and asking them for their password. Social engineering is the #1 method of attack. | null | 0 | 1491238446 | False | 0 | dfrz5zh | t3_6344ep | null | null | t1_dfrmyue | null | 1493760654 | 6 | t5_2fwo | null | null | null |
null | staticassert | null | > Because it starts with the assumption that the password is valid. (is_valid = True)
True, but none of the code in the loop will throw an exception. While it's bad, it's not the real issue.
The problem is that it's written in a high level language. The compiler is free to optimize your 'constant time' function to... | null | 0 | 1491238452 | False | 0 | dfrz679 | t3_6344ep | null | null | t1_dfrx9m4 | null | 1493760656 | 4 | t5_2fwo | null | null | null |
null | bihnkim | null | I understand your concern but this seems to be one of those issues that directly influence the programming sector | null | 0 | 1491238550 | False | 0 | dfrz9av | t3_637m7q | null | null | t1_dfryvib | null | 1493760723 | 30 | t5_2fwo | null | null | null |
null | joelving | null | I think the whole (very black & white) premise of the discussion is wrong in itself. You could well end up disqualifying talented developers because they lack formal training, and you might hire poor developers with a good memory.
I think a much more useful guiding statement is "I won't hire you if I can't teach y... | null | 0 | 1491238636 | False | 0 | dfrzbp3 | t3_637qqu | null | null | t3_637qqu | null | 1493760767 | 7 | t5_2fwo | null | null | null |
null | alcinos | null | One of the dev involved in the refactoring here. Feel free to ask if you have any questions!
| null | 0 | 1491238658 | False | 0 | dfrzck6 | t3_632wq6 | null | null | t3_632wq6 | null | 1493760779 | 2 | t5_2fwo | null | null | null |
null | Concision | null | In case it confuses anyone else, when he gives the recursive definition for symmetry:
>The first step is to realize that a tree is symmetric if its left and right subtrees are symmetric.
What he means by this is that a tree is symmetric if its left subtree is symmetric *with* the right subtree. This is confusing ... | null | 0 | 1491238693 | False | 0 | dfrzdo6 | t3_637qqu | null | null | t3_637qqu | null | 1493760813 | 12 | t5_2fwo | null | null | null |
null | somersettler | null | what does a satellite do with a 6 TB pdf?!? | null | 0 | 1491238741 | False | 0 | dfrzex9 | t3_62sqe6 | null | null | t1_dfpg2dw | null | 1493760856 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491238767 | False | 0 | dfrzfs5 | t3_637m7q | null | null | t1_dfryvib | null | 1493760872 | -5 | t5_2fwo | null | null | null |
null | kazagistar | null | My problem is that I do have a lot of random information about security that I have obtained haphazardly through random posts on random websites, but also regularly find major gaps and blindspots due to a lack of a solid base. | null | 0 | 1491238767 | False | 0 | dfrzfs7 | t3_6344ep | null | null | t1_dfrssna | null | 1493760872 | 8 | t5_2fwo | null | null | null |
null | Creath | null |
>>javascript:window.location.href = "http://" + ((0.1 + 0.2) + ".com")
>
Ok that's pretty cool
| null | 0 | 1491238857 | False | 0 | dfrzibm | t3_635ggh | null | null | t1_dfrspq1 | null | 1493760908 | 3 | t5_2fwo | null | null | null |
null | didnt_check_source | null | As an immigrant *software engineer*, I can tell from experience that there was already significant skepticism for "computer programmers". When I entered the country, the discussion with the border official went something like:
— so... you're a programmer?
— I'm a software engineer.
— Ah! Software engineer. *stamps... | null | 0 | 1491238868 | 1491239386 | 0 | dfrziso | t3_637m7q | null | null | t3_637m7q | null | 1493760914 | 132 | t5_2fwo | null | null | null |
null | lavosprime | null | I think that's the norm for 20% time projects. | null | 0 | 1491238871 | False | 0 | dfrziu7 | t3_637fi2 | null | null | t1_dfrvjmb | null | 1493760914 | 7 | t5_2fwo | null | null | null |
null | deukhoofd | null | Even if he was sarcastic, thanks for the explanation, I wasn't sure of that myself. | null | 0 | 1491238890 | False | 0 | dfrzjei | t3_6350ax | null | null | t1_dfrupc1 | null | 1493760982 | 7 | t5_2fwo | null | null | null |
null | bananarepubliccat | null | Er, what? The U.S. has one of the highest, if not the highest, base rate of corporate tax in the developed world. The U.S. has an absurd number of loopholes so maybe the actual rate is lower but I believe that all of the countries mentioned above have lower base rates (I live in the UK, our base rate is 20%).
I would ... | null | 0 | 1491238921 | 1491239169 | 0 | dfrzkrk | t3_637m7q | null | null | t1_dfrxpqn | null | 1493761009 | 6 | t5_2fwo | null | null | null |
null | Zarutian | null | Yes. The Simplified TeaTime architecture. It is very similiar how snes9x does netplay btw. | null | 0 | 1491238921 | False | 0 | dfrzkse | t3_62yl50 | null | null | t1_dfrr6no | null | 1493761010 | 1 | t5_2fwo | null | null | null |
null | kendallvarent | null | > [...] an entry-level computer programmer position would not generally qualify as a position in a specialty occupation because the plain language of the statutory and regulatory definition of “specialty occupation” requires in part that the proffered position have a minimum entry requirement of a U.S. bachelor’s o... | null | 0 | 1491238999 | False | 0 | dfrzmia | t3_637m7q | null | null | t3_637m7q | null | 1493761041 | 11 | t5_2fwo | null | null | null |
null | mfukar | null | Please refer to the Rust Evangelism Strike Force with its proper name. | null | 0 | 1491239051 | False | 0 | dfrznne | t3_62wye0 | null | null | t1_dfprrsb | null | 1493761062 | 1 | t5_2fwo | null | null | null |
null | ZalgoFox | null | Shhh... ride the wave buddy. Just work a couple years then retire. | null | 0 | 1491239075 | False | 0 | dfrzok3 | t3_637m7q | null | null | t1_dfrydnj | null | 1493761073 | 6 | t5_2fwo | null | null | null |
null | MyDogShitsTigers | null | Plus there's a chance that a good implementation of the compiler might save you an entire CPU cycle if it can optimize the increment and branch logic. | null | 0 | 1491239148 | False | 0 | dfrzqi8 | t3_6350ax | null | null | t1_dfrqyyg | null | 1493761101 | 7 | t5_2fwo | null | null | null |
null | aullik | null | I don't see how branch prediction has any influence here.
He could have written something like this and it would still work the same. without heavy compiler optimization it would be faster.
def cmp_hash(user_hash, auth_hash):
for (pass_char, auth_char) in zip(user_hash, auth_hash):
if pass_ch... | null | 0 | 1491239266 | False | 0 | dfrztp8 | t3_6344ep | null | null | t1_dfryyrt | null | 1493761150 | 3 | t5_2fwo | null | null | null |
null | wensul | null | Thanks, I didn't know that. | null | 0 | 1491239269 | False | 0 | dfrztt2 | t3_6350ax | null | null | t1_dfrupc1 | null | 1493761151 | 6 | t5_2fwo | null | null | null |
null | help_computar | null | Not really that great. Poorly designed; We written. | null | 0 | 1491239270 | False | 0 | dfrztvl | t3_637pjn | null | null | t3_637pjn | null | 1493761152 | 1 | t5_2fwo | null | null | null |
null | Nimitz14 | null | Except if you actually print that string in python you will get an~a. | null | 0 | 1491239419 | False | 0 | dfrzygm | t3_62xwba | null | null | t1_dfr4q2p | null | 1493761220 | 1 | t5_2fwo | null | null | null |
null | alcinos | null | As for C++11, some of the old parts don't use it, as you would expect, but what's being rewritten tries to be in a modern C++.
For example, the new Undo/Redo mechanism is built around C++11 lambdas (which provide good flexibility for combining several atomic operations) | null | 0 | 1491239449 | False | 0 | dfrzzdd | t3_632wq6 | null | null | t1_dfr6zli | null | 1493761232 | 2 | t5_2fwo | null | null | null |
null | eldelshell | null | OK, so today a programmer has to know about UI, network performance, TDD, Agile, source code mgmt., algorithms, BigO notation, SQL, CSS, HTML, JavaScript, architecture, design patterns, HTTP, FTP, SMTP, POP3, SSH, bash, your favorite two languages APIs, debugging, profiling, build tools, CI, bit wise ops, logic, system... | null | 0 | 1491239469 | False | 0 | dfrzzze | t3_6344ep | null | null | t3_6344ep | null | 1493761241 | 23 | t5_2fwo | null | null | null |
null | mmstick | null | Maybe I'll finally have a chance to get my foot in the door, outside of open source projects. | null | 0 | 1491239481 | False | 0 | dfs00ev | t3_637seo | null | null | t3_637seo | null | 1493761248 | 11 | t5_2fwo | null | null | null |
null | bubar_babbler | null | They want to be an American company to take advantage of the venture capital system here to get initial funds, be listed in our stock exchange, and get the insane valuations that tech companies get here.
The high wages in the US don't just attract crappy engineers trying to undercut them. I know a ton of talented prog... | null | 0 | 1491239501 | False | 0 | dfs012v | t3_637m7q | null | null | t1_dfrxd8n | null | 1493761256 | 561 | t5_2fwo | null | null | null |
null | mirhagk | null | > it's that people who do know it are smug about it,
It's not only the smugness but also the unrealisticness of it. Security discussion is often talking about hypothetical situations or crazy attacks that don't matter to someone writing business grade software.
[James Mickens](http://programmingisterrible.com/pos... | null | 0 | 1491239564 | False | 0 | dfs037r | t3_6344ep | null | null | t1_dfrqe86 | null | 1493761290 | 14 | t5_2fwo | null | null | null |
null | JHunz | null | > If anything, a Google may now pay everybody LESS because of simple supply & demand: their supply has increased.
Google's supply has outstripped their demand for a decade. Their interview process has been overly cumbersome and labyrinthine for ages because they pay highly and are willing to only hire the ... | null | 0 | 1491239635 | False | 0 | dfs05l4 | t3_637m7q | null | null | t1_dfryiyg | null | 1493761322 | 142 | t5_2fwo | null | null | null |
null | bigorangemachine | null | Yes,
Scratch and Logo give a bad impression of programming no matter what.
I have taught scratch and I find people spend more time having issues with the UI than get an impression of programming.
Logo is so confusing. Around the same time I was learning logo I was learning excel. Excel gave me a better impression ... | null | 0 | 1491239641 | False | 0 | dfs05tk | t3_637c28 | null | null | t3_637c28 | null | 1493761327 | 2 | t5_2fwo | null | null | null |
null | industry7 | null | What is your definition of a Decimal type? B/c that's not how any Decimal type I know works. All the ones I've used would give:
9.7 + 9.9 = 19.6
Divide by 2 gives 9.8 which is in range. | null | 0 | 1491239653 | False | 0 | dfs066q | t3_635ggh | null | null | t1_dfruh07 | null | 1493761332 | 1 | t5_2fwo | null | null | null |
null | rv77ax | null | > In all our code?
You don't have class Object? | null | 0 | 1491239698 | False | 0 | dfs07p9 | t3_6350ax | null | null | t1_dfrjgqd | null | 1493761354 | 2 | t5_2fwo | null | null | null |
null | FlukyS | null | Yeah I learned a lot about that when H3H3 were getting targeted. https://www.youtube.com/watch?v=caVEiitI2vg | null | 0 | 1491239703 | False | 0 | dfs07vd | t3_6344ep | null | null | t1_dfrz5zh | null | 1493761356 | 3 | t5_2fwo | null | null | null |
null | pron98 | null | Everyone is entitled to their opinion of what qualities are valuable in people they want to hire. I guess everyone *should* have an opinion. But I *really* dislike sweeping statements of disrespect towards fellow engineers and the belief that others must not want to learn new things if they don't want to learn what *yo... | null | 0 | 1491239719 | False | 0 | dfs08fx | t3_637qqu | null | null | t3_637qqu | null | 1493761363 | 3 | t5_2fwo | null | null | null |
null | Simi510 | null | Watch this 60 Minutes Report on Outsourcing taking away American Jobs. It really changed my mind.
http://www.cbsnews.com/videos/youre-fired/
| null | 0 | 1491239722 | False | 0 | dfs08jq | t3_637m7q | null | null | t1_dfryiyg | null | 1493761365 | 29 | t5_2fwo | null | null | null |
null | ForeverAlot | null | Overchoice, information overload, and analysis paralysis. And of course lack of true motivation. | null | 0 | 1491239761 | False | 0 | dfs09vk | t3_6344ep | null | null | t1_dfry9kh | null | 1493761384 | 14 | t5_2fwo | null | null | null |
null | aullik | null | how is that a problem tho? I mean I'm clearly no security expert. I don't see how writing something in a higher language is a problem. Could you explain to me what i am missing. Please. | null | 0 | 1491239810 | False | 0 | dfs0bin | t3_6344ep | null | null | t1_dfrz40p | null | 1493761405 | 1 | t5_2fwo | null | null | null |
null | WittyAdrian | null | I was more referring to Battlefield 4 or even before that. | null | 0 | 1491239863 | False | 0 | dfs0dc2 | t3_62yl50 | null | null | t1_dfrxybe | null | 1493761437 | 1 | t5_2fwo | null | null | null |
null | bubar_babbler | null | Software "engineers" aren't engineers in the US, they are computer programmers. It's not widely enforced for job titles, but in the United States engineers are licensed. I've had the job title of software engineer many times, but I couldn't use engineering in the name of my LLC because I didn't take the engineer in tra... | null | 1 | 1491239863 | False | 0 | dfs0dci | t3_637m7q | null | null | t1_dfrxov0 | null | 1493761437 | -2 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491239868 | False | 0 | dfs0di8 | t3_637m7q | null | null | t1_dfs05l4 | null | 1493761439 | -1 | t5_2fwo | null | null | null |
null | ikorolou | null | I mean if you wanted to change your boolean scheme to be 2 bit instead of 1 bit, and have strong true/false and weak true/false you could, but at that point it's probably better to just enumerate your own type or something custom like that. | null | 0 | 1491239882 | False | 0 | dfs0dzh | t3_6350ax | null | null | t1_dfrigqc | null | 1493761451 | 2 | t5_2fwo | null | null | null |
null | Enharmonium | null | Many schools have CS and SE degrees that are pretty much one and the same.
The only real differences at my school are that SE is an engineering degree(which has different core requirements) and CS has a minor. | null | 0 | 1491239932 | False | 0 | dfs0fo1 | t3_6344ep | null | null | t1_dfro48o | null | 1493761474 | 5 | t5_2fwo | null | null | null |
null | MarekKnapek | null | I'd like to propose return `void` from function by value. Why? Because templates!
[Live example](http://coliru.stacked-crooked.com/a/dc2064c9dada075c).
#include <iostream>
void func1()
{
return;
}
int func2()
{
return 42;
}
template<typename R, typename... ... | null | 0 | 1491239954 | False | 0 | dfs0gfw | t3_6350ax | null | null | t1_dfrib2r | null | 1493761492 | 9 | t5_2fwo | null | null | null |
null | genti_watchman | null | Cricket: I'm a Pakistani spy!
F1: I'm a French-Canadian-Texan-Euro-Nazi!
😂 | null | 1 | 1491240015 | False | 0 | dfs0ihi | t3_637m7q | null | null | t1_dfs0di8 | null | 1493761535 | 0 | t5_2fwo | null | null | null |
null | didnt_check_source | null | How has Google's supply increased? | null | 0 | 1491240045 | False | 0 | dfs0jhe | t3_637m7q | null | null | t1_dfryiyg | null | 1493761548 | 17 | t5_2fwo | null | null | null |
null | biggerx | null | Terrible terrible people. | null | 0 | 1491240138 | False | 0 | dfs0mkv | t3_6350ax | null | null | t1_dfrvky0 | null | 1493761591 | 49 | t5_2fwo | null | null | null |
null | fuzzysarge | null | Why is the new standard not called C++14++++++; //? | null | 1 | 1491240183 | False | 0 | dfs0o2c | t3_6350ax | null | null | t3_6350ax | null | 1493761612 | -2 | t5_2fwo | null | null | null |
null | staticassert | null | Sure thing. So the goal of a password comparison function is that, on rejection, an attacker should gain no information as to *why* it was rejected. It was invalid, period.
Imagine if I have a string comparison like this:
actual_password = aaaabaaaa
attacker_attempt = aaaaaaaaa
string comparison will go "ok a ==a, c... | null | 0 | 1491240184 | False | 0 | dfs0o3s | t3_6344ep | null | null | t1_dfs0bin | null | 1493761612 | 5 | t5_2fwo | null | null | null |
null | Simi510 | null | > https://www.uscis.gov/sites/default/files/files/nativedocuments/PM-6002-0142-H-1BComputerRelatedPositionsRecission.pdf
| null | 0 | 1491240185 | False | 0 | dfs0o4u | t3_637m7q | null | null | t1_dfryr9v | null | 1493761614 | 3 | t5_2fwo | null | null | null |
null | mr___ | null | Well, that's why I'd say separate rationals from irrationals and leave irrationals to a defined-precision representation... You cannot represent them finitely in any integer radix. For high-performance computing, you could instruct the compiler or language framework to prefer machine-native instructions, or in a prope... | null | 0 | 1491240218 | 1491369118 | 0 | dfs0p7b | t3_636db5 | null | null | t1_dfrt00t | null | 1493761636 | 1 | t5_2fwo | null | null | null |
null | genti_watchman | null | A good example is a genius Colombian programmer for whom Facebook & a CA startup have both submitted H1B applications. (That is allowed.) Google is now confident that it can get its application approved, while the other one will be extremely vetted. The genius, meanwhile, ends up with only one approval, and thus on... | null | 0 | 1491240243 | False | 0 | dfs0pyb | t3_637m7q | null | null | t1_dfs0jhe | null | 1493761646 | -9 | t5_2fwo | null | null | null |
null | emoprairiedog | null | Right, I can attest that I've been coding for over a decade for businesses (not for developers), and there was not even once that I needed to implement a binary tree less alone check for tree properties like symmetry or balance. I also can count with my fingers the times where I was resource constrained enough for diff... | null | 0 | 1491240300 | False | 0 | dfs0rnn | t3_637qqu | null | null | t1_dfrzbp3 | null | 1493761669 | 3 | t5_2fwo | null | null | null |
null | achan2331 | null | What didn't you like about it? I thought he had good benchmarks, but also provided solid arguments against Go even though it had the best performance. | null | 1 | 1491240322 | False | 0 | dfs0sey | t3_637pjn | null | null | t1_dfrztvl | null | 1493761680 | -1 | t5_2fwo | null | null | null |
null | rv77ax | null | Just like Rust. | null | 1 | 1491240414 | False | 0 | dfs0uzd | t3_6350ax | null | null | t1_dfrvpb0 | null | 1493762289 | -1 | t5_2fwo | null | null | null |
null | bubuopapa | null | Lol, didnt see unexpected bsod like in > 10 years... In the mean time, even yesterday i saw i 10 various critical linux errors that killed linux system... Go away you alien, you are not from earth, windows rules on earth, every other os sucks balls. | null | 0 | 1491240514 | False | 0 | dfs0y03 | t3_62mp7p | null | null | t1_dfry3er | null | 1493762332 | 0 | t5_2fwo | null | null | null |
null | time_lord_allonzy | null | No. I know it's on the website. I just can't find it under news or releases directly.
That's because this isn't that much of a big deal. The document doesn't say much TBH. | null | 0 | 1491240570 | False | 0 | dfs0zzh | t3_637m7q | null | null | t1_dfs0o4u | null | 1493762359 | 2 | t5_2fwo | null | null | null |
null | aullik | null | > An attacker can time this function and say "hm when i enter in aaaaaaaa" it takes n milliseconds, when i type in "bbbbbbbbbb" it takes n - y milliseconds. So the first part of the password probably at least starts with 'a'.
I thought we were comparing hashes tho. I don't see how a user can fake hashes to get this... | null | 0 | 1491240572 | False | 0 | dfs101q | t3_6344ep | null | null | t1_dfs0o3s | null | 1493762361 | 1 | t5_2fwo | null | null | null |
null | cassandraspeaks | null | And wouldn't it be nice to keep it that way? | null | 1 | 1491240704 | False | 0 | dfs149q | t3_637m7q | null | null | t1_dfrydnj | null | 1493762419 | 5 | t5_2fwo | null | null | null |
null | TheBuzzSaw | null | I think the author's point might be better made if the title were I Don't Want To Hire You If You Can't _Ever_ Reverse a Binary Tree.
When I conduct technical interviews, I ask a few of these unpopular questions (not far from reversing binary trees). The point is not to see whether they have it memorized nor to sugges... | null | 0 | 1491240741 | False | 0 | dfs15g2 | t3_637qqu | null | null | t3_637qqu | null | 1493762435 | 3 | t5_2fwo | null | null | null |
null | rv77ax | null | You can write readable C++ as long as you don't use template, exception, and their standard library. Like this one : https://github.com/shuLhan/libvos/blob/master/File.cc | null | 0 | 1491240761 | False | 0 | dfs1627 | t3_6350ax | null | null | t1_dfrvn1p | null | 1493762444 | -4 | t5_2fwo | null | null | null |
null | real_jeeger | null | Yes, that may be it as well. I'm no expert. | null | 0 | 1491240793 | False | 0 | dfs172i | t3_6350ax | null | null | t1_dfrx6kk | null | 1493762457 | 1 | t5_2fwo | null | null | null |
null | saijanai | null | > Yes. The Simplified TeaTime architecture. It is very similiar how snes9x does netplay btw.
INteresting.
I'm part of a startup that is working on an ultra-massively-parallel (up to 10^9 processor) system that uses the Squeak virtual machine as the "machine language" of the processor (currently implemented in an F... | null | 0 | 1491240870 | False | 0 | dfs19k3 | t3_62yl50 | null | null | t1_dfrzkse | null | 1493762494 | 1 | t5_2fwo | null | null | null |
null | OneWingedShark | null | >> Because it starts with the assumption that the password is valid. (is_valid = True)
>
>
>
> True, but none of the code in the loop will throw an exception. While it's bad, it's not the real issue.
Where are exceptions coming up?
> The problem is that it's written in a high level language.
... | null | 0 | 1491240877 | False | 0 | dfs19t1 | t3_6344ep | null | null | t1_dfrz679 | null | 1493762497 | 2 | t5_2fwo | null | null | null |
null | squigs | null | Could be useful in macros or templates perhaps. Can't think of an example though. | null | 0 | 1491240953 | False | 0 | dfs1c8h | t3_6350ax | null | null | t1_dfric97 | null | 1493762531 | 1 | t5_2fwo | null | null | null |
null | SomeoneStoleMyName | null | Isn't that what [string_view](http://en.cppreference.com/w/cpp/header/string_view) is for? | null | 0 | 1491241024 | False | 0 | dfs1ekq | t3_6350ax | null | null | t1_dfrib2r | null | 1493762562 | 3 | t5_2fwo | null | null | null |
null | jnordwick | null | Booleans? I've seen people have ++ for trees and stuff. | null | 0 | 1491241098 | False | 0 | dfs1h0y | t3_6350ax | null | null | t1_dfrvky0 | null | 1493762595 | 3 | t5_2fwo | null | null | null |
null | Timbit42 | null | I wish Tiobe would shut that down. It's completely bogus. | null | 0 | 1491241112 | False | 0 | dfs1hi5 | t3_6370k3 | null | null | t3_6370k3 | null | 1493762604 | 1 | t5_2fwo | null | null | null |
null | cedrickc | null | Is there some reason you couldn't use an enum? | null | 0 | 1491241259 | False | 0 | dfs1m6e | t3_6350ax | null | null | t1_dfrta4o | null | 1493762669 | 3 | t5_2fwo | null | null | null |
null | staticassert | null | > I don't see how a user can fake hashes to get this information.
What do you mean fake hashes? I submit password 'aaaaaa' knowing it hashes to some deterministic output, and I use that.
> Also this might be true for a program that compiles to machine code. But python runs on a VM thus it takes a rather arbitra... | null | 0 | 1491241272 | False | 0 | dfs1mmk | t3_6344ep | null | null | t1_dfs101q | null | 1493762675 | 2 | t5_2fwo | null | null | null |
null | joelving | null | > I think the author's point might be better made if the title were I Don't Want To Hire You If You Can't Ever Reverse a Binary Tree.
Absolurely. That's exactly the point I was trying to convey in my comment. However, in the post he seems unduly focused on the concrete task of reversing binary trees, apparently bec... | null | 0 | 1491241299 | False | 0 | dfs1nhe | t3_637qqu | null | null | t1_dfs15g2 | null | 1493762686 | 3 | t5_2fwo | null | null | null |
null | Zarutian | null | Well, one kind of 'cheating' is knowing "hidden" information in the game without others knowing. That falls into protocol design stuff like cryptographers playing poker with no trusted third party.
Then there is 'cheating' where someone has manipulated variable values such as HP and so on. That is more easily detectab... | null | 0 | 1491241326 | False | 0 | dfs1ocw | t3_62yl50 | null | null | t1_dfs19k3 | null | 1493762698 | 1 | t5_2fwo | null | null | null |
null | Timbit42 | null | There are many ways one could do that. Agile is one simple answer. Rust is another. | null | 0 | 1491241403 | False | 0 | dfs1qz7 | t3_6355if | null | null | t1_dfrq202 | null | 1493762733 | 3 | t5_2fwo | null | null | null |
null | touko3246 | null | To be fair, US Government has a rather specific definition of what "computer programmers" are. They have less emphasis on design and analysis compared to "software developers", which is where most skilled people fall under.
https://www.bls.gov/soc/2010/soc151131.htm
https://www.bls.gov/soc/2010/soc151132.htm | null | 0 | 1491241404 | False | 0 | dfs1qzu | t3_637m7q | null | null | t1_dfs0dci | null | 1493762733 | 5 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.