skysight-inc/HackerNews huggingface dataset:
Ask HN: Would you use an app to keep track of all your relationships?
Any threat that by increasing the # of chickens around humans' living quarters in the third world we might be increasing the chances of developing avian diseases that jump onto surrounding humans, creating new epidemics?
1) Did he say crime? I don't think he ever did.

2) He never said the son appeared in front of his judge father. I'm almost 100% on that too.

So misconceptions in what you misheard, I guess.
It wasn't meant for you, but for those who argue that the market is the sole determinant of what happens.

The Fed is like the engine of a plane, the market the wings. To argue that all you need are wings and the engine is irrelevant, is what too many (on other forums) argue.
This passable advice at a scale that probably 99.999% of people will never need. I've worked on very popular systems, very old systems, and very popular and very old systems and I've never been at this scale.

When you're not at some massively huge scale, this advice is mostly terrible. You should do exactly the opposite.
We replaced that with the phrase "basic concepts" from the intro, in the title above.
"Hi, yes, I'd like to sue Apple for millions, and since I'm an unemployed armchair lawyer, I can make sure it takes a long while and a lot of tedious aggravation to beat me. Also, since I'm suing pro se, Apple would be paying me a salary equal to whatever their legal team makes for the duration of the trial. Or, you know, I'd be happy for Apple to just give me $100,000 to settle."

Then repeat for every wealthy corp you can think of. A loss doesn't hurt you, because you're still getting paid from the joint legal fund.

Alternatively, Apple could give a lawyer a million dollar gift, with the understanding that he'll defend them in any lawsuits for the next year while charging minimum wage. Then, Apple would be happy to pay an equal amount of minimum wage dollars toward the other side's legal expenses.
Interestingly Sketch app announced today they're changing to a subscription model soon. Sketch app abandoned Apple store last December. Looks like Sketch will be back to Mac App Store this fall.

It is sad that Apple only took action now, after years of requests and complains by indie developers. Now that app boom is over, I doubt this App Store changes will have any impact.
Why Complex Passsword Requirements Don't Necessarily Make You Safer
I once worked with a woman who immigrated from Russia who had learned computer science on punch cards. She was always full of energy and happy to be working on interesting project in the USA, because that kind of thing did not happen in the USSR. In that environment, you learned to "not be noticed". Bad things regularly happened to people that were noticed.

Her attitude changed in soon after the Bush administration started their wars in the middle east and the PATRIOT act was passed. When that came up in conversation one day, she suddenly got really serious and quietly said, "It's happening again." The same environment she had fled from the USSR was happening here, and it terrified her.

There was a change. The USA has always had problems, but there defiantly was a change that happened somewhat recently. I've been trying to fight it ever since, but all that has done is convince me that it's going to get a lot uglier before it any true reform is possible.
I complained about a corporation that was breaking the law in an online forum. They sued me for defamation, saying flatly that they had no dealings whatsoever in the accused activity. Shortly after they sued someone else in the same state claiming that, in the process of the same illegal activity, which they described in detail, some other party was not acting in good faith. I ask my lawyer "how in America in 2016 can they make two blatantly contradictory lawsuits?" The lawyer told me "This is a pissing contest you don't want to be involved in. You should settle ASAP". So I paid my life savings and tried to move on.
>One difference is that you wouldn't be morally condemned, and perhaps imprisoned, for setting CPU registers to a state the neural net was programmed to avoid.

Of course you should be though. At least if we are asserting the neural net was advanced enough to be sufficiently human like. Torturing simulations of humans is no different than torturing actual humans.

>Also, the neural net evolves to meet an objective -- a purpose -- bestowed upon it by an outside power. Do you believe this is true of humans too?

The neural net serves humans the same way humans serve evolution.
That's a stupid argument and you know it. It doesn't do you much good to be "innocent" if the state just takes all of your money.
Quantum annealing with a digital twist
Poor index performance effects all your queries, regardless of scale.

Better more practical advice might be: if you don't need to use a X as a PK, don't use a X as a PK.

Where X can be either UUID or BIGINT.

If you don't expect your table to scale past a billion rows, INT is more than fine.
Video Game Company Atari Still Exists--and It's Getting into IoT
American use of the term "socialism" is frankly bizarre.

Western Europe's governments are largely run by social democrats, Christian democrats or liberal conservatives. Very few are left enough to be properly called democratic socialism.
Street Fighting Mathematics [pdf]
I would not call GPL2/3 as a BSD variant in any way... BSD is permissive; GPL2/3 are strong copyleft. Unless you have a VERY lax definition of "variant" grin

