skysight-inc/HackerNews huggingface dataset:
Then a Map would be a ReadableMap, but a ReadableMap wouldn't be a Map. If a method expects a Map, you would't be able to put a ReadableMap (or a WriteableMap) into it.
My solution so far is to avoid to return a map or to expect a map as argument.
The reason lines of code is a poor way to score solutions is that you should be counting characters! :-)

My favorite Perl golf challenge is something I got from Boston Perl Mongers many years ago:

You have the numbers 1 to 9 (in order), and in between each number you can insert a plus, a multiply, or nothing. Your program should print all expressions that evaluate to 2002. For instance it should print the solution

1*23+45*6*7+89

(and one other)

I have a command-line solution in 80 characters, including the `perl ` at the beginning. It works on 5.10 and 5.16. I think there was a better solution back in the 5.8 days, but my notes are unclear.
Eh? The swiss franc was always higher than the euro. The peg was I swiss = 1.25 euro's, it actually lost value compared to the euro over the past year..

Also i don't think that managing's Icelands economy is easier, i would say it's harder.

Iceland has 300,000 people, it's economy is pretty much based on fishing aluminum and seasonal tourism.

It's a country in which when a bank goes bust the central bank goes out with it, when a large company goes bankrupt it can result in the unemployment rate jumping into the double digits..

Having 18 million people is a very big advantage over having 300,000, you have the wealth of those 18 million as a collateral not to mention a much healthier risk diversity.
No, cops setting up shop just inside the subway station and doing spot checks of passengers' bags is not uncommon.
> I don't think Steve Jobs and Larry Ellison came from families with money.

Doesn't mean anything. Most bombs aren't nuclear bombs, that doesn't mean there are no nuclear bombs. The fact that a handful of billionaires who were in the IT industry during its formative moments and getting a ground floor opportunity doesn't mean lots on entrepreneurs aren't coming from wealthy families.
And Eve Online, I guess. 300K is even less than I thought that country has. We (NL)'ve got more unemployed, elderly/retired, children, etc than that. Of course the ratio will probably be about equal, but yeah, can't compare a 300.000 people economy with a 17 million and 5.5 million one.
5 Tips for Sharp Long Exposure Night Photography
Despite being the developer, I understand where you're coming from. It's always hard to choose an open-source project and decide that you're going to base an important part of your "app" on it.

ZomboDB hit github on Friday and I tweeted about it on Sunday. There's no doubt it's new. There's no doubt it's different. There's no doubt it ain't for everybody.

As the developer, this thing is my full time job and livelihood now, so I've got a lot of motivation to continue development and definitely a lot of work to do to turn it into something lucrative.

If you evaluate it on its own merits, you might find it's worth at least spending a few minutes playing with. It really is nice to do something like...

SELECT * FROM table WHERE zdb(table) ==> '(beer w/3 wine) wo/10 cheese and title:(food, dinner, restaurant) and operating_hours:"11:00am"';

... against 100M rows of mixed structured and full-text data.

Plus, and here's the kicker: it's transaction safe. If an INSERT/UPDATE/DELETE statement aborts, the ES index isn't DOA. VACUUM will come along later and cleanup the dead row and in the meantime PG will maintain MVCC correctness for all active/future sessions. The pain of trying to keep an external index synchronized literally goes away.

On the other hand, maybe you don't care about transactions, have a read-only dataset, and don't have a "source of truth" system for your data. If any of that is true, then you don't need ZomboDB.
>Now, the normal way to make up for this would be to cut costs by devaluing your currency, except that Finland doesn't have a currency to devalue anymore.

Keep in mind that this is a zero sum game, in order to devalue your currency the rest have to appreciate. So we have no idea what would have happened if every country in Europe still had its own currency and tried to outdevalue each other. It could even have the potential to start an international race to the bottom.
When Do We Look Good on Photos? – Blog for Photographers – KeepSnap
I feel the same way about my Pebble. It does a few things well and causes me to take my phone out of my pocket a lot less often. It's handy (no pun intended) and useful for what it is.
Looks like you know little about copyright law and how it applies. Very strange, you protect clear violators. Guys bought maps illegally, illegally exported classified material and are trading(!) classified information. Please, let me decide what is my business and what is not, thank you very much.
Command line, the only way to know what you are doing
Additional info on currying (and partial functions) in JS from Dr. Dobb's[1]

[1] http://www.drdobbs.com/231001821
I think you're making the mistake of treating blame in this instance as though it has to add up to 100%, and blame on one party lessens it on another.

If my friend's dad hates gays, I tell him his son is gay knowing it's likely to cause violence, then the father and I are both total pieces of shit. His guilt does not absolve me in the least.
> Data from more than a billion cab rides reveal that customer complaints in New York and Chicago steadily declined after Uber came to town.

