

Thank you. I was wondering what it meant


Thank you. I was wondering what it meant


What is 20mph in sane units?


The initiative was defeated. We will not be shooting ourselves in the leg, thankfully.


Haha lol no. The UK blundered massively with Brexit but they’re nowhere near as fucked as the USA, with your retarded gestapo, disabled judiciary and the senile fascist at the helm
It’s not even close
Pferch? Ist das nicht wo man Tiere einsperrt?


This is likely. They are sponsoring all kinds of extremism and separatism. Their biggest success to date was Brexit, but the rise of the neonazis in Germany, France, Italy, Poland, Hungary, Romania, Slovenia, USA is not to be underestimated as well.
They understand very well that they don’t have the faintest chance or even leverage against a united Europe/CA/NZ/AUS/USA. None at all. But divide us, and attack us one by one? Now that they can do. A single European country will have difficulties defending itself, be it economically or militarily.
This is why we must remain united against these dictators. We obviously have many differences and quarrel amongst ourselvee, that is completely fine, as long as we stand together when it comes to saying “fuck off and then fuck off some more and then fuck of all the way and stay fucked off” to the dictators.


Das finde ich toll, hoffentlich kündigen so viele diesen Müll


You can do type erasure by converting your errors to Box<dyn Error>, then they have the same type and can be in the same enum variant


No, the largest group of asylum people is Ukrainians


No, it’s against “white” (you probably meant to say European) countries.


Cancellation of EU contracts allowing for free migration.
The EU will then cancel all other contracts, effectively crippling the Swiss economy.
The proposal is, without disrespect to the differently abled, completely fucking retarded.


I mean if you fly for 1-2h a meal is overkill


For multiple types turning into one variant: you can either impl From for the others yourself, or you can have another enum with variants for them and have thiserror generate the From impl. I usually have lots of enums, at least one per module, sometimes even one per function, that form a tree. The errors you design should relate to the action that was being tried, and only encapsulate the lower error as context information.
I see you’re using strings. You can do that, but then you’ll lose control over formatting, and additional context info that might be contained in them.
Designing errors isn’t trivial and requires some experience. Try some things and over time you’ll see what works best.
You can also check out https://docs.rs/snafu/latest/snafu/guide/index.html, another great library - their docs contain excellent guidance on designing error types.


Genau richtig! Deshalb sind Demokratien auch so viel stabiler als Diktaturen.


Die Lakaien haben Knarren am Kopf (in Form des FSB). Deshalb führen die die Befehle aus. So wie in jeder Diktatur.
Die Informationen fließen ebenfalls auf mehreren Schienen zum Diktator.


Don’t implement Into, instead, implement From - and you’ll get Into for free


Check out https://docs.rs/thiserror/latest/thiserror/. You can do this:
#[derive(Debug, thiserror::Error)]
pub enum MyError {
#[error("Failed to do the thing, blabla, put something clear here")]
DoingTheThing(#[from] LibraryError)
}
And then you can just do foo(a, b)? because there’s now a From impl for MyError from LibraryError.
You now get a proper error chain via source(). You can use this to have a nice report at the top level using https://docs.rs/thiserror-ext/0.3.0/thiserror_ext/struct.Report.html that looks like this:
Outer error text
Caused by these errors (recent errors listed first):
1. Middle error text
2. Inner error text


Ein mittelgroßer Unternehmer sagte nach dem kürzlichen St. Petersburger Yoloforum, man sei in einem abstürzenden Flugzeug gefangen, mit nur einem Piloten, in einem schalldichten Cockpit, den niemanden erreichen kann um ihm zu sagen, am Knüppel zu ziehen
Soll heißen, er hat sich komplett isoliert und hört auf niemanden mehr
I don’t think so. I regularly go 25 km/h on my normal bike without trying. 35 km/h if I try. And it’s not a racing bike in any way, it’s a regular used 300€ bicycle