skysight-inc/HackerNews huggingface dataset:
Classes are types. And in Scala, case classes are just an awkward take on algebraic data types.

Scala doesn't even come close to Haskell. For one, it does not do anything to capture effects in the types. Apart from being markedly less safe, this also makes things like STM impractical. Additionally, implicits may be more powerful than typeclasses, but they're also easy to mess up: you lose canonicity. In Haskell, if you have a Set a, you know it uses the same ordering of a as any other Set a; in Scala, you lose this guarantee. You also don't have any notion of kinds, which makes quite a bit of otherwise-idiomatic code hard to write. Take a look at this post[1] for more examples and details.

[1]: http://www.reddit.com/r/haskell/comments/1pjjy5/odersky_the_...

If you want a simple yet powerful OO system, take a look at OCaml. It does OO much better than any other statically typed language I've used. The funny thing is, of course, that people don't use OCaml's object system--not because it's bad but because by the time you're using OCaml, you've already realized functional programming is the way to go. Most of the reasons I've heard for not using OCaml's object system apply even more to other OO languages!

OCaml's object types are expressive and, unlike Scala, fully inferable. And they don't mess variance up! You also get a dual sub-typing with polymorphic variants--I don't know if Scala can do anything comparable with case classes.
At first I thought this said "Change default desktop to xkcd"
I'm in my 30s and this is exactly how I feel.
> I am assuming that the DB server cannot decrypt. If the DB server has decryption permissions, and it is compromised, then there's little need in encrypting the passwords anyway as an attacker will simply decrypt them by hand.

I am not an expert in security/cryptography, but to decrypt you need a secret key, don't you? In this case Adobe believes the cracker doesn't have the secret key which means if Adobe engineers did use CBC and random IV for each password, the cracker can't learn much even provided with hints in the database.

So if you store the IV and the ciphertext in DB, and when you want to authenticate, you encrypt the plaintext with that IV with your secret key. I don't see why that can't be done. Encryption is really only as strong as your secret key security and the IV in this case looks like a salt in hashing scheme. The difference encryption is bi-directional and hashing is one-way.

So I don't understand why they have to use EBC mode. I am not getting your point.
T-Mobile Beats AT&T, Scoops Up 1 Million Customers
Would there be a way of hooking important Javascript blobs into the OS update/store/packaging mechanism or am I being completely dense?

Say I don't trust code updates which is why I choose to run Uuntu because I like its central package management system. Is it entirely infeasible to leverage that update mechanism to enable end-to-end crypto communication in the browser or are these entirely separate issues? Is it your contention that the browser is not the correct platform for end-to-end crypto communication?

edit: it's ok - you needn't reply, I've read some of your other posts and I get that you'd tell me that there are DOM considerations as well.
What does world surplus food have to do with someone's reasonable expectation that they can get food for their future children?

Bill Gates has surplus millions but I'm not going to build a new garage for the Porche I can buy with all his excess money.
The Cryptosphere design is promising but progress is slow.
At least regarding homes, their prices have skyrocketed beyond inflation in many heavily populated urban areas. This is of course because of the increasing populations in major cities and the limited land available near the city center. It's an extra powerful factor that drives housing prices up on top of inflation.

Housing has become a major, major expense in many cities, so much so that getting into a nice neighborhood in a good location often requires two considerable incomes. This is true even in less popular cities like Houston. For instance, this is the neighborhood west of the university I attended: http://search.har.com/engine/doSearch.cfm?ZIP_CODE=77005&CLA.... I remember driving through that neighborhood when I first started college; I had no idea these were million dollar homes of the elite.

Regarding cars, I own one, but I don't enjoy driving in traffic, and traffic is far, far worse today than it was in the 70s or 80s. Commutes are worse than they've ever been. I'd love to go for a drive along a winding country road, but I don't much care to fight traffic on a congested highway with construction and accidents impeding any sort of sane traffic flow. I actually just rent an apartment near the office I work in and walk to work. Driving for me is mainly to visit friends and get groceries.
ctrl+f 'overpopulation' 0 results.

