skysight-inc/HackerNews huggingface dataset:
For a little while, I used a YubiKey NEO-n as an OpenPGP smartcard, with gpg-agent running as an ssh-agent (so that my SSH key was only present on my smartcard).

While great in theory, the authentication time made it totally impractical to connect to multiple servers at once.

I know this doesn't invalidate the general idea of using gpg-agent as ssh-agent -- just an anecdote.
I am not aware of anything that has been made illegal to the general public because it was used to gain an advantage in professional sports.
>and there's something very off putting politically about hard-working middle-class families subsidizing ultra-sports cars for the wealthy.

Never thought of that actually. I agree with you, Tesla's going to bomb and the only benefit it made was to entertain the 1% for a while.
Market rate means what can be achieved in the market. Only being able to offer low wages means that the company cannot compete at the market rate. Typically a consultant will have a multiplier of at least 2x and more likely 3x. They have to cover overhead and risk and generate a profit directly from the rate. A company that makes widgets makes their profit mainly on the price and sales volume of widgets...reducing overhead helps but isn't the driving force.

The consultancy may need to raise its rates or its principals may need to accept lower rates of return on their equity in order to pay market rate salaries. Or they can bill out staff with lower expertise at lower rates. Particularly if they are competing on price.

But if a consultancy is competing on price, then their also probably looking to profit from the buy out clause on their employees. Letting talent go to their clients is good for business. If the OP moves on to the client, the consultant has a relationship with someone inside. This is good [usually] when it comes to getting future work.
> Python in ES6/7 with generators and string templates.

When I think of generators and string templates, Python is not one of the first three languages I think of.
Just out of curiousity, why not use reStructuredText?
Kind of puts Sony in an interesting position... their defense against this could end up being part of precedent that weakens EU software patents... I haven't researched but based on other "intellectual property" actions in the past I assume they are pro-patent and have a massive portfolio.
"Moore's blues songs are a million times better than his rock era, IMHO. Some nasty-sounding guitar tone there."
Say what you want about the tone, but watch this and tell me his 80s playing isn't superb, I dare you! ;-)
https://www.youtube.com/watch?v=KFUW621lgXY

BB deserves a good send off. I don't know what to say, other than thank you for everything you did for the guitar, and for music, and for being a top bloke. I didn't know him personally but love how generous and charming he was in this video (some stunning playing by Derek Trucks too): https://www.youtube.com/watch?v=SS0NHlWgi5w
You gotta try a few MMPI style tests first.
I do think it's fair to call it out, though. Articles in second or third tier journals deserve higher levels of scrutiny. I'd rather see this replicated a couple of times before acting on it.
And others of us would be in jail.
You can define a binding without the value it's bound to:

let x: i32;

But you have to assign to it before you can use it.
Obligatory xkcd:
https://xkcd.com/538/
It absolutely is. Some journals have more peer review than others, and experts in the field typically know which ones will effectively rubber stamp anything that crosses their desks. That doesn't inherently make the research wrong, but it means the usual "this was published in a peer-reviewed journal" signaling carries no weight.
First i have heard of voat...
We use https://www.gandi.net/ for all domains and SSL certs and have no complaints.
Sorry for no response to the ticket, we found quite a few bugs during integration of our support system and we have a ~200 queued tickets. Please create a new one directly on http://support.lavaboom.com/help_center and I'll take care of your issue.
> I'll assume you meant 'ref = &x' in your example.

I did, thanks.
lol cheers
Ah, yeah, I'm on Firefox.
My understanding is this is due to the order in which slots are freed when they leave scope.

Variables are dropped in the reverse order they are declared.
So since `val` is declared after `ref` it leaves scope first, invalidating `ref`.

So if you change the order of declarations like so[0]:

{
let x: i32;
let y: &i32;

x = 42;
y = &x;
}

Then it is perfectly legal.

[0]: http://is.gd/q8BQ18
The common flu is non-lethal? Facepalm