Probably because most of the people who typically file complaints switched to Uber, leaving just the complacent taking taxis.
Does Bjork count as an industry?
Re: your first point, the same happens in Europe; the relatively rich west (like the aforementioned Netherlands) pays for the relatively poor newer eastern-european states, and the farming industry in countries like Spain, and with the recent problems in Greece, spends billions to try and get that country back on its feet.
As someone who recently launched a service — among a zillion things you have to do to deploy a software application online this one seems markedly less important, especially if you are launching an MVP on a small budget.

If your MVP won't fly, legal info won't help and is a waste of time and resources. If it will, you can always add it in the future. The percentage of people who will complain or not use the service at all without reading the Terms of Use first is… well, I have no idea what it is, but let's just say it won't move the needle.

Contact information is more important, and easy to add, so it should be there.
I am glad to have witnessed someone like you who's so generous of their time, and knowledge. Sir, thank you.

OS - Windows. Saving for a Macbook (too expensive).
I am already on Udacity's Intro to Computer Science and Python is used to teach this course. Plus going through Learn Python the Hardway by Zed Shaw. Taking a Ruby course on Udemy.

IDE - I use Sublime Text for front-end development lessons (team treehouse, udemy), and Cloud9 for the Ruby course I am taking through Udemy.

So much to learn! What is your email?
The EU has union-level redistribution, especially for farmers, who, as in the US, are heavily subsidized.

US states sometimes get into the same kinds of problems. Look what's happening to Kansas right now, after a big tax cut. There's no escape for a state that screws up. They can't impose capital controls and keep people from moving their money out of state. They can't print money.

If the EU was a full financial union, individuals in Greece would have no problem withdrawing money from banks, because they'd be customers of banks in other countries. US states don't have their own financial systems. It's the combination of a common currency and separate banking systems that's the problem.
It this on windows phone too. It's not the phone's fault.
I actually had to look this up, because I didn't know about it, and yes I agree.

MDN documentation contains some very illustrative examples of its use:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Youtube tutorials:
https://www.youtube.com/user/thebennybox/playlists
Judge allows cab companies to sue Uber over safety ads
Very true. Thank you, You saved me from explaining that to guys below in this thread.
This is an interesting hypothesis, but I think we should consider that the nobles actually believed in the religious aspects of the Crusades. While I am sure some were in it for the money or prestige at least the first couple of crusades appeared to have been motivated by religious zeal.
Comparing a country that went to bankruptcy in 2008 (short, deep recession => higher growth long term) to two countries which have problems not because of the euro doesn't make any sense.
Back in 2011, it was worth more. But the peg was actually at 1 euro = 1.20 francs,[0] but in mid-January it went to 1 euro = 0.81 francs in one day, that's 30%. Meaning that buying things with euros in Switzerland became 30% more expensive all of the sudden.

[0] http://www.bbc.com/news/business-30829917
>gaming on Linux is still a far cry from gaming on Windows or any recent console.

You mean, like the Steamboxes?
Now You Can Buy Solar Power from Your Neighbor
I was hoping that they were going to find another arcade machine and play Doom, inside Doom, inside Doom.
I agree.

I also find it pretty insincere to brush off economic problems with the half-sentence "but those should have been manageable". Aren't there lot of nations with economic problems that aren't managable (in the sense of averting a shrinking economy in the course of a few years), even though they have their own curreny?

Finally, on the small scale, traveling is so much easier if you don't have to worry about currrency. No need to get cash in the foreign currency in advance. No need to worry about exchange rates. No need to worry about your bank adding crazy exchange fees. You can compare price to what you're used to without having to do any mental (or awkward mobile phone) arithmetics. Border regions and travelers profit imensly from the Euro.

This is pretty obvious, but econmics pieces on the Euro routinely forget to mention it.
>> that's when being the highly differentiated product will help the most

But the iPhone does seem to lose differentiation. Android apps have recently become well designed using material design, there's an app saturation, and 90% of the time people spend in phones is inside apps anyway,so it's harder to differentiate on the OS.
Couple of things

1. In the US, states aren't responsible for bailing out banks the Federal Reserve is. You don't see things like Ireland having to bail out a bunch of insolvent international banks.

2. In the US you see about 100-200 billion a year in transfer payments. I've come to believe that these are essentially compensation paid to states with weaker economies to compensate them for having to do business in dollars.

3. Social Security and unemployment insurance are Federal not, not state programs. And exception is state pensions, where there are indeed problems.

4. Most states are limited in the ways they can borrow money and don't run deficits that are large percentages of GDP.

