skysight-inc/HackerNews huggingface dataset:
The total construction cost of the Oroville dam, ending in 1968 was $480 million. Inflation-adjusted, that's $3.5 billion in 2017. $500 million just to repair the spillway seems excessive...

See table 8 in http://www.water.ca.gov/swpao/docs/bulletins/bulletin132/Bul...
The Lurkers Support Me in Email
Eventually your language (which language, please? :- ) will cease to be. You really ought to record these curious details as you come across them, because they may never be noticed ever again once you're gone. This goes for nuances of living languages, too. Who alive today remembers using the Japanese kana ゑ in a casual setting? Will remember not using the English word for kitchen in Japanese? Even English only has cultural memory for facets of the language which made it into popular literature, people can remember that hour and whore used to make enough the same sound that Shakespeare interchanged them poetically, but who remembers using ð to write ðe?

Linguistic diversity is a direct expression of cultural isolation. When people live together, when more people can afford to travel, when more people can't afford not to travel, languages will inevitably be obsoleted or combined.

When there is no cultural isolation left in the world, we will all inevitably speak one language.
Let's be real, males using positions of power to obtain sex isn't exactly a US-only problem, it's fundamental hardwiring of virtually every primate species.

I don't think any country at this point is particularly amazing at containing those primal tendencies, but happy to be proven wrong.

Either way, just like with violence and crime, we need to continue the journey of education of what is and is not acceptable behavior in the civilized world in 2017 and hope that that, combined with the legal system, keep those primal urges (that evolve much slower than our technology and our moral progress) in check.
There's an interesting game theory problem here. If you stick the bidder with the cost of overruns, they will bid high -- and be overpaid if the risks don't eventuate.

So, the consensus seems to be Governments would rather get low bids that don't price in unknowns. If unknowns happen, they can dicker over the increase. But if you award a contract that's too fat, it's difficult to claw back.

If the work goes exactly to plan, the contract will come in on budget. But if problems occur, the price usually goes up. Our current system seems to be optimized for lower overall project cost at completion, with the side effect of making it less useful as a budgeting tool.
certbot[1] is a tool for automating the Lets Encrypt process on something like a DO droplet. there's some info about SSL in the wordpress docs[2]

1. https://certbot.eff.org/

2. https://make.wordpress.org/support/user-manual/web-publishin...
To your point on beer and wine: state liquor licensing boards control retail pricing structures pretty heavily. In Tennessee for example (the state I’m most familiar with), the price of beer can be set at whatever, but liquor can’t be sold below cost and wine can’t be sold below a 20% markup over cost. It makes discounting a bit tricky, to ensure you stay compliant. Especially if you already have competitive pricing.
Kirkland is in favor of what the other cities are doing, which is ripping out the rails and replacing with park amenities (so-called "rails to trails"). They even managed to help defeat an effort by the Ballard Spur Railroad to keep rail service on the corridor.

The city council there has been opposed to rail on the ERC ever since Sound Transit 3 was a gleam in the eye. They've wanted BRT, over Sound Transit's objections, because they deem it more compatible with trail uses and not taking up as much space in the corridor. (And able to be located on the eastern edge of the corridor, preserving views to the west. So, yet again, needed infrastructure takes a back seat to scenery.)

Some links:

https://seattletransitblog.com/2015/11/16/kirklands-brt-desi...

https://seattletransitblog.com/2016/03/12/kirkland-st-strugg...

https://seattletransitblog.com/2016/11/28/kirkland-in-st3/
What did you like and not like about Hostgator?

I was with Rackspace for years, but Liquid Web bought their cloud site service and I am not too fond of the support I have been getting from Liquid Web and am looking to make a change.
Ask HN: Why is it “tutroals” and not “tutorials” in URL for OpenCV-Python docs?
I was playing around with OpenCV for a while but I still don't understand why the URL for the docs is https://opencv-python-tutroals.readthedocs.io and not https://opencv-python-tutorials.readthedocs.io (which is not taken, BTW).

