skysight-inc/HackerNews huggingface dataset:
>Make specialized advertising sites where companies can promote their products and services and let the users come when they want to check out what's new or look for something they need. They will come. And they will be happier and the companies will be happier.

You mean like a product website - or the physical version, a shopping mall?
>In my experience cars last about 10 year, 15 if you are careful.

Huh? How can 'time' kill a car?

My car celebrated her 30th birthday. Under 200K miles.
Time does not kill cars, and neither does mileage.

It just gets to a point where it is cheaper to replace then to repair.
Privatizing prisons hasn't created a permanent "bureaucracy", but it's created a just as permanent government funded industry.
It's a one time cost. The others are monthly costs.
Most likely they're paying for a redistributable licence which is much more expensive than other licences.

For instance, take a look at this font I'm currently integrating into the app I'm working on:

https://www.myfonts.com/fonts/intelligent-foundry/averta/
https://www.myfonts.com/fonts/intelligent-foundry/averta/buy...

If you want to put these on the web, you're paying $200 per font type.
If you want to buy the whole family, that's almost $1200.

Companies with a design focus are happy to pay this in order to differentiate themselves from others.
Are you claiming that that range of camera and lens technology will never be duplicated in the digital realm?
So just rewrite the app?
Seconding shakethemonkey's comments and would ask: how much thought do people put into the car they buy versus the cars they rent?

The car companies have enjoyed brand loyalty and the ability to sell feature bundles because many people associate their car with their identity. When you say “Mustang owner”, “Subaru driver”, etc. specific images come to mind, and across all cars you see things like people paying considerably more to e.g. have a fuel-inefficient engine because there are a few times where they can step on the gas and enjoy the rapid acceleration. Manufacturers made billions selling SUVs to people who thought safer, cheaper minivans were too boring.

That doesn't completely go away with self-driving cars – someone with 4 kids will still have different needs than the avid bicyclist or single urbanite — but a lot of it will become less important if people start thinking about their car as, say, the place where they play games or catch up on Netflix while they head home from work. Why pay Ford for the premium sport package when you can put the money into a faster mobile data plan or a better tablet? They certainly don't go out of business in that scenario but the business becomes tighter and less exciting if it becomes more of a commodity where people generally just buy whatever's cheaper.
I have made no comment about the quality of Pascal vs. C. In fact I like Pascal a lot, my comment is just on the way to write idiomatic code in each language. In C it is much easier and common to traverse data structures. Pascal may do it in some implementations, but its not how programmers used to organize their code. This just means that for C programmers it is frequently easier to work with NULL terminated strings.
Security vulnerability in Go
https://news.ycombinator.com/item?id=10875144
+1 up vote. Thanks for your comment. That last sentence in my post really does come off sounding egotistic. I need to reread what I write before posting.
Sounds just like banner ads back in the 90s!

Still looking for an idea in this thread that moves us forward...
"Heroku is very, very expensive."
"saved them probably $100 per month"

I'm confused.
At that level, probably none:

http://www.fitz-cpa.com/gambling.aspx#GM7

Once you are in AMT territory, you lose the deduction.
I did not know Idris targeted C!

Idris seems really great, but I can't use it for much because its standard library is sorely lacking. If someone were to port over an equivalent of Haskell's Base (including Network, Map, Seq, Vector, etc.) I would probably start using it for real work.
There are 2 main reasons for this. One is the erosion of the welfare state, and we can see this in our return to gilded-age levels of inequality, and the other is our relentless desire for stuff (materialism).
With a big enough N, the probability of reaching
significance approaches 1.

Well, not with an A vs A experiment. Then the probability of significance at the p < 0.05 level should stay 5%.

On the other hand, in an A vs B experiment where B is very slightly different from A you're right that with a large enough population you become very likely to reach a p < 0.05 significance level, just with an extremely tiny effect size. The experiment has told you something about the difference between A and B, and you now have high certainty, but it's just such a small difference that you probably don't care.

