skysight-inc/HackerNews huggingface dataset:
Well, I just took a cursory glance at the documentation. Ballerina looks like it would be perfect for a data processing pipeline we run, I thought I could try it out for prototyping a new processing step, and see how I liked it.

This first use-case I could think of involves XML processing. You have "native" xml types. Neat.

After reading the language spec, all the xml examples, and the documentation for the 'xml' and 'xmlutils' module, I have no idea how to read in a xml file and get an 'xml' value from it. I also don't know how to extract a record type from some XML, except by writing a manual mapper from the DOM node to the record.

The actual methods available on the 'xml' type seems kind of unfamiliar, even after working with XML in a lot of different languages. 'getName' and 'getElementName' seems to do the same thing for elements. For some reason. To determine the type of a node, you call 'getItemType'. But 'getItemType' does not document what happens with CDATA sections, document elements or document type elements. Why re-invent the wheel? what's wrong with getNodeName and getNodeType?

The 'slice' method is really weird. It expects numeric child indexes. I mean, you sometimes know the document order of the stuff you're working with, but that's not really XML-ish.

It looks like there's a lot of amazing work put into Ballerina, but I don't think I'll use it for this prototype.
HN discussion https://news.ycombinator.com/item?id=20916809
This article is from July, would appreciate a title tag.
To achieve your goal, you will need to change the very fundamental fabric of humanity and the reality of resource scarcity. Here are some examples that can lead to war: economic gain,territorial gain, religion, nationalism, revenge, civil strife, defensive. Below are a few expressions of what it can look like:

* Actor A burned your crops -> Do nothing (appeasement)

* Actor B disrupted your servers causing economic losses -> Do nothing (appeasement)

* Actor C stole your technology and sold it to everyone by a fraction of your price -> Do nothing (appeasement)

* Actor D manipulated a group within your nation to cause internal conflict -> Do nothing (appeasement)

* Actor E invaded your land and claimed as their -> Do nothing (appeasement)

* Actor F used their position of power to gain concessions from you -> Do nothing (appeasement)

* Actor G defamed you, leading to society admonishing you and potentially imprisonment -> Do nothing (appeasement)

Each Actor can be seen as both individuals or nations that are in existence today. Every one has their own set of interests and rationale for acting in certain ways.
Individual government on-site “contractors” are almost entirely W-2 employees of firms that are contracted by government. That's often, though perhaps not as consistently true, of BigCorp onsite contractors, as well.

There will be no impact to those at all.
>MAD doesn't really work anymore because of the advent of hypersonic cruise missiles and the likes of russia's Burevestnik/Skyfall.

