skysight-inc/HackerNews huggingface dataset:
When i dabbled in this area, most of the lower end work was surprised there was an ongoing need for hosting. Either directly or their own provider... They thought that once it was bought, it just 'ran' on the internet.
"Stuck"? Cmon, imagenet winning deep nets are 5 (five) years old. Give it time.
You might, but not very many people would. Realistically we'd lose Google.
This article is very weak... They cherry pick a single metric (overdose-related deaths) and use that to prove Portugal's policy is the best thing ever.

Other metrics that are relevant: Has drug use increased or decreased? What about the burden of disease associated with drug use? Also, even more importantly: What has happended to deaths in other countries over time?
I saw the headline and my first thought was "Emacs tutorials, cool! What's not to like?" and then I clicked the link and saw

Video 1 - Setting up the package manager
Video 2 - Intro to Org Mode
...

and thought "Why there are two things" and then came back to the comments and this thread was at the top and it sort of put the decision by the videos' authors in perspective.

At it's heart, Emacs is "The Extensible, Customizable, Self-Documenting, Display Editor." [1] I'd be much more comfortable saying Notepad is a simple, modeless editor. For a contemporary developer, package management is a reasonable reference point (even JavaScript has package management). And to me, org-mode is the killer app...Oh Babel. There is nothing else quite like You.

[1]: http://worrydream.com/refs/Stallman%20-%20EMACS,%20The%20Ext...
I found that this does not stop one from sending emails that appear to originate from addresses like info@paypal.com as long as the contents of the email are different from known spam emails. They are not flagged by GMail at all as long as you send them from a reputable email server through services like mailgun.com.
This was a clear what aboutism that had no argument attached to it. It was the very definition of a what aboutism, not ambiguous in the slightest. The writer even starts out with the proverbial glass house! And then states something about the USA pulling out of the climate accord, which is relevant to censorship? Even as whataboutisms go, this one is not even on topic.

They could have replaced that whole paragraph by "what aboutism america!" And no information would have been lost.

Seriously, what aboutisms have no place in serious discussions.
Are you on Wishfie yet? Install Wishfie to share your views on any topic
I bought my mom an iPad (the largest one at the time) and bought her a printer that works with her iPad. In the two years since that, the only call that I've ever received was "Does this pop up that says 'OK/Cancel' that says my iPad is infected with a virus actually mean anything?" "No, Mom." "Ahh, ok. I didn't think so."

Works like a charm.
We barely know which regions of the brain recognize shapes, let alone exactly how it does so, yet we've built machines that can do it.
Complaining is the opiate of the masses.
And elisp.
That is incredibly alarming. I follow UK news with great worries about internet freedom, freedom of speech and human rights in general. I don't understand how the population allows this??
Transform React component to Vue component
Yes. But Apple is a private company, that is there prerogative.
It's a business after all and China is a huge market for Apple.

No one ever said that capitalism was very aligned with human rights. ¯\_(ツ)_/¯
> Something lots of people in the tech community get really hung up on is focusing on tech and technique rather than what the technology is doing for the user.

This times a million. Outside of games, I've seen this happening a ton in the social media world. You see lots of people on Reddit boasting about 'Reddit replacements' they've made with the latest fancy programming languages and server setups and what not as if that's what people actually care about.

They don't. They care about the community on the site and the content you can find there.

And the fact of the matter is, your fancy tech demo is completely and utterly dead. No one uses it, so there's no reason for anyone to bother with it either. You're spending all your time tweaking the code and making design adjustments while your site's last post was six weeks ago.

Stop with the server setup stuff and constant tech updates and post some content instead.

Same goes with games here too, as you mention. It's great you're having fun with the programming side of things, but the vast majority of the world doesn't care how it's been coded at all. Spending all your time on a well coded system and ignoring whether the game is actually fun to play is utterly pointless.

As is spending too long trying to be 'perfect' too. You know who else was like that?

