skysight-inc/HackerNews huggingface dataset:
>So if Java can give you near equal or better performance but without the developer having to explicitly specify as much, isn't that a win?

It would be, but often times the lack of explicit control causes you to need more verbosity in Java to get around it, because the JIT isn't all knowing. For instance say you want an array of 2D vectors (x,y) and you want them in line in the array for data locality. In C# you just make Vector a struct, and put the structs in the array. In Java you would have to just put float primitives in the array and alternate the x and y and keep track of it by hand. Minecraft suffers greatly from this.

As well, Java won't do anything but the most trivial automatic vectorization, and only on integers, and SIMD can be a huge win at times. I'm looking forward to more complete support droping for .net

>Benchmark game also lacks the benchmark the Mono blog post is all about - developer iteration time.
Soon we will all have JDK, .NET runtime and WAsm runtime running on our machines.
WooCommerce one page checkout
Dystopian? Yes. Unlikely? No.

Right now you have US military personnel sitting at a desk in Ohio launching missiles from a drone in Afghanistan to kill bad guys. Why wouldn't they also use killer robots when they become available?
Competition seems to have turned the so-called "policy debate" into a highly stylized ritual that bears little resemblance to true debate, and having little relevance outside of its own domain. To my mind, rewarding arguments regardless of validity or relevance, and favoring the number of arguments over their cogency, has destroyed its value.

https://www.americamagazine.org/arts-culture/2017/09/26/corr...
> People install or explicitly download code they want to run

Not really, explicit installation are not the real difference: you ask for one package in some package manager and you will commonly implicitly get a bunch of other dependencies installed, you will likely never be able to feasibly personally audit all those implicitly installed packages if we are talking about e.g OS repositories...

The real differences are:

1. Trust of the authority that maintains a collection of repositories.

2. Execution permissions.

i.e The package manager for your OS can install code that can run with root privileges if it wants, but you have trust in the authority that maintains the package lists. With the web there isn't any curation of package lists, but the code is sandboxed.
http://www.omgubuntu.co.uk/2017/02/ukuu-easy-way-to-install-...
See also the Big Mac index:

http://www.economist.com/content/big-mac-index
Our actual measurements and server loads proved otherwise.

Actually, in reality things were exactly opposite of what you suggest: it provided no noticeable benefits for development, but massively improved performance in production.

Spawning a process on Linux is more expensive than spawning a thread or reusing the same process via a fastcgi type setup, but it's not all that expensive when you're spawning a statically linked app with no complex startup code and the app is guaranteed to be in the buffer cache at any moment.

What killed CGI for most uses was not process creation overhead, but dynamic linking and applications not written to take advantage of the fact they'd die quickly.

We knew that because we actually measured first, before deciding what strategy to take.

We got performance very close to a fastcgi type setup with the above method, and without the complexity of ensuring we didn't have any resource leaks anywhere.

Doing the above was enough to bring process startup overhead sufficiently far down our list of performance issues that it was not worth optimizing further.
I wish they made their existing service work the same on all platforms. HD content is practically not available on Linux (HDCP issues) and half-works on Windows (works on my desktop but not on my laptop although both should be HDCP compliant).
SIMD is like the kids version of GLSL, which works today :)
My desktop has an R9 Nano (using a GCN 1.2 aka Fiji core) from 2015. I've been using AMDGPU since Linux 4.5 and couldn't be happier. Everything that I do works as intended, from desktop compositing to Minecraft to Steam games (no AAA stuff, but e.g. Cities Skylines and Portal 2 work flawlessly).