I'm not sure that's entirely true. Even if DC gets nuked before it can react, I'm pretty sure there are dead man switch-type systems in place and stuff like submarines equipped with nukes away from home so that even if they whole country was glassed there would be some retaliation. These scenarios probably don't reflect the whole arsenal, so the retaliation wouldn't hit every square inch of the enemy's land, but I would still think that threat is enough to make you not want to start anything.
Because Uber and Lyft drivers are not employees, perverting the law to define them as such will have unintended consequences. Then again, it seems California is the land of unintended consequences.
Yes, I would agree with that.
A quick Google search suggests that this is caused by the django-multiselectfield package, which seems unmaintained (it hasn't been updated for 2 years) and doesn't claim to be compatible with Django 2 or 3.
I haven't tried using them yet but hey do look like they remove a lot of boilerplate code from component. Kind of what redux did to state when we had to manually manage state in components.
My question is, why aren't the folks at the platform companies who do this worried about biting the hand that feeds them? Haven't they seen platforms get pilloried before? Aren't they worried about alienating developers and decreasing the value of the platform?

Or is it the death of a thousand cuts, where each product manager thinks "ah, just this one time won't hurt"?
Shader Deconstruction of Happy Jumping
In "AI Superpowers: China, Silicon Valley, and the New World Order", Kai-Fu Lee (former president of Google China) says many US companies don't give enough resources to their Chinese branch and that's why they fail. The Chinese internet ecosystem being so different than the Western one.

For example, Western users are used to refining their search query and clicking a single link among the results. Whereas Chinese users click most of the links and are used to them opening in different tabs.

However, it took months of convincing to get Google to create a new tab when clicking a link in search results.

https://en.wikipedia.org/wiki/AI_Superpowers
Theorem LLC | Theorem.co | REMOTE | Full-time | Experienced Engineers, Designers and PM

Theorem is Hiring! We work with large enterprise organizations and startups to solve their business challenges by identifying, designing and building innovative software solutions.

Go: http://bit.ly/326EE9v
Ruby: http://bit.ly/2m5jdFa
Near real-time/Distributed Systems : http://bit.ly/2lJd69z

Visit Theorem.co/careers to learn more about our opportunities in UX, Product and Sales

Please email me directly with any questions. I look forward to meeting you. Kristen.Williams@Theorem.co
It seems like anything even remotely threatening the climate change gospel is treated just as the Catholic Church treated heretics centuries ago. AGW has ascended (descended?) into religious territory where even the slightest criticism of the “truth” is treated as blasphemous. It’s like many of the climate alarmists have turned into old school evangelicals that avoid wine and dancing out of fear it’ll rile up the devil. Except in the climate version of this story, wine and dancin’ has become plastic straws and cheeseburgers.

It’s like a more Insta-worthy version of a doomsday cult.

https://u.osu.edu/vanzandt/2019/02/26/its-the-end-of-the-wor...
https://slate.com/technology/2011/05/apocalypse-2011-what-ha...

Literally, global warming activists, including presidential candidate Elizabeth Warren, are saying we have 11 years or less left of Earth, it’s hard to take that hysteria seriously considering it sounds just like every other doomsday cult from the past thousand years. Al Gore told us we should be underwater by now. His predictions too, were about 12 years away. Just far enough away as to be impossible to immediately fact-check but close enough to scare people.

The Zero Hedge article is actually factual, unlike the “we only have 11/12 years“ mantra that has increased in volume. Make no mistake, the climate movement isn’t about temperatures, it’s about redistribution and the control of the means of production.
This is part 2 of a post on "Building a machine reading comprehension system using the latest advances in deep learning for NLP".

It uses HugginFace's BERT PyTorch implementation to do question answering.

Part 1 was submitted here : https://news.ycombinator.com/item?id=20820016
These people are the exception that Uber uses to push its bullshit narrative. We shouldn't be buying in to it.

People need dependable employment to survive and thrive.
As far as controlling and directing the performance of work, that means how they do the work itself. Requiring them to use certain tools, resources, or techniques, for instance.

You can ask them to dust, but can’t order them to dust a certain way. Of course you can make requests - don’t use cleaning product XYZ because I’m allergic, don’t dust the China because it’s too fragile, etc. But I suppose at some point it could be argued that too many such requests cross over into essentially supervising how they dust.

I think you’re right about contracting out for help. If you have employees already, and then you expect another person to join in and operate just as an employee would, why wouldn’t they also be considered an employee? I’m sure there could be some loopholes however.
The new labor bill puts the ABC test, which is currently in case law, into statute.
I don’t think these drivers are independent contractors. These people don’t negotiate prices they charge for their services. How’s that independent if the rates they’re paid are fixed by some other parties?
It just seems like WeWork took an existing business model of renting office space, went all VC and gathered a bunch of money and sky high evaluation (toss in some creepy insider dealing) ... and ... that's it.

I know there were some theories on cornering the market, or getting some sort of huge buy in / contracts with companies hiring remote workers but for the most part there's plenty of office space (at least in my area) and remote work that I see rarely involves the hiring company shelling out extra for expensive office space for remote workers.

I wonder what other folks selling office space in the market think about all this? They seem to operate just fine and financially seem to do so with a lot less risk than WeWork.
> Is a fact that radioactivity kills people. No need to demonstrate it statistically. We have enough empirical evidence.

Actually, no. It is highly unlikely that 100 tons per day (steady state rate) of this water being introduced to the Pacific would make a meaningful difference to anyone.

Bear in mind that mixing 100 tons of water with a single cubic kilometer of water is a dilution factor of 10,000,000x. The ocean contains a LOT more than 1 km^3. ;-)