Is there some reason (may be for uniqueness in search engine searches?) why the URL is named that way? I searched for the word tutroals to see if it means anything in any language, but Google hits a maze. Any idea, anyone?
> As the project matures bugs are inevitably found or new features are added, these correspond the occasional spikes in the activity. However, if the initial phase of the project can't be completed in a timely fashion then nothing else can happen.

> In my experience, if you can't get something interesting working in a few days the likelihood of actually finishing the project starts rapidly approaching zero.

> With Clojure you can get things done fast, fast enough that you get something working while the initial spark of excitement is still present. I would hazard to guess that this is the reason why Clojure has so many great libraries despite being a young language.
I have recently finished (today) some ETL work with Pandas. Pandas touts time series resampling features that are hard to match anywhere else.

Disclaimer: Contributed performance improvements to Pandas around two years ago.
> USA on the other way just want everybody to be okay cause you know USA is all about money and business.

So long as you're working in the interest of US Businesses that is. Just ask the South American Democracies about the benevolent USA taking care of them.

I think people are just more comfortable with the enemy they know.
Many skin cancer treatments have a similar process.
from my reading, the best use case i could think of would be to use it to have foreign keys to transactions and the like in your app database so that you can ensure their integrity
Their feelings were hurt and your argument goes against the "diversity is strength" narrative.

I upvoted you btw, I assume some downvotes were because your choice of words was a bit too callous for their liking.
The doctor explaining the risks isn't working, because of the ad.

Not sure I understand. The survey was asking doctors if they think patients understand the risks from seeing the ad. Doctors think they do.

But patients then need to go and talk to the doctor, who should then clarify the risks since they are the medical professional, not the patient.

If the patient then decides the risks are worth it, and the doctor thinks the drug will help, the doctor writes a prescription.
Thanks. The post is more than a few months old, it predates FF 54 (released in July 2017).
why do you think that I'm talking about you? the phrasing of my post even says "imagine", indicating that I'm assuming it doesn't apply to you. imagine yourself as someone who wasn't lucky enough to be born into the "right" citizenship

furthermore, you're describing urban-to-urban movement in your post for some reason...you're either being very disingenuous in that regard because the main issue with the hukou system is that it blocks rural-to-urban, or i know more about it than you do...
Wow! I didn't know you could make $10 billion from renting out a tower and having a tv-show. Maybe the government should build 100 of these, and hire 100 idiots to run them and start their own tv-shows. They could earn $1 trillon and pay back a big chunk of the national debt with people that obviously have no skills whatsoever!
(2013)

Discussion from a couple of years ago (97 comments):

https://news.ycombinator.com/item?id=8074186
"So neither side really fighting for or against the spread of democracy."

In fact, South Korea continued to be ruled by repressive dictatorships until 1987:

https://en.wikipedia.org/wiki/South_Korea#1979
Have you configured DKIM and SPF on your VPS's DNS?
It definitely happened in Portland when they ran the Orange line. We were house-hunting a year or two before the new light rail opened, and realtors showing houses along its route were already starting to make a point of mentioning it.

