skysight-inc/HackerNews huggingface dataset:
As I am a fan of the lazy programmer theory, we should be encouraging people to be lazy now, so that the biochemical effects of physical activity may be effortlessly emulated by a brilliant technical workaround later. The more smart people we have working on exercise-free health, the better.

Your selfish act of keeping your own body healthy with literally dozens of minutes of pointless kilocalorie-burning and wasted watts every week is a Nash equilibrium choice. Think of all the benefits to society that could be realized if no one ever needed to exercise to stay healthy. But if you're healthy now, you have no particular incentive to cheat death. You're taking brains out of that innovation lottery.

Come on, people. We can automate people out of their paying jobs, but can't automate exercise out of existence?!

Perhaps there is a sort of cognitive dissonance in play. People who have remained healthy their entire lives by disciplined application of exercise would undoubtedly feel betrayed and devalued when people can achieve the same results with drugs and implants.

/s

Programming and doing exercise are not entirely rivalrous tasks, but I can get a lot done in 3 hours if I am completely focused and entirely uninterrupted (even from self-sourced interruptions).
I think that tells you a lot more about helthanatos than about his 'back-stabbing' 'friends'.
Sorry, let me be clearer.

The reason that just having an in-memory Reader or Writer doesn't solve the problem is that the failure modes don't match up. An in-memory reader/writer has basically no failure modes beyond ENOMEM. That's why in the no-I/O implementation, this is exactly what we use: write to an in-memory buffer.

Real I/O on the other hand has many failure modes. For an example, consider timeouts. If your parser does I/O, you need to test timeouts at every location that your parser does I/O. You need to confirm it handles those timeouts appropriately. And you need to decide what "appropriately" means here: do you retry? Do you abort? Do you attempt to unwind that state transition?

All of these are expansions of your state space. This means your protocol parser has to handle this combinatorial explosion of possible outcomes: at every point you have a Read/Write you need to be ready and prepared to handle all possible error conditions that can come out of that.

If your parser does no I/O, though, and only writes to buffers, this problem does not exist. That allows you to have two totally isolated sections of code: one part manipulates bytes in memory (the parser), and another bit is responsible for getting those bytes to and from the network. Each can be tested separately. If we need `n` tests for the no-I/O parser, and `m` tests for the I/O without parser, then to achieve equivalent test coverage your combined code requires `n * m` tests to achieve equivalent logical coverage of the possibility space.

Small, isolated components are good.
Sure, but lets encrypt costs nothing and takes one engineer a couple hours to set up, at most. It shows that corners are being cut, which is the opposite of what you want to see in a product like this.
Or for training your algorithm that generates fake ID photos! confirm.io should be okay for that.
I used to think HTTPS everywhere was overkill, then I discovered HTTP2/ H2. H2 has some massive performance improvements and I believe we have barely scratched the surface of what is possible e.g. once the connection is established there's no need for additional HTTP handshakes, massively reducing latency.

I'm also a big fan of Let's encrypt, democratizing SSL certificates is only a good thing.
One certainly does not need to implement a parser, just use one of the many available. As the sibling here pointed out the time it would take to parse and walk the AST is negligible compared to the downloads happening.
Normally you end up only a single version of a library needed in the scope of one application. E.g. application A depends on libraries B and C and both of these depend on the same version of library D. And there is no problem as long as this is the case, the exact same library will be used.

If for some reason B and C depend on different versions of a library, then things may go wrong, e.g. one package may end up inadvertently using an incorrect version of a dependency. Nix cannot solve this problem because it originates from the OS/compiler design (same sonames, same symbol names). Consider that with respect to libraries, Nix mostly just wraps the compiler to add needed -L flags and also sets RPATH in shared libs and executables so that needed shared libs are found at runtime. If an application effectively depends on different versions of one library with the same soname, the dynamic linker will still use just one of the available ones.

What Nix does allow you to do is to isolate packages from one another. You can have one application using only one version of library D, and another application using only a different version of library D.

