• 0 Posts
  • 46 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle

  • I am one. I’m a pretty weak monarchist, though, it’s just that I look south and I’m glad that there’s a “higher level” looking over our politicians. Even if the GG nominations aren’t always ideal, at least in theory they aren’t beholden to popular opinion. The fact that they’re nominated and not elected ensures that they don’t have the legitimacy to push their own agenda either. So it’s a powerful position, but mostly symbolically and there would be a lot of backlash if some ambitious GG tried to use this power for anything other than extreme cases.

    In my opinion, this is partly why our politics haven’t yet devolved to the point of getting a Donald Trump. You can say what you want about Trudeau, but at least the government doesn’t shut down every so often just because they can’t agree on a budget.





  • It’s not quite as point-and-click, but I’m using Docker for that because Yunohost kept messing up updates. Most server apps will have some instructions on how to run them in docker, especially a docker-compose.yml file, so you don’t have to rely on the Yunohost team to package said app.

    The way I do it is that I put each suggested compose file in their own file, and import them in my main docker-compose.yml file like this:

    version:  '3'
    include:
        - syncthing.yml
    

    Then just run docker compose pull && docker compose up -d every time you change something or want to update your apps, and you’re good to go.

    Software updates in particular are waaaaaayyy easier on Docker than Yunohost.






  • ebc@lemmy.catoADHD memes@lemmy.dbzer0.comNothing but truth
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    7 months ago

    When somebody doesn’t want to give me a price, I’ve started asking them for an order of magnitude. Sometimes they still don’t want to say a number, but when I ask “is it 2$, 20$, 200$, 2k$, 20k$?” they will usually give me a ballpark, along with the factors that’ll make the price vary.





  • By that same logic, can Russia ask Japan to extradite a US citizen because they advocated for LGBTQ+ rights while they were in South Korea? Because that’s basically what’s happening here, I just swapped the offence and the countries involved.

    Dude isn’t a US person, wasn’t in the US when he committed the alleged crime, and said alleged crime isn’t a crime where he allegedly committed it. US law isn’t world law.

    EVEN IF the guy might’ve been rapist asshole (allegations were fishy as heck), this extradition proceeding is a gross overreach by the US, and the UK should have laughed it out of court. If a country has any leg to stand on regarding extradition, it’s Sweden (I think that’s where he was when he committed all the alleged crimes, both the sexual ones and the wikileaks ones).


  • shove some text into stdout

    That’s not what this operator does normally, and if you try to “shove” something into anything else (an int into a variable? a function into an object?) you’ll get surprises… Basically it’s “special” and nothing else in the language behaves like it. Learning hello world in C++ teaches you absolutely nothing useful about the language, because it doesn’t generalize.

    C, in contrast, has many instances of complex functions like printf (another commenter mentioned variable arguments), and learning to call a function is something very useful that generalizes well to the rest of the language. You also learn early enough that each different function has its own “user manual” of how to use it, but it’s still just a function call.


  • this std::cout << "hello world" bullshit is in no way intuitive. You’re using the bit-shift operator to output stuff to the console? WTF? Why 2 colons? What is cout? And then these guys go on to complain about JS being weird…

    No, C is where it’s at: printf("hello world"); is just a function call, like all the other things you do in C.