skysight-inc/HackerNews huggingface dataset:
It is indeed a good way of looking at architecture and networking. But to me it is more of a hindsight tool or validation of things you already know, than a learning resource for someone who doesn't know details of architecture.
There's some nuance here: It might be that a rational insurance provider encourages their clients to do regular checkups for conditions that can be caught early and treated at a much lower cost.

Now, the parent comment still is correct that that cost would have to be covered by premiums, but the premiums should still be equal or lower than they were if they didn't provide the checkups.

In effect, in such cases the insurer could market the regular checkup as a benefit, but rationally if they could they'd rather make the checkups a policy obligation to preserve their margins. This is what aligned incentives looks like :)
So there's a lot of talk on here about the Two Generals Problem, so I thought I'd chime in with some misconceptions about how the Two Generals Problem relates to Exactly Once Messaging (EOM). WARNING: I'm going mostly on memory with this, I could be completely wrong.

EOM is NOT strictly speaking equivalent to the Two Generals Problem, or Distributed Consensus, in an unreliable network. In distributed consensus, at some given point in time, A has to know X, A has to know B knows X, A has to know B knows A knows X, ... It has to do with the fact that the message broker is in some sense the arbitrator of truth, so the consumer(s) don't need full consensus. In an unreliable network, you can have EOM. http://ilpubs.stanford.edu:8090/483/1/2000-7.pdf gives some examples of how that works.

HOWEVER, you can't have EOM when the consumers can fail. If a consumer fails there's no way, in general, to tell if the last message it was working on was completed.