EDIT: Thx for the clarification!
Agreed. I get so sad when I see this happen in the JS ecosystem (being used to python), but it's pretty easy to not fall into that trap. Use bower on the browser side, and npm on the server side. At that point, the only fight you have left is finding the stack of components that will play nicely together, which is the labor of architecture anyways.
Why did you use Mexico and Canada for your analogy, when the more apt analogy was the Native Americans?

Have the native Americans still completely accepted in their heart, their peace with (or surrender to) the settlers?
Demonstration of Silex: make a website without coding
You forgot risk of salmonella and other diseases from not properly handling chicken products (meat, eggs, cleaning up after handling them, etc.), and subsequent lack of medical help because of lack of money and/or lack of insurance.

That said, you have to break some eggs to make an omelette (ok, I guess the pun was intended). These are things you can help educate about in the process and shouldn't stop something like this from being rolled out.
More speed and coverage with U.S. Cellular – now part of Project Fi
Immoral, obviously. Probably unconstitutional (that's one for the lawyers, though). Obviously not illegal.
Another grateful Package Control user here.
Over-normalization - one enterprise design pattern I've seen is to take fields that have basic values (which may have more attributes than just text) and create a field_values table which can be reused across objects. The key is to have a composite natural key like "field_name, value_name" so you can reuse across parent tables without creating seperate value tables for common things like status, phase, etc.

It allows more configurability as well - you could have a UI to control/audit all such values and allow for easy external mapping.
The bizarre, brilliant and useful inventions of Cuban DIY engineers
Well, you could also solve it by saying that the post slash names are unique. ie. There can't exist zardeh/serde if erickt/serde already exists. Then the author-name works as a logical checksum, and you aren't any worse off than you were with a global namespace.
I kind of think the basic-ness is the point here. The article is mainly about identifying the opportunity, finding and cleaning the data, making some choices about what to feed into the model, and applying results.

Having worked in business-related mathematics (did an MS in industrial engineering/ops research), I have definitely noticed how critical the "non-technical" aspects are, and how much mileage you can get out of relatively basic stuff if you do those steps well (and how little mileage you get out of sophisticated stuff if you haven't).
Eve: First ever crowd developed computer – top specs at killer price
It is literally highway robbery, as it is the highway patrol pulling you over and stealing your money.
GDB looks intimidating, but once I decided to try it I'd never go back to printf debugging.
Regarding #3, I've heard that one reason cows were made sacred in hinduism is so that people wouldn't slaughter all the dairy cows for meat during times of famine. Not sure how accurate that is though.
Well the walls have been working fantastically well for Israel. Suicide bombings just don't really happen anymore. Yeah sure, the knifings have been going on, but those kill a lot less people.

15 years ago there used to be a bombing every week.
I wonder if it is just better to have the artificial heart for the rest of your life? With all the complications with having a heart transplant, it seems like it could be equally dangerous.

Note, I'm a lay person, and have no clue. Just pondering.
>> how your app functions defines how you should store your data

I think this is the fallacy the parent you are replying to is attacking. Your data should stand apart from your application. Applications change over time. Many databases also serve multiple applications (web, mobile, api, stats, etc.). Your data store should make sense on its own without being tied to an application's design. If you build your database according to your application, then making changes to the application can be difficult or require refactoring the database to match the new application specs. If you instead build your database to make sense standalone, it's up to each application to use it appropriately.
I believe the system is operating on pre-paid cards. I don't know the technical differences in transactions on those vs normal credit cards, but I assume there are some.
As another plug for Kaggle - it lets you know what is state of the art. For instance, from my Kaggle experience I know that gradient boosted decision tress (specifically xgboost) are virtually always superior to random forests. They are also basically just as easy to use, in contrast to neural nets which are not as user friendly. The machine learning step was probably the easiest step in this process, but it is also easy to leave simple gains on the table. Gradient boosted decision trees don't get nearly enough hype.
Show HN: Dash Deploy – Using Amazon Dash Buttons for Deploybot.com Deployments
That's true, but please edit did-you-even-read challenges out of your posts to HN. That's in the site guidelines: https://news.ycombinator.com/newsguidelines.html.

It's enough to just point out what the article/video says, like your second sentence does.
The problem is there's very few examples of real-world data that actually matches a primary key - i.e. is guaranteed to be unique and never changes. I've been burned by this so many times. In reality, everything needs to at least have some capability to change.
Unless they source the chickens locally, from that person selling chicken :)
>The experience of pain is not the same thing as reaction to pain.

I'm claiming the neural net does experience pain. It's not merely a reaction, like screaming "ow!" It's actually experiencing it.

Internally, the neural net would experience directing its attention at the source of the pain, a deep desire to avoid it, and everything else that humans do.

>It's possible neural nets do experience pain, but we have no way of knowing that (any more than we do of knowing that other humans do).

That's just silly. Clearly pain, like everything else, must be a real physical thing that exists and can be observed.

If it's a real process that is casually connected to us and the universe, that is. If it's not real or causally connected to us, then how can it exist or be relevant?
This was a great personal stream-of-consciousness article on WWX and Haxe. I personally had a few jaw dropping moments, in particular when the Kha editor was able to debug shader languages with breakpoints.

It's been interesting to watch a language like Haxe grow organically without a corporate patron. Go, dart, swift, etc. are all great, but there's a bit of risk hitching your horse to a platform backed by a company cough actionscript cough. I realize that most languages now are open source, but I doubt many of them would survive without strong company support. In fact, I think only Ruby can claim to have made it "on their own", mainly thanks to Rails.

The governance issue will get solved I think. I don't think it's a problem with one (or a few) people. There's an implicit mistrust of bureaucracy that I think is merited.

Finding the right balance here will be tricky, and I don't think that Haxe can blindly follow governance models from other languages and communities. But, it's clear that Haxe leadership needs to grow along with the rest of its ecosystem.
"Discrimination" isn't when it is based on actuarial models. Most countries' court systems have already ruled on this.

Basically, I can charge a woman x% more for disability insurance because I can mathematically prove that women are statistically more likely to claim.
> Will operate properly with a modified version

Sounds like all you have to do is prove your build on your dev machine works with newer versions. Up to the user to update the library on the target machine!
Here's one impressive counterexample: https://arxiv.org/abs/1604.08772
> Both self-identified socialists and anti-socialists in the US consider social welfare programs to be socialist.

I don't think that's what Sanders is saying at all. I think he is saying that those programs were derided as "socialism".
Clicked and said "Ha, funny satire, boilerplates really ARE getting ridiculous", but from comments this is for real. Sounds good.
The main problem I have seen with UUIDs from a performance standpoint has to do with indexing and ordering.
To start with ordering, it is inherently a NP-complete problem. UUID can add a good bit of over head here since it's less computationally expensive to order an integer than it is to order something like a unique identifier.
This is also why UUIDs tend to increase fragmentation with indexes, since indexing can be so closely tied to ordering.
SQL Server has made some improvements here with the newsequentialid() function, so maybe it's less of a problem moving forward.
To contradict myself for a second, perhaps the move to more distributed systems and service models over the long term increases the need for the move from INTs to UUIDs. Better to architect for the future now and save yourself some pain down the road. It will be interesting to see how that plays out.
Torta celestial con crema de yema
We have 6 in our backyard and you hardly notice them. They are generally very quiet. The only times ours makes noise is if one chases another.

The birds in the tree make a lot more noise.
Why? Nobody changed the title the first time this was on HN and subsequently made it into Hacker Weekly.

https://news.ycombinator.com/item?id=6075330
Why not just A/B test trials & see how they do? Apple could be missing out on a sizable amount of revenue.
Venezuela's Maduro Introduces Food Fascism
SILVETS • tabletki wspomagające odchudzanie
As the other poster said, chickens will eat all kinds of stuff, including food waste. I've even heard you can let them loose in your garden for a limited time and they'll eat all the insects. (However you want to limit their garden time or else they'll eat your crops after finishing off the bugs.)
I'm confused by the subtitle of the linked article, which says "The AI system was able to solve the complex game in just four tries". But the video shows the AI dying many more times than that, and not ultimately winning the game, just learning to explore a portion of it successfully.

What did the Wired editor mean by "solve" and "four tries"? (Or, for that matter, "complete"?)
Fun fact: their website has listings turned on and runs an ancient version of WordPress last touched in 2012.

http://www.uniloc.com/wp-content/

It's like they're trying to be as obviously illiterate as they possibly can.
A Big Leap for an Artificial Leaf
$ pip install requestr

Package "requestr": did you mean "requests"? [Y/n]
(reason for this warning: similar spelling and requests is much more popular)

Pass --no-spell-warnings to disable this feature.
Secret’s Founder on the Problems with Anonymity
If you write a sufficiently long series of random digits, it becomes increasingly likely that your number is the only use of that number anywhere in the universe. That's the crux of it.

I'm on a train now, but I think there's also a timestamp element to it somewhere, making it less likely that a restart of the random number generator will cause you to have a collision.
Are there any other must-read/watch resources for first-time PMs?
Then you'll end up with a lot of inconvenient compound keys.
Postgres's concurrency control (https://www.postgresql.org/docs/9.5/static/mvcc.html) does fine with many clients adding rows with numeric IDs derived from a sequence. In Postgres a sequence is a database object that always returns the number 1 more than the number it last gave someone (This is customizable too, https://www.postgresql.org/docs/9.5/static/sql-createsequenc...).

With 64-bit integers (in Postgres, "bigint") then you can have over 9 quintillion rows before you run out of numbers.

UUIDs are for when you have more than one database server that people can write to, and those databases must not share IDs. In many cases this is not a design requirement but a design after too little research.
The thing is, for most cases relevant to web apps, you don't even actually want binary data. Your application isn't going to touch the file itself anyway - a client somewhere is going to be the one processing and downloading the file.

There's never a circumstance where dealing with hundreds of kilobytes or more of data is going to be faster than a 50-character file name, regardless of where it's stored.
Also, you can (sometimes/mostly) have a CNAME on a root domain and it even works (sometimes/mostly)
I look forward to the day when you are taunted on the Starcraft boards for playing "like an AI" :-)

That said, game theory has always been an excellent way to analyze AI systems. And using "modern" games (which generally provide attractive skins over a classic mechanic) certainly makes it easier to watch/sit through. When DeepMind starts beating people playing Diplomacy then we'll know we're in a whole new game.
I see decreasing price of chicken/eggs as a good thing. If a fully grown chicken costs upwards of $5, why is it not a good idea to use better facilities? Wouldn't it be cheaper to keep the birds caged up? I guess it depends on our goal here.

Is the idea to give a sense of "ownership" so the program partners feel empowered and can make decisions individually on whether to keep, raise, sell, or eat chicken and eggs?

If it is not that, then I think we should explore industrial farming and some central planning. Five dollars for a small live chicken sounds like a problem which this project can help solve but I think we should welcome bringing down the cost (and keeping it stable at the lower sticker price) of nutrition be it animal-based or plant-based should be welcome.

tl;dr I don't mean to say don't do this but rather we need to do more.
As a PM I almost totally agree with you. There's a caveat, though. I know what I want, and in general, I want everything well done and polished.

But the right question is not "What do I want?" but "What need to be done?". That means having different priorities than my wishes and understanding the work on some non-sexy features that will make the product stronger in the long run.

One thing I noticed, though, is that what needs to be done could change, in a startup environment pretty quickly, and having been on the other side, it is pretty difficult to understand. So you need to communicate clearly why priorities are shifting, and you need to be able to take the blame if they are shifting due to a mistake you have done.

Anyway, my suggestion to any wannabe PM: Thinks of what is important for the product, not what you (or the stakeholders) want in the product. Second, be clear in your communication.
I've made a product which uses Postgres' unique capabilities (It's the only one with transactions covering DDL). Side-effect: Not supporting all DBMS is a no-no when you need funding/convincing anyone. Hence the lowest-common-denominator race for most software. Mine is doing well, thank you ;)
I agree, and I prioritize data structures myself as well, but only because I've been up here in the hizzle for the past three or so years (in a development career of six years) and I kept being reminded of it via the linus quote, and the whole functional programming kazoo.

My experience is that lots of people, including people with many more years of development on me, don't take this approach though.
The biggest one in marketing is cross-channel attribution and valuing hard-to-measure channels like display, video, etc. Better data lets you avoid wasting dollars and better allocating your budget by properly assigning the weight of how much revenue contribution a given channel/campaign/placement/creative/etc. should receive.

This is arguably the toughest problem in the industry, and solutions by Google, Adobe, etc. are just starting to make headway, but are still very expensive and very custom with few exceptions (see the new data-driven attribution release for AdWords for example).
I wonder if this will further reinforce the notion of the "Dunbar's number of apps". In the sense that on a country-by-country basis, the disposable income of people could become the limiting factor affecting how many apps that users install.

If the supposed cognitive load of people for using apps is around 26-27, then is there an economic load that says that people will max at say--- $60/month--- in total app subscriptions in the US? And this number could change drastically for users in other countries based on fluctuating dollar values.
Yeah that's terrible. You could be completely clean and have the trooper suspect you because he thinks you look shifty or something.
try not paying your property tax and see what happens. Deeds mean nothing. Receipts mean nothing. Registration means nothing. The State owns everything.
Don't worry, the next charity can donate guns to protect your chickens. /s

So Charity is really hard to do right. Bill Gates seems to try to do it right. Hopefully he has thought of this already?
The problem is usually with the assumptions about natural fields being unique, or not change over time. One day you realize they can actually change, or they are not unique. Changing the data model at that time to support a different primary key would be very difficult.
There's a whole stack of gold bricks in Ft. Knox that's done me wrong. Where can I file?
Originally discussed at https://news.ycombinator.com/item?id=11514221.
Speaking as a PM, you've basically highlighted the most important part: management.

The job of a PM isn't to translate fickle external whims into a constantly churning set of priorities. That isn't management. It's reaction. And it's worthless.

A real product manager manages those competing interests and influences, and translates that into a focused, steady set of priorities and an overall direction. And if priorities must change or direction must move, that PM must make those decisions carefully, and must exude a sense of focus and control when doing so.
Highest results yet for machine reading comprehension on two benchmark tests