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 | tkruse | null | Several good arguments not mentioned, only those which could be refuted.
Once is IDE support (Not everyone wants to be tied to the IntelliJ, in particular because that makes 2 ties to the same company). Next is Build system support (not everyone likes gradle). Then there is lack of solutions and all the risk of having to migrate to new versions because the current one has a critical bug, but the migration takes long.
Putting Kotlin generated-bytecode in production remains a risk. The risk does not magically go away when compiling a Kotlin file.
Comparison with other JVM languages does not even happen. | null | 0 | 1491226567 | False | 0 | dfrpite | t3_62utum | null | null | t3_62utum | null | 1493754873 | 2 | t5_2fwo | null | null | null |
null | kazagistar | null | Sure, I'm not going to pick it up in an afternoon, and I'll still leave pen testing to proffesionals. But let's assume I want to fill in as many gaps in my understanding of security over a longer period of time; where do I start? The article listed two books anf OWASP (which seem like good but insufficient resources) as well as some kind of training courses which are too vague to be actionable. What are some other resources that would help existing developers build secure applications? | null | 0 | 1491226705 | False | 0 | dfrpm93 | t3_6344ep | null | null | t1_dfrey2u | null | 1493754919 | 10 | t5_2fwo | null | null | null |
null | wyldphyre | null | Folks fear side effects of `=` in a predicate but the side effects of `++` are no big whoop. | null | 0 | 1491226734 | False | 0 | dfrpmzi | t3_6350ax | null | null | t1_dfrn2qd | null | 1493754929 | 10 | t5_2fwo | null | null | null |
null | MarshallBanana | null | > That is as strong a system as you can get.
That does not really follow, at all. | null | 0 | 1491226781 | False | 0 | dfrpo6h | t3_6344ep | null | null | t1_dfrmzyk | null | 1493754947 | 4 | t5_2fwo | null | null | null |
null | negative_epsilon | null | "Beats" is in the eye of the beholder. It's all about tradeoffs (like most things in software development). If you want to have a competitive scene and it's a game of imperfect information, then it might be an absolute non-starter for hacks to be easily written to allow a client to see the state of all other clients. This is why, for example, Heroes of the Storm has map hacks but League of Legends doesn't. This is also why in HotS when you disconnect, your client has to "replay" all moves in a fast-forward mode and you can't just reconnect immediately (like you do in League).
Certainly if you have a game of perfect information I think clients updating the state of all other clients with just deltas is a viable solution. But it's not black and white, there are more tradeoffs (the aforementioned behavior upon reconnect, the extra load on client machines, data usage for clients with data caps, etc etc). | null | 0 | 1491226790 | False | 0 | dfrpofl | t3_62yl50 | null | null | t1_dfroqze | null | 1493754950 | 2 | t5_2fwo | null | null | null |
null | ishmal | null | I seem to recall some language in the past did have this. dBase2? Maybe something else. What I do remember about that, was that the number of decimal places could quickly run out of control.
| null | 0 | 1491226860 | False | 0 | dfrpq8u | t3_636db5 | null | null | t1_dfrnovy | null | 1493754974 | 1 | t5_2fwo | null | null | null |
null | a_lumberjack | null | Pro tip: always lead with intent. In the absence of clarity, some people will assume bad intent. | null | 0 | 1491226885 | False | 0 | dfrpqv5 | t3_635ggh | null | null | t1_dfriu44 | null | 1493754982 | 11 | t5_2fwo | null | null | null |
null | repeatedly_once | null | No one should rely on security by obscurity as a reason for not using open source software. | null | 0 | 1491226994 | False | 0 | dfrptmm | t3_6344ep | null | null | t1_dfrpo6h | null | 1493755019 | 1 | t5_2fwo | null | null | null |
null | repeatedly_once | null | I mean if it wasn't done smugly, that's perfectly acceptable. | null | 0 | 1491227072 | False | 0 | dfrpvkq | t3_6344ep | null | null | t1_dfrh9ha | null | 1493755050 | 2 | t5_2fwo | null | null | null |
null | xmodem | null | Programmer humor is over there ---> [r/programmerhumor/](https://www.reddit.com/r/ProgrammerHumor/) | null | 0 | 1491227099 | False | 0 | dfrpw8s | t3_636rhg | null | null | t3_636rhg | null | 1493755059 | 4 | t5_2fwo | null | null | null |
null | HeimrArnadalr | null | >Remove trigraphs
>**Rationale:** Prevents accidental uses of trigraphs in non-raw string literals and comments.
But those are the best places to use them! What am I supposed to do now??! | null | 0 | 1491227118 | False | 0 | dfrpwr4 | t3_6350ax | null | null | t3_6350ax | null | 1493755066 | 26 | t5_2fwo | null | null | null |
null | maks25 | null | I think you missed my point, I'm not saying not to hash/salt, I'm saying not to do it yourself and use a proven library instead. | null | 0 | 1491227154 | False | 0 | dfrpxoh | t3_6344ep | null | null | t1_dfrmjwn | null | 1493755078 | 5 | t5_2fwo | null | null | null |
null | nanodano | null | I have taught beginner developers, and it's not so far beyond their ability on day one to write:
from requests import get
response = get('http://www.devdungeon.com')
print(response.content)
And after they have these 3 lines written you go backwards and teach them what a variable is, what a function is, and the concept of a package. I have done it, and beginners are capable of handling it, so I can assure you it is not "bs". You don't have to spend hours explaining data types and how variables are stored in memory before you teach them to do this. | null | 0 | 1491227168 | 1491228743 | 0 | dfrpy0z | t3_633o3y | null | null | t1_dfrlzti | null | 1493755083 | 8 | t5_2fwo | null | null | null |
null | __Cyber_Dildonics__ | null | If you have to compile it with c++98, why would you be worried about a change in C++17? | null | 0 | 1491227183 | False | 0 | dfrpyf0 | t3_6350ax | null | null | t1_dfrnsfb | null | 1493755088 | 17 | t5_2fwo | null | null | null |
null | MarshallBanana | null | Sure.
But nobody should rely on security by non-obscurity as a reason for using open source software, either. | null | 0 | 1491227258 | False | 0 | dfrq0c5 | t3_6344ep | null | null | t1_dfrptmm | null | 1493755113 | 7 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491227275 | False | 0 | dfrq0re | t3_636h8t | null | null | t3_636h8t | null | 1493755120 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | how do we do that? | null | 0 | 1491227324 | False | 0 | dfrq202 | t3_6355if | null | null | t1_dfrls68 | null | 1493755136 | 2 | t5_2fwo | null | null | null |
null | Barbas | null | Many cool stuff coming for parallelism, that's a very welcome addition! | null | 0 | 1491227357 | False | 0 | dfrq2uv | t3_6350ax | null | null | t3_6350ax | null | 1493755148 | 5 | t5_2fwo | null | null | null |
null | resdresd | null | Compilation with gcc (at least with the `-O0` and `-O3` flags) results in identical assembly [[source](https://godbolt.org/g/OMOXQS)].
cppreference.com also seems to think that (pre- and post-) incrementing a bool is the same as setting the bool to `true` [[source](http://en.cppreference.com/w/cpp/language/operator_incdec)], so I'd assume that's a part of the C++ specification. | null | 0 | 1491227382 | False | 0 | dfrq3iy | t3_6350ax | null | null | t1_dfrov82 | null | 1493755156 | 10 | t5_2fwo | null | null | null |
null | Radmonger | null | For relatively long-runtime tests, you want to use techniques like all-pairs testing to pick a 'small but interesting' set of inputs to check the properties against.
See for example https://github.com/richard-melvin/junit-theory-suite
For full system testing, automated or manual, you can use techniques like that to generate the test data used. But that's not really property based testing. | null | 0 | 1491227394 | False | 0 | dfrq3tr | t3_631rz0 | null | null | t1_dfre0tm | null | 1493755161 | 1 | t5_2fwo | null | null | null |
null | which_spartacus | null | I'm liking the nested namespace, the type inference for templates, and I'm really liking the initializer for if statements.
I'm betting that the fold operator is going to screw me over at some time, but I'm hoping it's mainly going to be in template magic. | null | 0 | 1491227430 | False | 0 | dfrq4sx | t3_6350ax | null | null | t3_6350ax | null | 1493755174 | 6 | t5_2fwo | null | null | null |
null | Mistercheif | null | But what if sad is -happy? Then sad++ is less sad. We'd want sad--. | null | 0 | 1491227443 | False | 0 | dfrq55d | t3_6350ax | null | null | t1_dfrmmms | null | 1493755179 | 3 | t5_2fwo | null | null | null |
null | jrh3k5 | null | Wait, is that punctuation at the end or negation? | null | 0 | 1491227467 | False | 0 | dfrq5qo | t3_6350ax | null | null | t1_dfriqpx | null | 1493755186 | 3 | t5_2fwo | null | null | null |
null | frankfoda | null | Which language does this better?
I also hate writing that Go code but love using it..
(I think something (kind of a macro maybe?) that just captured any errors in the function in a single place to process and return would be nice..) | null | 0 | 1491227544 | False | 0 | dfrq7rb | t3_631p99 | null | null | t1_dfqv9kb | null | 1493755227 | 1 | t5_2fwo | null | null | null |
null | myhf | null | The suggestion in the paper is to favor environments that use mathematically accurate operations by default, and opt in to lower-level types when you have a good reason. There are some ideas at http://0.30000000000000004.com/
In general, it's nice to focus on immutable data, declarative style, and idempotent operations. Focus on correctness first, and optimize later. | null | 0 | 1491227630 | False | 0 | dfrqa2w | t3_6355if | null | null | t1_dfrq202 | null | 1493755282 | 5 | t5_2fwo | null | null | null |
null | ThisIs_MyName | null | /r/ProgrammerHumor | null | 0 | 1491227639 | False | 0 | dfrqabk | t3_6350ax | null | null | t1_dfrl483 | null | 1493755288 | 6 | t5_2fwo | null | null | null |
null | ethelward | null | So, what is the point besides writing your CSS code in a JS string instead of a CSS file? If it's a buildchain and dead code pruning, we have this for, idk, maybe 50 years?
And I don't understand how SASS is not far better than CSS, but I guess I'm not good at CSS enough. | null | 0 | 1491227685 | False | 0 | dfrqbix | t3_636h8t | null | null | t3_636h8t | null | 1493755307 | 1 | t5_2fwo | null | null | null |
null | resdresd | null | There _shouldn't_ be an issue of overflow by incrementing bools, as incrementing a bool was previously defined to be the same as setting the bool to `true` (see [N4296](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf) 5.3.2 [expr.pre.incr]).
| null | 0 | 1491227740 | False | 0 | dfrqczu | t3_6350ax | null | null | t1_dfrk0s9 | null | 1493755338 | 3 | t5_2fwo | null | null | null |
null | Telexen1 | null | It's not the fact that we don't know security that bugs me, it's that people who do know it are smug about it, and people who don't know it simply don't care.
I did programming course after course in college of nothing but writing spaghetti code for some one-off useless application. Over and over we're told "don't store passwords in plain text in the database," but were we ever shown how to write an application that saves users to the DB? Nope. Were we ever assigned one? Nope.
Then I get a real job and write company internal applications. Do we worry about security? Nope, all of our stuff is internal and can only be accessed on-site, so apparently, it's not worth bothering with. Nor is storing a connection string in files tracked by source control.
I really do want to learn to write applications as secure as I can make them. It's taken over 20 years for the web to get to where it is, though, so simply figuring it out on my own isn't just going to magically happen. | null | 0 | 1491227789 | False | 0 | dfrqe86 | t3_6344ep | null | null | t3_6344ep | null | 1493755355 | 27 | t5_2fwo | null | null | null |
null | dspeyer | null | I've wanted class template deduction from constructor arguments for over a decade now.
The ... fold syntax is pretty neat.
Slowly and surely, dynamic typing creeps in. Still not really fluid.
Still no const if. Still no metatypes. | null | 0 | 1491228024 | False | 0 | dfrqkgo | t3_6350ax | null | null | t3_6350ax | null | 1493755467 | 1 | t5_2fwo | null | null | null |
null | Penguinfernal | null | That's true (or, should I say, ++), and I've never actually used/seen "n++" for a bool before. I'm just thinking out loud, I suppose. | null | 0 | 1491228048 | False | 0 | dfrql2z | t3_6350ax | null | null | t1_dfrohib | null | 1493755475 | 3 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491228076 | False | 0 | dfrqltt | t3_6350ax | null | null | t1_dfrq3iy | null | 1493755488 | -2 | t5_2fwo | null | null | null |
null | Ajedi32 | null | At least, not until it's too late. | null | 0 | 1491228150 | False | 0 | dfrqnq4 | t3_6344ep | null | null | t1_dfrohjv | null | 1493755532 | 22 | t5_2fwo | null | null | null |
null | mr___ | null | at least Smalltalk and Scheme have well-developed numeric type hierarchies that represent Rationals, and e.g. the division operator on two integers returns a Rational. | null | 0 | 1491228239 | False | 0 | dfrqq37 | t3_636db5 | null | null | t1_dfrpq8u | null | 1493755580 | 1 | t5_2fwo | null | null | null |
null | Designer_G | null | learning security measures should be mandatory | null | 0 | 1491228261 | False | 0 | dfrqqnv | t3_6344ep | null | null | t3_6344ep | null | 1493755589 | 4 | t5_2fwo | null | null | null |
null | dspeyer | null | So much filesystem support, still no way to get the low-level OS filehandle from an fstream. | null | 0 | 1491228379 | False | 0 | dfrqttr | t3_6350ax | null | null | t3_6350ax | null | 1493755640 | 9 | t5_2fwo | null | null | null |
null | Ajedi32 | null | Reminds me of this: https://security.stackexchange.com/q/25585/29865 | null | 0 | 1491228406 | False | 0 | dfrqumm | t3_6344ep | null | null | t1_dfrmakz | null | 1493755654 | 4 | t5_2fwo | null | null | null |
null | __debugger__ | null | Now that I've been using Iosevka for some time, I've realized how much horizontal space is wasted by Source Code Pro.
Also Iosevka Medium 13 is quite similar in size to Source Code Pro Semi Bold 11 which I used until now. | null | 0 | 1491228492 | False | 0 | dfrqx0u | t3_62qrve | null | null | t1_dfph6ff | null | 1493755700 | 1 | t5_2fwo | null | null | null |
null | Joald | null | What's wrong with it? | null | 0 | 1491228551 | False | 0 | dfrqyob | t3_6350ax | null | null | t1_dfrp882 | null | 1493755723 | 9 | t5_2fwo | null | null | null |
null | s0v3r1gn | null | Dude, that's like one whole extra line of code. What, do you think extra lines are free? | null | 0 | 1491228561 | False | 0 | dfrqyyg | t3_6350ax | null | null | t1_dfrl4sp | null | 1493755727 | 45 | t5_2fwo | null | null | null |
null | 2358452 | null | Hmm penetration tests? You can also try adversarial or random inputs and see if anything breaks. | null | 0 | 1491228775 | False | 0 | dfrr4xf | t3_6344ep | null | null | t1_dfrohjv | null | 1493755835 | 6 | t5_2fwo | null | null | null |
null | kaze0 | null | 3 | null | 1 | 1491228841 | False | 0 | dfrr6nf | t3_6350ax | null | null | t3_6350ax | null | 1493755859 | 0 | t5_2fwo | null | null | null |
null | saijanai | null | > I was not clear enough. I meant every few seconds, just lot and lots of 'ticks' are done when it is run. So, simulation time would be much faster than realtime when the simulation is being run.
> This makes it possible to have quite a few simulations on same server host.
Thanks for clarifying.
Are you familiar with the original P2P architecture for Croquet, by the way? | null | 0 | 1491228841 | False | 0 | dfrr6no | t3_62yl50 | null | null | t1_dfrol2x | null | 1493755859 | 1 | t5_2fwo | null | null | null |
null | jpfed | null | Consider generalizing midpoint displacement in the following way.
Any time you fix the value of a point, you are taking some information about the points already fixed (here, four other points), forming a model from it (here, an average), and then displacing the prediction of that model with noise (here, with an amplitude that decreases after every set of points).
What if you selected the points in any old arbitrary order? Then, the points you average won't necessarily be equidistant bishop-moves away from the point you select. You'd have to form your model differently. One sensible model is taking the k nearest neighbors and averaging them. Then, add some noise. [This is not necessarily realistic terrain](http://imgur.com/HtUSvLA,6mX2Knu,KfxVqlN,bN2eW9o), but I could see it being used to derive e.g. coastlines or tectonic plate boundaries. | null | 0 | 1491228914 | False | 0 | dfrr8mm | t3_630cgb | null | null | t3_630cgb | null | 1493755897 | 1 | t5_2fwo | null | null | null |
null | OneWingedShark | null | > With open source the beauty of it is they are open about issues and they push out fixes when things happen. That is as strong a system as you can get.
Visibility/openness of the source is completely orthogonal to security.
Heartbleed from OpenSSL rather handily proved that the "*many eyes*" argument is bunk. | null | 1 | 1491228951 | False | 0 | dfrr9oc | t3_6344ep | null | null | t1_dfrmzyk | null | 1493755912 | 2 | t5_2fwo | null | null | null |
null | Brjl | null | Every dev probably thinks they can do it because the self proclaimed UI designers are all pretty bad themselves. | null | 0 | 1491228981 | False | 0 | dfrragz | t3_6344ep | null | null | t1_dfrey2u | null | 1493755923 | 12 | t5_2fwo | null | null | null |
null | alexmullans | null | Team Foundation Version Control is fully supported in both VSTS and TFS. We have no plans to remove it. | null | 0 | 1491229039 | False | 0 | dfrrc5c | t3_62n5mx | null | null | t1_dfontuk | null | 1493755949 | 1 | t5_2fwo | null | null | null |
null | jiwari | null | great attention to detail. yeah, "n" is used as a common variable name because it stands for "number." would confuse people most of the time if it were used for something other than int, double, etc. | null | 0 | 1491229112 | False | 0 | dfrre7j | t3_6350ax | null | null | t1_dfrql2z | null | 1493755981 | 1 | t5_2fwo | null | null | null |
null | paul_h | null | I have a write up on Monorepos generally here - https://trunkbaseddevelopment.com/monorepos/ - if anyone is interested. The step up from a regular monorepo (when you move into the realm of many hundreds of devs is - https://trunkbaseddevelopment.com/expanding-contracting-monorepos/
Java folks can see a monorepo here - https://github.com/jooby-project/jooby and an expanding/contracting version of that in a POC here - http://paulhammant.com/2017/01/27/maven-in-a-google-style-monorepo/ | null | 0 | 1491229116 | False | 0 | dfrreb7 | t3_635h64 | null | null | t3_635h64 | null | 1493755983 | 1 | t5_2fwo | null | null | null |
null | real_jeeger | null | Maybe that it is allowed to be packed into a bit field with the attendendant implementation differences? | null | 0 | 1491229162 | False | 0 | dfrrfkw | t3_6350ax | null | null | t1_dfrqyob | null | 1493756008 | 20 | t5_2fwo | null | null | null |
null | fatboyxpc | null | > You don't have to spend a whole day explaining data types and how variables are stored in memory before you teach them to do this
This. **So** much. I do have a slight difference in the way I would teach, though. The very typical `print("Hello World!")` is popular for a reason: It shows immediate results with something that is fairly understandable with natural language. From there I segue into "Well obviously just writing text isn't that useful, so lets do something else" and from there doing an HTTP request can be explained and immediately printed out which then is its own motivation to talk about browsers rendering HTML for us because no human wants to read that! | null | 0 | 1491229180 | False | 0 | dfrrg3s | t3_633o3y | null | null | t1_dfrpy0z | null | 1493756019 | 12 | t5_2fwo | null | null | null |
null | wensul | null | but what happened to C++ 15,16? | null | 1 | 1491229203 | False | 0 | dfrrgql | t3_6350ax | null | null | t3_6350ax | null | 1493756028 | 3 | t5_2fwo | null | null | null |
null | darknavi | null | You could also implement your own auto_ptr for compatibility | null | 0 | 1491229214 | False | 0 | dfrrh0z | t3_6350ax | null | null | t1_dfrnsfb | null | 1493756039 | 2 | t5_2fwo | null | null | null |
null | darknavi | null | > clamp
Finally! Best feature 2017. | null | 0 | 1491229262 | False | 0 | dfrriax | t3_6350ax | null | null | t3_6350ax | null | 1493756061 | 18 | t5_2fwo | null | null | null |
null | resdresd | null | As confirmed in the C++ spec (see [N4296](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf) 5.3.2 [expr.pre.incr]), both pre- and post-increments of a boolean are identical to setting the bool to `true`, so no reading or register incrementing is needed.
I'm glad this language feature is going - bool incrementing is a good example of where operator overloading causing confusion between what users might expect should happen (i.e. read, increment, write) and what does happen (write). Although I suppose it was largely harmless in this example. | null | 0 | 1491229334 | False | 0 | dfrrkbj | t3_6350ax | null | null | t1_dfrqltt | null | 1493756088 | 10 | t5_2fwo | null | null | null |
null | paul_h | null | > [Redis]
> Disk-backed in-memory database,
Would be better described of as "an in-memory database with optional disk-backed configuration" | null | 0 | 1491229483 | False | 0 | dfrroie | t3_635cnl | null | null | t3_635cnl | null | 1493756183 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491229498 | False | 0 | dfrrox3 | t3_6350ax | null | null | t1_dfrp0ki | null | 1493756192 | 3 | t5_2fwo | null | null | null |
null | FlukyS | null | My job is doing open source work I wouldn't say it is orthogonal to security because the only thing you gain from not being open source is security through obscurity which isn't a valid security procedure. I guess you have to see it as a trade off for open source projects, do you want a lot of contributions to make the code better and hope you can design it well enough that it doesn't have holes or do you not want hackers getting the code looking at it finding a code and abusing the hole. I know I would prefer more contributions in order to have something that is more rock solid all around. Heartbleed was a bug but it was more a symptom of people not stopping to check logic of older code, developing newer features is great but if your project is one of the most used software engineering projects for security you should play it as safe as possible and do regular evaluations of things. | null | 0 | 1491229515 | False | 0 | dfrrpfr | t3_6344ep | null | null | t1_dfrr9oc | null | 1493756199 | 6 | t5_2fwo | null | null | null |
null | paul_h | null | CouchDB should have a bullet:
* An installation default called "Admin Party" is controversial given SecOps best practices.
Ref: https://blog.couchdb.org/2017/01/24/couchdb-ransom-notes/ (and many other news articles) | null | 0 | 1491229656 | False | 0 | dfrrtiq | t3_635cnl | null | null | t3_635cnl | null | 1493756267 | 1 | t5_2fwo | null | null | null |
null | bames53 | null | > How is that any different than just using 'A', though?
`'A'` gives you whatever the representation of that character is in the compiler's execution encoding. If that's not ASCII, then you don't necessarily get the ASCII value. `u8'A'` gives you the ASCII representation regardless of the execution encoding.
[Example][1]
[1]: http://coliru.stacked-crooked.com/a/4d82d11eaed069b5
> If it's source file encoding we're worried about then you still have to decode it correctly to interpret the u8 literal.
The compiler has to understand the correct source file encoding regardless. Otherwise when it does the conversion from the source encoding to the execution encoding it may do it wrong no matter what kinds of character or string literals you use. Not to mention that the compiler may not even be able to [compile the source][2] if it uses the wrong encoding.
[2]: http://coliru.stacked-crooked.com/a/d916b9db1d682064 | null | 0 | 1491229797 | False | 0 | dfrrxiz | t3_6350ax | null | null | t1_dfrpfjz | null | 1493756322 | 16 | t5_2fwo | null | null | null |
null | theamk2 | null | Have you actually read the linked article? The author's claim is that even employees who can work remotely still choose not to:
> So why do people who could live in Costa Rica on a San Francisco salary, or in Berlin while charging NYC rates, choose not to do so? Why are allegedly hardheaded engineers so financially irrational?
| null | 0 | 1491229821 | False | 0 | dfrry79 | t3_62zrgk | null | null | t1_dfqrqvo | null | 1493756331 | 2 | t5_2fwo | null | null | null |
null | repeatedly_once | null | I saw a project recently in /r/javascript that was no simple feat of engineering and it stored the passwords in plaintext...
It caught me by surprise. | null | 0 | 1491230001 | False | 0 | dfrs3eh | t3_6344ep | null | null | t1_dfr7mdf | null | 1493756401 | 3 | t5_2fwo | null | null | null |
null | NoahTheDuke | null | /r/metal is leaking. | null | 0 | 1491230010 | False | 0 | dfrs3nl | t3_6350ax | null | null | t1_dfrkihq | null | 1493756405 | 9 | t5_2fwo | null | null | null |
null | sneakpeekbot | null | **Here's a sneak peek of [/r/javascript](https://np.reddit.com/r/javascript) using the [top posts](https://np.reddit.com/r/javascript/top/?sort=top&t=year) of the year!**
\#1: [Can you help me allow my router to accept 💩 as the SSID?](https://np.reddit.com/r/javascript/comments/5zcb8m/can_you_help_me_allow_my_router_to_accept_as_the/)
\#2: [How it feels to learn Javascript in 2016](https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b) | [273 comments](https://np.reddit.com/r/javascript/comments/55oidt/how_it_feels_to_learn_javascript_in_2016/)
\#3: [Dear JavaScript](https://medium.com/@thejameskyle/dear-javascript-7e14ffcae36c) | [311 comments](https://np.reddit.com/r/javascript/comments/5gmjdx/dear_javascript/)
----
^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| [^^Contact ^^me](https://www.reddit.com/message/compose/?to=sneakpeekbot) ^^| [^^Info](https://np.reddit.com/r/sneakpeekbot/) ^^| [^^Opt-out](https://np.reddit.com/r/sneakpeekbot/comments/5lveo6/blacklist/) | null | 0 | 1491230032 | False | 0 | dfrs4ay | t3_6344ep | null | null | t1_dfrs3eh | null | 1493756414 | -2 | t5_2fwo | null | null | null |
null | frezik | null | Ugg. Dave is wrong, and deserves to have his competence openly questioned. | null | 0 | 1491230127 | False | 0 | dfrs70y | t3_6344ep | null | null | t1_dfrqumm | null | 1493756451 | 2 | t5_2fwo | null | null | null |
null | repeatedly_once | null | No, definitely not. An engineering choice like which software to use will always have extensive pros and cons, unfortunately I've seen most decisions based solely on security being weak due to the nature of open source. It's kind of become my mantra haha. | null | 0 | 1491230197 | False | 0 | dfrs90n | t3_6344ep | null | null | t1_dfrq0c5 | null | 1493756478 | 1 | t5_2fwo | null | null | null |
null | BonzaiThePenguin | null | Really? Even REALbasic allowed that 10 years ago. Maybe they're too obsessed with the typing system and making it perfect, RB would just say fuck it and return an integer, let the user beware. | null | 0 | 1491230272 | 1491230498 | 0 | dfrsb83 | t3_6350ax | null | null | t1_dfrqttr | null | 1493756506 | 1 | t5_2fwo | null | null | null |
null | scorcher24 | null | [\](https://www.youtube.com/watch?v=xIm0Vz3Q74A)[m](https://www.youtube.com/watch?v=G1G9D8A4Fiw)[/](https://www.youtube.com/watch?v=pvkYwOJZONU) | null | 0 | 1491230273 | False | 0 | dfrsb8e | t3_6350ax | null | null | t1_dfrs3nl | null | 1493756507 | 7 | t5_2fwo | null | null | null |
null | TheThiefMaster | null | Which is insane, because the entire reason they exist is because the system's charset doesn't have those characters, so it's unlikely the string would be able to represent them anyway! | null | 0 | 1491230372 | False | 0 | dfrse5p | t3_6350ax | null | null | t1_dfrl8v5 | null | 1493756547 | 3 | t5_2fwo | null | null | null |
null | ryeguy | null | Fair enough. But that's generally why people use them. | null | 0 | 1491230428 | False | 0 | dfrsftp | t3_62ul90 | null | null | t1_dfrgrek | null | 1493756569 | 3 | t5_2fwo | null | null | null |
null | repeatedly_once | null | At some points you know what changes to make, you can simply send that update to the client and let the client handle the purely functional aspect of updating it's 'state'. | null | 0 | 1491230577 | False | 0 | dfrsk9b | t3_62yl50 | null | null | t1_dfq4yqq | null | 1493756628 | 2 | t5_2fwo | null | null | null |
null | BonzaiThePenguin | null | Well, removed support but continued existence still means it might break in the future and no one will care. But still, all in the name of progress and the old compilers will continue to compile. | null | 0 | 1491230625 | False | 0 | dfrslp0 | t3_6350ax | null | null | t1_dfropfv | null | 1493756647 | 1 | t5_2fwo | null | null | null |
null | redditthinks | null | Only a couple more versions till it's possible to write readable C++. | null | 0 | 1491230685 | False | 0 | dfrsnjo | t3_6350ax | null | null | t3_6350ax | null | 1493756671 | 15 | t5_2fwo | null | null | null |
null | ietsrondsofzo | null | These old ones had cool javascripts that you could run into your address bar, and it would redirect you to the site.
A mod removed them, unfortunately. Probably because of [the security risk](http://i.imgur.com/6AO51L6.png).
I am going to repost a recreation of it, **but evaluate it yourself and run it at your own risk.**
>javascript:window.location.href = "http://" + ((0.1 + 0.2) + ".com")
Also, chrome removes the 'javascript:' part, as seen in the link above. | null | 0 | 1491230757 | False | 0 | dfrspq1 | t3_635ggh | null | null | t1_dfrhitr | null | 1493756700 | 3 | t5_2fwo | null | null | null |
null | MarshallBanana | null | > My job is doing open source work I wouldn't say it is orthogonal to security because the only thing you gain from not being open source is security through obscurity which isn't a valid security procedure.
Opening up your source is also not a valid security procedure, though. Having competent people review your code *is*, but having closed source does not prevent you from doing this, nor does opening your source automatically gain you this.
This is why open source is orthogonal to security. | null | 0 | 1491230784 | False | 0 | dfrsqk6 | t3_6344ep | null | null | t1_dfrrpfr | null | 1493756712 | 9 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491230854 | 1493379378 | 0 | dfrssna | t3_6344ep | null | null | t1_dfrpm93 | null | 1493756778 | 6 | t5_2fwo | null | null | null |
null | softwareguy74 | null | Gawd, those question marks. | null | 0 | 1491230916 | False | 0 | dfrsuhn | t3_6355ui | null | null | t3_6355ui | null | 1493756803 | 1 | t5_2fwo | null | null | null |
null | TNorthover | null | Yes. The standard as written requires dependency tracking which is pretty much unimplementable by compilers. So they all (that I know of) treat it exactly the same as acquire. It's allowed, but of course adds back all the memory barriers consume was designed to eliminate.
Hopefully it'll be fixed soon, but the current proposal is still really hand-wavy about what's allowed. It just vaguely comments on the compiler not being able to determine that a pointer can only have one value. | null | 0 | 1491230978 | False | 0 | dfrswcq | t3_6350ax | null | null | t1_dfrmwwz | null | 1493756858 | 4 | t5_2fwo | null | null | null |
null | 4tma | null | Because you didn't say that on your OP. There is a hivemind behind hating on reposts because of other subreddits (memes), therefore with the vague post it was assumed "This guy is just pointing out it's a repost in a hostile manner".
| null | 0 | 1491231028 | False | 0 | dfrsxxg | t3_635ggh | null | null | t1_dfriu44 | null | 1493756879 | 3 | t5_2fwo | null | null | null |
null | Drainedsoul | null | I thought the reason they existed is because those symbols were difficult to type on some keyboards, not because they were missing from some charsets. | null | 0 | 1491231038 | False | 0 | dfrsy7k | t3_6350ax | null | null | t1_dfrse5p | null | 1493756884 | 3 | t5_2fwo | null | null | null |
null | TNorthover | null | Compilers that still support C++98 mode (with `-std=c++98` or whatever) will still have to provide auto_ptr. It's not going away any time soon. | null | 0 | 1491231063 | False | 0 | dfrsyyn | t3_6350ax | null | null | t1_dfrnsfb | null | 1493756916 | 3 | t5_2fwo | null | null | null |
null | evaned | null | > I never understood why rational types with unlimited precision large integers as the numerator and denominator are not in every single language as a default feature.
My guess is they break down too often. For example, take a sqrt? There goes your representation.
What I think I might like to see a lot more is decimal floating point rather than binary floating point as the "default" fp type. I haven't seen performance numbers, and I suspect that the range is limited slightly compared to binary fp, but I feel like the extra intuitiveness would make up for it in most languages. | null | 0 | 1491231098 | False | 0 | dfrt00t | t3_636db5 | null | null | t1_dfrnovy | null | 1493756931 | 4 | t5_2fwo | null | null | null |
null | crazyfrog9 | null | nice post. learned something | null | 0 | 1491231121 | False | 0 | dfrt0pa | t3_636m76 | null | null | t3_636m76 | null | 1493756940 | 0 | t5_2fwo | null | null | null |
null | FlukyS | null | > Having competent people review your code is
Completely agree and the same goes for every project.
> This is why open source is orthogonal to security.
Not really though, more eyes on the code really does help, again though along with the fair point above like you said competent code review helps but open sourcing the code does help. | null | 0 | 1491231183 | False | 0 | dfrt2kf | t3_6344ep | null | null | t1_dfrsqk6 | null | 1493757010 | 3 | t5_2fwo | null | null | null |
null | evaned | null | > Why do you want types which could put (a+b)/2 out of the range[min(a, b), max(a, b)]?
Can you give an example, explanation, or citation to one that describes how that differs between binary and decimal floating point?
(Incidentally, I suppose then you're also opposed to all fixed-width integers, because that's true for them as well?) | null | 0 | 1491231316 | False | 0 | dfrt6qe | t3_635ggh | null | null | t1_dfrlj9x | null | 1493757208 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491231318 | 1491342861 | 0 | dfrt6t5 | t3_6350ax | null | null | t3_6350ax | null | 1493757209 | 16 | t5_2fwo | null | null | null |
null | au_travail | null | > You can still throw in a noexcept function etc.
Then what's the point? | null | 0 | 1491231370 | False | 0 | dfrt8gp | t3_6350ax | null | null | t1_dfrhcag | null | 1493757231 | 2 | t5_2fwo | null | null | null |
null | uerb | null | And due to this, it has a worse access speed than `std::vector<char>`.
I had to code a physics simulation of a large spin system, represented by a vector `a` with `a[iii] = 0` and `a[iii] = 1` corresponding to spin down and a spin up, respectively. It was faster to use `std::vector<char>` to represent it than the `bool` vector, although it was more dangerous. | null | 0 | 1491231424 | False | 0 | dfrta4o | t3_6350ax | null | null | t1_dfrrfkw | null | 1493757273 | 18 | t5_2fwo | null | null | null |
null | staticassert | null | > I admit I'm no security expert but I would have known that.
Would you have known what key stretching algorithm to use? Would you have known to use a constant time comparison function? I've seen devs attempt to roll their own constant time comparisons, thinking that if they do
is_valid = True
for (pass_char, auth_char) in zip(user_hash, auth_hash):
if pass_char != auth_char:
is_valid = False
return is_valid
Do you know why that's bad?
You might, which is cool and good. But I think a lot of devs won't. It's super easy to fuck up password auth, it's way more than just salting and hashing. | null | 0 | 1491231498 | 1491233381 | 0 | dfrtcg6 | t3_6344ep | null | null | t1_dfri5v1 | null | 1493757314 | 4 | t5_2fwo | null | null | null |
null | stillalone | null | Here I was doing:
bool flag = false;
for(...) {
if(flag) {
...
}
flag = true;
}
Like a chump. | null | 0 | 1491231603 | False | 0 | dfrtfq3 | t3_6350ax | null | null | t1_dfrkkzx | null | 1493757469 | 21 | t5_2fwo | null | null | null |
null | foonathan | null | The exception can't leave the function, it will call `std::terminate()`. This makes a) optimizations possible and b) improves generic programming as you can query whether or not a function is noexcept, see e.g. [std::move_if_noexcept](http://en.cppreference.com/w/cpp/utility/move_if_noexcept) for an application. (It calls move constructor when it doesn't throw, otherwise copy, this allows rollback in case of exception) | null | 0 | 1491231635 | False | 0 | dfrtgnv | t3_6350ax | null | null | t1_dfrt8gp | null | 1493757487 | 17 | t5_2fwo | null | null | null |
null | TheThiefMaster | null | This page claims ISO 646:
http://www.lysator.liu.se/c/rat/b.html#2-2-1-1
They are removed because it is simply no longer an issue - there are no systems using charsets lacking these characters any longer. | null | 0 | 1491231714 | False | 0 | dfrtj3x | t3_6350ax | null | null | t1_dfrsy7k | null | 1493757530 | 7 | t5_2fwo | null | null | null |
null | jones1618 | null | I appreciate your CSS skills and your skills at tools-designed-to-make-CSS-bearable but CSS isn't fine. The whole toolchain isn't fine.
Saying "CSS is fine, it's just really hard" is like saying "My site's user interface is fine only to navigate you have to know secret key codes that pull down hidden menus that pop up after a random delay and have misleading captions some of which don't work." Other than that, it's wonderful.
The whole LESS/SASS toolchain industrial-complex is proof of the mess. It is well past time to reboot CSS (with impunity).
We need to throw away CSS (or rather burn it in a fire, douse it with acid and launch its ashes into a slowly decaying orbit around the sun) and replace it with a proper layout engine designed by sane people so that it has logical flow options, responsive sizing and centering plus styling that works more like templates w/ variables. (And for gob's sake, leave animation to JavaScript.) And, sure, borrow any nice features from LESS/SASS etc. while you are at it. | null | 0 | 1491231720 | 1491231930 | 0 | dfrtjaq | t3_636h8t | null | null | t3_636h8t | null | 1493757534 | 2 | t5_2fwo | null | null | null |
null | editor_of_the_beast | null | We build one component of a plane that is still monitored and overridable by a human. Not indicative of 100% trust. | null | 0 | 1491231786 | False | 0 | dfrtlbi | t3_62wye0 | null | null | t1_dfr0ofn | null | 1493757576 | 1 | t5_2fwo | null | null | null |
null | zerexim | null | Any good resources for self-studying Music? | null | 0 | 1491231804 | False | 0 | dfrtlvh | t3_633o3y | null | null | t3_633o3y | null | 1493757586 | 4 | t5_2fwo | null | null | null |
null | slavik262 | null | >Still no const if.
They're pronouncing it [`if constexpr`](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0292r2.html) | null | 0 | 1491231827 | False | 0 | dfrtmkw | t3_6350ax | null | null | t1_dfrqkgo | null | 1493757595 | 14 | t5_2fwo | null | null | null |
null | FG_Regulus | null | Off the top of my head? Lifetimes. | null | 0 | 1491231850 | False | 0 | dfrtn86 | t3_631p99 | null | null | t1_dfr6d4e | null | 1493757605 | 2 | t5_2fwo | null | null | null |
null | beginner_ | null | bcrypt/scrypt but I fit the scenario I described as I do intranet apps and use according SSO stuff we have in place. So I never need to store passwords. So I haven't ever used them in a real project. | null | 0 | 1491231892 | False | 0 | dfrtoih | t3_6344ep | null | null | t1_dfrtcg6 | null | 1493757649 | 3 | t5_2fwo | null | null | null |
null | staticassert | null | Yes, it only solves a huge swath of other problems. We should probably ignore it.
The reality is that we do need better tools. Programming languages can provide us with memory safety. Libraries shouldn't let us shoot ourselves in the foot - don't let us use a nonce twice, provide simple, easy, safe abstractions around crypto, etc.
Tooling sucks. Part of it is the languages, part of it is the libraries. | null | 0 | 1491231927 | False | 0 | dfrtpli | t3_6344ep | null | null | t1_dfrlo5w | null | 1493757690 | 3 | t5_2fwo | null | null | null |
null | shadow31 | null | Quite the opposite. Strong, complex type systems are more useful in large programs than small ones. | null | 0 | 1491232010 | False | 0 | dfrtrzz | t3_62wye0 | null | null | t1_dfrdq03 | null | 1493757728 | 1 | 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.