Have you ever approached a tool in the field that
would fail my proposed test?

Your proposed test being, run an A vs A experiment and a tool is faulty if it concludes there's a difference significant at the 0.05 level more than 5% of the time? All the tools I've used for A/B testing would do fine on this test. This includes a custom tool at a computational advertising startup I worked at, Google's internal experiment platform, and Google Analytics' Content Experiments.

(If I didn't trust a tool to pass this test I'd just use it to get the counts for both sides of the experiment and do that stats on my own.)
Sustained human powered flight wasn't achieved by top engineering teams until the late 20th century. It can't be done without at least aluminum and lightweight plastics.

Engine powered flight is much easier and done a century earlier. Yet it still required steel working and internal combustion engine technologies. Small Pacific islands are just not likely to provide access to the necessary iron ore and oil deposits.

But I don't fault them for trying.
You just answered your own question. Time to go become an interesting person.

First of all, you have burnout. You need to heal, and it'll take time. I know. I have been there and back again. Aim to spend at least 6 months not working in your field. A lot of people will say travel. Could be, but doesn't have to be.

Now, an anecdote. I was working in non-profit fundraising and attended a talk by one of the celebrated thinkers on major donor fundraising. She said the key to working with major donors, to being able to create meaningful, non-parasitic relationships with people who have a lot of money to bring to the cause, is to be interesting. Interesting people are interesting because they have a full life of experiences outside their profession. Interesting people do not spend all their time working. So her answer to becoming a better fundraising professional, was to work less, and live more. This struck me as widely applicable advice.
For what it's worth, people have been calling the AMA a union by another name for several decades.

http://www.forbes.com/sites/johngoodman/2014/09/03/the-docto...

They lobby, they control the supply of doctors, they restrict competition, and they even engage in price fixing:

https://www.washingtonpost.com/business/economy/how-a-secret...

They shape a lot of medical legislation, for example killing the Affordable Care Act's "public option."

http://www.nytimes.com/2009/06/11/us/politics/11health.html

This isn't a recent thing. The AMA was key in killing Truman's universal healthcare proposal starting in 1945.

http://umhm.mededu.miami.edu/?p=394
Take a few steps back and try to recall the real reason why you were so passionate early on: you found something that resonated with you deeply. You will not gain that same insight if you do not just "let it go" (no Disney-esque pun intended there).

Often times, holding onto what made you happy or satiated your desires despite it hurting you in a bad way, is a recipe for a downward spiral to nowhere.

Try a new hobby, make sure new people are involved. Sign up for a class in accounting or something related to woodworking. Important part of this practice is _people_. You must have others new people around you that have _no_ idea about what you do professionally or during most of you waking hours. That way you will not feel the weight of the world on you shoulders.

I have been there, man. However, it only gets better if you own it.
Good luck!
I used to say "but we could just build that", but I agree with you.

Some of the things I find expensive are te SSL line items and more peculiar than expensive really, a $25 image carousel.

If letsencrypt could be a drop in replacement for te SSL spend it would save them some money.

Other than that, I don't use Heroku, but not wanted to manage a db is pretty reasonable and the cost offset is likely there.

Sometimes these startups are 2 people. So the tech cycle would be hard enough, not to mention business and customer support.
What do you imagine yourself doing when you daydream about that early retirement?
I think advances in cultural norms improve more slowly than advances in technology. Also if you are a policymaker who discourages productivity, then that is equivalent to discouraging economic growth. Even if it would increase the well being of workers, it's controversial to be anti-growth.
I recommend this CCC presentation by an AMD engineer: https://media.ccc.de/v/32c3-7171-when_hardware_must_just_wor...

