skysight-inc/HackerNews huggingface dataset:
I don't get why Lambda gets all the love while Google Cloud Functions doesn't.

I've tried both, and GCF is vastly superior in many ways.

1) Developer experience is pretty terrible in Lambda, whereas GCF is compatible with Express.js to the point where you can simply pass in an Express app instance to it (which makes vendor lock-in a moot point as well). Develop your app more or less like you normally would, and just export it to GCF. Job done.

2) Deploying is a simple cli command away, even with native binaries.

3) No API Gateway necessary for HTTP functions.

4) It's now compatible with Cloud SQL so you don't have to give up your traditional database.

5) No crazy IAM permissions hoops to jump through to get anything to work.

Disclaimer: I'm not affiliated with Google.
One of the first things to do is to switch off and actively refuse all notifications unless you find one that is really very, very useful to you. It makes no sense to leave the defaults.
Getting Positive Feedback: Advice for Founders
Actually EU is negotiating 0-tarriff with the US and a great realignment is occurring against China.
I mean, if you’re going to commoditize your sexuality as a product in an interactive medium, should you really be surprised that people will cross boundaries with you in attempting to have “more?”

Seems pretty obvious that there is some kind of fantasy element to watching these streamers that a part of the audience gets off on. People can trick themselves into believing they have a “relationship” in this format even more easily than with other forms of media. And much like the fans of K-pop idols, having that fantasy be intruded on by reality upsets the fantasizer. The emasculated, or creepy, would of course want a medium that didn’t contain the risks of true human contact or relationship, so I don’t think this is a particularly surprising outcome given the audience this medium attracts.

