skysight-inc/HackerNews huggingface dataset:
It costs nothing to switch those GETs to POSTs (or fucking whatever method best describes the kind of side effect you're doing). why are we making excuses for doing the obviously wrong thing?

I get what you're saying about the API… but if you're going over HTTP why not play by HTTPs rules. Presumably it's an app that is the primary consumer of the API so they could use any sort of protocol. Why decide to use HTTP but not conform to the standard in a way that ruins any benefit you might have got out of using HTTP instead of say:: OSC or.. basically anything OTHER than http would be better.

If we're talking about using HTTP to bust through a firewall, then that stuff is DEFINITELY going to break unless you use HTTP in as dull and ordinary a way as possible, and GET requests will always be cached by god knows how many different machines between you and the car.

If it's not an app, then we've decided to put a webserver on the car so that we can serve a website with some javascript that does XHR calls to make things happen. I would not put it past google to make a future version of chrome that prefetches JSON api requests. But regardless, yes, XHR calls do go via the browser cache. and the proxy cache. and the firewall. and any other machine that makes basic assumptions about what those methods mean.
That is impractical and Prime / Netflix isn't free
Ask HN: Have the US spying programs negatively affected your US company?
There was a report a while ago saying the US is going to lose $35B because non-US companies would shy away from their data being hoovered by the NSA etc.

I'm curious if this was the case, or has the drama died down now and it's back to the status quo. If there are people or companies out there that are US-based and have been affected somehow when dealing with non-US companies, what happened?
>Yes, there are a number of international institutions collecting this data, and almost every single national statistical office collect price data regularly. Sadly, they tend not to make the raw data available.

And so you start up a project to change that....and then don't make the raw data available? I'm confused.
To expand on this: isn't what Go does with built-in channel and parallelism primitives similar to that?

They sure didn't exist in C. But people see the value of having this higher level abstractions.

So, why draw the line on Channels and Goroutines, and not add pattern matching in there? Just because Go already came out offering the former?

If anything, pattern matching is even more applicable to the work we do day-to-day, than channels and goroutines are.

Millions of people write programs without parallelism/concurrency every day, but nobody writes programs without pattern matching. They just do it by hand with lots of if/else and various manual extraction techniques, if their language doesn't offer it.
Incomprehensible style is a nice word for sloppy. The effect of either is exactly the same, one just implies respect. If you say code that is minimalistic to the point its incomprehensible is better then code so sloppy its incomprehensible, I don't see how one is any better then the other from a maintenance prospective (the former would be better in run time likely).
I think the comparison would make more sense if it is a function of salary, not just an absolute number
Python has achieved pretty much the same callback hell avoidance, without the need for monads or a foray into functional programming (in an imperative language). Python does it using generators as preemption points and using syntactic sugar for generator composition (yield from).

The code looks rather nice, for async stuff: http://www.getoffmalawn.com/blog/playing-with-asyncio

Using generators is rather clever. It's a look on generators not as fancy iterators that generate values but as fancy iterators that generate code execution steps.
http://cm.bell-labs.com/who/ken/trust.html suggests you cannot trust anything!
Why do backlinks spam the internet?
The requirement of Java 8 slightly shocked me at first, but then I saw that Scala 2.12 isn't expected before 2016, so now I guess it's right.
You know, I'd been considering doing a something-to-Verilog compiler for a while; with a brutally restricted subset of JS it should be possible.
Rich expats are pretty much by definition not "immigrants", they're usually visiting for a few years with a fat "expat package" courtesy of the company. But these are increasingly a dying breed, and most expats are neither fat cat expats nor dirt-poor refugees, but somewhere in the middle.

Also, much of the calculator asks for things like a liter of gas or a bottle of Coke, whose price is not going change radically no matter where you shop.
As an engineer just graduating from a good french school, I identified a lot with the messages here.

Very good ideas, very clearly explained, thanks to the author.
Tienda de muebles baratos Online
Cheap furniture store Total Savings offers a wide range of cheap furniture in his store, offers up to 70% discount, complete floors, the king of good furniture to super price boom.
One thing I hate about Android phones these days are the opt-out sync features. All my data is synced to a magical location, and once synced they can never be erased. If you make a single mistake, then all your data has been essentially stolen.

For example, I created a 'Samsung account' to try out the heart rate monitor on S5. I didn't know that if I create an account like that, the phone instantly uploads (syncs) my pictures, contacts etc. to a server somewhere. Sure, maybe that was mentioned in the long EULAs, but it's not practical to read through all the EULAs everytime I crete an account.

In addition, the 'Samsung account sync' app was installed on default, so I didn't even get to accept the app (or even read what access rights it had).
This video is a good source: http://www.space.com/23199-indias-first-mars-mission-prepare...
Problem 11 refers to numbers marked in red. Also problems 81 to 83 and 101. Unfortunately this does not translate well to UTF-8 text. Luckily the problems can be solved without this.
I'm reading that while doing my daily Java code and I stumble on this error :

Bound mismatch: The generic method immutableEnumSet(Iterable<E>) of type Sets is not applicable for the arguments (Integer). The inferred type Integer is not a valid substitute for the bounded parameter <E extends Enum<E>>

Sorry for advanced type systems but I really want to go back hacking Go code :)
IBeacon technology OS support: Android vs. iOS
Downtown Denver resident here. I have to attest that the light-rail has been a tremendous win for Denver and surrounding area residents. Along with the bus system, Uber, and Car2Go, I started using light rail last December and never looked back. Even though there are hopeful plans to expand commuter rail to Boulder, I still think the FastTrack Program is a good decision. Boulder's been a stiffed by the new development but I can't imagine no commuter rail being implemented sooner than later.
Seized Silk Road Bitcoin hoard sold in US
Sounds great. It's good to know that this is planned to become the default in Scala 2.12.[1]

