skysight-inc/HackerNews huggingface dataset:
Ask HN: Play framework vs Grails
Hey everyone,

Firstly, let me begin by saying that the reason it's down to these 2 frameworks is because my team is mostly Java-based.

I'm trying to develop a BI portal and am evaluating both these frameworks. I have heard some great things about Play (especially from LinkedIn) but have heard even more great things about Grails. An article pointed out that Grails has more plugins and etc.

I just wanted to get the HN crowd's opinion on these 2 frameworks. I've been able to build toy applications on both but I don't think it's substantial enough to teach me about the pains.

My main concerns are that Play framework is moving to Scala and it's more hype than substance (according to an article I read).
Reddit co-founder calls out Google, Twitter, Facebook over CISPA
Fascinating. I knew there was a lot of hate for the BBC, but I was still surprised - and then I clicked on it.
So, email corydoras@ridculousfish.com and he'll reply with a hint about his identity?
Apple Kills AppGratis’ Push Notifications
Ask HN: $1,500,000 in sales, who to hire next?
My startup has reached $1.5 million in sales. Right now, we have 3 people, and I'm the technical guy and handles every including server administration.

I want to expand my business and relieve myself from the technical role. I'm having a hiring dilemma:

Option 1:
Hire a system admin to maintain the current system. He might not be a superstar but he will take care of the current system. Later on, hire someone with more experience/knowledge.

Option 2:
Hire an architect type of person where he will be able to handle the current system and able to expand future systems. This person will be someone like a chief technical officer.

Option 2 will take longer to search so I will be stuck in the technical position for awhile. Option 1 will immediately relieve me from the technical duties so I can build the business.

Which one should I take? Do Option 1 now and expand search later or wait for Option 2?
>If you stopped, nobody forces you to speed up.

Is that supposed to be an argument that people won't do it?

>And they could still put some police people on the beat, just to check up on the stoppers.

Or they could just do that to begin with and forget about the toll booths, no?
Want to make life even easier? Check out virtualenvwrapper.

http://virtualenvwrapper.readthedocs.org/en/latest/

Lots of benefits, but trading 'cd path/to/my/project && source env/bin/activate' for 'workon project_env' (with autocomplete) is alone easily worth the five seconds it takes to check it out.
It would be really interesting to know the average size of an object and visualize the amount of harddisks it takes to store all this data.
The beautiful machines that mine Bitcoin
Never Say WordPress When Selling a Web Design Project
20,000 visits is about $30 worth of untargeted adult traffic from a broker... Not exactly something they should be excited about.
That there is a proxy war between USA and Russia, that's causing hell for Syrian citizens? I'm pretty sure everyone knows that.
6 Key Steps to Achieving Your Startup Dream
Apologies for the misspelling.

You used the second data-center to sell FogBugz on Demand to your customers. You didn't tell them that you no longer had it. It went down when the storm hit NY, and there was no backup data centre.

If you change the way you keep up your systems, and keep them up, no one minds. When you don't, people rightly question what you've told them in the past and wonder if what you're telling them now fits into the same categories.

I'm aware you have export functions, thats great. My message was to your customers who need to remember to utilise them. Thats not a dig at your company, its applies to any SaaS providers.

I hope my spelling was correct this time around, apologies if not. FYI, "fog creek" is not capitalised correctly in your HN profile, just letting you know so you can keep the brand in check.
Thanks, this is great advice. easy_install comes preinstalled on a Mac, which is where the confusion arose. Will update the article when I get a chance.
The theme is definitely similar to Tikal. Relic Expedition is a simpler and shorter game, emphasizing the exploration and the unpredictable nature of the board. Tikal is more about the worker placement. The objective requires different tactics, working to get four matching treasures instead of amassing as many treasure points as you can.
Yes: I have wireless in my office and house (and no data plan for my iphone).
Java wants everything done in its way, and its way is painfully, needlessly verbose, and weak at expressing algorithms in a way that encourages bugs. Also Java's conventions and culture magnify its verbosity, it's popular libraries and extensions are over-engineered, and its package file format lacks versions and versioned dependencies, producing inevitable conflicts. It's slow to start up and a memory hog. Really the only advantage is that it's fast.

