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 6y ago · link · parent

Absolutely. With frontend logic powered by C#/.NET courtesy of Blazor.

comment 6y ago · link · parent

Yes, but people are short sighted. They also probably think “I’d rather grow quickly and be able to afford this down the line than do it right and risk missing out.”

comment 6y ago · link · parent

Like pretty much all the other GUI attempts going on in the world of rust, it is built on top of wgpu which does not have any OpenGL support ("yet"). The older toolkits were built on gfx-rs which had much better support for different gpu toolkits, but was pretty much deprecated and replaced with a different project altogether.

3874.

Windows 10 Hosted App Model(blogs.windows.com ↗)

168 points · by ComputerGuru · 6y ago · 109 comments

comment 6y ago · link · parent

> I always thought Canada was so much bigger than the US but they're about the same size - 3.5m sq miles.

You can thank Mercator for that. And, these days, Google and Apple for still using it (Google Maps is a globe on PC but still Mercator on iOS. Apple Maps is Mercator only).

comment 6y ago · link · parent

Warning: link hijacks history.

comment 6y ago · link · parent

Who the hell still uses ECB?

comment 6y ago · link · parent

Doctors don’t have a hard time paying off those loans. It’s the liberal arts students (for one) with loans ten times smaller but incomes a hundred times less that can’t.

comment 6y ago · link · parent

Does it really? I can’t find anything to agree with that.

comment 6y ago · link · parent

Very interesting! It has an AMD Ryzen 3 so maybe we can expect an update with an AMD 4000.

comment 6y ago · link · parent

You're right, my comment would have been more valuable if I'd included some alternate technologies they could have used instead, but I believe that the criticisms still stand regardless, because the approach itself is in question. You don't find out once you've reached scale that the underpinnings for your distributed KV platform are not actually free of global locks for writes! That's something you verify and test for yourself before building your empire upon it. If an alternative exists, you use it. If not, you need to build it.

To answer your question:

> what would you have picked back in _2011_ when Cloudflare was getting off the ground?

Not only "would have" but did pick and use (well before 2011) an abstraction around SQLite because our team first evaluated our read vs write requirements and found it to be an adequate option rather than going crazy trying to find a nosql solution worthy of including on our resumes.

The Cloudflare article is somewhat skimpy on the details of their benchmark, so these numbers are not an exact equivalent but, here, I just threw this together: https://github.com/mqudsi/sqlite-readers-writers

P99.9 for reads with two writers is 2ms as compared to their 1215ms, and this is with full ACID compliance and write synchronization.

You don't need to be an expert in creating these systems, you just have to be able to test and validate your architectural decisions before building upon them. It takes only an hour or three to pick a library and write a similar benchmark for any KV store you're interested in (although the exact benchmark would have to be tweaked to match your expected needs).

(That said, lmdb is a great choice and I've recommended it here on HN before... except they ended up replicating on top of it a lot of what SQLite provides for free. Their transaction logs are almost like SQLite's WAL which I used in my benchmark, except going with SQLite would have skipped the entire second half of their Quicksilver solution since it they wouldn't need to manually handle transaction logs, split payloads, and manually reassemble to avoid fragmentation.)

comment 6y ago · link · parent

They know (and wouldn't deny) it's against normal copyright law and an infringement of the IP of the authors/publishers; they are hoping that courts would side with them as a "war-time emergency measure taken in the national interest."

I am deeply appreciative of the Internet Archive which is why I probably wouldn't have taken that bet. It would be horrible if their solvency and future relied on the outcome of the inevitable lawsuits to follow, and I don't think the risk (of losing IA) is worth the benefit (and this is why things this important should be government-backed so that they can ignore some laws with impunity in time of need, or at least without risking their very existence).

Personally, I'd have switched to shorter waitlists first (e.g. 24 hours or even 4 hours). But I'm not a domain expert; what do I know?

comment 6y ago · link · parent

Probably hardware vs software screen buffer issue.

comment 6y ago · link · parent

Skip the NYT article, it is fluff and doesn’t take paying out dividends into account. The HBR article is better (but still only a cursory introduction).

comment 6y ago · link · parent

The story of how they picked a storage engine ill-suited for their needs and then used ridiculous and unsustainable workarounds to deal with its shortcomings (including unsafe practices like relying on rebuilding the databases, assuming it’s safe to turn off synchronous writes for KV storage writes, etc) just confirms how shoddy engineering is at CloudFlare. That is peak technical debt.

(It’s one thing to make a wrong choice, it’s another to think you can paper over those mistakes and they’ll go away.)

comment 6y ago · link · parent

Only if the company doing the buybacks pays out dividends in the first place. (UAL doesn’t.) But the cost of buying out those shares is significantly more than the slight increase in dividends yields in all cases.

comment 6y ago · link · parent

This is where the criticism against too big to fail comes in. We have a lot of eggs (jobs, contracts) in one basket.

comment 6y ago · link · parent

That’s nice in theory. In practice, infinite cheap loans skew the mathematics considerably.

comment 6y ago · link · parent

Yes... except the risk of this happening is theoretically priced into the interest rate on the loan. If it’s dirt-cheap it must also be a low-probability scenario. (Not that I necessarily disagree with you on principle.)

comment 6y ago · link · parent

Raising the value of a stock doesn’t make the shareholders money unless they sell their holdings (although it might incentivize doing that) as compared to dividends which encourage holding on to your investments so long as they pay out nicely.

The real beneficiaries of buybacks are executives and employees with vested stocks. They both lose money on dividends and directly benefit from the contraction in available shares.

comment 6y ago · link · parent

And if you’re using a language that supports it, pass passwords around in a custom data type/wrapper around string that does not leak its contents when your platform equivalent of .toString() is called (and override the JSON or slog conversion interface).

comment 6y ago · link · parent

Sorry, yes. Thanks for the correction!

comment 6y ago · link · parent

Please do your part to keep HN meme-free.

comment 6y ago · link · parent

No, not at all. But to provide a mathematical basis and proof that can then be extended to all walks of life?

comment 6y ago · link · parent

It is perfectly fine to have a one-to-one mapping between schema and database, thereby treating them as interchangeable. So far as I know, by convention the schema will be the “database name” and the database name would just be “public”.

comment 6y ago · link · parent

HN discussions generally assume people did more than just look at the pictures..

comment 6y ago · link · parent

Not really. Everyone thinks it’s can’t happen to them. Certainly me too, and I’ve been using aws since it first launched in some capacity or the other.

comment 6y ago · link · parent

Giordanos’s is alright, but once you have Pequod’s you never look back.

comment 6y ago · link · parent

You mean, taking the math and science described in intricate detail in this article to the next level, right?

I fail to see how what you’re saying negates the article. In fact, there are several descriptions of folding as being the next step (see folded paper holding a can of beans).

1
129130131
277