3D Realms when they made Duke Nukem Forever. They were so enamoured by thge concept of making the 'most technically advanced game ever' that they wasted 15 years on the same project and didn't actually ship anything.

What they should have done was accept their game was midway through development, finish what they had and released it. People would have liked it, the money could have supported future games and they'd have 5 Duke Nukem games finished in that time frame rather than a few tech demos.

Enough with the tech obsession here. Focus on what matters, your game or product's actual purpose and who it's made for.
Facebook for $6bn? 10 years ago today
So maybe there's a better way.

There's a reason those articles are so bad https://www.theregister.co.uk/2017/07/06/robo_journalism_goo...
If she could. But they would need to build those first before considering the next step of blocking VPNs. See austrailia at risk also. I doubt it would ever happen in America, however.
It is, but it's a far more nuanced version. Lack of funds is more leadership to blame. Getting sued by a patent troll, is what we all hope our side projects avoid long enough to obtain sufficient funding, so we can pay the crooks if need be.
You can kind-of do it in C/C++. Unless the function is inlined. The sad reality is that the optimizer screws you over here - either you run your code unoptimized, with all the metadata present (no inlined functions, every function and every method of every class has a symbol, etc.), or you run your program fast. There is no notion of de-optimizing the binary, replacing the definition of a function and then re-optimizing.

You could write that, but it would have to be some kind of hypervisor that combines make+gcc+ld in one package that can dynamically recompile, relink and replace code that changes.
Seems like a rough equivalent to LXD, but using VM instances instead of containers, and more actual cluster functionality versus just remote commands.
That's hardly an Apple-specific issue though. I'd argue we shouldn't trust any corporation -- like Google, Amazon, Facebook as well -- and assume they are in bed with the agencies from the get go.
I’m curious how helpful this is in practice. Often, if you’re going through the pain of using C++, you probably care a lot about performance, so you also try to make sure to minimize use of virtual calls.
Guys you are right. Not sure, where i got that information. Sorry.
What I expect them to do is this:

1) Put up as much of a fight as possible, just as they have done in the US.

2) Allow sideloading of apps.
GFW managed to screw IPSec ages ago. It is also worth pointing out that the GFW itself is built on top of Linux systems.
When I worked for an ad agency I was specifically told not to add event level tracking to campaign sites because we knew engagement was awful. We could easily give the client some great vanity metrics on things like number of visits but the moment you dug into conversion rates it all went to shit.
I actually do feel that expectations are behind reality, at least amongst those who are just barely too smart for their own good. I still see comments daily on HN or Reddit that promote the narrative that there is no AGI, people only work on ML, and all ML is a narrow party trick. And I think that is a terrible characterization of what, e.g., the computational neuroscientists are doing. Peruse some of the research happening at MIT and Stanford right now, and I don't see how anyone can cling to the "it's just ML" canned response.
In some cases you'll see that they leave your page immediately- too fast for a human to process that it's not what they want if they've actually clicked on an ad. Like, one or two seconds.
PPTP and L2TP are blocked, we mainly use Shadowsocks. And what Apple did is removing apps that provide Shadowsocks local client.
e.g. Surge, Shadowrocket, Potatso‏...
Grdb: a graph database being developed at the University of Colorado
I wrote a layman's post about what end-to-end encryption is here: https://standardnotes.org/blog/2/what-is-end-to-end-encrypti...
This from the company that removed the headphone jack from their phones while crowing about the "courage" involved in making the decision.

I'm not going to pretend to believe that Tim Cook's letter (cited elsewhere) was much more than a PR move in a country they were unlikely to face any substantial consequences for (at least publicly) standing up to the government, or that I really believe that corporations have a responsibility to protect basic human rights (though it would be nice if they did). Still, it'd be nice if corporations didn't try to have it both ways and maintain an image as a courageous force for good when it was convenient while washing their hands of responsibility for any actual action when it became difficult.
> to cushion hit you hard if your unrestrained head happens to get close to the steering wheel but not as hard as the steering wheel itself would hit you.