The other JVM languages reduce some of its flaws. Go, I have found, avoids them all.
What you're talking about is consumer surplus, which is the difference between the vslue of a product to you and the price you pay. It is not an externality, because you don't benefit unless you buy (at presumably a market price).

We're not talking about the value of electricity, we're talking about the value of "cheap electricity." Attempting to assign a value to cheap electricity beyond its price is just double counting. There is no value to "cheap electricity" that isn't accounted for in the price and therefore it's not a positive externality. Put another way, the value you get from one unit of electricity is the same no matter whether it comes from coal or wind power. Any difference between the two is merely the incremental benefit of getting it at a cheaper price, which is entirely accounted for by the price.
I was talking about Message Authentication Codes rather than the Macintosh line of computers :)
What a charming and informative website! So refreshing to see an original design instead of another Wordpress, etc. site. Check out this fascinating note on how grep manages to be so fast by being secretly slow:

http://ridiculousfish.com/blog/posts/old-age-and-treachery.h...
Silicon Valley's other millionaires
I see. I guess you're right, then. Thanks!
"We don’t need the pro features. We simply appreciate the safety and want to support the product."

This sentiment is great for businesses but often doesn't translate well to consumer apps. However, some companies are great at having consumers pay because they love a product. Evernote CEO Phil Libin said how they want to make the free option almost all-encompassing with a small percentage upgrading to premium because they love the product so much. If a product can get to that point with their users, then that's the holy grail in my opinion (rather than feeling like you have to coerce or "force" your users to pay for something by trickery, manipulation, or harsh constraints).
How we Cuke
The trend is towards capped usage, which is a shame. Unlimited data was the norm in the US until recently.

As an American who living in Canada though, you guys are screwed beyond belief. My girlfriend pays for internet BT THE SERVICE. I think the android plan allowed twitter/AIM/Facebook, and BlackBerry was email/bbm or something. That's the kind of thing Americans only imagine as a dystopian future: http://www.microsiervos.com/images/TieredInternet.jpg
Collecting relics and getting out of the jungle reminded me a little of Forbidden Island [1]. FI is a great game to play with younger kids.

[1] http://boardgamegeek.com/boardgame/65244/forbidden-island
That model has been around for many years.
>A country where convicted felons can buy assault rifles automatic weapons without background checks, and the government actively affirms their right to do so.

This is just patently false. I understand that there's a large cultural difference between the US and the UK when it comes to guns, but if they're going to find our laws incomprehensible they could at least know what our laws are in the first place.
I find it best to keep virtual envs completely away from the project (I use http://virtualenvwrapper.readthedocs.org/en/latest/ which puts them by default in ~/.virtualenvs). A virtualenv is completely machine-specific.

If your project is a package itself (i.e. it has a setup.py file), then use that file to specify dependencies. On a new machine I check out a copy, create a virtual env and activate it. Then in the local copy I run "pip install -e .". This installs all the requirements from setup.py in the virtualenv, and links the local copy of my project to it as well. Now your package is available in the virtual env, but fully editable.

If your python project is not a package, you can install its dependencies in a virtual env with pip. Then run "pip freeze" to generate a list of all installed packages. Save that to a text file in your repository, e.g. ``requirements.txt``. On a different machine, or a fresh venv, you can then do "pip install -r requirements.txt" to set everything up in one go.
My fault y'all: many have replaced TEXTING with Twitter.
A lot of environmentalists hate it not because of the trust in the markets per se, but because they see policy makers tend to discount the economic value of the environment. If you show that something is causing $100m in externalized costs, even if the government acts to mitigate it might only shift $20m in costs (because "jobs"). Which is un-economic, of course.
Definitely worth using as an experienced Python person. But you can skip a lot of confusion with new Python developers by waiting until later to introduce it :)
Create a temporary email address with Forward Cat
Clearly, England had coal AND found it more useful in large part because they did not pay for external costs. However, if hypothetically they did not have coal they would not have simply given up. Which is what your suggesting by saying the industrial revolution required coal.