As soon as it actually opened, neighborhoods that could use it suddenly got a lot more desirable (read: expensive).
Arguably that makes it easier to learn for people who speak either Germanic or Romance Languages. The hard part about english is our vocabulary, compared to any Germanic or Romance language its huge, because of the history of english we have two or more words for many things - some are context based, some are just archaic, and some are in every day common use.
i can understand why it's necessary, but that doesn't mean that it's not oppressive
How would they know how hot it feels for you? Have you given any input on that?
In fairness, english has 'stolen' as much vocabulary, as we've had foisted upon us... of course I don't think you can 'steal' a word anyhow.
Show HN: Trankil: Meditate and Mindfulness with James Allen
First mobile app. "Trankil" is 5 minute meditation app designed for busy schedules. Hacker News keeps block the URL when I add it on here so just do a search for the word "Trankil" in the play store and it will show up.
I watched everything and I confirm, it’s what was the crack, and it doesn’t exist anymore, it’s filled in. At about the same place the are putting an aeration feature to mix air in the water and make it less destructive to the concrete downstream.
Anecdotal: Ease of use has always been a major selling point for shared hosting, now more than ever. Not everyone wants to be a sysadmin, and John's Pizza sure as hell doesn't know what a VPS is. They just need a simple WordPress install.
Modern safety standards in construction are much more stringent than late-60s safety standards in construction.
Is there any evidence that people who are at high risk for Alzheimer's will benefit from a regular regimen of antioxidants, then?
Are you referring to 'sugar' or carbs?
Won't someone think of the children!?!?
I’ve already seen large scale clojure projects being rewritten to something average devs can maintain. Don’t expect much more growth out of this language in terms of new projects written in clojure.
> Ease of use has always been a major selling point

You're right, but that doesn't mean people need shared hosting, it means people need managed hosting.

Shared hosting is a gimmick model designed to make hosting companies rich based on the concept that 99% of websites will be failures.

And it is _nothing more than that_.
I've had to deal with Hostgator on a number of occasions and I can tell you they don't know how to utilize SSH keys their systems are misconfigured and their support people are clueless.

Also I believe they're now owned by EIG which is a corporation that owns a thousand crappy shared hosting companies and is universally reviled in professional circles.
Most shared hosts are scams that dissable your account if you get any traffic. But Mythic Beasts is great I host 5 websites on them for the cost of a panini. They host my email too, works fine.
Yet there's no way you'd ever build Oroville today for 3.5bn.

It seems inflation in large scale civil engineering has gone up at least a factor of ten more than general inflation.
A better analogy would be that there’s an argument on land between various farming households. China is now using heavy machinery to change the flow of the river which served as the naturally boundary and saying “see, this ALL used to be mine.”

China also patently doesn’t give a crap about equal countries or cultural issues - they want and need to be the top, and so that’s what they are going to Do.
You can do basically the same thing in python

@contextlib.contextmanager
def open(*args)
# file open
try:
yield file
finally:
file.close()

with open(args) as file:
# use file
The only factor in the diversity of language, is the isolation of cultures. The less isolated cultures are, the less any individual could be bothered to speak a different language.

As the world becomes more integrated, and less isolated, even major languages will begin to disappear.

I see this happening with one of my favourite languages: Japanese. Colloquial Japanese is slowly replacing words with close English approximations (just as it took on German vocabulary in the early 20th century), dialects are at once becoming more widely understood, and more similar.

You can no more preserve a language than you can preserve a human being.
The simplest explanation is that it's just a typo.
VPS,PaaS, Cloud servers are also shared hosting, difference is providing os/container level isolation instead of user account type isolation. So, yes everybody still using "shared" hosting.
I find cultural enclaves to be both needed, sometimes dangerous, and in some cases disrespectful.

It's needed, because often people bring their parents and grandparents over with them, to act as a support network to help prosper and raise children - its unreasonable to expect people older than 50 or so to learn english - nor is it practical. It becomes dangerous when you have second and third generation immigrants not learning english and joining the larger culture of whatever nation their parents or grandparents immigrated to - and its disrespectful, because frankly, my people moved here from the 'old county' (norway among other places) they didn't speak english, but they learned, and they wanted to join in all of the benefits of being a part of this new country of theirs.

An example, I'm an American - if I moved to Spain or Germany, I'd want to participate as fully as I could in the culture and society of my newly adopted country, I'd want to localize myself to the my new found home, to me, its disrespectful to the hospitality of my new home country if I do not - it's as if they gave me a gift, and I'm not reciprocating by keeping up my part of the bargain by becoming a true citizen of that place. If I'd wanted to continue the old ways/if the old ways were working for me, I could just stay at home.
I think breaking down the language barrier between cultures is key to prosperity and peace. I wonder how many wars, diplomatic incidents and other issues could have been prevented with a common language.
> At the same time, each language is a barrier between people, one that prevents ideas to be shared and stories to be told.