[1] http://scala-lang.org/news/2.12-roadmap
I've got to disagree with the 90% figure. The vast majority of projects I've seen (which are typically pretty straightforward from a data modeling perspective) rely only on the ORM.
Today, ISRO's PSLV[1] launched five international satellites into their sun-synchronous orbits - SPOT-7 from France, AISAT from Germany, NLS 7.1 and 7.2 from Canada, and VELOX-1 from Singapore[2]. This was PSLV's 25th successive successful mission.

Here's complete launch video if anyone's interested: http://www.youtube.com/watch?v=UR5S5nNbd4U (00:45:00 onwards)

This was 114th space mission of ISRO. Here's a complete list of ISRO missions till date: http://www.isro.org/publications/pdf/114%20missions%20Brochu...

Next up, I am waiting for GSLV Mk3 X1 mission in July, in which they're going to test new GSLV Mk3 heavy lifter[3] launch vehicle and a Crew Module[4].

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

[2]http://www.isro.org/pslv-c23/pdf/pslv-c23-brochure.pdf

[3]http://en.wikipedia.org/wiki/Geosynchronous_Satellite_Launch...

[4]http://en.wikipedia.org/wiki/ISRO_Orbital_Vehicle
I can't provide evidence of lack of heat and chemical based sterilization treatment post assembly of spacecraft but see my updated post for sources on lack of clean room procedures DURING assembly - particularly the video at http://www.space.com/23199-indias-first-mars-mission-prepare... which shows assembly conditions very clearly
The median house price is not affordable for the median worker. As you say, though, characterizing someone who can afford the mortgage on a $157K house as in the top 10% is way off.