I should note that it's somehow hard to get to this situation, because the Nix packages collection (nixpkgs) doesn't keep too many versions of packages. Typically for minor upgrades the library is just bumped, and when you rebuild the final application all references to that library will be up to date. You can only realistically get issues if the application ends up depending on different major versions which are both maintained in nixpkgs but are not designed to work together in the same application.
I actually really like the consistency of Mathematica's syntax - parentheses are reserved for grouping expressions. You can also create matrices using the cell inputs in notebooks, which uses standard mathematical notation.
Honestly, nothing super-compelling (total of 5 with 10+ Amazon reviews?) unless you like to read a lot of business books.

$1

5 stars/46 reviews $20 Exporting: The Definitive Guide to Selling Abroad Profitably (Delaney, 2013) https://amzn.com/dp/B00FNC77RY

5 stars/05 reviews $20 Commercializing Innovation: Turning Technology Breakthroughs into Products (Schaufeld, 2015) https://amzn.com/dp/B00IV79JH4

5 stars/05 reviews $18 Inventors at Work: The Minds and Motivation Behind Modern Inventions (Stern, 2012) https://amzn.com/dp/B009SRRVG2

5 stars/04 reviews $17 Design Thinking for Entrepreneurs and Small Businesses: Putting the Power of Design to Work (Ingle, 2013) https://amzn.com/dp/B00EBCGI36

5 stars/05 reviews $15 Know and Grow the Value of Your Business: An Owner's Guide to Retiring (McDaniel, 2013) https://amzn.com/dp/B00CYU98VQ

5 stars/10 reviews $18 Startup: An Insider's Guide to Launching and Running a Business (Ready, 2011) https://amzn.com/dp/1430242183 (paperback)

$8+ ("average")

5.0 stars/05 reviews $35 Databases for Small Business: Essentials of Database Management, Data Analysis, and Staff Training for Entrepreneurs https://amzn.com/dp/B0157W4JTS

5.0 stars/21 reviews $23 How to Create the Next Facebook: Seeing Your Startup Through, from Idea to IPO (Taulli, 2012) https://amzn.com/dp/1430246472

4.5 stars/02 reviews $28 Big Data Bootcamp (Feinleib, 2014) https://amzn.com/dp/B00MBL230G

no reviews $32 Make an E-commerce Site in a Weekend: Using PHP (Harwani, 2015) https://amzn.com/dp/B01IK5GA0A

3.0 stars/02 reviews $35 Pro Freeware and Open Source Solutions for Business (Whitt, 2015) https://amzn.com/dp/B011KFOT5K

5.0 stars/01 reviews $17 From Techie to Boss (Cromar, 2013) https://amzn.com/dp/B00CYU98V6

no reviews $20 Build a Profitable Online Business: The No-Nonsense Guide (Olsson, 2013) https://amzn.com/dp/1430263792 (paperback)

$15

5.0 stars/11 reviews $17 Building Great Software Engineering Teams: Recruiting, Hiring, and Managing Your Team from Startup to Success (Tyler, 2015) https://amzn.com/dp/B00ZHM53DK

5.0 stars/03 reviews $20 Disruption by Design: How to Create Products that Disrupt and then Dominate Markets (Paetz, 2014) https://amzn.com/dp/B00ACC6AIW

5.0 stars/13 reviews $24 Regulation A+: How the JOBS Act Creates Opportunities for Entrepreneurs and Investors (Getty et al, 2015) https://amzn.com/dp/B00DREFQOG

5.0 stars/02 reviews $35 University Startups and Spin-Offs: Guide for Entrepreneurs in Academia (Stagars, 2014) https://amzn.com/dp/B00NTQ0WZA

5.0 stars/02 reviews $32 Financial Modeling for Business Owners and Entrepreneurs (Sawyer, 2014) https://amzn.com/dp/B00MUUI618

4.5 stars/06 reviews $14 Why Startups Fail: And How Yours Can Succeed (Feinleib, 2011) https://amzn.com/dp/B006RM2KOY
SmartPath (YC S16) Helps Companies Educate Employees on Budgeting and Saving
Cargo uses TOML, not YAML. (But yeah, this is really cool, and that would be really cool!)
8 Tips to Master Travel Photography
Thanks for the feedback. I agree, there's definitely some interactivity I could add beyond the date filtering. I was thinking about making the dashboard a webapp where users could connect their github and pocket profiles to personalize the visualizations for their data, but I'll need to do a bit more research to figure that out.

