skysight-inc/HackerNews huggingface dataset:
Answering the phone is very different than operating a local physical products company. Mechanical failures, repairs, accidents, charging the vehicles, vandalism, etc. etc.

Think about how hard it is for consumer companies to sell to enterprises. Microsoft is terrible at consumer. Google is terrible at enterprise.

This is a much bigger leap than consumer -> enterprise. Uber and Waymo both have a lot to learn here. That’s why I think companies like Avis etc are potential unorthodox acquisitions that we will see.
Introducing React Navigation V2.0
Publix is as well. My 75 year old mother saw them in the store by mere chance and now she's a steady customer.
What I've heard from friends who've worked in pizza delivery places, as well as making it from scratch myself on occasion, the margins are insanely high. Which makes sense considering it was originally a peasant food.

Pizza dough is just flour. yeast and water. All of which cost pennies. Sauce is slightly more expensive, but you can make something which tastes pretty close to fresh with some canned tomatoes and spices which also cost pennies. Cheese is cheap, there's no need to use fresh expensive mozzarella when you're blasting it in the oven anyway, the low quality pre-grated stuff will turn out pretty good too. Toppings are usually fairly low quality, which again doesn't really matter when they're scattered on a pizza.

When I make it at home it usually costs me about £3, and that's indulging myself with better quality ingredients like fresh mozzarella and tomatoes. Delivery places can get it down to £1, including toppings, and sell it on for £10. The staff are all on minimum wage, you don't need much space if you don't have seating, and at least where I live in London 9/10 delivery drivers use mopeds which are cheap to run.

Compare that to Munchery, where looking at the site they're offering fresh vegetables and cuts of meat for probably similar prices to pizza and you can see where the problem lies. That and being based in SF I have no doubt they've gone full Silicon Valley with their offices (communal spaces, very high sq/ft per employee, high wages etc) and it becomes clear why their business model is probably not sustainable.
GDPR will pop the adtech bubble
I went to make an order from a restaurant that was about a ten minute drive from my house. On a $45 cart, I was hit with:

~$8 "service fee"

$8 "delivery fee"

And a variable tip percentage that defaulted to ~$9

Add tax to the matter and this "$45" order quickly ballooned into almost $75.

I don't mind tipping -- I've come to accept that American society refuses to let that one go -- but at these rates I decided to just place the order myself on the phone with the place, drive over, pick it up, and tip the restaurant directly.
As I said, if your data actually has internal structure that can be verified then the Type is meaningful. (Though that sort of prefixing introduces its own problems and I think most IDs just end up being UUIDs or URIs or numbers.) Otherwise you're just wrapping strings. The point here is that a Type represents data and behavior or, more formally, Types represent constraints over a space of data and behavior. Types that don't actually do any constraining are useless.

> I could just as easily create a meaningless Cart object, or a meaningless ProductAddedEvent the same way you constructed that meaningless CartID.

The problem here is not mixing up IDs. The problem is actually guaranteeing that the pre-conditions of addToCart() have been satisfied. Here, for example, addToCart() probably wants more than just a Cart and Product object, but a Cart and Product objects that have been persisted. Presumably the domain has been constrained so that you can't create meaningless objects. Otherwise what's the point of any object? If the only valid Cart and Product objects are those that can be retrieved from a persistent repository then, yes, this not only solves the trivial problem of mixing up IDs, but also the more valuable underlying problem that addToCart() is constrained to act on real, valid (according to the domain) Cart and Product objects.

In other words, this isn't really an issue of language design. And while there's a tendency to believe the language can solve every problems and that design patterns are a sign of language "weakness" the reality is developers that really want to solve these problems will have to think carefully about their domain and apply the appropriate design patterns.
Sybil attacks are real and is the biggest road block towards resilient decentralized networks. In FlureeDB, Blockchain is an attempt to solve Sybil attack by attaching proof of work as reputation to counteract malicious nodes. While it does raise the bar significantly it's not a panacea -- still more work to be done!
A month or two ago I went digging because I wanted to disable auto-update for something I installed through snap (it stores configuration inside the versioned directory, so one day everything was just gone because snap auto-upgraded it the night before). Completely disabling auto-update is apparently not possible, and by design.

