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 | grigri | null | "programmers [...] rejoice"
> replacing intimidating code with simple drop-down menus
Does not compute | null | 0 | 1315905712 | False | 0 | c2jil1u | t3_kdx5b | null | t1_c2jil1u | t3_kdx5b | null | 1427593953 | 1 | t5_2fwo | null | null | null |
True | Gotebe | null | Nah, that's fine... Customers often don't realize that pork meat works when they think they need sugar. | null | 0 | 1315905717 | False | 0 | c2jil25 | t3_kdey1 | null | t1_c2jil25 | t1_c2jid90 | null | 1427593953 | 3 | t5_2fwo | null | null | null |
True | qinyong | null | A very cool option to build JSF UI! | null | 0 | 1315905767 | False | 0 | c2jil5e | t3_kdi87 | null | t1_c2jil5e | t3_kdi87 | null | 1427593948 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | *Early Bird*
Oh, if you’re a bird, be an early bird
And catch the worm for your breakfast plate.
If you’re a bird, be an early bird—
But if you’re a worm, sleep late.
-- Shel Silverstein | null | 0 | 1315905882 | False | 0 | c2jilbd | t3_kdey1 | null | t1_c2jilbd | t1_c2jfxkx | null | 1427593949 | 17 | t5_2fwo | null | null | null |
True | SanjayM | null | whut?
Very few of the things you are saying make much sense rizla...
How would you run Js "Natively"? | null | 0 | 1315906476 | False | 0 | c2jim7e | t3_kcwx2 | null | t1_c2jim7e | t1_c2jc0og | null | 1427593961 | 1 | t5_2fwo | null | null | null |
True | behrangsa | null | It might be impossible to compile all features and classes of Dart to JavaScript if it supports reflection, multi-threading, etc. in the sameway that the gwt compiler does not support all features of Java. | null | 0 | 1315906902 | False | 0 | c2jimuj | t3_kcwx2 | null | t1_c2jimuj | t1_c2ja3mt | null | 1427593973 | 1 | t5_2fwo | null | null | null |
True | josefx | null | Something I learned from open source and windows releases: wait for the first major patch to get a working system and for the second to get a mostly bug free experience. | null | 0 | 1315907179 | False | 0 | c2jin9u | t3_kcvv3 | null | t1_c2jin9u | t1_c2ja9uw | null | 1427593976 | 1 | t5_2fwo | null | null | null |
True | ex_ample | null | Cross compilation seems ridiculous. Why not develop a bytecode for V8 and let developers write any application in it? | null | 0 | 1315907480 | False | 0 | c2jinq1 | t3_kcwx2 | null | t1_c2jinq1 | t1_c2jargm | null | 1427593983 | 0 | t5_2fwo | null | null | null |
True | earthboundkid | null | That's a good example, but in the particular case, I would just use `itertools.repeat`. :-) | null | 0 | 1315907741 | False | 0 | c2jio2y | t3_kbdgw | null | t1_c2jio2y | t1_c2jhwk7 | null | 1427593996 | 1 | t5_2fwo | null | null | null |
True | hakkzpets | null | I have no idea why this is in r/Programming. It's even stupid when it comes to the connection to "programming", since the smart pig is the only one who knows what problem he is solving.
It's like the author never even read "The Three Little Pigs". The original story is even better at delivering the authors point than his own comic. | null | 0 | 1315907933 | False | 0 | c2jiocb | t3_kdey1 | null | t1_c2jiocb | t3_kdey1 | null | 1427593993 | -2 | t5_2fwo | null | null | null |
True | coriolis1987 | null | The article raises two questions:
* Eight hours of refactoring doesn't sound like much. Joel Spolky explains how he single-handedly refactored an admittely crappy code base in THREE WEEKS ("Rub a dub dub"). How big is that "Extreme Blue" project? How significant were those changes?
* Ever heard of "code reviews"? Instead of fixing other people's code, agree on what should be refactored and share the work load. Also share suggestions on what can be improved how. This is how profsessionals outside of IBM do it.
Besides that:
* Paul Graham is right as quoted, but the author draws the wrong conclusions from it. If you have your program, i.e. its essence, in your head, then seeing thru changes in code is easy. Only if you have difficulties keeping track of how your own program works you must cling to the code like a first-grader to her fingers while doing arithmetic.
I'm not saying that refactoring other people's code just for one's preferred cosmetics is right, only that the author's reasoning is wrong.
The whole article is not about software engineering, it is about being a jerk and how it backfires. In related news: "Sand bad if between cogs", "Finger in eye hurts", "Dick in hornets' nest = bad idea". | null | 0 | 1315908090 | False | 0 | c2jiokh | t3_kczbt | null | t1_c2jiokh | t3_kczbt | null | 1427593996 | 3 | t5_2fwo | null | null | null |
True | wnoise | null | So maybe /r/programming shouldn't be in the default list of subreddits. | null | 0 | 1315908201 | False | 0 | c2jioq8 | t3_kdey1 | null | t1_c2jioq8 | t1_c2jh8w4 | null | 1427593996 | 5 | t5_2fwo | null | null | null |
True | jeff_hanson | null | > I would agree with you on the general idea that a straight-jacked mechanism might be superior in some sense
Did you miss the part where he had quotes around the word "superior"? | null | 0 | 1315908449 | False | 0 | c2jip28 | t3_ka4h8 | null | t1_c2jip28 | t1_c2iop2f | null | 1427593999 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | >I was kind of miffed and insulted for a while, but the guy was just so nice and friendly and instructive and helpful... One of my favorite mentors/co-workers in the end.
I once worked with a guy who was like that too. He was actually the lead developer of our team.
He would alternately rewrite my code (and then send me a mail that he did this) or send me a mail detailing all the problems he found in my code and how I could fix them. Often with a reference to the code conventions document and/or some book.
For me this approach worked very well, a combination of lead by example and giving me responsibilities as well. Over time as he noticed I became better at doing it reasonably right the first time the outright rewrites stopped and there were only mails about some small things.
The majority of the team (8 members) seemed to be rather happy with this approach, but 2 of them still reacted very hostile. So then it was said that his reputation was "tainted", and I was given the pleasure to review the code of these two persons since I was 'neutral'.
It was only then that I learned about the cr*p a lead developer has to deal with. It was downright impossible to give them any kind of feedback. Their code was at the top of the violations list reported by static analysis, it went against basically every advice given by Code Complete and the code had turned yellow because of all the IDE warnings.
Yet, even a very friendly (IMO) talk about suggestions for improving the code a little were met with pure hostility, one of them went into a fit about how I supposedly look down at her and accused me of being against female programmers (which was utterly bullsh*t).
There were some talks with management about this situation and it even culminated into a group session where we all held hands and had to sing songs (I kid you not :/). But it didn't really help,
In the end we waited a little till they moved to other parts of the code and then rewrote it anyway.
| null | 0 | 1315909069 | False | 0 | c2jipzt | t3_kczbt | null | t1_c2jipzt | t1_c2jflaz | null | 1427594010 | 7 | t5_2fwo | null | null | null |
True | Netcob | null | And yet hundreds of programmers voted it up.
I don't see a more relevant subreddit listed in the sidebar, which would be a more pragmatic approach than the usual nerdy passive-aggressiveness. | null | 0 | 1315909386 | False | 0 | c2jiqhr | t3_kdey1 | null | t1_c2jiqhr | t1_c2jfxun | null | 1427594017 | 6 | t5_2fwo | null | null | null |
True | tragomaskhalos | null | Please, don't mention real-world considerations to the Haskell fanatics, it upsets them.
| null | 0 | 1315909413 | False | 0 | c2jiqjf | t3_kd88g | null | t1_c2jiqjf | t1_c2jhzf5 | null | 1427594018 | 6 | t5_2fwo | null | null | null |
True | filthgrinder | null | What? The wolf had lost his ability to smell?
Moral of the story:
"Try getting a grasp of the whole story" | null | 0 | 1315909476 | False | 0 | c2jiqm7 | t3_kdey1 | null | t1_c2jiqm7 | t3_kdey1 | null | 1427594019 | 4 | t5_2fwo | null | null | null |
True | MarshallBanana | null | And what we have now is two languages which were introduced in much the same way. | null | 0 | 1315909971 | True | 0 | c2jircd | t3_kc9ai | null | t1_c2jircd | t1_c2jguyk | null | 1427594028 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | And it's the early worm who catches the fish. | null | 0 | 1315910923 | True | 0 | c2jisu8 | t3_kdey1 | null | t1_c2jisu8 | t1_c2jfxkx | null | 1427594050 | 3 | t5_2fwo | null | null | null |
True | Gotebe | null | Without the desire to re-mystify, no, that's not the cloud.
All the buzzwording aside, cloud really is a technology shift. Software that's *made* to run spread all over the world, that is the cloud.
But you can't sell that to a layman. | null | 0 | 1315911248 | False | 0 | c2jitd1 | t3_kd1nr | null | t1_c2jitd1 | t3_kd1nr | null | 1427594057 | 2 | t5_2fwo | null | null | null |
True | OopsLostPassword | null | For some of us Go is the language of the present and I don't see its use decreasing. | null | 0 | 1315911422 | False | 0 | c2jitmp | t3_kcwx2 | null | t1_c2jitmp | t1_c2jb3uh | null | 1427594059 | 3 | t5_2fwo | null | null | null |
True | woogeroo | null | Also, safari in IOS4 & 5 is not complying with the open source license that webkit is under - they have never released any of their mobile webkit builds as open source, which they're required to. | null | 0 | 1315911443 | False | 0 | c2jitnz | t3_kawp5 | null | t1_c2jitnz | t1_c2j7p2y | null | 1427594059 | 1 | t5_2fwo | null | null | null |
True | RalfN | null | 1. They did all that was needed. Standard bodies are not elected by the UN or anything. They got Mozilla and Opera on board. Actually, Chrome did want to just pay up for the patents and support MPEG, but Mozilla and Opera wouldn't bend. Google had to pick a side between between Mozilla/Opera and Apple/Microsoft. They picked the right side, and then actually made sure that side had a chance of winning. (because before Google bought the rights to the VP8 codec, Mozilla/Opera were using VP3)
2. A standard like that, actually needs real world testing. It needs to start off as an experiment. That way we can actually figure out if it's right or wrong. I'm not sure what standard group (pick one if it's that easy) should be taking of it, but to compare a protocol standard to something with the complexity of Dart/Javascript. That's just ridiculous. The work of supporting SPDY next to HTTP, in say a browser or server is anything from 1 day to a week.
3. NPAPI isn't controlled by a standards body. NP == Netscape. It's _that_ old. There were real issues (security and stability wise) that their model solved. And it is arguable if something like this should even be standarized. NPAPI is so intrinsically linked to the Firefox codebase (which does break it from release to release). I'm pretty sure the 'competing implementations in say KHTML and Opera' are literally using Mozilla's code to provide that interface. Complaining about this, is like complaining how all browser have their own extension system.
Now, Native Client is a better example. But you have to understand that it is not targeted to the web. Their use-case is Chrome OS, not Chrome the browser. More specifically, it is how they support RDP on Chrome OS. If they added this support to the OS layer and not the browser, you wouldn't complain. It is not a web thing, it is just the .exe equivalent of Chrome OS.
>Replacing JS with Dash is just the next example.
I'm not touching that one with six foot pole. I think Google should go about Dash in a completely different way. It is very much embrace-extend-extinguish ..
As to their intentions ... i still do not doubt their intentions, but ...
>Do you really trust Google enough to let them have unilateral control over the whole Web technology stack?
It's not a smart idea to have any company get unilateral control. So, hell no.
I'm not sure Google will always stay the way it is. It is being schooled by professional bullies (Oracle), and the end result is often that companies either fail, or learn to become bullies themselves.
In the end, in a broken system, like ours, i'm not sure a Google with the ideals we would want them to have, would actually succeed. And I'm kind of worried, they too would prefer to rule with evil, than to fail fighting for the good cause. | null | 0 | 1315911622 | False | 0 | c2jityb | t3_kc9ai | null | t1_c2jityb | t1_c2j67v2 | null | 1427594062 | 0 | t5_2fwo | null | null | null |
True | Drfuzzykins | null | I wonder how this would compare to a GLR or optimized (memoization and so forth) PEG parser. | null | 0 | 1315911781 | False | 0 | c2jiu6b | t3_kdueh | null | t1_c2jiu6b | t3_kdueh | null | 1427594065 | 2 | t5_2fwo | null | null | null |
True | mushishi | null | I interpret it as meaning "superior in a sense that is fitting", not "worse". | null | 0 | 1315911937 | False | 0 | c2jiuen | t3_ka4h8 | null | t1_c2jiuen | t1_c2jip28 | null | 1427594068 | 1 | t5_2fwo | null | null | null |
True | RalfN | null | >Furthermore, standards groups don't usually like it when you bring them a complete, finalized soution as a fait accompli at a point where it is too late to make changes because it is already in use in production
This I think is a mistake. You seem to believe standard groups are where the innovation should take place. And then they fall in the same "not invented here" idiosyncrasy.
I don't think standard groups should have _that_ role. I think they should just be a place, where they allow an industry to pick a technology proven in the wild. Put a stamp on it "STANDARD", and make sure it is properly documented, and there are zero patents attached to it.
The idea of any commitee to _drive innovation_, is pretending the Russians actually won the cold war. They didn't. Innovation does not work that way.
Let the market innovate, and have your stamp ready.
| null | 0 | 1315912033 | False | 0 | c2jiuj8 | t3_kc9ai | null | t1_c2jiuj8 | t1_c2j8rpb | null | 1427594070 | 3 | t5_2fwo | null | null | null |
True | pozorvlak | null | > I've never heard his explanation of it, but I believe the sidebar was ketralnis' way of trying to bring the subreddit back to its earliest state, when reddit was frequented mostly by tech savvy individuals who knew the difference between programming and tech support (or rage comics if we go by today's standard).
Except what we have now is *not* its earliest state. Its earliest state was "links of interest to programmers". If proggit is no longer a default subreddit, could we perhaps try losing the sidebar and going back to a broader conception of what proggit's for? | null | 0 | 1315912413 | False | 0 | c2jiv4t | t3_kdey1 | null | t1_c2jiv4t | t1_c2jhbg4 | null | 1427594077 | 1 | t5_2fwo | null | null | null |
True | artsrc | null | > Use tools that are backed with corporate support so you don't waste time scanning google and forums.
I think one of the amazing things about developing today is that answers are so available. Even with truly awesome corporate support you can't get an answer quicker than stack overflow etc. can give them.
Microsoft corporate support has never offered me anything. I have never had a bug I reported fixed in a timely way. And when they have fixed bugs I reported I was not informed. Free, open source support varies but is occasionally excellent.
> Simplicity in the development process is more important than design simplicity. You can always rewrite code, but you cannot recoup lost time.
You can't call the Microsoft toolset simple. The choice "lets go with everything Microsoft" is simple. When everything works perfectly things might seem simple. But they are not and you will sometimes find that out
> Focus on business logic. That's what earns the company money, not support and glue tools.
Maybe, other times a great simple UI is, or an efficient workflow, or acceptable performance, or a flexible model that is easy to evolve.
The great thing about software is that different systems have different challenges and people who apply cookie cutter solutions in a thoughtless way are easy to outperform.
| null | 0 | 1315912676 | False | 0 | c2jivk7 | t3_kc5di | null | t1_c2jivk7 | t1_c2jdta1 | null | 1427594090 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Don't be too hard on Erlang. FP is a ghetto. It isn't Erlang's fault that the paradigm is shitty :P | null | 0 | 1315912688 | False | 0 | c2jivku | t3_kcpdg | null | t1_c2jivku | t3_kcpdg | null | 1427594090 | -4 | t5_2fwo | null | null | null |
True | truthHIPS | null | >Wat? Are they high?
No, they're right about what's happening but wrong about what *should* be happening. Web apps are a stupid idea. The web is and should be the back end. Thin native clients that give a nice, snappy, native interface is the way to go. That's why iPhone went that way. They initially tried "the web is the application" but it went nowhere because it's awful. | null | 0 | 1315913393 | False | 0 | c2jiwtp | t3_kc9ai | null | t1_c2jiwtp | t1_c2j470o | null | 1427594099 | 2 | t5_2fwo | null | null | null |
True | truthHIPS | null | >I think you would be hard pressed to find an application genre which doesn't have an online version of it.
Yea, and they all suck compared to their native counterparts. Did you miss the point of the GP's post or is this propaganda. He said the web won at email and social and then questioned the other categories. Just pointing out *entries* in those spaces doesn't address his question about the web *winning* there. | null | 0 | 1315913580 | False | 0 | c2jix62 | t3_kc9ai | null | t1_c2jix62 | t1_c2j9ril | null | 1427594105 | 0 | t5_2fwo | null | null | null |
True | impatient | null | Do you use a git gui? We're switching some of our java projects to git, but I never really considered it an option for us with .net. I think a lot of it is the learning curve for some of the devs. | null | 0 | 1315913649 | False | 0 | c2jixa0 | t3_kc5di | null | t1_c2jixa0 | t1_c2jfwav | null | 1427594106 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Because the item grind in wow isn't like a fake job? To each their own. | null | 0 | 1315913692 | False | 0 | c2jixdc | t3_kctmn | null | t1_c2jixdc | t1_c2jijnf | null | 1427594106 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | The problem is, not even game programming is like that. One of the greatest cruelties is to giving someone else the idea that they are good at something when they are not. | null | 0 | 1315913694 | False | 0 | c2jixdg | t3_kcii9 | null | t1_c2jixdg | t1_c2jgcgg | null | 1427594106 | 2 | t5_2fwo | null | null | null |
True | johnfredcee | null | Hmm. I found it quite simple to express dependencies via builder objects. I scripted an art pipeline that way: mind you, the problem of it being slow remains. I think using SCons to generate a ninja (as in google's ninja build system) would be the best way to use SCons this way. | null | 0 | 1315913813 | False | 0 | c2jixlh | t3_jfl3q | null | t1_c2jixlh | t1_c2bozwk | null | 1427594109 | 1 | t5_2fwo | null | null | null |
True | TheWix | null | God, don't bring up Brad. I weep everytime I think about the wasted potential of Vanguard. The beauty of which was only matched by the number of bugs in the game. | null | 0 | 1315914039 | False | 0 | c2jiy0i | t3_kctmn | null | t1_c2jiy0i | t1_c2jauqa | null | 1427594118 | 3 | t5_2fwo | null | null | null |
True | truthHIPS | null | Not to mention it makes the development stack insane. For enterprise development I need Java or C# and various XML dialects. The web? My back end language (could be a stack here), Javascript client side (probably through some other translation language), HTML and CSS. I also have to do server admin to serve the app at all. | null | 0 | 1315914070 | False | 0 | c2jiy2g | t3_kc9ai | null | t1_c2jiy2g | t1_c2j5wdl | null | 1427594118 | 1 | t5_2fwo | null | null | null |
True | skocznymroczny | null | C++ isn't oop. it's multiparadigm | null | 0 | 1315914310 | False | 0 | c2jiyjh | t3_kcwx2 | null | t1_c2jiyjh | t1_c2jh6tc | null | 1427594124 | 1 | t5_2fwo | null | null | null |
True | ais523 | null | For the record: Pushing down the mousewheel counts as the middle button. Even with 2-button mice without a middle button, you can get a middle-click (or what counts for one in basically every OS in existence) by pressing both buttons simultaneously. With some touchpad drivers, you can also middle-click by tapping the extreme top-right corner.
That said, just because it's physically possible to middle-click on the vast majority of mice doesn't necessarily mean it's a good idea. | null | 0 | 1315914421 | False | 0 | c2jiyqh | t3_kcwx2 | null | t1_c2jiyqh | t1_c2jb018 | null | 1427594125 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Yeah, there were some people who never got over being insulted where I was too. Fortunately, I did not really have to deal much with them. And the lead guy acted convincingly like he had no clue about it all :-) | null | 0 | 1315914630 | False | 0 | c2jiz5m | t3_kczbt | null | t1_c2jiz5m | t1_c2jipzt | null | 1427594134 | 2 | t5_2fwo | null | null | null |
True | cunningjames | null | > why is that an argument for continuing to build the entire web on top of a 10-day rush job hack language?
Bingo. I don’t understand why this factoid keeps being tossed out as if it were a genuine ameliorating factor. Yeah, sure, compared to what *might’ve* been done in ten days it’s great, but it could’ve been designed and implemented in 24 hours — that would be utterly incredible — but it wouldn’t make Javascript any better.
I mean, how is the discussion intended to proceed?
“Javascript is a poor language but ubiquitous and unavoidable, so I wish it could be replaced.”
“Yeah, but get this — Brendan Eich created it in ten days. Isn’t that cool?”
“Oh, hey, that is pretty cool. That changes things; Javascript’s ubiquity really *is* a good thing.” | null | 0 | 1315914688 | True | 0 | c2jiza2 | t3_kcwx2 | null | t1_c2jiza2 | t1_c2jcinw | null | 1427594134 | 5 | t5_2fwo | null | null | null |
True | truthHIPS | null | Good post. Every time I hear weirdos float this idea that the world I should want is every application accessed through one really crummy application (a web browser) I want to tear my hair out. | null | 0 | 1315914834 | False | 0 | c2jizk5 | t3_kc9ai | null | t1_c2jizk5 | t1_c2j5t1n | null | 1428194267 | 1 | t5_2fwo | null | null | null |
True | nascentt | null | Yeah, must've typed it by accident. Though the one case I've always been uncertain about though is acronyms, especially those ending with an S, such as OS for Operating System.
Is that meant to be OSs OS's OSes, I've never been 100%. | null | 0 | 1315915138 | False | 0 | c2jj05o | t3_kdey1 | null | t1_c2jj05o | t1_c2jgfjk | null | 1427594144 | 1 | t5_2fwo | null | null | null |
True | gyoshev | null | It will be dual-licensed under commercial and GPLv3 licenses. Until the library goes out of beta, it's in a "beta" license so that it is used for testing purposes only. | null | 0 | 1315915189 | False | 0 | c2jj09l | t3_kdj33 | null | t1_c2jj09l | t1_c2ji84m | null | 1428194266 | 1 | t5_2fwo | null | null | null |
True | nascentt | null | Wow, I didn't see that at all. Thanks for pointing it out. | null | 0 | 1315915200 | False | 0 | c2jj0aj | t3_kdey1 | null | t1_c2jj0aj | t1_c2jgc2a | null | 1428194266 | 3 | t5_2fwo | null | null | null |
True | michaelochurch | null | I'm new to Scala. My company uses a lot of Java and to leverage the libraries, I'm going to need to use a JVM language. And the relevant project is on a mostly off-hours/20% basis so I need a high-productivity language (i.e. not Java) where one person committing 10-15 hours per week can actually accomplish something demoable.
I just got into Scala. My impression is that Scala's problem is that it *looks* really hard and convoluted, especially in the type system, but that things *usually* work without needing to understand all the complexities.
It's a language that's much easier to *use* competently than to *understand*. You have to be comfortable with not understanding deep details (covariance, contravariance) when you start, filling in that knowledge after getting a basic knowledge of this extremely powerful and complex language.
The nice thing about having the convolution in the type system and not manifesting, e.g., in undefined behavior is that inadequate knowledge (inevitable as the number of programmers approaches large) leads to non-compiling programs, not wrong ones. But that's another rant.
For example, every modern language (Java and C++ not included) has support either for list comprehensions or the map combinator. It's a fundamental need in computation to have idioms for operations over sets or lists of data. That's the first thing I ask when evaluating a new language: Show Me Map. In Scala, map is very easy to use:
scala> List(1, 2, 3, 4).map(x => x * x)
res274: List[Int] = List(1, 4, 9, 16)
Great! No problem there. Now, look at the type signature of map (general use case):
def map [B, That] (f: (A) ⇒ B)(implicit bf: CanBuildFrom[List[A], B, That]): That
This is where, I think, a lot of people just stop. Hawking quipped that every equation in a popular physics book reduced its sales by 50%. I think the same applies to programming languages. Type signatures like that make people think Scala is harder to use than it actually is.
Of course, there are good reasons for that complexity. Map in Ocaml and Haskell has a much simpler type signature:
map: 'a list -> ('a -> 'b) -> 'b list
but it only operates over one data structure (linked lists) with map functions being defined for each collection type. The added complexity in Scala exists to allow map to work on a lot of different collections, something most programmers demand. Data is nouns and functions are verbs; what traits and type classes and the 10% of OOP that isn't donkey poo all capture, in different ways, is the importance of *adjectives*.
All that said, I think either Scala or F#, warts and all, is the language that we in the FP community need to Get Behind, at least in our day jobs. Remaining a fractured community just means we end up, at our jobs, having to use C++ and Java because we can't agree on *which* functional language to use: Haskell vs. ML vs. Common Lisp vs. Erlang. The good-languages community is still divided among 50+ great (but flawed, hence the divisions) languages while the crappy-languages community Got Behind its few a long time ago. No language is perfect, but these two (a) are statically-typed and reasonably fast, so they can be used in production, and (b) can leverage existing libraries. | null | 0 | 1315915272 | True | 0 | c2jj0fn | t3_kaxjq | null | t1_c2jj0fn | t1_c2j84io | null | 1427594147 | 2 | t5_2fwo | null | null | null |
True | nascentt | null | Didn't notice the name. Though I'm sure you appreciate that we're just trying to make sure you get credit for your work if someone else was submitting it here. | null | 0 | 1315915305 | False | 0 | c2jj0ic | t3_kdey1 | null | t1_c2jj0ic | t1_c2jg6la | null | 1427594148 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I guess you haven't programmed in COBOL or C++ yet... Javascript is a dream compared to those monster languages. | null | 0 | 1315915378 | False | 0 | c2jj0no | t3_kcwx2 | null | t1_c2jj0no | t1_c2jhb8b | null | 1427594150 | 0 | t5_2fwo | null | null | null |
True | elmuerte | null | OpenJDK is better because it allows for security patches without needing to upgrade to a new version of Oracle's java. This makes it more safe to use for production environments because you have less to test.
Oracle made quite some major changes in some of their minor JRE updates. Like a new major release of the JIT and GC that had a extra set of side effects. | null | 0 | 1315915394 | False | 0 | c2jj0p2 | t3_kcvv3 | null | t1_c2jj0p2 | t3_kcvv3 | null | 1427594150 | 2 | t5_2fwo | null | null | null |
True | tutuca_ | null | for science! | null | 0 | 1315915423 | False | 0 | c2jj0r5 | t3_kdey1 | null | t1_c2jj0r5 | t1_c2jgu5z | null | 1427594151 | 2 | t5_2fwo | null | null | null |
True | sigzero | null | Does it really matter? Really? | null | 0 | 1315916052 | False | 0 | c2jj27g | t3_kd5f6 | null | t1_c2jj27g | t1_c2jdo8v | null | 1427594170 | 3 | t5_2fwo | null | null | null |
True | angrylawyer | null | It was just the standard ubuntu repo. It's been a few months but I remember trying to add more up-to-date repos and the keys kept getting denied or not found. I ended up just having to download 1.8 manually, but it did make me wonder how difficult it must be to update the repo. | null | 0 | 1315916176 | False | 0 | c2jj2hj | t3_kd5f6 | null | t1_c2jj2hj | t1_c2jhtcr | null | 1427594175 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Strange! I do use AUCTeX, and it seems to work fine. I have it installed via el-get, however, which is checking it out from CVS. Maybe you need the bleeding-edge version? (CVS server is `:pserver:anonymous@cvs.sv.gnu.org:/sources/auctex`) | null | 0 | 1315916385 | False | 0 | c2jj303 | t3_kbz68 | null | t1_c2jj303 | t1_c2jgtm1 | null | 1427594180 | 2 | t5_2fwo | null | null | null |
True | macdice | null | PostgreSQL will presumably have something like this in the future since it's in the SQL standard: http://wiki.postgresql.org/wiki/SQL_MERGE
| null | 0 | 1315916408 | False | 0 | c2jj31x | t3_kd0x9 | null | t1_c2jj31x | t1_c2jf34v | null | 1427594182 | 3 | t5_2fwo | null | null | null |
True | kidjan | null | ...or you could just use SVN or GIT, neither of which have these issues because they're architecturally designed to be used by people in disparate locations, due to their open source roots.
Still, good to know. If I ever go back to TFS, I'll be sure to check that out. | null | 0 | 1315916427 | False | 0 | c2jj33s | t3_kc5di | null | t1_c2jj33s | t1_c2jfw55 | null | 1427594183 | 1 | t5_2fwo | null | null | null |
True | ais523 | null | Brit here; it's pronounced the same way as "kernel" in the UK too. | null | 0 | 1315916608 | False | 0 | c2jj3l2 | t3_kbbbu | null | t1_c2jj3l2 | t1_c2j0edo | null | 1427594189 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | **Major Feature Additions**
* No one uses it. | null | 0 | 1315916772 | False | 0 | c2jj3yr | t3_kdv51 | null | t1_c2jj3yr | t3_kdv51 | null | 1427594194 | -8 | t5_2fwo | null | null | null |
True | bautin | null | Meh, site, whatever. Still better than a random image with no context. It's still not readily apparent how it relates to programming as opposed to being something generally applicable to any discipline. Regardless of the credentials of the author. | null | 0 | 1315916827 | False | 0 | c2jj44a | t3_kdey1 | null | t1_c2jj44a | t1_c2jg2qu | null | 1427594195 | 2 | t5_2fwo | null | null | null |
True | razzmataz | null | You would think they were writing avionics software.... | null | 0 | 1315916918 | False | 0 | c2jj4ce | t3_ke569 | null | t1_c2jj4ce | t3_ke569 | null | 1427594198 | 7 | t5_2fwo | null | null | null |
True | mikaelhg | null | PostgreSQL does lack the ability to pin tables into memory, which means that it can't reasonably serve any use case in which you have seldom accessed tables which require QoS guarantees which the cache manager cannot guess through analyzing the normal access patterns. | null | 0 | 1315916920 | False | 0 | c2jj4cn | t3_kd0x9 | null | t1_c2jj4cn | t1_c2je0m8 | null | 1427594198 | 1 | t5_2fwo | null | null | null |
True | FatHat | null | I think the thing that strikes me about all of this is that if there was one thing that could've really gotten everyone on the Python 3 bandwagon, it would have been massive performance improvements. The problem with Python 3 out of the gates was it was like "well what will this give me right now?" and the answer really was "not a lot". (Or more accurately: "you lose a lot of libraries and things are kind of slower, but unicode doesn't suck anymore")
I don't think anyone at all is at fault, but it strikes me as being somewhat darkly comic that the one thing that really could have made Python 3 an instant success (the *massive* performance boost Pypy gives) is targeted at Python 2 at the moment. | null | 0 | 1315917116 | False | 0 | c2jj4uw | t3_kdrtr | null | t1_c2jj4uw | t3_kdrtr | null | 1427594205 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | "Ada is simply more robust than any other language available today"
Dear Jesse Lang, could you explain in which way you have found Ada to be more "robust" than say Haskell? | null | 0 | 1315917128 | True | 0 | c2jj4wf | t3_ke569 | null | t1_c2jj4wf | t3_ke569 | null | 1427594206 | 4 | t5_2fwo | null | null | null |
True | bautin | null | No, it's generally applicable in a way that is also applicable to programming as programmers are creators. "Solve the right problem" is good advice in most fields. | null | 0 | 1315917176 | False | 0 | c2jj51g | t3_kdey1 | null | t1_c2jj51g | t1_c2jgd9y | null | 1427594208 | 1 | t5_2fwo | null | null | null |
True | AlyoshaV | null | alcohol for everyone | null | 0 | 1315917189 | False | 0 | c2jj52l | t3_ke58q | null | t1_c2jj52l | t3_ke58q | null | 1427594208 | 29 | t5_2fwo | null | null | null |
True | KumbajaMyLord | null | They are in a market-dominating position in search and online advertising. There are even entire industries dedicated to optimizing search ranking as well as online marketing campaigns.
This gives Google the opportunity and leverage to establish de facto standards in these areas, that pretty much everyone in that sector would have to use in order to stay successful. But they don't. They use open and established standards whenever possible. | null | 0 | 1315917216 | False | 0 | c2jj557 | t3_kc9ai | null | t1_c2jj557 | t1_c2ji4dj | null | 1427594209 | 1 | t5_2fwo | null | null | null |
True | nemtrif | null | Java is used for *very* different purposes than C++. It is basically an enterprise application development language, whereas C++ is a system language. In early days, there were attempts to use Java for system tasks and there were projects like Java OS, Java web browser and Java Office, but Java proved a bad tool for these tasks and they are today still done with either C or C++. | null | 0 | 1315917366 | False | 0 | c2jj5jf | t3_kcwx2 | null | t1_c2jj5jf | t1_c2jh6tc | null | 1427594214 | 2 | t5_2fwo | null | null | null |
True | nemtrif | null | Weak type system, array decay, broken declaration syntax, etc. etc. etc....
| null | 0 | 1315917424 | False | 0 | c2jj5od | t3_kcwx2 | null | t1_c2jj5od | t1_c2ji91e | null | 1427594215 | 5 | t5_2fwo | null | null | null |
True | mikaelhg | null | EVE economy is about quantity, while the SWG economy was about quality. Every week unique crafting resources would spawn, with random stats. Then you crafted your components, which got their stats from your resources, your skills, and the choices you made in allocating available stats at crafting time. The better your stuff was, the more in demand with the top crafting and raiding guilds you were. Then you had to get into mass manufacturing, with the largest resource harvesters, and factories. Then you had to rent plots from other players for your factories and harvesters. Then you had to start buying subcomponents... | null | 0 | 1315917532 | True | 0 | c2jj5zs | t3_kctmn | null | t1_c2jj5zs | t1_c2jbuqw | null | 1427594220 | 4 | t5_2fwo | null | null | null |
True | CuntingBastard | null | This is totally NOT true. You can set an option to allow editing of "checked-in" files which works just fine when not connected.
Whilst I agree with much of the article and it's underlying premise, it is very biased and it shows. This is not the only factually incorrect item. | null | 0 | 1315917701 | False | 0 | c2jj6fa | t3_kc5di | null | t1_c2jj6fa | t1_c2jbwpw | null | 1427594226 | 4 | t5_2fwo | null | null | null |
True | sod1864 | null | > They are in a market-dominating position in search and online advertising.
They are considered the best in search. However if you use blindsearch you will find there is not much difference between the three major ones, and almost no difference between Google+Bing.
http://blindsearch.fejus.com/
That site was one of the reasons I switched to Bing on the iPad instead of putting up with dire UI from google.
So no, if Google search was gone tomorrow, it would be a headache but people can switch easily enough. Even so, what kind of standards are you talking about in relation to search/advertising? | null | 0 | 1315917761 | False | 0 | c2jj6kv | t3_kc9ai | null | t1_c2jj6kv | t1_c2jj557 | null | 1427594228 | 1 | t5_2fwo | null | null | null |
True | frezik | null | Or, as I like to call it, Tuesday. | null | 0 | 1315918112 | False | 0 | c2jj7l9 | t3_ke58q | null | t1_c2jj7l9 | t1_c2jj52l | null | 1427594241 | 79 | t5_2fwo | null | null | null |
True | frezik | null | Has to be a Day for everyone, I guess. | null | 0 | 1315918167 | False | 0 | c2jj7qo | t3_ke58q | null | t1_c2jj7qo | t3_ke58q | null | 1427594243 | -13 | t5_2fwo | null | null | null |
True | SamsLembas | null | The nature of proggit has been changed by the introduction of user-created subreddits. Stuff that isn't strictly programming is now better off in /r/geek, /r/linux, etc. | null | 0 | 1315918205 | False | 0 | c2jj7ux | t3_kdey1 | null | t1_c2jj7ux | t1_c2jg1i1 | null | 1427594244 | 3 | t5_2fwo | null | null | null |
True | ooooo5 | null | Is anything as good as Haskell in any way? | null | 0 | 1315918411 | False | 0 | c2jj8go | t3_ke569 | null | t1_c2jj8go | t1_c2jj4wf | null | 1427594252 | 4 | t5_2fwo | null | null | null |
True | impatient | null | I want to say they cover things like this in "Making Software" from O'Reilly. One of the main goals was empiricism, so it can be a dry read. I'd check it out on Safari before buying.
| null | 0 | 1315918422 | False | 0 | c2jj8hn | t3_kczbt | null | t1_c2jj8hn | t1_c2jfrth | null | 1427594252 | 2 | t5_2fwo | null | null | null |
True | spotter | null | I'm gonna make my own Programmer's Day, but with gambling and hookers! Ah, forget the Programmers' Day! | null | 0 | 1315918506 | False | 0 | c2jj8rh | t3_ke58q | null | t1_c2jj8rh | t3_ke58q | null | 1427594256 | 28 | t5_2fwo | null | null | null |
True | twillis1973 | null | WRONG | null | 0 | 1315918582 | False | 0 | c2jj8zx | t3_kdv51 | null | t1_c2jj8zx | t1_c2jj3yr | null | 1427594259 | 4 | t5_2fwo | null | null | null |
True | Ragas | null | Woohoo! Party!
Zeroes and Ones for everyone! | null | 0 | 1315918612 | False | 0 | c2jj933 | t3_ke58q | null | t1_c2jj933 | t3_ke58q | null | 1427594260 | 12 | t5_2fwo | null | null | null |
True | karambahh | null | I don't want to troll on that one but...
Until recently postgres only had third party replication
Until recently mysql did not have a working replication
(working as in: large tables, heavy r/w frequency etc....) | null | 0 | 1315918692 | False | 0 | c2jj9b4 | t3_kd0x9 | null | t1_c2jj9b4 | t1_c2je8ul | null | 1427594263 | 3 | t5_2fwo | null | null | null |
True | GeneralWarts | null | Why is this officially recognized in Russia? Do they have a lot of programmers, or do they just love holidays? | null | 0 | 1315918755 | False | 0 | c2jj9gv | t3_ke58q | null | t1_c2jj9gv | t3_ke58q | null | 1427594265 | 59 | t5_2fwo | null | null | null |
True | beslayed | null | That is what I suspected. The question is whether it's worth it or not. | null | 0 | 1315918841 | False | 0 | c2jj9r1 | t3_kbz68 | null | t1_c2jj9r1 | t1_c2jj303 | null | 1427594269 | 1 | t5_2fwo | null | null | null |
True | merlinm | null | That is correct -- note after years of answering performance related questions on the various mailing lists, I'd venture to say that about 90% of the questions related to table pinning or in memory tables were based in simply not understanding how o/s caching works, and that in almost all cases it's better to release memory in the general pool. All that said, it's a nice feature. | null | 0 | 1315918891 | False | 0 | c2jj9wq | t3_kd0x9 | null | t1_c2jj9wq | t1_c2jj4cn | null | 1427594271 | 1 | t5_2fwo | null | null | null |
True | dumline | null | I just thought up a tagline for the holiday: "Programmer's Day: When all the zeroes become ones" | null | 0 | 1315919108 | False | 0 | c2jjak2 | t3_ke58q | null | t1_c2jjak2 | t3_ke58q | null | 1427594279 | 190 | t5_2fwo | null | null | null |
True | babazka | null | There is a large number of officially recognized professional holidays in Russia. [This page](http://russiatrek.org/about-russian-holidays) lists about 50 of them, and the list is far from complete. All of professional holidays are working days, however. | null | 0 | 1315919243 | False | 0 | c2jjayq | t3_ke58q | null | t1_c2jjayq | t1_c2jj9gv | null | 1427594284 | 68 | t5_2fwo | null | null | null |
True | farkdog | null | As if a brick house would look less fortified. | null | 0 | 1315919379 | False | 0 | c2jjbdx | t3_kdey1 | null | t1_c2jjbdx | t1_c2jgxyi | null | 1427594297 | 0 | t5_2fwo | null | null | null |
True | skew | null | I think "better" probably meant handling more grammars. That's true if you compare LR(1) and LL(1), or probably LR(k) and LL(k). However, I don't know of any tools for making LR(k) parsers for k>1, while ANTLR handles LL(*) grammars (using a DFA for lookahead, rather than fixed k):
http://www.antlr.org/wiki/display/~admin/LL%28*%29+grammar+analysis
I think that leaves the power formally incomparable (and Terrence Parr's thesis almost certainly has the exact details, including stuff about LR(k)), but either seems to be plenty strong for just about anything you would want to parse. If you need more power, there are GLR parsers (which bison can also produce these days), which can handle *any* CFG.
For other notions of "better", LL parser generators can produce relatively comprehensible recursive-descent code, while LR parsing is almost always based on incomprehensible table-driven automata. | null | 0 | 1315919466 | False | 0 | c2jjbmm | t3_kdueh | null | t1_c2jjbmm | t1_c2jiach | null | 1427594293 | 6 | t5_2fwo | null | null | null |
True | merlinm | null | > How so?
I'll leave that as an exercise to you. Don't get me wrong, you can do wonderful things with ndb et all, and they are very well supported, but all the various replication modes involve trade-offs that are exposed to userland code. Postgres HS/SR does not; any query that runs on the master runs exactly the same as it does over a single server, with similar performance characteristics. Likewise, any query that runs on the slave, runs exactly the same as long as it doesn't write to any tables (which results in an error). (Actually, the slave is exposed to one detail: long running transactions can be timed out if they block replication for too long).
In a nutshell, mysql replication is very flexible [but fragile](http://www.google.com/search?source=ig&hl=en&rlz=&q=mysql+replication+out+of+sync&oq=mysql+replication+out+of+sync&aq=f&aqi=g1&aql=&gs_sm=e&gs_upl=713l4059l0l4296l28l18l0l5l5l0l276l1715l0.7.3l10l0#hl=en&q=mysql+slave+out+sync&revid=584728120&sa=X&ei=QVZvTuDHCaTIsQLkwc3bCQ&ved=0CIQBENUCKAM&bav=on.2,or.r_gc.r_pw.r_cp.&fp=e7169cfc39072be&biw=1014&bih=516)...if your application can work around the limitations it's just absolutely wonderful. You can also use ndb to build incredibly highly available services, but the idea that you can scale up your server linearly by adding nodes is utter fantasy.
EDIT: clarity | null | 0 | 1315919709 | True | 0 | c2jjcdk | t3_kd0x9 | null | t1_c2jjcdk | t1_c2jhbdv | null | 1427594303 | 1 | t5_2fwo | null | null | null |
True | Philipp | null | local stillStanding = true
while stillStanding do
stillStanding = partySomeMore()
print('yay')
end | null | 0 | 1315919816 | False | 0 | c2jjcpy | t3_ke58q | null | t1_c2jjcpy | t3_ke58q | null | 1427594307 | 28 | t5_2fwo | null | null | null |
True | AlyoshaV | null | Rather involved with computers. Government is moving to free software by 2015. ReactOS is based out of Moscow. | null | 0 | 1315919986 | False | 0 | c2jjda4 | t3_ke58q | null | t1_c2jjda4 | t1_c2jj9gv | null | 1427594314 | 37 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315920063 | False | 0 | c2jjdju | t3_kcwx2 | null | t1_c2jjdju | t1_c2ja3mt | null | 1427594318 | 2 | t5_2fwo | null | null | null |
True | karlhungus | null | I think it's "Ah, forget the gambling" | null | 0 | 1315920182 | False | 0 | c2jjdyn | t3_ke58q | null | t1_c2jjdyn | t1_c2jj8rh | null | 1427594323 | 10 | t5_2fwo | null | null | null |
True | LesterDukeEsq | null | There's a joke in here somewhere about Soviet Russia and crashing, but fuck it. I need a drink. | null | 0 | 1315920190 | False | 0 | c2jjdzw | t3_ke58q | null | t1_c2jjdzw | t3_ke58q | null | 1427594324 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | Well, then why don't we just use Java, which did this years before .NET already? :-) | null | 0 | 1315920226 | False | 0 | c2jje4g | t3_kcwx2 | null | t1_c2jje4g | t1_c2jf9v5 | null | 1427594325 | 2 | t5_2fwo | null | null | null |
True | Xarnon | null | Thanks for the answer. I guess I haven't used C enough to know of its weaknesses. (Or at least be bothered by them) | null | 0 | 1315920243 | False | 0 | c2jje6f | t3_kcwx2 | null | t1_c2jje6f | t1_c2jj5od | null | 1427594327 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Pig rattle with Dove | null | 0 | 1315920270 | False | 0 | c2jjea5 | t3_kdey1 | null | t1_c2jjea5 | t1_c2jiaox | null | 1427594327 | 3 | t5_2fwo | null | null | null |
True | pnpbios | null | It is. It even runs on the v8 JS engine Google made. | null | 0 | 1315920271 | False | 0 | c2jjeac | t3_kcwx2 | null | t1_c2jjeac | t1_c2jjdju | null | 1427594328 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Like everything else the technology improves. Some time ago, blind coders had to depend purely on braille printers for output. I have no idea how they managed complex programs, and always envied that ability as I took over large work spaces to relate complex modules.
Modern neuroscience is demonstrating significant plasticity, even in the adult brain. Areas which lose their immediate use can be co-opted for other functions. Even certain type of training, without other physical change, can cause structural changes in the brain that can be visualized through radiographic studies. | null | 0 | 1315920291 | False | 0 | c2jjecu | t3_ke5ao | null | t1_c2jjecu | t3_ke5ao | null | 1427594328 | 3 | t5_2fwo | null | null | null |
True | BlackwaterPark_1980 | null | In fact, screw the whole thing! | null | 0 | 1315920367 | False | 0 | c2jjemd | t3_ke58q | null | t1_c2jjemd | t1_c2jjdyn | null | 1427594333 | 18 | t5_2fwo | null | null | null |
True | judofyr | null | Well, there's only a single one in 256. | null | 0 | 1315920392 | False | 0 | c2jjepr | t3_ke58q | null | t1_c2jjepr | t1_c2jj933 | null | 1427594334 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1315920413 | False | 0 | c2jjes4 | t3_ke569 | null | t1_c2jjes4 | t3_ke569 | null | 1427594335 | -8 | 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.