Better HN
topnewbestaskshowjobs
Log inSign up

learc83

13,583 karma · joined Apr 23, 2011 (15y ago) · 4,497 submissions

I'm a programmer and founder with experience ranging from web development to embedded systems and network programming.

Currently working as a principal engineer for a unicorn supply chain startup.

learc83@gmail.com

https://github.com/learc83/

Submissions

comment 5y ago · link · parent

I think you could, but I just don’t know how long it would last. The real benefit of microservices in most cases is that the network acts as an externally enforced boundary layer.

There’s no reason the vast majority of time that you need to pay the overhead of using network calls to enforce your boundaries. Yet time an again you see companies willing to pay the microservices tax because it’s just so hard organizationally to enforce modular boundaries over time.

comment 5y ago · link · parent

> I also think you're over-estimating how much of a "beast" you need as a minimal structure for building a game around. I have built a lot of hobby games, and if you're not trying to make an AAA game, you can get really far with a simple game loop

It’s an organization/people problem. Eventually if your tiny hobby game engine gets big enough people start trying to use it to make the equivalent of AAA games. Then either those users (or your investors if you’ve gone that route like Unity did), start pushing you to support those edge cases.

Eventually your elegant modular code is dwarfed by the all the edge case handling that got crammed into the framework—either because it was so performance critical that it had to live there or (the more likely case) because it was much faster to hamjam it in than spend time thinking about how best to architect it.

comment 5y ago · link · parent

The bachelors is the whole pink part not just the bump. It looks like more volume overall than the masters. It’s meant to represent the additional breadth.

But yeah masters programs do vary widely. When I was in undergrad there were students doing a CS masters coming from other disciplines. They mostly took classes with us and had to write maybe an extra paper to “make it a 6000 level class” (granted I did take more of the theory heavy CS classes than was required).

In that case their masters was basically equivalent to just the bump from the bachelors.

comment 5y ago · link · parent

When my wife and I were picking names for our son earlier this year, I pulled down a list of the top 1,000 names from the social security office. I removed the top 20, and then we kept making passes removing more names until we were down to the winner.

I called it name whittling. It was surprisingly easy to whittle the list down to 50 names or so.

comment 5y ago · link · parent

Company property is a completely different issue. Whether you do it during business hours or not is irrelevant.

If you’re salaried, you’re always on company time, so whether the company owns it or not is up to the laws of the state and the agreements you signed when hired.

comment 5y ago · link · parent

If you’re salaried, there’s no such thing as company time, so that’s not a meaningful distinction.

comment 5y ago · link · parent

In the US, it’s common to refer to university as school.

comment 5y ago · link · parent

I don't pay any federal income tax on the first x dollars of income I earn either. This is nothing but a recognition that money has diminishing marginal utility.

The issue is that there are too many people earning less than x.

comment 5y ago · link · parent

In most of the rest of the country we manage to build new roads and new transmission lines without the extreme issues you're describing. Over the last few years, I can think of hundreds of homes and businesses near me that were moved to widen existing roads or build new ones. A few people/businesses tried to fight it, they all lost quickly.

You can't take the experience of a private citizen trying to clear some brush, bridge widening delays in one of the most regulation heavy states in the country, and oil pipeline opposition, and apply it to building HVDC between countries in Europe.

Unlike your examples, HVDC lines have no real negative impact on anyone but the immediately impacted property owners. If you're building HVDC transmission lines between countries, you can also very likely reuse existing utility corridors for much of it, and build through lower density areas for most of the rest. The actual number of property owners directly impacted won't be high enough to make an impact on elections.

comment 5y ago · link · parent

It happens very regularly. Roads and utility corridors are built and expanded every day. Eminent domain doesn't generally directly impact enough people to make a serious election issue, unless we are talking about either very local elections, or when the thing being built is something people feel strongly about like an oil pipeline.

comment 5y ago · link · parent

There's only so much a landowner can. Roads and utility corridors are built and expanded every day. It's a fairly common occurrence.

Oil pipelines are bit different because there are tons of people and organizations outside of those directly impacted who are willing to join the fight.