The fundamental principles of electricity generation were discovered during the 1820s and early 1830s by the British scientist Michael Faraday. His basic method is still used today: electricity is generated by the movement of a loop of wire, or disc of copper between the poles of a magnet.[1] So the time period was not quite consistent. But, they where also still using hydro power in the industrial revolution 1760-1840 and could have kept going at a larger scale after switching to electrical power.

PS: Without electricity or large scale dam's coal is ridiculously easier to use in a city, however most factory's use electricity not coal today for a reason.
Yeah I mean I was just making my anecdotal observation. I wouldn't say my community is more than 100 people, and I probably interact with 40-50 on Twitter regularly (in a month). Not a huge sample, just what I can see from my small window into the world.
I'm not surprised. There was obviously a very complacent attitude at the plant, otherwise this accident would not have happened.
> The progressive erosion of freedom that the last two points represent arises from a yet more fundamental issue which I’m surprised no-one picked up on: we have no (written) constitution.

The Canadian legal system is derived closely from the British system (except in Quebec, where civil law follows the Justinian tradition). The major difference is the Charter of Rights and Freedoms, which was ratified 31 years ago.

At the time, there was a furore in England over the fact that the Charter would supersede statutes (which, in turn, supersede common law). Some lawmakers considered it unconscionable that the courts could strike down a law for violating the Charter. Apparently the fact that Canada wanted to patriate its Constitution almost triggered a constitutional crisis in England.

Since then, Canadian courts have indeed struck down a number of laws, including restrictions on access to abortion, restrictions on religious expression and dress, denial of collective bargaining rights, prohibitions on same sex marriage, and the right of convicted prisoners to vote.

The Charter enshrines human rights protection and equality for women, minorities and other vulnerable Canadians - including lesbian, gay, bisexual and transgender Canadians, through court decisions that extended the list of prohibited grounds for discrimination in Section 15.

The sections on legal rights have also driven changes to the way police services operate, strengthening protections for personal privacy, freedom from unreasonable or arbitrary detainment and seizure, and due process on arrest.

In the years since the Charter was signed, legislatures still have the right to pass laws - but thanks to the Charter, those laws must be so constructed that they do not curtail our rights and freedoms. Where they do, courts now have the power to strike them down.

I don't think I would want to live in a system where legislators were not bound by a charter of rights and freedoms to ensure that statutes do not violate them.
I'm not sure if a professional forensic study has been done but check out the bitcoin wiki page linked in my post. It contains links to his crypto mailing List posts and a couple of journalists who have tried tracking him down.

The original bitcoin pdf suggests a British education but some of his other writing uses American spelling. And he probably isn't Japanese. The plot thickens.
it's to avoid bias in the system
That one also seems completely fine by itself? And it's not like they generally block names that advertise you being a bad person.
Man arrested and weapons taken away against his civil rights
Typical Temple, Tx Law (Un)enforcers....
I said that very badly, to the point of counteracting my meaning. My father would be so ashamed, nobody tell him.
Funny Or Die's Steve Jobs Mockumentary Thinks Differently
>energy is available through many means

Even a wealthy economy like the US still draws almost half of its electricity from coal [1]. If Americans couldn't afford to switch to solar already, how are the Chinese supposed to?

>the Chinese pay the externalities just as we all do

And so did the US. The first (very weak) Clean Air Act was not passed until 1963 [2], at which point the economy was already very energy intensive, very wealthy, and could afford to take an economic hit by implementing more stringent environmental regulations. The holier-than-thou crowd expects China to hobble itself with environmental regulations in advance of the US, while developing an economy that is still decades behind. All this preaching is of course done from countries that have gone through centuries of unrestricted industrial development, and while taking full advantage of the benefits thereof.

