skysight-inc/HackerNews huggingface dataset:
I started tracking everything I eat. MyFitnessPal* makes it much easier, combined with buying a scale and leaving it on the counter (meaning I weigh every serving of everything I eat). I don't find it particularly arduous (been doing it since ~April last year) and it has made a noticeable impact on my waistline and my shopping bill (forced me to plan my meals to an extent).

* Not affiliated with MyFitnessPal, but they provide a nice mobile app (iOS at least) and a HUGE database of foods and recipes. If you cook from BBC Good Food (as I do regularly0 you can normally find the recipe entered w/ calories and macro nutrients. I dislike the amount of tracking they perform, but no other software comes even close to offering the functionality they offer.
It's more proper to say that there are a lot of people who "need" a different sort of toolset. It's not about "toys"; it's about the machine as an information device for a life outside of the machine. As much as any of us like to complain about things like intrusive "peronalized" search everywhere and targeted ads and so forth, there's a reason why such things sell (until people are told what needs to be involved in making it work).

Honestly, most people are fine with the magic until they realize how much surveillance the magician does. I have no idea how they think it's supposed to work, but then most folks don't know how any part of their computer works.
I wonder is this opens the door to PCI passthrough in order for the guest system to directly access the GPU.

That is the turning point in all this. No more bootcamp to windows to play games and no more hassle configuring CUDA in OSX, you can just use it from a Linux VM and have all your development system there.
tl;dr it was the seller who screwed him over, not StubHub, but StubHub responded poorly and has policies that incentivize this behaviour when ticket prices go up by more than 20%.
OneNote thirded. Switched from Evernote a year ago. I love it. And it's from MS. Weird. Good weird.
By your own comment, the first statement is a better soundbite. That is what they're selling, they're usually not actively trying to "keep people in the dark".
Cutting the Cord and Feeling Good About It
> No, you don't. The biggest benefit to using IPv4 as the routing-infrastructure and extra bits (maybe an IP option) to describe the host is that most of the Internet (routers, etc) don't need to get upgraded, only hosts. Routers don't normally mess with the packets so only the first/last wifi/switch actually need upgrading. This is a small number of devices (certainly much smaller than all!).

That's the "BangIP" option discussed in the second half of the article and has all the problems discussed there (e.g. it makes multihoming more-or-less impossible)
Wouldn't you be able to do this in Postgres now ?

"RLS implements true per-row and per-column data access control"
Amazon’s now selling its own brand of ARM processors for the connected home
I remember the first time someone sent me an infographic if about office design trends. It was pretty neat so I posted it.

After a while it became clear that people were just rehashing 5 data points about something marginally related to my site, but 100% related to the keywords they were link building for. Plus most of the time, the information would probably have been better presented as 5 bullet points of text with real links to the sources.

The same is basically true of guest posting - it was probably once an interesting way to do get a different voice on your site or build a portfolio of writing, but now all it is is a link building scheme which is why I immediately trash them.
An implementation that hides key management from the user (or abstracts it in someway—I guess you still do want longterm, but revokable, key use) could be nice, but then you get closer and closer to mimicking what OTR does. That being said, hard to complain that such a thing exists as an option for those that want it (especially when those seeking it might come across the pre-existing, problematic standard).
This system really can't help but fail open. The researcher handwaves in this direction, 'because “you don’t want these to alert and go off every time you turn on the microwave,” Beardsley notes', but either it fails open or trips an alarm; practically speaking there is no middle ground. Changing the color of a light in a different room in the middle of the night is as good as a no-op.

I'd submit that what this really proves isn't that the Comcast system needs this or that tweak... what it proves is that this sort of security can't be done wirelessly. Wireless equipment can not help but assume that if it can't hear from its sensors, the situation must be OK, and they can not help but be jammable with hardware that really isn't that sophisticated.

The solution to both problems is a decently-shielded wire. It is impractical for a thief to jam, and continuous active communication that trips in a fraction of a second if severed from the hub is trivial and reliable.

I like WiFi as much as the next guy, but it seems to me a lot of people badly overestimate what wireless is capable of sometimes.
And the best option I think actually seems to be mass surveillance. Just take that somewhat structured environment, where people stay all the time, and surveil the shit out of it. Without telling the subjects. Task a group of people to objectively observe and note what is being eaten and how it affects people's health. A pure observation like this could provide a lot of useful data, that would be free from biases introduced by subjects underreporting things or simply changing their behaviour because they know they're being studied.
How I created a community in 24hrs with no marketing
Save: How to Build a Service Empire at Lightning Speed
I get the idea, and I'm willing to look past the work-in-progress nature of your app, but I don't think it's a very strong idea.

There's no value to me, as a content consumer, in viewing content in these cards. I have had no issues reading blogs in the current format, no issues with reading reddit or hacker news, no issues with youtube, etc. etc. This doesn't solve any problem I personally have.

I get that your cards are different but why is this format better? It's a cool UX paradigm that one might use on a personal blog, or as a feature in a large application, but I can't see it becoming a standard. The value proposition is not strong enough.

You could take this idea and do something like medium.com, where you become a platform for people to publish cards on, but then the value is in the content and hosting service, not really the format.
What do they mean by "legacy" in this context? INSERT ... ODKU is not a legacy feature of MySQL, it's a currently supported first-class feature of the database, nor is MySQL itself a "legacy" database.
Oh, of course option 1 is the most palatable, until everyone gets their shit together regarding standards.

No, I know I'm going down the "Here ye be dragons" path of making my own IoT infrastructure. It's been one hell of a wild ride, seeing this and that offering, and how they fall flat on 'If internet is down, you have a doorstop'. I show people at the hackerspace and other tech groups, and they really see value in it.

I'll certainly have to look into the HidServAuth option. However, I've been watching to see if Ca.Cert is going to get off their collective asses and revoke the "Only EV2 certs can be provided for .onion addresses" rule. My biggest problem with certs on .onion is that they fail to work. Ideally, I want a LetsEncrypt cert on all of my services (Node-Red, Mosquitto via MQTTSSL, email). And just be done with it.

I'm certainly trying an orthogonal way of setting up IoT vs the Corporate way of remote data centers and oppressive data handling techniques.

:)
Show HN: Nigit – Expose Shell Scripts as HTTP API
Buffered.com: unrestricted and safe internet everywhere (Interview)
Where my billys at
Lessons learned from building real-life Machine Learning systems
I still can't imagine why Microsoft would think it's worth the bad publicity to not offer the option to disable telemetry, considering how few people tend to deviate from defaults in general, and how tiny a percentage of their users even care about privacy to begin with (evident from the commercial success of Windows 10).