I'll keep the "something to play with" in mind the next time I post to "Show HN".

Thanks again,

-Cole
Seems like a pretty good reason to switch to a nightly cyanogenmod build
France has a shorter work week, greater labor protections, _and_ their workers are more productive than both US and Germany citizens.

When you don't allow the top income classes to continue to siphon value out of the economy, your general populace does better overall.
My Linux experience so far has been limited to ls, cd and vi. From the outside, package management has always seemed to me like a huge mess. But, I've been starting to learn Nix recently and I really like it. I can add, remove, test, screw up, change my mind, whatever without stress.
Yep, but a 7-input AND gate will have basically the same delay time as an 8-input AND gate. They don't scale linearly as it would if you stacked 6 or 7 gates in series (although that's typically how you do it in math or programming)

I like examples:
74AHC00 2-input gate has typ 4.5ns propagation delay at 25˚C/15pF/3-3.6v
http://www.nxp.com/documents/data_sheet/74AHC_AHCT00.pdf

74AHC30 8-input gate has typ 5.0ns propagation delay at 25˚C/15pF/3-3.6v
http://www.nxp.com/documents/data_sheet/74AHC_AHCT30.pdf
You Know Those New Chips in Your Credit Card? They’re Failing You Miserably
What would stop you from just parking a large container outside the house? On top of a truck in the worst case...
There are several providers of mobile power.
There is a well-understood math behind it.

For blur, you can either do two things:

- generate a matrix such that each element in the matrix is equal to 1 (e.g. averaging)

- generate a matrix such that it represents the Gaussian distribution (you can use a 2D Gauss function)

For edge detection, you essentially have "derivative", e.g. rate of change; the more abrupt the change, the brighter the resulting pixel, hence why edges are highlighted. A good convolution kernel for edge detection would be the Laplacian.

For sharpness, it's pretty much the Laplacian Kernel + identity kernel.
A Letter from G.O.P. National Security Officials Opposing Donald Trump
Lots of people addressing security and remote code execution by typo.

Yes. You're right. If it scares you, don't use it.

It's always possible to run malicious code by typo, and this is only a little different from installing dependencies from the terminal. Even when you do spell a package's name correctly, you still don't know for sure what you're installing.

The guy just made a cool thing - it seems a little out-of-scope to freak out over security when npm was never really there.
Why China Can't Solve Its Debt Problem
Their authentication check doesn't do much. They aren't validating drivers licenses against a database. Has anybody tested this thing with common fake IDs? If you show it a color copy of a driver's license, can it detect that? How? They're looking only at a flat photo. They can't tell a hologram from a photo of a hologram. They don't make you take pictures from several different angles. You could probably take a picture of an ID, alter it in Photoshop, and get it through this thing.

Their privacy policy looks like a standard web site privacy policy. It says nothing about how they handle ID data. That's a big deal, because Confirm is handling personal data that isn't about Confirm's own customers. This can create liability for Confirm or Confirm's customers under various identity theft laws.

Here's their founder: [1]

[1] https://www.linkedin.com/in/kylekilcoyne
We run a fleet. Happy to answer questions here or shoot us a mail at team@wearewizards.io if it's sensitive.
Barclays Agrees to Pay $100M Over State Libor Probes
$ nslookup api.confirm.io

Non-authoritative answer:
api.confirm.io	canonical name = midentssl-861843077.us-west-2.elb.amazonaws.com.
Name:	midentssl-861843077.us-west-2.elb.amazonaws.com
Address: 54.149.15.14
Name:	midentssl-861843077.us-west-2.elb.amazonaws.com
Address: 52.25.246.175

Hosted in the US on Amazon. That makes it immediately a no-go for European customers.

So, what's the data retention policy? Who has access to it? Is any PII contained in the webserver logs? If the answer is "no", how do you define PII?

Have you had a third party security audit done? If so, can we see the report?

Those are just a few of my initial questions :)
What would be interesting is the "NDA" spec updates for these chips.
Seems like a sketchy business to me. Who founds a company, raises 4M out of the gate, and the acquires a competitor a month later? http://www.confirm.io/#!our-story/h6arz.