There are a couple of edge cases where you can still have EOM. For instance, a system where you have a message broker A, and a bunch of consumers that read messages x from that queue, compute f(x), and insert f(x) onto message broker B, where f(x) may be computed multiple times for the same x (i.e. if f is a pure function or you don't care about the side effects). This system can implement EOM in the presence of an unreliable network and consumer failures (I think it can handle one or both of the message brokers failing too, not 100% sure) in the sense that x will never be in broker A at the same time as f(x) is in broker B, f(x) will never be in broker B more than once for the same x, and any y in B had some x that was in A such that y = f(x).
Shouldn't the time constraint be around O(n²) for the sorted approach, as you are iterating through the sorted array in a nested loop, resulting in (N - K)/2 *N lookups of pairs? Or am I missing something?
That length of time is rather normal in SaaS.
That's a good point, although I don't know why a spider that isn't specifically malicious (or I guess just badly malfunctioning) would request millions of different files that don't exist, which is what's needed to trigger this problem.
Wonderful discussion - thank you.

I think Mr. Musk could be called an engineer being technically trained in Physics and being a self taught programmer - while not technically under the engineering umbrella I've grown to accept the folks who are technically Physicists (especially applied), Mathematicians, Computer Scientists, Chemists, etc. but whom work together with engineers to develop new products (including software) as all under the same umbrella. Doesn't everyone? They all require similar systems approaches the the management and understanding of complexity.

There is a great book on this - "The Decision to Go to the Moon" by John M. Logsdon. Kennedy's great contribution wasn't really technical leadership, but political. To call for and fully support a totally Civilian Moon Landing program. To this day I am amazed by his honesty and the vision it must have taken to take such a large step and commit several percent of the Federal Budget to such a long term, risky and public program. He stood up trying to sell it and said "we will have to invent metal alloys that do not yet exist".

Beyond the political support to go do it (which is truly amazing in it's own right), it was really the technical leaders at NASA that made it happen (Mueller, Von Braun, etc.), I would credit them with truly leading the program. Sadly Kennedy really only got to kick it off...
Data warning: this page is 37-40 MB (depending on the cache) even with an adblocker.
There's little to no reason to downplay risks in the prospectus, so the statements of material risk are always doom-filled. (Prospective investors don't take such statements as final, but failure to disclose a possible risk has a big downside.)
> TDD is this crazy religion of writing tests for everything,

Not true in my experience. You should only test code you wrote that can break. You do not test core functionality, the OS underneath etc. You do not test the test themselves.
Right on about Hong Kong taxi drivers. They also tend to be racist opting to skip non-Chinese looking passengers.

> A lot of the taxis have weird fare manipulation lookup tables instead of correct metering.

The fare table is because the Transport Department raised taxi fares on April 9th and taxis that haven't had their meters adjusted are required to use the fare table. http://www.td.gov.hk/en/publications_and_press_releases/pres...

> You literally can't top it up with anything smaller than HKD50 (USD$9) even if your fare costs less and you only have small denomination local money.

This is the same as Shenzhentong card in Shenzhen which can't be loaded with less than CNY50 at a reload machine. If your fare costs less than HK$50 and you don't have more cash, buy a single trip ticket. If you really want to pay with Octopus, top up your Octopus card with HK$50 and get a refund of the value after your trip.

Those of us that live here in Hong Kong never have to deal with adding value to our Octopus card because we can link it to our Hong Kong-issued credit cards.

> If you ask 20 odd Hong Kong banks about cross-border RMB payment APIs (HK is supposed to be a financial center, after all) not a single bank can offer you one.

Mainland China has capital controls - that is why transacting in RMB cross border is difficult. Banks aren't allowed to offer that service.

> just to open a regular bank account is now so difficult standard waits can exceed 2-3 months (and success is far from guaranteed)

You are right...the difficulty in opening a bank account is a huge problem for business in Hong Kong.

> So what does HK still have to offer?

* civil society
* amazing mountains & beaches
* great food
* excellent sports infrastructure
* public transit that is a pleasure to use
* no capital gains, interest, dividends, import, VAT, or sales taxes.
* territorial taxation (Hong Kong residents are only taxed on income sourced from Hong Kong)
* great people both local and from abroad
* ubiquitous gigabit fiber to home for < US$30/month. 10 gigabit fiber to home available in many locations.
The Nokia of today is first and foremost a business-to-business network supplier: even its name is back to Nokia Networks. All the consumer investments on the side are only side bets that may or may not take off.
bad designers: to whom text alignment is more important than what the text communicates.
Lemonade probably should ramp up slowly until they have more experience data to look at (my opinion only of course), so it's probably not too disadvantageous.

Plus, if you're going the route of getting licenses via acquisition, you need the money to make that investment. It can be cost effective to go that way, but not cheap, so if you're not trying to blow all of your cash at once and can benefit from a slow roll to 50 states, the traditional route will be fine.
Plus all the initial marketing costs to get those people to sign up in the first place.

Which, for an expensive service like this, where very few people are interested, seem significant.
It's a lot easier to forget to cancel a software product you don't use than to ignore all the rotting groceries piling up in your kitchen.
Very good chance you have sleep apnea, amigo. If you have health insurance the sleep study to test for it is likely 100% covered.

In a way, finding you have sleep apnea is good news because getting successfully treated is a TREMENDOUS improvement to your quality of life.
Based on your choice of words and other comments you've made, I believe you fear change and people who are different from you. I doubt there is anything I can say to convince you in the face of your prejudices, whatever they may be.

> If anything, this process (and the efforts from which it stems) seem purposefully designed to eliminate intellectual diversity, in favor of a rigid monoculture maintained by empowering political officers in the enforcement of right-think.

If your idea of a monoculture is a place where people have to be respectful of other people & cultures and not use culturally charged words then I think almost everyone in the Rust community would be happy with that outcome.

If you want to provide evidence that the Rust community is trying to eliminate intellectual diversity in favor of superficial qualities instead of sincerely trying to outreach to underrepresented communities that may have a lot to offer, I'm sure they (and we here on HN) will be happy to have a rigorous, respectful debate with the express goal of improving the experience for as many people in the community as possible, including you.

Until then, you are free to grind your axe elsewhere, perhaps somewhere without multiculturalism to make you so uncomfortable.
Same with:

* Vim vs emacs

* Tabs vs spaces

* Static vs dynamic

* Monolith vs microservices

* Functional vs imperative

And a long etc. We're dogmatic folks.

I fall in the multirepo camp.
The acquisition cost number is irrelevant.

It could be $5,000.00!

All that matters is you make money from the customer after all the expenses are taken into account.

It's like the old adage: would you give me a quarter if I give you a dollar?
I am probably the right person to help having a ton of cdn experience, but I don't fully understand the situation.

Feel free to email me at evan at segment dot com
I can't understand how it could possibly be faster to stand on a scale, remember a number, go to your phone, open a spreadsheet and input it... than to just stand on the scale.

I mean the manual approach starts with the only step of the automatic approach.

You don't have to fumble with bluetooth or apps. It takes the measurement and uploads it to the internet with no help over WiFi after you have configured it once in its lifetime. It tells me my weight and my trend on the screen, so I don't need to open the app.

Once a month or so I look online or on the app and get the effect of the spreadsheet.
Beijing never intended to let HK go forever under it's own leadership. The CCP wishes to keep as much of Hong Kong's economic muscle intact as they can, but political control of the area is the eventual goal and is far more important to it than economic growth.

The Chinese will not allow HK to become a threat to the Chinese way of life as determined by the CCP. They will loot the city of its riches, then bring it into line. The writing was on the wall for HK from day one of their transition back to Chinese rule.
the beginning of the end.
> Thus it quickly becomes evident that no matter how many rounds of confirmation are made, there is no way to guarantee the second requirement that each general be sure the other has agreed to the attack plan.

This isn't true. There is a point where both sides have confirmed receipt of the last new info (the original confirmation back to the initial sender), and further confirmation is just icing. What kind of general is it that says "I've received ten acknowledgements so far from the other side, but I'm still not sure!"?

Remember that it's the message itself being confirmed, not 'did the last message get through'. There is a point where both sides are aware of both the message and a confirmed confirmation of that message.
Any citation on this?
>and so it was a long time after that before I was exposed to any math that was really more advanced than basic calculus.

This suggests calculus was all he knew before at least college (for some value of "a long time").
As appliances become smarter, there's probably a monitoring play there too - maybe some coverage that blends the concepts in product warranties as well as home warranties.
The EFF was clearly pushing for a broader ruling on browsewrap enforceability. In my view, if a court threw out a browsewrap arb clause, it would also throw out the terms that purport to override fair use and the first amendment.
Don't forget the police union.
In most cases the answer is "no, but it helps". Close physical proximity reduces transmission loss (both inward and outward). And hydro storage requires a very specific sort of topography. If you have fortunately built solar energy plants near these sites, great! Otherwise you will probably have to build new transmission infrastructure (likely HVDC), which costs money.
One thing to consider is that London has downtime when the Tube isn't being used. Most lines have an overnight break in the neighborhood of 4-5 hours. Even with the limited overnight weekend routes that have been introduce in recent years, each line still at least 20 hours a week were maintenance has full control of the system. NYC's Subway runs 24/7 with no easy maintenance windows. I image maintenance is simpler and therefore cheaper when you don't have to do it when the system is being used. There is also the obvious added labor costs involved in increasing the hours of operation. I have no idea what percentage of the discrepancy that explains, but it is certainly part of it.
Shouldn't the unit test highlight unused css properties, as well as elements linked to non-existent css properties?

I feel like such a mistake ought to be caught by a unit test.
The value of j never decreases, is bounded above by numbers.len(), and increments each time through the inner loop. This means the inner loop can run a maximum of numbers.len() times.
A personal attack, or ad hominem, attacks the character, motive, or other attribute of the person.

One can be a welfare recipient and be of excellent character and the article doesn't question her character. The article also doesn't say that Rand's being on welfare was any sort of motive for any sort of act.

No one is questioning her right to receive welfare having paid into the system.

The criticism the article brings is her evident hypocrisy for taking welfare after criticizing it for others. That she clearly didn't need it, that she and her followers kept this a secret only adds to that hypocrisy. That hypocrisy has bearing on her thought leadership. Yeah, it really does.
> It needs a lot of infrastructure in roads. That's really expensive and a huge maintenance headache.

Is it any more expensive or more of a headache than all the externalities, costs, and dangers of the alternative? At this point in time, societies all massively subsidize the fossil fuel industry at great cost to everyone but it's so spread out its hidden from view. I'm curious, if there is ever a realignment of costs from society at large to the oil companies, would the wireless charging roads look far more viable?
It's my understanding that empty warehouse space is hard to come by in colorado because it provides year round controlled growing conditions so there is a price floor on the spaces.
It would probably increase the value of such work. If I get $600/mo I am going to want a lot more than that to work full time doing something messy. Anything that was previously paying below the basic income amount would have to increase the wage to get anyone to take it up. This is already an issue in countries with an actual welfare system, you can't really pay below the dole rate and expect anything other than illegal workers who are going to do the absolute minimum.

This isn't a downside of basic income, there is always a floor on the amount you can pay for labour. If you pay below what the market expects you are only going to get the truly inept to do it.
I support a single-payer approach, largely simply because the biggest risk pool spreads the risk most evenly, but I think we have to be very careful with the word "right". I agree that basic medical care can be considered a right, in the sense that a wealthy society, which we are, is morally obliged to provide it to its least fortunate. But there has to be a limit to what counts as "basic"; if we don't impose one, we're going to wind up with even worse cost inflation than we have now.

The rich will have better health care even in a single-payer system, and I'm fine with that.

The thing I really don't want is the pre-ACA system, where only people with good jobs can get access to health care.

BTW I saw a great Yonatan Zunger blog post on this a while back... ah, here it is: https://healthcareinamerica.us/how-to-ask-good-questions-abo...
> The argument here is about dropping C. You can't replace C without paying some kind of a price.

The thing is that rust cannot replace C right now. The only stable ABI that rust has is the C one, which removes most of the benefits of using rust.
Why I'm bullish on Uber
I could. It’s just a simple Lambda function.

I will try and do so tomorrow.
Exactly. I've been to police states. They aren't fun.

Look at the state of countries. Most are in chaos 100% of the time. France went through a huge revolution in the 1700 and 1800s and still kept First World status. Chinese people dream of Paris. China has been mired in Third World statues for centuries, and will remain in it.

I've traveled around the world, and there's a huge difference in people. Some people understand the world and how it works (the West), while others don't.

There's a line INFINITELY long line to settle in the West, and ZERO to settle anywhere else (unless you're a European who wants to backpack around some third world country)