(Haven't tested OpenCL, multi-monitor and HDMI audio, though.)

So IMO, if your GPU is supported by the AMDGPU driver, by all means give it a try.
15 Worst Tech Predictions of All Time
They tested the performance of the hardware (CPU, GPU, etc), not of the APIs or updated apps.
So the CPU and GPU of my iPhone 6 are just as fast as when they were released. But I can guarantee you that the camera app as well as a lot of third party apps aren't as fast as they were when I bought the phone.
Measuring Quality in Customer Support
Or it's someone who has had discussion after discussion with 'Murican "libertarians" and has realized like most people they are too stupid to have an actual rational discussion not clouded with Randian dogma. But good for you for being such a moderate. What would we do without such wisdom?
According to Google, a GUI for installing newer kernels on Ubuntu.
> using Ukuu on Cinnamon

You probably meant to say "Ukuu on Ubuntu". I'd be disturbed if my desktop were involved in kernel space.
I don't understand this. What are you afraid of? Are you like Richard Stallman, only downloading webpages from email clients or something? Do you have filters that strip all javascript from the web pages you browse?

If you're not one of these guys that refuse to execute any binary code that you have not compiled yourself, you should welcome the possibility of running binary code from a sandboxed web environment.

I, for one, wish I could run all my proprietary software on the web, and restrict all my native applications to FOSS. That's a prospect WASM enables.
perhaps we should implant them in everyone, then monetize their time left..... http://www.imdb.com/title/tt1637688/
There is even an ActionScript to Javascript __piler https://as3js.org/
How to get a free iphone7 from apple??
Vitality Health has already started down this path [0], and are doing a fantastic job habituating people to accepting sharing this data.

They have borrowed an identical copy of the auto insurance industry playbook [1]. Start out by offering "discounts" in exchange for tracking, and then slowly the cost of the insurance ramps up, unless you have the discount.

[0] https://www.macrumors.com/2017/10/24/vitality-uk-free-apple-...

[1] https://www.progressive.com/auto/discounts/snapshot/
And it is very easy to host your own instance of Amazon or Google :-)
I guess I should have just googled myself.
Actually, it's pretty consistently designed and laid out - that's not something you can fault Google for these days. Here's a screenshot of Google https://i.imgur.com/tiVr0bd.png to compare with DDG https://i.imgur.com/01Lkf2z.png (with no ad-blocking on mine) - interestingly, the top adverts are the same, both CircleCI, but I prefer the Google version, which has pricing as well, much more likely to lead to a click. Also, DDG has a second advert, under the infobox on the right, so actually 200% of the advertising that Google serves!
I wonder this, too. I use uBlock Origin in medium mode (advanced settings available, no third-party scripts or frames until enabled), and it seems to do what's needed. It breaks a lot of things, but also makes it easy to fix them.
Collection of web-based virtual reality experiences
Fortunately I am tax resident in a country where I will pay taxes on my stock (options) no sooner (actually up to a year later) than when I make money off them with a simple CGT tax.
Taxing options before they are exercised and before people made actual dollars off them is just crazy.
Unless you are a founder, stock options is just a nice lottery ticket on top of your salary.
> An option to keep the source of the web app closed will fragment the web dev community yet again.

But this changes nothing. It was always possible to obfuscate JavaScript, just like every other programming language.
This is one of the raging debates within the RISC-V group and elsewhere. Is weak memory semantics really worth it or can x86 style TSO be implemented optimally.Lot of anecdotal evidence but no conclusive experiment. As part of our work we hope to try multiple memory models in our I-class and get some definitive answers.RISC-V by the way supports ARM/PPC style weak memory model or optionally an x86 style TSO.
Also good is RoboBrowser which combines beautifulsoup with Requests to get a nice 'Browser' abstraction. It also has good built-in functionality for filling in forms.
Is Kotlin is one of the powerful language for Android app development?
Identifying Trending Twitter Hashtags in Real-Time with Wallaroo
Ask HN: Anyone Done Virginia Tech's Online Master of IT?
Has anyone done the Virginia Tech Online Master of Information Technology? If so, how did you like it and why did you choose it over others, like Georgia Tech's Online Master of Science Computer Science?

I'm attracted to the interdiciplinary angle of the VT program, but it has less name recognition (I can't even find a single mention in HN search) than some others. Plus, at 30K, it's several times more expensive than the Georgia Tech program.
Doing just straight allocations in C++ without de-allocations has pretty much same effect. It'll ask for memory from the OS in large chunks, and without anything ever being de-allocated, unless your allocator is too smart for its own good, allocation can be extremely cheap.