The belt does that unless you literally have a rubber neck.

The point of the airbag is to restrain your head so that it does not snap forward too fast and break your neck (heads are heavy, and necks were not built for sudden forward deceleration), that's why it needs to inflate so fast: it has to be fully inflated before you faceplant in it, so that it can slow down your head's forward movement, that's why it has vents and starts deflating as soon as it's fully inflated, and by the time you've stopped it is fully deflated.

If it were a cushion it would have no reason to deflate on its own and the deflation would not, in fact, make any sense at all.

> Google "HANS device". That's a restraint.

The HANS device is a better restraint, it is also a much more cumbersome one and requires wearing a helmet, nobody is going to wear a HANS in their while driving to the corner store.
Show HN: HTML to JSON to DOM
Trusting News Project Report 2017
> gobertment

Curious and slightly off topic. Was this intentional or just a typo?
For me, it's been keyboards with ctl and alt on both sides. Thanks to Xah Lee [1]. This rules out Macbooks (and most laptops) and favors Thinkpads, though currently I have a Dell Precision laptop and it has ctl and alt on both sides but the ctl's are not symmetrically placed and it is a bit annoying and not as good as the Thinkpad it replaced but it is workable.

On my desktop, I have a Microsoft Natural Ergonomic 4000, which is an awesome keyboard and cheap and robust. The major compromise is that it is corded to USB, but for me it is worth it.

That said, it takes practice to develop muscle memory to use both ctl keys and both alts and key bindings that require switching ctl keys to touch type feel strange.

[1]: http://ergoemacs.org/emacs/emacs_pinky.html
Nope, it was the NHS trying to get Tory to raise their budget...

PS. Speaking of crazy conspiracies, look up "UFO Obama" on YouTube for a good laugh.
A virtual call on a modern processor is typically not very costly. Too much inlining, OTOH, can be (if it generates bloated code that trashes your cache)
Embattled Wells Fargo now rocked by car insurance scandal
In case anyone is wondering this is a Node application that implements HTTP->LDAP gateway with JSON response/entry encoding and REST-like request encoding. It would work with other LDAP servers (modulo the use of the paged results control which not all servers support).

The hard work is done in this package : https://github.com/dthree/ad

and this one:
https://github.com/mcavage/node-ldapjs
Executing time-consuming tasks asynchronously with Django and Celery
I think "tablet" is a misnomer here (though understandable) - calling it a touchscreen would be better. Anyway, seems it's sturdily attached: http://st.motortrend.com/uploads/sites/5/2017/07/Tesla-Model...
Optimising Your Everyday Code
Show HN: Lead411
> You know which one that is, even if you don't know you know it. Think about the last movie you saw that was made since 1980 and included American soldiers. What rifle were they carrying? There you go.

See I thought that was the M-16; I could even have told you "the civilian version is the AR-15 and doesn't have full auto" but I'd never heard it called an M4 before. (Speaking as someone from a non-gun country whose only exposure to any of this is popular culture).
Tweet their customer service (@FedExHelp). My friend who works in tech support (not at FedEx) recommends this practice.
Vinci engine production that will power Ariane 6 upper stage started
Is it possible to borrow against your houses "worth" in China? I'm wondering if these high valuations allow residents to borrow larger amounts of money using their houses "value" as collatoral? If so is it common?
Never heard of it, couldn't tell you anything about it - it's not one you see in movies / on flags / what-have-you (indeed the IRA are rarely seen in movies full stop - perhaps because they were allegedly Hollywood-funded?)
Profits before people, the Apple motto.
Does the language lack some maturity? Sure. But you don't have to use pure elixir for everything. You can leverage most Erlang packages. Phoenix is hosted on Cowboy[0] which is a mature, battle tested web server written in Erlang.

