skysight-inc/HackerNews huggingface dataset:
> How native is react native? Does it use the platform's look and feel

No. If you want native look-and-feel, you'll need to download and install third party libraries, e.g. for Material Design. However, those third party libraries are implemented in 100% JavaScript and do not utilise the native Android components (rather just rebasing off MDL [1]), which will just end up making your app "feel like a clunky web browser", particularly when debugging or rendering lots of those components to screen.

[1] https://getmdl.io/started/
KeepassXC – A cross-platform community fork of KeepassX
That's only correct for elective treatments. Have something life-threatening? Go to the ER and you will be treated. And then everyone else will pay for it indirectly through increased costs.
It matters less what the ratio of bad actors to population is, and more what the ratio of bad actors to legitimate orders is. In the examples I mentioned above, they were seeing hundreds, perhaps thousands of bad orders without seeing any genuine ones. From countries with known issues of trafficking stolen goods.

The truly genuine customers can contact the company directly and deal with them directly, rather than buying through a site.

When your per-capita GDP is a few dollars a day, the odds that the order for a multi-thousand-dollar consumer electronics item is genuine gets awfully close to zero.

You call it discrimination against an entire country, I call it a sensible policy for a seller to enact. If you'd like to volunteer to police these fraudulent purchases, I'm sure they'd appreciate the help, but when you have an entire department that spends most of its time dealing with orders from two countries, orders which almost always turn out to be fraud, the most sensible way forward becomes nearly self-evident.

As others have mentioned, you seem to draw no distinction between constraints on governments, justice systems, and private policy determined by individuals and companies. I think until you stop confusing the two concepts (and the vocabulary thereof), you'll have a difficult time persuading anyone to come around to your thinking. (To say nothing of forming a coherent ethical argument for why you think this is some great injustice and what possible solutions might be.)
why is this a matter for the DHS?

The DHS was created by aggregating 22 existing agencies. Those agencies are still responsible for their traditional functions.

The US Customs and Border Inspections is one such agency, it enforces laws against counterfeit goods and violations of US companies intellectual property rights.
>Edit: Trumps comments about the judge were overt racism.

How were those comments any different than the comments about the white male judge in the Stanford swimmer sexual assault case? Or how about comments regarding the racial makeup of a jury? The fact is that humans do bring personal biases into the legal system. It doesn't seem like the political press is holding everyone to the same standards.
The pics on nytimes show far less people compared to this picture.
Of course I'm talking about catastrophic coverage: that's when you need insurance the most! (And the worst possible time for them to say "sorry, you're too expensive to treat, so you're on your own now.")

Besides, what good is a plan that will pay $ to treat a broken bone but refuses to pay $$$$$$ to treat leukemia?

> Your claim that "you could reject everyone" pre-ACA is completely false. In fact, insurance companies were required to carry a certain percentage of high liability customers. It varied from state to state, though.

What? Tell that to the millions of people that couldn't get coverage pre-ACA due to pre-existing conditions.

> Finally it's also worth mentioning that even for people with no coverage whatsoever, hospitals were (and are) required to care for them. If you stumble into the ER with any condition, they are required to provide care, or at least transport you quickly to a place that can.

Are you suggesting you can go into a emergency room with a non-emergency condition and they're legally obligated to treat you? Can you cite a source for this?
It would be really nice if I didn't have to fill out a form to see a demo-- having used Scuba I'd love to advocate for Interana at my current company, but it keeps getting pushed down my TODO list because of the extra friction
Rent versus Buy Calculator
Median phone is Android for first time
Republicans largely didn't want to deal with any option the (2009) Democrats came up with.

No Republican was even allowed to read the final bill before the vote. Do be fair.
What other sorts of innovations do ISPs have to offer? Admittedly I'm a curmudgeon, but all I want is decent service at a fair price...
The recent movie 'Paterson' is perhaps an interesting illustration of a character who is apparently content in an unskilled job. The title character is a bus driver whose passion is for poetry which he writes during breaks, partly inspired by the people he sees while driving around (so perhaps the job is somewhat aligned with his passion, there). Also blessed with an extremely stable home life, Paterson radiates a zen-like modesty, acceptance and contentment.

Of course it's just a movie, but then Bukowski was a poet whose works are 'just' books (and movies) themselves. Not disagreeing with you - I would hate to feel stuck in an unskilled job also - just throwing this out because I think it's interesting.
I agree with you in the sense that if a known and reliable way to map knowledge and information from one domain to another (e.g. from desired trajectory + perceived current position to steering inputs), I'd much prefer that than black box ish neural nets. Neural nets aren't meant to be the silver bullet.

But in this case though, any kind of state space control also requires rather precise knowledge of the physical laws that govern the dynamics of the vehicles. When such information is not available, can neural nets do a decent job at mimicking an analytical control algorithm? I think that's an interesting problem worth exploring.
HN side job: programmer for Wikimedia site
I have this wikimedia site that needs brought to current standards while moving current content over, and killing any present malware.

