skysight-inc/HackerNews huggingface dataset:
Globalization has made the US massively wealthy since the American Revolution. We rely on the ability to sell our goods and services across the world, cut off the world and we get poorer. Look up Smoot Hawley.

These engineers will be working for our foreign competitors if Trump has his way, how is it good for our economy if more apps are sold by foreign firms, that Samsung sells more phones, etc, etc?
That was a great story. A little long but still great.
Some of the code and content was heavily used internally, but we never invested time to properly package it for public consumption.

We also briefly had a closed-source version of RethinkDB that has a few useful features for larger teams: we're excited to be able to merge these back into the project.
IRS Moves to Revoke Passports for Unpaid Taxes
honestly, let's go a step further and make it a general purpose graph editor!

practical purposes abound, sure, but I'd just like to see the intermediate notation that pops out if someone were to attempt to design one. I don't think it'd be like graphviz..
and yet forgets the 1$ trillion student debt? and how costly a university education is in the US, plus doesn't get irony either, he himself is a third generation immigrant. A billionaires who is "anti establishment" who surrounds himself with even more $$ billionaires.
Did anybody get the source code to run? I've been trying to test it out for a long time but never really gotten anywhere. Is there anybody that is good at functional programming that could help me out?

It's surely funny if there can be so many comments and nobody even ran the program.
> That's the point - the government doesn't give you a license for discoveries, only for creative work.

Creative work is a discovery, and this is trivial to see: you can write a program to enumerate all possible English texts, and so discover every possible written work that has, can or will ever be made.

So it's more correct to say that the government gives you a license for certain kinds of discoveries, and the EFF are saying that this sort of work does not belong in the protected category. That's not entirely unreasonable from what I can see.
I think big companies do abuse the system, but I manage a small company and in 30+ years we've used H-1B's 3 times. Each time it was to get someone that we could not find in the US. Yes, we are a small company (~30 people) and in a niche market, but each time, the person we found was 10x better than the nearest candidate. And each time we paid the person as well as we paid US employees.
It is a bizarre twist to claim Jack Ma is somehow threatening US with war over trade frictions. After all the highlight of his trip was to donate $20 million to an Australian university (Newcastle), in return for generous help and friendship he received as a young man over 30 years ago from an Australian family (the Morleys).

"I am very thankful for Australia and the time I spent there in my youth. The culture, the landscape and most importantly its people had a profound impact on my view of the world at that time," Mr Ma said in a statement on Friday.

http://www.theherald.com.au/story/4444710/an-extraordinary-g...

http://www.afr.com/leadership/innovation/alibaba-billionaire...
Gosh yes I'm excited for Red Lang too.
Sorry if this should be obvious but what is/are the killer feature/s of RethinkDB, what differentiates it from something like Redis or even CockroachDB?
Grow | Junior/Intermediate Software Engineer, Java Developer | Vancouver, BC | ONSITE, https://www.poweredbygrow.com/careers/

Grow’s enterprise financial technology is powering a new generation of data-driven banking products and services, including the first Canadian company to launch digital personal loans, instant customer on-boarding and account opening, advanced data analytics, and real-time compliance and identification tools. We are on a mission to save people time, money and stress related to personal finance, using technology and data analytics.