comment 5y ago · link · parent

Not to say that what you’re saying isn’t a problem, but that’s what eminent domain is for.

comment 5y ago · link · parent

Someone needs to pay for the storage and additional generation—both the direct costs and the externalities. Why not let the market figure out who pays for it?

If factories can’t afford to pay those prices, they’ll have to rework their business model, or maybe relocate to areas with cheaper power.

comment 5y ago · link · parent

You could just implement enough surge pricing that people/companies work around peak times on their own and build their own storage.

comment 5y ago · link · parent

It's also hard to actually compare those things because there's an enormous literal survivor bias here. The living population of previously infected people have already demonstrated the ability to survive COVID.

If you took those same people, and magically made them immunologically naive, they would fare better than a random sample.

comment 5y ago · link · parent

I took a class in my CS program where we had to write PID controller software running on a microcontroller to keep water at a specific temperature using a hot plate.

My concentration was embedded systems but the majority of the class were just regular CS students.

comment 5y ago · link · parent

I’m 75% sure this is a joke. If it’s not, this is the most ridiculous interview process I’ve ever heard of.

Despite what the author says, this type of interview is definitely something you can train for. If it’s real, and successful the author has essentially created a test for people who have spent a lot of time in competitive programming, or who spent a lot of time on interview prep.

comment 5y ago · link · parent

$12 a year is misleading. Paying users are much more valuable ad targets than free users once you start segmenting them.

So now you need to charge significantly more than $12 to make up for that. The higher price makes the paid users even more valuable to advertisers. Eventually the service slips in a few ads because it’s just too much money to leave on the table.

Cable TV started as an ad free subscription service. I’m not saying it can’t work, but historically most subscription services don’t stay ad free forever.

comment 5y ago · link · parent

>And hospitals don't even work that way, because they itemize their eventual bills to insurance companies. >Are hospitals giving itemized bills to insurance companies or not?

Hospitals can provide an itemized bill after the fact. Not before. They also go back and forth with insurance companies multiple times. It's not actually based on the costs to the hospital. The final itemized bill is the end result of complex negotiation. It isn't actually based on cost.

>"who cares about the individual procedures you performed or what a technician's hourly rate is"

Insurance companies don't care what a technician's hourly rate is.

>I'm asking them to tell me what the maximum amount is they want for a standardized procedure. Possible rebates or lower prices that they can't predict are fine. I want a max price for that specific item.

No surgery is standardized. If you literally want the max price, it's going to be so high you'll never be able to pay it. It won't help you. The individual items don't matter--they're fiction.

>Then socialize it. If you want to argue that the free market isn't a good fit for health care, fine. But that's not really an argument for keeping prices secret, it's an argument for socializing health care and taking it off the free market.

It's not. And it should be public. As long as it's not a free market, none of the normally price discovery mechanisms work at any level in the supply chain. There's no way to provide prices upfront. Any attempt to will fail is just a colossal waste of time. Any list of prices you see is going to be an elaborate piece of fiction.

>To those people, to the people who reduced their bills, yes.

Those people didn't actually reduce their bills because of itemized pricing. They would likely have been able to reduce them regardless. They negotiated with the hospital successfully after the fact the same way an insurance company would.

Hospitals are usually willing to negotiate a bill because they'd rather have some money than none. Whether that's knocking off a line item for $500 aspirin, or nocking 10% off off an opaque $5,000 bill makes no difference.

>Which, incidentally, if your position is that health care should be socialized, line-item pricing also helps with that because it makes it obvious that the pricing is screwed up.

Average prices for procedures can be calculated after the fact. They can be useful in the aggregate. For non commoditized services the averages aren't remotely useful for an individual.

comment 5y ago · link · parent