That was the lowest priced house available though, so who knows what proportion of the community those homes constitute.
I see Java 8 more as an even better gateway drug to Scala than Java 6, so I expect adoption to accelerate. (Then again, I'm biased.)

Java-8-the-language is a pretty timid comeback. Functional programming is not just about lightweight syntax for function literals and some more type inference for polymorphic method calls. That's just the start.

An FP language should also:

* encourage immutability;

* make it easy to write and refactor code that uses combinators (generic higher-order methods) --> local type inference is essential (IDE support for type inference doesn't help, unless other refactorings automatically update the synthetic type annotations)

* encapsulating logic in functions rather than using dynamic dispatch (where it makes sense), naturally leads to pattern matching.

Also, Scala has great support for asynchronous/event-driven/reactive programming through extensible for-comprehensions, and the macro-based scala-async framework.

Then there's the OO side: interfaces with default methods are much more limited than traits,...

I'm very excited about the VM improvements and the potential of more functional libraries in our eco-system, though!

[edited for formatting]
I agree with most of the observations, although I think that 1. and 8. contradict each other a bit.

In my opinion leaving your comfort zone often, so becoming kind of a 'generalist' is a good strategy only if you can learn subjects quite deeply quite quickly, which needs some kind of raw intelligence. Among the successful scientists/engineers only the the extremely intelligent could be successful in relatively different topics in my opinion.
> Capitalist culture is essentially a Darwinian zero-sum game.

No, it isn't. http://en.wikipedia.org/wiki/Zero-sum_game#Economics

http://www.paulgraham.com/wealth.html
>> Sublime Text is a great editor with a much higher learning curve than VIM or Emacs.

I have never used Sublime text but this honestly surprises me.
True, and another key component, which will become even more important once median incomes are taken into account, is public services.

For instance Paris is described to be about as expansive as San Francisco. But in Paris, you have your kids' school and your health insurance for free (well, included into your taxes). Plus, if you studied there, you don't have a student loan to pay back.
I disagree.

Yes, I still see some job postings that list "8+ years with (niche technology or framework)" (I say niche because asking for 8+ years with something like Java or Ruby isn't exclusionary to generalists, it just means you've predominantly focused on a single ecosystem), but far more often I see "X preferred" "Some exposure to X, Y, Z, or similar preferred", etc. You still want to have deep understanding of a few key technologies, sure, but there's risk hitching yourself too closely to a given tech while excluding everything else that's out there.
I agree. I find the two available now very ugly, like some toy watches, and it's the reason I never understood the hype around Pebble, either being just as ugly. Something like Moto 360 looks a lot more like how one of these watches should look like, but I'm sure we could see even better than that in the future.
I definitely learned 1, 3, and 5 while in grad school and I'm a little surprised he didn't. On 1 especially, I will tell people about grad school, "Being smart can only get you IN. Persistence and hard work get you out."

4 is interesting. I was THE stakeholder in my thesis project, being literally the world's leading expert on that very narrow field and being the one who would benefit or suffer the most after its success or failure. Now I'm working in the software industry and I have a lot less autonomy and responsibility.
I am 95% sure the author meant lower learning curve.
Please don't use externally hosted JavaScript libraries
Another metric I'd like to see: "total user-hours wasted onboarding, learning, importing, and exporting data". So many of these follow the same dumb pattern: "Make this tool part of your life! We're the solution! Uhhhh… never mind."
We had an interesting discussion on this topic a while ago, which might interest you: https://news.ycombinator.com/item?id=7558728
It's like some kind of retro RAS Syndrome
Which unused corner of Manhattan do you propose building on?
Cool Code, Bro:  Brogrammers, Geek Anxiety, and the New Tech Elite
I have to counter some of the comments regarding buses and light rail being empty. This is completely untrue. People are using the light rail and buses in large sums. It has its off peaks but certainly before and after working hours is extremely busy. Most people who say their empty are likely the same folks not using public transportation. I had the same consensus before trying out RTD.
So, the implementation was "conservative", but on a very different level.

Sorry, could not resist.
While I haven't read this just-launched short book, I posted it because the Kindle version's free until Wednesday.
Maybe people are just too romantic and nostalgic to realize their wildest dreams with holo decks, telepresence, brain implants and let AIs decide on their well being. Maybe instead of spawning self-replicating robots for space exploration they want to do it physically themselves like their ancestors explored the continents a long time ago.
Baby Boomers' parents generally didn't die in weird corporate towns - why would their children or grandchildren necessarily follow them? Although, if I squint when I look at planned corporate communities, they do somewhat look like an extended iOS. This may be the future:)
my favourite: "egregious" meant "outstandingly good" (which it still does in languages other then english), and now means "very bad".
I'd like to know the hardware cost and number of man-hours put into each mission. Labor is a large part of a creating and operating a spacecraft, so comparing man-hours eliminates the differences you might find due to the expected rate of the engineers in each country.

I should also note that when I say "hardware cost", I'm also including a break-down for each sub-contractor (and sub-sub, sub-sub-sub, etc) since you can't really say you bought a large component from one vendor so that's the hardware cost of that component. This criteria makes it pretty hard to every know the actual hardware cost versus engineering/manufacturing hours.
There are probably several "more detailed explanation" not just one. Although OPs article was a nice one. I have miserably failed at finding my personal favorite article using Google, may have been pre-internet or dead tree only (anthology book essay topic?)

Anyway the one I'm looking for had an extremely detailed "shopping list" of everything ever mentioned in cannon trek series as of that time, and how much it cost in credits, and I don't remember the exact spec but one credit seemed quite reasonable around one megawatt-hour, plus or minus a lot of star trek technology scaling.

It also had a lot of commentary about ratios between products and capital goods and stuff like that.

The kind of "cash" flow Quark had in credits seemed somewhat reasonable to run his vegas style establishment, plus or minus replicator charges especially for food.

The essay did discuss how the economic system didn't seem to work numerically in general unless replicators squirted out free food on demand, or at least gave everyone a fixed caloric diet as a baseline and more credits for slightly fancier synthesis.

So federation people technically didn't have money, as in tokens minted by a central bank to maximize wealth of the elite and obtain a semi-stable inflation rate at a cost of greatly increased economic cycle volatility. But they did have money in that they bartered megawatt-hours of energy (presumably electricity) but called them credits.

If it helps anyone remember, the essay explained they called them credits instead of MWH or whatever because the exact amount of MWH was based on some tiny SI prefix of antimatter in a 100% efficient reactor (thermal, I guess) gives off about 1 MWH of total (heat) energy. However, again, there is no such thing even in star trek world as a 100% efficient reactor and not everyone needs raw heat (although its handy) so they bartered energy as in megawatt-hours delivered.

In practice, any way to generate electricity, a reactor or a solar array or whatever, was a private mint.

This also explained some economics of star ship life, the ship itself actually generated "pay" for the crew right out of the reactor.

There was also some discussion in the essay about cross species, based on very limited evidence the Ferengi were fairly poverty stricken when comparing the average federation officer vs the average Ferengi when you analyze the somewhat theoretical accouting.

The essay did gloss over the Klingons... other than fealty labor I have no idea how they handled their economy and the essay I'm thinking of had no idea either.
I'm just starting with Scala and I find the IntelliJ Scala plugin immensely non-intuitive (and I'm a big JetBrains fan normally).