The bottom line is that as a last resort debugging method, all modern chips can do scan dumps, which means reading out the state of every flip-flop on the chip. Obviously I have no idea whether that was needed by Intel to find this bug. It's possible that a higher-level emulation or some other technique was sufficient. But when all else fails, you can still do scan dumps.
I can't answer that. There are too many variables involved and like I said it is not as simple as a multiple choice question. You have to consider the percentage of the company they own for their investment. If Mr. X owns 5% and Mr. Y owns 25% well Mr. Y is entitled to more money. However, if Mr. X has a liquidation preference in his investment he may end up getting more than Mr. Y.

The question has way too many variables and even more unknowns to give a simple answer to. It is strictly a legal question that should be handled between attorneys, investors, and the company.
Save $500 to $1000 Every Month
How about input fuzzing? Did you try crashing it and see how quickly it can recover? Unit tests? What about zero downtime upgrades? DDoS resiliency? Can it utilize all cores on a machine? Scalable? What are the median and max response times under load?

Oh it's just a quick demo? Nevermind.
Investment Principals for Retirement
Vaccination is one of the one of the most important public health breakthroughs of the past 5,000 years - perhaps on par with sewage systems. smallpox has been eradicated by vaccines - it no longer exists in the wild - saving approximately 5 million lives annually[1]. This was a "slow and painstaking process" [2]. Polio is next. This happens if the vaccination program is successful. Vaccination can then also be ended, saving the United States $270M per year.

If a woman came to me as a doctor and wanted to put her town, country, and world at risk by opting out of one of the miracles of modern science due to misinformation she received elsewhere I would have zero qualms about looking her in the eye and lying "I beieve the Pope issued a papal bull last August requiring every Catholic to be vaccinated." Even though it is a lie and although I start my sentence with "I believe..." in fact I don't believe the bogus fact I then state, which I make up.

This would be highly ethical of me to do, and has full plausible deniability as I could simply say I believed it, that I heard that somewhere. Even though I didn't. Even though I'd be lying to my patient.

The fact that there are four respondents here who think that the likely outcome doesn't matter, and "there is absolutely no way" that lying to achieve growth is ethical, and "I don't care how much benefit the app might bring me", means that we have nothing more to discuss.

Go read a few thousand pages of modern ethics. The respondent who mentions the technical terms of utilitarianism and deontology has the right idea.

Absolutely the outcome, benefit, and the fact that the author's friends are heavy users who love it matter.

[1] http://www.unicef.org/pon96/hevaccin.htm

[2] http://www.who.int/csr/disease/smallpox/faq/en/ "Smallpox no longer occurs naturally since it was totally eradicated by a lengthy and painstaking process, which identified all cases and their contacts and ensured that they were all vaccinated. Until then, smallpox killed many millions of people.
> However, the significance or p-value reflects the probability that the correlation does not imply a causal relation.

Technically, in this case, a significance test would answer the question "is the Pearson correlation statistically significant from 0?" In this case, we would expect it to fail since it clearly isn't, and is therefore the test is less helpful/important. (even if it passed, the conclusion would be "correlations are low in magnitude and therefore do not matter" as noted in the post anyways)

Finding the exact P-value of a Pearson correlation requires setting up bootstrapping, which is not something I have handy at the time but will work on in future posts.

Again, I'm not looking at R^2 and the P-value of a linear regression, which is different.
As dumb and hackneyed it sounds, some more sport may help get your balance back. You should try some high intensity interval training, yoga or running. Works wonders on your longterm mood.
Advertising doesn't have to suck. We can tell great stories with digital.

Imagine if you'd seen an article about Shaq being a giant, and it only had ONE ad for mayonnaise instead of 38. Imagine all the great stories Folgers Mayonnaise (or whoever) could have told!

I claim (with no evidence) that you can't tell great stories about mayonnaise with digital, or with anything. I claim similarly that people don't want to see or read great stories about mayonnaise.

Sure, you can interrupt a TV show and put a mayonnaise advert there, where a roughly-captive audience will see it, you can put an advert by a road or on a building, where people can't reasonably avoid it, and from that there will be more recognition of some brands than others. Within the context of a TV ad which is going to exist, there are better and worse adverts, and adverts which try (successfully) to manipulate feelings about mayonnaise by connecting them to happy family mealtime scenarios and so on.

