The same person as [email protected] and [email protected]

  • 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2025

help-circle

  • Before I got laid off, I was told by my manager of the company I was contracted to that people higher than him were wondering why I hadn’t installed the copilot extension in vscode; he strongly recommended I do so. So I did install it. I then proceeded to immediately set the ignored file types to “*” (which, for those who might not know, is shorthand for “everything”.) I didn’t hear anything about it afterwards.


  • I used to contract with a company where it was almost ubiquitous for someone to start a text-based conversation with the entire message: “Hey…” — ellipses and everything. It was bad enough that other members of my company that were contracted to the same contract would jokingly add ellipses to random things when messaging each other.



  • Tesseract was an alternative frontend instances could host. Despite having configuration options for filtering or the lack thereof, Tesseract would silently both download and enforce a custom filter; this hidden filter could not be overridden by any custom configuration. The hidden filter included regex to block keywords, users, and instances, showing a generic error about anything filtered as being “incompatible with Tesseract”.


  • It’s purposefully worded that way to be misleading, even to native speakers. Explicitly calling something medicine or a cure means it would have to be tested and regulated. However, labeling something as being for wellness isn’t covered by that, and is just vague enough to have people think positively about it. That’s not saying that there aren’t beneficial things labeled under wellness; roughly speaking though, it’s can be used to sell whatever you want, while making people assume it’s actively good for them.


  • It’s blatantly a bad stance from them; but it doesn’t even touch on games that use internal client/server models even when playing single-player — which includes Minecraft. If their argument were law, would I be breaking it by just playing Minecraft at all? With the way it’s worded, I would think yes.

    That doesn’t even take into account that Minecraft in particular can turn a single-player client/server into a multiplayer with one button press. Would that be illegal? Maybe they’d argue not, because it’s LAN only (which is a flimsy argument as well). But with a little effort, you could open up that LAN server up to whomever you wanted.

    Very obvious they didn’t think it through, they just want you to own nothing.







  • Like a lot of people mentioned, there’s a few good things you could start with, but C is probably not one of them. At my old job I ran a course for software engineer 2s to go over C, and even they had some struggles with it. If professional engineers struggle with C, it’s maybe not the best starting point. Even C++ might be better, but still adds a lot of complexity that isn’t necessary to know as immediately as the beginning.

    Whenever people ask me where to start, I say python. It gives you a relatively tame taste of environment setup, and can run code very easily and flexibly. Its type system is flexible enough to make a user aware of it, without it being as rigid as C or as vague as javascript. Because there’s enough libraries that are easy to pull in, even a beginner can start building useful programs without having to know how to build something equivalent to those libraries themselves.

    Obviously if you want them to make websites, javascript will be necessary eventually, and isn’t a bad place to start. If you’re going purely for CS knowledge, I do think python is a little better; going from python to JS is probably easier than JS to python.





  • One thing you can do that I find comes up pretty often in C is start using switch statements to avoid code duplication. Because your operators all take 2 numbers, you’ve separated out the input handling into its own block; that alone is a really good insight.
    You can take it another step further by making your print statement also, mostly, one block of code, with the only difference being the operation being preformed. By printing “The” followed by using an if-else block — or, again, preferably a switch statement — to both print the operation text, and compute memory, you can print the remainder of the line the same way for every operation.
    It may seem nitpicky for such a simple program; but the use case of C is for programs which require tight execution and often contain complex, low-level logic. Reducing complexity whenever possible helps make C more readable, as well as signal when the complexity is necessary.


  • Daedskin@lemmy.ziptoLemmy Shitpost@lemmy.world•monumentale
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    1 year ago

    I once worked on a project doing firmware that a lot of people have likely used (printer firmware for a big-name company). One of the more trafficked functions was something like 1500 lines of “if-elseif-elseif…” with something like 13 or 14 different cases.
    It did end up getting refactored to something polymorphic and based on a configuration file to cut out any unnecessary steps, but it was like that for a while before I got there, and was like that for most of the year that I was part of the project.