Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 8y ago · link · parent

You missed this part, though:

Of all the interventions they looked at, only two were truly cost-saving: childhood immunizations (a no-brainer) and the counseling of adults on the use of low-dose aspirin. An additional 15 preventive services were cost-effective, meaning that they cost less than $50,000 to $100,000 per quality adjusted life-year gained.

They’re not against paying for things, just not paying uncapped amounts.

It does sound barbaric, but just take it to the extreme. Is, say, $4M of federal taxpayer money for one quality-adjusted year of life gained a good trade off? Someone has to make that call.

comment 8y ago · link · parent

Site appears down for the moment, but I thought the title sounded familiar.

No qualms with the repost, but for anyone interested there was a very healthy discussion about this article three years or so ago: https://news.ycombinator.com/item?id=9025437

comment 8y ago · link · parent

Don’t be silly, there’s no point in making absolute statements like that. Everything needs to be qualified.

If you could become an imaginary micro unit more happier but it would cost 14 orangutans their lives, does it still hold? And for people on the opposite side, if saving one orangutan was guaranteed to cost a human their life - or perhaps their eyesight or a limb - would it still be worth it?

We’re not living in a 20s silent film, there are shades of gray in this world.

comment 8y ago · link · parent

I’m not sure it’s that simple, though. There’s an inelastic demand for some of these things. For example, no matter how many other opportunities you provide lion and elephant poachers in Kenya, for every poacher you take away that will drive up the cost of a pelt or tusk, making it more lucrative once more.

It would certainly go a long way to help, though.

comment 8y ago · link · parent

I like that it’s a very convenient argument that rationally culminates with “so the only way it can work is for everyone to ban guns everywhere.”

comment 8y ago · link · parent

Good idea! Hopefully will get around to doing so sooner rather than later :)

comment 8y ago · link · parent

On the other hand, for the longest time both DC and Chicago virtually banned guns and yet had atrocious violent crime rates.

comment 8y ago · link · parent

Ugh. Every time I see tokio or futures-rs mentioned, a part of me dies.