But people are not clamouring for George R. R. Martin's latest "Game of Mayonnaise" installment. Nobody is hanging on Stephen King's publishing schedules looking for something, anything, about mayonnaise. People aren't quoting "top 10 films of 2015" and including Spielberg's latest mayonnaise epic, or desperately hoping that the decision between Amazon Prime and Netflix will be settled once and for all by whichever one finally gets on the missing mayonnaise content.

This is collective intelligence at work. This will be how the Wild West is won. The industry hasn't been able to police ourselves, so consumers will force change upon the industry themselves.

Yes. But if you read that as "the stories we are telling about mayonnaise aren't good enough", then I think you're not receiving the same message that the collective intelligence is sending.

You clicked three adverts a day, every day, on your phone - every single one by accident - a hundred adverts and not a single one you were interested in - and you read that as "advertising is great, just think how good adblockers will make it"?
Ask HN: Stock market and trading blogs or vlogs?
Do you have any to recommend?
"He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible..."

Software engineering is so far removed from other facets of engineering that comparisons to poetry make for better discussion.
Material goods mostly dropped in price. It's staples like education, housing and healthcare that skyrocketed.

So no, it wasn't desire for stuff that got us here.
Trial by combat is a judicial proceeding to determine guilt or innocence. Even if the matter is one of property or contract, the issue at combat is which of the two parties has committed perjury. The concept is that God will step in to aid the righteous party, similar to the very different 'trial by ordeal'.

Dueling is a means of resolving disputes between individuals, normally over matter of honour or defamation. Or women. There is some crossover in terms, with some courts referring to trial by combat as a dueling, but it isn't the same thing. Dueling traditions normally involve a great many steps to avoid legal repercussions

The modern version of dueling is probably streetracing. Kids+honor+danger+girls+illegality+expensive toys = occasional deaths.
"some .apk file" being the Amazon store. It's annoying but it's not nonsense. The store will then notify you about updates and perform them.

It's half google's fault for not allowing the amazon store app to be listen in Play.
I used to live 25 miles from Manhattan. Easy 30 min commute on Metro North.
Even 4 stories is pretty high density compared to the Bay Area norm.

More importantly, in SF, the vast majority of the city is zoned for 1 or 1–2 housing units per lot, with residences only (no mixed use), which means that in practice a huge part of the city is stuck at 1–2 stories. The lot shapes are these skinny awkward things that leave a little yard in the back, but many of those are basically unused dirt patches. Then add wide streets with huge amounts of street parking.
Computer Geeks Dethroned Rock Gods
I think it is safe to say that fully 1/2 of Americans would seem almost alien to you if you were to interact with them in their natural habitat(s). It's true for me, and I was raised among them, before fleeing as soon as I was old enough to drive away.

I mean no offense to anyone. But there's a lot of folks out there living a very different lifestyle than the average HN'er.
We have the surplus the philosophers theorized, but not the humanism to make beneficial use of it. When was the last time you went to the store to buy a shirt and they were out of shirts? The same applies for microchips and cars-- there is an unlimited quantity of these goods as far as the individual is concerned. The next major (albeit likely very gradual) revolution in human society will be of more equitable resource distribution which embraces (rather than grudgingly admits) the prospect of universal high standard of living.

The philosophers never realized that largely it is the inertia of a society that determines its prospects and outcomes in spite of technological advancements which might threaten to change the way of things.
If I have to sign up to try it, I will not try it. I'm sure I'm not the only one.

Yes I could sign up with an anonymous email address over a tor connection.

but I would resent that I was forced to do it
I actually looked at this briefly in my Master's thesis. https://lup.lub.lu.se/student-papers/search/publication/1626...