They've been getting so much goodwill for all the other great things they've been doing lately. It just seems downright foolish to squander all of that for a few extra basis points in their telemetry data from those rare few users who care about privacy but are forced to use Windows 10 anyways for whatever reason.

Those who care about privacy but do have a choice in OS will simply avoid Windows 10 altogether because of the mandatory telemetry, which is telemetry data that they wouldn't be getting anyways. A certain percentage of these people could be Windows 10 users if it weren't for the mandatory telemetry. Would they really rather have people using other OSes, than having them use Windows 10 without giving them telemetry data?

So many aspects of their position on this issue seems completely irrational to me.
"An enemy's enemy is my friend."

Foreigners don't have a vote at home, so democracies often have as cynical foreign policy as any dictator. And lie as much about it. (At least during the cold war, today human rights considerations seems to carry a much larger weight.)
> Let's start gathering statistics on how many times people open their refrigerator, or use the toilet, or take a shower.

Just think of the targeted advertising opportunities based on toilet usage statistics!
Programming Cheerleader MIKU
What can you do with row-level security that you can't do by setting permissions on an updatable view?
Multihoming (PI) isn't impossible but it certainly requires more work. I'm not yet convinced to throw the baby out with the bath water.

Multihoming is also not the normal case: for a long time ARIN refused to make IPv6 PI allocations to existing IPv4 PI.
>I chose not to go near the "refuse to let any Muslims into the country" proposal, which is even more extraordinarily unworkable.

