Software developer and gamedev enthusiast.

https://github.com/filtoid

https://github.com/electrocatstudios

Also casual YouTuber:

https://youtube.com/@electrocatstudios

  • 1 Post
  • 28 Comments
Joined 1 year ago
cake
Cake day: February 26th, 2024

help-circle


  • Yes agree with this and categorise each into one set of broader goals, I suggest one is Programming, one could be Gaming etc. Then allocate time to each larger goal and order your sub “tickets” in there so you focus on one thing in a section at a time. For example, don’t learn Python and Rust at the same time, focus on one or the other (I’d probably suggest Python first as Rust has a very steep learning curve), but you can easily spend some time a week learning Python and some time learning Factorio, without the two things working against each other.

    Edit: for Programming stuff the site Roadmap.sh (https://roadmap.sh/) is useful for giving you an opinionated task list. It’s not for everyone, but if you just want to know where to start you could go a lot further wrong than that.













  • I’m going to take a shot at answering this, but please bear in mind that it’s been a long time since I looked into the C pre-parser.

    #if allows for arbitrary Boolean logic, eg #if build_env “local”

    #if defined us to see if a thing has been defined already, quite often used to make sure that a header file is only imported once, redeclaration of headers is a compiler error. Eg. #if !defined(__SOME_UNIQUE_FILE_IDENTIFIER) (then define the class) then write your #endif

    #ifdef wasn’t always standard and was added later in the ANSI spec be a keyword, it’s shorthand for the same thing as #if defined. -

    This is my understanding anyway, I’m going with the principal that someone who knows more will be more likely to post a rebuttal (which I encourage).



  • I agree, the job of politicians is to reframe Trans rights as policies that benefit everyone. If everyone at a negotiation feels like they are winning you have a successful negotiation. Who cares if the new policy disproportionately benefits one group, we are all better off because of it, and in the case of Trans rights give them the same (non-codified) protections as everyone else.

    (This is if course ignoring the oft used tactic of the far right which is to do the opposite and reframe beneficial policies (eh. ACA) as something that only benefits one group by calling it a funny name (eg. Obamacare), so it’s easier said than done, but that is what the democrats should be doing more of, imho)




  • I’m only mentioning this because it’s not been mentioned in any other comments but there is a Python implementation for the CEF (Chrome Embedded Framework). It let’s you write your front end in HTML/CSS and JS while letting you call back to a Python backend. You can use any existing JS framework to do your styling (offering the most flexibility) while keeping business logic in Python. It’s not exactly what you were asking for, however you mentioned in a different comment thread that tkinter looked outdated, so thought I’d mention it.

    Link here https://github.com/cztomczak/cefpython