Combine that with a "partnership" six months after that, and it really seems like there is zero proprietary technology that was built by this company in the first place.
They're definitely doing the math, but to an objective outsider the numbers won't add up. We are all likely underestimating how hard it is to innovate inside a company the size of Walmart.
Which is also worth mentioning, builds part of its package management on top of nix https://www.gnu.org/software/guix/about/
stranger things?
> Their technology could be completely bogus, or do nothing for all you know. It's a black box.

They say they used machine learning, so the reality is that usually means they don't even know what their technology does either.

I'm sure they can tell you that statistically, it will probably not validate an image of a cat as an ID.
Am I the only one who thought Guix did this better? Maybe it's just my freakish and unnatural love of parenthesis. Or my hatred of learning new configuration syntaxes (I just want to install packges, dammit! Yes, I enjoy learning new languages, but I need to get this machine up and running, and I don't want to learn your new programming language to do that)
Funny, one of the reasons I switched to fastmail was because my mum could understand their interface but gmail kept changing every month! I haven't had a support call asking where the new email button has gone since.

One of the biggest benefits to fastmail for me is the buttons are labelled with text on desktop.
Simplest kind of technical debt:

1. I use a particular technique/abstraction/whatever to solve the problem, it solves the problem well.

2. Over time we solve other problems elsewhere. As we go, the bigger picture becomes clearer and we pick more suitable techniques/abstractions/whatevers as we go.

3. Eventually we have to solve a problem that interacts with the original problem, the newer techniques/abstractions/whatevers don't work cleanly with the new ones. So we have to make a choice:

a) Hack something together that solves the current problem without us having to touch much of the older code.

b) Rewrite the old code to match the newer technique/abstractions/whatevers.

c) Put down tools and thoroughly evaluate whether there's an even better technique/abstraction/whatever that solves the old problems and the new ones.

We all know that C would give us the best code, but it's also likely to mean we never get anything done because every new problem means reevaluating everything. B happens more often, but in reality we usually end up doing A due to various pressures.

At no point has bad code been written, but there's technical debt nonetheless.

Over time we become better at adopting patterns an architectures that allow for clearly defined boundaries and reduced cost of making mistakes, you still get technical debt (because just about anything you want to change can be considered technical debt), but it doesn't tend to cripple your ability to get things done.
I can imagine it being a bit more sophisticated than that, such as after a few clicks they learn a preference for leather straps or gold faceplates, or a classic design so you start sorting "browse" pages differently. If you have enough data, you might also be able to discern "customers who looked at x usually end up buying y". Those preferences could also be carried forward if they're making use of retargeting ads.
You look at it from a narrow consumer perspective. If a bank's IT systems fail for a period then the systemic importance clause kicks in, as the wider economy may be affected. Regulation already exists e.g. You can't fix interest rates, you have to be fair to consumers, etc. In today's modern world I want regulation on how some of these enterprises are managing the technology which underpins their operations.
Case Study: The Ontology2 Edition of DBpedia 2015-10
Um... Why do you believe she wasn't onboard with it? Or that $18k was an amount of money that represents an unacceptable risk for them?
> What do people use Mathematica for that can't be done in R, SAS, Matlab, SPSS or Python libraries.

Nothing; but Mathematica has been the tool of choice for cs education (or math+cs) and people tend to stick to what they know.
as popular Pocky is in Japan, Japan isn't going to go through inventory everywhere as fast as a lot of countries eat sweet snacks. They actually eat sensibly there. Expect the stock to replenish at slower pace.
My wife is my best friend and for that I feel lucky. We can both tell each other to stop when we need to.

My advice, don't try to be friends with your kids, at least when their young. Try to guide them and instill a value system and a desire to learn and love.

Maybe when they become adults they can be your friends. That is where I am now. One is 24 and the other is a very mature 18. We still have a parent / child relationship but we can goof around like friends. Even drink a glass of wine together (with the 24 year old). The 3 of us go to stupid movies. We all 3 love stupid movies and kids movies and adventure movies. My wife like drama movies which I tolerate.