It worked for Jimmy Carter when he blocked all Iranians from entering the US.
Be specific. What is the "almost everything else" that so many people have to worry about? People who write IP address parsing libraries have to care about percent signs and formats. People who write DHCP clients have to care about DHCP changes. But neither of these are huge changes that affect everyone.
Who is OPEC and why do they matter?
Yahoo to slash 10% or more of its workforce
I would argue that voters have very little control over the courts, except where judges are elected (such as my state, which is a nightmare). Not to mention that voter influence on bureaucrats is all but nil.

51% of the voters may control 100% of the legislature (excluding staff) and executive (excluding appointees) but most of the government is not directly accountable to the voting populace.
Thanks for the tip; I'm downloading CentOS into Veertu now. I've been looking for a way to set up some VMs for development without letting VirtualBox onto my system...
I can only think of Microsoft Office when I am hearing of this 5% problem. At the same time, the rest of the 95% became a road map of all things I could become an expert on.

And I did become an expert, but with some help: I took a basic keyboarding class in high school which taught me how the secretary industry uses MS Word. Otherwise I don't think I could have ever become the expert that I am.

If Evernote is going to become a full productivity platform, shouldn't this bloat be a requirement? Or is it because Evernote is a "startup" bloat overhead fat should be cut? Meaning SaaS companies can't be having bloat overhead fat, aka full utility of features?
Shows how long it's been in the works, and requested.
And lists + dataframes as first class citizens. Everything (including dataframes) is pretty much a list. Most R packages nowadays have dataframes in the centre of implementation.

Compare it to other languages, lots of code is needed to convert the data from one format to another, because there's no underlying data structure (Python is much better than the rest with regards to that, but still not as good as R).
> I think this is quite normal and why people recommend not measuring yourself every day.

> I weigh myself every day or two but only really watch a fortnightly average as a key value(...)

That's the key. I was always under the impression that the reason for advising people against weighing daily is because you can't rely on general population to understand the concepts of moving average and low-pass filtering. Personally, I try to weigh daily (easier to keep a habit this way), but I care only about the 7-day moving average.
The Power of Perceived Performance
Paleo, Atkins, Primal, Ketogenic
Monitoring VerneMQ Application Metrics with Grafana
Cross Building Linux with ELLCC: Part 4 – Building Linux on the Mac
> I'm a bit annoyed about this contemporary mentality that if
> an idea can't be explained in five seconds or doesn't fit
> in a tweet, there is something wrong with the idea.

I agree that not all products should be explainable in five seconds. But their value proposition should be explainable in five seconds.

And if the product can't be explained in five seconds to someone who is not a specialist in the field, or a regular user, so be it.

But if someone has been using the product for a year, they ought to be able to grasp and articulate the value proposition. If most of your long-time users can't explain what the product dos for them, you have a problem.

Finally, if each long-time user articulates what it does for them, but every explanation is different, you have a coherence problem. That's fundamentally what is being explained in the post:

Evernote itself can't explain what it does, and each happy user has a different explanation, based on the 5% of the product they happen to use.

This makes it nearly impossible to focus efforts on giving any one user an amazing experience.
Unfortunately, the travelling salesman problem has NP time complexity.
I think they're referring to mysql. The sentence would have worked just as well without the word "legacy". I say this as someone who prefers PostgreSQL.
Legacy applications, not legacy MySQL feature.
Show HN: Best Programming Language for Me in 2016
Top hottest startups from Lithuania
If you are switching from MySQL to Postgres, then it's legacy by definition rather than intrinsic properties of MySQL.
Votes have a small but real value, and this can easily be seen from the fact that corrupt politicians will pay actual money for them. Politicians will pay $10-20 per vote in actual money. That's not huge, but it's not nothing, and it is worth more than a scooter if you do it regularly. http://panglott.blogspot.com/2012/11/votes-are-worth-somethi...
Lots of databases have MERGE but it's different from the typical UPDATE OR INSERT logic in terms of use cases, table requirements and concurrency control.

