skysight-inc/HackerNews huggingface dataset:
Ask HN: What is in your wallet? Making the best “second factor” with U2F & RFID
Hello

I'm building a custom wallet for myself + friends, and wanted to know what you would like to see yours.

A wallet is your "something you have", and should be the ultimate second factor for auth and life.

So far, we've decided that the wallet should:

1. be very slim
2. have an inbuilt U2F token
3. have an inbuilt programmable NFC chip for vCard (chip suggestions?)
4. have an inbuilt RFID for Keyless entry systems (chip suggestions?)
5. hold upto 5 ID/Plastic cards
6. hold upto 5 business cards
7. hold cash
8. hold a guitar pick

What do you keep in your wallet?

Stay updated: https://goo.gl/forms/FAL68JQ9vzita8d32
iPhone battery capacity:

4 - 1420 mAh

4s - 1432 mAh

5 - 1440 mAh

5s - 1570 mAh

6 - 1810 mAh

6s - 1715 mAh

7 - 1960 mAh

It dipped a bit from 6 to 6s but other than that they have been consistently increasing battery capacity.

(Btw, plus models have more; the iPhone 7+ for example has 2900 mAh. On the other hand, they drain more for the screen.)
Thinking about the Fermi paradox and the great filter, I think due to humans being too selfish we will may be someday end up not making it through.

Earth is the only habitable planet by a long shot and we are still treating global warming like a mad man's story.

The current trump administration gives a strong vibe that they'll exploit the planet for their full term and leave the bigger problems for the next president to sort out.
Slavery existed long before capitalism.
Not all ayurvedic medicine require heavy metals. There are herbs like boswellia (now also an allopathic drug) that genuinely do what they are supposed to do. Ayurveda, prevented black death in India. Granted there is a lot of bs out there that gets passed of but there are parts that do work. Distilling these parts is important. I think the lack of quality control in eastern medicine is what has given it a bad name. Granted we don't have antibiotics or anti cancer drugs but there were surgical procedures like rhinoplasty that were successfully carried out. Of course any medicine that is 2000 years old is going to be nowhere near what modern medicine is because we have had 2000 years to evolve it. Reason why easterners set store by it is it provided a bit more protection than what the doctors of medieval Europe could do. 1000years is a long time and lots changes, sadly eastern medicine didn't.
What's next for tech?
I had to check the definition of "civil" to make sure I understood what you were referring to.

> Civil: adequate in courtesy and politeness

Alright then, I apologise and will try to rephrase in a more civil manner.

What motivated the female employee to report the events to HR? In my first reading, the text implies that she was motivated by strict corporate policy adherence. However I would like to submit that maybe a different explanation exists, namely possible feelings of bitterness and inadequacy stemming from her own personal failings in the sexual realm (whatever their origin). This reading would make her significantly less justified in her righteousness.

Do you think that's better?
I trust statistics but I don't trust bad statistics. There isn't a self driving car operator out there that is currently testing their cars in statistically representative conditions. And unless they are, there isn't a statistical methodology out there that can say they are safer.

Google, for example, avoids expressways and won't go on freeways, hasn't tested their cars in extreme weather, barely ever sees even bad weather, and is electronically limited to 25mph. I'd be willing to bet the majority of drivers have nearly perfect driving records in those conditions too.
A link to the Github page would be nice.
This is not as bad as it sounds. You need to consider the absolute numbers than the relative percentages for languages like C++.

Programming is more accessible than ever before, more jobs require some element of programming than ever before, and more things are getting created using code. This means that people who have never written code before are writing code as a job of work, and are writing it in simpler-to-learn languages.

Newer, simpler programming jobs are acquiring programmers in other languages, not necessarily that C++'s complexity is driving people away from it into the arms of other languages or that C++ is not acquiring newer programmers at the same rates (on existing base) as before.
He's not theorizing conspiracies, imo he's simply explaining how business men are unqualified for their jobs. They don't make well informed decisions. Neither do politicians. STEM based tech company execs are going to change that.
"You don't seem to realize how bad you're about to be bankrupt when an article hit the front HN page."

