« first day (2378 days earlier)      last day (1113 days later) » 

2:21 AM
do you have a working example for the enum?
well I fixed it by unwrapping
:s
 
@AntoninGAVREL snafu is well documented...
 
ca me fait penser a waifu le nom
 
3:13 AM
I have for about $10k of ETHEREUM remaining to sell, do you think its a good idea to sell now?
( I need to edge my apartment loan, its kicking my butt very hard) :(
 
I don't care at all, you want speculate on something that doesn't worth any real value, take your own decision
 
I dont really speculate, I mined it
I disagree that it doesnt worth any real value
it has a real value since you can use it to make transactions, just like fiat currencies
your point is basically the reason why everyone was always surprised to see bitcoin so high, even at $50
but I know like you that its a real gamble, there is nothing more volatile than a cryptocurrency
 
3:54 AM
@AntoninGAVREL it have value cause people want to think its has value, thus why I said "real"
 
4:25 AM
What about euro and dollar then?
 
totally different
 
 
4 hours later…
9:02 AM
@Stargateur I really don't get you. The answer to that question is "wrapping" or "transformation", not SNAFU. It can be wrapped into anything, not just an enum, whether that makes sense or not is a different story. What does this has to do with an external library? SNAFU tries to solve a problem that is very different, whether that is useful in specific a project is yet another story.
@Stargateur I don't like crypto currencies as they stand today either, but for different reasons. Antonin is right: current money has value because we agreed on that it has value, not because it actually has. We don't even use "notes" and "coins" anymore, our money is just as virtual as crypto currencies: they are virtual digits in a computer. If you believe that it is not the case, you're very much misguided in terms of global economics / finances :)
 
 
2 hours later…
11:01 AM
@PeterVaro What an interesting sight it'd be if we'd go back to exchanging beans or what have you.
 
@Jason Oh, I didn't say "money" as a concept is not useful or it is our enemy. I don't believe that's the case, it doesn't matter what token one uses during their game, what matters is that all players agree on the validity and value of that token and therefore the token is interchangeable for actual goods: physical things as well as services, etc. I believe it is more useful to have a virtual thing than to carry around pebbles, metal pieces or indeed beans.
What I hate though is: 1. that we multiple currencies, 2. the value does not represent consensus but speculation, 3. the "brakes and balances" are not working and there's no cyclical redistribution.
But this is a very different story, an age old debate, the latest labels of this are called 'socialist' and 'capitalist'.
Either way the point is: tokens represent "actual values" because we said so not because those tokens objectively (in some sort of magical way) have actual values -- nothing does, actually. That's trading 1O1 ;)
 
@PeterVaro Oh, I agree. I was just reminded of this link someone sent a while ago and thought the visual of someone holding onto that many beans would be entertaining.
 
It would certainly be amusing, indeed!
 
 
3 hours later…
2:41 PM
@PeterVaro what I really like with you guys (Rust chat) is your ability to be interested in many different topics with deep insights ;) thanks for the clever points
 
@AntoninGAVREL If I were you I would take everything I say with a large pinch of salt. Yes, I try to read a lot about various, seemingly unrelated ideas, yes, I deep-dive in most subjects I'm truly interested in, and yes, you could hardly find any topic I'm not excited to learn about, but that doesn't mean I have a true in-depth knowledge in them.
Albeit I try to do my best, I'm very much aware the vast scale of information required in any matter to be competent and be able to form an educated opinion about it. So you know, do your own research, make up your own mind about things and always challenge everything others say :)
 
3:37 PM
Of course
I lost interest in cryptocurrencies in 2018 so
I think one major danger is that ultimately it could be outlawed
Could solve the tax issue
 
3:53 PM
Anybody has an idea for a better comment/answer/close-vote here ?
Well, yes of course. — Denys Séguret 1 min ago
 
 
2 hours later…
5:24 PM
@PeterVaro are you sure you was wake up when you write this ? :p
@PeterVaro money is a tool, crypto money is not a good money tool
 
@Stargateur Feel free to start a debate, I haven't seen any of your arguments, only mine ;)
@Stargateur That's a different assertion, one that I could agree with.
 
@PeterVaro I don't even understand how you could say snafu is for an totally another problem
 
@Stargateur Okay, so what do you think SNAFU is for?
 
error handling
 
Yes, that's the category it is in, but what specific problem it tries to solve?
 
5:32 PM
make enum error type more faster and simpler
 
Definitely not, mate :)
(Unless faster means faster in development time in certain scenarios)
 
> SNAFU is a library to easily assign underlying errors into domain-specific errors while adding context.
I really don't follow you
 
Exactly.
 
did you use snafu ?
@PeterVaro if you play on word there is no point, I don't understand english very well
 
@Stargateur Oh, I'm not. Let me explain it differently then. The specific problem Antonin was facing with had nothing to do with SNAFU but the fact that he didn't understand how wrapping and/or transforming works. The solution to that specific problem does not require any external library, but to understand either composition, or ADTs (i.e. enums), or simply how the ? operator works.
 
5:37 PM
@PeterVaro yes... but snafu will help do that faster...
 
What SNAFU is for, is to make this process easier from a development PoV, when you also wish to attach context to those errors.
 
not really context is a plus I almost never use more that the original error
also snafu contain explanation about composition and transforming so It was more good to both use and read about why snafu exist.
 
I know exactly why it exists and what problems it tries to solve -- as I'm also aware of the other 3-4 more popular solutions.
I don't use them though and personally I don't really see the need for them. I played around with them, read the documentations, in some cases even looked into the source to understand their costs.
 
 
1 hour later…
 
2 hours later…
8:53 PM
Jane's talk indeed was great! I'm reading your post now.
 
9:25 PM
Oh, interesting @E_net4thedownvoter. I haven't used #[non_exhaustive] before and didn't know it requires the end user to add the wildcard arm.
 

« first day (2378 days earlier)      last day (1113 days later) »