Flu deaths are hard to measure but "CDC estimates that from the 1976-1977 season to the 2006-2007 flu season, flu-associated deaths ranged from a low of about 3,000 to a high of about 49,000 people." - http://www.cdc.gov/flu/about/disease/us_flu-related_deaths.h...

Furthermore, I personally know one of those people killed by the flu.
I see so this works similar to how blockchain.info site works in the browser, with the server used for encrypted backups and to retrieve blockchain data.

Thanks for answering
What's the deal with compiling Rust to JS? (That's not discussed on the website.)
How Periscope should redesign its interface to reduce abuse
Ask HN: Flow chart application for Mac?
Hey everyone,

I'm looking for a simple, and free, application to build flow charts and diagrams.

I'm starting some documentation for a large project I've been working on and in need of something to build visual aides.

In the past, on Windows, I've used Dia - pretty cool, but very clunky as well.

Do any of you have a recommendation?
My self-published book's Kickstarter campaign: How I did it, what I regret
I definitely have some things like that in my work history and I totally understand where you are coming from. In my experience, in this very specific instance of having done things you can't talk about, the aurora around having done classified work usually balances out the fact that you can't talk about it.
Show HN: Distribucache – Node.js datastore-independent repopulating cache
Well, your first issue is that 'ref' is a keyword, so this doesn't work. Changing to just 'r', you get a 'not long enough' message. This is because you defined them in the order 'ref then val', but they would be destroyed as 'val' then 'ref'. That would leave 'ref' dangling, if even for a moment, like here. That'd be bad.
The OP is no more distracted by the money than their employer. It's business and a 500 person company isn't really small by any social measure, it left the ten pizza rule size a long time ago.
> 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?

Because we don't write assembly ourselves. Unless we are doing micro optimizations, we don't even have to look at it. We do however, have to look at your shitty JS.

JS is not the "assembly of the web". It's a high level language. Your comparison is idiotic.
I wonder if it wouldn't have been better to just declare "javascript 2", and write a compiler from "javascript 1/legacy" to "javascript 2" in "javasript 2" -- and suggest browsers/implementers used that.

I mean, do we really need both let and var; function * , function and => (I suppose having to mark a function as re-entrant at least one can understand, though)?

In the presentation, it's not clear (granted without commentary) why one would ever, for new code, write:

// Interpolate expressions into a template string
var name = "Bob",
time = "today";

console.log(`Hello ${name}, how are you ${time}?`);

function dedent(strings, ...values) {
let result = '';
for (let i = 0; i < strings.length; i++) {
result += strings[i].replace(/\n\s+/g, '\n') +
values[i];
}
return result;
}

console.log(dedent `Hello ${name},
How are you ${time}?`);

And not:

let name = "Bob",
time = "today";

console.log(`Hello ${name}, how are you ${time}?`);

let dedent = (strings, ...values) => { // is this valid?
let result = '';
for (let i = 0; i < strings.length; i++) {
result += strings[i].replace(/\n\s+/g, '\n') +
values[i];
}
return result;
}

console.log(dedent `Hello ${name},
How are you ${time}?`);

I understand backwards comparability, but for at least Firefox, let won't work without marking the code in question as v1.7 anyway. It might as well have been Self, Ruby or R6RS.