I did actually try a custom allocator that'd just hand out sequential pieces of memory from a large buffer without keeping track of it at all, but if it made things any better, the effect was small enough that we couldn't reliably measure it.
Can anybody ELI5? The documentation is pretty fluffy.

Does WebAssembly actually open up any new API hooks? I get that its a clever way of transpiling existing programs to JavasScript, but surely we could do that already?

Whats new avenues of development is WebAssembly expected to open up? Is the whole point just to enable an easy way to compile games made on other platforms (Unity) to the web?
Because we value our own citizens higher than the lives of terrorists?
Oh, I see, I thought SecurID were just USB HSMs. I'm not aware of one, I'm afraid. Why do you need that much security (and why is a phone not good enough)?

Ideally, we'll all move to U2F soon.
The US strategy seems pretty simple. A free, democratic or perhaps autocratic pro-western government. It also seems like you're willfully ignoring the history about the US allying with the Taliban during the Soviet invasion.
Her life is planned out by whom, though - she's your daughter, if you think she wants to be out riding her bike, why are you signing her up for and sending her to extracurricular activities? And there are plenty of self-directed outlets on the Internet that aren't illegal.
> Hungarians are extremely antisemitic

Some might be, doesn't mean all of them are. So [citation needed].
This only means that Opera have all your data and can aggregate it in one place.
What they're trying to explain is that so-called AP systems do not have 100% availability either. The CAP theorem applies to very specific scenarios that are not necessarily common - it is a much more narrow theorem then "CP vs AP" implies. For example, if your network partitions are usually small (i.e. there exists a majority outside the partition) and you can avoid routing requests to the minority partition (e.g. because you peer with ISPs and can route somewhere else, or internally avoid routing to a rack that is don etc.) then you won't observe a loss of A.

For more information on this perspective you can read _Spanner, TrueTime and the CAP theorem_ by the fella that coined the term CAP: https://static.googleusercontent.com/media/research.google.c...

Yammer concurred with this perspective, stating:

"At Yammer we have experience with AP systems, and we’ve
seen loss of availability for both Cassandra and Riak for
various reasons. Our AP systems have not been more
reliable than our CP systems, yet they have been more
difficult to work with and reason about in the presence of
inconsistencies. Other companies have also seen outages
with AP systems in production. So in practice, AP systems
are just as susceptible as CP systems to outages due to
issues such as human error and buggy code, both on the
client side and the server side."

https://yokota.blog/2017/02/17/dont-settle-for-eventual-cons...
Using this as well with Requests to automate eBay/gumtree/craigslist. Works very well
I think everyone who wants typing is using TypeScript, which is ES8 with optional typing.

Nobody in the JS community wants to make typing mandatory.
The myopia is assuming that every Hacker News reader is American. Many are not, and only a few countries organize debates or science fairs.
A casual intro to machine learning and deep learning
> Its highest form comes when the Lieutenant, charging up a heavily defended hill, says, “Follow me men!”—and they do.

That doesn't really endear me to the concept...
I never understood how some people consider "terror" to only be acts of terrorism in Western countries, thus reaching the conclusion that local fighters are somehow not terrorists.

If you want to use a narrow definition of terrorism, such as "participating in purposeful killing of civilians to cause terror and further your political goals", 100% of ISIS fighters are guilty. Dozens die or are hurt daily by a huge number of mines, booby traps, suicide bombs and attacks explicitly targeting civilians in Syria, Iraq, and across the world. This happens inside and outside of ISIS controlled territory.