The syntax and ergonomics of rust futures ATM is insanely painful and slows down development 100x in some cases (not exaggerating) due to the current lack of async/await combined with hard typing requirements coupled with some very unreasonable design decisions (namely, each future generates as the result of a computation on a previous future has a different type, even if they resolve to the same types upon evaluation of the future - basically abusing the type system to store the futures chain. Combined with the very strongly typed nature of rust, even with experimental language features like “impl future<xxx>” the code becomes impossibly hard to reason about.

For example, the result of future.or returning a future bool is not the same type as the result of future.and similarly returning a future bool; and a two-level future evaluating to a future bool is not the same type as a one-level future also evaluating to a future bool.

async/await cannot come soon enough.

comment 8y ago · link · parent

Basic generics in rust don’t have that much overhead; it sounds like your conflating generics with templating. Generics aren’t Turing complete, unlike C++’s templates.

Other languages with powerful generics and type inference like modern C# clearly manage just fine, too.

comment 8y ago · link · parent

I’m pretty sure no one in their right mind claims that rustc is “as good as can be.”

It’s called incremental progress.

comment 8y ago · link · parent

Thanks for your work on the ec2 AMIs.

Just deployed a lambda script that spins up a FreeBSD ec2 image that checks out, compiles, and runs the contents of a dynamically provided git url, with dynamically specified pkg and pip dependencies to make my own long-running FreeBSD-based lambda-esque service for some continuous deployment.

Wouldn’t have been possible without the ec2 images and the configinit magic.

-mqudsi@neosmart

4992.

Murders in US very concentrated (2017)(crimeresearch.org ↗)

57 points · by ComputerGuru · 8y ago · 56 comments

comment 8y ago · link · parent

> using the context menu to “Open Image in New tab” essentially dos the same thing so the functionality is still there.

No, actually “view image” loaded the source image at source resolution while viewing the image loaded into the DOM would show you the re-encoded, lower resolution, smaller Google thumbnail version.

Edit: actually it seems that Google has simultaneously deployed an update that makes the actual source image open so that might actually work.

comment 8y ago · link · parent

It might have been bad solder. Some of that lead-free stuff is utter garbage and could have failed mechanically (of it hadn’t been on right) or reflowed due to the heat.

comment 8y ago · link · parent

AMP scrolling is still broken. I don’t see why it needs to touch the scroll behavior at all. Plain html is both fast and scrolls naturally. It doesn’t break mobile safari. I don’t get why Google needed to render AMP on such a way that they need to try hard to emulate native scroll behavior (still getting it wrong, previously it was too fast and now it’s a smidge too slow) instead of just using the native behavior.

comment 8y ago · link · parent

No, not really. Most UX issues with AMP on Safari rather stem from the approach Google has taken with the html. For instance, it’s not a WebKit bug that tapping the top of the screen on an AMP page does not scroll to top - something that works on virtually all other webpages.

comment 8y ago · link · parent

That’s just bad design to begin with, replaced by a ln inefficient kitchen sink of a solution. Why should the screensaver be part of this megalith?

Edit: to be clear, it’s not about the binary used to run the screensaver, it’s about the fact that it does not need to be a question of “all or nothing” and that a solution for this particular problem could have been adopted without replacing virtually every other component of the system services simultaneously.

comment 8y ago · link · parent

SliTaz was another great distribution, very feature complete and highly polished for its incredibly small size. Unfortunately - and you could see this coming a mile away - like so many other projects (open source or otherwise) they decided they’d “do a rewrite” and the project really lost its way and fizzled our thereafter.

comment 8y ago · link · parent

There needs to be a sense of ownership and pride. Even my side projects are written then rewritten over and over again until I’m personally satisfied with my approach and the quality of the code. If I use a hack to get something done on code no one but myself will ever see, I still leave a shame comment (//mqudsi: this is an ugly hack because I was too lazy to clean up access to this global variable. Fix me.)

We aren’t dealing with anything new in terms of work ethics and quality control in software development. I maintain my code quality the same way a carpenter 2,000 years ago would have cared about how well the insides of a finished product are designed, whether it exceeds its required specifications, what other carpenters would think of their work, how they would feel if a future apprentice or master saw what they created that day, and so on and so forth.

Additionally, I place a premium on “skills learned or perfected” over “bugs closed or features implemented.” If xx is better implemented via an approach I haven’t used before - well, here’s my chance to learn how to do that. Sure, it’ll delay the process. But that’s where technical debt comes from. I may only end up writing ten lines of code that took me 17 hours to figure out and understand, but if those are the right ten lines of code then whatever else I could have or would have written or accomplished in those 17 hours doesn’t matter.

When the goal is “closing JIRA issues or GitHub PRs” and the only metric is how many bugs you closed that day, code quality will suffer. But instill that sense of pride, take ownership in your work and create an environment where others are encouraged to do the same, and it’s a different matter.

comment 8y ago · link · parent

You also don’t want to get your server blocked by yelp if they do rate limiting.

comment 8y ago · link · parent

I presume the “pay opportunity” would be to use their own ad network. Yes, it is subject to the same rules. Officially.

comment 8y ago · link · parent

Except while with ad network x the network gets punished, with AdWords the specific advertiser does.

5003.

iMessage for Windows: A labor of love that will never see light of day (2018)(neosmart.net ↗)

5 points · by ComputerGuru · 8y ago · discuss

comment 8y ago · link · parent

Those are pretty woefully underpowered for folding..

comment 8y ago · link · parent

Absolutely. But few would make comparisons or draw parallels to them, whereas they'll be quick to do so for the Nordic nations or similar.

comment 8y ago · link · parent

They're not at all conflicting unless you choose to interpret them in that way. I think the premise here is very well understood, and it's whether or not any amount of practice can make up for what some would argue is an innate lack of musical talent. The benefits of practice thereafter are incontrovertible.

comment 8y ago · link · parent

I don't think comparisons to "other affluent countries" are apt; the socioeconomic and cultural makeup of the United States is so starkly different from pretty much any other country (even our immediate neighbors to the north and south).

In particular, the institution of slavery and perhaps even more so, the culture of segregation, condescension, and disdain that followed from The Reconstruction onwards resulted in such drastic dehumanization, disenfranchisement, and demoralization of a huge percentage of the population that has not been seen anywhere else in the world.

No solution can be drafted that does not address this ugly stain on our history (continuing to the present) and still ever hope to work, and whitewashing history books and tiptoeing around this elephant in the room in the name of political correctness does us all a disservice.

comment 8y ago · link · parent

From a purely scientific point of view (since that is what you are espousing), you can't make the comment you just did without proving that without the threat of jail time this subset of the population would not be committing even more crimes even more often.

Additionally, speaking as someone that agrees with the scientific premise of your argument, any alternative would be a trade-off, i.e. the percentage of the population that are not committing crimes at all would need to remain sufficiently deterred, which may change when the deterrent does.

1
166167168
277