21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 9y ago · link · parent
Chromium holds almost all of Chrome and is open source. Multiple (!) alternative browsers are based on this.
You could argue against the WebKit monoculture, but that's a different topic. The browser ecosystem has never been this open
comment 9y ago · link · parent
This seems like a decent solution, because the user experience is "wait a bit when loading stale tabs", rather than "have the entire browser choke without being really sure why"
comment 9y ago · link · parent
Wrap _all_ third party library calls. This lets you reduce the scope of these calls to "approved" ways and make much stronger assertions about who's doing what in your code.
This gets super useful the further down the line you get to adding really complex features. Being able to isolate all the places where certain objects get created to add a permission check is nice.
It also makes testing easier because you have some nice entry points to mock.
Raw usage of things like an ORM can let you get through a prototype super quickly, but makes editing the application later on quite hard.
comment 9y ago · link · parent
I can't find this anymore, but did find an estimate that internet ad industry did $60 billion last year. Assuming 1 billion users ( I know more people have internet but lots probably don't interact with ad-ridden sites), you're talking $60/year. Which is pretty good overall.
comment 9y ago · link · parent
The main issue is that to replace all advertising revenue across the board, everybody would need to pitch in something like $150/month. I like paying for things to get rid of ads, and I'm not even sure I'd make that commitment.
comment 9y ago · link · parent
In the current model, people without insurance see their prices increase compare to people without insurance. Hospitals charge double to these people because they expect to recover 10% of the bill, so they compensate for that in the model.
The way to capture needs-based payments is an across the board discount. Charge everyone $100 for the treatment, and then offer 90% off for people in need for the entire bill.
This will clarify the real costs and discounts being provided, and reduce ambiguity.
comment 9y ago · link · parent
Since there's a legal limit on profit margins, increasing costs will let them increase revenue elsewhere...earning 8% on $2000 is more interesting than 8% on $1000.
Doctors don't care about the price because they're not paying. You don't care about the price because it's over your deductible. Insurers don't care because they have latitude to raise prices every year. manufacturers don't care because the decision makers don't care.
The French system has a "base price" that they will reinburse for medical supplies/tools. Doctors can go over, but then it's out of pocket for the patient.
comment 9y ago · link · parent
Why does anyone use hosted travis CI despite being able to run it ourselves? Why do people use google apps instead of hosting their own mail servers? Because instead of having your employees do something they're not necessarily good at, you will pay experts to do something they are (supposedly) good at for a fraction of the price.
comment 9y ago · link · parent
The reason I use MBPs as the reference is because it is still the laptop I enjoy using the most on almost all metrics.
The thinness is nice, a touch thicker to get more battery life would be nice but I use my laptop for several hours unplugged heavily without issue.
The aluminum case feels better than any other laptop I've held. XPSes feel nice, but not like my laptop feels.
The trackpad is excellent. Smooth surface instead of that bumpy stuff on most laptops.
Last-gen Macbook keyboards (pre-butterfly) feel very nice.
I use MBPs as a reference because that's what I mostly want. If I could get a MBP with dedicated GPU and no driver issues for Linux, I'd be pretty happy. Thin things are nice.
comment 9y ago · link · parent
There is no philosophical beauty in typos or off by one errors. You are not being stifled when your compiler points out to you that, no, "coutn" is not a variable currently in scope. If we have a static proof that what you just did will never work, why would you still want to do it?
And if you had a reason, you still have a way to do it.
If you're trying to be clever, you need to prove that you know what you're doing.
comment 9y ago · link · parent
Though, thinking about it now, the machines were not bad. No Macbook Pro in build quality but it worked well enough.
comment 9y ago · link · parent
For example, most OS code is _not_ interrupt hooks or malloc but the rest of the OS. Most of Postgres is not reading data quickly, but higher-level abstractions.
Large-scale systems programming will always be mostly higher-level abstractions, because that's the only way to write large programs. Name any "systems programming" OSS project, choose a random C file, and you'll see that most code does not require pointer arithmetic except because that's how you do things in C.
You don't bit-twiddle for 200k lines of code, so being able to limit dangerous stuff like that to the 5k lines that actually need it makes work an order of magnitude easier.
comment 9y ago · link · parent
Try getting $50 out of someone as they're boarding a plane.
A major part of these choices involve whether they're feasible in situations with time pressure and frustrated passengers. Luckily airline staff have huge latitude to help defuse situations with angry customers.
Working for an airline is a thankless job
comment 9y ago · link · parent
So either the government is bribing a bunch of security researchers (who doesn't want the scoop that the consensus is wrong?), the government executed a perfect false flag to blame Russia on something (why do this? It's not like having Russia as an enemy is useful for us), the analyses by these researchers are right, or something else.
My money is on a decent amount of smart people all arriving somewhere near the truth.
[0]: https://www.threatconnect.com/blog/guccifer-2-0-dnc-breach/
comment 9y ago · link · parent
It's not like anti-Russian saber rattling was a thing even 12 months ago, despite the Ukraine situation.
The DNC hacks are a thing that happened, and a lot of people outside the government seem to agree that evidence points to it happening from Russia, by actors who seem to have worked with the Russian government.
If you accept the DNC hack analysis, it's not absurd to imagine that closer scrutiny reveals more infrastructure that Russian state actors have penetrated. Especially given that we know infrastructure is more vulnerable that we might like.
Considering that Republicans are not peddling the anti-Russia line, what's the angle here? in the last 6 months of an 8 year term, Obama decides to activate the anti-Russian propaganda machine? Only for it to be dismantled in 2 weeks anyways with the new administration? What sequence of events causes that?
comment 9y ago · link · parent
For example, if it's possible to update the software on the infrastructure, there's going to be a delivery mechanism, right? One could imagine that coming from some process that is further up the chain until, eventually, you arrive at infrastructure that would be attached to the laptop.
For example, what if some build server got compromised (assuming that was the state of the art)? Some software backups, along with some phishing/false alarm to trigger a rollback?
Having rules like what you're saying is extremely helpful, but I imagine it's very likely for there to be a path between many devices to the infrastructure, even if its several jumps away. The chain of trust is probably very long.
comment 9y ago · link · parent
Even the busiest lines in Tokyo are mostly single-rail. Of course, when a train breaks down, then nothing can happen, but at least you don't need 4 sets of rails, only 2 (one for each direction). There's probably way less in terms of delays because of that too. Each train is on its own set of tracks, so little cross-cutting.
comment 9y ago · link · parent
I'm having a hard time reading between the lines here, but it feels like you're saying that allowing corruption would lower costs, but that really goes against my intuition.
Several Japan infrastructure projects also cost huge amounts of money, and construction companies and gov't are very close.
Japan has better infrastructure. But the way they do it is by spending huge amounts of money. The only way the bullet trains exist is because of massive government spending (during Japan Railway's privatization, about $150 billion of Shinkansen debt was taken on by the tax payer).
comment 9y ago · link · parent
Also, health insurance companies can discriminate against smokers, they're not a protected class for a reason.
I think insurance is a bit tricky because it's a mess of adverse selection and other effects that make it very different from "classic" free-market stuff.