Why do I have three different, apparently non-equivalent ways to create a new project (Java->Scala, SBT, Scala Module)?

The tooling and documentation seems to assume familiarity with the Java ecosystem. I'm not a Java developer (nor do I want to be), I'm a Python guy. Am I really expected to learn Java first just so I can learn Scala?
Star trek's economics make no sense at all and never have, unfortunately. It's clear that money is used outside the federation which means the federation needs it to interoperate. There's also clearly private ownership (they buy Kirk antique spectacles).

It's not clear that the Federation president is elected. Has there ever been any discussion of federation politics ever? Even on an aircraft carrier someone would mention an election.

Trying to infer post-scarcity economics from an internally inconsistent bunch of TV shows and movies where it's pretty clear there was never much thought given to the matter seems like a waste of time. I lost interest in the article when it tried to do this, Iain Banks's Culture which is much more clear about its economics still doesn't answer basic issues such as "why can't anyone have x?" Or "what if two people want the same x?"
The problem of course is that it's unclear when it will burst.

Take Vancouver, Canada real-estate market, for example. It's the closest Canadian city to Hong-Kong / China, it's friendly to foreigners buying properties and it has a sizable Chinese population that can act as a proxy if needed. The house prices were inflating from late 90s. In mid '00s it became a common understanding that there's a bubble. A modest 500 sqft flat in downtown Vancouver was going for close to 500K and proper houses in decent areas were in 2-3 million range. Our place appreciated over 100% in a matter of 4 years. Tons of apartments in downtown and new condo developments sat empty, which was especially easy to tell at night. But the bubble wasn't bursting. Nor was it deflating. Moreover, tour buses driving mainland Chinese suits around open houses on their 2-3 day "buy all!" flash visits transformed from a one-off exotic thing to the routine. Local government doesn't do a shit about this. They are happy as this feeds the construction industry, creates jobs and they also get to tax all these new developments. Their hand is stuck in a cookie jar. In the end all these buildings are just a way to park the foreign money and so the Vancouver housing bubble is tied directly to the state of Chinese economy. The only way for it to subside is for China to have an economic crisis.