According to the devs involved, on mailing lists and bug reports, the point of snap over apt/etc is the auto updates can't be disabled, so end-users can't put off or forget about security updates. Even adding a way to delay or configure when an update happens seemed to take a lot of convincing before it was added.

(In the end I just disabled the snap service entirely to stop auto-updates. Only downside seems to be that I can't query or install new things through snap without it.)
Early-adopter community for B2B products
Consider a hypothetical scenario where Moviepass has 100 customers. Let's say the net revenue per month for 60% (60 customers) is $10 (i.e. 60% subscribe to moviepass but never see a movie).

That's $1000 a month in profit to 'play with'. If the average movie ticket is $10, that means they have 100 movie tickets of budget to spread among the remaining 40 users to break even. Divided out, that means each user can only see 2.5 movies a month before Moviepass starts losing money.

There are a couple takeaways from this (admittedly simplistic) analysis:

1. Moviepass seems to need a very high percentage of user not use the service in order to have any chance of profitability. There's just too much 'downside risk' from heavy users otherwise. That's a bit of a 'product smell' to me; you generally want o have usage of your product to have some positive correlation to your profitability.
2. Even if they strike deals with the theater chains, they're going to need to negotiate fairly steep discounts. Even if Moviepass only has to pay $5 per movie, that still only lets users see 3 movies a month, which is less than one a week. Are theaters inclined to reduce the price of a ticket to $0? It might work then, but I don't see why theaters would torpedo their average selling price (ASP).
3. Wrt performance marketing, moviepass better be selling ads to mesothelioma lawyers (~$300 cpc). I can't think of any organization that would pay enough to offset the potentially massive loss per customer.

Moviepass screams of selling $10 bills for $5. That in itself isn't necessarily bad, but to me it doesn't look like they have a way to bootstrap themselves out of this model.
I don’t think a 50/50 split is necessary, but whatever split you end up with has to make sense. Just because one person has a bigger personality isn’t a strong reason. If one person is quitting their day job first, or brings in partnerships on day one, etc, then it’s worth talking out. I’ve seen lots of great founder relations not 50/50, so don’t rule it out.

But ALWAYS HAVE VESTING. Repeat after me: always have vesting. I personally think cliffs always make sense because it takes time to make sure that a relationship is meant for the ages and that the other guys are as dedicated as you, but I’ve heard sound arguments for no cliff. Either way, always have vesting. It makes separations sooooooooo much cleaner and easier if the unfortunate happens.
The voices are controlling(temporary "possessing") the brain to produce mental speech which is then subvocalized akin to reading a book or more closer analogue: conversing with a tulpa(which talk through this temporary control state).
You think "get rich" is not one of his motivations? At all? Why would he lobby for a compensation plan that could be worth $200 billion?

"If the options fully vest, Musk could wind up owning a 28 percent stake of Tesla, which could be worth nearly $200 billion."

Dude is a brilliant sleight-of-hand artist, he's got all his sycophants focused on the "saving the world" thing, meanwhile he's picking pockets and stealing watches right off their wrists.

https://www.theverge.com/2018/3/21/17147678/elon-musk-tesla-...
Godel's theorem doesn't apply to Euclidean geometry. Tarski proved it is complete, consistent, and decidable.
Another take on it, rent is like farming. If you pull too much out of the system, the soil gets degraded and the salinity rises, poisoning the crops.

Affordable rent is a way (albeit deeply flawed) of trying to maintain the health of the system. A better way would be to cap profits on property through taxes. Make it too expensive to strip the system of its nutrients.. to continue with the mixed metaphor.
This reminds me of an article by Foursquare about how they use Scala Phantom Types to ensure MongoDB queries are semantically well formed:

https://engineering.foursquare.com/going-rogue-part-2-phanto...
Thank you for your kind words. I honestly don't think I'm a low value mate. I've demonstrated loyalty and my friends know this. But not yet a high value mate as I'm in the market for a job + student loans, fear of driving, etc.

I've always been risk averse due to the way I was brought up. Failure was death. I would avoid doing things that could have an outcome related to it, and unsurprisingly impacted my engineerong skills a lot. I would double check everything before executing code on even staging (and of course the Intern mishaps as usual).

I have started to work on myself and quite recently lost some weight and trying to get into some discernable shape. Can't thank you enough for taking your time out to help a fellow man, hope you have a wonderful evening and the rest of the weekend.
I was a kid in Oregon when all that was going on. Crazy stuff. Many years later, I accidentally drove through that area with my Italian inlaws: https://blog.therealitaly.com/2007/08/31/the-wild-west/
Yes, in terms of sanitation like 2500 years ago with that SaaS company called "the Roman Empire."
My current startup idea is to fix that for this sort of thing. Will report back when I've cracked it.
Aside,
First time I knew about this was from an hn post few months ago, which made me watch the Netflix series which came afterwards.
Couldn’t stop wondering if Netflix marketing was floating this link here.
I've been told that MIT managed to convince DARPA to buy them a full address space (~1MB) of core for a PDP-10 in the 70s. I have no idea how much that cost, but it had to be absurdly expensive.

Granted this was a timeshare system, not a workstation, so that makes a huge difference.

Also I was talking with someone who wanted to implement a lisp for a microcontroller and we came to the conclusion that it had slightly less storage than the IBM that the original LISP was implemented on in the late 50s, which had a combination of drum and core.
Agreed. I'm itching to do that, and will likely end up with a chromebook.

I hope and suspect that the Linux Subsystem for Windows (debian based) will eventually eat all of Windows and provide complete linux support (battery, resume, etc).
And the link directly takes you to a "how to buy". There are multiple copies available. A bigger question is why we in the computer field let important histories of our profession go out of print so quickly.
You can definitely rig up the erasure to happen in a destructor (C++) or Drop implementation (Rust). Convincing the compiler not to optimize it out is tricky, but many cryptographic libraries include that functionality. The c11 standard has a memset_s function with the right semantics, but there are other ways to implement it.

Re: constant time operations, I don't know of any language or system that does this currently. But a while back I was kicking around the idea with a friend and we came to a design that I'm pretty sure would work. Never got around to implementation though; so many projects, so little time.
You can do it using multiple cursors. On Sublime, you place the cursor on beginning of “value”, then press Ctrl+Shift+Down until the end - there will be a cursor on every line. Then you press Ctrl+Right to select all values on the second column. Then press Ctrl+P and choose “Convert to Upper Case”, or just Ctrl+KU.
The re-ordering you were seeing may have been due to a lack of sequence points between the ordered operations. For example: If you have two 32 bit registers which correspond to a single 64 bit value and which must be read in a specific order to ensure consistency, then you cannot write (code simplified for clarity):

int64_t val = (*reg0 << 32) | *reg1;

The compiler is allowed to re-order the register reads even if they are volatile pointers. To guarantee a specific order you need something like:

int64_t val = reg0 << 32;
val |= reg1;

Sequence points are one of those dark corners of C/C++ which most people don't know about because they rarely matter unless you are dealing directly with hardware.
Thank you for your kind words. I'm guilty of underestimating myself, and recently a friend told me that as I quoted $28/hour for building an e-commerce platform store.

I've never had attention from a woman, and usually I find it's just me being hopeless sending them mulitple texts and being annoying (and often neglected, as I have nothing of worth to offer). I stop I don't know how sweet nothings are uttered, I don't know what pillow talk would be like. I don't know how life with an other adult works. My only intimate experience are vicarious from books and films.

Maybe that's what life is about living one's own film with them as the protagonist.
C++, Herb Sutter: Zero-overhead deterministic exceptions: Throwing values [pdf]
I don't have proof but I think around 15th and 16th centuries, slavery wasn't considered as abhorrent crime by most of the populations. It was just the way of life and no one blinked twice when looking at slave children laboring away their lives. For example, if you failed to pay your debt in many culturally sophisticated places, you get to become slave for rest of your life and it was considered perfectly acceptable that slavery gets inherited by your offspring. There were even laws that slaves can buy off their freedom if they somehow save enough over time to pay off the debt. During Roman times, it was expected that winners in the war will take surviving looser in their wars as slaves, including their family. The Roman laws maintained elaborate registration system for slaves and there were stiff penalties for slaves running off. Salves were huge part of economy (and most of them perhaps weren't Africans). There were few powerful at the top needed massive cheap labor to maintain their large estates and build elaborate structures that are mind boggling to even today's generations. Somewhere along the history, freedom and compassion for the common man suddenly became important and the concept of slavery become repulsive. So it would be wrong to look at people in that time with how we feel about slavery now. I highly doubt the African tribes and even white traders looked at slavery the way we look at it now.
If they have 100 customers at $10 each, they have $1000 in revenue with which to purchase movie tickets, not $600.
Publix is a Floridian treasure.
It may not be common, but I occasionally run into apps that will work will with limited resources but that will happily expand outwards if given the opportunity. Perhaps a bad example, but the code for this cryptominer itself checks how many CPUs you have before it starts.

You are often right that you either supply the resources an app needs or you don't. However, there are a growing number of apps I'm seeing that act more like goldfish - they grow to the size of the container they are put in.

I also occasionally run into apps where I'm OK with bad performance, I just don't want them to interfere with other tasks that I have.

I might decide that I'm OK with a version of Slack on my work computer that runs poorly and that occasionally starts caching stuff to disk - as long as the rest of my computer doesn't slow down. Not every app that I'm using needs good performance - some are more important than others. This is especially true for background apps like a backup system, file sync, update, anything where I don't really care if a task takes longer to finish.

It also might be worth exposing some kind of more fine-grained policy; something like "I want this app to have full access to my CPU if it's in the focus, but if I minimize it, I want you to reduce its resources or even suspend it."

And of course there is the (perhaps naive) hope that as CPU and RAM become a resource where users control access in the same way that they control location or camera access, developers might start to include resource-heavy features as progressive enhancements. This has... sort of... worked on the web with resources like location. So it's unlikely, but possible.
Yes - the code review can say "This app has functionality to download and execute extra code without the user's active participation/consent, which isn't allowed."

iOS enforces this in several ways. Any executable page of code must be signed by Apple (unless your phone is jailbroken), so you simply can't ship native code outside of the App Store delivery path. Apple looks at what functions you link against and bans "private API", and functions like dlsym() that let you open arbitrary symbols from a runtime string are forbidden. Apple usually disallows things that look like they're downloading and interpreting some language at runtime (though I'm not clear on the current rules for this, and I think things like e.g. Python shells are fine as long as it's user-supplied code). The only exception is JavaScript inside a webview, and that doesn't give you any access to the system without having native code to expose things to JavaScript, and Apple can review that native code.

Debian will enforce this too, for computing-freedom reasons as opposed to platform-control reasons: it's impossible for Debian to say "yes, this is free software" if the code isn't available for Debian to audit. And it's obviously impossible for Debian to check it for malware / unwanted functionality. Applications like Firefox or pip can download and install code at the user's request, but applications that automatically download part of their core functionality cannot go into Debian without being patched to allow Debian to compile and ship those parts as part of the package.
...and online libraries too. ;-)
It's not just exploits tbh. Apple have really, really good tools for locking down and monitoring iPhones. The device enrolment thing they have is fantastic, and very streamlined. Meanwhile I have no idea what's going on with Android Enterprise/Samsung Knox/Whatever It's Called, and I don't think any sysadmins I know have a clue either.

Even without malware, Android needs to fix its permissions. What's the point in enforcing security policies on phones when a legitimate app, when given permission to, can read text messages on an employee's phone and send all the data to China? Businesses care about not having communications with customers leaked and Android is absolutely the wrong platform for that.
Everyone likes to blame loose VC money for silly stuff like this, but I have a slightly more nuanced theory about ridiculous office perks:

Office managers/office teams have very few concrete metrics. Beyond a binary "is the office functional" (e.g. are there enough desks, does the electricity work) there is pretty much no way to measure job performance. That's not to say their work doesn't have any impact. Anyone who has worked in a poorly laid out office has dealt with the corresponding productivity drain. However, it's really hard to measure that boost/loss and nearly impossible to accurately attribute it.

The solution is for office managers to do ridiculous but easily quantifiable things like spend money on subscription water coolers, an on-demand smoothie blending machine [0], potted plants that cost $800 [1].

If you are an office worker frustrated by this trend, you should invent some performance metric for office managers and then sell something that improves it. You'll instantly suck up all the VC money going to these other startups.

[0]http://getreplenish.com/#1
[1] https://www.leonandgeorge.com/plants/large-desert-cactus/
I think it definitely is and he's either explaining it poorly or reinventing the wheel. Try applying any of his explanations to something more complicated than binary data with perfect information, such as a normal distribution with small sample _n_, it falls apart immediately - you need the full Bayesian perspective in order to work with the posterior and apply a loss function sensibly.

(I wouldn't call it 'LessWrong methodology', though. LWers pretty much never do a formal true subjective Bayesian decision analysis, and to the extent they do, you should be calling it LessWrong indoctrinating itself into the 'Raiffa-Schlaifer-Savage methodology', as they preceded us by ~60 years.)
https://en.wikipedia.org/wiki/List_of_long-period_comets

https://en.wikipedia.org/wiki/List_of_near-parabolic_comets

The grouping is hard to figure out, as gravity would likely pull them together. But if a comet approached nearer the sun, or swung by some high gravity planet, it might break up into a few smaller comets along the way. An example of a recent famous comet that broke up is Shoemaker Levy 9.

https://en.wikipedia.org/wiki/Comet_Shoemaker%E2%80%93Levy_9
My best decision was probably (however banal that would sound) accepting myself. After I realised (the realization is still work in progress) that I am just who I am and nothing else, I started working on eliminating ties and traits I didn't personally want myself but which I have developed earlier due to some societal accepted "norm". It turned out to be rewarding - I love living, I am becoming more and more calm with time. I am becoming more calm with time also due to that with self-acceptance came slow and on-going realization of that I am nothing. It may seem dreading but it is opposite.

As to why I came to this realization (someone else in the comment section said this question is of no lesser interest) - I've been through some deaths (four of them to date) of my relatives, which were dreadful for me, I've seen more deaths than that too, which was dreadful for me too, I was looking how to stop deaths from coming, in 2010 I was seeking a refuge in Abrahamic religions and soon abandoned them because it turned out I didn't believe in any of that, in 2010 I abandoned almost all tries to explain deaths in any otherworldly or supernatural manner, and with time, slowly, this realization came, of that it is just how it is in this world, it is what it is. Deaths are deaths. With that realization came some inner calm and gradual self-acceptance. Prior to that, as a boy, I used to imagine myself this and that and since self-acceptance came the pretending of being something practically disappeared. Buddhism also helped in 2014, as I was close acquaitance with a guy, who turned out to be a Buddhist so to outwit him I was reading some books on it. I didn't accept it at all, but instead of learning how to outwit that guy I took some clues from it, since it heavily resonated with my conclusions about that world is just what it is. And it brought even more calm.