[0] https://github.com/ninenines/cowboy
It's part of new natural selection I guess.
In democratic countries, at least you have that possibility. Elsewhere it might not be possible at all. Nationwide censorship and surveillance are probably pretty effective technical “solutions” for preventing change.
Hopefully this is a step towards QtWebEngine (Blink) on the open source distribution of Qt on Windows. Right now you are limited to QtWebKit.
Underwater hunt begins for lost Avro Arrow models
You literaly want German government to subsidize purchase of products built by certain american corporation?
That's not a problem per se, as long as those drug users are happy and don't put their health at risk excessively.
Do Not Use BitTorrent should be numero uno.
I have the Toyota Prius C which is based on the yaris. I absolutely love the center console indicator and hate driving cars with it behind the wheel now. I'm really glad to see more manufacturers switching to the center console displays.
My wife's has driven a Yaris for 10+ years which has everything on center console. You get used to it within minutes of driving it. Obviously it is perfectly legal
Quite the opposite, neural network research & experiments show that discreteness isn't a problem - in particular, there's no benefit on having a model with more fine-grained values and that even extremely discrete models (e.g 8 bits or less) work quite well.
Actually, you can say that people are scared to seek help because of the stigma. In a country with a judgemental culture of shame like Sweden you're in between a rock and a hard place. Because anyone with a credit card can access your legal history and see if you have been convicted for something, it's a pretty self destructive choice to make, and leads to unnecessary suffering.
You are worth ~26€ to Google. On average, only ~5% of users are willing to pay, so each paying user would have to subsidize ~19 non-paying users for such a model to be profitable.

This would result in you paying around 600€ to use Google.

Alternatively, in a paid-only scenario (where you just pay the 26€), Google would become such a niche product that it'd become irrelevant.
The idea of using channels for network RPC has come up before, and it's still a bad idea.

As jerf points out in the /r/golang thread [1] and this [2] older thread, Go channel semantics don't match network semantics. In particular, Go channels have exactly-once delivery, which is impossible to do over the network.

Go channels are designed for communicating between goroutines; they work more like a signaling mechanism than a data pipe mechanism. They have too many design trade-offs to be practical for anything else. They're terrible as general-purpose queues and pub/sub-style topologies, for example. It's tempting to use channels are "iterators" because of range{}, but that's also a terrible idea. Buffered channels should be avoided unless you know exactly what you're doing. And since unbuffered channels block on send, you have to be super careful about goroutine interdependencies; the only way to avoid causing receivers to block senders is to wrap the send call itself in a goroutine, but if you do have slowness, you can accidentally fork millions of goroutines this way. Channel ownership is tricky to get right. And so on. Channels seem trivial on the surface, but they aren't. They look like Unix pipes, but they aren't. (That only one party to the communication can close a channelI consider to be a wart. Trying to close a closed channel panics.)

The reason we see people abusing Go channels like this is simple -- channels are generic and support type-safe type matching (with select{}). They sound like a perfect match for certain things. But they really aren't. Channels are really a great argument for why Go could benefit from generics.

[1] https://www.reddit.com/r/golang/comments/6q4p1j/comment/dkv6...

[2] https://www.reddit.com/r/golang/comments/2gecvq/netchan_go_c...
Because no one cares. Or people who do are in minority. I've had discussions both in real life and online with people telling me they don't understand how I can be against surveillance, it's meant to fight pedophiles and terrorists, so of course it's good,right?

In general, in 7 years of living in the UK, it is definitely my observation that British people in general trust the government to do the right thing. They were not brought up with an ingrained distrust of authority like people from some other countries were - not everyone is happy with the government, but people in general belive that the law is the law and if something is illegal there is a good reason behind it and they don't need to get involved too much.

This level of political apathy and lack of interest in their own country is really shocking at times.
> * every 7,500mi: rotate tires

What's that?
Hey guys I know this post will be one of the most meta things to post here and probably a lot of people will say "what's the point?" but I thought it was cool so thought I would share.

