skysight-inc/HackerNews huggingface dataset:
Martin Kleppmann's book Designing Data-Intensive Applications has two chapters where it talks about consistency (one about replication and another one about consensus and consistency). That books reference sections for each character are goldmines.

The work is never "completely done" because most of the known or reliable solutions involve choosing tradeoffs with scalability, speed or data locality, so you can always go bespoke to optimize for the current business needs, and when they change you may need to change protocols or algorithms again.
I like the cruiser riding style, and the aesthetic of at least some of the bikes. It can be very comfortable for long distances (I rode 1200 miles in NZ on a HD Road King), but I expect that style to be married to some substance. I'd like a bike that:

- Doesn't weigh more than the moon

- Can do 0-60 in 2.5 seconds or so

- Has a top speed >150mph

- Has fuel economy >40mpg (imperial)

- Has decent wind protection

- Hard, capacious luggage (both panniers and topbox)

- New OTR cost of £15-20k, ideally at the lower end of that range

The fundamental problem with Harley Davidson is they're all show and no go. All that sound and thunder sadly amounts to very little.

Triumph and Moto Guzzi do better, and the latter have embraced a more modern/futuristic aesthetic (as with the Suzuki M109R BOSS), but for almost all cruisers (Rocket 3 aside) power disappointingly tops out at around 100 +/- 20 bhp.

Yes, that's right: I'm saying I want it all, and I'm making no apology whatsoever for that. I want the riding style and looks of a cruiser (or futuristic cruiser), married to the light weight and performance of a sports or hyperbike (ZZR1400 weighs in at a "mere" 270kg or so).