We are looking for Backend Java Developers to join the Engineering team in Vancouver. To find out more go to https://www.poweredbygrow.com/careers/ and in your application mention you saw this post.
At schezzle (https://schezzle.com) we use Spring. If you don't want to go the whole DI IoC path, just use Jersey (JAX-RS) directly. Dropwizard isn't a bad implementation either, but can be a bit verbose. Check out swagger for docs as well.
> Good contributions come anyways (...)

That is hard to say. Some contributors only contribute to GPL projects, since they want that derivative works of their work to stay open-sourced. I think they should have a right to require that.
I still don't think I understand why self-driving cars is nothing more than a publicity stunt for them. I've heard people say it's not working, and the cars they have on the road are for show. But why can it not ever be a functioning part of their business when there are cars that can do this?
It's likely that the mesh network would be combined with the wired network where if you need to contact someone much further away it will seek them out across what we designate today as the Internet. But mesh networks will fill in the local and regional communications role as time goes on. It's an inevitability as we keep utilizing smart phones, tablets, and laptops.
Honest question: is it because they don't happen, or they don't get told? What are some examples?
That sounds similar to the T-Mobile scheme that the FCC had already concluded was permitted.
The real value add here would be an explanation of each piece of legislation. Merely knowing the aye or nay vote isn't very useful without understanding what the resolution is actually doing, and it's usually not obvious to the untrained reader.
The math is still there and it's even easier to calculate!

For example the article states that the house keeps $0.07129 for every dollar spent, or put another way, for every $100 coming in, the machines need to pay out ~$93.

Therefore, you can expect to lose on average $7 for every $100 you spend on slots.
On Decentralization and Network Societies: An Interview with David Orban
Heard of that video. It's about Perl 6's sister language, Perl 5. And the presenter basically did this for shits and giggles. Even the module that supposedly has the exploits he talks about hasn't been recommended to use for over a decade.
because it's a threat to their business ?
People misinterpret each other on the internet often. It's practically the default case. When this happens, it's important not to escalate, because that leads to more escalation, the needle goes into the red, and communication ceases.

A phrase like "lying about what I said" is an escalation. To escalate less, you could speak in terms of misunderstanding and clarification. Similarly, to escalate more, you could say something like "you're a liar". After all, they said something false, which by definition is a lie, and someone who lies is a liar, so you'd simply be stating a fact, yes? And a liar is a bad thing to be, right? So you could add "you're a bad person" too. This is how we get stuck in opposition and flamewars.

On HN, each of us is responsible for not letting that happen, regardless of how mistaken the other person is or how badly they violated the rules themselves. Acting from the feeling of "they started it" or "they did worse" won't work. Everybody always feels like the other person started it and did worse.
Isn't it true that Ukraine has never been an independent state except since the fall of the USSR? In its history? Except for 2 weeks after WWII? It has always been a fertile land, agrarian, impossible to defend due to no natural boundaries, its people of fiercely independent mind, yet, having been rolled over by Poles, Russians, Vikings, Norsman repeatedly and periodically throughout history? That would be the context. I would even go as far as saying that Donbass and Crimea are not to be counted as Ukraine, historically?
> Your employer could easily poach those engineers by calling them up and offering $225k or more, offering housing vouchers, etc.

I'd dispute the "easily" here. IME, it's extremely hard to get senior engineers to relocate -- many of them have families, deep ties to their locations, and are way to accustomed to their way and quality of life to consider moving.
> Population-scale behavioral analytics. Many startups claim to do this but none of them can actually work with relevant data at a scale that would deliver on it despite increasing availability of the necessary data.

Making Asimov's Psychohistory from Foundation a reality!
Seek and destroy: Microrobotic probes test out immune system defenses
I agree with you.

It is things like this one which makes a great engineer. Not only to spend decades coding an earth-shattering algorithm that will take the industry by storm, but also knowing how to save 1.5PB per day with a rather simple (I guess it's not as simple) decision.

HN is supposedly full of business-minded technologists. How are we missing the great impact this had on the business is mind-boggling.

I can't find an explanation for this reaction either.
Was horizon included in the deal ?
You can't get social security unless you pay in for a sufficient number of years
Why? Surely using two multiple languages competently is a fingerprinting characteristic? Unless you manage to use them only in different contexts in different hardware...
The Hard thing About Hard Things, but Ben Horowitz. Before that was The Innovator's Dilemma by Clayton M. Christensen. I've been on a business book kick lately, but currently took a break and am reading Amy Schumer's book for kicks.
The profitability being high it promotes bad engineering "who cares how much it costs, who cares about the electric bill, you can buy a thousand heads of organic lettuce with profits after selling the weed". Then people try to grow lettuce directly instead of using weed as an intermediary and its not nearly as successful therefore the whole idea must suck or something. Although with better engineering, perhaps indoor lettuce growing could be technically and economically successful if the entire marketplace of weed wasn't stacked up against it.

Sort of a bad money pushes out good money scenario. If it weren't for profitable indoor weed farmers, you'd have higher technology level indoor successful lettuce farmers, and eating is more important to the world than getting high.

Its a scalability argument... when used restaurant fryer oil is free, turning it into free biodiesel is a win, until restaurants start selling used oil and making exclusive deals until its cheaper for everyone to burn diesel instead of making biodiesel, at which point the schemes collapse and used oil again becomes worthless trash. You can feed "A" hippie by selling indoor grown weed and buying produce at the store but you can't feed a planet by having everyone grow indoor weed and buy produce (from who?) at the store. Eventually everyone into weed is going to grow their own and the market will collapse until no one can grow indoor weed and the cycle might repeat.
Apps are usually in the order of 40-50 MB. From a back of the hand calculation, the a 50 MB file when compressed with Brotli is 14.5 MB and LZMA is 17.5 MB. The difference of 3 MB translates to an additional 8 seconds of data transfer in a 3.1 Mbps 3G connection (an average one).

This [1] states that a LZMA has a decompression speed of 70 MB/s, which is about 0.7 seconds. The 334 MB/s speed of Brotli does the same in about 0.15 seconds. So the additional overhead of LZMA (compared to Brotli) in decompression is just 0.65 seconds.

Given these orders of magnitudes, I think optimizing for compression ratio is a much better option than decompression speed.

[1] https://cran.r-project.org/web/packages/brotli/vignettes/bro...
Grow | Frontend Developer, React | Vancouver, BC | ONSITE, https://www.poweredbygrow.com/careers/

Grow’s enterprise financial technology is powering a new generation of data-driven banking products and services, including the first Canadian company to launch digital personal loans, instant customer on-boarding and account opening, advanced data analytics, and real-time compliance and identification tools. We are on a mission to save people time, money and stress related to personal finance, using technology and data analytics.

Our tech stack: our front-end stack is based around React, but we are continuously updating it to ensure we are using best-in-class technology. We’re huge proponents of code reviews, continuous integration, extensive testing, and frequent deployments to allow us to respond in real-time.

We are looking for Frontend Developers to join the Engineering team in Vancouver. To find out more go to https://www.poweredbygrow.com/careers/ and in your application mention you saw this post.
Which is a bummer, because a lot of these sites are supported by affiliate links. When you go to your own amazon, you lose the affiliate connection and can't support the site that gave you the information.
This might be a useful read: https://rethinkdb.com/faq/

It explains RethinkDB's ideal use cases, explains how to compare it to other databases, and details some of the differentiating features.
Looks like Cisco did not sign either.
9 of the largest 15 IT companies in the world are US owned[1]

Looks like 5 of them did not sign up (HP, Amazon, IBM, Dell and Cisco) and 4 did (Apple, Microsoft, Alphabet and Intel)

[1] https://en.wikipedia.org/wiki/List_of_the_largest_informatio...
Maybe right away, but at what point do I not care about casinos, and resent my tax money helping them enforce their system? Also right away.

I get that it's "cheating", but I really don't care. Not at all. When predators get preyed upon it's funny. I only wish they were taken for more.

For all this "play responsibly" talk, we know that they survive on those who don't, and the last thing they want is for the addicted to wise up. So I have as much sympathy for them as for street-corner drug dealers and I'm sorry our rules protect them.
12000 convicted criminals at large, about 3000 for sentences > 120 days. Source, dutch: http://justitie.eenvandaag.nl/tv-items/69099/meer_zware_crim...
I bet your hacker excellent skills cannot save 1.5 PB traffic per day.

Your own shitty[0] remark highlights why your post doesn't have much of a point. The reason the impact of this change is worth mentioning at all is because google already wields the centralized control needed to effect change to such a massive volume of internet traffic on it's whims.

Edit: [0] "shitty" is not a quality rating, but my assessment of the attitude embodied in your comment. Not specifically the bit I quoted, but how it fits into your assessment of contribution. You're acting "shitty" by implying the fact "everyone" can't do it is a matter of skill, while knowing full well that access is the more important factor here.
Underrepresented minorities
Don't know what PRNG they use, but for the Mersenne Twister (MT19937, which was considered state of the art the beginning of this millennium) for example you can deduce the state after 600 or so observations (of 32 bit words), and then predict what it'll deliver after that. See [1] for details and some good background on PRNG, if possibly a bit biased (she's promoting her PCG family).

For gambling purposes, probably makes sense to use cryptographically secure PRNG :-)

[1] http://www.pcg-random.org/predictability.html
imho this is the definitive guide to eastern vs western philosophy: https://youtu.be/0N_RO-jL-90
In fact, this was not posted to the main Google blog, but rather a special "student" blog that's obviously designed for recruiting interns. Had I seen this post when I was going to school, I certainly would have seriously considered a Google internship.

So bravo, Anamaria, for completing important work for Google, and bravo, Google, for highlighting her work in an appropriate place. Not every good work needs to be earth shattering.
How to Start a Startup at MIT
IBM has been sucking up to the Trump administration, presumably eyeing govt contracts. http://fortune.com/2016/12/20/trump-ibm-ginni-rometty/
I think you're asking the wrong hypothetical: if this were another Google intern who was male, would the article even be discussed here? I think if people weren't impressed they'd ignore it (as they do so many other blog posts), not criticize it. The decision to debunk versus ignore is not applied evenly.
> True, but the economics of energy/housing/transit indicate that there never will be mass adoption if it's also the more expensive option.

That depends largely on any negative value that's charged against living in an undesirable location, and on the subjective value a person ascribes to living in a desired location. And that subjective value can remain constant, while the cost of energy and transit decrease, and the economic value created by the person increases.

Yes, it would probably be economically more efficient to live in low-cost housing projects within a few minutes walk of the offices of megacorporations. But millions of people (76% of Americans, according to this 2009 survey: http://www.census.gov/prod/2011pubs/acs-15.pdf) choose to drive an single-occupant automobile to work, averaging a 25-minute commute each way. And few would give up their acre of land and private home to live in an apartment closer to work.

If you could take a high-speed helicopter from Monterey to an office in Silicon Valley for $5 and a 15-minute flight, instead of hours of your time, or $500 in helicopter costs, would you really live in on-campus housing because it was more economically efficient? Yes, flying a helicopter for an hour takes a lot of energy: on the order of 1,000 kilowatts per hour. And yes, helicopters are really expensive and niche. But technology is constantly decreasing both the cost of that energy and the difficulty and operating expenses of flying machines.
FWIW, a huge amount of work has been done to docs in the past year. There's even a dead-tree book available now (https://deeptext.media/perl6-at-a-glance/ ), with 3 more slated to release later this year.
It's still a big difference between being banned and ending up in jail. Presumably e.g card counting isn't illegal but simply frowned upon. So you get banned. But at what point does it become a crime? The fact that it's even unclear is a bit scary (but probably intentional)
Or a less evil version of the same: dazzle the investors they already have lest they decide to cut losses before all that tasty runway is burnt to completion.

With all the investment Uber already has (maybe more than their complete target market could ever be worth?) I suspect that they don't really hope for more. Some of their predatory pricing schemes might actually be a panic reaction to not having stopped raising earlier.
I don't have much to add, but as someone who has a lot of projects dependent on RethinkDB and also loves using it:

Thank you to everyone involved!
> The discussion about H1Bs is getting dominated by SV

SV dominates the H1Bs: http://www.myvisajobs.com/Reports/2017-H1B-Visa-Category.asp...
Honestly what needs to happen next is a serious effort to explain why or when rethink is better than mongo, cassandra, arango, aerospike, memsql, mysql, riak, or postgres, ++, not to mention all the TSDBs. On the event pushes I am unconvinced that message queues/computation graphs arent superior and that's another crowded space. When I last looked at it the advantages struck me as mostly incremental on the query language and decremental on performance. There are many excellent competitors in this space, most of which are well funded, and moving targets. Rethink doesn't seem to have a USP, or none that has been effectively communicated at least, IMO.
Similar idea...

https://en.wikipedia.org/wiki/Michael_Larson
Are there some recommended book on
In fact, I think the grocery store has been manipulating their prices down, giving them an unfair advantage. Obviously you should insist that they stop selling such cheap food.

Man, we'll be rich in no time if we keep this up.
The difference was the the men in the study were experiencing those side effects at an order of magnitude higher than men do, plus there was huge increase in suicides.
> trying to address what we can is a better option than throwing up our hands and saying it's a social problem

I totally agree that we shouldn't throw our hands up. However, the consequence is not to do just some stuff just because you know web development, but to think on a larger scale.

It seems like a big trend of our time that no one wants to do politics. With politics I don't mean being a bureaucrat, but to express your opinions and trying to change something on a normative level. Effective Altruism, tackling injustice by consuming "fair" products, social entrepreneurship: All these things seem to be just for soothing our consciences.

What we miss is to actually change something. The current political situation is the product of this individual politicising.
>I did provide it, attempting to kill an industry that is already dying is hardly acting tough on that industry.

Tell that to an unemployed coal miner in West Virginia with 5 kids and no other marketable skills.

And the point that I was making, and that you did not refute, is that the Democrats have done much more than send strongly worded letters.
Progressive Web Apps with EmberJS
It seems that in the end the initial function Post(ReservationRequestDto dto) has to call the tryAcceptComposition which has its dependencies hard coded there. So how exactly this solved the issue?

If you pass the dependencies as parameters in the tryAcceptComposition function, the Post would have to know its dependencies and we would be back to the initial state.

I would like to know the whole example he showed before using this model to see how this scale for more than one function.
> So she used a compression algorithm developed by other googlers?

Yes.

> So what?

So she saved 1.5PB per day - which no other Googler did. Nor you or me. She did.

> Don't get me wrong, I'm sure she did a lot of work for it, but looks like a lot of people would have been able to do that, there is nothing innovative in what she did, right?

If it was that easy, why wasn't done already? Why did she have to come along to do it?

You are confusing easy to implement with easy to come up with the idea. In hindsight it is a no-brainer, but somehow the almighty Google didn't do in years of Play Store.

Go figure, right?

P.S.: Please support your downvotes with a reply.
On the contrary, I have seen projects that change desktop wallpapers get LOTS of praise
How to build a more organic internet (and stand up to corporations)
H1-Bs are not unfair to Americans, even when abused. All this talk about protectionism and fairness is really bizarre to me.

Thought experiment: Imagine if Canada found a cure for cancer but chose to sell it to Canadians only. Would that be fair? Would it be fair to Americans that can't get access to it?

Job protectionism makes some people entitled to jobs based on random circumstances at birth. How can rational people think that _this_ is fair?
US law prohibits discriminating based on national origin except under specific circumstances. https://www.law.cornell.edu/uscode/text/8/1152

(A) Except as specifically provided in paragraph (2) and in sections 1101(a)(27), 1151(b)(2)(A)(i), and 1153 of this title, no person shall receive any preference or priority or be discriminated against in the issuance of an immigrant visa because of the person’s race, sex, nationality, place of birth, or place of residence.
What do you object to in that sentence?
It's amazing how much you pay for UK products in Germany, way way more than the cost of shipping. Of course that particular opportunity will be gone soon, but I'm sure there are other routes.
RethinkDB has passed jepsen testing.

*Fixed typo
My weird and unrelated question is: if I donate software to an open source group like the Linux Foundation, can I write it off my taxes? And if so, how do I assess the value of it? RethinkDB probably has some legitimate market value...can the founders reflect that on their taxes?