I have other friends but not nearly as close. I have "friends" as work but we don't socialize together except for a private music party once a year. We respect each other. Maybe have a drink together once and awhile.
> Please, anyone who's tempted to write a dialogue with a fictional person holding an opposing viewpoint: talk to one first! Find out what their arguments really are! And, if possible, learn their views well enough that your summary would seem accurate to one of them.

Amen. It might also prevent the deliberately insulting language that Latour adopted. Clearly, he holds the scientific camp in contempt. An actual dialog might have demonstrated to him that there was more there than ignorance and mistaken ideas.
Who owns your tattoo? Maybe not you
Your State on Welfare Data – California
It may be obvious to you but as someone currently working on launching their own company with a team of engineers/designer this was not on our roadmap at all as our first outside hires.
I suspect that the same binary cannot realistically depend on two different versions of a library.

I can imagine that package A may have two binaries, one depending on a library B version 1.1, and another, on B 1.2

Does NixOS allow to have both B-1.1 and B-1.2 installed, and A's different binaries to load the correct different versions of the library from B-1.1 and B-1.2?
By "any government issued ID" do they mean "some US government issued IDs"? The website has no indication on what countries are covered, or whether e.g. US military IDs or FAA pilot licenses are covered.

Reminiscent of IDnow ( https://www.idnow.eu/ ), which has been around for a while now. IDnow claims that it
"is available worldwide. IDnow supports identification documents (passports and personal ID cards) in accordance with the common ICAO standard, which is valid in more than 190 countries."
Without knowing the situation, it's reasonable this "non-friend" may have thought they were protecting the original poster. Assuming this person wasn't lying, there is no right answer here. Are you a better friend because you look out for your friend when they're not around and are willing to share a painful truth? Or are you the better friend because you protect your friend's happiness by not telling them?

I tend to take the former approach, but experience has taught the latter works better. Inflicting pain on a friend, even with their best interest at heart, is a good way to lose friends.
But modern CPU TLBs even have context process IDs(CPIDs)now so many times the whole cache doesn't totally need to "warm up" again.
What it shows is that they read this https://www.wix.com/support/html5/article/request-adding-an-... and decided to build their website with that platform anyway.
"Not unfair to point out" -- true.

But, the linked comment does miss the point. Specifically, it is doing a hardware spec comparison and not thinking about what it means when a large player is entering the market with a more-usable device.

And the linked comment (which is indeed an old chestnut) is typical of the spec-by-spec comparisons you still see in the tech press, and here on HN. It's a small reminder to look at the bigger picture.
Parent referred to walmart.COM. Walmart online sales only $13B/yr, per http://fortune.com/2016/05/20/the-silver-lining-in-walmarts-...
SEEKING FREELANCER, Chicago IL Area
I am managing the Financial Industry Business Ontology (FIBO) project for the Enterprise Data Management Council.

We are using GitHub/Jenkins and JIRA/Confluence as our primary tools.

The person who was helping me do this recently moved to London. I am looking for local support on a contract basis to both do configuration and provide me advice.
IMHO, Nix needs a static type checker far more than it needs parenthesis or syntactic abstraction. The syntax of Nix is a non-issue.
In Computer Vision, for image manipulation and so on. Using this book if you're interested: https://www.amazon.com/Image-Processing-Analysis-Machine-Vis...
Oh is that where all these awful "need js to display text" websites were coming from? I had originally thought that they all switched to React or some silly CMS.
25 gigs at mailbox.org will run you EUR 3.50/month. Plus you get calendaring/contacts, proper CardDav/CalDav and GPG built in. They've been providing email for 27 years and run the email infrastructure for many companies large and small. Plus, your email would be running on renewable energy and their bank account is with a socially responsible bank (yes, such things exist).
If you've got a really good hammer, you can use it to hammer in anything, including those fancy carpenter nails with threads and Phillips heads.
I've used it as a server before and it's quite nice, it just requires getting used to the nix language a bit and possibly dealing with customization work when something you need isn't exposed already in /etc/nixos/configuration.nix. For example, imagine you needed some weird iptables functionality - you might end up writing some shell-ish rules using 'networking.firewall.extraCommands' [https://github.com/NixOS/nixos/blob/master/modules/services/...]. Of course other admins on your team might have to be on board with this learning curve too.