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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
True | [deleted] | null | Would sign if I was a US citizen, but we might need to start something similar for the EU. | null | 0 | 1319659733 | False | 0 | c2uot0x | t3_lpxv1 | null | t1_c2uot0x | t3_lpxv1 | null | 1427787221 | 1 | t5_2fwo | null | null | null |
True | Nebu | null | Sorry, I don't understand your reply. Are you making a probabilistic argument about events that have already occurred in the past? Are you saying that *I* specifically shouldn't write bash implementation, or that nobody in the world should? I really don't know what you're trying to get at. | null | 0 | 1319659768 | False | 0 | c2uot8e | t3_lobf3 | null | t1_c2uot8e | t1_c2ujnqi | null | 1427787223 | 1 | t5_2fwo | null | null | null |
True | monkeyvselephant | null | [Read this afterwards](http://www.amazon.com/Perl-Best-Practices-Damian-Conway/dp/0596001738). If you're going to be a programmer, you should start learning best practices as soon as possible. These are all just suggestions, but they're pretty good ones. | null | 0 | 1319659774 | False | 0 | c2uot9w | t3_lpmaq | null | t1_c2uot9w | t1_c2ulszy | null | 1427787224 | 2 | t5_2fwo | null | null | null |
True | i8beef | null | **IRepository<T>**
I don't understand your criticism here. The use of a generic repository here specifically addresses this criticism...
**Repository<T> fields**
This seems like a pretty arbitrary declaration... protected is there specifically to allow for me to extend the generic repository with a spec... | null | 0 | 1319659779 | False | 0 | c2uotb2 | t3_lpoeb | null | t1_c2uotb2 | t1_c2umrqm | null | 1427787224 | 3 | t5_2fwo | null | null | null |
True | mr_chromatic | null | > In C you have the data at one point, and the operations somewhere else in the memory.
Does multimethods make CLOS objects not objects?
> nothing is an object in C
Message passing is where you find it. I didn't say C was a *good* example of OO. | null | 0 | 1319659827 | False | 0 | c2uotlk | t3_loy44 | null | t1_c2uotlk | t1_c2ukxdg | null | 1427787228 | 1 | t5_2fwo | null | null | null |
True | quotability | null | That worked pretty good most of the time. | null | 0 | 1319659915 | False | 0 | c2uou48 | t3_lp3rw | null | t1_c2uou48 | t1_c2ukfhj | null | 1427787236 | 3 | t5_2fwo | null | null | null |
True | s73v3r | null | While there are some good counters to a lot of his points, that doesn't mean that in every instance those counters are applicable. While process stability can be a good thing, just because a process is "stable" doesn't mean that it's the best way to continue doing things. | null | 0 | 1319659917 | False | 0 | c2uou4o | t3_lpod6 | null | t1_c2uou4o | t1_c2umof4 | null | 1427787236 | 1 | t5_2fwo | null | null | null |
True | mithaldu | null | Haha, criticism fairly taken. You're right. Maybe it makes you feel a bit better to hear that i've spent the entire day thinking about how to make a good resource that can stand the test of time. :) | null | 0 | 1319659937 | False | 0 | c2uou9m | t3_lpmaq | null | t1_c2uou9m | t1_c2uos8s | null | 1427787237 | 4 | t5_2fwo | null | null | null |
True | greenspans | null | Substitute the noun in all the points with 'writing', 'business' or setting 'personal goals' and you get every self help ever written. | null | 0 | 1319659938 | False | 0 | c2uoua5 | t3_lpod6 | null | t1_c2uoua5 | t3_lpod6 | null | 1427787237 | 2 | t5_2fwo | null | null | null |
True | s73v3r | null | >It's just better to keep your head down, do what you're told, ask polite and simple to answer questions when you really need to know something.
No, it's not. You have a shitty workplace. That's why you got in trouble for doing GOOD things. Not everyone does, and those that do have shitty workplaces should be attem... | null | 0 | 1319660042 | False | 0 | c2uoux4 | t3_lpod6 | null | t1_c2uoux4 | t1_c2unqar | null | 1427787248 | 3 | t5_2fwo | null | null | null |
True | TrolliestTroll | null | I lost my shit at this line:
>You little shit. You rusty, crusty piece of shit! IE9 has indeed completed the $.post - and THEN FAILED. Is there a word for this? Fuccess? That word seems to fit: IE9 Fuccessfully sent a post off and did what it needed to do which is "fail completely" evidently.
| null | 0 | 1319660116 | False | 0 | c2uovdk | t3_lpyyi | null | t1_c2uovdk | t3_lpyyi | null | 1427787263 | 8 | t5_2fwo | null | null | null |
True | ithika | null | See the **Info** section over on the right, particularly StackOverflow which is designed for this scenario. | null | 0 | 1319660158 | False | 0 | c2uovmz | t3_lq2w1 | null | t1_c2uovmz | t1_c2uoqwh | null | 1427787265 | 5 | t5_2fwo | null | null | null |
True | mikkle | null | I find all this talk about syntax design phiolosphies and C/Pascal comparisons too vague; if anything, Python's syntax is more permissive than C's. How is Python a B&D language and C the epithome of freedom? Give me an example of Python being unreasonably restrictive for your tastes. | null | 0 | 1319660172 | False | 0 | c2uovq6 | t3_lpmaq | null | t1_c2uovq6 | t1_c2uonlj | null | 1427787267 | -1 | t5_2fwo | null | null | null |
True | mr_chromatic | null | *I think perl is implying the inner `->` for you, but I'm not sure why.*
The parser doesn't need the second dereferencing arrow; it knows that a second dereferencing is taking place. | null | 0 | 1319660186 | False | 0 | c2uovs3 | t3_lpmaq | null | t1_c2uovs3 | t1_c2unice | null | 1427787267 | 2 | t5_2fwo | null | null | null |
True | Categoria | null | Does jumping through hoops to make a hash of arrays means that your language is powerful? | null | 0 | 1319660217 | False | 0 | c2uovyy | t3_lpmaq | null | t1_c2uovyy | t1_c2uo6y4 | null | 1427787269 | 0 | t5_2fwo | null | null | null |
True | doomchild | null | My mistake. I thought you were talking about somebody learning to program for the first time by reading Perl tutorials, which would be somewhere around the 7 1/2th level of Code Hell in my book. | null | 0 | 1319660246 | False | 0 | c2uow5c | t3_lpmaq | null | t1_c2uow5c | t1_c2uop36 | null | 1427787272 | 0 | t5_2fwo | null | null | null |
True | gmartres | null | NoScript can do that. | null | 0 | 1319660274 | False | 0 | c2uowbg | t3_losip | null | t1_c2uowbg | t1_c2ueyct | null | 1427787273 | 2 | t5_2fwo | null | null | null |
True | deadpoolsbff | null | [Did I end the universe or create it?](http://imgur.com/vp7fx) | null | 0 | 1319660277 | False | 0 | c2uowc5 | t3_losip | null | t1_c2uowc5 | t3_losip | null | 1427787274 | 2 | t5_2fwo | null | null | null |
True | aphoenix | null | Thank you for actually providing some facts; most other people don't. These are great facts as well, but they don't really address my point. I never said that Ritchie didn't make huge accomplishments, or that he was not one of the most influential people to computer science, or to technology. I understand what he contr... | null | 0 | 1319660281 | False | 0 | c2uowcx | t3_lnhno | null | t1_c2uowcx | t1_c2u4pz5 | null | 1427787274 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319660300 | False | 0 | c2uowhj | t3_losip | null | t1_c2uowhj | t1_c2ueyct | null | 1427787275 | 1 | t5_2fwo | null | null | null |
True | mr_chromatic | null | *But Perl doesn't seem to have that...*
There's [perldoc online](http://perldoc.perl.org/) as well as documentation for every module on the CPAN available from [search.cpan.org](http://search.cpan.org/) and [MetaCPAN](http://metacpan.org/). | null | 0 | 1319660307 | False | 0 | c2uowjn | t3_lpmaq | null | t1_c2uowjn | t1_c2unw1j | null | 1427787275 | 3 | t5_2fwo | null | null | null |
True | grauenwolf | null | > This seems like a pretty arbitrary declaration...
I highly recommend you read "Framework Design Guidelines" and start using FXCop before you start making claims about what's arbitrary.
http://msdn.microsoft.com/en-us/library/ms229042.aspx
http://www.amazon.com/Framework-Design-Guidelines-Conventions-Libraries/... | null | 0 | 1319660341 | False | 0 | c2uowrx | t3_lpoeb | null | t1_c2uowrx | t1_c2uotb2 | null | 1427787276 | 2 | t5_2fwo | null | null | null |
True | s73v3r | null | Honestly, the first thing that should be taught about surviving a job at a shitty work site is how to identify one early, and how to turn down the job or go find another job as soon as possible. The only reason these sites get away with being shitty is that people are desperate for the jobs. | null | 0 | 1319660343 | False | 0 | c2uowsc | t3_lpod6 | null | t1_c2uowsc | t1_c2unze3 | null | 1427787276 | 3 | t5_2fwo | null | null | null |
True | CydeWeys | null | What do you mean by "docs"? Tutorials are "docs". And a lot of "docs" are written like tutorials.
The reason I typically include "tutorial" in my search terms when dealing with a new language is because tutorials typically contain lots of example code, which I find to be the easiest and fastest way to pick up a new ... | null | 0 | 1319660390 | False | 0 | c2uox3o | t3_lpmaq | null | t1_c2uox3o | t1_c2unr4l | null | 1427787279 | 6 | t5_2fwo | null | null | null |
True | aphoenix | null | I understand this frustration. It frustrates me as well. The media sucks.
But the fact that the media sucks shouldn't detract from the things that Jobs and Gates have done for technology. | null | 0 | 1319660420 | False | 0 | c2uoxae | t3_lnhno | null | t1_c2uoxae | t1_c2u56gq | null | 1427787282 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | > The use of a generic repository here specifically addresses this criticism...
By making it generic, it has also been made pointless. It can do nothing that cannot be done with ObjectContext or an extension method there in.
| null | 0 | 1319660439 | False | 0 | c2uoxeh | t3_lpoeb | null | t1_c2uoxeh | t1_c2uotb2 | null | 1427787282 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | And I learned programming from a book teaching BASIC on the ZX81/Spectrum/Commodore PET/Apple II/BBC Micro, and it always used single-letter names, in fact I had no idea multiple-letter variable names existed until I started using Pascal. | null | 0 | 1319660449 | False | 0 | c2uoxgp | t3_lpmaq | null | t1_c2uoxgp | t1_c2uls1b | null | 1427787283 | 3 | t5_2fwo | null | null | null |
True | brandweerman | null | The implied-reference "->" is omitted because it could only ever be a reference or scalar. As in, any value of $vitals{"john"} addressed as {} is a reference itself, which makes the "->" redundant.
same goes if you were addressing the value of the "john" key as an array reference:
$vitals{"john"}[2]
| null | 0 | 1319660496 | False | 0 | c2uoxpv | t3_lpmaq | null | t1_c2uoxpv | t1_c2unice | null | 1427787286 | 2 | t5_2fwo | null | null | null |
True | quotability | null | Their plasma effect was amazing. It emulated 16-bit colors on 8-bit hardware using scan-line interleaving and palette swapping. They came up with that one themselves, and it looked fantastic. I was blown away by it. | null | 0 | 1319660506 | False | 0 | c2uoxsh | t3_lp3rw | null | t1_c2uoxsh | t1_c2uk8wl | null | 1427787288 | 2 | t5_2fwo | null | null | null |
True | mr_chromatic | null | That's a fair point. Perl 5.14 made `keys $buckets` work in your situation. | null | 0 | 1319660516 | False | 0 | c2uoxuv | t3_lpmaq | null | t1_c2uoxuv | t1_c2uo45c | null | 1427787288 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | For Lisp I used the *GIMP*'s tutorial, a *graphics editing package*... (It uses Scheme for plugins) | null | 0 | 1319660554 | False | 0 | c2uoy4e | t3_lpmaq | null | t1_c2uoy4e | t1_c2ulzyk | null | 1427787292 | 2 | t5_2fwo | null | null | null |
True | jakkarth | null | [MySQL Documentation for Update](http://dev.mysql.com/doc/refman/5.0/en/update.html)
[MySQL subreddit](http://www.reddit.com/r/mysql/), [LearnProgramming subreddit](http://www.reddit.com/r/learnprogramming), [StackOverflow](http://www.stackoverflow.com).
As ithika said, see the sidebar for more information.
| null | 0 | 1319660565 | False | 0 | c2uoy6g | t3_lq2w1 | null | t1_c2uoy6g | t3_lq2w1 | null | 1427787292 | 2 | t5_2fwo | null | null | null |
True | s73v3r | null | Honestly, the first thing that should be taught about surviving a job at a shitty work site is how to identify one early, and how to turn down the job or go find another job as soon as possible. The only reason these sites get away with being shitty is that people are desperate for the jobs. | null | 0 | 1319660584 | False | 0 | c2uoyaf | t3_lpod6 | null | t1_c2uoyaf | t1_c2unze3 | null | 1427787294 | 3 | t5_2fwo | null | null | null |
True | grauenwolf | null | I'll be very happy when code like this is no longer written. | null | 0 | 1319660587 | False | 0 | c2uoyaq | t3_lpfbh | null | t1_c2uoyaq | t3_lpfbh | null | 1427787294 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Nope. The C "tutorial", K&R C was written half by the person who designed C, for instance. | null | 0 | 1319660615 | False | 0 | c2uoyi2 | t3_lpmaq | null | t1_c2uoyi2 | t1_c2uo6qb | null | 1427787297 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | Nope. The C "tutorial", K&R C was written half by the person who designed C, for instance. | null | 0 | 1319660623 | False | 0 | c2uoyjq | t3_lpmaq | null | t1_c2uoyjq | t1_c2uo6qb | null | 1427787297 | 3 | t5_2fwo | null | null | null |
True | novacoder | null | We're using SOAP and it works fine if you stick to the basics. Our messages are human readable using SoapUI, Fiddler or httpfox. CXF is an excellent framework for managing Java WS. The consumers are mostly non-Java so it's inter-operable to extent we need it to be.
A typical payload will have an Envelop with a Header ... | null | 0 | 1319660625 | False | 0 | c2uoyk4 | t3_lowx8 | null | t1_c2uoyk4 | t3_lowx8 | null | 1427787297 | 0 | t5_2fwo | null | null | null |
True | mr_chromatic | null | > ... the GP obviously doesn't realise that a typo in a variable name isn't a syntactic but a semantic error.
I see what you mean, but that's still kind of a Python apology for a lack of variable declarations. Overloading `=` to mean "assign unless this symbol name doesn't already exist, in which case declare and a... | null | 0 | 1319660636 | False | 0 | c2uoymg | t3_lpmaq | null | t1_c2uoymg | t1_c2uo2g8 | null | 1427787297 | 3 | t5_2fwo | null | null | null |
True | frezik | null | Once you understand the implications, yes. | null | 0 | 1319660705 | False | 0 | c2uoz2v | t3_lpmaq | null | t1_c2uoz2v | t1_c2uovyy | null | 1427787305 | 1 | t5_2fwo | null | null | null |
True | spotter | null | Link I provided contains solutions that could be utilized from bash without actually implementing shit in bash. Creating and proofing parsers requires a lot of effort, that could be spent on doing actual work. Not to mention you risk new bugs, that will cost you even more time to fix and may inflict damage on the actua... | null | 0 | 1319660836 | False | 0 | c2uozy4 | t3_lobf3 | null | t1_c2uozy4 | t1_c2uot8e | null | 1427787315 | 2 | t5_2fwo | null | null | null |
True | gramie | null | There is a LOT more here than you think. You may want to look into a PHP framework like CakePHP, which can set up the forms in a model-view-controller system. There are issues of security, concurrency (what if someone else is editing the data you are looking at?), and much more.
Of course, PHPMyAdmin is made for manag... | null | 0 | 1319660863 | False | 0 | c2up02b | t3_lq2w1 | null | t1_c2up02b | t3_lq2w1 | null | 1427787319 | 1 | t5_2fwo | null | null | null |
True | runvnc | null | The reason they didn't add WebGL yet is because it is in direct competition with Direct3D not to mention the whole Windows monopoly on 3D games.
Think about it.. if people started releasing 3d first person games directly to the web (assuming we had good drivers in Linux and OSX turned WebGL on by default) then a lot o... | null | 0 | 1319660863 | False | 0 | c2up02d | t3_losip | null | t1_c2up02d | t1_c2uke3n | null | 1427787319 | 3 | t5_2fwo | null | null | null |
True | i8beef | null | I'm torn on that "tenant" of DDD. For this SPECIFIC case, a generic repository can just as easily serve the purpose here, it simply doesn't EXCLUDE accessing non-aggregate root objects directly. I disagree that this is a design flaw, as the generic repository is STILL very useful here by keeping me from having to write... | null | 0 | 1319660879 | False | 0 | c2up05w | t3_lpoeb | null | t1_c2up05w | t1_c2uolw7 | null | 1427787317 | 3 | t5_2fwo | null | null | null |
True | djimbob | null | K&R is essentially a C tutorial. | null | 0 | 1319660947 | False | 0 | c2up0mj | t3_lpmaq | null | t1_c2up0mj | t1_c2uo6qb | null | 1427787330 | 3 | t5_2fwo | null | null | null |
True | earthboundkid | null | So you're suggesting we not only change the number for the hours but give up the words "day" and "night"? Good luck with that. | null | 0 | 1319660976 | False | 0 | c2up0tr | t3_ln1tg | null | t1_c2up0tr | t1_c2ul6th | null | 1427787324 | 1 | t5_2fwo | null | null | null |
True | BoredAlcoholic | null | Im going to bet your first paragraph is massive overkill for what he probably wants to do. | null | 0 | 1319660977 | False | 0 | c2up0u3 | t3_lq2w1 | null | t1_c2up0u3 | t1_c2up02b | null | 1427787324 | 2 | t5_2fwo | null | null | null |
True | hkdk3107 | null | Hey, teacher leave those IRepository<Kids> alone | null | 0 | 1319661069 | False | 0 | c2up1eu | t3_lpoeb | null | t1_c2up1eu | t1_c2ulfkc | null | 1427787330 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319661085 | False | 0 | c2up1it | t3_lpoeb | null | t1_c2up1it | t1_c2ulfkc | null | 1427787333 | 1 | t5_2fwo | null | null | null |
True | brandweerman | null | Disagreed - I've written a bunch of python code, and kept having the feeling that it was like working with kiddie scissors - it did not give me the freedom of code expression and flow perl gives me, as if it was afraid I would hurt myself. I'm not saying python is bad, but perl is a lot more expressive and powerful in ... | null | 0 | 1319661091 | False | 0 | c2up1k1 | t3_lpmaq | null | t1_c2up1k1 | t1_c2unnd1 | null | 1427787333 | 7 | t5_2fwo | null | null | null |
True | LenHolgate | null | Because, with IOCP, a sequence of reads on a given socket are guaranteed to complete in order. If you issue three reads A, B and C then you'll get three completions (assuming data arrives) in the IOCP in ABC order. The issue, with IOCP is that you generally have multiple threads servicing the IOCP and so you could get ... | null | 0 | 1319661133 | False | 0 | c2up1tj | t3_lpi78 | null | t1_c2up1tj | t1_c2uoa2w | null | 1427787336 | 3 | t5_2fwo | null | null | null |
True | i8beef | null | Yes, but you have abstracted away the hard dependency, which in itself is useful.
The OTHER side of this with aggregate roots and such I understand as being a valid criticism if you are that worried about enforcing aggregate root only access. You could always make the Repository<T> class abstract though, or mar... | null | 0 | 1319661133 | False | 0 | c2up1tk | t3_lpoeb | null | t1_c2up1tk | t1_c2uoxeh | null | 1427787336 | 2 | t5_2fwo | null | null | null |
True | BoredAlcoholic | null | lol I as well. | null | 0 | 1319661279 | False | 0 | c2up2u5 | t3_loy44 | null | t1_c2up2u5 | t1_c2ugcsk | null | 1427787351 | 0 | t5_2fwo | null | null | null |
True | BoredAlcoholic | null | I've recently started Java (opposed to my native c#) for android development and live in Nashville....I hate Java. | null | 0 | 1319661355 | False | 0 | c2up39g | t3_lorje | null | t1_c2up39g | t3_lorje | null | 1427787356 | 2 | t5_2fwo | null | null | null |
True | i8beef | null | I can cite MSDN source too: [Fields](http://msdn.microsoft.com/en-us/library/ms173118.aspx)
Which specifically calls out fields as best used for private *or* protected.
You are right that your link says not to use protected fields, but I feel you are taking it out of context. It does not provide the code security o... | null | 0 | 1319661437 | False | 0 | c2up3r5 | t3_lpoeb | null | t1_c2up3r5 | t1_c2uowrx | null | 1427787362 | 2 | t5_2fwo | null | null | null |
True | bonch | null | Not programming. | null | 0 | 1319661496 | False | 0 | c2up43x | t3_lpxv1 | null | t1_c2up43x | t3_lpxv1 | null | 1427787365 | 5 | t5_2fwo | null | null | null |
True | bonch | null | Uh, why are people voting you down? This political link has nothing to do with the topic of computer programming.
Like the sidebar says: "Just because it has a computer in it doesn't make it programming." | null | 0 | 1319661528 | False | 0 | c2up4bw | t3_lpxv1 | null | t1_c2up4bw | t1_c2unrnp | null | 1427787369 | 2 | t5_2fwo | null | null | null |
True | julesjacobs | null | Has there been empirical research on which tuning is actually preferred by humans? And whether this is an intrinsic property of all humans, or differs per human, or is a learned trait by cultural influences? | null | 0 | 1319661568 | False | 0 | c2up4jj | t3_lpwy9 | null | t1_c2up4jj | t3_lpwy9 | null | 1427787371 | 3 | t5_2fwo | null | null | null |
True | enricom | null | do you really think it has nothing to do with computer programming? really? | null | 0 | 1319661675 | False | 0 | c2up541 | t3_lpxv1 | null | t1_c2up541 | t1_c2up4bw | null | 1427787379 | 6 | t5_2fwo | null | null | null |
True | bonch | null | > Just as a single example, AppCode verifies that your code uses reference counting correctly, and can detect many cases of memory leaks automatically.
So does Xcode. In fact, they baked it into the language and called it ARC. | null | 0 | 1319661695 | False | 0 | c2up57q | t3_lohrk | null | t1_c2up57q | t1_c2uc2e4 | null | 1427787380 | 2 | t5_2fwo | null | null | null |
True | el_tavs | null | > I never said anything bad about Ada.
Hmm well the article compared Ada to the others. You replied that C/C++ are fine the way they are because of the features they provide (programmer's freedom, efficiency, low-level programming (or whatever you meant with
> something they're not intended to do
)).
So if yo... | null | 0 | 1319661767 | False | 0 | c2up5n7 | t3_lol4l | null | t1_c2up5n7 | t1_c2unsyk | null | 1427787386 | 3 | t5_2fwo | null | null | null |
True | mikkle | null | Well, you could argue that C/C++ overload = in a similar way:
int x = 1;
x = 2;
The first = gives x its initial value. The second = updates the value of x. In fact, if I'm not mistaken, if you replace the int type with a C++ class SomeClass, the first statement will result in a call to SomeClass(int), wh... | null | 0 | 1319662021 | False | 0 | c2up78z | t3_lpmaq | null | t1_c2up78z | t1_c2uoymg | null | 1427787407 | 1 | t5_2fwo | null | null | null |
True | drzowie | null | Well, aside from the indentation wars, consider basics like the for loop. Python lets you iterate over a list:
for a in iterable_expr:
<stuff>
Perl has several related constructs:
**C-style**: for( *<init>*; *<test>*; *<iter>* ) { *some code* }
**Python-style**: for( @list ) { *some code*... | null | 0 | 1319662042 | False | 0 | c2up7cy | t3_lpmaq | null | t1_c2up7cy | t1_c2uovq6 | null | 1427787408 | 3 | t5_2fwo | null | null | null |
True | x4nd3l2 | null | Nope. | null | 0 | 1319662120 | False | 0 | c2up7ve | t3_lq2mm | null | t1_c2up7ve | t3_lq2mm | null | 1427787416 | -5 | t5_2fwo | null | null | null |
True | zan-xhipe | null | cool, this should have been written in piet (the programming language inspired by the same artist) | null | 0 | 1319662250 | False | 0 | c2up8m1 | t3_lq38f | null | t1_c2up8m1 | t3_lq38f | null | 1427787432 | 9 | t5_2fwo | null | null | null |
True | hyperforce | null | Of course not. | null | 0 | 1319662341 | False | 0 | c2up977 | t3_lpmaq | null | t1_c2up977 | t1_c2uovyy | null | 1427787435 | 1 | t5_2fwo | null | null | null |
True | julesjacobs | null | Such as?
What advantages do randomly chosen rules according to which you need to turn code into line noise bring over the sane version:
for bucket in buckets.keys | null | 0 | 1319662423 | False | 0 | c2up9od | t3_lpmaq | null | t1_c2up9od | t1_c2uoz2v | null | 1427787439 | 2 | t5_2fwo | null | null | null |
True | Wolfspaw | null | sorry, fixed it @_@ | null | 0 | 1319662450 | False | 0 | c2up9tt | t3_lnhno | null | t1_c2up9tt | t1_c2ug11k | null | 1427787440 | 1 | t5_2fwo | null | null | null |
True | Nebu | null | > Link I provided contains solutions that could be utilized from bash without actually implementing shit in bash.
Well, only with dependencies beyond bash -- like on Python or Mono or JVM or whatever -- or via compilation -- like C.
> Creating and proofing parsers requires a lot of effort, that could be spent o... | null | 0 | 1319662489 | False | 0 | c2upa2f | t3_lobf3 | null | t1_c2upa2f | t1_c2uozy4 | null | 1427787444 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Windows has always been the leader in high performance IO. | null | 0 | 1319662511 | False | 0 | c2upa6t | t3_lpi78 | null | t1_c2upa6t | t1_c2uo8ym | null | 1427787445 | 1 | t5_2fwo | null | null | null |
True | mikkle | null | You're correct that there isn't a single Python equivalent for C-style loops, but normal cases can be easily implemented using for or while. As for the others, Python's list comprehensions and generator expressions are *more* flexible, e.g.:
"LISP-style": [expression for var in list]
"grep-style": [expression for var... | null | 0 | 1319662542 | False | 0 | c2upadw | t3_lpmaq | null | t1_c2upadw | t1_c2up7cy | null | 1427787448 | 6 | t5_2fwo | null | null | null |
True | codekiller | null | Apple would be an example (but admittedly is more of an exception) | null | 0 | 1319662573 | False | 0 | c2upakq | t3_lpod6 | null | t1_c2upakq | t1_c2untt2 | null | 1427787456 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | > Yes, but you have abstracted away the hard dependency, which in itself is useful.
The purpose of the Entity Framework is to abstract away your hard dependency on a particular data storage technology. There is nothing to be gained by abstracting away an abstraction. | null | 0 | 1319662623 | False | 0 | c2upav5 | t3_lpoeb | null | t1_c2upav5 | t1_c2up1tk | null | 1427787454 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319662657 | False | 0 | c2upb2b | t3_lobf3 | null | t1_c2upb2b | t1_c2ujocd | null | 1427787457 | 1 | t5_2fwo | null | null | null |
True | kragensitaker | null | You are still failing to make an argument; you are merely contradicting me. Except now you're downvoting me as well. | null | 0 | 1319662675 | False | 0 | c2upb61 | t3_lnhno | null | t1_c2upb61 | t1_c2umu08 | null | 1427787459 | 1 | t5_2fwo | null | null | null |
True | kamayamayent | null | I like the design of it! I feel like over a network connection, the unpredictable latency and speed of your connection to the server would render any sort of password-checking timing attack unsuccessful, though.
EDIT: I was wrong, take a look at sub-comments, forgot about my old friend stats | null | 0 | 1319662731 | True | 0 | c2upbi3 | t3_lq2mm | null | t1_c2upbi3 | t3_lq2mm | null | 1427787465 | 3 | t5_2fwo | null | null | null |
True | adavies42 | null | cute
i want an audit before i use `login()` tho....
(also `next()` throws 500) | null | 0 | 1319662962 | False | 0 | c2upcva | t3_lnzqq | null | t1_c2upcva | t3_lnzqq | null | 1428185539 | 1 | t5_2fwo | null | null | null |
True | derioderio | null | <shrug> Because people upvote/downvote on whether they agree/disagree with the post and nothing else. | null | 0 | 1319662974 | False | 0 | c2upcxn | t3_lpxv1 | null | t1_c2upcxn | t1_c2up4bw | null | 1427787482 | 2 | t5_2fwo | null | null | null |
True | TheFeshy | null | lol, that reminds me of the time I had an argument with an acquaintance who is a big proponent of C over C++ (whereas at the time, I was the opposite.) I told him that other than compiler simplicity, there was no reason to use C; he told me it was "necessary" for low-level language stuff. So, to prove him wrong, I wr... | null | 0 | 1319663082 | False | 0 | c2updjz | t3_lpuyx | null | t1_c2updjz | t3_lpuyx | null | 1427787491 | 32 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319663163 | False | 0 | c2upe11 | t3_lq2w1 | null | t1_c2upe11 | t1_c2uoy6g | null | 1427787495 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319663179 | False | 0 | c2upe4w | t3_lq2w1 | null | t1_c2upe4w | t1_c2uovmz | null | 1427787496 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1319663194 | False | 0 | c2upe8g | t3_lpxv1 | null | t1_c2upe8g | t1_c2uonug | null | 1427787497 | 1 | t5_2fwo | null | null | null |
True | julesjacobs | null | Also, there are realtime GCs that can guarantee sub millisecond pauses, although they usually do have high throughput overhead. The GC from Azul looks cool in that respect, as they claim very short pause times on gigantic heaps with excellent throughput.
.NET background GC also aims to reduce pause times. | null | 0 | 1319663216 | False | 0 | c2upecz | t3_lpicx | null | t1_c2upecz | t1_c2uo3oh | null | 1427787499 | 2 | t5_2fwo | null | null | null |
True | NruJaC | null | That wasn't the only reason, you misused the word irony. But who doesn't these days... | null | 0 | 1319663233 | False | 0 | c2upegg | t3_lnhno | null | t1_c2upegg | t1_c2up9tt | null | 1427787500 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | The C# Programming Guide is for newbies and hobby programmers, not professionals. The guidance you are supposed to be following is here:
http://msdn.microsoft.com/en-us/library/ms229057.aspx
| null | 0 | 1319663255 | False | 0 | c2upel7 | t3_lpoeb | null | t1_c2upel7 | t1_c2up3r5 | null | 1427787502 | 2 | t5_2fwo | null | null | null |
True | remyroy | null | Title is a bit misleading since it has been possible for a long time. It has been mostly ignored, unknown or underused, but still possible.
A renewed interest in refactoring for dynamic languages would be a better title. | null | 0 | 1319663283 | True | 0 | c2upers | t3_lq58n | null | t1_c2upers | t3_lq58n | null | 1427787504 | 2 | t5_2fwo | null | null | null |
True | julesjacobs | null | GC also helps a lot when writing concurrent code. Writing thread safe memory management yourself is no fun. | null | 0 | 1319663356 | False | 0 | c2upf5r | t3_lpicx | null | t1_c2upf5r | t1_c2uobm8 | null | 1427787510 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm curious as to how url routing works with a system like this. | null | 0 | 1319663423 | False | 0 | c2upfjd | t3_lovjq | null | t1_c2upfjd | t3_lovjq | null | 1427787515 | 1 | t5_2fwo | null | null | null |
True | ecoursify | null | Just ran into an awesome, interactive online course for learning Javascript. You have to check this out. Here is the review from eCoursify, a programming language course/book review site. | null | 0 | 1319663557 | False | 0 | c2upgaj | t3_lq5r2 | null | t1_c2upgaj | t3_lq5r2 | null | 1427787535 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | You would of been much better off getting some sort of help desk job at school and working on your own projects. | null | 0 | 1319663604 | False | 0 | c2upgk1 | t3_lnr3k | null | t1_c2upgk1 | t1_c2u870f | null | 1427787530 | 1 | t5_2fwo | null | null | null |
True | kragensitaker | null | More than anything, I think this is a complaint about the quality of Google's search results, not about Perl or Perl tutorials. Presumably there are good Perl tutorials out there (some purportedly good ones are listed in the comments) but Google isn't finding them. | null | 0 | 1319663667 | False | 0 | c2upgwi | t3_lpmaq | null | t1_c2upgwi | t3_lpmaq | null | 1427787535 | 3 | t5_2fwo | null | null | null |
True | ikstar | null | Oophm, I haven't had plaintext string comparison for passwords in over a decade.
Hashing provided password then comparing it to the stored hash is the trivial authentication. The timing attack on checking a hash is rather irrelevant. | null | 0 | 1319663757 | False | 0 | c2uphfb | t3_lq2mm | null | t1_c2uphfb | t3_lq2mm | null | 1427787540 | 26 | t5_2fwo | null | null | null |
True | H3g3m0n | null | The problem I have with Chrome frame is that it requires people to install Chrome frame, so it only "just works" after people go through the steps to install it. Currently the market penetration is way to small, chances are if your site requires Chrome frame then basically every single IE user that hits you will need t... | null | 0 | 1319663771 | True | 0 | c2uphia | t3_lp61p | null | t1_c2uphia | t1_c2ukoh1 | null | 1427787549 | 2 | t5_2fwo | null | null | null |
True | robotnewyork | null | Can somebody post a link to the actual scales created for those of us who can't install tuneR? | null | 0 | 1319663826 | False | 0 | c2uphtz | t3_lpwy9 | null | t1_c2uphtz | t3_lpwy9 | null | 1427787546 | 5 | t5_2fwo | null | null | null |
True | Anpheus | null | I'll admit to being too much of a Microsoft geek, but I think this statement is facetious at best. I've never heard that claim substantiated. Citation needed. | null | 0 | 1319663832 | False | 0 | c2uphuu | t3_lpi78 | null | t1_c2uphuu | t1_c2upa6t | null | 1427787546 | 5 | t5_2fwo | null | null | null |
True | robotnewyork | null | I would assume it is a learned trait based on what you are used to hearing, just as people are starting to prefer the tinny sound of iPod earbuds to high quality sound systems. | null | 0 | 1319663916 | False | 0 | c2upibr | t3_lpwy9 | null | t1_c2upibr | t1_c2up4jj | null | 1427787552 | -2 | t5_2fwo | null | null | null |
True | eric_t | null | Here's a quick, unoptimized version in parallel Fortran:
https://bitbucket.org/eric_t/fortran_quasicrystals/src/973fe26c6c59/quasicrystal.f90
Takes about half a second to generate and output a single image on my crappy 4 year old laptop. Unfortunately, I have an old gfortran compiler on this machine which isn't able t... | null | 0 | 1319663942 | False | 0 | c2upihm | t3_lofem | null | t1_c2upihm | t1_c2ugn00 | null | 1427787554 | 2 | t5_2fwo | null | null | null |
True | tedreed | null | I find that Learning Perl teaches some bad habits. | null | 0 | 1319663957 | False | 0 | c2upikq | t3_lpmaq | null | t1_c2upikq | t1_c2um4ej | null | 1427787555 | 2 | t5_2fwo | null | null | null |
True | mark_lee_smith | null | > ... it has been possible for a long time.
Which is exactly what the article is about. | null | 0 | 1319664091 | False | 0 | c2upjca | t3_lq58n | null | t1_c2upjca | t1_c2upers | null | 1427787566 | 0 | t5_2fwo | null | null | null |
True | strong_grey_hero | null | I'm not sure I understand this. Most password systems I've made use a salt and some sort of one-way-hash (usually md5). The whole password is checked at once, there is no letter-by-letter comparison. | null | 0 | 1319664094 | False | 0 | c2upjcq | t3_lq2mm | null | t1_c2upjcq | t3_lq2mm | null | 1427787566 | 5 | t5_2fwo | null | null | null |
True | mr_chromatic | null | Yeah, that's a fair response--but the C and C++ cases have the additional grammatical hint of the leading type declaration on declarations. It's odd to hear fans of Python and Ruby and JavaScript claim that the only reason for variable declarations is static typing. | null | 0 | 1319664182 | False | 0 | c2upjvv | t3_lpmaq | null | t1_c2upjvv | t1_c2up78z | null | 1427787572 | 2 | 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.