While having as compact syntax as Smalltalk or Lisp might be going a bit far in the other direction -- I do wish they'd taken the time to simplify the language.
The Horrible World of Video Game Crunch
Clearly ;P. I just hope you realize that you sound a lot like the people working in languages like C or Java or Go that insist that adding abstraction and automation is bad as they want everything to be explicit and transparent :(.
UXTest – Make your website more successful
IE11 (Win8) and various devices that won't receive an update like many Android 4 and older iOS devices will be around for a few years!

Sure, you can use a transpiler and serve JS5 the next ten years (2025). What do you plant to do? It seems most simply haven't thought about the problems lying ahead.

Many were against the ES4/E4X changes that e.g. Firefox supported for some time, as they would have broken backwards compatibility. ES6 breaks backwards compatibility with the new syntax keywords and there is no fallback afaik. If there is a fallback, well then everything would be fine.

Wouldn't it be better if such vendors would ship an security & ES6 syntax support update to their old browser software?
It is possible, with a little manual hacking of the linker and some trickery with storing strings in ELF headers, to get Rust to produces 151-byte executable.

Yes, a simple "Hello World" winds up statically linking a fairly sizeable standard library, in particular anything dealing with strings has to involve a certain amount of UTF-8 manipulation and the formatting and I/O have a lot of features and thus likely fairly large code size. But for the most part that's just fixed overhead, and you can opt out of using the standard library if you want and produce smaller executables.
Can you elaborate on 'authentication time made it totally impractical' ?

Does this mean it was slow? I'm using gpg-agent on osx with a neo-n to ssh into boxes and it's not noticeably slow.
Many would reply with open source or personal projects, but I will head that off by saying that not everyone does open source (for some people, 50 hours programming a week is all they want to spend) and there are many who do open source in other areas and perhaps not with the same level of professionalism and expertise.
Swift Podcast: BDD and React Native
This guide doesn't take into account side-channel attacks.[0]

[0]http://en.wikipedia.org/wiki/Side-channel_attack
I use and have suggested https://www.startssl.com/ to several folks, who have all had good experiences. You do need to watch out for their login process, as it's certificate-based. Lose your login cert and you're in trouble. Tradeoff is cost.
I think the web is getting better in this regard. Since the introduction of emscripten and asm.js there have been some improvements to the tooling and runtime to make it so you can just write your app in C or C++ without really thinking about JavaScript.

It's only a matter of time before other languages can have the same level of support.
The Manhattan project and JKF's promise succeeded, but Nixon's promise to cure cancer didn't. Maybe we would have more luck if we pretend another nation is up to no good curing all diseases before the US.
this is Lyft committing suicide and donating its zombified corpse to Carl Icahn.
Cryptography rule #1: Don't make your own.

I guess that AES (or some other standardized cipher) was too overkill, insufficient, or mainstream for them?
Google's self-driving cars to hit public roads for the first time
WordPress and stable/battle tested don't really go together in my experience. Especially since plugin quality varies widely.

Edit: I guess I can concede that vanilla WordPress is mostly stable and very battle tested.
If you haven't played with Rust yet and are looking for some puzzles to help motivate you to learn, we've updated our Bloomberg CodeCon[1] site to support Rust 1.0. You can login and click the "Challenger Series" to get 17 problems of varying difficulty to solve in Rust.

[1] http://codecon.bloomberg.com/
Not paying for WSJ content is a mitzvah.
>Lyft raised $530 million in a funding round earlier this year led by Japanese e-commerce firm Rakuten. Mr. Icahn’s investment is the largest portion of a $150 million extension to that round at the same valuation, the company said

>The money is an extension of a round of funding Lyft announced in March that values the three-year-old company at $2.5 billion.

Doing back of the envelope math, Lyft is valued at $1.97B premoney. This $680MM round gives the new investors 25.6% of the company. Uber raises even bigger rounds while giving away much smaller fractions of the company each time. Fascinating to see how market position dictates these terms in such dramatic ways.
Just out of interest, what is usually considered "top-tier"?

Where is the cutoff after the obvious choices?
Georgia Tech? UT Austin? University of Florida? etc. etc.
Functional Programming from the Fire Hose
Yup. I'm not from US. And also my name is uncommon too. Even in my country. You know what, I didn't see enyone who has my name so far. I think I have a pretty unique name..!
Introducing Firebase Queue
Some people have gotten emscripten working, even with graphics and stuff: http://bl.ocks.org/AerialX/1041460cb9dd5876658c

My remembering is that it uses a different LLVM version than we use, which is very cutting-edge. So we need them to update before it works well.
refs don't have destructors.

This happens because borrow scopes are always lexical. This is a bug, see https://github.com/rust-lang/rfcs/issues/811.
> Instead, engineers who are willing to jump are generally able to attain much higher compensation than those who stay put - so we're incentivized to do so, rather than investing ourselves in a company and having the company invest in us.

Notwithstanding the fact there are companies that under-invest in their employees, you make it sound like engineers are being forced to try to maximize compensation.

The reality is that compensation varies, and the differences can be quite pronounced in the technology industry. A startup with minimal revenue and $1 million in funding probably isn't going to be able to compete with Facebook or Google on salary and benefits. Expecting it to is like trying to get blood from a stone.

There is nothing wrong with trying to maximize your compensation at the cost of everything else, but if that's your approach, you need to live with the fact that you will almost always have better opportunities somewhere else. Constantly lamenting the fact that your current employer can't pay you as much as another employer can is no way to live life.

Incidentally, in my experience, a lot of people who allow their job satisfaction to be based entirely on a perception of relative compensation are never happy no matter how much they make. They constantly find ways to convince themselves that they could and should be making more.
We plan to improve it in the nearest future. Yesterday I started work on support for message signing, the server part should be ready next week. Later we'll add support for fetching keys from external exchanges (such as pgp.mit.edu).
What'll be interesting is the state of VR in a couple of years. The current system of consoles will still be well within their lifespan, but unable to handle complex VR. The current specs will be considered entry level, making desktops the best place for this style of gaming. The "Rift" is well named, since we may well see a split become couch gamers and immersion gamers.
Alan Rickman looks the best.
Well, that whole "ref" thing just shows my ignorance of Rust. Thanks for the information.

> That would leave 'ref' dangling, if even for a moment, like here. That'd be bad.

I'm not sure I agree that it would be bad (except maybe from a purity standpoint). Ref is unreachable during the time it is "pointing" to the out-of-scope "val", so nothing can actually reach the out-of-scope value through ref.
I got this just this second on my debian8 system.

:~$ time ssh an6n@mybox exit

real 0m1.910s

user 0m0.024s

sys 0m0.000s
We had a long, hard think about it. We had a fairly significant amount of Markdown, the tooling was already written, and on a more personal note, I like the idea of reStructuredText, but I _hate_ writing it. If we'd have overwhelming reason to switch, we still would have, but basically, that's why: not enough reason to overcome momentum.

ASCIIDoc or something else might be nice too.
How three companies improved performance and saved money with MongoDB
Pretty sure they all have a way to get a fare estimate if you enter the destination before requesting.
I think the Internet has done that already. Peer reviewed now represents a much larger critical constituency.
There's an interesting asymmetry in peer review. If I invite an outside scientist to review my work once it is complete, that's external peer review, and it confirms that my work is sound. If I invite the outside scientist to collaborate on the work from the beginning, so they can catch mistakes before they ruin the work, that's not peer review -- I'd have to go out for peer review at the end.

Why the focus on catching errors when they've already been committed?

Some journals (https://osf.io/8mpji/wiki/home/) have started "registered reports", where you send your methodology out for peer review before running the experiment, and the journal commits to publishing the results if the methodology is sound. This seems vastly more reasonable, though obviously it's only possible if you know exactly what you want to do in advance.

So why not switch toward reviewing work earlier, through registered reports or collaboration, and end the artificial bottleneck at publication? It would prevent wasted time on flawed experiments and remove some of the bias against negative results.

(Of course, the other problem is that peer reviewers aren't very good at detecting errors -- even serious ones. Medicine has moved towards standard checklist for common types of research, requiring papers to report every important methodological detail so review can be more thorough. But I don't think you'll improve the overall quality of peer review without changing the current "fine, I'll review it in between writing three grant proposals and grading 150 exams" voluntary review culture.
I think I disagree with the "your code would be nutty in C" comment. Since C requires all variables to be declared at the top of the scope, and the order of declaration doesn't matter for purposes of allocation, there's no reason to worry about the ordering in this case.
I believe it depends on how you articulate it. The author is taking the traditional 'inner life' definition of consciousness, which is to say that entirely internal thinking is occurring, and arguing that AI based on external stimuli will never include that.

The pleasure/pain internal path is basically adding additional stimuli sources within the network itself. So you can modify the training just by re-running the previous training.

A made up example of how that might work is lets say you had a 'funny' neuron. Basically anytime its weight was adjusted by the network you got an immediate feedback on that association as 'funny'. Now you re-run a previous association that shares weights with the one that was tagged as 'funny' and that weight back propagates through the network giving a previously 'not associated with funny' association a proportional association.

What I got out of the paper was building neural networks that were pre-disposed, though an internally hard wired linkage of some neurons, to learning a particular form of association. The idea that an identical set of training values would train differently on nets based on this sort of internally forced messaging for some neurons, is the closest thing I've seen to the 'inner life' notion of consciousness.
"Appeal to the majority" is the basis of democracy and failed minority positions have no choice but to oppose it.
I've added MIT license to the repo.
"Indeed it has been said that Democ­racy is the worst form of Gov­ern­ment except for all those other forms that have been tried from time to time."

-Winston Churchill

-----------

While I broadly agree that the dissemination of academic research can and should improve, it is not clear to me what will amount to a superior (while still robust) system. Nor does the article clearly articulate a viable alternative.

The mathematical sciences have provided remarkable utility for the last 350 years in part because of the robust feedback loop of, 'hypothesis-experiment-disseminate'. I believe this, 'science is broken' hype is largely just that. No one throws out a codebase before a superior (and regression tested!) alternative is ready to be deployed.

My 2 cents:
1) Let's push for publicly funded research to be made publicly available, regardless of what journal it was published in.

2) Let's think about incremental changes to peer-review that can improve dialogue and speed-up review times. Instead of waiting 6 months for a late paper reviewer to drop a series of comments in my lap, why not a wiki or github-like editing and annotating environment where we can (anonymously) generate comments and a fruitful dialectic. Then, let's include the comments (again, anonymously) with the paper. Show how the sausage is made-- scientists have little to hide.

FWIW; I am a practicing scientist in the field of computational engineering.
But how did you manage to get that much??
I never said it wasn't safer. However, the vaxxer movement, like the pro-drug movement, likes to believe that there are no bad side effects at all, which is dangerous and a form of propaganda.

It almost makes me wonder if the drug companies are behind many of these laws.
I'd like to give special thanks to Daniel Micay, whose contributions are a major reason Rust is even remotely tolerable.
I've been to Romania, which is an incredible country with a rich history. However, I remember this castle being Vlad the Impaler's castle: http://en.wikipedia.org/wiki/Poenari_Castle
Reddit is fine if you avoid the big default subreddits. I left reddit for HN some time ago. Now I find myself migrating back. /r/hackernews gives me the best of HN content on reddit. The comments on HN keep me here.

A few subreddit recommendations: /r/rust /r/rational /r/TheFutureIsNow /r/gamedesign /r/MorbidReality
GIF GIF GIF 3.0 Create Custom GIF Collections
Peer review is less effective then you imagine and a highly political process. These experts usually have a vested interest in a certain viewpoint or line of research. I agree extra scrutiny always helps, but scientific consensus does not guarantee truth.
ZoomCharts Team at the Collision Event in Las Vegas on May 5 – 6, 2015
They don't. Look at MediaTek. They have the MT6250 which is an amazing chipset for the price of $2. Unfortunately, they haven't licensed the patents, which means you can't commercialize a product based on that chipset in the US, where patent protections do exist.
Intuitively that makes sense until you reflect that plenty of much worse languages than JavaScript took months or years to design.

Honestly, much as it's a pastime to grumble about the flaws of whatever language we find ourselves using, I suspect if you could rerun history a hundred times, not more than ten of the reruns would give us a better outcome than JavaScript.
I don't know how difficult it would be to obtain the key from the device. However, if you have a strong passphrase on the key itself, then even if an attacker obtained the key, there would not be a lot to worry about. Just revoke it and move on. They'll likely never guess the passphrase.