skysight-inc/HackerNews huggingface dataset:
"ebook == hardcover in nearly all ways."

Not really, the issue is that with digital, there are different formats and readers, some just suck and others are better. You can't just put all e-books under one umbrella because the experience varies greatly.

For example, I've totally boycotted Kindle format and devices, it's horrible for so many reasons, if I want an eBook, it's now PDF or nothing.

Kindle for me was always missing or broken TOCs, bad user interfaces, no copy and paste (if you have digital, why not?),no portability between devices (Linux etc), hard to share, dynamic page numbers, missing or poorly formatted images and diagrams, no off-line backup (you never own the media), no thanks.

I was also a person who, in earnest, wanted to go completely digital with my library, I just loved the idea of it and gave away a lot of printed media, I regret this now. I really gave it a good try, but give me a hard copy any day.
"My only point is transparency. If the true, unsubsidized fare were charged would people still ride? Would it still seem like a good deal? Would it still seem like the best plan?"

Do you pay tolls for all the roads you use? Do you pay to park at the store? Do you pay for other's care for their emphezama? Will you buy their flooded house? Do you pay for the funerals of dead walkers and cyclists? Will you pay for new habitat for the wildlife displaced by roads?
Ugh, reset_menace() is hairy - https://github.com/mscroggs/MENACE/blob/master/menace.js#L18...
Not anymore! Java now can link JVM, runtime, and your own modules into a bundle that just works and runs everywhere.

On Linux, you’re even able to compile most of it into a single binary.
Do you think insurance companies are going to be willing to pay $100K per person to cure the common cold?
I understand. In my original reply, I actually wrote in and then deleted a sentence saying that I didn't mean to accuse you specifically of doing so.
I worked for a company that provides shared hosting, and I don't agree with the "relies on failure". Shared hosting isn't for high-traffic websites - it is cheap hosting for low traffic websites, so the whole premise is wrong. Shared hosting providers also sell dedicated, VPS and cloud hosting so they have no interest of having unhappy and potentially customers on cheap plans (a huge chunk of the costs are customer support related).

If you don't get a lot of traffic, then using a shared hosting is perfectly fine, at least where I worked on these servers were very well administered, and we encountered very few glitches and edge cases - shared hosting actually caused much fewer headaches to admins and gNOC than the Virtuozzo containers.

Perhaps there are some bad actors in the industry, but a lot of customers are pretty happy with the cost and stability of shared hosting, so this is why it still exists.
> And on the topic of "too many parens", compared to Javascript, C/C++, Java and many other languages, you'll find about the same number of them.

Exactly. Even more, if you start counting {}, <> and []...

Also, before someone says "but prefix notation!", all mainstream languages are prefix too everywhere except math. That is,

frob(barify(foo, bar))

is prefix notation, and equivalent Lisp is achieved by just shifting the opening paren to the left of the operator name (and dropping commas, thanks to the uniform syntax):

(frob (barify foo bar))
The bidding process is for sure a very problematic one for every project. But in this case, I assume that the bidding wasn't a fixed package, but rather a price per certain action, e.g. for a ton of RCC poured etc. As the bidding happened before the plans were finalized, that would be the only honest way to project the costs. And as we know, the work executed was way more extensive then assumed during the bidding process. There was much more RCC used - they couldn't know where exactly the bedrock was before they dug it out, and more of the upper spillway replaced with a final solution. So some of the costs which would have occurred next year have been part of this years budget.
Considering those changes, it is no surprise, that the costs were overrun, actually the overrun is reasonably modest compared to other projects where there was time for a detailed planning.
So you are saying you believe that if a project completes with no deaths or injuries then too much money was spent on it?
I like the advice to 'create a “stop doing” list.'
Learn to say no?
Good to know. Does it tree-shake to cut down irrelevant stuff out of thefinal package?
The problem is not the profit motive, it is the regulations. We demand such safety and so much data of pharmaceutical companies that it is basically impossible to make a vaccine for a disease like the common cold.