Motorcycle companies: I know you can do this so please stop faffing around and get on with it.
I’d wait for the service to actually exist, open to the general public, before congratulating them. If they were confident, they would announce a date or just announce that it’s open for business. This sort of “soon, seriously!” announcement is all about satisfying investors, regulators, and business partners who presumably are holding their feet to the fire on their earlier promises.
There are several well known techniques, look under "Software Reliability Growth Models"....
You'd use something like Perlin noise to seed whatever makes the decision about which tile to pick. Perlin noise is deterministic, so it's perfect to generate from the (x,y,z) of the tile & you can be certain that the location will resolve to the same tile if you recalculated the area from scratch. Divide up your world into areas, and force the centre of the area you're in and adjacent areas before filling out the area the player is in.
These kinds of demands for special treatment need to be made illegal. That would help.
It's one of my favourite theories as well, though it's not really a very popular one - a lot of people will laugh at you sadly.
Time series data is one-dimensional?
The car drives you to the bus, the bus drives you to the train, simple. The train is scheduled to depart at the best time for all the buses to arrive at. Less waiting, less buses and trains that are half empty.
Android.os.UserManager#isUserAGoat()
I think affluence of the local population and job competition also affect the rankings. The places with the worst-rated homes generally have larger populations of less affluent (i.e. on Medicaid or will be soon) patients, and there are also a lot of other job options for people aside from working in that sort of a facility (not the most pleasant job to be sure). The ones with the best rankings seem to be in areas where there is a more affluent population (nursing care ain't cheap) and/or jobs in a nursing care facility are more attractive compared to other local options (resulting in a higher quality workforce). A rough correlation, YMMV.

But that last bit about lack of other attractive job options contributing to a higher quality workforce was something that I was told by someone looking for nursing/assisted living care options, and in my experience (aging parents and aging parents of friends) it is actually true. I can also confirm from personal experience that New Mexico has absolutely horrible nursing/elder care.

Lastly, re: I think I'd rather kill myself than ever go live in a nursing home? You and me both. I've seen enough that I'd rather take myself out at a time/place of my choosing rather than go into nursing care. I don't think most people give it a thought though, much less have seen it firsthand.
I think the general trend is to IPO much later at a very high valuation so the company needs to be an enormous success for retail investors to just break even. There is just not much upside left.

It's also bad for regular employees. They have to stay on for very long before can make some money.
In practice, it's more a matter of mentality and willingness, than any specific knowledge regarding code maintanence. All you need is a couple of articles or a single book about writing clean, maintainable code - after that, the majority of the benefit comes from simply trying to maintain the long term thinking and not getting into a "let's just get this frigging done and go for a beer" mentality. Yes, there's always more you can learn to better structure your code, but simply being aware and _wanting_ to write readable code consistently takes you above 75% of the code out there.
Elon Musk has said repeatedly that the energy side of the business will grow faster and exceed the size of its car business.

Many stockholders bet on this – given the multiyear advance over its competitors in both EV and battery production. They expect Tesla to combine the sales of a large car and truck manufacturer, but also of the equivalent of a global car dealer network, of an oil and gas company, a power distribution company, a roof manufacturer and installer, a P2P car renting company, an automated on-demand transportation & logistics company, etc.

Other car manufacturers only manufacture and sell cars.

Apple didn't stop at the iPod, obviously.
What do you mean "they drywalled right over it"? They installed the damaged drywall and then _another_ layer of drywall on top of it? Sorry if this is a stupid question.
You Brits manufacture some of the most beautiful bikes like Nortons, Royal Enfields and Triumphs. Great looking bikes and very easy to live with and maintain. I'd definitely pick one of those instead of a Harley any given day. Harley's are very cumbersome to drive, and maintenance costs are very high.
>It's not a lot more expensive than cooking yourself

What?!?!

I get the feeling your definition of "not a lot more expensive" is a lot more inclusive than mine.

Obviously cost of home cooking vs prepared depends a lot on where you'd eat out and what you'd make for yourself but in my experience fast food off the value menu is about the only thing that's close to cost competitive with cooking for yourself. I would have to eat almost exclusively organic and add a lot of wild non-frozen seafood to my diet if I wanted to make the cost of preparing my own meals close to the cost of buying Chipotle/Five Guys quality prepared food. Maybe the numbers are different for people who shop at Whole Foods or otherwise go out of their way to increase the cost of groceries but your statement that eating out is close to cost competitive with cooking for yourself seems like it's from another universe.
Sorry for you :(

I briefly lived inside an apartment that was previously a cave. There was a plaster wall separating from the outside, and after raining, it ended up covered in mold. We cleaned it with bleach, but moved out soon after. I hope I did not get too much exposure.

Do not forget that black mold release mycotoxins, which are carcinogenic.
Aside from GPS logs, which of those things wouldn’t have been on your desk, when the police raided your home office for papers in the 1970s?

The problem is with overly broad warrants, that allow for whole device imaging — though we sometimes see that with real warrants too, which just grab everything.
It's interesting to note that on the ITER FAQ page, they mention that 90% of contributions are to be delivered "in-kind" in the form of parts of buildings, instead of cash.
Am I blind or does the article not list:

- Author names

- Paper title

- A link to the paper (might not be released yet to be fair)

Yet the author has time to link 5 previous articles from the site?
Announcing ProtonVPN for iOS – Free and Unlimited VPN for iOS
Probably very negligible as the baking should kill all microbes present (some might sporulate but probably not a relevant number). But Sourdough bread is super tasty so don't stop doing it!
Two points that I wish that they would've touched on more in the article is the general downturn in motorcycle sales in the US, as well as the huge used market.

To the first point, motorcycle sales in the US never really recovered from the recession, and it doesn't seem like they're coming back anytime soon. Is this because new motorcycles (regardless of brand) cost more than they used to, a lack of disposable income among the target audience, or failure of motorcycle manufactures to branch out to new audiences? I don't have the answers to these questions, but I think that they all play a role into the sales decline.

Secondly (and more specific to Harley), the used motorcycle market is HUGE. Go on Craigslist and look at the motorcycles that are on sale. Near me, it seems that every 3rd or 4th bike is a Harley. When the used market is so large and the models don't change that much from year to year, why would you buy new when you could pick up a slightly used bike and save 10% to 20% off of the sticker price?
Visual Studio 2017 version 15.9 Release Notes
iOS High Efficiency Image File Format Performance
I feel like sometimes you have to develop the thing you want, and can't find anywhere, for people to tell you that it already exists.
According to Forbes (2017) UK is far from be top country https://www.forbes.com/sites/niallmccarthy/2017/11/23/the-to...

Aside from that, and I'm sorry is totally tangential, but I live in UK and I find the luck of food culture here disturbing. Sure there are a lot good restaurant, but most of the people are not able to appreciate and cook good food, while in France, Spain, Italy I find the level much higher.
600 Free Online Courses from 190 Universities
When I do code necromancy, instead of understanding the code, I try to understand what it does, how it interacts with the world, and then recreate that behavior.

Meaning I capture all the I/O and recreate it. SQL, HTML, PDF, CSV, whatever. Serialize everything, before and after. And then do diffs on the outputs to see if new code reproduces expected behavior.

Much easier than dead code removal, code deduping, incremental changes, backfilling tests, etc.

Once someone captures, documents what the code is actually doing, the real refactoring begins. Removing unnecessary queries. Grooming data. Simplifying schemas. Aligning the app with the biz. Etc.
The raw cost of ingredients to the cost of a plate is at most 30% (restaurants tend to collapse at 35%). For Asian restaurants it is closer to 20%.

Say that the average "entree" for an Asian restaurant is $12, soup/app is $6. Lets pretend that there are two of you and both order app and entree. This means that the meal for 2 from an Asian restaurant is 2 x (12+6) = 36. We will let the cost be 33% i.e. restaurant barely hanging on which is equivalent of your family not buying anything on sale and every time randomly selecting the most expensive place to buy your ingredients.

This brings the input cost of a meal for two people (app or soup/entree each) to:

~33% of $36 = $12

Lets give a 50% upcharge for convenience of using a meal kit:

$12 + 0.5 * $12 = $18.

Ok, so we are at $18 for two people for the entire meal. Hell, lets increase margins further. Make it $20.

There's not a single meal kit company on the market at this time that sells kits for 2 people for $20 a meal on a non-trial basis.

WholeFoods, Wegmans, KeyFoods, ShopRite, Ahold are going to kill this entire "industry". They already have pre-packaged "dinner ready" containers that they are willing to sell at their cost + 10%. It is just a matter of time until they start marketing it.

The cost of WholeFoods "meal kit" for two people needed to make the standard Asian fare? About $11. That's the competition for meal kit companies. They need to compete with $11 spent at Whole Foods.
No it's not, defining it as: If it's possible for a player to force a win or draw, do it. Just because it's computationally unfeasible to determine, doesn't mean it isn't theoretically possible to decide.
Sometimes you want to fuse all of the fuel at once, but the technology for doing that has been available since the 1950s.
Show HN: Smallest Node.js Docker images
What they need is to tell the people around them that they've been seen, maybe an led strip that glows in your direction, green for "congrats, you're very predictable", blue for "what the hell are you doing", and black for off "haven't seen you yet"
Anyone who says they think they might kill themselves on a certain type of bike shouldn't be allowed near any type of bike.

They are incredible fun but unquestionably dangerous.
I’m surprised a company whose whole business model is allowing old white guys to essentially troll (be so loud and annoying as to bother everyone else in the visinity) is not doing well in the age of Trump.
Would this do anything to help with air pollution from a nearby road? I'm thinking particulates from diesel fumes.
We are also running ruby 2.5.3 on master, and it's even possible to run 2.6.0-preview3 on your local machine with a few caveats
The Morning Paper: Unikernels as Processes
Scrolljacking on this site is unbelievable.
7 Skills Every Startup Team Needs to Get Things Done
Using graphqlgen for our cloud stack
There may be technological solutions to this.

Say your encrypted files need two secrets, one in your possession, one in possession of a third party.

To decrypt your file, use your secret and ask the third party for their secret. To get their part of the secret, either call them or type a password or use some other private key. It can be automatic and fast.

The role of the third party is to block the secret retrieval at any suspicion of law enforcement involvement. Second secret then cannot be retrieved and the files are safe.

Also, if you type the wrong password, the third party blocks retrieval and will reactivate it after investigating whether you are in law enforcement company.

Law enforcement may try to compel the third party to give the second secret. Having third party in another country, or multiple third parties in multiple countries may solve this.

Another idea is that the third party is your lawyer. You shared that second secret with your lawyer and told him to stop sharing or destroy the second secret if you ever meet law enforcement.

You get arrested, stay silent, your lawyer is called; before anything else the lawyer blocks retrieval of the second secret. This may be attorney/client privilege and would block law enforcement from compelling the lawyer to give the second secret.

Add some randomness (retrieval of second secret gets blocked with probability 1/10 when the correct password is entered) to get plausible deniability.

Some people could be interesting to pay Apple a lot to implement this. Or some law firms could start selling such lawyer phones.

Edit: typos, last sentence
if police are collecting phones as evidence on the regular, having these bags should be standard
I think most of the press would rather seek to continue blaming the EU for not acceding to the UK's demands and remainers for failing to give Brexit their full support.
I'd argue that the difference in riding position between a cruiser and a performance motorcycle make this a largely impossible proposition.
Threatin: band creates fake fanbase for tour attended by no one
Ask HN: Do you take notes during work? If so, what do you use?
Hello Hacker News,

I have been trying to take notes using Evernote, Bear and Apple Notes. None of them compare to writing my notes down on paper. However, writing my notes down on paper has none of the benefits these apps have (sorting, searching, etc).

Do you take notes during work? If so, have you found a "perfect app" or way of doing it?
I also keep a starter and bake sourdough regularly.

The only thing IMHO that can be an issue is just eating too much carbs (because it's so damn good) or sensitivity to gluten. However, it is known that sourdough/pain-au-levain is more digestible than regular bread for folks with gluten intolerance. Sourdough is decidedly more acidic (that's why it's called "sour") than dough which has been risen with commercial yeast. This acid partially breaks down the gluten in the dough during fermentation.

People have been eating naturally fermented bread since the dawn of civilization. The bacteria and yeast in properly fermenting dough do an excellent job of keeping any nasty stuff out.
A lot of it is practice. There’s an old saying about calculus - don’t worry, once you’ve done a thousand integrals, you’ll really start getting the hang of it.

Taking one of the popular algorithm and data structures book and working through it, and actually doing the exercises, will improve your skills; specially, the ability to identify the shape of a particular problem.

Pure CS is very beautiful IMO, and rewarding to dive into.
Depends on where you'd get your bread otherwise I assume, what has been added to it, where the flour is sourced from, how it was grown. Those last factors also matter for your own bread obviously. I'm not sure how conclusive the science is on the effects of using the different types of pesticides on crops, or none at all, on the final product, and how that in turn affects health.
Just curious.

How much does one meal (per person) come out to be ?

If I am correct, they are targeting a relatively well off crowd and not the general populace.

Are their margins large enough to get by on just rich-ish customers ?
You don't save that much, especially after the cheap trial. If you know what you're doing, a run to the grocery store will actually be much cheaper. I think it's more for people who want a home-cooked meal but don't want to go shopping or find a recipe.
The fan controls, and the power cable, stick out of the back, so I didn’t have a choice.
Technically 100M kelvins
The one that gets me is when you've designed something as simple as possible and then to make it "simpler" people insist on making it less general and paradoxically more complex in a small way.

Related to that is the "obvious performance fix" that doesn't perform faster that keeps burning up time for years long after it was proven to not be faster because freshers never found out about it and the oldsters forgot.
I use a password manager, and I genuinely do not know the password for most of my accounts.
Python 101 – Episode #33: The requests Package
Create Custom Reactjs Modals (3KB)
That second point is very important. I know a dozen motorcycle riders (only 1 harley owner), but all the bikes are used. With fewer parts, fewer features, and no phone/stereo/ac/heated seats/navigation/adaptive cruse control, there's not a lot of innovation in the actual ride of a motorcycle to buy.
Low-Energy ESP8266-Based Board Sleeps Like a Log Until Triggered
Yeah, HD didnt really understand the Buell brand when they bought them, and eventually killed the product in the process.
A rare example of a document which you can tell is definitely mistaken without going any further than its title.

US civics-class-takers will naturally remember learning about how the first ten amendments to the constitution are commonly referred to as the "Bill of Privileges".
> Anti-vaxxers tend to be described as middle/upper-class liberals.

While conservatives who aren't anti-vaxxers like to point to anti-vaxxers as the left equivalent of whatever anti-science group on the right is involved in a conversation (most often climate deniers), but while there are definitely some anti-vaxxers on the left, there's plenty, and from what I've seen more of them, on the religious right, too.
Carey Wedler wasn't banned from Facebook, but theAntiMedia, which is a left-wing, pro-Russia version of Infowars, was. (I guess Wedler lost her Twitter account?)

Interestingly, Facebook actually got dinged from real news outlets because its algorithm was ranking stories from theAntiMedia (and other conspiracy sites) higher than those of actual journalists during events like the Vegas shooting. So that might have played into it.
> What you said about a random number generator is a trivial
> test and has big problems with power (probability of Type II
> error) of the test.

erm that was exactly the last paragraph of my comment.

In ML distribution free multivariate tests have a slightly different flavor. The way those work is you compare the empirical expectation of all functions in a class (typically a Hilbert space). This is reminiscent of Cramer Wold. Separability properties of reproducing kernel Hilbert space makes it tractable to compare these.
> the degree was removed in 1967

I did not know that. I've always thought it was originally defined as units Kelvin, without degree.
And a kitchen/kitchen corner. I think what the parent is suggesting is that apartments wouldn't have kitchens at all, and you would eat at communal cafeteria. I believe this is what the vast majority of city dwellers in imperial rome would do?
Ah, fair enough. I see that reading now.
Python Community Interview with Kenneth Reitz
[video] Cliff Stoll – Stalking the Wiley Hacker
C# 8 just announced optional nullability as a feature
If they don’t like something, they say change the law. If we don’t like something, they say well, you have to pay more for better service. Really AT&T?
> I am not sure why you got downvoted for stating a fact.

Personally, I downvoted it for the "civil rights" phrase. It is unnecessary, hyperbolic, and inflammatory; these discussions tend to attract such comments and they derail rational discussion.
Toronto Cleared Cars Off a Major Transit Corridor
A valid point that I thought you might have meant after re-reading your post a couple of times.

Sorry for the quick-fire snark.
Show HN: SingleCarry.com – Carry-On Bags for Digital Nomads
Welcome to the ERA of Blockchain
Hello, Thanks for reading. Let me introduce you to Bit.College. Bit.College is an online institution dedicated to teaching and connecting people. We put our students in a challenging and engaging environment and curate an unparalleled learning experience. Using gamification and decentralization, incentives can be set and this can enhance learning and teaching - so you get the complete picture! Each piece of research breeds an idea and this is where the conversation starts.

Trending courses:
Cryptocurrency trading
Cryptocurrency Mining
Writing smart contracts
Blockchain Programming
Making DApps
Launching ICO
Non-Fungible Tokens
Beyond Blockchain
Cryptoeconomics
Interoperability among Blockchains
And many many more….

ENROLL now for free on www.bit.college
and unlock all the knowledge of crypto world.
I'm not sure why you're being downvoted, I think you're completely right. From an ecological and time efficiency perspective, these "communal cantines" make far more sense than every apartment needing a fitted kitchen, and every family needing to cook.
Unfortunately I think there's a good chance humanity wipes itself out, or at least destroys civilization in the next several centuries. We are still effectively monkeys but have over time developed weapons that are capable of incredible destruction.

The issue with regulating AI kill bots is that much of the technology that could be used for good like self-driving cars can also be weaponized. There's really no way to progress without risk. The only other option would be to ban AI research.

Might be the Amish and Unabomber were right about technology