Apropos of nothing, but a few Christmasses ago the place I worked had a dedicated fibre line that some workmen doing gas line repairs sawed straight through, took out everything; I was just drone worker at the time & it was a beautiful thing
Assuming crates.io is AWS-backed? Getting fun situation where direct dependencies of an application are downloading but then the sub-dependencies aren't.
The crates.io index is hosted on GitHub, but the application/API is hosted on Heroku (so in the us-east-1 AWS region) and the downloads on S3/CloudFront. And yes crates.io is currently impacted.
I wonder if there's an s3 compatible service with similar pricing that can be used as a fallback? Are digital ocean s3 compatible storage accounts's backed by real s3?
afaik there's nothing tying it specifically to GH (where the metatada is), and then the actual code is just in an S3 bucket, so in theory should be reasonably easy [ha!] to just host anywhere. In theory, I mean that's a massive lump of stuff, and surely wherever it gets hosted is going to face exactly the same issues (though if it does become very widely used, then you'd think every major provider that controls infra could easily have a mirror)
It's more analogous to an alternative history where the Ruby framework most people used was Rack [directly], not anything built on top of it (ie Rails).
Well...yes, not necessarily fundamental, but it's the same class of problem cinemas and restaurants have (to pick two). What do cinemas mainly make money from? What do restaurants mainly make money from?
Yes, that seems to be true (and is that % you've guessed maybe too low? Maybe far too low?). Even with that though, it's extraordinarily fine margins -- w/r/t the businesses that I mentioned, the majority of the income comes from those value-adds, if they weren't there it would generally be difficult for the businesses to survive financially. That's where I was coming from.
To me, Spotify seems to be using podcasts in a similar way. I assume it's because the central business model is unsustainable when combined with investor pressure; they can't just focus on core product because they're burning too much of other people's money in an attempt to outcompete everyone else
& Rust is surely a highly imperative language that has absorbed functional idioms (where appropriate), rather than something that falls under the banner of "functional language"?
There's a reason why functional languages all use a GC. And that reason makes Rust not such a good language for functional idioms unless you stay within very strict lines.
You're likely literally doing the same thing with Webpack. There is only one complete implementation of the TS compiler in existence, so you have to use that to typecheck, it doesn't matter what bundler tool is used. If you need the type definitions as part of the output (eg you are distributing a library), then you have to involve the compiler to construct the output definition files, but for the code itself, it doesn't really matter because you're just generating JS. The TS compiler is very slow (and in any case is not designed to produce code bundles - it just dumbly translates all the TS to JS), so the standard way to speed this up is to use a module bundling tool that ignores the types and compiles the code as JS, and have the TS compiler set to not emit any files itself.
Nothing in the above precludes using the compiler to typecheck the code, that's the primary usecase & what sibling is saying about thinking of it as a linter: if typechecking fails, don't build
Aye very similar at my last job -- got asked a month before that if I was happy, then got given a task with a slightly weird vibe about it that noone except the CTO (also my direct manager and the HR, was small company...) seemed to know I was doing. Same amount of time for me as well, 9 months. My output wasn't great either (I'd made an error taking the job, ignoring a series of red flags the CTO was waving in front of me in favour of getting experience with a specific tech stack, which was stupid, and I p much hated my life by that point). Place had done random firings before though (designer and a business support were in one day, gone the next), so not surprised, but hey ho.
Two (import + require, which, as import didn't exist, was necessary). Most current tooling is built to handle both (Deno draws a line under it by disallowing the older one)