Couching this as “yet one more difficulty women face” or proof of inequality is completely missing the forest for the trees.
You can if your loggung structure is uniform, and includes a correlation ID. This happens every day... pretty simple actually.
It's not an oversimplification. It's the best piece written about this controversy. The source material was raw, immature racism. Instead of reading Vox's protection of their employee, why don't you read her tweets directly (hint, there's nothing here worth defending):

https://twitter.com/nickmon1112/status/1025437806775226368
That's a very sad thought, and unfortunately the way things are trending right now.
Since there are a lot of Mozilla shills going around, I feel compelled to point out that "ghacks" is a quality tech feed to follow if you want to stay up to date regarding this sort of things.
Reno NV has that rule. I almost hit someone when I visited because I was not used to it and blew through a crosswalk when someone wanted to cross. Imho having rules like that without explicit controls like stop signs/lights seems dangerous.
Generally speaking, you're trading economic growth and progress for "lols". Changing you mind is completely meaningless unless we know what you're actually after. If the outcome you're after is "lols", or it's politically-correct phrasing "getting tough on China", then why would anyone try to change your mind?
" I don't need smartphone notifications from my internet connected washing machine to tell me when the laundry is done"

I'd like to point out that I would LOVE this feature. I often throw laundry in, go do something else, and completely forget it's in there.
> The basics of linking two pieces of code together aren't terribly complicated

The basics aren't complicated, but doing it correctly requires more than the basics IME.

Each platform does it slightly differently, and I support multiple platforms. I've repeatedly seen static libs linked into multiple dynamic libs and cause all kinds of trouble because there's multiple copies of global data, of which only one was probably initialized correctly. I have seen multiple different stdlibs successfully linked into the same program, causing ABI mismatches that compiled, linked, and "usually" ran at runtime - but had some nasty crashes to be debugged, because std::vector<int> was an entirely different type at the call site vs the callee's implementation. Version mismatches of other SDKs are also common. I've had all kinds of weird constraints on what compilation and link flags I could use based on what static libs I've linked (e.g. being unable to link with exception handling enabled because one of my dependencies was built with it disabled)

Additionally you don't have libs for all my platforms (or sometimes any of them), so I have to build from source anyways, so I have to write build rules for your lib because the defaults probably don't work, and because build rules are never documented I have to mostly reverse engineer intent to do so - possibly without a viable build in the first place if your only working libs are for platforms I don't use.

Or if I'm lucky enough that reusing your build rules is viable, I have to try and sync various flags between my projects written in one build system and your projects written in yet another build system, and prevent these from getting out of sync for the remainder of the lifetime of the project. I likely have to jump through all kinds of stupid hoops like installing the exact right version of python and installing undocumented but required packages just to run the configuration scripts that drive the build.

...or for single-source libs, I can probably just drop a single file into one of my existing projects and have everything work. Okay, so some of that was just because they actually cared about minimizing how painful it is to integrate their library at all, but having a single .c file helped too.

I'd only write a single .c library for the simplest of libraries - or as an automatically generated file - but it can help.
There is no western trade alliance because Trump is challenging the multi-lateral trade institutions such as the WTO which the US created. Given that the Tariffs that Trump is imposing will likely be illegal under WTO rules, Europe and Canada will not simply work with the US when their products are also at risk from Trump's tariffs.

You may think that the west has a collective interest, but does Trump think so when he gets mad every time he sees a Mercedes car running down Fifth avenue?

http://fortune.com/2018/05/31/trump-mercedes-benz-german-car...

Also Canada is balking at how the US is abandoning NAFTA just so that it could use its larger size in trade negotiations.
How do you use your Major system for review?
Ask HN: What infrastructure would you use to host an open, free JSON-based API?
Thanks. It's not clear in the article that this is based on another work. Can you provide a link? Reading the article I too thought linked data was noticeably absent.
Was that due more to lack of training? I am first and foremost a developer, but I’ve spent weeks understanding AWS from a netops, devops and development standpoint.

I’m also working on certifications mostly as a method to force me to learn in a structure manner, my company will pay for them, and they still have some market value.
> There were a lot of hate-speech laws when Hitler came to power.

False.

https://www.unodc.org/cld/en/legislation/deu/german_criminal...

https://heinonline.org/HOL/LandingPage?handle=hein.journals/...
Luckily for their leaders, they don't need to worry about elections.
I still shoot a tiny bit of 35mm - mostly with a Rollei 35S, which is a wonderfully compact camera that fits in any pocket, and makes taking casual snaps when going out with friends etc. a breeze when lugging a medium format would be a pain. I am also very tempted by the Hasselblad Xpan - there's something wonderful about panoramic shots. I could get a panoramic medium format, but they're usually quite tedious to carry.

> I don't understand at all the urge to take huge numbers of shots and sort them out later, when I can do it in my head before I press the shutter.

If you're commercially shooting a sporting event/wedding/etc., I can definitely see the value in that approach. Unless the client specifically requested a film shoot, and understood the tradeoffs that come with it, I wouldn't be comfortable shooting those kind of events in medium format.

Nice on you for going 4x5. The results are heavenly - I haven't dipped a toe in it yet because you start being very constrained by the weight + size + setup time of your gear...
5 Common Misconceptions About Skin Cancer
> Society generally moves in the right direction.

Does it? Because it's currently ok to say that "white people suck" and various other overtly racist statements that would have been interpreted as such by society as little as 10 years ago.
Good on China. I'm glad China is reacting to the ridiculous actions of the US. Is everyone in these comments shortsighted in thinking that this is good for the long term? The US does not benefit from these huge trade tariffs on China. Protectionism is not a good idea. It'll only slow job growth in the US.
India, probably. And then Africa, probably Nigeria - hopefully, that'd help them a lot. (IMHO, not an expert)
I always thought that was a "dunny" in Australian parlance. You learn a new thing every day on HN :)
How to Start a Successful Shopify Business
How does this skirt the accredited investor requirement in Sarbanes-Oxley? Seems like a very obvious way to avoid it, and hence something that would not be allowed.
I couldn't agree more with this. I'm in the same boat. 32 years old, so I had a social life before social media. There is one exception for me and that's Instagram. I'm a visual person and it satisfies that for me. Three minutes on Twitter is enough to make me depressed for the rest of the day. Facebook isn't much different... I think humans will naturally shift to actually hanging out in real life again.
Right, it is almost always possible to do anything. In practice I would rather have to change the includes on one file to get it to compile with musl rather than change the includes on 10+ files each with a different change. It is a matter of degree not kind of difficulty. But in general I always will prefer the issues that arise from a single file implementation rather than the issues from many files.[Sorry if this is phrased poorly, I am not a native speaker.]
I happen to agree, but it doesn’t really change much about how I interact with firefox after I disable it.

Have you checked out the alternatives? I remember IceWeasel at one point in Debian.
The global economy is very complicated, there will be different suppliers in different countries with various qualities of the different goods they are selling therefore I don't think there is an easy answer to that question.
No, he wasn't. He was selling some of the discs for $4, some for $10, and others for $30 to $40. He went out of his way to create discs that would fool customers into thinking they had a genuine microsoft product, and he went out of his way to evade customs. He knew that his product risked being siezed by customs, and he gave advice to his associates about evading customs inspections.

He spent $80,000 creating the discs.
People's take on this is depressingly cringeworthy. Prison time was for trying to pass CDs as genuine Microsoft media.

Imagine this: You go to one of these shops looking to buy a new computer, you ask to get genuine copy of Windows. The shop can't guarantee genuine copy because they haven't compared hashes of these bootleg CDs with the ones published on Microsoft's website. If they did they would burn them themselves.