~100-150 hour of work paid at $13 per hour (student wages). Need to have security in please at the end to waed off most crackers.

Contact me with background on using Wikimedia.
Iridium Browser – A Chromium-based browser focused on privacy
I saw a 911R the other day, but only because his wife was following him in a Ferrari. I had to google the 911R to find the cost. It did sound awesome.
Is it CNC or do you do this by hand? I've always thought those things were cool but I'll never in my life be able to afford one because of all of the ansilary safety gear you need. I'm assuming you need serious HVAC, power, optics gear, and know how.

Good for you man, keep making cool stuff.
Justice Democrats – Platform
> Go doesn't have single binary deployments either. You need a separate binary for every target platform.

You're confusing static compilation and portability. Static compilation produces a single binary artifact that can run on the platform for which it was compiled. This doesn't imply that it will run on every (or even any) other platforms--in fact, it's not possible for a single binary to run on every platform.
I'm glad someone actually wrote up their migration. Even with some weird elements ("missing" guide?) it still contains good links and may be useful for others. Hope to see more of those, as opposed to the usual FUD and ideological arguing about py3.
Except the second half of the data is the flipped of the first half (X = np.concatenate([X, X_flipped]))
The recently rebuilt (2010) Taum Sauk reservoir only manages a 70% efficiency according to Wikipedia. I'm not seeing a number published for the Powerpack but I'd guess a 90% ballpark.
You do realize that the deeper the effective stacks are the harder the game is to solve? It is far easier to approach GTO the closer we get to push fold games, and thus your suggestion is akin to acknowledging that they have landed on the moon, but how about they climb this tree over here. If your username suggests you are who you are, this is a bit bizarre to me that an apparently intelligent engineering manager who has played poker before can be so woefully misinformed. If you want to learn more I suggest posting your thoughts on 2+2, they will gladly explain why your thesis makes no sense.
Why Varnish is great-VCL shifts tradit declarative mindset to imperative state
There is a cost to the existing world order. Right now it costs on average over $40,000 a year to put someone in jail in America -- for breaking the social contract. It seems fair to me that the rich, in return for being the few who own so much, pay for someone to live and not die in the streets if they do not want to work (a pittance).

We have the resources as a society, so scarcity is not a compelling retort. Secondly, the resources are being used anyway (welfare, prison, police), arguably inefficiently and can be done without needless suffering and waste of human potential.

If the owner class is going to close access to resources we need to live, it is the right of the worker class to break the social order. Your assertion that people who recognize this hierarchy of power as "childish" seems unfair. And the real reason why basic income is untenable for the rich is that it gives too much negotiating power to those who work for a living, because they would not die in the streets if they were to opt out. That reality greatly undermines any notion of freedom in the economic sense. Time is money and it seems the rich get to take both from the poor with impunity.

edit since I can't reply: Did you read my comment? Somehow you are under the strange perception that the rich people, who own literally almost everything are at the worse end of the deal wrt to subsidizing sustenance living for the poor. To answer your question: anyone can grow the food, but no one will be forced to.

Does it occur to you that the owners are actually doing nothing (if they choose) while everyone else grows THEIR food and provides an endless list of goods and services? I see you don't have a problem with this system, which is strange since you are so insistent that everyone must work for their food.
I have a couple of questions for clarification:

1. When you say "thousands of inserts/updates per second" do you mean thousands of both? Or just thousands of inserts and maybe a smaller number of updates? It makes a difference because updates require finding the record first, and some data stores (like Hadoop) are basically write-only.

2. Are these "aggregations" going to be run on whole database tables at once (like the top score of each game), or on small chunks of them (like an individual player's scores)? For small chunks, strategies like indexing that speed up queries are essential, but for big batch processes, the MapReduce algorithm is the way to go.

I'm going to give my two cents based on a couple of alternative scenarios. In the first scenario, you're capturing gamers' scores/achievements/whatever and it's really only inserts, no updates or deletes except to correct errors. In that case you might go with a basic star schema implemented in a relational database, or something like BigTable if you need it faster. Read the Kimball book (The Data Warehouse Toolkit) if you don't know the model. Basically it's optimized for aggregation -- sums/averages/counts sliced and diced and pivoted any way you want to see them. At the middle of the star schema is a big "fact" table that basically records all events/transactions in a write-once-then-read-only manner.

In the second scenario, you're storing gamers' saved games or something, and really need to do updates and deletes as well as inserts. Yet you want to run aggregations on data at the level of individual gamers and on individual games. In this case I think I'd use some NoSQL database with very fast access and redundancy, based on Amazon's Dynamo. Riak is based on that model. I can't remember if Cassandra is. You could have two "tables", one for players and one for games, and each data point would be inserted twice. So you could get all the data for a game with one quick hash lookup, or all the data for a player, and then run your aggregation at that level of detail. Really big system-wide analyses could run on the whole database using MapReduce (you mentioned Spark, that'd do it).
Varnish on live streaming, viral video and the Super Bowl
While those are interesting comparisons, keep in mind pumped storage has other negatives that make it less appropriate for some needs (besides the fact that pumped storage has a larger ecological impact).

