skysight-inc/HackerNews huggingface dataset:
You don't need to store a true one time pad. Keystreams are enough. So, while your device may act like it delivers a one time pad, it could instead draw a pseudo-random sequence from a chacha20 stream. That way, any synchronisation you do lasts for life.

But if we go to all this trouble, we might as well use public key cryptography, it's even easier to use. Internally, the dongle will be quite complicated, with stuff like Curve-stuff, Xchacha-something and poly-whatnot. What the users needs to know is simple:

Once initialised, your Dongle can publish a public a "fingerprint" that is unique to it. To decrypt messages encrypted with this "fingerprint", you need your dongle. To sign messages according to this "fingerprint", you need your dongle. If you lose it, your "fingerprint" becomes unusable, no recourse. If it gets stolen, the thief will be able to impersonate you, unless you did the sensible thing and locked your dongle with a secure passphrase (think Diceware).

Now we engineers can figure out how to make that dongle easy to use and secure against any compromised computer it may be plugged in. (We don't want the dongle to become untrustworthy just because it got out of your sight during lunch).
Unfortunately, there is indeed a lot of truth to the statement that it is a PR gimmick.

The problem with wind and solar is that they are intermittent. Therefore, Google's consumption at any particular moment in time cannot be supplied solely by these intermittent sources because their energy output never matches current demand (at least until some big honking batteries are built to level this out, for which the tech currently does not exist AFAIK -- no, Tesla's battery tech isn't even close to operating at this scale, though its a small step in that direction).

Therefore, Google must take power from the grid from non-intermittent sources that can ramp up and down based on demand, such as coal, gas, and nuclear. And this fact will remain true, even if Google had purchased wind and solar contracts for total energy many times greater than their total energy use.

So even though they may be purchasing contracts for wind/solar energy that exceed their own total energy use, they still cannot even approach viable operation without access to non-wind and solar sources, so its definitely misleading by Google to suggest they are running entirely on wind/solar.

Furthermore, the excess energy produced that Google purchased, but did not use because of the intermittency issue, actually reduces the efficiency of fossil and nuclear sources. Because the wind/solar energy is loaded onto the grid intermittently, it forces fossil and nuclear to cycle up and down to compensate. Just like city vs. highway driving, this is vastly less efficient.
Use 1111 2222 3333 4444, the credit card test number. This is valid at the check digit level, but known to all banks as a test number to be rejected.
I'm not sure how it could be 'for worse'? Even Neovim benefits from the uptick in Vim patches, because they actually merge many of them into Neovim. So it seems like it can only be a good thing. Better editors for everyone.
Donut. Bridge. Modular Form.
Java uses table dispatch by default, but you can opt into
direct dispatch by using the final keyword. C++ uses direct
dispatch by default, but you can opt into table dispatch by
adding the virtual keyword. Objective-C always uses message
dispatch, but allows developers to fall back to C in order
to get the performance gains of direct dispatch. Swift has
taken on the noble goal of supporting all three types of
dispatch.

I kinda already knew this but it's nice and succinct.
Jokingly, this was the first apple AI research I saw online, about a month ago: https://arxiv.org/abs/1610.08120v1
I feel you... I do it in my app and I hate doing it, but it's a necessary evil. Way too many people see the comments/ratings as either a support board or a way of punishing bad apps but very rarely they give a good or even just decent review, without being asked.
aws + colo iirc.
And anyone interested in the history of old NASA computers might enjoy this: http://history.nasa.gov/computers/contents.html
I wish they used statuspage.io or at least offered email notifications for the status.
Funnily, those 3 paragraphs - because they were long sentences - were the easier to read on mobile. So there's one datapoint for ya.
Wait, if they're requiring you to pick 1-5 stars to get the dialog to go away, it must be a custom dialog built by them, right?

I bet they take your one star and just hide the dialog, but take people who rate it as 5 stars to the "real" app store rating page.
It feels like cracks are forming at Apple's edges. The company is straining to push out hardware updates. Supply issues are getting worse. Apple is reportedly moving away from selling beloved products like stand-alone displays and wireless routers. ...

I stopped reading at this point since this will be another "Pile on the Bad News for Apple" type of hyperbole.
Microsoft is 23 years older than Google and it usually takes time for a corporation to create an R&D lab. Given Google's rich academic roots this happened faster there than usual. Google is doing a good job given that it's a relatively young company. I hope their research output continues to increase in quality and volume.

If you go by publication count alone, I suspect that IBM Research is still near the top. They have a large research organization that made some fundamental contributions in computer science in everything from speech recognition to databases.
Long time StatusGator customer here. Great service.
For me, I like:

- Neomake ( https://github.com/neomake/neomake ) which I use for async linting. I know this is now working in Vim 8, but I've been using Neovim for a while and this was exclusive for a while.

- Vim-test ( https://github.com/janko-m/vim-test ) uses `:term` for running your tests from within vim -- this is most useful because I have a shortcut to test from current editing file, etc. I know this is also possible in vim now.

- Mapping Meta keys in terminal -- opens up a bunch more shortcuts that weren't available before

- `inccommand` This I believe is only in neovim, and likely not enough for anyone to switch for

Cons:
- Not in distros, gotta install manually via their PPA
"new Hacker News rules"

I think this should read: current weeklong experimental policy on Hacker News.

I also don't feel like this list of books justifies getting flagged, even during this reprieve from political discussion. If loads of comments start flaming, maybe then. But right now it is just a list of suggested books to read.
Reminds me of my cats. One of them learned to open doors by jumping on the door handle. The other didn't, and when he needed some door open, he would wait for the first one to come and help.
Sphere packing in dim 8 and 24 (https://en.wikipedia.org/wiki/Maryna_Viazovska) and the "Set" game limit (https://www.quantamagazine.org/20160531-set-proof-stuns-math...) are two more recent examples.
Perhaps they could simply censor Jared Friedman's choice of "Strangers in Their Own Land" for the remainder of the week. A book that's "very helpful for understanding the other half of the country" doesn't belong on HN right now.
I'm torn between wanting to close this tab immediately before I get irrationally furious at people who probably mean well, and wanting to battle this out with every comment like yours in the small hope that it changes at least one person's attitude towards depression.

> The parent comment is suggesting that people with depression need to take control of their own life by recognizing what makes them unhappy in order to overcome it.

Your comment is suggesting that depression -- clinical depression, not, "boo hoo things are tough right now and I'm unhappy" -- is the depressed person's own fault and all they need to do is change everything in their life until they're happy.

It's really wrong.

When you learn to levitate by taking control of your own life and recognizing what makes you happy, then you will have something to teach people who suffer from depression. Until then, I beg that you do more reading on the subject, and I'm happy to offer some of the material that I've found most useful.

It's somewhat unfortunate that Allie Brosh's most famous work ended up being about her depression, but: http://hyperboleandahalf.blogspot.com/2011/10/adventures-in-... -- when she published this, people struggling with depression suddenly appeared out of nowhere and said, "YES, yes, this is it exactly!" It's a great and easy primer into the depressed mindset.

She wrote a part two: http://hyperboleandahalf.blogspot.com/2013/05/depression-par...

Then watch this video: https://www.youtube.com/watch?v=tDXCvtRxZ2E&list=UUK_QgiNMxV...

Depression may well be an inflammatory disease, which means that multiple people in this thread are arguing for people to just wish away inflammation: http://bmcmedicine.biomedcentral.com/articles/10.1186/1741-7...

The stigma of depression -- which, unfortunately, is exacerbated by well-meaning but not well-informed people on the subject -- is one factor that prevents sufferers from seeking the help they need: http://www.psychologicalscience.org/news/releases/stigma-as-...

Stephen Fry, bless his heart, was at the beginning of the more recent efforts for sufferers to come forward, in spite of their fears about stigma, and discuss the disease: http://www.stephenfry.com/2013/06/only-the-lonely/

Hope this helps someone.
Already understood. Nevertheless an example would be helpful. E.g. with https://unstatus.site/foobar
I don't want to take anything away from you and from the influence your logic skills have provided, but really - don't take it as an offence - at least from the linked to article it is not like you did anything out of the common.
If you were a carpenter and out for work, most probably the same results could have been obtained with a taxy or even - possibly - a Uber.
On the other hand, if you were a world rally champion pilot your baby might have been delivered in the hospital alright.
Anyway, congratulations to you as well!
Absolutely. I am sick of having my time wasted by companies that pretend to want above-median employees, but whose pay scales max out at below-median dollar amounts.

When I say I want $120k to move to your city, because you asked me to give you a number, and you say "Uhhhhh... we can't even negotiate from that as a starting point," you had better start putting your maximum number on your call for applicants. Because I just found out you were lying when you said you pay competitive market salary for the job requirements you chose to publish.

I am also very unlikely to budge for less than the annual salary than I earn now times the change-in-cost-of-living multiplier for the best school district in your metro area.

It saves time on both sides for the employer to disclose up front.
Fun story: the German parody party "Die PARTEI" ("the party", where PARTEI is also a backronym for a bunch of populist buzzwords) is under investigation because they pulled a supposedly legal scam that worked in a similar way.

They had a public campaign asking the public to "buy money", selling a hundred Euros (and two post cards) for the small price of exactly a hundred and five Euros -- effectively selling postcards for €2.50 a piece with a transaction overhead of another €100 in expenses and income.

Due to the way German public funding of political parties works (the public funding was based on revenue rather than profits) this meant they were granted funding that was hugely disproportional to the actual profits. Why it's supposed to be based on revenue or profit in the first place I don't fully understand but let's just say the authorities were displeased.

However they have a good case: they did the entire scam out in the open and had legal counsel that greenlit the campaign. It's definitely violating the spirit of the law but they may be able to make a good case that they were trying to showcase the absurdity of the law rather than simply exploit it for their own benefit -- also nobody interfered at any point and they documented everything from start to finish.

If they lose in court, however, not only would they have to pay back the money they were given (€72k) but they would also have to pay a massive fine (€384k) which would bankrupt the party instantly. Considering the party's satirical nature this would be pretty disappointing.
That particular phrasing also discourages negative feedback.
Earthquakes – 2001-2015
Participate in Atlassian Research

My name is Angela and I do research for Bitbucket. I’m kicking off a round of discussions with people who use Git tools. Ideally, I’d like to talk to people that sit on a team of 3 or more. If this is you, I would love to talk to you about your experience with <using> Git tools, or just some of the pain points that are keeping you up at night when doing your jobs.

We’ll just need 30 mins of your time, and as a token of my thanks to those that participate, I’d like to offer a US$50 Amazon gift voucher.

If you’re interested, just shoot me an email with your availability over the next few weeks and we can set up a time to chat for 30 minutes. Please also include your timezone so we can schedule a suitable time (as I’m located in San Francisco). Hope to talk to you soon!

Cheers,
Angela Guo
aguo@atlassian.com
For advertising, there is an "industry" that can agree on such things, and it's called the Interactive Advertising Bureau (IAB). In fact, they're now acceptingpublic comments until December 22 on the new ad types that are supposed to be "leaner":

https://www.iab.com/newadportfolio/
Neither of these are a simple "subscribe" button or even a fix, but some thoughts:

- They have an API you could quickly tap to write your own notifier: https://status.github.com/api

- They have a Twitter account that you could pair with IFTTT to send notifications: https://twitter.com/githubstatus
Add EXACT salary for the job - very often final salary is equal to min. wage mentioned in range.

Also, used technologies at company - because another job offer for front-end developer that uses Angular1, Angular2, React, Redux, Preact, Ember, Backbone, Node.js, MongoDB, Photoshop, Gimp and has 10+ years of experience is just dumb. Let the companies write about their flow, exact tech stacks etc.
I received the StatusPage.io notification in Slack.
I recommend learning discrete mathematics, then data structures and algorithms.

I cannot stress enough how important mathematical foundations is. It'll make everything else much easier to learn. I haven't read the book but heard good things about: https://www.amazon.com/Discrete-Mathematics-Applications-Sus... as a beginner text.

Coursera has multiple offerings on Data Structures / Algorithms -- find one that works best for you.

For instance:

https://www.coursera.org/learn/introduction-to-algorithms

https://www.coursera.org/specializations/algorithms

https://www.coursera.org/learn/algorithmic-thinking-1

https://www.coursera.org/learn/algorithmic-toolbox

By doing all of those you'll get a good introductory exposure to the topics.

You should also look at a rigorous course offering of Algorithms. MIT has a few online to view.

Some readings for a beginner are:

https://www.khanacademy.org/computing/computer-science/algor...

https://www.amazon.com/Algorithms-Unlocked-Press-Thomas-Corm...

https://www.amazon.com/Introduction-Algorithms-3rd-MIT-Press... (not beginner level but classic)

After all of this you should be fine with diving into interview books. You'll want to whiteboard solutions and be able to do all the difficult problems. Look into sites like leetcode, glassdoor and be able to do the difficult problems posted there.
It's 2016, the mantra now is "Compile thee times, run slowly in a handful of web browsers"
Thanks for the tip, that may be useful in the future!

I ended up using my bank's "virtual credit card" service to create a virtual CC with a balance of 1 SEK to get rid of my Uber account. Anyway, I think this is shameful of them.

I would be ashamed of this practice if I worked for them. There is no excuse. You can't blindly blame it on A/B evaluations and what ended up making the company the most money. It's simply unethical.
citation for the assertion "Google is a much larger energy consumer" ?
> It might be worthwhile to bring Signal (or at least the idea) to other protocols like E-Mail.

I'm glad to see someone else thinking the same way as me on this! I got myself an idea for Yet Another Secure Messaging App a while back. After a little market research, I kinda decided, well, everything that I want to do can already be done by PGP, or Signal, or Whisper... except that where they are easy to use, they don't integrate with e-mail, and where the integrate with e-mail, they are not easy to use. So, there's still room for more diversity in the market of providing easy-to-use secure, verifiable messaging, especially without trying to replace e-mail wholesale like so many messaging platforms (secure and otherwise) do. And maybe I'll actually get around to building it someday.
Honestly I just haven't had to. The job market hasn't gotten that bad and there are enough jobs where I can pre-filter based on salary(recruiter/job board/etc) that I've haven't had to write specific e-mails asking for compensation.

I also imagine the response rate would be low. Some wouldn't respond, some would respond with no, and some would respond it depends. And of the ones that responded yes it could mean yes, but it could also mean they are only willing to pay their purple unicorn candidate that amount.
Because Nintendo.

Why release a console called the WiiU? Because Nintendo.

Why destroy relationships with 3rd party publishers? Because Nintendo.

Why constantly launch new products without adequately stocking stores? Because Nintendo.

Why shitty online? Because Nintendo.

Why were downloaded games locked to hardware instead of account? Because Nintendo.

They do their own thing and pretty much do not care.
I think that a shell is doable using my TXR Lisp as a base.

As far as signal handling goes, it's in the box. See this Rosetta Code example under the task "Find limits of recursion" where we catch a SIGSEGV using a TXR Lisp lambda (running on an alternate stack via sigaltstack):

https://rosettacode.org/wiki/Find_limit_of_recursion#TXR

Handling a SIGINT:

https://rosettacode.org/wiki/Handle_a_signal#TXR

Programming reference:

http://www.nongnu.org/txr/txr-manpage.html#N-010CFD89

You don't have to worry about signal handlers and garbage collection.

If you need to do something in C++, the TXR code base will support you. Though it is C, it all compiles in C++, which I check for regressions every release. (At this time, I won't accept patches which break away from C compatibility and cause C++ to be required, but for experimenting and forking off your own thing, there it is.) Just ./configure cc=g++ and off you go.

TXR also integrates a nicely hacked version of Linenoise that could be used to bootstrap the shell command prompt. I rewrote the multi-line support so that it is excellent. There is visual cut/copy/paste, paren matching, undo, and more. (It's the only part of TXR without proper Unicode support, unfortunately: in the TODO list.)
As a weekend project, I created a service to monitor the status of many services (Github included) in one single page http://isserviceup.com/ . You can register with your Github account and star the services you use to receive notifications through Slack when their status change. It's all free and open source, let me know your thoughts!

p.s. I just posted a Show HN here https://news.ycombinator.com/item?id=13117856
>depression itself is not something you "beat". At best, it's something you learn to live with: having a broken brain for the rest of your life.

How do you know depression can't be overcome?
It starts that way, but had an interesting perspective on Apple's business strategy later on in the article. I would recommend reading the rest.
Got this when pushing a small change:

remote: Resolving deltas: 100% (6/6), completed with 6 local objects.
remote: Unexpected system error after push was received.
remote: These changes may not be reflected on github.com!
remote: Your unique error code: 13f721d92e29fbb811443a19a44a49e0
mind mentioning some of the bigger names?
Pot Startups Tap Public Markets for Hundreds of Millions
A bit hard to take them seriously if their homepage is WordPress powered. Just my opinion.
How are you measuring that? If we're talking about the US, then housing, healthcare, and education are the three largest areas I've seen us regress in -- areas where inequality is at all-time highs.

Technology is advancing, and we're seeing lots of benefits from that -- I think everyone would agree. But advances in technology don't inherently translate into better quality of life. A $500 4K TV screen is amazing, but doesn't make up for the fact that a basic 2-bed apartment now costs $25,000/year. A $650 iPhone super-computer-in-your-pocket is fantastic, but doesn't make up for the fact that a 4-year degree now routinely runs $60,000 or higher.

Extending debt to cover up societies inequality doesn't actually solve inequality, it just hides from view how big of a problem the inequality has become.
I read this as far as the "apple watch with mobile connectivity" pipe dream and moved on.

Yes, some day that will be feasible. At current power ratios, not soon, and believing otherwise betrays utter cluelessness.
Microsoft research was only formed in 1991, according to wiki.
The Orphaned Internet – Taking Over 120K Domains via a DNS Vulnerability
lol. I was driving very rally like but traffic was just too dense.
There's another brilliant app rating pattern (perhaps a dark one). A dialog pops up and asks if I loved their app. A "yes" takes me to the marketplace for rating, but a "no" only allows me to send them feedback. It both positively skews the ratings and collects feedback from disgruntled users.
Several years ago, I was very perplexed by Google investing in renewable energy. It was only later that I realized they use so much energy that this would have to be the wave of the future for tech companies like them. If they don't use renewables, they'll be subjects to the whims of energy markets similar to airlines. (Yes you can hedge, but even that is a bet)

Very forward looking of them!
I just love the idea of a 'centipawn'
It's behind a paywall. Publicly accessible version:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2801385

Actually, it's a pretty good read if long (89 pages). Kinda lite on angels but it covers syndication.
It's a slippery slope. If we censor articles indiscriminately, what's the point of censoring them at all?
In light of HN's (edit: temporary) ban on political content, I find it interesting that so many of YC's favorite books relate to:

- religion (Going Clear, Zealot, Finding God in the Waves)

- war and oppressive policy (War in a Time of Peace, Silence Once Begun)

- conservative lifestyle (Strangers in Their Own Land, Hillbilly Elegy)

The first two are explicitly prohibited topics of discussion on this site, and the third is implicitly discouraged.
> fake t-shirts

For a while a popular way around PayPal's restrictions was for sites selling services that were in violation of PayPal's ToS to go through an intermediary site for donations/credits. So you would buy a crappy e-book for $20 or so, or maybe a couple of mp3s for $5 each and forward the receipt to have the equivalent credits added to your account.

Pretty clever as the ecommerce sites themselves had full plausible deniability -- there was no obvious link between the PayPal merchants and the (most likely anonymous) people running the service.
"Do you think maths is discovered or invented?

To tell you the truth, I don't think I know a mathematician who doesn't think that it's discovered."

Anyone else struck by this? It has really never occurred to before that I've always assumed that we were simply discovering math versus creating it.