I've had a couple of AWS-hosted pages make it to the HN front page.

I don't recall my S3 bill going up to any significant degree, much less bankrupting me.

S3 bandwidth is $0.023/GB at the most expensive tier. It's hard to imagine bankruptcy resulting from any text-oriented site, even if it does hit the HN home page. Maybe if you're hosting hours of HD video or something.

Also, I've never had any trouble using CDNs from an S3 page. Details?
Still no concepts unfortunately (or reflection). Bit disappointed really, I'm far from a guru but to me this seems like another 'tick' upgrade where c++11 was a big 'tock', c++14 was mostly polish to c++11.
The example also works the other way. In a hypothetical example of two non overlapping circles teaching and PHD don't suddenly overlap just because you draw a new circle encompassing some 3rd idea.

Saying A relates to B and B relates to C says nothing about A relating to C.
Commercially speaking, this is not really viable, because when it comes to a minimal subset of functionality, everyone has his own; therefore, with the exception of extremely minimal devices (and there's plenty on the market - I recently bought one for less than 20$), there's no realistic common denominator.

You can easily see conflicts in the requirements of having it cheap, but at the same time: indestructible touchscreen (costs $$$); long lasting battery (with a powerful enough CPU, it's $$$ again); GPS ($$$); 3G ($$$); super light (regular plastic won't do, therefore: $$$); etc, etc, etc.

The alternative is to have something very cheap and configurable, in other words, something a bit more than minimal. This is not really different from basic Android devices, so you can already get this (as pointed out) installing custom Android versions.

Edit: expanded concepts.
Humans leave for about 80 years. Not many are willing to make choices for generations coming after. If someone's gonna pay you millions to spread bullshit, why would you refuse?

Your world's gonna end in a couple of decades anyway right?
Nice answer, but you eliminated the chance of a reasoned disagreement when you mentioned racism, especially when you created a strawman out of what they said.
Use case that I'd guess many on HN would relate to: research and source documents.

When researching some topic, it's common to have the source document or documents open and then other tabs where people comment on them.

For example, if I'm checking some Python docs, I'll sometimes check how more knowledgeable programmers have solved some edge cases.
Show HN: Simple notifications for react
This is a fantastic summary of both RL and ES (know as genetoc algorithms too). Kudos to authors!
That's funny, I could swear I saw some ads in the magazine that I subscribed to.
I am curious, what would having modules give us that we could not have with classes and namespaces? (I understand that in a language like Java a module, a class, an interface - are all different things. C++ is different in this respect, as it only provides a mechanism and not a policy.)
Buzzfeed is a good example. It figured out that the way to distribute content on the web was to use social media to deliver clickbait headlines, listicles etc. Once it had created a distribution network based on that, and gained an audience, it could then create more 'high-quality' content, such as Buzzfeed Politics. Taken to an extreme it seems likely that large content distribution companies, most notably Facebook, will buy failing traditional content producers.

I will add that much of the "fake news" controversy is driven by old, high-quality media losing its audience/distribution to new, low-quality media. It's a futile attack though, because high-quality creators cannot grow their audience as fast as new media can make better quality content.
Measuring nepotism: is it more prevalent in the US than in other countries?
Throughout history most technological improvements could not be predicted ahead of time. In 2005 few people thought mobile phones would change much at all. In the 1950's the President of IBM supposedly said there was a market for maybe 5 computers in the world. In 1990 no one thought there would be a global network for anyone and everyone that would change the world a few years later. I assume whatever will happen next will be a surprise to most people, although in hindsight you might have noticed what was coming.
Very true - and it's amplified by inconsistency allowing problems to spread further before being noticed. At work I deal with a lot of Bag-It archives where we have a text manifest of checksums accompanying files on disk and this reliably bites users of tools when something (archive or network transfer tool, Git or SVN, transition to/from a Mac with HFS+, etc.) causes the encoding in the manifest not to match the local filesystem, and the confusion is amplified because some tools will handle normalization differences so the bug report is “why does tool A say this file is missing when Explorer/Finder and tool B say it's fine?”
That topic has actually been researched, the slave states had less developed economies than the northern states. For the same reason all feudal/slave states have underdeveloped economies.

Of course, some people in this thread are probably ready to laud Hitler's economic acumen, while ignoring his economic gains were due to public spending building a war machine and taking Jewish people's stuff.
I'm curious to see how the keyboards hold up. I have a 2016 12" rMB. I believe that's the same keyboard as the new MBP. It's less than a year old and some of the keys are starting to become unresponsive. Admittedly I'm a very "hard" typist, but still.

I actually quite like typing on this keyboard, although it was weird at first, but I wonder how these things are going to hold up.
The entire domain of palliative care (save for the rarest of exceptions) is designed around a single purpose: siphoning money from the relatives overwhelmed by grief and therefore unable to take rational decisions.

The last thing we need is increased funding of this particular circle of hell and its beneficiaries.

For the evidence of the contrarian way, observe how doctors choose to die.

Silicon Valley is right — death itself is the ultimate enemy to push away and finally conquer. And palliative care is usually nothing more than prolonged suffering.
A friend and I were thinking the same about 3 years ago and set out to make an e-paper "smarter" dumb phone. Turns out it's really hard to build a good dumb phone in 2017, especially given the phasing out of 2G.

We landed on the same idea of a less distracting phone, 4" screen, 4G support, and more privacy than existing smart phones.

You can check it out here if you'd like. Curious to hear what you think. https://www.kickstarter.com/projects/siempo/the-phone-for-hu...
In general, sure - but this post is about erlang/OTP, and the way you're speaking in generalities makes me think that you're just trying to persuade me about and champion the value of static types in general.

To digress slightly, consider an example from another domain, although I would rather keep this discussion about erlang. Now, Haskell is the only well-known language that has lazy (non-strict) semantics. Over the years many folks have proposed to make Haskell strict by default, alleviating some of the headaches that occur from non-strict evaluation. However appealing that may be, it would be a sad day if that occured, because we'd loose the only language to understand how lazy/non-strict evaluation affects how we design programs while there are countless strict languages, and lazy/non-strict evaluation has some very nice properties indeed.

Now to bring this back to erlang/OTP... sure, it is very nice when we add static types to erlang because we get all the nice things that static types provide, but we also loose some things. There are some features in erlang/OTP that are very dynamic, and forcing a static type system simply kills those features. I think that would be a sad day for the erlang, because you'd loose the ability to design distributed systems utilizing the full range of behaviors what the erlang/OTP system offers. There are already other actor systems in the world that offer static typing. You don't need erlang to build those systems—There is only one erlang/OTP that some some very unique features that none of other have.

Say, if we're talking about javascript, which runs at the level of a program on a single machine, I say bring on the types. If we have some other statically-typed actor system that works well for certain use cases, great. If we're talking about erlang/OTP, which is designed specially for fully distributed systems, I say let it be.
These are still in use on some circles. When I was young, my parents sent me to a thing called Cotillion. It was a sort of evening camp for young people where we learned table manners, ballroom dancing, and ettiquite. Calling cards were part of the deal. A proper host had a special tray for them near the entrance for people to leave theirs.
I wouldn't say that, slavery is still existent as alternative forms around the world, not discounting the fact of so-called sweatshop slavery
Unfortunately Qtools (or, more precisely, CommonQt) was not ported to Qt5 yet, and thus looks ugly on hidpi displays :(
Solving a given problem creates new problems.

People dying of cancer/dementia/heart disease sounds horrific. That doesn't mean antibiotics should be abolished--so more people don't reach an age where diseases of ageing are commonplace.

Edit: Added info after the em dash.
I just can't get the appeal of Twitter. Who do you follow on it?
> I assume whatever will happen next will be a surprise to most people, although in hindsight you might have noticed what was coming.

Ah! You're talking about global warming :)
Willing to debate and actually being able to are completely different.

No, pretty sure any reasonable person would call this a fumble. Even if it's unwarranted, it's still a fumble. The roll out has been plagued with bad press and very real technical problems.

Even I was considering a new one since my 2013's batteries are starting to give out, and was immediately told by people who own them "Are you sure? There are a lot of problems with the new MacBooks. You might get lucky and get a good one."

This from non-tech people.

Does this mean they lost the game? No. But Apple fumbled here. Clear and simple.
A new and fun way to do GTD
> The surveillance went as far as spying on members of Trump's campaign, which is eerily similar to Watergate.

Obvious hyperbole. They monitored everyone that communicated with foreign nationals, which Trump's aides were doing. They used the word "incidental collection" in that article for a reason.
Then they misplaced their trust and should have picked a vendor they agree with more, because MS does think of it as an update. What "most users" think is irrelevant in court.
I would choose neither.

You're making a subjective judgement that humans are fundamentally less safe than autonomous drivers.

Like most HN commenters you are making this assertion without any facts, as there isn't sufficient data to make the assertion. Other than drunk driving diversion, the case isn't as clear cut as you may think.

If you want to reduce fatalities, reducing SUVs and drunk driving is the end goal, as rollovers and alcohol related crashes are the most preventable fatality sources.
"You know, I think we need to reconsider the whole 'slavery is bad' thing. There could be economic benefits."

"You've have your head up your ass."

"Ohmygod, you can't talk like that here."
That's not his point. He's saying people buy pizza at night because they are unnecessarily working at night. Selling pizza at night shouldn't be necessary because its an artificially created market.
I don't really see the point.

Sharing data/settings already works great with the cloud.

You still get the same bulk as carrying around PC+phone.

The only reason is that maybe it's a bit cheaper because you use the same CPU for both, but the drawbacks (not being able to use both at the same time, slower proc for the PC) don't make it worth.
Surveillance on foreign nationals that "inadvertently" intercepted communications from their political opponents.

> Nunes suggested this unmasking might have been done for political reasons, saying the evidence he had seen had been widely disseminated across the intelligence community and had "little or no apparent intelligence value."

We're rightfully worried about what Trump could do with such power; we should also be investigating what Obama actually did with it.
The question is, was there a contract signed? A verbal contract? Is there an implied contract? Tortious interference?
Apple-bashing is all the rage right now on HN

More like <insert anything here>-bashing has been and always will be all the rage on any internet forum? At least to me HN looks quite diverse and I don't have the impression there is a big undeniable bias towards a single platform/tool/... and all seems fair. Which of course might mean in some cases where some product is actually not top notch the 'average' of the comments will be towards the negative side but that is exactly what should happen and the opposite should be true as well.
Why disable tautological-compare? Of all the pickier warnings over the years, anecdotally I'd say it's been one that's caught an outsized number of actual bugs.

>= 0 on an unsigned value is the classic one.
As someone that likes the stated Mozilla mission and always wished them the best, I unfortunately have to agree with /BrailleHunting about Firefox performance on Mac OS.

Not only does FF take a while to start up but when it is loading a mildly heavy page or even after updating, it can freeze up for several (as in 10-20) seconds.
This is a rather ahistorical claim that presumes colonization to be a historical inevitability. Most historians - yes, even most Western historians - would disagree with that. The fact that this is the direction history happened to take does not mean that it was inherently inevitable or "natural".
Not an option for anyone developing MacOS, iOS, or WatchOS apps.
> The argument should be whether autonomous cars from Uber can drive better than humans.

How much better? 1% over median? That means it's still worse than 49% of the drivers on the road. Statistically, the automated driver would be "better" for society at large, but it's still going to cause a lot of accidents and kill a lot of people.

I also wonder if there might be even more accidents with an automated system which is still in the fat portion of the bell curve, since there will be no "good" drivers to reduce conditions ripe for an accident in the first place.
If they were, they wouldn't need to be find a model they would be profitable.

This is one of the secrets of how to make money on media IMO you need very little overhead.

Maria Popova from https://www.brainpickings.org/ is making more than a $1M a year with her model.
We originally did that, but we wanted different origins for each user, same reason GitHub uses username.github.io. Also, we wanted to support a few non-web services (we support svn://username.webhost.example.edu).

Administratively, we use mod_vhost_ldap, and it hasn't been complicated. If anything it's less complicated, because a number of larger websites (departments, courses, etc.) get somename.example.edu CNAMEs from the IT department, and those are virtual hosts too. Back when we were using only webhost.example.edu/~username URLs, the separate virtual hosts were a special case. Now they're just an entry in LDAP with a different DocumentRoot, that's all.
it works. doesn't feel very native, but then neither do a lot of the big names in chat right now
Uber's getting so much bad PR lately, I wonder what the PR folks are doing for damage control
Until December last year I was happily using my Nexus 5; then it broke in an accident and I had to replace it. After researching the market, I ended up buying a Nexus 5X, which is almost the same thing as the 5, just a little bigger (still fitting any pocket) and improved.
I assume you meant FB? Without checking numbers, FB average revenue per user is probably triple that of Twitter. Because of FB's scale, scope, etc, I can't see Twitter getting too close to FBs numbers. But yeah that still means Twitter should potentially be able to double its revenue.
>Apple and Google won (Google only outside China, of course)

Could someone explain this? My understanding was few in China used an iPhone and Android is extremely popular? Is that now out of date given Apple's recent pushes into the Chinese market?
Al Gore's apocryphal invention of the internet is based on a reality where he pushed to fund computing and networking initiatives throughout the 1980s.

https://en.wikipedia.org/wiki/Al_Gore_and_information_techno...

One of the primary drivers of the various government bills was the notion that networks would be enormously beneficial economically.

People had a pretty clear idea that a global network would be a big deal.
That's interesting. Are you on an iPhone? Reader mode is not enabled on that page for me.
Nope, it doesn't. Although it's probably a good indication that the hairsplitting over 'native' and not is not as important as this thread might make one think.
"Surviving"? Really? It's a notebook. It's better than last year's. It's better than 95% of all currently used notebooks.

You will not die. You will live to gripe about another non-issue next year.
Yeah, well it's also not true. Many people in Rome wrote against the barbarity of the games, or even slavery, the most famous being Seneca:

> I am glad to learn, through those who come from you, that you live on friendly terms with your slaves. This befits a sensible and well-educated man like yourself. "They are slaves," people declare. Nay, rather they are men. [1]

They are men. Nothing more to say.

[1] https://en.wikisource.org/wiki/Moral_letters_to_Lucilius/Let...
If we had well-designed, well-maintained cities, it could be done I think. People would have to live a lot more densely, and we wouldn't be able to have personally-owned cars that drive on asphalt roads.
Given that 97% of climate scientists agree that climate change is caused by human activities[1], the surprise would be if it didn't happen.

[1]: https://climate.nasa.gov/scientific-consensus/
Five Geeked Out Fantasies You Can Fulfill Today with Bitcoin
Caverna, Food Chain Magnate, Dead of Winter, Blood Rage, Fury of Dracula, Arkham Horror Card Game. Are you into miniatures? You can go seriously deep down the rabbit hole with that stuff.
> I meant that despite the claim that C++ is a general purpose language, it is not popular among average developers. People would choose for a new project C#, Java, Go, Python, Scala or Javascript, but not C++.

...despite claim that the light truck is a general purpose vehicle...people would chose for a new vehicle a bicycle, car, aircraft, motorcycle, or tank...

Use the right tools for the job. C++ is intended to be a general purpose systems programming language. An excellent tool for a wide variety of tasks, but not the be all and end all.

I am right now working on a library built in C++ and although I also have written some utility programs for the system in C++, its main interface is intended to be through (swig-enabled) Python and Common Lisp.