5. Politically there is a difference. With Greece when I talk to Europeans there is this a reflexive desire to impose collective punishment on the Greeks. You just don't see that in the US. I think that frees US policy makers to take practical measures that aren't available to the Europeans. Consider Puerto Rica, about 40% of the population of Greece, half the total debt. Just said, they're broke. As an American... oh well sucks to be a creditor. But the Federal Reserve isn't going to cut off banking in Puerto Rico and force them to do a fire sale of civil assets like the EBC.
My concern here is

If people write a haiku

They might never stop.
I once attempted to hand a quarter to a convenience store clerk. Somehow we dropped it during the exchange. The coin rolled about 8 feet and went thru a tiny gap between two large cardboard boxes on the floor.

I'm sure I could have stood there for an hour attempting to drop a coin onto the floor and have it roll into that gap, and I would have failed.
Quick question, what does not being crash safe mean in practice? Will I have to recreate all indexes in pg and this will trigger a restart of Elastic and recreation of all indexes there?
The Euro seems to make no sense unless there is a common government and common economic policy, which Europe lacks.

I'm from Poland and I've always been a big supporter of the Euro, but I recently realized that it can't work in its current form. I would like to see a more unified Europe instead (we have much more in common than we think). Sadly, this is not likely happen mostly due to stupidity (populist and nationalist movements all across Europe).
Thank you friend. I will get in touch.
That number is mostly freelancers and contractors, not "entrepreneurs" in the traditional sense and certainly not the types that are eligible for million-dollar exits.
Uber & Lyft may have safety problems, but at least the drivers aren't using Crown Victorias with poor seatbelts. Imagine if John Nash hadn't taken a taxi that day.
https://news.ycombinator.com/item?id=8796270
Iceland’s tourism industry is now bigger than fishing as of 2015.
Dietary calories are actually kilocalories. 2500 kcal is approximately 3kWh..enough to run a thousand phones for an hour.

What's impressive isn't the efficiency of the body's use of energy (electric motors are already pretty good) , but rather how efficiently it extracts and stores it.

If smartphones had our stomachs, we wouldn't need to charge them..just let throw a hamburger in there once a month.
With exception to scales better than 1:50000 maps, I am afraid these are again classified in Russia. And there are these famous regulations applied - http://goo.gl/OF5bSn . Basically everything that has relief from 1:50000 is classified. However you can still have 1:20000 electronic relief of Russia from torrents, if you don't legally care.
These "He/She [did something/is doing something]" headlines are a very peculiar and mildly annoying emerging style of headline writing. It doesn't quite parse correctly on first glance, and appears tailor made for Reddit sharing, where this style of writing is popular.
Don't. One of my friends went up to 1.5g/day (using crystalline caffeine). After he had to give it up, he spend at least 6 months without energy, lethargic, sluggish, possibly depressed.

After ceasing typical consumption brain goes back to normal in 1-2 weeks. But for huge doses it might be not the case.

(BTW: If anyone knows more info on the length of caffeine withdrawal as a function of does, I would be grateful!)
I like that. Is the US law universally applied in this part of the Galaxy?
When people say devalue in the current context, it is a shorthand for the Iceland scenario. What they mean is: moving off the shared currency (EUR) and adopting a national currency. This generally means a one-off devaluation, because the country moving off it will be weaker, and in their act of moving off the EUR will get stronger, and their new currency will have less purchasing power. [This is not always the case - when people speculate about a German exit, they assume the opposite would happen: strong Mark, weakended Euro.]

What you're suggesting here is a bit different:

> So we have no idea what would have happened if
> every country in Europe still had its own currency
> and tried to outdevalue each other

China has found a round-about way to do this against the US for the last 30 or so years. But it's no longer viable in free countries.

As soon as the state gives citizens access to international financial products, and allows them to move money internationally, it can no effectively control national FX rates. If it were to try it, enterprising citizens would model the real value, and use commodities or similar to arbitrage the peg.

Since the 1970s, there has been a migration of countries moving off fixed exchange gearings to flating economies, driven by this dynamic. Some went willingly (Australia), others tried to ignore the inevitable and found themselves forced to it (UK).

China has seen the writing on the wall on this and appears to be on an arc towards floating the renmimbi. The nationalist lingo about this will the their hope that it will become a reserve currency (what actual value it has to be used as a reserve currency in a well-oiled system is unclear - probably none). The real story is that they have to do it if they want to continue transitioning to a full import/export economy. They're already leaking heavily (look at the amount of US debt they buy to prop up the peg), and that problem can only get worse as their middle class and financial sectors become more confident.