It is a greater fool situation indeed, but regrettably it unfolds at a state level.
Just this past week, the German government announced they would be canceling a contract with Verizon, as a result of the revelations of spying[0].

[0] https://news.ycombinator.com/item?id=7951900
MySQL Bugs: #1341: InnoDB ibdata1 never shrinks after data is removed
That's a non sequitur. A society advances on numerous axis, but doesn't necessarily advance at the same time. Society can be immoral and enough scientifically advanced to have such machines. I'm pretty sure Romulans in that universe had replicators and they were known for their black ops division.
Just to be clear; your assertion is that no human being make a reasonable or educated guess about their behaviour in a situation that is unfamiliar?

That is your assertion?...because it is nonsense if it is. As humans we make effective, educated guesses about unfamiliar scenarios all of the time.

I also don't physically need to be charged with wire fraud to know that I would not take my own life over it leaving behind my children. Children, if convicted today, I would be able to see again before Christmas.

However - if you want to get [really] meta over the subject then your logic defeats itself.

Unless you have actually been me how can you know that I am not completely accurate in my assessment of myself?

Your stated position has rendered you unable to disagree with me. Since you are not me.
My internet's unlimited. Not all Americans buy from nasty cable companies.
CoreOS: CoreUpdate
CoreOS: Managed Linux
These are the UK minimum wage rates: https://www.gov.uk/national-minimum-wage-rates

21 and over: £6.31
18 to 20: £5.03
Under 18: £3.72
Apprentice*: £2.68

* This rate is for apprentices aged 16 to 18 and those aged 19 or over who are in their first year. All other apprentices are entitled to the National Minimum Wage for their age.

6.31 * 40 * 52 = £13,124.80 per year - for over 20s.
5.03 * 40 * 52 = £10,462.40 per year - for 18 to 20 year olds.
3.72 * 40 * 52 = £7,737.60 per year - for under 18 year olds.

I have no idea when tax credits or income support or housing benefit kick in. But if you're getting less than this you should probably speak to an advisor somewhere to make sure you're getting everything that you're entitled to.
Why not call it Scala 3, since it's a rather big change?
Go is absolutely fantastic at pragmatic, practical concurrency. In most real-world cases, that does not include a strong immutability base, for instance.

Here's the thing about the "Go sucks because Haskell is the best language ever" retort: Haskell has been around for decades longer than Go. It has made essentially zero impact, and even for the case of many of those who use it as the "my big brother" comparison against Go, it isn't a viable part of their daily toolset.

It's a theoretical solution that just makes for a nice checklist comparison against Go. You know this is true. We all know this is true. And everyone goes back to Java or C# or whatever else is your daily driver.

Yet people are making Go their daily driver. Solutions are being built, en masse, in Go. People are having great degrees of success with Go.

Isn't that weird? Might it be that Go adds primitives in a way that makes them usable and intuitive, without becoming strictly theoretical?

So people can keep posting these "Haskell, which I don't actually use in any credible way, is way better" articles, but they simply miss the point. They really do.
How two Polish gamers created a global blockbuster
Yes, will be interesting to see how Android will support distribution of drivers to customers for modular hardware components.