Here's a great post from Postgres team showing why they didn't just implement merge themselves:

http://www.postgresql.org/message-id/CAM3SWZRP0c3g6+aJ=YYDGY...
Ask HN: Someone thinks their email is mine
I have an email address (speggy at gmail) that I use for random signups.

Over the past few years I have occasionally gotten emails addressed to a Peggy S. At first I thought they were just spam, but this has lasted a couple years now from a variety of sources (purchase receipts, random community groups, friends sending photos, etc..)

I've tried to reply to a few friends of hers to have them inform her that this isn't actually her email address.

This morning I've gotten a Google Account recovery for a different peggy related gmail account, and I just want to make sure she doesn't try and recover my account.
> R's biggest sin is failure to force people to use functional paradigms by providing juuuust enough imperative sugar to make average Joe programmer feel at home. R is a functional language, and that's the principle under which is should be taught.

100% in agreement. That states what I have discovered after learning Functional programming.

The sad thing is people don't know that it is functional PAST first class functions. http://link.springer.com/chapter/10.1007%2F978-3-642-40447-4...
There are many different styles and paths to learning 'Computer Science'.

But if what you are after is insight into how a computer works I found that I had my 'ah-ha' moment while learning C, Assembly (intel), and writing a compiler. I did have to have a slight basis in computer architecture, but that compiler project I worked on made everything click.

(side note on writing a compiler. Read, Decode, Execute. There are no short cuts around those series of steps).

If you are looking for a book I would recommend the 'Dragon Book'

http://www.amazon.com/Compilers-Principles-Techniques-Tools-...

