I'm shocked that the response seems to be "Where's the problem in investing in companies that make the world a worse place if he uses that money for other good purposes?". The good you can make doesn't magically erase the bad you made.
386 karma · joined January 6, 2012
I'm shocked that the response seems to be "Where's the problem in investing in companies that make the world a worse place if he uses that money for other good purposes?". The good you can make doesn't magically erase the bad you made.
Scala can solve it in a way quite similar to Clojure. The author is trying to hammer a point about Clojure which doesn't emerge from the example, as most Scala programmers can notice.
It would have been great if he had listed all the possible solutions and told us "Scala lets you solve it in all these very different ways without the language guiding you, Clojure guides you to the simpler solution". That's a fair point, and one Scala programmers will tend to agree with.
The interesting part is that you don't have to worry about web servers, server software, databases, scalability or server deployment; just simulate what kind of responses you'd get with the complete web application and iterate from there until you are happy with your frontend. This is particularly useful if your development process is driven by UX.
I know there should be some overhead when using a framework, but sometimes the cost is too high and it's useful to know it (compare php and symfony2, for example).
You can look at the Revel benchmark, a web framework written in Go which did quite well in the benchmark.
I mean, Imperative Programming shines when you aim for efficiency in the usage of the computer resources. Functional Programming shines when you need concurrency and parallelism. Object Oriented Programming shines when you are building a GUI. All these paradigms have their sweet spot and will make your life easier in certain situations.
What's Logic Programming sweet spot? I've read about puzzle games as good examples for this paradigm, but I suppose there are stronger examples for it. Maybe AI? Is it used in that field?
Edit: I have just read roberthahn comment, thanks for your insight and the link!
Reread this thread, I didn't claim fiction as a whole is better than non-fiction in any way, but you did claim non-fiction as a whole gives you more information about the world by default, irrespective of individual examples. I'd be thankful if you stopped denying that you said what you said, or at least admit that you were mistaken.
You can't make blanket statements about categories like that, it's a futile exercise because you are putting great books and garbage books in the same box. They aren't all the same, neither in fiction nor in non-fiction. That's the critique we made to Bill Gates' blanket statement.
Instead of arguing for argument's sake, read what I wrote calmly and analyse it, none of your previous answers apply and I don't have the time to answer to each part of your comment. I'll just answer the only one in which you could have a point.
About Paris Hilton's book, it's true that there's some value in it, but you can't compare it to the value that you can take from 1984 and the insights it can give you about society and the human condition. And that was my point, a counterexample to the blanket statement "non-fiction gives you more information about the world than fiction by default". It simply isn't true. Literature is much more complex than that.
And by literature I talk both about fiction and non-fiction, I don't redefine things or refer to an imaginary "most of us".
Of course he didn't, he said something worse. The literal quote from Bill Gates is: "But I read mostly nonfiction because I always want to learn more about how the world works".
The immediate conclusion that you can take from that is "if you want to learn more about how the world works, then don't read fiction". It's the assumption that fiction has value only as entertainment.
I'll give you just one example of the opposite. If you want to learn how people in the past thought and viewed the world, then an excellent way is reading the popular fiction of that time. Bonus points if you get to know how they read it.
>Sorry, but it does. Easily testable hypothesis; go to the NY Times Bestsellers lists and compare, book-for-book, what can be "learned" from each (as most of us understand "learning").
Sorry, but if you get to redefine things in order to suit your argument (the word learn), then you are right by default and there can't be any discussion. I won't follow you there.
I know there are excellent non-fiction books that teach you lots of things. But the reverse is true, there are garbage non-fiction books that teach you nothing.
For example: read "Confessions of a Heiress" by Paris Hilton. It's non-fiction, so by your logic, you will surely learn more about the world reading that than something like "1984" by George Orwell, right? Give me a break.
However, many people (Bill Gates included apparently) operate under the opposite assumption that non-fiction gives you more information about the world by default. And that's simply not true. Fiction can change your views, give you new ideas and insights, challenge your beliefs, etc.
Fiction writers create based on their life experiences, their feelings and ideas and also the information they got from different sources. It's pure ignorance to assume they only offer brainless entertainment.
The wall example is similar to "Write a simple calculator capable of doing addition, substraction, division and multiplication". Anyone can tell if that software works as expected or not and have some idea if it's well done or not.
A similar comparison would be a team designing and building a fully functional house on a budget. In that example it's not easy at all to assert how well they are working, as happens in software development.
If he doesn't, then he's probably using some silly and lazy metric like "hours in the office" or "lines of code written per day". If he does, he probably took the time to learn about your job and make a more accurate assesment of your work.
Really, as a programmer you are supposed to know lots of things, learn some more and work hard; but the guy above you cannot be bothered to learn some useful skills in order to asses your work? What kind of logic is that?
There you can see lots of data related to an application using Akka, including its performance and possible bottlenecks.
You can use it easily from the web browser, the only downside is the large amount of RAM used.
As far as I know, there aren't any records of a boom in consumption just because a drug was legalized. And I'm not talking about marijuana only, but drugs in general, alcohol included.
Considering that, we can say that the fear of people going mad about a drug just because it was legalized is another myth of the "war on drugs".
There aren't hard numbers of consumption during the prohibition (obviously) but statistics of alcohol related deaths and arrests seem to show that there was a serious decrease just before the prohibition, and after a few years it returns to its previous state, and was worse in some aspects.
http://www.druglibrary.org/prohibitionresults.htm
Also, in the Netherlands the marijuana consumption rate is less than in the USA, despite it being almost legal.
So, don't worry, things won't change much, except for those people who won't have to be worried about being arrested for smoking a plant.
I would like to try this for those times when I'm short of time to cook and resort to ordering a pizza for example, not as a complete replacement. And I think it would be advisable for the people interested to do that as long as there's not serious research.
However, currently there are serious studies about the bad effects of fast food on your health, it's not an unknown. The way I see it, you are more worried about something that could be bad than about something we know is bad. It doesn't add up to me. Sounds like neophobia. And I'm sorry in advance if I seem rude.
It's not like meals are an arcane science working some unknown magic on your body, it's about biological needs and chemistry. And it's not like there are chefs cooking healthy food in every home. I don't claim anything about Soylent, I have never consumed it, but it sounds like a possible solution to a big problem. Time will tell.
You shouldn't consume only Ensure, but you could do it with Soylent. They are completely different products.
More than a decade has passed since then, so I don't remember all the details, but you certainly had to learn the OS X way, just like the man learning Windows 8.
What most people don't notice is that many votes don't necesarily mean "everybody agrees with him/her". Many times I have upvoted comments with which I didn't agree but I thought were well reasoned and had validity because I think those comments improve the conversation.
On the other hand, I could agree with comments stating "Great work guys!" but I wouldn't vote them as they offer little to no substance.
If a copy or a derivative work of the licensed material is to be included in a piece of software under the General Public License or other strong copyleft license, then it must be licensed under that license for compliance.
I don't speak legalese, so I'm sure that text is full of holes and possible misinterpretations, but surely a group of experts could come up with something legally viable in that spirit.
It's a little bit crazy to say "Yeah, this license gives you total freedom to reuse this work however you want without asking permission, except when the original author doesn't like the result". Where do you draw the line? It defeats the purpose of the license.
You can make a parallel with FOSS, your software could be used to run nuclear missiles, a pedophilia network or other nasty things. I don't like it quite a bit, but the other option is a slippery slope in my opinion.
For example, if you modify an image of a map licensed with CC-BY-SA for it to be used in a level of a game licensed with GPL, which license should you use for the derivative work? Is it data, code or both at the same time? What's the status of an image or a sound made with a script (think about fractals, for example)?
Both licenses are "viral" and require you to use that and not the other. You are on a deadlock.
The Jolla devs have promised a guide for installing Sailfish OS in this phone, so I will happily make the switch when they publish it.
We are in Hacker News, today you can't find a more hacker-friendly OS for your phone (well, maybe Firefox OS is on par, I haven't used it). I think that's what the parent was talking about.
The problem here is that Nginx developers refuse to implement a free patch which already exists for a feature easily found in the competition in order to protect their business model.
Sure, what Nginx devs do is a legitimate practice, as legitimate as the author complaining about it and proposing a change of software or a fork. I don't understand why many get so upset about it.
The article wasn't talking about a conspiracy, read it again. It's just what you said, Apple doing PR control.
If they think that criticisng Apple or its products makes someone a bad journalist or unfair and they are blacklisted, then in actuality they do care a lot about journalists.
A tech journalist is at a disadvantage with the rest if he is denied early access to products, and he won't get that unless he writes pretty things about Apple. We have a word for that: blackmail.
I usually use spreadsheets only as data entry software and then R does the rest.
Take for example Riak, they chose "AP" which means the system will continue working just fine through a network partition at the expense of not giving a strong consistency guarantee (eventual consistency). That doesn't mean that the data isn't consistent at all, just that it isn't its main concern.
maddog mentioned Chavez and the cuban embargo in order to illustrate a point, which is completely valid: Brazil and any other sovereign nation (excluding the USA... maybe) should be wary about using closed source software and computers made in a foreign country. You can never completely trust them; but there exist alternatives which you can implement right now.
Sorry if you had bad experiences in Venezuela, but you don't need to freak out and start a commie witch-hunt any time Chavez is mentioned. And I live Argentina, so I also have experience with enduring populist governments; but this article isn't about them, at all.
Some examples: Twitter, LinkedIn, Foursquare. All of them pretty big and in the same space of Yammer; they seem quite happy and don't plan to move away from Scala.
And here you can find a clarification from Yammer about that issue: http://eng.yammer.com/scala-at-yammer/
TL;DR: They liked Scala but it has rough edges, every programming language has rough edges (yes, including Java). They found Scala was not the best option for some particular situations and Java was a better fit. End of story.
That's fine and completely reasonable, I think nobody said Scala is the Holy Grail in programming languages. As for your preference, you seem to be looking for a "nicer than Java, but OOP all the way" (don't know about Julia, haven't used it), which is OK as a preference but many of us find it a kludge to work with. I found something like Scala (multi-paradigm, I mean) helps me a lot in reasoning about code. As I said, you use the paradigm that makes more sense.
For complexity and ugliness, you have my previous answer. About compile time, you have a sophisticated type system and type inference which come at a cost, but it's not such a big deal when you run it with fsc (which stands for fast scala compiler).