If we are willing to take more risks and require less paperwork we could have a vaccine for the common cold in a few years.
I think lower taxes would benefit Italy a lot in this regard...
Ask HN: Is it wise to back off from an interview if not ready?
I have an interview with a big 4 coming up and I'm not ready at all. Do you think it would be better to let the recruiter know that I'm not ready and will get back to him after a period of time or should I just let the technical screening interview do its job?
Ca you elaborate why would it be impossible to develop and sell under the regulations?
Eh, I don't use Clojure, but I don't think that a lack of a high growth rate is that big a deal. By my unscientific estimate, languages only need about 20,000 active OSS contributors to have a healthy OSS ecosystem, and that's easier to achieve than ever given the growth in the absolute number of programmers. As long as the growth of the language outpaces the attrition rate, it can thrive just the same.
”The longest gate he had identified was more than 1,600 feet long, though most were between 160 and 500 feet long. Sometimes the posts were as thick as 30 feet”

1,600 feet is a _big_ pen, and 30 feet thick seems overkill for a holding pen.
StartUp for sell -
Hello
I have run this startup for over 2 years
and not we want to sell that

2500$ Only for all assets
Googly Play Account developers
Windows Accuont developers
Domain
Web site
Blog
Company EIN
Source code + Doc
facebook account + twitter account + linkedin
All Works Page + Customer info
and any other assets
Tow weeks of Development work Or 80 Hr's

Anyone interested Reply Here

thanks
Sure. It's not like the interviewees only ever mention requests.
Almost everyone interviewed on that show uses Python, and on average will be more experienced than an HN user.
As far as I understand, the main reason for this is that you would need to invest a billion dollar. You might have success with that but you also may not and then there a lot of other nice things you can do with a billion dollar. Governmental research projects have the tendency to go on even after everyone knows that they will fail, so money would be saved by doing them in the private sector where investors stop a failed project sooner. Unfortunately, if the backbone of the therapy has been developed in the 60s and 70s most patents have run out so there is nothing that would return most investments. The only one I could imagine doing this would be a private philantropist like the Gates Foundation.
You're overstating it a bit. The difficulty of making money from it does sound like the reason we don't have such a vaccine _already_, but someday we will. The question will be whether we're still around to enjoy it.
Google says the majority of Chrome traffic is protected with HTTPS
In terms of it making a come back... Why would it when the ambitious could just go somewhere with lower taxes to reduce risk of testing their ideas?
Well, a more accurate comparison would be like this:

{
let a = 123, b = 456, c = 789;
# more code
}

Because Lisp let explicitly defines its scope, while the first example inherits the scope from whatever it is embedded in.
You limit the pot according to what you can afford to loose betting against the sharp. If your odds are alright, the small edge that the odds give the house will play out over the long run. That means astronomic sums of money are needed if you want to allow unlimited bets. Few people would be regularly betting that much. Picking misplaced odds or whatever is exploited is based on luck in the end.
One difference is that Ruby does not need a special language construct/protocol to do so.

An other is that Python's "context managers" are reified which means you can pass them around until you ultimately use them. It's a tradeoff.
A great efficiency of time for the future business traveler. Surely ticket price will be at a premium.
China is a dictatorship and not a benevolent one.

The grand bargain being attempted in China since the '80s is that economic growth achieved by any means (by hook or by crook) will work to pay off the citizenry and prevent reforms in the political arena in the direction of freedom and democracy.

Thus those sympathetic to the growth of freedom and democracy and opposed to power projection of a dictatorship are going to be skeptical and critical of news of Chinese economic growth and international investment.

Also, since Chinese policies within their economic sphere of influence are explicitly protectionist, the expansion of that sphere materially threatens the non-Chinese firms currently brushing up against that sphere (and their future successors).
Minor nitpick re: horse racing: it's "totalisator" (usually abbreviated as "tote") and refers to the machine that keeps track of the pools and odds, and the term for the betting pool type is "parimutuel".

