skysight-inc/HackerNews huggingface dataset:
Why is American government so against Huewei?
What's the real reason US Government don't want Huewei products in their territory?

There are several possible reasons and I'm curious to what the HN crowd believes.

1) US government is actually worried about Chinese products having backdoors in their Chinese chips inside, spying on users.

2) US government has backdoors in American chips (Intel, Amd) and does not want other tech inside territory that they cant spy on since it's a security risk from their point of view.

3) American government doesn't use backdoors and doesn't want other countries to use them either.

4) Other reasons?
People need to change the sheets and pillow cases and duvet covers. When some people are depressed they find these habits harder to maintain. After a while they've become deconditioned, and they're still unmotivated, and it can be hard to get back into a routine.
This is the type of post I love the most.

Great find and wish we got more things like this.
The example says no mysticism but is using at least 4 undeclared variables. I’m not a C developer so I’m sure I’m completely wrong, but where do pledge, puts, EXIT SUCCESS/FAILURE come from?

I assume from importing stdlib etc, which probably give you additional variables to use, that you would need to know about explicitly. One thing I like about zeit.co’s micro server (js) was the argument about not using bodyparser and magically having res.body available, but using async/await and assigning it to a variable. This is popping up more with things like es module imports, render props in react, etc. They make it clear where variables come from and allow you to avoid stepping on existing variables. What other 10-100 variables can I step on potentially with global patterns as a new user?
You're forgetting that a screen costs power.

