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/)S
Posts
4
Comments
1452
Joined
1 yr. ago

  • But the acronym totally destroys the understandability of the program name and instead is understood as "an unpleasant or stupid person" (https://dictionary.cambridge.org/dictionary/english/gimp).

    If you look at similar commercial software you get names like MS Paint, Photoshop or Lightroom.

    They should have stuck with "GNU Image", "GNU Photo" or maybe "GNU PhotoEdit".

  • At least over here, Cineplexx is a really big movie theatre corporation. That makes it easy to understand what Plex is about.

  • Exactly!

  • I wasn't going to, and after I saw it it totally makes sense that it's possible, it just never occurred to me.

    I guess this could be used like static variables inside functions in c. So scope-limited global variables. Not a good design choice in most cases.

  • Pretty much all languages do that. It's a very basic language feature inherited from basic maths notation. Same as x - y subtracts y from x in pretty much any language that supports operators.

  • Totally, yes. I guess there's a ton of non-programmers and total beginners in this community.

    But sometimes there are some crazy good programmers here as well.

    What's really weird though is that I got two downvotes a bit further up for claiming that unary minus is a standard language feature.

  • It never occurred to me that you could assign fields to a function. I mean, it totally makes sense considering that functions are objects in Python. It just never occurred to me that this is a thing one can do. Crazy.

  • Thanks, I totally missed your sarcasm :)

    There's a couple people in this threat who seem to actually think that x = -i is some weird magic instead of a standard feature that's present in every major programming language.

  • Works fine in any language I ever used.

    I'm honestly quite surprised that this very basic language feature is even a matter of discussion here.

  • Nope, it is not.

     
        
    x = 5
    i = 2
    x -= i // x => 3
    
      

    while

     
        
    x = 5
    i = 2
    x = -i // x => -2
    
      

    x=-i is the unary minus operator which negates the value right of it. It doesn't matter if that value is a literal (-3), a variable (-i) or a function (-f()).

    x-=i is short for x = x-i, and here it's a binary subtraction, so x is set to the result of i subtracted from x.

  • Find me a language where it doesn't work like that, and we'll continue the discussion.

    Unary minus operator is standard in every single language that I used so far, including C/C++, Java, Python, Kotlin, Lua, JS/TS, Groovy, PHP, Visual Basic, Excel, Mathematica, Haskell, Bash.

    Here's more info btw: https://en.wikipedia.org/wiki/Unary_operation

  • Deleted

    Permanently Deleted

    Jump
  • Yeah, generating test classes with AI is super fast. Just ask it, and within seconds it spits out full test classes with some test data and the tests are plenty, verbose and always green. Perfect for KPIs and for looking cool. Hey, look at me, I generated 100% coverage tests!

    Do these tests reflect reality? Is the test data plausible in the context? Are the tests easy to maintain? Who cares, that's all the next guy's problem, because when that blows up the original programmer will likely have moved on already.

    Good tests are part of the documentation. They show how a class/method/flow is used. They use realistic test data that shows what kind of data you can expect in real-world usage. They anticipate problems caused due to future refactorings and allow future programmers to reliably test their code after a refactoring.

    At the same time they need to be concise and non-verbose enough that modifying the tests for future changes is simple and doesn't take longer than the implementation of the change. Tests are code, so the metric of "lines of code are a cost factor, so fewer lines is better" counts here as well. It's a big folly to believe that more test lines is better.

    So if your goal is to fulfil KPIs and you really don't care whether the tests make any sense at all, then AI is great. Same goes for documentation. If you just want to fulfil the "every thing needs to be documented" KPI and you really don't care about the quality of the documentation, go ahead and use AI.

    Just know that what you are creating is low-quality cost factors and technical debt. Don't be proud of creating shitty work that someone else will have to suffer through in the future.

  • Why would they not let you do that? I honestly don't know a single language that wouldn't let you do that. Same as basic math notation allows you to do that.

    x = -i

    is a totally valid mathematical equation.

    For the downvoters: Find me a single language that supports operators but doesn't have an unary minus operator

  • In general, Tree support is easier to remove but has a higher chance of failing. Tree support also only really makes sense if you can get it to go around a part.

    So say you are printing a standing O shape. With regular support the support will touch the bottom of the O and will be printed on top of the bottom part of the O, which will make that surface look rougher. Tree support will start sideways of the O and will only move into the O towards the top, so it will not touch the bottom part of the O, leaving it in good condition.

    In the case here there's nothing underneath most of the floating surfaces, so regular supports will be better.

    Also, tree support is better when it supports small areas, regular support is better for large areas.

  • This. No need to realize any gains at all. The same trick also works for any other expenses.

  • This is a super difficult model. There's no good orientation for it.

    I'd probably print it as oriented on the picture and use a lot of support. If classic support isn't working for you, try organic/tree support, but I think the regular support would be better. Support should cover the full underside with this print.

    When printing in PLA make sure you have really, really good cooling for this.

  • My sister was like that. We'd always call back "She's 10 you pedophile". Shuts people up quite quickly when the call back is done as loud and public as the cat calls.

  • Never, never ever ever trust corporations to do social change topics in a good way.

    The unholy union of business and feminism still means that you now need 80h of paid work a week to keep a family afloat instead of the 40h we had before.

    Disney and LGBTQ+ and other minority topics is exactly like that. They don't care about anything like that, all they care about is making money.

  • Doctors

    Jump
  • Do you always get annoyed at routine questions? Do you get angry when tech support asks you to turn your PC off and on again? Do you get furious when customer support asks you for your order number?

    These things are routine questions. The period question is asked by female doctors too. For a reason.

    Why is it so hard for you to understand that doctors are just working off checklists that are proven to work? Doctors aren't there to make nice dinner conversations but to patch you up in the quickest possible manner with the least amount of mistakes. That's why checklists exist.

    If you know better what kind of information a doctor needs than she herself, why do you even go to one?

    You choose to be offended because like many people on the internet you live off being offended. "I am offended, therefore I am."

    Well done, you prioritize being offended over being healthy.

    What a ridiculous state of being.