Customers were unnecessarily put at risk because data on those disk wasn't assured to be genuine. That's why damages aren't based on manufacturing price but price customers paid for the genuine product.

If you asked me I wouldn't fault them if they added damages for compromising combined purchases because people don't normally buy just software license but packages of hardware with genuine software.

And the sad cringe is in the fact that when EVEN you people don't see why chain of custody is incredibly important then you can't expect all these shop owners to be any better.
China is a human rights nightmare, they literally have concentration camps. I think ethically the US shouldn't even do trade with China.
As always with Magic Leap, I'm still not seeing a single compelling use case. Sea turtles swimming around the air, or a T-rex on the desk is fun for a few minutes, but it's not worth the price of entry. At this point, I've lost all faith in their vision. After years of following their posts, they haven't demonstrated a single thing of value.

What are they expecting now? They honestly think developers are going to flock to this device with no audience for $2,250 and produce groundbreaking applications and games that will sell millions of Magic Leaps to consumers to recover their investment?

Why don't they take that 2.5 billion dollars, and prove a single application or game can be developed for this product that people will line up to buy? If they can't do it with unlimited money, almost a decade of time, and the future of their business depending on it, then why do they expect some random developers are going to pay money to do it for them?

I know this post sounds negative, but I'm 100% convinced this product will be dead on arrival and nothing more than a 2.5 billion dollar mistake to show a few hundred people floating jellyfish in their living room.
Testing a lambda is just as easy as testing a controller action in the typical MVC framework. You just pass a JSON payload to your lambda handler.