The Euro was a masterful play by German policy makers for maintaining social stability beyond reunification. It works differently to the Chinese mechanism but has a similar outcome: it removes purchasing power from rich Germans, and forces the price down of the goods being produced by poor Germans. Why does Germany still have a strong industrial sector? They chose this over having a strong financial sector. Instead of rich Germans being angry at vast unemployment and benefits in the weaker parts of their own country and thinking about splitting, they have high employment across the nation and get to look down on neighbours instead. But it's not so good for the neighbours. There have been some positive outcomes - the goal of joining the euro has probably had a strong positive effect on good-governance in many countries who had to work hard to join.
A cURL and Wget alternative with easy syntax and color highlight – HTTPie
The paper ends with "The caveats and analysis also point to the following conclusion: For tossed coins, the
classical assumptions of independence with probability 1/2 are pretty solid."
I suspect the dumbing down of news says more about the state of the news industry than it does about the capacity of the public to understand.
Toki Pona: a human language with 120 words
No it's not. Devaluation != wealth. Say an economy produces only 2 lemons per year and they cost 1 euro, say you devaluate and now the cost 1.5 euro... how much wealth have you created? None, you are still producing only 2 lemons. The real problem in Europe is taxes, a very bad culture for entrepreneurship and, consequently, little to none venture capital. While we do have very competent people technically, we miss totally the business side of things. Italy is a great example of this, lots of stems, very poor business people and no to little venture capital. Then, when you do manage to actually produce something and sell it, you are killed pretty much from day 1 by taxes - more than half of your added value will go to the government.
Duktape isn't compact enough to run on 64 KB RAM and would need extensive modifications to do so.
> If they were devaluing their own currency, surely their
> trade partners would be concerned with dealing with
> them, unsure what their money would be worth a month
> from now

The seller simply insists they get paid in their own currency, or USD.

See: http://study.com/academy/lesson/how-currency-changes-affect-...
The Chinese TSA is the best one in the world for finding...lighters. Really, second to none. Of course everyone else just allows them.
Nice how many off-handed insults you've managed to pack into such small space, based on no data at all except extrapolating from your own prejudices. It's almost like some kind of HN comment golf.

A playful programming competition is really not at all comparable to cheating innocent people out of their money. Like, seriously. People are generally able to behave appropriately in situations with different expectations. There's no reason to think that it's not equally applicable to using the appropriate programming style for the project. It's like you're looking at somebody walking on the street in jeans and a T-shirt, and complaining that they're not properly dressed for the opera. And no code gets committed without a code review at Google anyway.

Finally, code golf is rarely about obfuscation; obfuscation just for its own sake isn't compatible with minimizing code length. Once you e.g. know the basic Perl golf tricks, the code can be surprisingly readable since it really just contains the core of the algorithm.
Have another go at interpreting my comment.
one issue i see is not the dupes but is that its decently easy to self-vote from several "accounts" and "ips" to be on the FP for a little while.

the other one would be that due to the fast-paced news, only a few per day are really interesting - and you dont look every hour you might even miss it (which is either way not very productive)
It will work for simple cases like https vs http or other cases of URL normalization but won't work for complex cases where they refer to the same content but with different title.
85% of the 1500 millionaires interviewed by Fidelity Millionaire Outlook "said" that they where self made.

Still, I would like to know how many of this "self made" millionaires are not white, men, and don't come from a, let's say top 15% tier, wealthy family.
Probably speculating given the lifetime of most small-scale Google apps.
Amazing. I've added this to my collection of web dev favourites. Thank you.
Lots of fluff in the article over a single question, how does losing the ability to devalue your currency compare over other things gained.

The usefulness of devaluation is highly related to export/import structure and the political ability to make cuts so it makes no sense to fault it all on the Euro (or to assume the loss of being able to devalue your currency makes being in the euro-zone a net loss).
The previous discussion (4 years ago): https://news.ycombinator.com/item?id=1692227

Lots of new features has been added since then: http://my.vexflow.com/articles/53?source=enabled
I do most of my iPad web reading through an RSS reader like Mr. Reader because of a similar issue. Mr. Reader lets you choose between 5 built-in (including normal web view) page views as well as allowing unlimited user created/added bookmarklets, javascripts & URL Schemes. An iOS add-on that would flip any Safari page to a customizable Reader/Readability/Clearly view would be nice, though.
But the key common denominator is still education and software. Not poor does not equal rich, and even in Gates case his family wealth was never a factor in funding his company that was profitable early. You just have to be not-poor and surround yourself with smart people. I find race and gender a more relevant study than wealth.
I would have appreciated a sensible max-width on my fullscreen desktop browser.
I'd suggest interactjs.io been using it and works like a champ
Yes! And you can test for it, I'm a mixed type myself so no coffee after 6pm: http://www.snpedia.com/index.php/Rs762551
Macs were top sellers before their recent success in the personal computing market. Their share only dropped in the 90s, but if you are around earlier, they are clearly on a nice roller coaster ride. And who doesn't remember the Mac SE, the Mac II, the first PowerBook?
As you've seen it being used in production environments, I'm curious. What kind of applications have you seen being built with this?