Skip Navigation

Posts
184
Comments
933
Joined
11 mo. ago

  • Both are usable, but I just don't understand why you'd choose the separate line style if you were starting a new codebase. I can't see the benefit of it, but that could also be me not having enough experience with the separate line style to see it's advantages.

    On the other hand, having the brace on the next line means that the parent statement and the code in the braces are further from each other, also more lines in the source file is more scrolling in general. You can fit less lines of code on the same vertical screen height if you have a lot of nested blocks or just generally use a lot of blocks. Especially for things like many small functions or many if blocks, being able to fit a few more on your screen is really convenient IMO.

  • Off topic, but is it safe to share what I'm assuming is a stack trace/debug info QR code? Does it have any potentially sensitive data?

  • And when you do, you rattle the bells inside so it makes a ding.

  •  
            void main() {
            //code
        }
    
    
      

    Is better than

     
            void main()
        {
            //code
        }
    
    
      

    Why would you want to put it on a separate line? Are you paid by the height of the source file or something?

  • "Because fuck your sleep cycle that's why"

  • I live in Vancouver and we've had massive issues with people (both tourists and locals) feeding coyotes in our downtown park. It got bad enough that they had to euthanize a bunch of coyotes because they were habituated to humans and have even attacked some people. They're not puppers, they're wild animals that play an important role in the ecosystem. You do them literally no favours by feeding them. Also, even worse, feeding bears.

  • How long has the 919 been out? Is it longer than the time between the 737 max coming out and the first crash? As far as I know the 919 has not had a fatal accident yet, so if it's been out longer than that time, then it's statically safer than the 737 max.

  • Palestinian children: Stop bombing us

    Israelis: Best we can do is silence

  • they can keep the system signed, secure and intact

    If you cannot set up your own signed, secure and intact system outside of the one Apple controls, none of those matter. If they truly gave a shit about security they would do what Linux does and allow anyone to self host their entire software infrastructure including package repositories, or at the very least do what Android does and allow installing of other app stores (including one you can self host). Signed, secure and intact are worthless if you are forced to trust someone else's app store and signatures.

    Of course the real reason they do this is to prevent people from 1, running pirated versions of paid apps, and 2, bypassing their in app purchase commission. DRM to ensure they get their cut. Signed, secure and intact have not a damn thing to do with it.

  • Private property. I don't actually want to own things for the sake of owning things, I want a stable and reasonably comfortable life. In the current system, the only way to reliably achieve that is to own the things you need in your life. But if the system were such that you could live a decent life without owning a thing, I'll take that.

    And that is with the interpretation of private property as literally any possession you can own. If we go by the socialist interpretation of private property as property used to generate capital, I already have no private property and neither do most people here.

  • Remember how you used to have to go on sketchy piracy sites to install such sophicated spyware? Now it comes standard with every Windows installation! How convenient!

  • I'm surprised they were invited in the first place

  • Do you have any idea how little that narrows it down?

  • SMH you do one ethnic cleansing and suddenly all the woke journalists are biased against you /s

  • If it's this easy to destroy, it was all theater in the first place.

  • This person (suffering from the healthcare system) will surely be put in cage for the usual torture.

    Canadian here, not even that is a given. There's a significant chance they get a slap on the wrist. For murder. It's happened before especially for murders involving cars as the weapon.

    I love our justice system /s