I grew up thinking that all countries were the same, but after traveling, it only drove in me further how sacred the Western world is. I am very proud of it.
It's a great time for customers to take advantage of these offers though. I've used over $1000 of Postmates promotional credit and ordered dinners from far-away restaurants that I'd never have the energy to drive to. $15 dinner item with waived $27 delivery charge? Yes please!
I stopped reading after "... organic intellectuals helped the bourgeoisie establish its ideas ..." because I believe that an extremely convincing case for the superiority of GMO intellectuals has already been made many times.
I was actually working on a site for 1000 students at one college in 2004 (Amherst had its own social network for students, 3 years before Facebook, and it still exists). It sounded and was pretty cool, but the thing is - nobody working on it thought that it could possibly be a business. It was just this student-run club that we'd have some fun with while avoiding our homework and then forget about once we got jobs.

Zuckerburg's genius was in realizing that Facebook wasn't just a hobby, it could actually be a huge business.
And also initiatives such as:

https://www.eff.org/who-has-your-back-government-data-reques...

(and other years)
How do you use static analysis tools?
Can you help a team of university researchers investigate how you and your team use static analysis tools? It takes ~10' to fill in this survey.

https://docs.google.com/forms/d/e/1FAIpQLSdDxYPbhBzk5bOPEwWjkOUpr33WvsFfWyksrINWZME6yQ_uxw/viewform