If all we had was Cobol as the One True Programming Language, we sure would have saved a lot of time reimplementing things. Would we also have missed out on anything important though?

Calling multilingualism a barrier between people seems a bit myopic to me. What about all anthropologic richness that language diversity teaches us? What about the stuff it's taught us about human psychology? What about the cooperative understanding that is built between people through the act itself of learning a language?
Ask HN: How to stream low latency audio from one machine to another over LAN?
Been trying to do this on and off for years now, at different moments for different reasons. Is there a simple way that makes it possible to stream (uncompressed) audio from one machine to another?

e.g. Windows 10 desktop PC audio output -> Macbook headphone output on the same LAN.

For what it's worth, I've known that it's possible for some people to accomplish this using VLC but I've been trying to use the same tutorials, in vain, for the better part of .. a decade now? .. without success via VLC. I also tried using IceCast but since it uses TCP it is kinda fucky. Thanks.

PS.

Currently using the SoundIt Chrome extension to stream a lower quality audio stream atop of the Chrome Remote Desktop api, but this is hardly ideal for a few reasons - a) the client webpage UI uses a ton of CPU and drains battery on my laptop, b) iffy quality at best and robotic crunches at worst, c) it seems unmaintained.

I'll buy another audio interface soon, but this is not really a problem that I don't want to again be unable to solve when it crops up in the future again..
Also, while people here are thinking mostly about retailers like Amazon, I'd say that even with all the data they have and the processing and engineer power they throw at it, they still haven't caught up to the airlines in terms of efficiency at determining how much people are willing to pay for something.

Airline yield management -- which includes both setting the price buckets for different fare classes, and deciding which flights/routes get allocated certain numbers of seats in different fare classes -- is a dark art.

And in case someone happening by is confused by that, I'm not talking about economy class versus first class here. In the US, for example, there may be a dozen or more different fare classes which all book the same type of seat in the same cabin of the same aircraft, but which have different prices attached to them. This is the source of a lot of (inaccurate) advice to do things like booking tickets on certain days of the week or at certain times to try to get the lowest price. Airlines dynamically allocate and re-allocate differently-priced fare classes to flights all the time, and unless you really really know what you're doing, have time (which isn't free) to spend on it and pay (which also isn't free, obviously) for a service that lets you scan inventory by fare class, you're not going to reliably get the lowest price.

For example, by my count currently American has 14 fare classes which initially book into the economy cabin (and with different rules about how and whether they upgrade to a different one), Delta has 15, and United has 17. These vary by level of discount, restrictions on change/refund, who they're offered to (Delta has some which are known to be explicitly a "we only use this to indicate a fare where we're trying to price-match another airline on the same route", for example, and all three have fares for things like government and military travel), etc. and price differently.
I encourage you to try some top-shelf olive oil, if you haven't already -- I find that it blows butter out of the water in most cases.

I initially felt the same way as you wrt tastiness, but had a friend bring me back a tin of oil from Italy recently and whoooo boy it's just the most phenomenal thing. Add a bit of salt & pepper to a shallow bowl of oil for dipping bread.
It's a mental resource hog if nothing else. Just changed a setting on my moms phone and noticed she had 108k unread emails between two accounts. All spam.
China has not been able to project power over the last century, so of course the US is going to have been more interventionist. Even today the Chinese navy only has one relatively small, foreign made aircraft carrier. Compare that to the US navy in the 1940s; maybe the only thing that allowed China to continue to exist as a sovereign nation.
>While your pre-ditch data is invariably still stored on NSA servers, you’re at least sending a strong message to the mainstream email provider that you’ve had enough.