Besides, at best, your touchpad has little fingerprints, at worst it has a lot. With a normal touchpad this doesn't matter, but with a touchscreen (or touchpad-touchscreen) it suddenly does. Furthermore, it is a spot where your hands are, so in order to see it, you gotta move your hands. Both are not very useful features. If I want a tablet, I'll get one instead. Furthermore, the touchpad is pretty small (compared to Apple's latest) and doesn't have the haptic feedback the latest have. Though mine doesn't have that either on the MBP 2015, but that's because I don't want butterfly keyboard or TouchBar.

I'll put this one in the category of the TouchBar (which has already been discussed to death): with all honesty a very interesting research product indeed but don't put in your flagship product please. TYVM /bow.
OpenAI Retro Contest – “How to Score 6k Points on Leaderboard in AI Challange”
Who should be responsible if not the UI framework?

Oh, and by complex, I don't mean character animation or something. It's the stuff that is supposed to act differently than the React's internal workings.

For example, if you want to do an animation on items that disappear when the user takes an action it's not going to be easy as with plane JS manipulating the DOM. Also, you won't be able to use some nice artistic animations that were created by direct DOM manipulation.
Exactly. Who would code a web app in 2018 in C? That's right, hipsters.

Seasoned developers would use a tool more fit for the job, like Java, Python or even PHP. Seasoned hipsters would use Node, Clojure or Elixir.
Di you know that you are famous?

http://dilbert.com/strip/2015-06-07

This fixation on the idea "people eat only vegetables!" is a fabrication of YOUR mind. You keep bringing it up. Are you sick? Do you need professional help? I'm a little concerned for you my little stupid friend. You can't tell what's only in your head from what what's outside? How about you stick to what I wrote and stop posting utter nonsense and made-up bullshit?
15,000 illegal adoptions in Ireland, mothers told babies had died
Google ran out of instances on App engine?
Our instance count dropped to 0.

Deploying the new version of the app isn't helping either.

Instance count is still at zero.
Consent is only one basis for processing, and comes with high requirements.

Consent is required to be "freely given", which isn't the case if it is required. E.g. Article 7:

> When assessing whether consent is freely given, utmost account shall be taken of whether, inter alia, the performance of a contract, including the provision of a service, is conditional on consent to the processing of personal data that is not necessary for the performance of that contract.

Or in Recital 43:

> Consent is presumed not to be freely given [...] if the performance of a contract, including the provision of a service, is dependent on the consent despite such consent not being necessary for such performance.

Thus, where they do give "consent" as the basis on which they process data as part of Terms of Service the user has to accept, that's highly critical if they do not query for that consent independently, and in a way the user clearly can deny. You can't require consent in something the user has to accept to use your service.

(You can find the full complaint against Facebook here: https://noyb.eu/wp-content/uploads/2018/05/complaint-faceboo...)
C is also hellish for string processing.

From memory management to buffer overflows to understanding the encoding types.
> "man pages and "-Wall -Wextra" are your new best friends"
These guys are more likely friends with "-pedantic"
I am not aware of them ever doing that. There is only two cases where there has been any IP aspect that I am aware of?

One started by Moto before them purchasing and the other the Waymo trade secrets case with Uber.

Google has purchased tons of patents but they use for cross license and NOT for royalities.

Are you confusing Google and Microsoft? MS does use their patents for royalities and perfect example is getting more per Android phone sold from royalities than Google gets.
I, for one, can count the number of times that talking to someone has helped my depression on 0 hands. That includes professionals.

Yea I'm in agreement with this. No direct effort to "help" has been useful at all.

You know what would be helpful, is if people actually started being honest about how not together their own lives are. Forget depression, I just want the average person to actively acknowledge and vocalize that they don't have all the answers and haven't figured things out.

One of the biggest sources of anxiety for me is looking around and seeing all the people who "have their shit together" and thinking that I'm the only one over here drowning. Yet when you talk with them one on one, it's pretty clear they don't have any better handle on things than anyone else.
At least that screen will always have everything opted out already (as mandated), so it's easy to just press the next-button.
Amazon should sell a laptop like this and play ads on the touchpad.

The Amazon Fire Laptop with Special Offers.
Should be fine. SQLite is fast and capable.
Going from IP catalog to pin planner is not the easiest task. Or setting bitstream properties. Some settings are accessible from special locations, and this isn’t very intuitive. It’s easy when you know all these details.
Hope with it being pointed out with a link that your post is incorrect that you might consider updating it?
>There are six lawful reasons to process data. User consent is only one of them.

Yes indeed, there is a list of reasons. I pick the one based on consent, because it seems the most relevant for a company. Process the users’ data, but get their permission first.

>The one that's useful for most companies is "legitimate interest”.

I would have thought that one was a bit nebulous. No one has given a hard and fast definition of that term. And rather than risk a court’s interpretation or benefit of the doubt, I figured it might be safer to rely on the consent approach.
It's an attempt to trick the user into clicking the wrong button. Maybe not dark, since all that happens is it annoyingly opens an website, but nonetheless, it is not pleasant or user friendly to intentionally deceive others into doing something they wish to avoid. I believe that practices that are labeled the dark patterns on websites often have no more impact than that.

I'd call it 'user hostile'.
I was referring to the release announcement back in 2014 or so which I'm unfortunately not able to find (there was more than a bit snarkiness towards CGI programming).

I'm aware what FastCGI is ;) Btw. if you're interested in native HTTP I'd be looking into nghttp2 rather than FastCGI and OBSD's httpd.

Edit: see also https://ef.gy/fastcgi-is-pointless and https://news.ycombinator.com/item?id=9202039 (previous discussion of OBSD's httpd)
A TouchPad has too many negatives.

It costs additional power (with no clear benefit).

Its another point of failure.

It has a big learning curve.

It requires one to look away from the screen (pro users needn't to look at their keyboard).

It replaced something which worked very well: esc key and function keys (who also had F-keys with "fn" combo).

IMO it is an interesting usability concept from an R&D PoV, but not something to be shoved in the throat of users. Unfortunately, Apple decided it is the way forward for MBP users with no option to turn back except for legacy products or switching ship.
Exploiting an Implementation Flaw in Mycroft AI Vocal Assistant to Reach RCE
That's part of the stigma. Some of the concepts and models sound goofy (crazy) to those who haven't experienced it. Freud though... I'm not impressed with him in the slightest.
I share most of your points, however I think there are two that actually play well with GraphQL.

> You want a stream of trees?

I was under the impression that is what GraphQL subscriptions are for but I haven't had the chance to try them. Isn't that so?

> You want to use GraphQL to upload attachments?

I have been using apollo-upload and it works quite well.
Tangential but arguably related: what phone numbers around the world are still hooked to modems? What's out there that I can [still] dial in to?

The reason I emphasize "around the world" is that I want to play with an old modem I have here, I want to use my actual landline for the testing, I live in Australia, and long-distance calling doesn't really appeal because, besides the costs, it'll probably kill 56k throughput.

I've noted some old dialin lines used by ISPs, because that'll at least get me to "right, PPP's complaining but that means it's working", but it would be very nice to go a bit further.
The big difference is Microsoft uses patents to get royalities out of people and use as a weapon in slowing down the industry versus helping push the industry forward.

Google does not play that game. They have tons of patents and purchased patents for cross license but they do not get paid anything in royalities. Instead they give away IP for everyone to use.

That is why Microsoft gets paid more for every Android handset through royalaties from patents than Google does.

Just a different approach between the two companies.
Yeah, Asus has a knack for making apparently-great devices for a fantastic price but then giving them one critical problem that makes the device worthless. Remember the first Nexus 7 with its dying nand memory?
I've felt similar from working with GraphQL in Rails, but it's not entirely fair to blame the graphql gem for this because Rails has been an MVC-style RESTful web framework for as long as it's lived. Naturally there'll be a lot more exposed wires as you're building up a server that has different requirements for an application architecture.

It's easier said than done but I just think that there needs to be something for GraphQL that Rails was to REST, and for those options to exist outside of Node-land. I don't know what's out there for that, but I have heard a bit about absinthe: https://hexdocs.pm/absinthe/overview.html.

Having gone back to a project using REST and Redux, I miss working with graphql.
It’s not just that C is hard. I can wrangle together pretty much any program in C since I used to program in C about a decade ago. However, having been so long, my greatest fear is that I wouldn’t even be aware of the footguns I have introduced in my code. C is littered with best practices which are absolutely not obvious, and unless you follow them can be massive security risks. And to a slightly lesser extent the same is true of C++ as well (although my friends tell me newer versions of C++ are much better at this. I worked with versions prior to C++11).
And? It's a criticism or interesting observation that when you build large, complex applications that they can be large and complex?
Then what does it mean "to be based on"? What's its definition, and a one that's well-established and commonly agreed upon, since you're trying to invoke it?
Realtime TSNE Visualizations with TensorFlow.js
100 Stars on GitHub – Library CSS Box-Shadow
HOORAY! The first frontier has passed! The project received 100 stars on #GitHub, but that's not all. To get a reference to #cdn.js, project need 200 stars. Therefore, we are moving on!
https://madeas.github.io/box-shadows
If you liked the project, support it forked or give a strarsed.
The benefits of React (such as its templating syntax) can be had with much simpler libraries, such as this one: https://github.com/wisercoder/uibuilder

The much touted benefit of React, DOM diffing, is useful if you have a very complex screen and you need to make surgical updates. Most applications have simple screens that can be completely re-rendered and the user won't know the difference.
Is that packaging style the same for all English-speaking countries? Standing on the side of the road and facing traffic, you'd expect all of the near vehicles to be facing right in North America, so perhaps that carried, consciously or otherwise, into packaging decisions.
> which works extremely well but currently has no visual feedback

Why isn't that plus haptic feedback good enough for the examples you mentioned?
Do phone screen noticeably lag these days? I don’t see why there would be a difference.
> I’m not a C developer so I’m sure I’m completely wrong, but where do pledge, puts, EXIT SUCCESS/FAILURE come from?

- pledge: unistd.h[1]

- puts: stdio.h[2]

- EXIT_SUCCESS and EXIT_FAILURE: stdlib.h[3]

You can probably safely assume a C programmer is familiar with puts and EXIT_SUCCESS/EXIT_FAILURE and that an OpenBSD programmer has heard of pledge(2).

[1] https://man.openbsd.org/pledge.2

[2] ISO C11, § 7.21.7.9 no. 1; https://man.openbsd.org/puts.3

[3] ISO C11, § 7.22 no. 3
This looks amazing! Just started studying intervallic improvisation and this will help alot! do you have any plans to add support for alternate tunings or let the user to modify the tuning (like this tool: http://fretviz.com/) ?
Might be a neat idea to preview the actual editor on your landing page instead of a screen shot.
The main place you might run into problems is if doing lots of simultaneous writes. As long you're mostly dealing with reads then it should work.
The Heilmeier Catechism (1977)
It's surprising to me that someone could be a programmer without knowing anything about C.
This is the industry that created the popup/pop-under, and abused it until it got to the point where every reasonable browser has integrated functionality to block & whitelist them.

Now they're abusing mass data harvesting and profiling until it too gets to the point where every reasonable browser will integrate functionality to block & whitelist it.

This is an industry that targets users as prey, and cries foul when we play hard to get.

For me, most advertising lives on a scale. At one end we have advertising that seems mutually beneficial to all, like sponsorship of podcasts. At the other end of the scale, we have unsolicited bulk email, which I've never seen anyone try to defend.

It feels like each generation of web advertising starts somewhere in the upper third of this scale, and then digs and digs to sink as low as it can, until some measure is brought in to make this generation ineffective. Then they go off, come back with a new model, and start digging all over again.

Ultimately I do wish they'd come up with a model that isn't abusive of users, publishers and even their own advertisers; but at this point I'm inclined to believe this leopard can't change its spots, and will always sink as low as we allow it to.
Not necessarily. If the script is documented and written cleanly (e.g Fabric3 which has very little magic, and reads almost like Bash), then in can server as "runnable documentation". In this case automation could be really good for continuity and busfactor.

But yeah... got to put some effort into it. Like all docs, script-docs worn't write themselves.
I've actually run a trading algorithm off a very similar approach for the past 8-10 months, which yielded about 87% return in that time. Using regression I can still to this day hit about 55-60% accuracy. What's not mentioned in the paper is that accuracy is only a small part of the story. If you're accurate 60% of the time but in the 40% accuracy range you're very wrong, acting on the information is useless.

As a result, it's important to develop a trading approach that can actually capitalize on the information. For that, I have found three things to work best:

1. Only trading on the highest signals of increase within a model that is a spectrum rather than binary classification. This usually doesn't increase accuracy much ironically but does increase the "average value" of buying on the increase signals. I usually set this through historical testing for prediction values and taking a top percentage of the prediction values to set the "threshold".

2. More features and feature selection tuning. Right now I'm using genetic algorithms to constantly try and test new sets of features, thresholds, "hold times" after buying, etc.

3. Work on minutes, not hours. The volatility is so high that you can actually capitalize well on the micro level in my experience.

While accuracy is important, the average trade value and trades per day are far more important to returns.

Interestingly enough, the algorithm was steadily making money until April or so, when it stagnated. Mind you, it was making money from January-March due to sheer volatility even while the price was dropping most days. I've actually shut mine down for two reasons - the plateau plus the fact that the market was too thin on GDAX to quickly trade on buy signals for the amount I was running with (ending at about $3.5K). If the market thickens, I'll likely start running it again.

Takeaway: this paper's approach may seem simple but honestly the reality is that with something so volatile it's surprisingly easy to capitalize on with algorithmic trading that learns even a few small features and trades frequently.
Battery pioneer unveils surprising new breakthrough
Because early Android devices had the back button on the right. See for instance the first Android device (https://en.wikipedia.org/wiki/HTC_Dream): the button order was according to Wikipedia "Call", "Home", "Menu", "Back", "End Call".

The standard Android button placement later changed to have the back button on the left, but Samsung kept the old order, probably so that users who upgrade their phone within the Samsung Galaxy series don't have to relearn their muscle memory.
> My one complaint is that Vue components place templating, code and styles in a single file and I'd prefer a directory with three (or more) separate files.

You can have that. You do need an index.vue file containing something like:

<template src="my-component.html" />
<script src="my-component.js" />
<style scoped lang="scss" src="my-component.scss" />

If you put that into a directory called my-component/ then you can just do:

import MyComponent from 'my-component'

…and it will pull everything in.
> You have one of those no-escape-key macbooks, right?

Wrong.
I know a lot of companies that I believe are compliant, but they also do not do anything where they'd need to process data with non-obvious reasons.

Many high-profile sites rely on advertising, and that makes things more complicated, since they have a clear business interest to get and share as much data as possible, instead of a "process only data strictly needed" approach others can take.
Maybe this is a bit of a weird stance, but I don't think setting cookies counts as a violation of privacy. First of all the user has full control over the cookies and can arbitrarily deny, delete or even modify them (nobody uses this power, but they still have it), and fundamentally telling someone to remember some bit of information doesn't really tell you anything about them.

However reading cookies (and sending the content to a server) obviously is privacy sensitive, although even then it should be noted that users have full control over the cookies. This makes cookies better than e.g. a profile that's stored on Facebook's servers.
Looks awesome... but what does that have to do with AI? I guess “optimized for blockchain” was already taken?
Dating Dating App
> Huh? When are kernel developers in high stakes situations that require tact?

Parent commenter made a comparison between Torvalds and politicians. I was exploring that comparison.

> If he'd lost control the criticism would be less technically grounded, and he wouldn't have merged the patch anyway.

Losing control in one way doesn't mean losing control in all ways. Saying someone has "lost control" doesn't automatically mean that they've shat themselves, for example.
I'm not sure that sentence makes much sense though since the O/S is responsible for creating processes after all. There's an inherent overhead in the POSIX process model; but there's also overhead in the kind of manual memory management needed in support for evented I/O considering typical mixed web server workloads.
True, but the custom isn't that we sign seven contracts at lunchtime, as we browse shops in a mall & buy a sandwich . That's new, for a regular person "seeing" gdpr.

We'll see if this difference is legally superficial or material, as this all plays out.

There was a lot of MOP interest in gdpr and it's friends (like the US Congress' FB stuff). Politicians got attention for their rhetoric, as they legislated. Journalists delivered coverage and opinion, including a lot of moralising too. Social media was abuzz.^ They never told the average MOP that gdpr would be a bunch of contracts she'd be signing.

From the perspective of corporations.. the party complying & implementing gdpr... they've mostly interpreted it as "Rules About The Contract Our Customers Must Sign". Their lawyers assure them this is best.

I think this was a piece of legislation that our legislative systems are particularly ill-equipped to deal with.

^Relatively to the standard interest in laws.
BTW I did a Show HN for Quod a couple of days ago but it didn't get much attention - any feedback is appreciated.
His aliases wouldn't be in scope there.
What do you mean by really slow? My old MacBook is also running slowly, and I hadn't thought of the capacitor as being a possible culprit.
How to Print Floating-Point Numbers Accurately [pdf]
Doing anything on the web with a language that doesn’t have a string type seems like masochism.
UK police data
It's not just NAT traversal. Having a flat naming scheme and every entity directly addressable is one hell of a feature.

When I describe Tor to interested techies, I explain that a .onion address is more akin to a phone number. You don't have to know what IP4/6 the endpoint is. You don't have to know the route path. You just need the "dialing address" - the .onion . I find that this description gets away from the whole "Tor is just for drugs and child porn".

And no matter what's in between, if you send data to ###.onion , it either completes successfully or doesnt. And with the system modification I recommend elsewhere on this article, you can even set up Puppet, Ansible, MQTT, and more all over Tor.