skysight-inc/HackerNews huggingface dataset:
Pairs trading/hedging is not "arbitrage." It's a risk-mitigating strategy.

An arbitrage strategy would be a strategy that would be guaranteed to make money. (And would probably not be shown on a blog post)
I'm talking about bad connections, not necessarily mobile. This applies especially to situations that companies like G-Advetures face. In South America they have to deal with perfectly fine desktops, but very high latency internet connections. Submitting a form can take 20 minutes or more.

A text only version like the one described would be far worse than a JS heavy one. JS free forms are naturally synchronous. So each edit would kill the ui for a full refresh cycle.

On the other hand a SPA type page can send data in the background white you're doing other work in the app.

Sure there are crappy mobile friendly sites, but that doesn't invalidate the idea.

On a side note I'm not really sold on the whole CDN idea, it just looks like another HTTP request and another point of failure. Concatenate / uglify seems like the better solution.
Nano Sculptures by Jonty Hurwitz
What does that even mean? It's nonsensical.

Underneath x86 assembly language is the processor microcode, and underneath that is the actual hardware, and the two are intricately intertwined.

You can replace the hardware; C compiles, for example, to everything from ARM to x86 to Atmel's AVR harvard architecture.

You can replace the language; everything from C to Swift to Rust can target almost any processor architecture, without externally enforced limitations.

Microsoft can ship the CLR for ARM, x86, PowerPC.

You can't replace JavaScript. Everything must pass through a JS JIT, and the JS JIT is written using functionality that 1) it requires, and 2) is totally unavailable to you.

Microsoft can't ship a fully functioning CLR for JS.
Diving into Rust for the first time
That's cause he won.
The Plot Against Trains
So the only problem with AirBnB is that some residents are too loud?

Is the solution to have governments ban AirBnB all over the world, or do you think people might be able to just agree on house rules that forbid disturbing other residents at night?

It's amazing how blind people are to common sense.
What ruling? Where does it say "completely safe"? It's hard to take you seriously when you're not even correctly identifying the document in question. If anyone is confused, it's you.
I think it's time that we consider that the problem might not be that we're hiring people based on the wrong things, but that the simple indicators of future success just might not exist.

How long does this have to be an unsolved problem before people start to think, hey, maybe future success just isn't predictable, and certainly not if all you have is a resume and a couple hour interview.

Maybe hire people with at least some demonstrated aptitude and invest in them instead.
On Firefox 37.0.2 I got "Initialization failed" quickly after
the "Authenticating" step.
Also, I guess that wrecked my invitation code …

Waiting for this to mature ;)
It's always exciting reading Rust posts on HN, so very happy about a stable release!!

I can't help but feel the language has a very steep learning curve, however; doing something like making an event-queue-with-callbacks is very hard to write out in Rust if you're a beginner with just the current docs.