Rotten Tomatoes was the only one that had any hint of meaningfulness. The others (IMDB, MetaCritic had none). Twitter volume, sentiment and number of theaters it opened in were pretty good indicators though.
My doctors usually spend less than 5 minutes talking to me and 10 minutes hunting and pecking at the computer. Some offices will have other staff do much of the data entry, but it doesn't seem to result in the doctor any spending more time with me.
If you want to get your joy back for software I suggest 2 things to do every day:

A) Start juicing (green things and apples) everyday. A glass in the morning and one before dinner is good.

B) Start to let the body do what its ment to do: move - and make sure its every muscle fiber that gets contracted and stretched.

I have met many people with codefatigue / softwarefatigue - and its basically always been a lack of focus on the needs of the cells constuting our body.
What would be the solution? Is there even a way to verify that web services are not malicious?
lol this is an old one. I remember my advisor who was then a postdoc recommending it to me five years ago.
> You can import a schema from an XML file and the use the meta model to query and to save data.

You can do the same with jOOQ, just in case.

> optimistic locking, query batching,

Also supported in jOOQ

> access-control checks - via plugin, auditing - via plugin

Also possible in jOOQ, although, perhaps not out of the box. How does this work in BarleyDB?

> insert / update statement reordering for increased batch sizes.

A quick win that appears to be a very bad idea in general, e.g. in the presence of triggers.
Education, housing, and healthcare are inelastic. So the price will always increase to a level where people can barely afford them.
> They also tend to believe, rightly or wrongly, that "density" would just mean lots of high end expensive apartments that nobody in the "middle class" can afford.

That would be wrongly.

Supply and demand are real. The fact that SF is now more expensive that NYC proves it. Restrict supply long enough, and prices will go up.

People who refuse to believe in simple, verifiable facts deserve what they get, "sinister" or not.
Do you have a patchy beard? Check this out
The forgotten way African Americans stayed safe in a racist America
Yeah, call me when you software crashes less than a car (due to design or manufacturing defect).
I half agree; it's easy to be cynical. Virtual functions can be a terrible idea... if they are in a hot path.

Is EchoHandler::read such a path? Maybe, you really can't say without profiling. If anything using std::string is the red flag for me.
I agree with this since I think I'm the person you're describing :).
I'd be willing to wager that tighter or more hierarchical management structures are correlated with lower levels of engagement for the employees at the bottom. In other words- there are two ways to get people to cooperate: to use secrecy and threats as a lever, or to have a common myth or vision that everyone believes in. Increasing secrecy and mistrust might be a signal that the common vision has deteriorated. Of course it depends on the size of the organization too. I'd like to see a study confirming or disproving that idea.
The more middle-men you have between the consumer and the provider - be it a product or a service - the more the middle-men will constantly fight for 1) higher prices, and 2) marginalizing both the service provider and the customer.

This applies to education (universities, private schools), healthcare (large hospitals, insurance companies), social services, food, electronics...
Not surprised by this at all.

>However, the Amazon system is so broken that it potentially offers a fix for itself. When the Certification Team rejects your app, you don’t need to change the app. You do not need to respond to their requests. You do not need to make any of the changes that they demand. Since a new person reviews each submission, and since there is no limit on submissions, one way to get through the certification process is to simply roll the dice and spam the certification team. Submit an app 10 times, or 20 times, or 30 times. At some point you will probably get lucky, and someone will approve your app.

Amazon has clearly put a lot of thought into how this is going to work.

They also have no idea how to run a video streaming service; or they think they do, and just don't know how much it sucks. They also have started sucking in buying things, with things like "pantry" which require you to buy a box for $5 so you can get things like soap.

I canceled my prime and have been buying things from stores. I buy my videos (ala DVD) so I can watch them when i want and not be worried about them getting pulled by disney from the "prime" section and being forced to buy it.

Honestly, the only thing I have any respect for is AWS. But even that is severely lacking in polish in clarity, and it's almost a full time job trying to keep up with their additions and changes.
"better"

What does that word even mean?