Skip Navigation

Posts
3
Comments
56
Joined
2 yr. ago

I shit posts and piss comments

  • I watched this in theater. It was very late and there was only one other group of people. During the film one of them loudly said something like "what the fuck is this shit" and they walked out pretty early.

    I guess it's not for everyone.

  • Classic, but I'm more of a Con Air man myself

  • You're god damn right with that opinion

  • Oh boy, now I can stop missing C++

  • I know, but it does let you sled off a cliff if you choose to.

  • Prefix the name with what it's for. For example, I've previously got a SoundFontError from opening soundfont file.

    "Error" is already used by std::error::Error. It might not be imported by the code that imports your error type, but I think it's better to give it distinct name.

    The other thing is that you might want to use more than one library. Typical imports at the top of the file might look like this:

     rust
        
    use bingbong::{BingBong, BingBongError, SomethingElse};
    use bogos::binted::crotchidizer::{Crotchidizer, CrotchidizerError};
    
      

    If both libraries named their error enums just "Error", the collision could be worked around, but it's an unnecessary extra step:

     rust
        
    // Not sure how renaming affects compiler hints.
    use bingbong::{BingBong, Error as BingBongError, SomethingElse};
    use bogos::binted::crotchidizer::{Crotchidizer, Error as CrotchidizerError};
    
      

    or if you want to avoid renaming:

     rust
        
    use bingbong::{BingBong, SomethingElse};
    use bogos::binted::crotchidizer::{self, Crotchidizer};
    
    /* ... */
    
        match result {
            Ok(value) => return value,
            Err(bingbong::Error::MissionFailed) => panic!(),
            Err(bingbong::Error::UrMom) => todo!(),
            _ => unreachable!(),
        }
        
        if let Err(crotchidizer::Error::SomethingsWrong) = result2 {
            // ...
        }
        
    
      

    If the screenshot had followed conventions, the message would say something like this:

     
        
    could not convert error type `BingBongError` to `MyAppError`
    
      
  • You can wrap everything in unsafe and keep living dangerously!

  • You really should avoid naming your type plain "Error"

  • What is raining outside?

  • RFC 3339 is where it's at

  • Buying access to people's hacked routers and such without their consent is probably very illegal.

    Edit:

  • Love David Wise's soundtracks.

  • I don't know what app you're using, but that spoiler tag isn't part of the spec.

  • Mate.

    Your site says "no confusion", "no fluff", "zero BS", etc. but the entire page is just incoherent fluff bullshit. I read the page and I have no clue what your product does.

  • Node: Did you say "Nerd"?

  • 2 is Swedish. I'm not sure how much Danish and Norwegian differ. 4 and 5 are Finnish and Estonian.

  • the song only goes up to 8.

    The link to clarify which song is a bit redundant lol

  • Cool idea. Got a few where I might know just enough to pass this.

    One two three four five six seven eight nine ten

    Ett två tre fyra fem sex sju åtta nio tio

    Ein zwei drei vier fünf sechs sieben acht neun zehn

    Yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän kymmenen

    Üks kaks kolm neli viis kuus seitse kaheksa üheksa kümme

  • The sidebar's gone because I removed it :)

    I'll try to incorporate that info elsewhere. At this stage, a lot can change on a whim.