I think Rust will benefit greatly if their docs compiled some articles on how to write typical systems-related code (for me, I would love to see how to implement task queues with callback mechanisms).
The community generally doesn't like that name, as it has awkward, appropriating connotations.
Sort of off-topic, but I have to observe that slides 58 and 59 are the clearest, most succinct description of how classes and prototypes are related that I've seen.
Ferrous Oxides.
The web consists of untrusted code. Thus it needs to run in an a sandbox. Creating a secure and fast sandbox is an incredible undertaking.
Author here. The issue is that, much of the time, people reading the paper just look at proxies (for speed reasons and because they're disincentivized to select wild cards). You can do a fantastic job of explaining your projects, but if you don't have pedigree, the reader's eyeballs may never go far enough down the page. It's a matter of how these things are weighed, and the weight assigned to credentialing >>> the weight assigned to everything else.
That's a blog post on an experimental approach from 2015.

Where is the competitor that could replace JS because JS didn't support concurrency over the past 15 years while the entire world adopted and leveraged SMP and multi-core hardware?
...no they weren't? They let you embed native code (platform-specific) or LLVM IR (vendor-specific) into a webpage. I don't see what that has to do with support for other languages. Anything NaCl can do, asm.js can do too, but one of these has multiple implementations, is backwards-compatible, is truly cross-platform, is well-specified, and is standardised. (Hint: it's not the first one.)
> I don't understand the author's problem with "look good on paper" This is paper that the applicant has full control over. The applicant can put whatever they want on their resume and cover letter.

Yes, up to and including blatant lies. If your company establishes a reputation of screening resumes based on certain features like university you encourage less moral applicants to fluff up their resumes. While these people may not make it through the interview stages, they force the competent but humble or disadvantaged applicants out at the resume screening stage.

> It's always been my mantra that if you can't explain something to someone with no background in it then you don't truly understand what you're trying to explain.

True, but in some cases people aren't allowed to talk about what they have done at that level. That puts anyone from a defense contractor, HFT firm, R&D group, and similar at a significant disadvantage because they can only advertise what they are doing in the broadest terms, if at all.
California Wants to Create a Task Force to Review Computer Crime Policies
Nobody has an image of finance, academia, journalism, or real estate that is bound up in the concept of 'meritocracy', though, so publishing this sort of takedown on any of those industries (and for the less illusioned, in ours as well) would induce a lot of 'no shit, Sherlock' moments.
I left Shanghai because of the pollution... And Beijing is even worth...
There is no guarantee it's possible to factor large numbers quickly either.

"Proving" isn't distinct from "mathematics". That's what I'm trying to get at. In a sense, a proof is equivalent to a computation (and it's possible to make this precisely true in some contexts).

The public at large has gotten some impression that proofs are something only some kind of mathematics needs, probably after being traumatised by high school geometry classes. Proofs are all that mathematics is.
Emacs has a rust-mode IIRC.
It depends on when they used the IntelliJ plugin. I've been using it for a few years and it is much better now than it was when I started.
That's funny, because I started hacking Rust just because the `~` sigil and friends were gone. :-)

Before that, so many sigils in Rust scared me and kept me from learning it. Rust still has a bit many sigils nowadays, but it's definitely cleaner than before!
HTTP/2 RFC (7540) released
That's actually not completely accurate.. Reddit has this bot called AutoModerator which has, among its numerous other functions, the ability to blacklist users. A blacklisted user's comments/posts will be deleted as soon as the bot sees them.

In theory, this only applies to subreddits where automoderator is installed, but in practice, automoderator is installed on every sub above a certain size simply because it does a lot of cool things.

In essence, a user can be "soft" shadowbanned this way.
Just like squarespace and WordPress.com we are resellers but all the domain management happens in your blog admin with the SunSed beautiful and simple UI
Can someone explain the isNaN part of this slide: http://brendaneich.github.io/ModernWeb.tw-2015/#46

I would expect isNaN("LOL") to be true. Why does he put "true?!", and why does Number.isNaN("LOL") evaluate to false?
There is a theory that Icahn is so rich and old that the money doesn't really matter to him much anymore. Instead he gets the most value from investing his money in ways that entertain him and sometimes that's by poking people he doesn't like in the eye (Ackman, Andreessen).
Robo-car, go Google's latest self-driving prototypes are heading to roadways
Hi! You are in luck! Today, this was posted: http://blog.piston.rs/2015/05/14/Visual-Rust-0.1/
If you have dnslib installed (https://pypi.python.org/pypi/dnslib) you can also do something like:

python3.4 -m dnslib.client --server <ns1> --diff <ns2> <domain> <type>
Researcher turns tables, discloses unpatched bugs in Google cloud platform
I would imagine most of the time would likely be spent traversing the object graph (i.e. chasing references), making it O(number of references) rather than O(allocated size)
Finance seems to be based mostly on cultural fit and willingness to put in extreme hours. That may actually be easier to test for.
In the UK there are 'Party political broadcasts'

http://en.wikipedia.org/wiki/Party_political_broadcast
The link opens into a blank HN page.
install my `cargo-do` utility and it can be `cargo do clean, update, build, test` instead ;)

github.com/pwoolcoc/cargo-do
The author's dismissal of the "emergent property" argument on the grounds that it is a convenient explanation without proof is intellectually dishonest. We have no universally accepted, measurable definition of consciousness - how can this solution be dismissed for simplicity?

I think about a hard drive with a fresh version of Ubuntu installed to it. If an alien civilization found the hard drive, perhaps they'd be able to measure all of the physical properties of it. But they'd have no idea that an operating system was an emergent property of the drive because they didn't have an understanding of, at minimum, the following:

- Binary representation
- Processor architecture (including the specific processor for which this was compiled)
- Big-endian / little-endian representation
- Disk formats
- File systems (hell, the concept of files in general)

It's entirely possible that we could observe and measure consciousness if we knew what to look for.
Edit2: When do you switch off your transpiler and serve native ES6? In 2020?

Original:

What do you do in 2017? What if you already code in ES6 and transpile it to JS5 at the moment. Do you simply switch from serving JS5 to JS6?

Older browsers (todays current browser) don't support "class", "let" and other new syntax constructs. The just fail with JS errors. Can one browse the web with IE11 and iOS 8 Safari in 2017? (e.g. "lifetime support" of the device)

Polyfills can be used for pre-JS5 browsers. But can you polyfill "let" and "class" syntax keyword? One can today still browse the web with IE6 and Phoenix 0.l (early Firefox), despite a few glitches and layout bugs. Many sites use polyfills like JQuery and still use JS3 functionality made popular by Crockford "JavaScript the Good Parts". JS5 added a few things that JQuery made popular.

The syntax changes between previous JS versions were smaller in comparison to ES4 and ES6 (ES4/E4X failed and was abandoned).

Edit1: I added "What if you already code in ES6 and transpile it to JS5 at the moment." as the second sentence to make it clearer. As several down voters misunderstood my serious question.
Google versus Oracle case exposes differences within Obama administration
> You mean like Firefox?

Firefox is entirely written in JS? Or just the parts that fall within what JS can do?

The JIT isn't JS. The TLS stack isn't JS. Most of the heavy lifting (e.g. the DOM) isn't JS.
>Maybe hire people with at least some demonstrated aptitude and invest in them instead

how do you demonstrate this?
That makes sense.

Additionally, I realized after posting my comment that not all of these houses are newly-built; so it could be an issue of what's available on the market.
And I'm grateful that you took your time to let the language mature.

If Rust fulfills it's mission statement, it might become widely adopted. While that's generally good, it also makes changes to the language hard, see C++.

So, let's hope you got the things right that you can't change without breaking compatibility.
So, 20+ years ago, javascript was a scheme(-like langauge) -- but was disguised as java for marketing -- now we can go back to a more scheme-like javascript?

I wonder if we'd be better off with a proper scheme in the browser in the first place...
NDAs, Confidentiality Provisions and How to Make Sure Your IP Stays Yours
We are working on it. Thank you for your feedback!
I think it is very short-sighted to assume that wages (or their taxation) affect the "decision" to join the workforce. It just doesn't work that way. Most people on welfare really don't get jobs paying above the welfare limit, so it can't be that they are refusing to work, get some extra money, and higher social status because the wages are so low.

For that matter, most welfare agencies, and certainly the German one with which I am most familiar, won't let them refuse such a job...
> simple indicators of future success just might not exist

No one wants to admit this. We want to have control of the future! And prediction is one way to do that.

I once read in an agile book somewhere that certain factors don't necessarily predict success but merely the maximum possible value.

As in, if you don't do X, you cannot be successful. But if you DO do X, you have a probability of being successful, but you can still suck.

So the possibility of sucking is ever present, but the maximum ceiling of possibility is controlled by the number of best practices you implement.

So maybe there's something like that. Our factors aren't predictive, but they open up the landscape to find great people.

Sucky people are evergreen.
And while there are libraries which wrap Date in JS, there is no replacement that I've seen anyone propose. Why is a replacement needed you ask? Because Date still has exclusive access to a lot of underlying browser/OS DateTime information which isn't accessible any other way.

In Java you legitimately have alternatives, since the alternatives can make the same raw OS calls that the java.util.Date library does. Not so in JS. So instead we HAVE to work with Date and work around its many warts.

I've used quite a few DateTime libraries extensively, I'm yet to see someone "better" the DateTime .Net class. It "just works" and has few to no "gotchas."
What, and Rustacean doesn't? When we Uplift our Cetacean friends, is this sort of awkward appropriation really how you want to meet the newly-conscious masters of 3/4s of the planet?

(Cough.)
Building a push notification system for scale with Go (Tales of Timehop)
asm.js doesn't support threading. it can't run native code. it doesn't support meaningful debugging. it doesn't have a post-DOM API surface like pepper.
As an European I often wonder, how do people in the US cope with this level of corporate driven politics...
I have the impression in Europe this kind of connections do exists but are seen as a serious problem and actively worked against in the legislation and even with this those connection are increasing and "growing" in weight on politics.

I have the impression what Europe is trying to work against is the normal modus operandi in US politics.

Are Europe and the US approaching some kind of middle point in the level of inter-connectivity of corporations and politics: Europe reaching it from the lower levels and the US by reaching it from higher levels?

It is really absurd how since the 60s resp. 70s after the nations coped more or less with the devastation of the 2 World Wars, politics has been reduced essentially to economic interests and agendas AND in the process gave it self up to the economic agents: large corporations which are defining politics.
Are economics, money, corporations over-represented in politics?
I've was following this, with particular interest in 'infinite zoom,' the ability to zoom out on the canvas to get past the typical arbitrary and limiting postcard sized canvas. I emailed the author and he said it was being considered. It's amazing how many drawing programs don't have this feature considering we're working on a computer, not a physical canvas.
It's just for "let" AFAICT.
14paninta replied to this, but their comment's dead (shadowban?) - anyway, I'll repost it here and respond to it.

> What does that even mean? It's nonsensical.

What it means is that the situation with browsers is not much different from the situation on native platforms. CPUs support one language, the browser supports one language. And yet I don't see anyone complain about CPUs only supporting one language, because you can compile anything to it. The same is true for JS, so why do people complain?

>Underneath x86 assembly language is the processor microcode, and underneath that is the actual hardware, and the two are intricately intertwined.

Underneath JavaScript is native code produced by a JIT compiler. It's not super-intricately intertwined with the underlying OS and hardware, but it's not incredibly abstract either.

>You can replace the hardware; C compiles, for example, to everything from ARM to x86 to Atmel's AVR harvard architecture.

>You can replace the language; everything from C to Swift to Rust can target almost any processor architecture, without externally enforced limitations.

You can also retarget stuff compiling to JS to compile to something else, like Lua.

>Microsoft can ship the CLR for ARM, x86, PowerPC.

> You can't replace JavaScript. Everything must pass through a JS JIT, and the JS JIT is written using functionality that 1) it requires, and 2) is totally unavailable to you.

Yes, everything must pass through a JS JIT... you don't have access to the underlying native code. But everything on a CPU must pass through its microcode translator. That uses functionality it requires which is unavailable to you.

> Microsoft can't ship a fully functioning CLR for JS.

This simply isn't true. You can write a CLR for JS that compiles to something like asm.js at runtime. Bytecode VMs with JIT compilation have been written in JS before, see Emterpreter for instance.
It does work. Incentive is different than requirement.

How else would MS ship the CLR for Mac OS X?
This is old. There are bots that scan servers for ES and try to exploit this vulnerability. Our servers were hacked through this hole before we upgraded to a newer version of ES.
Now we don't allow remote access to ES directly. We use a proxy script that parses HTTP requests from users, interacts with local ES instance and serves users with transformed data.
This "coding scheme" seems to be "unkillable" (don't know, if the wording is correct, the spell checker does not like it).

I thought, after Microsoft made a bad name about itself by using this in its "Access" product ten years ago or so (they "encrypted" passwords this way), some people should have been warned. May be it is was just to long ago ...

Within seven years or so (of operating), somebody could have come up with a different algorithm ...
I don't believe that someone needs to have a solution in order to observe that there is a problem.

The resources available to an individual for creating and reasoning are finite, and as long as one is able to give good reasons why they know that there is a better way, "there is a problem" may still be valuable information.
> "Smart Relief" is a mobile app for parental control of Android smartphones. [...] Smart Relief is not one of the 15 apps [that the government requires to be installed on teen phones] but shares similar features with them.

Why isn't this article dissecting one of the apps that is mandatory for teenager's phones, then?
There's a bill of rights and a system of checks and balances that protects me from the government. None of those things exist with private companies, not even in theory.
If you have Elasticsearch open to arbitrary inputs, isn't it a given anyone can mess you up?
I also hate error "handling" in Python, but I thankfully long ago realized that what I want is error propagation and reporting", and almost all of my use cases for "handling" errors were mistakes: what I wanted was a mechanism similar to panic that could propagate rich error context (as opposed to just strings), and that is what unchecked exceptions are. Most of my Python code that tried to "handle" errors now gets removed and replaced with better semantics: the kind of failure semantics that one might expect to get from panic, but can't, as panic loses too much context to be useful for reporting (forcing developers to use case logic).

Rust programs are littered with calls to unwrap and expansions of try! for the sole purpose of doing manual error propagation, which is both verbose in the code and slow at runtime (as the successful case must constantly produce and then check error results), just so the error can get to the top level somewhere and be reported to someone (which in turn drags a surprisingly large amount of your code into the domain of "functions that can return errors"). None of that boilerplate should be required: even with an insistence on the mechanism, it is such a clear case of boilerplate that a friend of mine finally ended up working on a compiler plug-in whose purpose was to jusy add calls to try! around anything that seemed to require those calls.
You're building yourself a false dichotomy. You can put yourself first. 99.99% of healthy people do. Having such social programs in place doesn't preclude that nor does it impede on your lifestyle.

I would say that with the acknowledgment and understanding of how your circumstances brought you to where you are in life comes another component: how you react to that awareness.

If you can see how you benefit from the disparity and injustice, and that something can be done about it, yet you willingly choose comfort and the possibility of lower taxes, the judgment is cast on you.

Your happiness, safety, enjoyment and advancement in life is not mutually exclusive with ensuring society provides a sufficient safety net.
Ask HN: Best place to buy SSL from?
It has been a while since I have bought an SSL cert. I used to use Comodo. They're alright, but nothing special.

Is there an SSL provider that people actually like?
The old mantra has been: released projects.

Someone who can show their own past work, either open-source, side-project, launched projects, or work at somebody else's company ... well there is a high chance that they can at least code their way out of a wet paper bag. Probably more than that too.

Another, perhaps better, approach is to just hire a few of the most promising candidates for a couple of days. Give them a small project. See if there's a fit.
Saying that it's unfeasible to criticize the elected without criticizing the electorate is silly. It's not that the laws are wrong in spirit, it's that they are crafted or operated around so as to benefit the people that put them in place (or their cronies). I think that making the argument that the elected are separate in many ways -- socially, ethically, and legally -- from the electorate is a very easy one to make. It's also a lesson repeated throughout history: see Rome (and the transition from Republic to Empire), Britain (and their 19th century colonial exploits), and others.
How can you be confident that "we will come back"?

(Not trying to criticize your decision; just trying to understand it).
We should generalize this for all things. If something behaves as if it has consciousness, then we should not worry if it actually has consciousness.
Yes, the Windows Script Host. But I don't believe two languages could very effectively talk to eachother, right? Couldn't they only really interact with the native code stuff (DOM etc.), i.e. the easy part?