>Yes, if you are not confident that you can keep a trade secret then the patent becomes the better option. (Isn't that what I said before?) "Greater than 50% chance" is not what I would call "confident".

Change it to any arbitrary likelihood below 1. The expected value of a drug during the length of the patent maybe arbitrarily greater than the expected value of a drug after that time period due to reasons other than duplication (alternative unrelated treatments etc..). If it is expected that drug will make nearly all of its total value during the length of the patent, then even a 1% chance of duplication means that the expected value of taking a patent is higher.

Such an extreme disparity between expected value during the patent length and after isn't even necessary when you factor in the additional costs of attempting to maintain a trade secret.

>It doesn't change the fact that patents only have a positive net expected value to the recipient in the situations where the public is expected to lose by granting a patent rather than having the knowledge kept as a trade secret for a time. The interests of the applicant and the public are diametrically opposed; if the patent applicant wins, the public loses.

This is wrong because it ignores the additional costs (both direct and indirect) of maintaining the trade secret.

>We've granted a 20-year monopoly

Minor point--most drug patents have an effective date of about 10 years because of the time it takes to bring a drug to market.

>Maintaining tight control over the distribution of the drug only gets you so far, especially when the underlying research is already public knowledge.

Without the potential benefit of patent protection, we'd almost certainly see research become less open to begin with.

>Trade secrets, unlike patents, don't block independent discovery, and only the rarest and most expensive drugs would warrant complete control over the supply chain.

Probably, but those drugs would become immensely more expensive, or the reward available to an individual company for developing them would go down. Every novel drug would likely warrant some extra level of control (and expense).

>though it would reduce the profitability of individual pharmaceutical companies.

The direct cost of maintaining trade secrets would effectively act as a tax on all pharmaceutical companies doing novel drug development. As would the direct cost caused by duplication of drugs during what would have been the patent protection period. Add in the indirect cost of decreased openness, and the only way to maintain the exact same level of drug research we have today without patents would be to increase public funding for drug development.

I think that's probably a better system to be honest.

comment 5y ago · link · parent

The problem with that is that the premium users then become a more valuable ad target, and the free users less valuable. So you have to charge even more making them even more valuable. Eventually you reach some equilibrium. But by this point the premium users are such an attractive ad target that the platform eventually starts sneaking in an occasional ad, and then more frequently etc…

Cable TV used to be ad free when it started out.

HBO is probably the best counterexample, but if you look at what they’re doing with HBO max, even they might not be able to resist forever.

comment 5y ago · link · parent

That’s almost exactly how Usenet worked back when I was a kid.

comment 5y ago · link · parent

>Even better: clearly the market has proven that it's possible to offer these services with transparent pricing. Why can't hospitals keep pace?

1. You shouldn't be admitted to a hospital for those minor clear-cut procedures. 2. Hospitals receive public funds to offset the costs of some services. 3. Hospitals are required to provide certain services regardless of the customer's ability to pay.

>Lawyers have a predictable billable rate, personal physicians and doctors often don't.

Laywers will tell you their billable rate, and can give you a semi accurate estimate for simple services. For more complex services their estimates have enormous error bars.

>There's no reason why a hospital shouldn't be able to figure out the cost of minor anesthesia before a scheduled minor surgery. That's not a surprising part of the procedure, that should be something that's fully negotiated with insurance and disclosed to the patient beforehand so they can decide.

If you're talking about local anesthesia sure, but in that case you're unlikely to actually need to be admitted to a hospital unless it's an emergent condition. If you're talking about general anesthesia then there's a reason that an anesthesiologist or a CRNA with many years of training is required to be present.

> Yes, absolutely, you can find tons of stories online about people negotiating smaller bills because itemized bills turn out to include services that they never requested (and in some cases services that were never even actually performed).

Yes but do you have actual data that the benefits are worth the cost? Has it actually driven down health prices in the US overall? Was the additional complexity actually worth it?

>It's also absolutely worthwhile because you're seeing creative line items like $500 for aspirin that prove that the costs of the services aren't being based on market rates.

I think you're not understanding the point of this. You're not going to actually save money by declining to take an aspirin. Of course hospital services aren't based on market rates. Hospitals are required by law to offer certain services regardless of the ability of patients to pay, most patients are insulated from the actual costs through insurance, many patients have zero out of pocket costs, complex procedures are impossible to accurately estimate, and the free market has an inherent problem with extremely price inelastic services.

It's not a free market, and unless we are willing to make drastic changes to society, it never will be. Pricing transparency for hospital commodities is such an insignificant part of health care costs that it's a gigantic waste of everyone's time.

comment 5y ago · link · parent

Of course patents are preferable to trade secrets in the vast majority of cases. That's why I said trade secrets have many of the same the same problems, not that they are equivalent.

The problem is that when patents are no longer an option trade secrets (or public funding) become essentially the only viable option to pay for the majority of drug research.

If a drug is unique and desirable, forcing doctors, suppliers and patients into contracts that don't allow reverse engineering is the most likely outcome. In extreme cases drug companies could require patients to only be treated in a doctor's office.

In the case of drugs that can't be kept secret, given the time and effort necessary to develop, much of the economic incentive for that research evaporates.

>Patents are thus only viable for those things which would not be expected to remain secret.

That's not how the math works outs. You can easily construct a counter example where a drug has a greater than 50% chance of remaining secret during the length of the patent, yet taking the patent has a greater expected value.

comment 5y ago · link · parent

Phoenix, Elixir, Tailwind, Alpine, and LiveView.

https://changelog.com/posts/petal-the-end-to-end-web-stack

comment 5y ago · link · parent

>Most health visits, and the vast majority of all preventative care, does not fall into that category.

The kinds of easy issues you're talking about don't need to happen in a hospital. You can already go to an outpatient imaging clinic for an x-ray, a dermatologist's office to have a mole removed, or an urgent care to suture a laceration.

If you need emergent care or you want an elective procedure that requires a hospital stay, you're into the realm of custom services with variable pricing.

>This is the exact same argument that hospitals used to use against itemized pricing, and yet it turns out that requiring hospitals to give itemized bills on request has pretty solidly been a good thing for consumers.

Has it? Has it driven down prices? Has the demonstrated value been worth the cost? Or has it just pushed hospitals into creating longer bills with more creative items and charges. Creative line items like $500 for aspirin perhaps?

comment 5y ago · link · parent

>Unfortunately what we actually have, between patents and other monopolies the government has instituted on drug manufacturing and distribution, is nothing like capitalism.

You could replace patents with trade secrets and have many of the same problems (along with some others).

comment 5y ago · link · parent

>Definitely not the norm though

It most certainly is the norm when purchasing complex custom services.

>A contractor will not however replace the framing and then charge me after the fact. They'll discover the rotten framing, inform me of the new conditions and the new price, and then let me decide. A good contractor will walk me through that process.

If a surgeon could keep your chest open on an operating table while they walked you through the process this analogy would work.

>a good explanation of why pricing a surgery or an entire hospital visit may be difficult. But it is not a good explanation for why hospitals have claimed that the price of a single x-ray is "unknowable".

jonathan-adly has done a great job explaining why drug prices are difficult to calculate upfront.

As for the price os a single x-ray. I'm sure the average cost of a single x-ray could be calculated. But how much is that worth when the entirety of the hospital visit is going to be a variable cost? If you're only interested in a single x-ray, there are already outpatient imaging clinics that will give you the upfront cost.

comment 5y ago · link · parent

This is exactly what happens when a monopoly produces extremely price inelastic goods. If it's not illegal, the monopoly will attempt to charge each customer as much as they can afford.

comment 5y ago · link · parent

>But I would also point out that under Capitalism, signing a contract usually involves the terms of that contract being made upfront.

There's nothing inherent to Capitalism that prevents variable priced contracts.

>Pretty much every other industry in America has figured out how to put a price tag on the products they sell,

Maybe for mass produced products they have, but certainly not for custom work. You aren't paying for a product but for a custom service. Paying a doctor to fix your body in many cases is more complex than paying someone to build a house, a bridge, or a piece of software. You won't even get an upfront price for something as simple remodeling your kitchen. A contractor estimates that it will cost $20k and then finds that a leak in your attic completely rotted some of the framing, now it's $50k. A builder starts digging the foundation to your house only to discover a huge boulder that has to be moved.

There are parts of medicine that could be made more transparent, but there is an inherent complexity that makes complete or even mostly complete price transparency impossible.

12345
150