I found a paper copy of the international version for cheap (like $10 US if I remember) that was amazing.
Our team from Codementor (https://www.codementor.io) has built bestprogramminglanguagefor.me for aspiring programmers to answer this question:

What is the best programming language to learn in 2016?

We've analyzed various factors including:
- beginner friendliness
- scalability
- community
- career opportunities
- future

Would love feedback!
Which country? I don't remember the US political discourse of the 1960s and 1970s as being subtle or sophisticated.
New synthetic molecular prosthetic cell acts as AND gate
0% interest rates (or even negative rates, in some countries) for saving fiat money means you're better off investing in stocks...

but enough years of pumping stocks, they crash...

So now that fiat and stocks are bad investments that leaves you with gold, silver, bitcoin, etc.

That's why bitcoin is back above $450 today.
There's an old anime called "Legend of the Galactic Heroes" that explores this very idea through the POVs of two sides in an interstellar war. Very good show, from what I've seen of it.
Chinese Drone Maker EHang Announces an Autonomous Flying Vehicle for People
The new PostgreSQL syntax is more convenient to use in the UPSERT use case while the MERGE syntax is more convenient to use when doing complicated operations on many rows of data (for example when merging one table into another, with a non-tricial merge logic).

The reason PostgreSQL went with this syntax is that the goal was to create a good UPSERT and getting the concurrency considerations right with MERGE is hard (I am not sure of the current status, but when MERGE was new in MS SQL it was unusable for UPSERT) and even when you have done that it would still be cumbersome to use for UPSERT.

EDIT: The huge difference is that PostgreSQL's UPSERT always requires a unique constraint (or PK) to work, while MERGE does not. PostgreSQL relies on the unique constraint to implement the UPSERT logic.
How can anyone steal an open source OS?
I suspect that those interested in prosecuting war criminals would also be interested in the subject of immunity.
Try Rebol (and Red and Boron)
No, percent threat is the (active attack + deadly weapon) / total fatalities.

The racial data is easy enough to get, but when you state rank in police shootings/population to it, it's pretty much all over the map. Wyoming, New Mexico, and Oklahoma, the leading three states, have below-average African American populations. Two slots later, DC has the highest in the country.
I agree.
At work I'm forced to use windows and osx (supporting enterprise users), but I've begun testing various linux os's (mint,arch,elementary) as preparation to leave windows behind for personal use.
I've actually found it to be liberating in a weird way.
Hey Steve, just hopping on a random comment to tell you - this is fucking cool, man. I really enjoy your approach to building this tool. It is apparent that you've put a ton of time into thinking about the structure of learning - and that is much appreciated.
Except most of those studies are bullshit bad science done with fundamentally flawed methodology. It got a throwaway line in the article, but just about the only honest way to make scientific conclusions about nutrition would be to take a human population of statistically significant size and diversity, move them underground to a controlled environment, and control and monitor their food intake for some period of years. That would be a data set that might not be spurious (although I bet even within that, people would find ways to eat stuff the researchers can't record). That's not going to happen, so nutrition will continue to mostly be junk science that utilizes crappy methods and statistical manipulations to create sensationalist headlines and keep selling books.
A nice thing about this is that it doesn't need to destroy the large asteroid, it just vaporizes small part of it creating thrust and changing the trajectory. One of the videos mentioned bringing asteroids with useful resources closer as a possible usecase.
IPv6 will get there eventually, there's no immediate need for it to happen overnight, obviously.
>use topical voting instead of figurehead voting.

This is entirely feasible now with the internet. One of the primary assumptions which led to to the design of a representative republic which we have on paper was that it was impossible for everyone to assemble in order to vote on laws:

>In a large society, inhabiting an extensive country, it is impossible that the whole should assemble to make laws. The first necessary step, then, is to depute power from the many to a few of the most wise and good.

-John Adams, Thoughts on Government
The better question is why SH allows sellers to cancel complete orders where payment has already been taken. Frankly, it's ridiculous that the seller had any input a month after the order was marked as confirmed, and I can only assume that payment was taken if SH was willing to issue a nearly $1,000 credit.
Thanks for the links! ptopenlab seems very interesting!
Question, just for curiosity, how much does it cost to have something like this?
you don't need winrar, 7zip is far better.
anybody know how quickly does RDS upgrade to newer versions of Postgres.

I'm really, really keen to use 9.5 jsonb with its insert/update changes.
Exclude the infrastructure that need to be upgraded to support larger routing tables, larger AS numbers or other extensions. Exclude all the infrastructure that needs to be upgraded because it supports/does DPI or packet filtering. Exclude the new infrastructure that's newly bought and insatlled in order to cope with the network growth that caused the need for v6 in the first place. Exclude the infrastructure that needs to be bought in order to support new media types (WLAN, VDSL, denser/faster fiber, whatever).

Once all that is excluded, there isn't much infrastructure left.
I for one think the more incompatible V4 and V6 are the better! There are only two things that ever made any sense: 1) try as hard as possible to be fully inter-operable with each other, or 2) full clean break. Clearly, there was never a 100% consensus on the goal. As is now, I see it as a chance to start over with so many silly things (ie, 12 layers of NAT for everything in the cloud). When you look at all the gripping about problems, it's so much of a better pitch to think of it as this new global network to play with that opens more doors instead of some never-going-to-happen retrofit from hell.
It's a sad state of affairs that these tags are perceived mandatory even here.
Twitter seems angrier and more prone to witchhunts than the others. Gamergate/Justine Sacco/whatever seem like they're more likely to happen when the boundary between chatting with friends and public statements is blurry.

I feel like Twitter is not going to make it because it feels very hostile to _any_ beliefs. I'd bet that it will be seen as leading to Instagram/Medium/Weibo/whatever, much the same way that the BBSs led us to HN.
Error

error getting search results page
Are you serious? Islam is not a nationality.
What HTTP/2 Means for Ruby Developers