To educate you a bit about low levels of ionizing radiation (hormesis):

>> In a Chinese study which has compared area with average radiation exposure of 2.31 mSv/y with a similar area with 0.96 mSv/y average exposure, the cancer mortality rate was lower in the high-background group (High Background Radiation Research Group 1980). However, this difference was statistically significant only in the oldest-aged group (40–70 years of age), i.e., in those individuals who have the greatest lifelong exposure to high background levels of radiation. In the other large-scale Chinese study, the cancer mortality rate was lower in the area with a relatively high background radiation (74,000 people), while the control group who lived in an area with low background radiation (78,000 people) had a higher rate of cancer mortality (Wei et al. 1990). In a similar Indian study, the cancer incidence/mortality rates was significantly less in areas with a high-background radiation level than in similar areas with a low background radiation level (Nambi and Soman 1987).

"Radiation Hormesis: Historical Perspective and Implications for Low-Dose Cancer Risk Assessment"
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2889502/
Fully-fledged SDR transceivers are available from FlexRadio and Apache Labs and are hugely flexible and capable, but you'll spend $3000+ for the privilege. Apache Labs are the more hacker-friendly option.

A much less costly (but still highly flexible) option is to combine a high-performance SDR receiver from Elad or SDRPlay with a conventional transceiver. A T/R switch like the MFJ-1708SDR will protect your SDR receiver when you key up, while CAT control allows both rigs to be operated from the same software.
> everything Bezos touches turns to gold.

Just a reminder that Amazon fails all the time at ventures. Amazon Handmade went nowhere. Amazon Register which was set to compete with Square shut down in 2015. They try all kinds of things, many of them very half-heartedly, and fail. Not everything Bezos touches turns to gold.
Please read more recent news before posting out of date info not useful for anyone. Micron is actively seeking more technical cooperation with Chinese companies completing in the NAND business. Source here [1].

[1] http://www.businesskorea.co.kr/news/articleView.html?idxno=3...
If people in these regions want to be exploited, sure, good luck.
Then what’s the point of even building an app if it’s going to be ripped off as soon as gets traction?

I sometimes wonder what the iOS ecosystem would look like if Apple took stewardship of the App Store seriously. If developers weren’t constantly under threat of some bogus copycat app or IP theft from Apple, what would that do the app ecosystem? It’s hard to see how it would hurt Apple, but perhaps I’m blind to the downsides.
> jQuery is upgraded from version 3.3.1 to 3.4.1

Is there a plan to stop requiring jQuery?
Saying Goodbye to the Old Search Console
Wow, you're the guy who ran the fake tender offer for Fitbit, made $3k, and went to prison?

Ouch. :)
Show HN: An iOS keyboard that lets you schedule one-to-one meetings
Breaking Down Technical Interviews
This is a long video (by one of the creators of Shadertoy) but I learned a ton of interesting stuff from it.

It inspired me to write my own simple ray marcher from scratch yesterday without referring back to the video, which was fun and very satisfying when it started working.
I like the random numerology, really adds weight to the argument:

>We’ve reported that a squadron of 66 bombers were launched on August 6th (666) to bomb the municipality of Imabari, even though Imabari. had been bombed already, twice.

>This bombing squadron may well have fire-bombed Hiroshima instead, as Hiroshima was not far away.

According to early surviving versions of Revelations, the number of the beast is actually 616 - https://web.archive.org/web/20080110172555/http://news.natio... - however this revelation doesn't appear to have filtered through to the conspiratoraly minded as of yet.
That's an unrelated offering: https://premium.firefox.com/vpn/

The article describes Firefox Private Network[1], which gives you a secure connection to an HTTP/HTTPS proxy server being run by Cloudflare. It's not a general purpose VPN and it is currently free. You can read Cloudflare's privacy notice here[2]. Some highlights:

> The intended use of the proxy service is to shield HTTP/HTTPS requests from eavesdropping by edge network providers such as public WiFi hotspots. Avoidance of geographical restrictions on content access is explicitly not a goal.

> Cloudflare is a data processor for the Firefox Private Network, which means Cloudflare may only process the data according to Mozilla’s instructions. .... The data Cloudflare processes for the Firefox Private Network is subject to Mozilla’s Privacy Policy and is not covered by the Cloudflare Privacy Policy.

> When requests are sent to the Cloudflare proxy, Cloudflare will observe your IP address (known as the source IP address), the IP address for the Internet property you are accessing (known as the destination IP address), source port, destination port, timestamp and a token provided by Mozilla that indicates that you are a Firefox Private Network user (together, “Proxy Data”). All Proxy Data will be deleted within 24 hours.

[1] https://private-network.firefox.com/

[2] https://www.cloudflare.com/mozilla/firefox-private-network-p...
> "Shaken" is the word. It was all anyone could think about for the rest of the day.

Best essay I've read that captures the experience of the few days right after in the parts of America that weren't especially close to where it happened is DFW's "The View from Mrs. Thompson's" in the collection Consider the Lobster.

Looks like Rolling Stone's got it available:

https://www.rollingstone.com/culture/culture-news/david-fost...

Those who've grown up after 9/11 may not appreciate how many fewer US flags (or representations of same) one used to see on a given day, even in Red State America. I mean they were around, of course, just not quite as everywhere.
I am also not sure how I feel about it, but one thing that immediately pops out to me is:

You may cancel your subscription to this VPN service at any time by clicking the “Cancel Subscription” link in any email that we send you. If you choose to cancel, your access to the service will stop immediately, and Mozilla will refund you for any unused portion of the service period within your then-current billing cycle. This means Mozilla will prorate your refund based on the remaining full days of the subscription period.

That's the quality and user centered experience I expect from Mozilla,
I still remember trying to cancel my audible subscription, and I ended up having to google it because it was so obfiscated.
Hitcal is a keyboard for iOS that lets you select available time slots in your calendar without leaving the app you’re in and send them to anyone. No more back-and-forth via email/chat, no more time lost switching to your schedule to find the right times, your calendar is always just one tap away. A long time ago Sunrise calendar had a similar feature, but they got acquired and shut down :/. There are many things that we have to improve, but we decided to release it early so we could get more feedback. Hope you find it useful - if you have any questions we're here!
Interesting because mobile is probably from where I connect to the internet the most.
Have you set up WireGuard yet? It's approximately as simple as setting up SSH; the only thing it adds over SSH is IP addresses.
Funny. Halliburton said the same sort of things prior to 9/11. They drafted the Patriot Act, which all but one policymaker objected to. Yesterday's Halliburton is today's Palantir, Blackwater, Amazon.

There's a lot of money to be made in war.
Well, wars historically never stopped.

World wars happened when powers have global reach and means. In the 20th century they had that. In the 21st, even more so.

That said, in the early 20th the old European global powers were demoted from superpowers, and US/USSR emerged in their place.

But at the time the USSR leaders knew it wasn't as strong (to risk a major war with the US) and both sides had nukes, complicating the logistics. So no direct war between them (but plenty of proxy wars globally).

Today there's US, China, India as wannabe big player, Russia (still not as strong, and worse off than USSR), and a few other minor players.

(A single "pan-global" single-"country" or central government also wont stop wars. It will just make all wars civil wars and rebellions).
Your condescending tone is not very nice. DJI is great but they make small drones flying on battery, this is a bit different with the missions being completely different.
The first ASIC company can just keep the ASICs for themselves.
"Best practices"?
One obvious downside would be that Apple could no longer copy the most successful apps and make money from them.
This is why distribution should be divorced from creation. From cable boxes to phones.
> I've accepted that even though the models are pretty much semantically meaningless, they work.

Until they don't. Which may happen easily if you deploy a model for the first time.