that was dumb
Never put some pork in a microwave?
Ask HN: Advice for someone struggling to learn Django
Hello HackerNews. I've been trying to learn Django for about a half a year now. After completing many tutorials I find myself struggling to build projects that deviate from said tutorials. Any suggestions?
Korean spelling is pretty regular (because it was standardized in the early 20th century), but the language itself is very difficult for average English speakers.

For one thing, each verb can have several thousand different forms: in fact I don't think anyone can enumerate them all. (Sometimes people even make up new forms!)
I'm pretty sure this already well covered in https://www.tensorflow.org/programmers_guide/

I don't think reading this will give you any understanding of what tensorflow is useful for, or how to do it.

The steps of writing a tensorflow program are always like the 'how to draw an owl'; first you define some simple tensors... then just, do the rest of it.

Step 1: Define tensors and inputs. OK!

Step 2: Linear regression. OK! (useless, but sure)

Step 3: Generate high resolution cat videos from a corpus of dog videos. Uh... ????

There are plenty of very good simple introductions to tensorflow.

The tensorflow tutorials themselves try to drop people in 'from the top' with high level practical examples, so we're good on that front too.

What's missing is a middle ground of 'and then do something practical but simple'.

You know what the 'best practice' advice for working with a GAN is?

Find someone else's implementation, copy it, and tweek the hyper parameters, change the input.

This is why I recommend people learn keras, not tensorflow; because it isn't super production ready and practical, but it will let you learn to build and test models easily.

...and if there's one 'programmers guide' to tensorflow, it's exactly that:

You don't just 'build' a tensorflow model; problem solved off you go.

Nope, you're going to be going back and tweaking and changing and randomly trying different stuff over and over again until you stumble into a 'good enough' solution to run with.

...and that solution; it might almost work for some other similar domains... but it probably doesn't generalize. You'll probably have to do the whole thing from scratch again.

Machine learning. Fun times.
I disagree.

If you tell people that the only way they can do something "on scope exit" is to write a whole class with a destructor and manually capturing variables, the result is they won't bother. They'll just put the code at the end of the function, and say "I'm too lazy to make this exception-safe."

This defer() macro is almost exactly what I've been using for the last 5 years or so:

https://github.com/capnproto/capnproto/blob/master/c++/src/k...

And I can say pretty confidently that it's a really good idea to have. I'm sort of surprised, actually, that not everyone is already doing this...
We have been too kind to the Coca Cola brand. We tell ourselves that Coca Cola started out as the product we know and love but originally there just so happened to be trace amounts of cocaine in there. These would have been harmless quantities, not likely to have any type of effect. This is the quaint legend we have arrived at.

However.

Coca Cola started as a sugary drink laced with cocaine. Much like how beer has alcohol in it to keep you buying more, Coca Cola had that magically addictive cocaine in it to keep customers coming back for more.

The name 'Coca Cola' is a celebration of this history, really there is no more insane an idea than getting a nation hooked on class A drugs in liquid form. The name and the connotations would make a right minded person want to be disassociated from that.

In theory a 'crack pipe' could be re-purposed as a nice little vase suitable for a small child to play with. But that would make you shudder. So why is it that we are happy to have this denatured liquid cocaine drink as something we give to children? We could at least change the branding, drop the 'coke' and 'coca-' drug references. With allusions to it being the real thing?

When original Coca Cola got closed down and they had to reformulate their marketing they realised that they could do just as well getting people hooked to sugary drinks laced with caffeine and salt, the cocaine wasn't actually needed to shift product. Or even the sugar, fake sweeteners work too, perhaps even more addictively. Maybe it is the marketing that is the problem and not the product ingredients. They can even get the water hooked into buying plain bottled water, something that was never bought back in the days when tap water was a luxury.
>I'm incredibly disappointed how stuff like PGP has not been widely adopted.

because mainstream media didn't tell people to do it. Same with XMPP, it has been around for ages, it is safe, end to end encryption but if Edward Snowden said Telegram is cool, then it's not because otherwise FSB kicks him out of Russia.