Fun fact: totalisators were originally mechanical computers that were used to price betting pools around the turn of the 20th century (http://www.computerhistory.org/atchm/racetrack-betting-mecha...).
Micron now has a 11TB SSD
On the other hand, it means any helper/builder has to handle this pattern on its own rather than be able to return a file object which can be "context managed" by a caller, which Python allows.
No, but it would be reasonable to pay ~ $1000 per person, which could mean hundreds of billions of dollars of revenue. Pretty good for $1B in R&D.
Build a mini React Fiber
That's quite true. Once people have commitments like a family, they are less willing to put up with companies that demand so much.
I'll need to see an example to understand the issue. The idioms between the two languages are different enough that idiomatic Go might be written a different way for idiomatic Python.

Remember, "with" isn't always required - you can also write the code using a try/finally.
Get design feedback via chat
I currently run my kids browsers under my user by doing "xhost +local:; su -l -c /usr/bin/firefox $USERNAME" where USERNAME is the kids login. I may have made changes to enable that, don't recall sorry.
> Do you think insurance companies are going to be willing to pay $100K per person to cure the common cold?

This is a straw man.

Millions of Americans contract a rhinovirus strain every year [1]. The number is closer to 30,000 for HCV [2]. A rhinovirus cure thus has orders of magnitude more potential customers across which to spread fixed costs.

On the demand side one has, on one hand, 7 to 10 days of the sniffles; on the other hand, fatal liver failure.

Nobody would pay, nor should expect a third party to pay, $100,000 to cure their common cold. The article eyeballs the value of the vaccine market. It’s approximately the present value of 8.7 hours per year * your marginal hourly earnings over your remaining working years.

[1] https://www.cdc.gov/features/rhinoviruses/index.html

[2] https://www.hepatitisc.uw.edu/pdf/screening-diagnosis/epidem...
At least in Germany, most common cold remedies are not paid for by insurance companies but private people (since they have not been proven to work etc.). So insurance companies would only save the additional costs once the cold develops into something worse, which is relatively rare.
arbitrary but fixed number of contexts. What if you wanted to open a variable number of files, as in my example at https://news.ycombinator.com/item?id=15524395 ?
Basically it is impossible to prove the vaccine is safe enough to give to the general population for a disease that is not normally lethal. By the time you had finished the studies to the satisfaction of the FDA your patent would have expired and each vaccine would need to cost $100K per person to pay back the development costs.

If pharmaceutical companies thought there was a fortune to be made curing the common cold they would be doing it.
Can make the user have read access to specified folders on the main user, seems easy enough.
The simple fact is that there is a trade-off between the effective safety measures put in place, and the costs of doing so. And at some point you cross a line between reasonable and unreasonable expense. Dollars may be imaginary, but they trade for real resources, and those resources exchange for opportunity costs elsewhere, including lives that might be saved or improved by other routes.

I'll but the question back to you: how much are you willing to pay to save one additional life? $1 million? $1 billion? $1 trillion? $100 trillion? (That last is more than total gross world production.)

I've got my own considerable problems with numerous elements of evaluating costs and benefits in economics, many of which I've been trying to articulate for over three decades and am only just now starting to get a handle on. I would not argue, for example, that just straight earning potential is an adequate basis. I also don't think that various proposed "market bid" rates for how much individuals are willing to accept under very specific and limited conditions are particularly useful.

But even accounting for community, social, and disruption losses, somewhere between tens and hundreds of millions is likely a reasonable balance.
Dicewarepasswords.com
Most BIOSes out there are based on the Intel UDK, which in turn periodically forks from the open source edk2 firmware. There are customizations depending on the hardware, but most of it is the same.
Publicly released in an unstable state November 2009, meaning (almost) 8 years ago. Which is right where I personally draw the line for "almost a decade".

It's been your preferred language from the moment it was available as a preview, three years before it hit 1.0?
Why is Kali Linux so hard to set up? Why won't people help me?
What makes you think that the regulations that prevent the development of a vaccine today are suddenly going to go away and allow it in the future? The reason we don't have a vaccine has nothing to do with science and everything to do with regulations and economics.
This is a remarkable use of the word "force".

Companies offer to buy purchasing customers from you. It's up to you if you want to take that deal or not.

> I'll start from the end: Companies get FREE advertising from YOU, and unless you get them an actual customer, they don't pay.

Essentially, commission based sales.

> You could have pointed that customer to something you owned and theoretically you could have received the full value of their purchase.

Along with all the costs of actually selling something, and assuming I have something to actually sell.

Let's phrase regular sales in the same way, and it sounds even worse.

Suppliers are "forcing" you to get stock from them (forced by your desire to "sell products and make money"), and make you pay for it even if you never manage to sell it on! You're paying them directly and have to then store it and convert the customers. The risk is entirely on you as well.

You could have sold things you built entirely from scratch. So all that purchasing cost is a payment you make in order to "sell an item".

Referral links are one of the simplest and most obvious products to me, it's just a middleman. Sell an item and get X, with no upfront commitment or cost.
meter please
Adobe CC 2018 Collection for Windows (x86x64) October 2017 and Crack Download
...And you and I both know they are ignoring the much bigger long-term cost and prefer to go for short-term savings. And I think most programmers know how well does that end, historically.

Shortsightedness is not a new invention.

I have plenty of anecdata for when I invested in a better tech fit without asking anybody and it always ended up great. EVERY. SINGLE. TIME. I got a few slaps on the wrist because managers don't like not controlling how you breathe but even they were forced to admit that I saved them money in the mid- and long-term.

I am getting old and cynical and quite frankly I never ask business people questions I know the answer to anymore. I also don't go fanboy mode about languages and tech anymore. If I find a better alternative for something that keeps bleeding my employer's money and human resource with no end in sight, I'll switch it over on both technical and long-term cost-saving merit.

To hell with anyone who disagrees. My stance these days is -- "I know both programming and some business. You only know business. I am better equipped to make the decision than you."
And to toot its horn, Rust combines that with its ownership semantics to create a very neat pattern: many locks have to do with resources yet almost all languages split the resource and the lock and you've got to know that you need to acquire one lock before you use a resource without any intrinsic relation between the two.

In Rust however sync::Mutex::new takes a value, which the lock owns, and acquiring the lock yields a MutexGuard which acts as a reference to the wrapped value. You must acquire the lock to get access to the value (since it's owned by the lock itself), and once the lock is released you have no way to access the locked value (unless you created a copy).

> If you would not name the variable, and do `std::lock_guard<std::mutex>(some_mutex);`, then its scope is limited to a single line, and the lock is immediately released.

OTOH you can pretty trivially create a wrapper/extension which takes a lambda, acquires the lock, calls the lambda then drops the lock. It could even return the lambda's result while at it.
This is very interesting. Recently I realized that if tomorrow the big G decides to take over or close my email address I lose access to all my online accounts.

Step one to freedom was to use my own domain, redirected to my old account, but I'm seriously thinking about doing it all myself.

But keeping a whole server up to date, secure, etc.... that's a full time job. Is there a good solution?
> If you simply place tear-down code at the end of the function

No one is suggesting this. They are saying that you use an RAII class such that it doesn't need tear down. In the example in the article, if std::ofstream calls close() in its destructor (which it does) then you don't need to DEFER a call to it. If you lock a mutex, use a RAII locker class so that you don't need to DEFER a call to unlock(). As someone once said of C++: "my favorite feature is the close brace", because it calls destructors for all objects on the stack, even during exception unwinding.

Of course, the article is just using RAII. But I disagree with the style; rather than re-writing a DEFER(myfile.close()) in every single function that uses a file object, you should make the file class have an appropriate destructor, or at least write a wrapper that does. That way you re-use that code rather than having to re-write it over and over.

> If you write C++ with exceptions, you need this.

You absolutely do not. You need to use the core language feature that it is using: deterministically-called destructors.
We could also have lots and lots of deformed and/or dead babies then. There’s a reason these regulations exist and are updated often to keep up with current best practices.
I am not saying that curing the common cold would not be incredibly valuable to society, but responding to the OP who was suggesting that since we have a treatment for HepC we can have one for the common cold. The pharma companies look at what insurance companies will pay for and develop drugs and vaccines that they will pay for. The insurance companies know the cost to their bottom line of hepC and they know the cost of the common cold.
The Normal Person's Guide to Internet Security
"you can receive criticism if you are eating in a way that is perceived as out of control, such as not at meal times"
that can be a part of the problem in itself... why only eat at meal times rather than when one is hungry?
You could kexec a new kernel that didn't have that restriction.
We could save lots of people by replacing all sidewalks with rubber matting and limiting cars to driving 5 miles an hour. Safety is not an absolute, it is a trade off and medical safety should be no different to any other.
Tried to get a single outside light automated through a z-wave gaget hidden behind the switch. Endless hours later the thing is still either working intermittently or not at all. Even with the nodes in the network right next to each other the network is fragile as hell. I just can't believe how expensive z-wave things can be so much worse than the old 433mhz things that have been around for ages.

I finally gave up and now it's just on (or off) 24/7...

I'm considering giving it another try but I'm not to keen on investing in another tech only to see it fail as miserably as first gen z-wave

Is there no good standard that works over electric lines? Seems it could be so much more reliable and cheap. And every single device already has the wires.

Powerline Ethernet is sketchy with some wiring configurations but you'd think that these minimal bandwidths could be handled in nearly all wiring setups.
> You can’t just take shareholders’ stuff because you don’t like what management did.

Isn’t that what a fine or property seizure does?
JSON to Swagger Compatible model converter
Microsoft Is Redesigning Outlook for Mac and Windows – The Verge
The reporter also called cholera a virus. You can't expect too much from science reporting in mainstream newspapers.
Ask HN: Reading white-papers?
Please share your experience of reading white paper(s). Regarding which technology you read, eg. databases, programming languages, AI etc.
Point out useful resources.
Thanks.
Adobe InDesign CC 2018 Crack Plus Activator Free
In my experience you rarely need recursion in Clojure, to the point that it's unidiomatic to use it. For 95% of your looping needs you use combinators, and for the rest there are the loop macros.
I switched to mailbox.org where I'm a paying customer. That feels better than being a ad target at Gmail.
Dude you need to read up about sweetners
The problem with that experiment is that you shouldn’t the concerned with whether the man in the room knows Chinese but whether the room and the man as a system knows Chinese.
Thanks for writing it. Do you intend to include a reverse DNS record for IPv6? I remember doing it once and the syntax was mind-bending. Here is a generator: http://rdns6.com/hostRecord
It's rare that there is no chance of exceptions being thrown anywhere in a function, especially in the futurer as the code changes.. But even if you're really sure, it's so idiomatic to do cleanup in a destructor in C++ that it looks wrong to leave some cleanup code at the end of a function. Plus, it means you can think about cleanup at the same time you're thinking about creation, then forget about it later; one less thing to think about during the lifetime of the function.

I think life is simpler if you just adopt a blanket rule: all cleanup is done in destructors/scoped guards. Occasionally code might be slightly longer than it needs to be, but your life is simpler overall. Plus you can forget the old C rule of only one return from a function that you mentioned. (If you use exceptions anywhere then you already stopped using that rule anyway.)
History of Accidentals in Music [pdf]
When did Medium get a paywall?