[1] http://en.wikipedia.org/wiki/Coal_power_in_the_United_States

[2]
http://en.wikipedia.org/wiki/Clean_Air_Act_(United_States)
VertualEnv seems less like a brilliant tool than it does a workaround for an architectural problem in Python and pip.

That said, dependency hell is always tricky, and I've had to deal with some far uglier solutions in other platforms.
"Commodity" and "Currency" are - before the law steps in - more or less arbitrary descriptions of human behaviors with extremely poorly-defined edges. Cigarettes are clearly a currency in jail, but they're a commodity pretty much everywhere else.

Once the law steps in - and it will - bitcoin is whatever the hell they say it is, in a court of law, which is the only place these definitions really matter. FINCEN has an opinion already, but that's just one part of one government. The consensus will take time to settle. For my money while mining is still possible, bitcoin is a commodity. After that it's something new, like a currency, but with a permanently inflexible monetary policy. That's never happened before, so what it will be, we just don't know.

http://arstechnica.com/tech-policy/2013/03/us-regulator-bitc...
>how many objects should have been corrupted/lost according to their SLA

Anywhere from 20 to 200M per year depending on how many people use RRS...
Checked out, compiled and installed in minutes, looks fantastic. I really love the completions based on manpages, which I've already found useful for a tar command (insert relevant xkcd here).

Once I get my shells .rc file converted (I think it's just a few variables & calls to other scripts I'm missing) I'll switch over completely.

Looking forward to the future releases, but looking brilliant so far :)
My Best Mistake: Building in Someone Else's Yard
I wouldn't describe this as Catan style at all. Almost every mechanic is different. 'Euro-style' would be a better term.
we think so too. Maybe not premium wikipedia (yet), but even a good place to train and improve your memorization could be a good enough start...
Maybe you should hire another sales guy first! You seem to have good traction there. The more sales you have the easier it will be to hire that CTO.
How Shopify scales Rails
Optimal Platform Pricing Strategy
Thanks for the article! I recently spent some time going through the process of learning VirtualEnv / Pip; after looking at several tutorials, agreed that this is one of the better ones out there. A few other things I saw in other articles that you might like to clarify (though I understand there's a tradeoff with simplicity/clarity).

(1) specifically state that `pip freeze` is how to create requirements file (as folks have said in comments already)
(2) add "further reading" link on VirtualEnvWrapper, as it adds some convenience methods to ease use of VirtualEnv
(3) the "yolk" package shows you what's currently installed; it can be helpful to `pip install yolk` then run `yolk -l` to view the different packages installed in each of your envs.
(4) when installing a package, you can specify the version, e.g. `pip install mod==1.1`, whereas `pip install mod` will simply install the latest
You are correct. I think Korea is the country i couldn't remember before :)

And it's following the pattern alright. Kia, Hyundai, lg.

All companies that started with race-to-the-bottom products that are now trying to be market leaders
I would be really curious to know the app vs website usage stats of LinkedIn.
I find it's really useful for beginners to clearly understand what's actually happening under the covers before they start adding magical stuff on top. They can always add magic later, if they prefer that approach.
The Autumn of the Multitaskers
Yes and no. In the real world, then certainly; but My Free Cams does deliver that concept in a newer and better way than anything I've seen online previously. However I should remind you that I wasn't the one who claimed that MFC were original.
IOS Still Top Platform For Monetising Mobile Ads, Opera’s Q1 Study Finds
What does "500 GB Fair use" mean?
4 Of My Favorite BD/Partnership Tools
Hmmm....an action adventure game featuring Mitt Romney as the hero. Interesting.
Its good to look back at what people thought at the time, so many articles are written after the fact and fail to take into consideration the prevailing thought at the time.
Has anyone managed to login and use the xdk/ide?
waiting for the comparison to the total outstanding us derivative exposure :P
Is CampBX the Future of Bitcoin Exchanges?
Apple Shares Dip Below $400, Representing A 16-Month Low
"Suppose we arbitrarily choose 5 integer points in a plane.

Show that we can always find 2 among these 5 integer points such that the line segment joining the 2 points contains at least 1 more integer point."

I am not sure what you mean. I have 'arbitrarily' picked 5 integer points on a plane. Yes, they happen to lie on line. All their line segments contain only these integer points.

Perhaps you mean that is line not on "a plane"?
In that case (0,0), (0,1), (0,2), (0,3), (0,1) is another counter example.
Working with Scalable Vector Graphics (SVG) in HTML5 Video Element
Default fees differ between clients, but most let you override. Note typically fees are per kb of data in the transaction.

http://bitcoin.speedstats.org/

This lets you predict how long your transaction will take based on the amount sent and the fee attached. It does not consider coin age, minimum transaction fees, or kb transaction size.
As a freelancer in Thailand I know how you feel.

Also laughed at this :
> Free worldwide shipping, even to Thailand.

If you visit thailand again, hit me up.
How does it play with OS packages?

Do I package virtualenvs in an RPM or DEB?
Latest News for Kitty Bingo – Slots of Fortune
Money has several properties:

1) Medium of exchange.
- Can be used to buy goods, thus avoiding barter