Civilians are in no way collateral damage for ISIS, they are direct targets of genocide, sexual slavery and simply random mass murders.
Joining an army and then being prevented from deserting is one thing, but how many of these women have had no choice in the matter since the start? Hell, how many have been outright kidnapped? Seems absurd to assume every adult there is necessarily an accomplice.
You don't need Chrome for Netflix anymore; it seems to work fine in current Firefox.
Not sure what you mean (maybe i'm missing your point) but those two things are not very comparable. GLSL is an uncompiled GPU language and SIMD is a class of CPU instructions that exploit parallelism opportunities at the block level (apposed to core level like a GPU).
Build .NET Desktop Applications Using HTML, CSS and JavaScript
The Chrome part can be covered easily - just install mobile firefox which updates as any other app. Vastly superior browser with add-blocking possible, thus minimizing this vector of attack.
We use a separate schema for the API (that way we can easily version our APIs as well). The API schemas only contain views/function that expose the tables/fields/etc that we want to expose.
This happened to me an hour ago. I stood up at my desk and continued working but it didn't count according to the watch. I'd speculate that it wants some lateral movement as well - stand up and get a drink of water, maybe?
> did you mean youtube?
Top WordPress Repositories on GitHub
Toshiba Sells TV, Visual Solutions Unit to Hisense of China
Outwit Hub, specifically the advanced or enterprise levels.

It has a GUI on it that is not designed very well, and documentation that is complete, but hard to search...

But it can do just about any type of scrape, including getting started from a command line script
I work for Fitbit, but I don't speak for Fitbit.

However, this page does speak for Fitbit: https://www.fitbit.com/legal/privacy

For insurers to purchase data on Fitbit users, they'll have to purchase it from the users themselves.
> I suppose they don't teach pilots that anymore.

They do, but you need to be able to see your references to be able to do that.
> If you drive a car do you need to be aware of its internals?

You walked yourself into an obvious answer there: yes, to a limited extent you do. That includes understanding a bare minimum about tires, the engine (what noises are normal, what noises aren't normal), oil changing (why, when), windshield washer fluid, basic indications of electric problems, basics about the need to change brakes (indications of brakes going bad, why they need changed), the basics of the parking brake (and not to drive with it engaged and why), the usefulness of different types of tires (for example snow tires), why you shouldn't needlessly over-rev an engine frequently (or do stupid things like over-rev it for an hour while parked), how turn signals work and the need to make sure the lights on your vehicle are functioning, how high beams work (or at least how to use them), how gear shifting works and why it's important not to thrash your transmission (what abnormal shifting sounds like, why that matters), this list keeps going and I've really only covered primitive things that most or all drivers should know within the first year or so of driving.
When DOM access comes, all my js will hit the round file.
I can address at least the first misconception here - this isn’t transpilation to JS. This is native code that has browser APIs exposed to it, so in theory there should be massive performance wins.
Deep Learning Gives Sight to a Virtual Technician
for mostly static pages requests/pycurl + beautifulsoup more than sufficient. For advance scraping, take a look at scrapy.

for javascript heavy pages most people rely on selenium webdriver. However you can also try hlspy (https://github.com/kanishka-linux/hlspy), which is a little utility I made a while ago for dealing with javascript heavy pages for simple usage.
uBlock Origin with the default choice of lists plus "Fanboy's Annoyance" makes the web 100s of times faster.

It's now a default install on every browser of every computer I touch. Even on Firefox on Android, which works really well btw.
Any recommendations on zwave or wifi motion sensors for openHAB? This thread recommended Aeotec Multisensor 6, https://community.openhab.org/t/best-motion-sensor/8711 - https://aeotec.com/z-wave-sensor
give me qt over js+css any time.
EA's new 'Star Wars' game is so unpopular a developer got death threats
This was an agreement between local tribes and the Syrian Democratic Forces to limit the already immense destruction of Raqqa and protect civilians that were held as human shields.

If the Syrian Democratic Forces and the US to just say "No survivors!" and release the MOAB they would likely have a very hard time gaining the trust of the local tribes and communities in the future.

"This was a local solution to local issue. Coalition did not fully agree, but respected our partners decision." - https://twitter.com/OIRSpox/status/930166228727066626
Rumor has it that The Sims 5 will come with only pay toilets, and require an in-app purchase to kill a character.
Google kind of does that but OEM does not seem to implement them into their phones.
Business of Software Europe - http://businessofsoftware.eu/

Sister conference to Business of Software USA - http://businessofsoftware.org
Things like that are fairly common, especially for older websites or organizations with small teams who haven't invested in tooling. There are fewer and fewer organizations like that, but they are still around relevant outside major tech hubs
I just checked and found it on my OnePlus Two. To other OP owners: make sure you look under "all" apps, not just "downloaded".

After this finding , the data collection incident a month ago, and their last 1Gb+ OTA update that bootlooped my phone, I think I'm done with OnePlus products. I enjoyed the hardware but I can't tolerate this much malice/incompetence in software in something as critical to my daily life.

I'm sure some posters will suggest that this is what we deserve for trusting a Chinese OEM, but I still find it all very sad.

Steal data, brick devices, and leave backdoors: How to lose a customer in three easy steps.
The "secret" password seems to be "angela". OnePlus == DarkArmy confirmed?
I assume you are trolling, but I still want to say that:

- Linux is built by developers, it is not built on top of personality traits.

- Developers must have a minimum of ego to be able to believe in the possibility of creating working code.

- The priorities have been good enough to make Linux a very successful project.
WASM is used to run native code in the Web browser without going through JavaScript. With it, it should be possible to run code at near-native performance in the browser.

WASM is an intermediate representation which is output by your compiler (of your favorite language) and consumed by the browser's compiler to emit native code.

WASM is a bit similar to LLVM IR, but it's architecture independent.

Compare this to, say, LLVM and Clang. Clang (the C compiler front end) will read C code and emit LLVM IR. LLVM (the compiler backend) will read LLVM IR and emit assembly code for your CPU. With WASM, the developer will run the "front end" and distribute the WASM code over HTTP and the web browser will run the backend and turn WASM into native assembly code.

> I get that its a clever way of transpiling existing programs to JavasScript, but surely we could do that already?

No, WASM code is not JavaScript at any point. ASM.js is a predecessor to WASM that was a compiler-friendly variant of JavaScript that can be compiled to native code.
Also relevant: callahad a few weeks ago: https://twitter.com/nybblr/status/923569208935493632

Netscape navigator on DOS in Firefox via WebAssembly.
Venezuela just defaulted, moving deeper into crisis
If you speak Ruby, mechanize is good: https://github.com/sparklemotion/mechanize
Riding Light
OK, I think perhaps we've been talking slightly at cross-purposes here.

I realise now that you're talking about making the referendum binding on the government, so currently the May administration. I agree that it would have been better to include those kinds of provisions explicitly in the EU Referendum Act.

Just to be clear, the moral issue I'm talking about is making the referendum binding on Parliament as well. In terms of the legitimacy of our broader system of government, I believe that not even Parliament should have the power to overrule a properly conducted national referendum. I also don't believe it would be ethical for them to do so now, even if we accept that they have that power under our current legal system, unless for example there is evidence that the popular view has changed significantly and another referendum or similarly authoritative measure dictates a change of course.
Dysfunctional loyalty
Show HN: Http4k: Server as a Function. In Kotlin. Typesafe. Without the Server
I've recently made a little project with scrapy (for crawling) and BeautifulSoup (for parsing html) and it works out great. One more thing to add to the above list are pipelines, they make downloading files quite easy.
How Mountaineering is like Mathematics
Hi. Library author here - we thought we'd commemorate our v3.0.0 release - which adds AWS Lambda as a as a server(less!) backend - with a self-congratulatory post. We hope you like our stuff :)

As you might have guessed from the version number, http4k isn't actually that new - we've been using it in production with significant traffic (in the top 1000 globally according to alexa.com) since March so it's thoroughly battletested in the wild.

AMA.
WebAssembly is a specification of a small assembly language. This language can call into functions in its host environment. The "web" part is that all evergreen web browsers have implemented this language, and you can use it from inside your browser, and call JavaScript functions into it.

This means that WebAssembly is actually broader than just the web; for example the Etherium folks have been discussing using wasm as their language to script their blockchain.

It doesn't currently open up any real new API hooks; it's mostly about being an efficient language for computation. You get near-native performance in the browser. In the future, it may or may not grow more hooks directly into the web platform, rather than needing to call into JS to do so.