Sure, let's just completely ignore the elephant in the room.
Just installed it. It works great.
As somebody that always has their phone in their pocket, this is perfect and more than worth the $4.
Same. Given all the awesome software that comes out of Toronto, this is really not something I'm proud to see ranking up on Hacker News.
In this scenario, chess's biggest advantage is it has an extensive, well developed rating system--Elo[1]. The tennis example given in the article isn't a good one, because the point system used to determine rankings is somewhat arbitrary. I wrote about this a little more in depth [2] while I was developing a free android app to bring elo ratings to any multiplayer game [3].

If we are going to stick with the title of World Champion, I believe the best way to go about it is an annual double round robin tournament featuring the 10 highest rated players. Each player plays every other player twice, once with black, once with white, and the player with the most points (win = 1 point, draw = .5 points, loss = 0 points) wins.

The problem with having candidates matches--or really any qualifying tournaments--is that it heavily favors the current champion. Even a player as strong as Carlsen probably has a < 50% chance of winning a tournament(s)/series of matches against other top ranked players. This means that the top rated player may have a cumulative probability of <10% of gaining the title, while the current champion, even if ranked eighth like Anand currently is, could have a 40-50% chance of retaining the title.

This is why the title of World Champion should be based off a round robin tournament of all the top players. Chess already has a robust, accurate, and thoroughly tested and revised rating system. We ought to make more use of it.

[1] https://en.wikipedia.org/wiki/Elo_rating
[2] http://www.gautamnarula.com/rating/
[3] https://play.google.com/store/apps/details?id=com.Centaurii....

Edit: Another problem with matches, as opposed to tournaments, is that transitivity doesn't exist in chess (as I've learned in my years of competitive play). If A regularly beats B, and B regularly beats C, it does not mean that A will regularly beat C. This is where matches are flawed--one player could have a particular weakness against the other and lose a match to him, while still being the strongest player in the world, as measured by his results against all the other top players (which is what the elo rating does).
Only if you view a degree as skills training.

The idea that it is inefficient is what I find so interesting, because from my point of view it's entirely the opposite. For most people a degree will greatly improve their ability to learn new things. It will expose them to a whole host of thoughts, ideas, and areas of exploration that they would otherwise never touch.

The thing is, I don't have a degree. I have a LOT of one (well two actually). I feel that it's ok, because the last 30 hours or so that I'm missing are basically all computer science. That's the stuff I've been able to learn.

Still I can't imagine not having the college education that I do have. I use what I learned in psychology almost every day (absolutely essential for anyone trying to run a company). I use the lessons learned in history and literature to guide my decision making. Philosophy has greatly influenced HOW I interact with others and informs the type of team that I want to have.

College made me a much better entrepreneur and it did it only four years! Give me that experience every day over someone who skipped college.

Now, can you get all of that elsewhere? Of course. You can learn to program. That's easy. You can read every day. Of course. But unless you are a remarkable human being (and they do exist), you'll never achieve the breadth of knowledge that comes with a degree.

Hell I'm all for restructuring how we think about education. The answer isn't to eliminate it. Instead lets decouple the skills training aspect. Liberal arts degrees for everyone!
Will Scala ever be enterprise-ready?
I don't know.
Will enterprise ever be Scala-ready ?
No.

And I'm not being flippant here.
Actually, in real use, the XOR swapping is almost always slower, because in practice the temp turns into:

Read a into register1
Read b into register2
Write register1 to a
Write register2 to b

Whereas with the xor, you read the values, then do some pointless xoring, then write them back out. Further, if you are using a and b for anything else, the 'tmp' turns into a simple register renaming, for 0 cost!

While ^ swapping makes sense in assembler, it never makes sense in C.
emacs org-mode 4 life!

https://github.com/codemac/config/blob/master/emacs.d/boot.o...

