Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HA
hairyballs @programming.dev
Posts 0
Comments 48
Introducing ONCE, a new line of software products from 37signals: Pay one time, own forever.
  • This: comparing something you buy once, with a license does not make a lot of sense. In SaaS, you get update, support, etc. For something critical, I'd rather get that than something that I buy once and may be buggued in the future.

  • How do you order your enums, structs and functions in your files?
    • I put the types first in the file, sorted by importance
    • then the public free functions
    • then the impl blocks, sorted by importance, also. Usually, display impls and similar end up being at the end
    • then the private free functions (helpers)

    The idea is that I can see all the types in one glance, then I look at the rest.

  • Common Rust Lifetime Misconceptions (2020)
  • There are still obvious things the BC cannot get. For example:

    struct Foo;
    
    impl Foo {
        fn num(&mut self) -> usize { 0 }
        fn index(&mut self, _i: usize) { }
    }
    
    let foo = Foo;
    foo.index(foo.num()); //error
    
  • What are your programming hot takes?
  • The desktop website is so bad... I ask for a light theme in my settings, they don't care (it's white on black) because it's HARD to add a few CSS rules. Then there is a flash of light which could give a seizure to someone with a condition. It's shitty design at its peak. That doesn't really inspire confidence...

  • What are your programming hot takes?
  • Firefox is really badly integrated in MacOS. The fn + arrow shortcut doesn't work, for example, it's not integrated in the menu system (the menu shortcuts don't work) etc. But there is Sideberry, so...

  • What are your programming hot takes?
  • Nope, my webpages are not just nested divs. I use nav, main, form, select, etc to name a few. I actually use very few JS. It's mainly for communication with the server when I need AJAX to retrieve data.