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 | lpuig | null | Sure, and you can live under a bridge. It's a matter of quality live. | null | 0 | 1491201707 | False | 0 | dfrf5k1 | t3_62zrgk | null | null | t1_dfr55cs | null | 1493749445 | 5 | t5_2fwo | null | null | null |
null | nirataro | null | I do have terrible time explaining to my employees that yes, you can have free standing functions at the module level without a class :) | null | 0 | 1491201795 | False | 0 | dfrf6w4 | t3_62utum | null | null | t1_dfqqa2j | null | 1493749463 | 2 | t5_2fwo | null | null | null |
null | G00dAndPl3nty | null | Uh, no, you really can't and that's precisely the problem. If writing secure code is critical to your product then you need a security specialist.
>Its not what you don't know that gets you in to trouble. Its what you know for sure that just ain't so. | null | 0 | 1491201896 | False | 0 | dfrf8fz | t3_6344ep | null | null | t1_dfrf2kc | null | 1493749484 | -6 | t5_2fwo | null | null | null |
null | ForeverAlot | null | One of my managers wants to host an off-work self-hack session rather than "spend a lot of money" outsourcing a security review. A colleague asked how they were going to train us to have the qualifications for such a thing. No answer for a month now. | null | 0 | 1491202025 | False | 0 | dfrfaeh | t3_6344ep | null | null | t1_dfrey2u | null | 1493749510 | 71 | t5_2fwo | null | null | null |
null | andrew_on_tech | null | If anyone missed the stream tonight or any previous stream you can check out my YouTube playlist [here](https://www.youtube.com/playlist?list=PL-kjuNgvH6M_ODUwmb28QhWOk9jTRDzkM) | null | 0 | 1491202261 | False | 0 | dfrfdxx | t3_6346wn | null | null | t3_6346wn | null | 1493749557 | 3 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491202285 | False | 0 | dfrfeaq | t3_630ysh | null | null | t3_630ysh | null | 1493749562 | 9 | t5_2fwo | null | null | null |
null | Fyoucon | null | Why should I thank him? I'm not the author? | null | 0 | 1491202323 | False | 0 | dfrfevg | t3_631p99 | null | null | t1_dfraxzb | null | 1493749569 | 5 | t5_2fwo | null | null | null |
null | upular21 | null | I can do it in one
>require('terrain') | null | 0 | 1491202386 | False | 0 | dfrfftj | t3_630cgb | null | null | t3_630cgb | null | 1493749582 | -7 | t5_2fwo | null | null | null |
null | Fyoucon | null | I get around 0.5-2 seconds, sometimes 4 from a cold build | null | 0 | 1491202454 | False | 0 | dfrfgsy | t3_631p99 | null | null | t1_dfr7x0c | null | 1493749595 | 1 | t5_2fwo | null | null | null |
null | PalaceOfLove706 | null | Thanks for the reply! It sounds like you chose the right University and I predict you will already have a leg up after you graduate and hit industry. | null | 0 | 1491202658 | False | 0 | dfrfjt2 | t3_6344ep | null | null | t1_dfrejhq | null | 1493749635 | 4 | t5_2fwo | null | null | null |
null | AngularBeginner | null | > /r/programming is a reddit for discussion and news about computer programming
Besides, there's so much wrong in this little code snippet:
- 3: #regions are code smell. http://softwareengineering.stackexchange.com/a/53114
- 8: What's the point of this public constant? It's not used anywhere. It also seems oddly application specific.
- 14: Don't have nested public classes. That's an anti-pattern. If it's public, it's warranted to be in the namespace.
- 14: Don't prefix enum names with `Enum`.
- 14: This type is not used anywhere.
- 33: Don't pass `Enum` as the argument type. Use the actual enum types - that's what you created it for.
- 37: Don't switch on an `int` - switch on the actual enumeration values.
- 59: Why a default? If you reach this, it means an invalid argument was passed. Throw an `ArgumentOutOfRangeException` instead.
- 81: Why not use the constructor overload that immediately accepts the value too?
- 83: Pointless comment. "Set the cookie value" - well, I can see that just fine in the next line.
- 91: Don't access `HttpContext.Current`. This is code smell, avoid the use of such singletons. This makes it impossible to test this code. Instead accept the `Response` object as an argument.
- 93: Why does this method return the `cookieValue`? That makes no sense.
- 101: Incomplete documentation. What does this method return? What happens if `cookieName` does not exist? The documentation should tell this.
- 105: Why is the default value `string.Empty`? Now it's impossible to distinguish between an unset cookie, and a cookie with an empty value.
- 126: A lot of duplicate code. Just combine the `Add-` and `Update-` methods into one, aka `Set-`. | null | 0 | 1491202709 | 1491202997 | 0 | dfrfkin | t3_634hyp | null | null | t3_634hyp | null | 1493749644 | 1 | t5_2fwo | null | null | null |
null | ForeverAlot | null | OWASP is a good starting point, and probably sufficient for the majority of contemporary applications, which are mainly rehashes of the same Web shop.
The manager I mentioned in my other comment, who is otherwise technologically literate and certainly our *most* technologically literate manager, had never even heard of OWASP until three weeks ago. I overheard him ask one of my peers if they'd ever heard of OWASP and the answer was no. And we're just a Web shop. We've integrated with multiple payment providers whose authentication "security" mechanism is a plain, deterministic MD5(key + payload) instead of an HMAC.
It's not really the learning that's difficult. It's figuring out what to learn that's difficult, and just doing simply cannot teach you that (unless you count subsequent breaches as an acceptable learning tool). | null | 0 | 1491202732 | False | 0 | dfrfkv0 | t3_6344ep | null | null | t1_dfrf2kc | null | 1493749650 | 21 | t5_2fwo | null | null | null |
null | Isvara | null | Midir's first language is Dick. | null | 0 | 1491202941 | False | 0 | dfrfnu0 | t3_62yl50 | null | null | t1_dfqetwi | null | 1493749689 | 3 | t5_2fwo | null | null | null |
null | ffiarpg | null | I think you are dramatically overestimating the amount of data a couple hundred object states would need. | null | 0 | 1491203193 | False | 0 | dfrfre7 | t3_62yl50 | null | null | t1_dfrbfx2 | null | 1493749736 | 8 | t5_2fwo | null | null | null |
null | t0rakka | null | Heh, all these years (199x-) I been using intrusive (implicit make_shared ;) ReferenceCounted base class. It has been tempting to go with more modern alternatives annually but I have resisted. It is nice that the std::shared_ptr is MT-safe (either with a mutex or using atomic lock-free implementation) but it is a price I am not willing to pay when I prefer dependency graph for my task system where depending tasks are not scheduled until the parents are completed; I don't want to pay the admission fee twice. Cinder is pretty good stuff all the same. | null | 0 | 1491203291 | False | 0 | dfrfsrt | t3_634f0e | null | null | t1_dfreiqj | null | 1493749755 | 1 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 1 | 1491203312 | 1491400302 | 0 | dfrft2l | t3_631p99 | null | null | t1_dfrfevg | null | 1493749759 | 2 | t5_2fwo | null | null | null |
null | yawkat | null | You *can* avoid many basic security issues via sane practices. Stuff like "don't trust the client" or "hash your passwords" or "have layers of trust". Writing 100% secure software is hard for sure, but you can get very far fairly easily. Security in application, especially web, development has become much simpler in the past decade.
It's totally an issue when developers don't even know to follow basic security practices and it's a mistake to label the topic of security as "unattainable to the common developer". | null | 0 | 1491203322 | False | 0 | dfrft7k | t3_6344ep | null | null | t1_dfrf8fz | null | 1493749761 | 25 | t5_2fwo | null | null | null |
null | afraca | null | I'm quite the Haskell proponent, but I doubt it. Being a lazy functional language it's great for proving code is correct, catch bugs earlier on, but in general performance is not on par with C/C++ (yet).
There are some exceptions, simple programs like 'fibonacci' etc, that benefit from Haskells purity, but I have yet to see it happen on a big case. But that's not the selling point for Haskell.
edit: pm me if you want more info on Haskell, or hop over to /r/haskell or /r/haskellquestions ! | null | 0 | 1491203351 | False | 0 | dfrftn5 | t3_62yl50 | null | null | t1_dfrafba | null | 1493749766 | 1 | t5_2fwo | null | null | null |
null | PalaceOfLove706 | null | Totally agree. My OP was regarding passwords as this is the topic. I should have better clarified. | null | 0 | 1491203406 | False | 0 | dfrfuei | t3_6344ep | null | null | t1_dfreyoo | null | 1493749777 | 3 | t5_2fwo | null | null | null |
null | gunni | null | Here's a haskell project that implements a simple shooter game. Client is Haskell, server is C#, communication protocol is plain bencode.
https://bitbucket.org/Polarina/implvz-client/src | null | 0 | 1491203412 | False | 0 | dfrfuhf | t3_62yl50 | null | null | t1_dfq4yqq | null | 1493749778 | 1 | t5_2fwo | null | null | null |
null | fromscalatohaskell | null | It's not, but it's good start to get your head geared towards thinking "that way". It helps you with steep slope (as it has lots of examples etc.). I'd definitely recommend you to give it a try. FRP is probably my fav. part of FP, and it's what got me hooked into it. Before I was not "buying it", and was very skeptical. | null | 0 | 1491203496 | False | 0 | dfrfvq8 | t3_62yl50 | null | null | t1_dfr8efc | null | 1493749794 | 1 | t5_2fwo | null | null | null |
null | woutske | null | Don't be sorry, just giving a tip! | null | 0 | 1491203512 | False | 0 | dfrfvxz | t3_634hyp | null | null | t1_dfrewlf | null | 1493749797 | 1 | t5_2fwo | null | null | null |
null | donalmacc | null | If I showed someone what I had worked onas a learning experience, and they smugly lectured me on how "that is probably the worst thing they can do", is walk away and make a point of never dealing with them voluntarily again. | null | 0 | 1491203905 | False | 0 | dfrg1jt | t3_6344ep | null | null | t1_dfr9c8y | null | 1493749874 | 15 | t5_2fwo | null | null | null |
null | kralyk | null | > and really soon Native, yeah native like Swift, thanks to their LLVM backend
Can you provide a link? I find this hard to believe. Kotlin is a garbage-collected language, how would they go about memory management when targeting LLVM/native? Swift is not garbage-collected, not in the usual sense anyway (ie. it doesn't have a tracing GC).
| null | 0 | 1491204010 | False | 0 | dfrg2z6 | t3_62utum | null | null | t1_dfpd0h8 | null | 1493749893 | 1 | t5_2fwo | null | null | null |
null | PalaceOfLove706 | null | I live in Canada. There was no smugness at all. Hell, I'm sure I probably ended up apologizing and then we went for a Timmies before playing a game of pond hockey. | null | 0 | 1491204062 | False | 0 | dfrg3oz | t3_6344ep | null | null | t1_dfrg1jt | null | 1493749903 | 15 | t5_2fwo | null | null | null |
null | jbb67 | null | I wish it wasn't mostly YouTube videos. I had a quick look and it looks interesting but I'm not going to want to spend a long time watching videos.
From what i saw it looks interesting. I'll try to find time to watch more and comment usefully but more written info would be appreciated :) | null | 0 | 1491204434 | False | 0 | dfrg8t8 | t3_631p99 | null | null | t3_631p99 | null | 1493749971 | 6 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491204711 | False | 0 | dfrgclm | t3_62z7p7 | null | null | t1_dfqjk6n | null | 1493750021 | 3 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491204825 | False | 0 | dfrge5v | t3_634f0e | null | null | t3_634f0e | null | 1493750041 | 1 | t5_2fwo | null | null | null |
null | combinatorylogic | null | Do I have to explain anything to a commie shit? You deserve no right to exist. | null | 0 | 1491205059 | False | 0 | dfrgh7m | t3_631p99 | null | null | t1_dfr4dhg | null | 1493750082 | -2 | t5_2fwo | null | null | null |
null | eelfonos | null | The CloudPassage article they link to has some incorrect information.
>University of Michigan (ranked 12th) is the only one of U.S. News & World Report’s top 36 U.S. computer science programs that requires a security course for graduation.
EECS 388: Introduction To Computer Security is not actually required to graduate. It is a very popular course though.
https://www.eecs.umich.edu/eecs/undergraduate/computer-science/16_17_cs_eng.pdf
http://cs.lsa.umich.edu/wp-content/uploads/2016/07/16_17_cs_lsa.pdf | null | 0 | 1491205150 | False | 0 | dfrgid3 | t3_6344ep | null | null | t3_6344ep | null | 1493750098 | 6 | t5_2fwo | null | null | null |
null | lapinrigolo | null | Are you allowed to paste this? | null | 0 | 1491205222 | False | 0 | dfrgjag | t3_63405x | null | null | t3_63405x | null | 1493750111 | 8 | t5_2fwo | null | null | null |
null | sli | null | Whoa whoa, your line is:
> There are two talks at I/O 2017 for Flutter.
> https://events.google.com/io/schedule/?sid=fed907cf-4b51-4337-8ee0-43bca96dec08#may-17
> https://events.google.com/io/schedule/?sid=496d01fb-2139-4fd6-84b2-e585d1a20e61#may-19
> Disclaimer: I'm in one of the talks. | null | 0 | 1491205259 | False | 0 | dfrgjtx | t3_62tki4 | null | null | t1_dfq1q3s | null | 1493750118 | 1 | t5_2fwo | null | null | null |
null | t0rakka | null | Yup. I tried to find substance in the criticism as well but it was mostly about tabs versus spaces and how the author wasn't warming up to nitpicking. They said his tone was condescending while being very condescending themselves, example: "have you heard of overloading operator new?" Cringeworthy material and not because of the author. | null | 0 | 1491205360 | False | 0 | dfrgl66 | t3_62z7p7 | null | null | t1_dfqstxj | null | 1493750135 | 3 | t5_2fwo | null | null | null |
null | JayTh3King | null | LOL we were taught to use sha1 for hasing at uni =,=
| null | 0 | 1491205360 | False | 0 | dfrgl6a | t3_6344ep | null | null | t1_dfr7mdf | null | 1493750135 | 2 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491205455 | False | 0 | dfrgmfg | t3_630cgb | null | null | t1_dfqror4 | null | 1493750152 | -1 | t5_2fwo | null | null | null |
null | LtAramaki | null | Next time Google what exists before shitposting. | null | 0 | 1491205592 | False | 0 | dfrgo80 | t3_62yl50 | null | null | t1_dfqz6t7 | null | 1493750177 | -2 | t5_2fwo | null | null | null |
null | NotExecutable | null | He did not claim that ALL the people in the industry flock to the nearby industry center. But the effect is really noticeable. Our company has rather awkward staffing issues because our city can't compete with Berlin, Munich or the rhineland region.
(For context: We are one of the top 5 cities size-wise in the state and the next state over.) | null | 0 | 1491205683 | 1491205963 | 0 | dfrgpdl | t3_62zrgk | null | null | t1_dfqq26t | null | 1493750192 | 1 | t5_2fwo | null | null | null |
null | Futakitty | null | https://tools.ietf.org/html/rfc7519
Nowhere is statelessness mentioned. | null | 0 | 1491205842 | False | 0 | dfrgrek | t3_62ul90 | null | null | t1_dfr2wf0 | null | 1493750219 | 1 | t5_2fwo | null | null | null |
null | FrzTmto | null | Security is a process, not a magic powder you add at the end, as Bruce Schneier explains.
Must be incorporated from the beginning and you have to do "defensive programming" and not trust anything you have not checked. | null | 0 | 1491206019 | False | 0 | dfrgtku | t3_6344ep | null | null | t3_6344ep | null | 1493750248 | 5 | t5_2fwo | null | null | null |
null | Purlox | null | Why would this be OS specific? Why would a pseudo-random function depend on the OS? | null | 0 | 1491206080 | False | 0 | dfrgudb | t3_630cgb | null | null | t1_dfrgmfg | null | 1493750259 | 3 | t5_2fwo | null | null | null |
null | TonySu | null | > Filesystem
Is this real life? | null | 0 | 1491206130 | False | 0 | dfrgv01 | t3_6350ax | null | null | t3_6350ax | null | 1493750267 | 300 | t5_2fwo | null | null | null |
null | trikkuz | null | I agree with you. Probably you'll enjoy watching this video that seems a pretty accurate description of me :)
https://www.youtube.com/watch?v=R0JKCYZ8hng | null | 0 | 1491206146 | False | 0 | dfrgv7b | t3_633o3y | null | null | t3_633o3y | null | 1493750270 | 2 | t5_2fwo | null | null | null |
null | Grimy_ | null | > The exception specification of a function is now part of the function’s type: void f() noexcept(true); and void f() noexcept(false); are functions of two distinct types.
Because that worked *so well* in Java. | null | 0 | 1491206190 | False | 0 | dfrgvro | t3_6350ax | null | null | t3_6350ax | null | 1493750278 | 38 | t5_2fwo | null | null | null |
null | fgilcher | null | mruby's target market in embedding is the lua space. | null | 0 | 1491206339 | False | 0 | dfrgxmj | t3_630ysh | null | null | t1_dfrfeaq | null | 1493750302 | 6 | t5_2fwo | null | null | null |
null | Pixel6692 | null | Thank you for article, interesting read. | null | 0 | 1491206379 | False | 0 | dfrgy45 | t3_62yl50 | null | null | t1_dfq66ak | null | 1493750309 | 4 | t5_2fwo | null | null | null |
null | sgmctabnxjs | null | Is this just file streams?
^^^\(Forgive ^^^me, ^^^Freddie\) | null | 0 | 1491206420 | 1491208020 | 0 | dfrgyl7 | t3_6350ax | null | null | t1_dfrgv01 | null | 1493750315 | 238 | t5_2fwo | null | null | null |
null | FrzTmto | null | Because most companies frown on you not being in the building but working away.
They have no problem asking people in India or China to work from them at a distance, and very often this involves code being produced, yet they want you to be in the building at all times when in the same country.
If you are well organized and serious, you will be much more productive from home. And you totally cancel the travel to and from work, which is 100 % gain from you. You're never late, and you produce better work in a quiet controlled environment.
We can even get around the "daily stand ups" by using telepresence if we really wanted to.
The other reason is taht a lot of developers are "city rats" that love to be in cities so they can go out and have fun. They're not "old people that want to work in a city but prefer to live outside of those". I see this where I work : I would have absolutely no problem to work in the middle of nowhere if I have either sea or mountains close to be able to get nature when I go out, instead of living in the suburbs of Paris which is polluted, criminality is a serious problem (ask Chinese tourists...) and quality of life is rather poor if you live in a suburb where they "parked" immigrants and there you have drug trafic and problems. But... if you want to go out anyday of the week, you can. Day or night, you have clubs running...
The jobs we're doing at work, we could do them from a remote location, almost on top of moutains where we could go trekking or skiing and have an amazing quality of life and air you get from those remote places. But most people here (more than half) would not accept to relocate there, because they want to have a big urban context as soon they get out of work. So we have no real choice. | null | 0 | 1491206482 | 1491383369 | 0 | dfrgzdg | t3_62zrgk | null | null | t3_62zrgk | null | 1493750325 | 5 | t5_2fwo | null | null | null |
null | PalaceOfLove706 | null | I've always been under the mindset that every good Web shop needs a good pen-tester or needs to contract out to a security expert.
At our shop, a chunk of our business came from our team of designers building WordPress sites for clients. Let me tell you those designers did not have security in mind. One day I just decided to fire up Kali and showed my CTO how easy it was to obtain one of our client's admin passwords from a site that was in production. I think I actually scared him because shortly after that, he made the decision that WordPress was dead at our shop and if any work came in requesting it, we would contract that work out. | null | 0 | 1491206505 | False | 0 | dfrgzne | t3_6344ep | null | null | t1_dfrfkv0 | null | 1493750329 | 5 | t5_2fwo | null | null | null |
null | Kok_Nikol | null | This was a whole engine :P | null | 0 | 1491206582 | False | 0 | dfrh0lz | t3_62dmf4 | null | null | t1_dfmml3r | null | 1493750341 | 1 | t5_2fwo | null | null | null |
null | gamee333 | null | suscribe share an like | null | 0 | 1491206586 | False | 0 | dfrh0nz | t3_635eij | null | null | t3_635eij | null | 1493750343 | -5 | t5_2fwo | null | null | null |
null | Eirenarch | null | You can't compete with Berlin in innovation and making great things or in salaries? :) | null | 0 | 1491206587 | False | 0 | dfrh0og | t3_62zrgk | null | null | t1_dfrgpdl | null | 1493750343 | 1 | t5_2fwo | null | null | null |
null | OrigamiKitten | null | All of them!
Unfortunately, most languages have landing pages that are nothing but a bunch of buzz words. Yes, they have meaning to the author or people already familiar with the language, but not much for anybody else. Generalization == loss of information.
For every feature there should be an example that demonstrates it. Also, writing "in no particular order" is not good. You did pick an order, but you communicate to readers that you didn't spend any time thinking about it? Well, I think you should. Put the killer features first. The features that make you want to use it. The features that made you write it in the first place. What do you love most about your language?
Oh, and don't get discouraged by comments/downvotes on Reddit. People here are always pretty hostile towards new languages. Ignore them! Do it anyways! You're awesome for doing this! | null | 0 | 1491206717 | False | 0 | dfrh2aq | t3_631p99 | null | null | t1_dfqn7pf | null | 1493750364 | 4 | t5_2fwo | null | null | null |
null | mayur-lohite | null | Can you help me to refactor it? Can you send me the class with correction? Your help is appreciated. | null | 0 | 1491206757 | False | 0 | dfrh2sc | t3_634hyp | null | null | t1_dfrfkin | null | 1493750371 | 1 | t5_2fwo | null | null | null |
null | yawara18 | null | who is he? if i don't understand BP in 5 mins after i watch this video. might not happy. | null | 0 | 1491206881 | False | 0 | dfrh4bp | t3_634srm | null | null | t3_634srm | null | 1493750391 | 1 | t5_2fwo | null | null | null |
null | hunyeti | null | I'm kind of in the same boat.
I find that programming gives me much greater freedom, and challenge. That is for my side projects, not my dayjob.
But, hey, i can make money with programming. | null | 0 | 1491206906 | False | 0 | dfrh4mp | t3_633o3y | null | null | t3_633o3y | null | 1493750395 | 6 | t5_2fwo | null | null | null |
null | FrzTmto | null | I have worked 2 years in UK and quality of life is very, very poor compared to Paris.
The housings are often of very bad quality if not decrepit in the UK, it's a big problem with medical care if you need to see a dentist (so much that UK people went to France so they would not wait 6 monthes with tooth pain). In France, I get a monthly pay. I pay 360 euro for a 30 square meter flat (enough for 1 person) and those 360 contain everything : the housing, hot and cold water, the winter heating, a parking slot. With about 1900 euro per month I spend 300 on food per month, 360 on housing, which leaves 1240 for my use. Of those I have 80 euro of "local" taxes (local = they go to the city) and 180 of "national" taxes, which leaves me 980 euro per month, which is 834 UK pounds per month of net income, all taxes, housing and food paid.
Here I can afford a 1300 cc bike with insurance (a bit expensive, insurance is about 130 euro / month in Paris because of criminalty, frequent theft and people drive very badly here).
What I like most is the medical care. Most medicine are reimbursed at 80 %, I can call the dentist and see her within 2 weeks, optician for glasses it's 1 or 2 weeks or wait, no more. My glasses are worth about 600 euro (200 per glass, 200 for the frame) and the insurance pays about 500 euro for me, so changing glasses only costs me from 80 to 100 euro of my money. The "securité sociale" is amazing.
You may feel you get more money by working in the UK, but if you come work to France, you soon realize that some things like medical care, housing, are of very higher quality and really less expensive. Laws here forbid most crap housing you get in the UK. And I'm not even talking of the food quality here, you can eat so well for so cheap just by learning basic cooking. I will never, ever go back to the UK. | null | 0 | 1491207039 | False | 0 | dfrh6dg | t3_62zrgk | null | null | t1_dfrf5k1 | null | 1493750418 | 5 | t5_2fwo | null | null | null |
null | learnjava | null | I've played with bacon.js once. Would you consider that real frp? Kinda liked it for something highly event driven | null | 0 | 1491207064 | False | 0 | dfrh6pl | t3_62yl50 | null | null | t1_dfqc2o6 | null | 1493750423 | 1 | t5_2fwo | null | null | null |
null | fixed-point | null | You can give each user a random string (storing it alongside their other profile data in your DB) and include this in the token. Check the random string matches what you have in the database each time you validate the token. Each time the password is changed, re-generate the random string, which will invalidate any existing tokens.
In the past I've used the password's salt for this, in order to avoid having to store an extra random string per user. | null | 0 | 1491207168 | False | 0 | dfrh7zx | t3_62ul90 | null | null | t1_dfpmdrk | null | 1493750440 | 1 | t5_2fwo | null | null | null |
null | mayur-lohite | null | > /r/programming is a reddit for discussion and news about computer programming
Sorry for posting in wrong section. I am new in reddit and in programming too.
| null | 0 | 1491207171 | False | 0 | dfrh81d | t3_634hyp | null | null | t1_dfrfkin | null | 1493750441 | 1 | t5_2fwo | null | null | null |
null | mfukar | null | Yeah, fuck this guy trying to teach me from their mistakes! | null | 0 | 1491207286 | False | 0 | dfrh9ha | t3_6344ep | null | null | t1_dfrg1jt | null | 1493750461 | 9 | t5_2fwo | null | null | null |
null | eadgar | null | Please fix your English. | null | 0 | 1491207314 | False | 0 | dfrh9tq | t3_635eij | null | null | t3_635eij | null | 1493750466 | 2 | t5_2fwo | null | null | null |
null | AngularBeginner | null | Try to understand the points I made, then fix each point. | null | 0 | 1491207402 | False | 0 | dfrhawe | t3_634hyp | null | null | t1_dfrh2sc | null | 1493750481 | 1 | t5_2fwo | null | null | null |
null | gymlyfe | null | This is one of the funniest videos I have seen | null | 0 | 1491207411 | False | 0 | dfrhb0e | t3_635eij | null | null | t3_635eij | null | 1493750482 | 3 | t5_2fwo | null | null | null |
null | BoxMonster44 | null | Good ol' `public static void dangerZone throws Exception`. | null | 0 | 1491207512 | False | 0 | dfrhcaf | t3_6350ax | null | null | t1_dfrgvro | null | 1493750499 | 25 | t5_2fwo | null | null | null |
null | foonathan | null | That has nothing to do with checked exceptions. You can still throw in a noexcept function etc. The only thing that is changed is that now you can have a function pointer to a noexcept function which will not bind to a non-noexcept function. | null | 0 | 1491207512 | False | 0 | dfrhcag | t3_6350ax | null | null | t1_dfrgvro | null | 1493750499 | 70 | t5_2fwo | null | null | null |
null | Zetho | null | It irritates me aswell. I always tend to think that a part of the line is cut off. On mobile there is no margin on the left. | null | 0 | 1491207533 | False | 0 | dfrhcjq | t3_630cgb | null | null | t1_dfqwnui | null | 1493750502 | 1 | t5_2fwo | null | null | null |
null | mayur-lohite | null | Okay I will fix the points which I understand. I will reply again for the points which I don't understand. | null | 0 | 1491207554 | False | 0 | dfrhctf | t3_634hyp | null | null | t1_dfrhawe | null | 1493750506 | 1 | t5_2fwo | null | null | null |
null | donalmacc | null | I jumped to conclusions - that'll teach me to reply before I have a coffee. | null | 0 | 1491207802 | False | 0 | dfrhftw | t3_6344ep | null | null | t1_dfrg3oz | null | 1493750546 | 6 | t5_2fwo | null | null | null |
null | dirkt | null | Nah. Go over to r/germany or r/german and see expats complain that they can't practice their newly learned German, because every time they try, the Germans answer in English. | null | 0 | 1491207937 | False | 0 | dfrhhgy | t3_62ls64 | null | null | t1_dfqij47 | null | 1493750568 | 2 | t5_2fwo | null | null | null |
null | hydrosylator | null | This is an ad, and not a very good one.
I actually was interested in some specifics, but there aren't any. | null | 0 | 1491207982 | False | 0 | dfrhi1n | t3_6355ui | null | null | t3_6355ui | null | 1493750575 | 6 | t5_2fwo | null | null | null |
null | AngularBeginner | null | https://www.reddit.com/r/programming/comments/4thqsl/030000000000000004com/
https://www.reddit.com/r/programming/comments/3sndq8/030000000000000004/ | null | 0 | 1491208046 | False | 0 | dfrhitr | t3_635ggh | null | null | t3_635ggh | null | 1493750585 | 13 | t5_2fwo | null | null | null |
null | ReversedGif | null | I don't. | null | 0 | 1491208264 | False | 0 | dfrhlgf | t3_62yl50 | null | null | t1_dfrfre7 | null | 1493750620 | 2 | t5_2fwo | null | null | null |
null | TonySu | null | Caught in RAII, no leaks from memory. | null | 0 | 1491208306 | False | 0 | dfrhlym | t3_6350ax | null | null | t1_dfrgyl7 | null | 1493750627 | 202 | t5_2fwo | null | null | null |
null | PalaceOfLove706 | null | Nah - Blame it on me for having too much coffee and staying up all night working on pet project while hanging out on Reddit. My reply totally made me sound like I'm that dick guy that nobody likes working with because I come across as a know-it-all. | null | 0 | 1491208386 | False | 0 | dfrhmww | t3_6344ep | null | null | t1_dfrhftw | null | 1493750640 | 7 | t5_2fwo | null | null | null |
null | rlrgr | null | How many languages do you know? | null | 0 | 1491208428 | False | 0 | dfrhndr | t3_62yl50 | null | null | t1_dfqj2hw | null | 1493750646 | 1 | t5_2fwo | null | null | null |
null | Grimy_ | null | > That has nothing to do with checked exceptions.
Indeed. That’s why I didn’t mention checked exceptions at all. The issue is that all higher-order functions now have to handle this. For example, a `compose` function that takes as arguments two functions `f` and `g` has to handle the case where either `f` or `g` or both are `noexcept` and return a function of the appropriate type.
… now that I think about it, that won’t really be a problem in C++ because you can just templatize over the “noexcept-ness” of functions. You can’t do that with Java generics, which was a big part of the issue. | null | 0 | 1491208634 | False | 0 | dfrhptx | t3_6350ax | null | null | t1_dfrhcag | null | 1493750679 | 23 | t5_2fwo | null | null | null |
null | lpuig | null | This a good example of what I meant. | null | 0 | 1491208638 | False | 0 | dfrhpvi | t3_62zrgk | null | null | t1_dfrh6dg | null | 1493750680 | 1 | t5_2fwo | null | null | null |
null | MrMashedPotato | null | On top of that, the scroll effect used on that page is horrendous. | null | 0 | 1491208675 | False | 0 | dfrhqbf | t3_6355ui | null | null | t1_dfrhi1n | null | 1493750685 | 3 | t5_2fwo | null | null | null |
null | steamruler | null | > I predict that e2e is more or less over, and IPv6 CPEs will come with restrictive firewalls factory configured to protect the network providers, because everyone will be so used to working around CGN already that no-one will really miss it.
In my experience, the CPE doesn't actually block anything on the IPv6 side, beyond acting as a firewall for its own IP. You need to run a local firewall instead.
P2P is also very common in games, so there's pressure to support end-to-end, either directly or indirectly through exposing something like PCP. | null | 0 | 1491208785 | False | 0 | dfrhrma | t3_62yl50 | null | null | t1_dfqx6aj | null | 1493750703 | 2 | t5_2fwo | null | null | null |
null | Grimy_ | null | Open your files…
Look up the inodes in C… | null | 0 | 1491208834 | False | 0 | dfrhs7o | t3_6350ax | null | null | t1_dfrhlym | null | 1493750711 | 168 | t5_2fwo | null | null | null |
null | throwaway_FF28971396 | null | >Remove ++ for bool
Cyka blyat for fuck sake? Yay guys I'm gonna spend my whole MONTH fixing this shit. | null | 0 | 1491208887 | False | 0 | dfrhstj | t3_6350ax | null | null | t3_6350ax | null | 1493750719 | 139 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491209043 | False | 0 | dfrhuoe | t3_6344ep | null | null | t1_dfrey2u | null | 1493750743 | 1 | t5_2fwo | null | null | null |
null | foonathan | null | >Indeed. That’s why I didn’t mention checked exceptions at all.
Oh, I'm sorry, I misinterpreted you.
> The issue is that all higher-order functions now have to handle this. For example, a `compose` function that takes as arguments two functions `f` and `g` has to handle the case where either `f` or `g` or both are `noexcept` and return a function of the appropriate type.
>
>… now that I think about it, that won’t really be a problem in C++ because you can just templatize over the “noexcept-ness” of functions. You can’t do that with Java generics, which was a big part of the issue.
You have to use templates or type erasure for higher ordered functions anyway, as in C++ you have function pointers, function references, classes with overloaded operator (), classes with function pointer conversion, member function pointers,... One more type doesn't really matter.
| null | 0 | 1491209149 | False | 0 | dfrhvvx | t3_6350ax | null | null | t1_dfrhptx | null | 1493750760 | 32 | t5_2fwo | null | null | null |
null | fnord123 | null | Mama, just segged a proc. Freed some memory so it wont be read. Freed again and now its dead. | null | 0 | 1491209182 | 1491214428 | 0 | dfrhw8s | t3_6350ax | null | null | t1_dfrhs7o | null | 1493750764 | 137 | t5_2fwo | null | null | null |
null | sgmctabnxjs | null | Bet you find some bugs. | null | 0 | 1491209367 | False | 0 | dfrhyer | t3_6350ax | null | null | t1_dfrhstj | null | 1493750793 | 129 | t5_2fwo | null | null | null |
null | FrzTmto | null | Most of the innovation came from the US so they used English.
I have always used English because I don't need to wait for any translation, I avoid any errors in translation, I keep using the English technical terms which are very precise.
For example reading an HTML spec or C/C++ or Java langage spec in English you know where you are. As soon it's translated to another langage, unless it has been done with the utmost care by someone very proficient at it, you will spend time trying to understand instead of getting to the point with the original English version.
Look at O'Reilly. They opened in France and did translate their books to French. They ended up closing the French offices, because they found out that people bought the english books because they didn't want to wait for the translation, and were interested in the English book because you would not have to take care of bad translation or errors that were not present in the original version. So the French books would not sale, or not enough to be profitable. | null | 0 | 1491209380 | False | 0 | dfrhyl6 | t3_62ls64 | null | null | t3_62ls64 | null | 1493750796 | 2 | t5_2fwo | null | null | null |
null | kefeer | null | Astonishingly, here djb talks about what he did *wrong* in qmail security-wise. Most of the paper is applicable to when you are just doing a contact form in PHP. A very good read. Also he wants exceptions. Major talking points:
2. HOW CAN WE MAKE PROGRESS?
2.1. Answer 1: eliminating bugs
2.2. Answer 2: eliminating code
2.3. Answer 3: eliminating trusted code
3. ELIMINATING BUGS
3.1 Enforcing explicit data flow
3.2 Simplifying integer semantics
3.3 Avoiding parsing
3.4 Generalizing from errors to inputs
4. ELIMINATING CODE
4.1 Identifying common functions
4.2 Automatically handling temporary errors
4.3 Reusing network tools
4.4 Reusing access controls
4.5 Reusing the filesystem
5. ELIMINATING TRUSTED CODE
5.1 Accurately measuring the TCB (Trusted computing base)
5.2 Isolating single-source transformations
5.3 Delaying multiple-source merges
5.4 Do we really need a small TCB?
| null | 0 | 1491209957 | 1491210260 | 0 | dfri58z | t3_6355if | null | null | t3_6355if | null | 1493750887 | 7 | t5_2fwo | null | null | null |
null | beginner_ | null | Not knowing to salt and hash passwords is pretty bad. I admit I'm no security expert but I would have known that.
What I say adds to the issue is that many devs create app for in-house use, eg. intra-net. In those causes security is much less looked at because it's intra-net only. | null | 0 | 1491210013 | False | 0 | dfri5v1 | t3_6344ep | null | null | t3_6344ep | null | 1493750896 | 5 | t5_2fwo | null | null | null |
null | xconde | null | This article itself needs a post mortom | null | 0 | 1491210167 | False | 0 | dfri7mr | t3_630ysh | null | null | t3_630ysh | null | 1493750919 | 3 | t5_2fwo | null | null | null |
null | [deleted] | null | [deleted] | null | 0 | 1491210203 | False | 0 | dfri81a | t3_6344ep | null | null | t1_dfrgl6a | null | 1493750924 | 1 | t5_2fwo | null | null | null |
null | ThisIs_MyName | null | Did you check the username of the account you're replying to?
Looks like `/u/RememberGlennFiedler` was created just to bash one guy. | null | 0 | 1491210280 | False | 0 | dfri8vh | t3_62z7p7 | null | null | t1_dfqstxj | null | 1493750935 | 2 | t5_2fwo | null | null | null |
null | AngularBeginner | null | Ugly. Too spread out. Not focused on important things.
And I really doubt you have the rights to use that picture for this purpose. | null | 0 | 1491210286 | False | 0 | dfri8y7 | t3_635h86 | null | null | t3_635h86 | null | 1493750937 | 1 | t5_2fwo | null | null | null |
null | WOnder9393 | null | > Floating point literals with hexadecimal base and decimal exponent: 0xC.68p+2, 0x1.P-126. **C has supported this syntax since C99**, and printf supports it via %a.
TIL | null | 0 | 1491210304 | False | 0 | dfri955 | t3_6350ax | null | null | t3_6350ax | null | 1493750940 | 124 | t5_2fwo | null | null | null |
null | TerrorBite | null | > Slow down Django …
This isn't Python, it's Ruby!
**badum tish** | null | 0 | 1491210308 | False | 0 | dfri974 | t3_630ysh | null | null | t1_dfqq46g | null | 1493750940 | 2 | t5_2fwo | null | null | null |
null | Poddster | null | > London, the place where they're limiting the cars that can drive into it?
Which is why no one actually drives into it. | null | 0 | 1491210354 | False | 0 | dfri9og | t3_62zrgk | null | null | t1_dfrek9n | null | 1493750946 | 3 | t5_2fwo | null | null | null |
null | DrQuint | null | >Why more and more companies are deciding to outsource their financial software development?
To release themselves of liability when shit hits the fan. *NEXT!* | null | 0 | 1491210369 | False | 0 | dfri9uv | t3_6355ui | null | null | t3_6355ui | null | 1493750949 | 7 | t5_2fwo | null | null | null |
null | Nomto | null | Month? It's a trivial change that doesn't even require you to think. Just follow the compiler errors. | null | 0 | 1491210370 | False | 0 | dfri9v8 | t3_6350ax | null | null | t1_dfrhstj | null | 1493750949 | 44 | t5_2fwo | null | null | null |
null | p2rkw | null | I'd like to propose to_string(std::string) and to_string(const char*).
Why? Because templates. | null | 0 | 1491210478 | False | 0 | dfrib2r | t3_6350ax | null | null | t3_6350ax | null | 1493750966 | 75 | t5_2fwo | null | null | null |
null | xesenix | null | > "I don't think anyone would expect someone to compose their own music before first learning how to play the music of others first."
Hmm i cant play others music but i kind of can compose something of my own.
I am just beginner at composing worked only few weeks on that skill so don`t expect anything special:
[Example on soundcloud](https://soundcloud.com/xesenix)
Really nice article :) | null | 0 | 1491210499 | False | 0 | dfribap | t3_633o3y | null | null | t3_633o3y | null | 1493750968 | 4 | t5_2fwo | null | null | null |
null | uerb | null | ... sorry if it is a stupid question, but why the hell would someone use increments for a boolean variable?
Edit: reading the answers reminded me of this [relevant XKCD](https://xkcd.com/1172/). | null | 0 | 1491210580 | 1491226164 | 0 | dfric97 | t3_6350ax | null | null | t1_dfrhyer | null | 1493750981 | 177 | 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.