For background, I am working on a JS library called cell.js (https://www.celljs.org), which turns a JSON object into a dynamic web app.

Anyway, this particular app (HTML to JSON to DOM) takes any HTML, parses it into JSON, and feeds it to cell.js, which then turns it back to DOM again. I built it because sometimes I just want to take an existing HTML and transform it to JSON, so I can turn any existing website into cell, and it works pretty well for that purpose.

You can try copy and pasting any website HTML into it to see the effect, as shown at https://github.com/gliechtenstein/HTML2JSON2DOM. Hope you find it cool as well!
Seems that Apple is just following, with much delay, the law of People's Republic of China. I don't understand why some people think companies should be above the law.
> No one ever said that capitalism was very aligned with human rights. ¯\_(ツ)_/¯

Typical answer I heard in this case is that you can create your own Apple and provide better and cheaper service and respects human rights. (No, in the eyes of mindless capitalists[1] barrier to entry doesn't exist.)

[1] By that I mean people who say every single problem on Earth will be forced if only all regulations and governments are dissolved and 'free market' can 'regulate itself properly'.
Billionaire Laurene Powell Jobs Acquires a Majority Stake in The Atlantic
> And if you want to get things done in F#, don't use .NET Core. :)

Yep - stick with the version of .NET that MS is desperately trying to deprecate - remember recently when they tried to get away with not supporting ASP.NET Core 2.0 on the full framework?

> Good thing .NET Core is merely the .NET du jour, not the only .NET.

Yep, who would want to use the cross-platform, modern implementation of .NET?

> That's less than 10% higher.

Except that F# has been around twice as long as Elixir (2005 vs 2011.)

F# is the minor league team that C# farms features from. Nothing more in microsoft’s eyes.
Interesting...they specifically say that the Rev share for mobile ads and video is undisclosed.
I wrote one a simple php script to pull in some rss feeds and present. It also loads a link by get request and strips out ads and other unwanted junk. Nothing special, but it does the job
Aren't they forced to follow Chinese laws when doing business there? Not saying what they did is moral but it seems the moral question here is whether they be doing business in China, not whether they should be following the laws while doing business their because they don't really have a choice once they decide to do business there. Google for example doesn't do business there so they don't have to respect censorship laws.
I've had good luck with JSX in web-mode. It just kind of... works?
>With your traditional instrument cluster placement, the steering wheel blocks the indicators.

who cares? I'm not looking at my speedo or tack in a turn, I'm watching the road. This feels like justifying poor design with an edge case.
As a german having contact with many german car engineers and managers, our car brands really need a wake-up call. Badly.
How exactly would they help respect it?

Their choices are, as far as I can tell, to either remove certain apps from app store, or to face the app store blocked entirely. I wonder what servers their customers best.

It's hard and unpleasant to conduct business in a place where laws are at odds with what you believe is right. But when it's lucrative enough, you may choose to shut up and comply.
Alternative title:

Apple complies with law in countries where it operates.
What's the reason Ubuntu didn't work?

That's basically the setup I have with my dad.
He's using Ubuntu on desktop, which I taught him to use. There wasn't much to teach. He really just wants to use a browser. I taught him how to scan documents and print documents as well. That's pretty much all he needs to do.

And then he has his iPad as well, and I taught him how to print stuff from his iPad too.

I also got him to use 1Password, and he has unique password for each site.

These are all things I've taught my dad to do.
You do realize that IBM was not responsible for killing people, right? They only provided the infrastructure that other people used to find the people they wanted to kill. What's wrong with that?

Also, the people nazi germany killed were not innocent. What they were doing was highly illegal, such as being a jew.
> Unless there's an instruction you need that doesn't have an intrinsic or you're writing something like a spin lock where instruction ordering is critical and a compiler barrier for some reason is not sufficient, there's no reason to ever write assembly.

So there are reasons to write code in assembly language.
I've always loved the idea of a back-to-basics www2 project. Not enough people care about this stuff for it to ever work though. 99% of people are perfectly happy with the FB/Google/etc world.