My personal view is that (at this moment) ML is mostly correlation detection and pattern recognition, but has little to do with intelligence.
Show HN: A product to prepare your death
Algo VPN scripts (Wireguard where it can be) does this.
If the dates are stored in strings, then you are wrong in both counts.

'2019-01-01' < '2019-01-01 00:00:00.0000', so that time won't match the date. '2018-12-31' < '2018-12-31 00:00:00.000', to it will not match that either.
But they never actually entered the Chinese market. They just had a counterfeiter that was based in China. And, through the help of Chinese officials, they were actually able to shutdown the counterfeit manufacturer. Tim, the ABRO rep from that podcast, even claims that the Chinese government is doing a great job at protecting foreign IP.
But Nowadays companies posting job opportunity on twitter.
Ah, Samsung, forever protecting us from the perils of accidentally being able to do things. (I do appreciate that they left in wi-fi calling, though; my wife's otherwise excellent Moto G4 has it disabled.)
This is effectively a re-post from yesterday, a way to take two bites out of the same Apple.
Stripe Corporate Card
I wonder what they sold their initial investors on?

I've heard a lot of theories (cornering the market, the future of remote work) but I don't quite get what WeWork was selling folks on when it came to investing and evaluations that were so high in the first place.
A feudal oligarchy.
> It does not seem to be a viable business so this makes sense.

Many businesses that IPO aren't viable, the problem is when the general public figures that out. For instance, snap chat. In no way a viable business, but has plenty of investors thanks to the wall street scam of institutional investors (401ks, etc) buying entire sectors of an exchange. It's a nice scheme to ensure you bail out your 'venture capitalist' friends.
WireGuard’s philosophy seems to follow the unix “do one thing and do it well”. So for dynamic routing, 2FA, config management etc you are expected to use other tools for that. Ie for dynamic routing you should be running BGP or OSPF over the tunnel.

I don’t particularly like this approach, definitely prefer how OpenVPN handles both routing updates (subnet push) and 2FA, despite its other flaws (slower, especially).
> whether it’s through phishing emails or data breaches

A VPN won't protect you from those, at all.

> The Firefox Private Network proxy server is provided by our partner Cloudflare. Their strong privacy controls limit what data they collect and how long they keep it. [...] The data Cloudflare processes for the Firefox Private Network is subject to Mozilla’s Privacy Policy and is not covered by the Cloudflare Privacy Policy.

So where is Mozilla's privacy policy that Cloudflare's policy says applies here? Mozilla has an older VPN service with a privacy policy, but I cannot locate this one.

> You may often find yourself taking advantage of the free WiFi at the doctor’s office, airport or a cafe.

Which is why DNS over HTTPS ("DoH") should be the default but isn't. Combine that with DNS-Sec/Encrypted SNI DoH bootstrap (or better, don't bootstrap and provide a IP for the DoH endpoint). Then send most traffic via HTTPS and this is a solved problem, without giving an additional third party/parties access to your internet traffic.

This is likely the "least objectionable" VPN I've seen. But ultimately Firefox, if correctly configured, is already a secure browser even over unsecured WiFi, they just haven't taken the steps to make it secure by default.

And, yes, they could absolutely do both (secure out-of-box experience AND VPN product). I am simply pointing out they could solve this for all of their customers for almost free, Vs. this potentially paid offering.
Apple-based developers are especially locked in, sometimes by an entire career of platform-specific experience. Whatever the limit is for how badly Apple can abuse them, it's probably higher on the app store than anywhere else.
I don't mind killing animals for food. Seen deer clean etc.
I think the message is still relevant to you because how you or I would raise then kill and butcher an animal isn't at all how the meat in a super market or restaurant in the USA gets there.

If you think "I'm not in the US what do I care." I would argue the one thing the US is still the best at is spreading our business culture and practices around the world. If our practices aren't in your part of the world I expect they will be before long < 20 years.
Let them go to a programing class :)
On a long enough time scale most things that could happen will happen, especially sequentially numbered items of which we already have multiple instances in recent memory.