Organizing is also simple - if you know CloudFormation. You should learn that anyway to provision resources in a repeatable fashion.
An Unassuming Genius: The Man Behind Google’s AutoML
I think calling this "equivalent to a palm pilot" is a stretch. The palm pilot was an successful consumer product that was obviously useful and easily improved on. Current AR offerings like magic leap and hololens are super cool, but nothing close to useful. The fact they are labeled as "development kits" makes this pretty clear. AR/VR is going to have a much rockier road to usefulness than smartphones, which are really hard to beat.
New Cryptocurrency Exchange in Canada
We are a new Canadian crypto exchange (https://bitvo.com/), designed to make buying cryptocurrencies faster and easier than ever before. We’re so confident in this that we’re offering the Bitvo Same Day Guarantee, which refunds fees if customers don’t experience instant account set up, same day processing of deposit and withdrawal transactions and access to live customer support 24/7.
> “Just so there won’t be any misinterpretation about the rationale for our decision to sell, let me be clear: We’re a music company, and not, by our nature, long-term holders of publicly traded equity,” he said.

How did they come to holding this equity, then? As a music company, are they medium and short term equity holders?
Maybe by "dynamic" they mean it's actually a varifocal display, like the Oculus Half-Dome prototype? https://www.oculus.com/blog/introducing-the-team-behind-half...

As for where I heard the term "multifocal display", I'd recommend checking out Douglas Lanman's talk at SID Display Week, where he goes into detail on a whole bunch of possible solutions to vergence-accommodation conflict in VR headsets: https://www.youtube.com/watch?v=GbRvkS3GDsw
What Is NLP? (Natural Language Processing)
As a New Yorker and a driver, I can tell you I've been gobsmacked by the resistance put up to fight protected bike lanes and speed cameras (which we just lost in bulk as the legislation supporting them was not renewed). Madness.
As the article you've linked points out, the fact you _can_ theoretically do this in England doesn't mean it will actually work.

There are private prosecutions in England, but they almost all happen under the tacit approval of the state, e.g. rather than spend government money prosecuting people who mistreat their pets the government doesn't stop the RSCPA (a charity) from prosecuting them privately with donated money.

If instead a rich person has just decided to try to prosecute someone they don't like, it is almost certain that the state will intervene, and indeed it is legally required to do so once it's told this is going on, by a judge, a newspaper article, a law clerk who realises what's happening, almost anybody.

What will happen is that a very bored junior barrister from the Crown Prosecution Service will show up (this could happen as early as pre-trial discussions), they will inform the court that the CPS would like this case assigned to them, they're privileged to do this without giving any reason. Then, having been granted control of your prosecution, the barrister will inform the judge that they're not offering any evidence, the judge will accordingly declare the defendant isn't guilty as no evidence has been presented against them. You have now spent a lot of money and achieved nothing except to annoy a judge and the prosecutor, which seems like a bad idea.

If you've got a dubious case, maybe the defendant was caught red-handed stealing something from your store and you're trying to prosecute them to ruin their reputation after police decided a formal warning was sufficient - the CPS can demand all your paperwork, take over the case and then having read your evidence decide to take that evidence to court or offer no evidence on the same basis they'd have used if the police sent them the case (a "full code test").
Have you read the emails that this man was sending? He was deliberately trying to fool his customers (who were asking for genuine MS discs, not some copy he'd made) and he was deliberately trying to evade customs.

https://blogs.microsoft.com/uploads/prod/sites/5/2018/04/2LU...

https://blogs.microsoft.com/uploads/prod/sites/5/2018/04/FIN...
When a moderator removes one of your comments because they disagree with the content, that is censorship. When a moderator removes your comment because it breaks a well defined rule, then that is moderating.

Trying to moderate "hate speech", which is highly subjective, is a losing proposition.
I wonder if the person who posted deleted that reddit account.
But the negotiations left out the most important sector, which is automobiles. The US is still pursuing a "national security" review on the automobile industry under Section 232.
Err.. that's not quite correct.

Modern sensors gave the software enormous ability to extract details and do exposure compensation on shadows and only shadows in post processing, especially if the scene is stored in RAW format. There's however nothing that the sensors can do with the washed out highlights - that information is gone and no post processing can do anything about it. So the basic rule of shooting a scene that has brights and dark elements is to always underexpose to get the bright details in as it keep the option of bringing dark details out.
Jeff Bezos was a fraud for a number of years too.

If Musk gets the funding to go private, gets the 2-4 years of runway he needs to make the business work, that's a good thing.

I'm not a fan of businesses that run red year after year, but in some cases, there are societal benefits that vastly outweigh those concerns. A successful mass-production battery and EV business is something that can have a massive impact on reducing CO2 emissions.

So a lot of people and investors are less concerned about making money and financial models than they are about moving from fossil fuels to renewables. And if Tesla gets a few more years, the profits will come.

If you're only concerned with the bottom line, why are you investing in or against a startup? That seems like gambling to me and if you lose, that's on you, not on Tesla.
> pontificate on theoretical limits

These "limits" are real and are hit pretty quickly (and it's easy to ask for bumps but they are still there)

S3 buckets is one of the first ones most people hit
So where exactly are we going to run this “on our own” in a regionally or globally distributed manner? Then we have to pay more people for netops to do things that doesn’t have any competitive advantage.
The important bit:

"[...] we want people to clearly understand that Laserlike will receive their web browsing history before installing the experiment. We have also included controls so that participants can pause the experiment, see what browser history Laserlike has about them, or request deletion of that information."

So, this is basically a better Stumble Upon, where you can delete the data they have on you.

How are they monetizing the service?

There is a complaint on the Apple App store that while you can delete your history, you may not be able to delete your account: https://itunes.apple.com/gb/app/laserlike-search-discover/id...
It has the potential for the most dramatic long term consequences as it could dramatically speed up China's rise. China's economy is where future growth is, to get access to that growth capital will reallocate itself around these trade barriers to China's advantage if they persist.

Also, part of the reason the US dollar is the chief world trading currency and the US Treasury is considered the world's safest investment is open trade policy. This preferential place in the world financial system gives the US economy major advantages, including low interest rates.

Attacking the entire world at the same time is a really bad plan. The chance of wringing concessions from China would be much greater if the US would make common cause with the EU, Japan, etc. But the opposite is happening, the rest of the world is moving on w/o the US as we saw with TPP and the recent EU / Japan deal. Expect to see things like China start canceling deals w/ Boeing and inking new deals with Airbus.

Finally, there's a military dimension to this. China is raising tariffs on US oil at the same time it is saying it won't respect Trump's sanctions on Iran. Its unlikely anything would happen in the immediate term but if this situation persists its not far fetched to imagine things getting tense.
> The thing I like the best about Microsoft Word is the review feature. Multiple people can edit, annotate, and comment on specific parts of the same document. You can inspect each diff and either accept or reject it. Everything is color-coded and can be manipulated using a mouse. It's like commenting on a github commit, but much more intuitive for people whose job is to exchange human-readable documents, not source code.

This is an interesting perspective! I author in plain text, and when collaborating, I prefer using what's essentially the Phabricator code review workflow to elicit comments and improvements until the change is fixed.

Working with changes this way is useful in that it atomises and comparmentalises changes, so the history is easier to inspect after the fact. And so far, few people have found it unintuitive -- they don't even know it was designed for source code in the first place, they just like that it's clear what's expected of them at each step in the process.

I think sometimes it's easy to underestimate how good tools for programmers are, but it's easy to see why: in any field, if you want to find good tools, look at what the toolmaker has to use. I think a lot of people would prefer the programmer tools if given sufficient polish and the proper introduction.
Fix PUBG – developer created site in response to community feedback