Our eternal gratitude is on the other side of the survey! :-)
To throw some actual _data_ into this conversation:

From the S-1, this is a 68% COGS business, meaning their unit margins are 32%. You can debate whether some of their opex belongs above or below the line, but let's assume the 32% number is baseline credible.

The business had 4.1 orders/customer last quarter with an average order value of $57.23, meaning 73.21 of gross profit per customer. That means they recoup their marketing spend in 6 quarters.

The big questions, in my mind, are (1) will people continue to be customers after a period of time and (2) will CAC stay the same, rise, or fall? I think there's more room for disagreement here than people admit. I haven't looked too closely at their IPO pricing, but there is some amount I would pay for a share of stock in this company - it's >$0. I'm just not sure how that number compares to the current share price.
Haha, I'd rather run a sustainable $1m company! Frankly, I'd rather try to get an actual (horsie) unicorn to take off from an airplane runway!
It was either autocorrect or a brainfart.
Q - shouldn't CAC be balanced with Gross lifetime profit, not lifetime revenue per user?
Not sure if I'm the average meal kit customer, but I don't choose to receive them every week. More like once every 2-3 weeks. Just something to consider in a customer's LTV.
"Concepts" is the 1st section..
Think of insurance. It has the highest Google keyword cost of any industry iirc. Something like $200+ CPC since LTV is so high.
i'm sold solely because he calls himself a 'digital prophet.'

also, he makes more money than me.
You're forgetting a major third reason: to have a currency to do acquisitions.

If your stock isn't publicly traded, you can't issue shares to buy new companies. Most acquisitions aren't all cash, they're a mix of cash and stock.
The article says that he was born in 1970 but has nothing on his career before 1999. Maybe an Australian can chime in on the quality of the Billy Blue College of Design, but stints at unknown "digital media" companies and then at AOL (long after the dot-com boom) doing marketing doesn't seem like a particularly successful career. I'm kind of surprised that he meets Wikipedia's notability guidelines.
It is simpler than that. If you have 50,000 share option of a tradeable stock and it goes up $1[1] you feel great you just made $50,000! If just prior to the IPO your company does a reverse 50:1 split and you now have options for 1,000 shares of stock and it goes up $1 you, gee, that's nice and all but really it isn't enough to get a new Macbook Pro.

The other thing that happens is your strike price goes up in proportion. So if it cost you $1/share to exercise your 50,000 share option its going to cost you $50 a share to exercise your 1,000 share option.

[1] of course it has to be above water.
I noticed the enthusiasm about relaxing procurement rules. I suspect that's going to bypass rules established by unions and other such things.
Pencils (not the Apple one) that let you etch things on a pad of paper.

End of the day, your weight doesn't fluctuate that much... that level of precision doesn't add much value and can make weight loss harder.
Doctors per se are not the most critical problem in US healthcare. Premature optimization is the root of all evil. Find the real tentpoles and start there.