Not sure how the post relates to spez personally and I agree with you, but I don’t think anyone needs a reason to say “fuck spez.”
Fuck spez.
Not sure how the post relates to spez personally and I agree with you, but I don’t think anyone needs a reason to say “fuck spez.”
Fuck spez.
You know, if you wait a month, you’ll have articles to post on the US as well. Patience is a virtue.
That’s a fun problem! Good for getting used to how to do loops in Rust.
One thing that might be interesting is to try to do it with iterators as well. You can make a really concise solution (link is a spoiler if you plan to do this yourself) using them.
Not Tim Apple too! Just the other day, Bezos did the same thing!
Why do robots need to be humanoid again? We’ve had robots and automated machinery be extremely successful for decades by being purpose-built for specific tasks.
We tried the iPhone 16 recently, upgrading from a 14. Apple’s AI seemed basically useless. That combined with the dynamic island not respecting reduced motion settings lead us to return the phone instead and keep the 14. The old phone worked fine, but we wanted to try to get ahead of the incoming administration just in case.
Maybe the 17 will be better?
I can’t wait for people to complain about this on Facebook and Instagram, right before doomscrolling for hours.
I hope I’m wrong.
Nah, that’s not him. We were hanging out that day. That’s not your guy. Sorry officers!
Did MS deliver a product through Crowdstrike? Maybe that’s what I’m missing here. I don’t use Crowdstrike myself, so I’m not sure how it relates at all to MS except that it works on Windows.
This article is a lot more clearly written, as expected from Cloudflare. For example, the other article makes it sound like 55% of all user data was lost. Cloudflare says:
During the roughly 3.5 hours that these services were impacted, about 55% of the logs we normally send to customers were not sent and were lost.
55% of logs during a 3.5h window is a lot less of a big deal.
Unless I’m missing what they’re referring to, I don’t see why MS even comes up related to Crowdstrike. A software dev that deploys to Windows making a royally bad mistake doesn’t exactly make that MS’s fault.
There is a book bundle on Humble Bundle right now that goes into security and hacking, if that’s what you’re interested in.
You’re unlikely to receive any support, at least publicly, for how to do anything potentially illegal. I would recommend just not doing anything illegal or unethical anyway. If you’re interested from a security perspective, find a cybersec community, and you may get more support there.
For frontend, there are cool Rust frameworks like Yew, but if it’s a “real” project then just go with a standard JS framework like Next.js instead.
For backend, Next.js (and many others) can also do backend, but if you want to use Rust, then I recommend axum
. It’s pretty much my goto Rust backend library.
I’ve already started making arrangements with my employer so I can hopefully stay employed with them. It’s happening, just a question of when now.
The other walk is happening too, for what it’s worth.
As someone who does not use TikTok, what reality am I unaware of?
If in PHP or JS I make a change, hit F5, and get an error, that’s not any better than the IDE already showing it beforehand.
This is even worse because it can happen in prod without you ever triggering this case. For some projects, it doesn’t matter because the impact of a bug is small. For most, you put a subpar, buggy experience in front of your users, waste more time looking for the cause and debugging later with upset users, and at worst cause actual damages (depending on the project anyway).
You can’t create a subset of an enum directly, but splitting this up into multiple types works. You can have FunctionAError
with errors that function can produce and a variant for your common errors, and FunctionBError
which is similar:
#[derive(Debug, Error)]
enum MyErrorCommon {
#[error("bad value ({0})")]
MyErrorCommon(String),
}
#[derive(Debug, Error)]
enum FunctionAError {
#[error("error a")]
MyErrorA,
Common(#[from] MyErrorCommon),
}
// and same for FunctionBError
The try operator (?
) will automatically use From
impls to convert errors for you as well. If a function returns a result containing MyErrorCommon
in your function and you use ?
on it, it gets converted to that function’s error type for you. thiserror
generates the From
impl for you if you use #[from]
.
Types aren’t unit tests. Unit tests only test a discrete set of inputs and outputs for correctness, and can miss cases that aren’t tested for.
In sound type systems, they are closer to formal verification. The compiler guarantees the properties you expect of the type hold.
As for the rest of the article, do what works best for you in your projects, but if I need to work with you, I’m going to ask for types. I need to know what types the interface expects to receive. Names are not enough. Document them, use type hints, whatever, just put them somewhere because I’m not psychic and I don’t know what you thought about when writing the function.
With how much hate I see about the US here, I could say the same thing there.
Calling out people for doing bad shit is kinda normal. It just so happens that China, Russia, and the US do a lot of bad shit, so they get called out a lot. If it bugs you, then just filter out posts by specific people or with specific keywords.