But seriously, you don't need omnifocus for GTD, and all of it's features can (and I have a corollary to almost all of them.) be implemented with emacs org mode.
GNOME and KDE are both pretty firmly in shiny/fancy territory, at least compared with xfce and the like.
How is this anything but a good thing for AngularJS?
How are you able to get it so cheap?
There's already a mechanism in place for that in the form of javascript plugins/extensions/scripts which have to be explicitly installed. There's still problems because downloaded javascript can run in the same context and subvert the installed javascript. I believe tptacek has written a blog post elaborating on the problems with that.

In a larger sense, I would push back against the web browser as a general purpose OS. We already have a few battle tested OSes who designers have put great thought and effort into these problems. If you insist on javascript, there's even node.js programs, albeit generally installed outside of the usual OS specific mechanisms. If you insist on HTML/css for layout and javascript for programming, I believe there are toolkits based on webkit, chromium and IE that let you create a standalone program embedding the respective browser engines. You can even do what mailpile is doing and embed a web sever in your client application and use your web browser as a client to the client acting as a server (though this last seems a little Rube Golderg-esque to me). But in any event downloaded and installed like a full fledged program rather than treating the exercise as though you were going to a special website.
As you roll back the calendar, when in human history has lower population meant less per-capita hunger in the world?
This is annoyingly similar to our Thrust to Unlock... https://vimeo.com/78670679
Amazon's First Employee Reviews “The Everything Store”
"Working" in this instance would be convincing others not to complain. I have no way of measuring that outcome. I tried, my effort got some exposure, so perhaps I can h o p e that I convinced at least one person. Clearly, I failed with you though :)
I use Producteev (https://www.producteev.com/) for work projects/task management and I'm currently trying to decide whether I like doitim (http://doit.im/) or Todoist (https://en.todoist.com/) more for more personal tasks, like taking out the trash, dinner dates, etc.

I'm very pissed at Yahoo for shutting down Astrid which was perfect for the latter task management.
I'm missing some points:

- Land grabs: Big investors buy agriculture land to produce cash crops for export, e.g soy beans to feed pigs.

- Colonial past: Most land in 3rd world countries is owned by a few rich people. E.g. Namibia was a hunger country before 1990, but is now one of the biggest meat exporters after a successful land reform.

- Frankenfood: Monsanto and other big seed companies destroying the ability of farmers to grow their own seeds.

- Food laws: One of the first things Bremer did after invasion of Iraq was to install US food laws, basically forbidding people to sell traditional food on the market. Forcing them to buy hybrid seeds.
Why would it kill performance? All you need to do is this:

double* values = (double*)malloc(sizeof(double)*num_of_values);

(If you are unfamiliar with numpy, it's just a python wrapper around raw blocks of memory.)
Digging into 22 billion Heroku log entries
You're not "installing" if you just run it from the DMG, so your point is moot
spankalee responded to you already[1], how much more clear can people be?

[1]: https://news.ycombinator.com/item?id=6678798
Yes, developer workflow is one of the key points I think anyone who has looked at the Dart documentation would get. Or, better yet, even try using the language for five minutes.
Driving is fun, but for day-to-day stuff, I'd much rather get online as soon as possible

this statement makes me recoil. If I need anything, it is to be online less, and driving enforces that, if only for a little while.
I think there's value in providing a quick, clean overview and recommendation of applications to potential buyers before they pursue further. WebMenu could potentially be sort of like a mall, where buyers walkthrough and get a glimpse of what apps are selling through their window screens, so to speak, before they enter the store.
Back of the envelope calculations put the cost of car ownership around $7,000 per year. I'd have to earn an extra $10,000 before tax to cover that. That pays for a lot of "overpriced Apple products" that we millenials are constantly blamed for overspending on. And my electronics are a business expense.

I can't see the use case for a car. I live in the Plateau Mont-Royal neighborhood of montreal. Everything I need is literally a five minute walk away in any direction. A bike gets me downtown about as fast as a car does in summer, the metro can often cross town faster, and taxis are a minute's call away. You can pay for a lot of taxis with the money saved not buying a car.

Meanwhile, if I had had the cost of running a car, I would have gone bankrupt on several occasions while bootstrapping my business. For no tangible benefit. Now that I've got financial stability, I still can't see why I would want one. If I car to drive myself, there are communauto stations all around me (Montreal equivalent of Zipcar).

If I moved to the suburbs, things would be different, but I have no intent of moving to the suburbs.
>>The new fiber network would offer free Internet access of 2Mbps to 5Mbps (possibly subsidized by advertising) and paid tiers of up to a gigabit.

Subsidized by advertising? The only way I can think of doing this is by injecting ads into internet traffic. Is that what they're thinking, or more of a 'free starbucks wifi" approach.

And why is this bigger than Google Fiber? Couldn't Google bid on this contract?
Sounds awesome. Send me a link when you have it working!
Ask HN: What are the main differences between Common Lisp and ISLisp?
I can only find superficial things like "ISLISP is a much smaller spec than Common Lisp". I am interested in knowing what are the main practical differences between the two standards i.e. what are the advantages of one over the other.
... I was talking ecosystem niche and I think that obvious. Both languages have to compile to javascript to run in the browser, and it's going to stay that way.

You might not be involved enough in the politics of programmer mindshare, but plainly: Dart is attempting a takeover.

Takeovers can be smiles and open source, but they're still takeovers, and this one is doomed to fail.

If you don't see that, you're focused on the work in front of you and (again) not on the politics of technology. Which is fine. I'm sure it would be lovely to have a beer with you, and talk languages and compiler design well into the next day's hangover.

But if you're going to get involved with a conversation on politics, you should think about Google's goals with Dart and whether they're reasonable or beneficial.

General sentiment here? They're neither.
I occasionally do freelance mobile app & data analysis work, and also subcontract some of the work to other freelancers. The ability to write great specs and milestones (micro-managing) is the biggest cost differentiator in commissioning work.

• If you know precisely what you want (to pixel-perfect photoshop mockups of every screen and interaction), you can hire anyone on Elance for $10/hour and get a good result.

• If you know mostly what you want - a written spec with some gaps - you need to hire a skilled, local developer for 50-100$/hour who will sit down with you to describe the relative complexity of features, make technical decisions, and offer suggestions on what to cut out to reduce cost.

• If you only have a vague vision, you need a huge budget, because you are hiring an UX designer, graphical designer, developer and a business advisor, and paying for their time spent on changes after seeing prototype demos.

The more you "micro-manage", the cheaper developers you can hire (and still get an acceptable result), and the less time you need to budget for changes. For a $800 project, there is no other way to make it work.
Introducing Percona Cloud Tools for MySQL
I'm not sure which letter applies to me

The commonly accepted cutoff is 1981/1982. So, anyone 31 or younger is GenY.
I agree. I like both coffee and tea but even for someone who isn't a fan of brown/green tea I suggest some sort of hibiscus. Maybe I am just obsessed with Tazo's Passion blend right now, but I think people who really aren't into tea will still like this. It is tart and lightly fruity + will often be mixed with something like lemongrass to give it a bit of herbaceousness and/or a touch of tropical flavor.

I'd also suggest Gen Mai Cha as something which is common enough to be in supermarkets or coffehouses but which is a bit different too due to the toasted rice flavor. If you end up in Starbucks, last I went there was a berry-hibiscus "cooler" or something which was decent as well.
Congratulations. You've worked up a pretty good set of bullet points for why our generation is full of firey nonstop rock-shattering MOTHER-GODDAMN-FUCKING RAGE when it comes to most every institution we lay eyes on.

EDIT: This comment is very low-content; please stop upvoting it out of plain agreement.
I use Trello, which makes it simple to set up and track todo lists. It's free and made by Fog Creek Software.

http://trello.com/
> LA expects the fiber buildout to cost $3 billion to $5 billion, but the cost would be borne by the vendor.

> The new fiber network would offer free Internet access of 2Mbps to 5Mbps (possibly subsidized by advertising) and paid tiers of up to a gigabit.

Am I missing something? If the vendor is paying for the network and they're offering free internet, is the only source of revenue advertising and tiers above 2-5 Mbps? Seems like a money-losing proposition to me.
What exactly are those instructions? You or your friend have a misunderstanding. This dual-implementation will benefit the project as a whole (whether you prefer JS or Dart). That's what this is about, not to make JS a second-class citizen because evil Google wants to shove Dart down your throat.
...ish.

Yeah, it always makes me wonder when they have to put the "science" in the name. "Computation" seems so much more timeless and elegant than "computer science", for instance. It's almost like "Democratic Republic" for nations.
Yeah, but I would say it's everywhere like that. You have good developers and bad developers, you have interesting projects and bad projects, you have good customers and bad customers. You can find YC companies on oDesk, you can find cool startups there. IMHO it's not difficult to filter good projects.
If you are confident that this should be working, post a note to the EC2 forum so that we can investigate.
I think his point — and I tend to agree with it, accurate or not — was that there is an inherent distrust that comes with a project "sponsored" by a large black box (in this case, Google). Google doesn't exactly have a great track record of supporting things forever, or even keeping their "open source" systems as open as possible[1].

So, people are naturally suspicious. CoffeeScript doesn't have this vibe, to me at least. It's made by a team of people across companies (although I think it is sponsored partially by The New York Times Company?) and there is a lot of community which lives outside a specific company's ecosystem.

That said, it could just be my own personal bias, having used coffee script extensively and not used Dart much at all.

[1] http://arstechnica.com/gadgets/2013/11/google-just-pulled-a-...
Back when KDE got the ability to wake on bluetooth, I set my phone up to unlock my computer whenever I was in the room. This eliminated logging on, but at the price of requiring my phone to have bluetooth running all day. This was back when batteries were not so large as they are now and bluetooth was a bit of a battery hog. Of course, this was the dumb-phone era too, and I was accustomed to charging my phone twice a week! Charging it every day was too much of a hassle so I soon went back to logging on with the keyboard. I charge my phone every day anyways now, so it would be zero trouble to use wake-on-bluetooth again, but the novelty isn't there and logging in via keyboard is easy so I haven't bothered.

This tap-your-phone stuff is similar, except less convenient. You actually have to take your phone out of your pocket and then tap on it, as opposed to just walking up to your computer and having it unlock automatically. In fact, this is probably slower than logging in via keyboard, depending on how fast a draw you are.
Since they are a featured customer, they may also get price breaks.
You don't understand status symbols. The less practical and more of a pain-in-the-ass something is, the better its potential as a status symbol.

Yachts aren't status symbols among the rich because of their immense practicality & utility.
I don't agree with your statement at all.

The company I work for (and have been with for about two years) has employees across more timezones than I care to count (I am based in London, my colleagues across the US, Panama, Brazil, Switzerland, Italy, Bulgaria, Russia and probably some others I've forgotten -- with one person soon moving to Australia) and we don't have any real issues. We even manage to have a daily standup; some of the team may be having their standup right at the start of their day and some will be having it at the end, but it works.

There are plenty of tools available (Skype, Hipchat and Google Hangouts to name an obvious three) which make maintaining lines of communication between telecommuting teams possible.
The first time I tried to play Minecraft, I didn't understand it. Once I did understand the basic idea, I simply had to have the game. I would have gone through any sign-up process there was to get the game, and paid anything up to about $60. The game was different and was a watershed, regardless of inspirations. The sum of those inspirations was much bigger than the parts. I would guess that the success was mostly driven by sheer demand for a unique experience, plus network effects once it reached popularity.
I turned 40 last year and this is exactly how I feel. So if more and more of the population feels this way, at what point does it become a movement. Is that even possible? When does the reboot happen?
>You also don't have any notion of kinds, which makes quite a bit of otherwise-idiomatic code hard to write.

I'm not sure that is true. Otherwise this would not be possible:
class MyExample[A[_]](a: A)