2) Store of value
- Sell your crops today for money, knowing the money can be used in the future to buy fertilizer in the future

3) Unit of Account
- Money must be divisible

4) Measure of Value
- Can be used to understand the relative values of dissimilar things.

Given the high volatility of BitCoins, it is not currently useful as money. It is not a good store of value nor a good measure of value, and there are a limited number of things that can be bought with bitcoin.

Bitcoin is awesome as an anonymous wire service supported by bitbugs and speculators who are hoping it becomes a currency. Even if it is never useful as money, it may be valuable for a very long time.
I think that was his point. By "Internet Famous" he is not actually famous to the greater internet, but convincingly appears so.

Obviously if put to the test, the crack experts on the internet could see through his BS via Google, but the people you would try to leverage being internet famous with tend not to be internet savvy -- hence his point about the large multinational companies getting suckered into kred.
I block GA with AdBlock and the site loaded fine for me.
> It was utter insanity, and of course LinkedIn and Facebook both appeared as if they were the benchmarks we should follow ("See, they abandoned HTML! So should we").

This story amused me to no end. About 18 months ago, I worked on a team that made the (not unanimous) decision to build a hybrid app, and those who pushed for that technology pointed to LinkedIn and Facebook as the benchmark we should follow ("See, they use web code in an app! So should we!")

It's easy to say this with hindsight, but we really should have just picked the best technology for our team and product, instead of assuming that larger companies knew something special or magic that we didn't.
Dollars and objects don't compare very well.
Why I've Left the Media Business
F-117 was a top secret skunk works project developed by LockheedMartin for CIA
Totally agree with you here. These metaphorical boxes or mental frames help introduce us to the different uses, but often make analysis and debate very difficult. Worse, many aspects of bitcoin are inaccurately portrayed by even the most prominent economists in support of their various positions on the medium.

The real uses and pitfalls are emerging, indicating that this is a technology with huge potential. If you want to think of a special use, really dig in and get to know what makes bitcoin bitcoin.
Fight for the Users
Bitcoin is a service for making anonymous transfers of fiat currencies, typically US dollars, for goods and services. It's ideal for purchasing illegal or controlled substances.

Recently, it has also become a popular mechanism to make small, relatively volatile speculative transactions for financial gain.
What Satoshi did is easy, right? You could do it tomorrow, it's just that you're too ethical, right?
BitPay doesn't coun't. The merchants are all accepting whatever currency BitPay converts into.

I'll sell you my car for a sack of turds, assuming someone will exchange it for $15K and hand me the cash first.
It's certainly interesting as a list of sex slang but the ranking doesn't make much sense. A lot of these are ridiculous phrases and somehow "come down" as a simple euphemism is rated worse than a bunch of variants of the F word. (or "come down" as in drugs losing effect but that's even more baffling to be one of the most offensive words)