Batteries can be installed much faster: it's been 4 months since the announcement of Tesla's selection making it ~ 24 times faster to implement than that pumped storage station.

Because they don't have to rely on natural features and since they're smaller so they can be scattered more, they can be placed nearer to the population they serve or their power sources.
Cross Channel: Strong IoT Sales and Bigger Cloud Focus Needed
>What happened in this case, as I understand it, was the Democrats in the Senate took a bill that had already passed, a bill addressing some other matter entirely, and rewrote it completely while maintaining it was the "negotiated third version" above, i.e. it was a reconciliation of the bill that had been discarded.

That's not what the text around your quote says. In fact reading it in full context implies that nobody got tricked. First the senate broke the filibuster and passed the act. Then the house, realizing that breaking another filibuster was unlikely, decided to pass a version that was compatible with the senate version and only needed budget reconciliation. Then it passed without the ability to filibuster and became a law.

I don't see where a bill addressing something different comes into the picture. I don't see any deception. Am I missing something?
I wonder how long before we start requesting visitors to this country begin wearing tracking devices.
Thus frustrates me very much. As someone who has too many things they want to do to possibly fit them all in, I can't even imagine the thought of wanting to go back to 9 - 5 just to kill time. I could name twenty things off the top of my head I'd do if I was you.

Working 9 - 5 is a sad necessity so I can pay for rent, bills, my car to drive to my 9 - 5, my dentist, etc. And I have to give up on my dreams because of it. Please please use your time wisely.
I think it's hard, yes. But I also think forever is a long time. ;)

You certainly can't get there by taking an existing aircraft, removing the fuel and replacing it with batteries. It's the same fallacy as the gasoline automakers make with electric cars, and it results in a worse vehicle design. The whole system has to be re-imagined from the ground up to exploit the advantages of electric propulsion.

Several of the design concepts for his proposed supersonic VTOL electric transcontinental commercial jet airplane have already been revealed:

* The plane would fly at high altitude, somewhere around 80,000 ft. Combustion airplanes have a 30-40,000 ft ceiling limited by the need to ingest oxygen. Due to the exponential decay of density with height this dramatically reduces drag, thereby reducing engine power and structural stress. Coincidentally this is also higher than almost all bad weather.

* VTOL is easier since electric motors have a better power:weight ratio than turbine engines. This eliminates constraints due to runway length and width, and means the wing can be more closely optimized for cruising. It also means smaller airports are possible, reducing gate fees.

* The wings also don't need to double as liquid fuel tanks, and don't need to handle different stresses when empty vs full.

* A high mass fraction of batteries compared to combustion aircraft (mid to high 70% range). Energy density at least 400 Wh/kg (which as you point out, is still much lower than kerosene).

* Eliminating the tail section in favor of gimbaling the electric fan, again reducing drag and weight.

* You also get about a 1% drop in weight compared to existing jets due to reduced gravity and centrifugal force.

A good video compilation of quotes is https://www.youtube.com/watch?v=erjdYiwoYAo
>> if you're a novice, how do you really know what you did right?

Enable comments or post to Reddit. If you're wrong there are content editors roaming the web who are alarmingly well informed and fast, and free of charge.
Oh man, I watched Waiting for Godot on Youtube, and it was tough to get through.
Toyota's Gill Pratt on Self-Driving Cars and the Reality of Full Autonomy
Oh yeah, when I talked to the agency that owns the 7074 (more on this in a second) they were like "You can't do this because we will get hacked"

"How are you going to get hacked if I talk about your mainframe? It's not connected to the public internet, is it?"

"No. Well... we don't know... but ... hackers! Hackers are really smart Marianne."

Part of the compromise was that I promised I would only use information that was already available publicly through government reports and news articles. I went back through my talk and documented where each fact was already published somewhere else until they were comfortable with it. So the ambiguity on whether the 7074 was the actual machine or an emulator was deliberate... there were certain things I could not find a public comment on and therefore agreed to avoid making direct statements about.

This all seems super annoying, but it makes sense when you realize how heavily scrutinized public servants are. In the end they are only trying to protect me, my organization and Obama's legacy. Three things that are really important to me. So I can't exactly blame them for it. I was happy to be able to find a middle ground where they felt comfortable, the organizers weren't too badly inconvenienced and I got to give the talk I wanted to.
> The only somewhat problematic code was this:

for line in iter( handle.stdout.readline, '' ):
self.output.put( ( handle, line ) )

> This no longer terminated an emitted lots of odd values (one number repeatedly). It turns out it returns an empty b'' now when empty, as opposed to a ''. This could have been avoided had this API sensibly returned None instead of an empty string.

For any observers, this is much more idiomatically written:

for line in handle.stdout:
self.output.put((handle, line))

That is, the default iteration over a file-like object is line by line. Frankly, I wonder how many Python programmers are aware that iter() has a two-arg form; this is the first time I've ever seen it used (and I had to look it up myself).

> [PyPI]

His solution of maintaining separate code bases is … unusual. I feel like a cursory glance around the library landscape shows that most of the projects out there are maintaining a single codebase that supports 2.7+. six greatly simplifies most of this. I'm not aware of any projects that are supporting Python 2 and 3 concurrently by separating out their code completely.

> I presumed that I’d just open a “Migration from Python 2 to 3 Guide” and follow the instructions. Alas, there is no such guide. There appears to be no central resource whatsoever on the porting of code from version 2 to version 3.

An I'm Feeling Lucky search on that exact quote pulls up the migration guide in Python's official documentation.[1]

[1]: https://docs.python.org/3/howto/pyporting.html
Well, in Sweeden you can't go out and enjoy your country in Winter, it is just so cold and dark to do anything but stay indoors, read a book,play and instrument, play computers...all artificial things, specially after working in front of a computer for hours.

This will make you go out of balance or you will burn out.

My advice is for you to take a month or so and travel in Winter to other countries if you are young. Go to Argentina, it is now summer there, or Indonesia, or Morocco.

Making apps means you are free to travel and even continue working. Your money is worth 20x more or so in Argentina than Sweden.

Usually you could stay out of your country 6 months or so without fiscal problems. If you try it odds are you won't believe how you could live without it, but start small taking one month out at first.

I did it myself because I also started creating software. Now traveling the world is routine and for me staying in places like Boston, Chicago or Sweden in winter does not make lots of sense.
Pull the other one, it exists with probability 10^-22.
Their website is SFYIMBY.org. I work for another organization that does similar work called the San Francisco Housing Action Coalition.

There are plenty of pro-housing organizers in San Francisco if you're willing to get plugged in and volunteer.
A good reason why the TV/cable rating comparisons with previous inaugurations are useless
You do get them in hangouts (on the handset and in gmail on the web). I do get why you might want them via vanilla email, though.
I think you misspelled "cannabis" ;)
Judge Blocks Aetna’s $37B Deal for Humana
I live in Austin (central, Hyde Park area) and walk, bike, or bus everywhere.
Call on congress to introduce meaningful patent reforms
Learn an instrument or craft?
Nope. We went to the cops but they said they wouldn't even spend time investigating unless she was taken for 100 K or more. Given that information we figured it was moot. Too bad the exporters could not be fou too bad the exporters could not be exposed. Fn shame
Trump White House Vows to Stop China Taking South China Sea Islands
Important principles may, and must, be inflexible.
-- Abraham Lincoln

Government should be based on principles...
Trump's new FCC Chairman
Great, right as Google Fi is adopting zero features.
Meta: We're like zombo.com, but for research.
How to create your own URL scheme
+1. What's more, you can choose advertisers according to the size of their ads. And if you are big enough, you can ask them to modify them.
All very good points. I do feel that part of the problem is attitudinal - I am from Europe and have been to psychiatrists in 2 countries with public health systems as well as privately here (where I paid out of pocket without even asking for a discount).

Of course psychiatrists have a difficult job - there isn't a simple blood test for many mental conditions, for example, so starting out by compiling checklists is almost unavoidable. But none of the psychiatrists whose care I've ever been under (8 or 9 I think) has ever done so much as a blood draw or discussed even the possibility of doing a brain scan, or well, anything.

At best I've gotten confirmation for the research I did on the internet or in the library, and while I'm sure it's very annoying to have patients with no medical degree coming in and asking half-baked questions about this or that study, I don't feel very sympathetic considering that it's really the psychiatrist's job to apprise the patient of those options, or at least to take the patients' reports and suggestions seriously and work wit the information available.

While I'm (obviously) pissed off about all this, at the same time I consider myself very lucky - I live in the age of the internet and despite having a lot of mental problems I'm also smart and discriminating so at least I'm able to exert some influence over my own treatment. Most people with mental illness enjoy no such advantages. My best friend suffered a psychotic break about a year ago and was institutionalized for most of a month, right here in the Bay Area. Conditions were better than a jail, but not much. I was especially struck by the dire low quality of the food; how can you expect people to get better when their nutrition is such an obviously low priority?

I'm going to shut up now - as you can see I have a vested interest in this topic and the inequities anger me so much that it doesn't make for good conversation. Apologies to my fellow HNers who may have found this difficult to read.