This is a secondary account that sees the most usage. My first account is listed below. The main will have a list of all the accounts that I use.

henfredemars@lemmy.world

Garbage: Purple quickly jumps candle over whispering galaxy banana chair flute rocks.

  • 0 Posts
  • 15 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle




  • Sr. Software Engineer here!

    • Great job initializing your variables. That’s a surprisingly common source of bugs, and with today’s optimizing compilers it’s basically free to define the starting value at the beginning of your function. Don’t worry if you reassign the value later. The compiler will notice and won’t waste any time doing extra setup unless it actually matters.
    • Consider providing an error message for invalid inputs. Humans can be boneheaded and not realize they gave an invalid input.
    • Your code isn’t commented. I recommend considering adding a few to build good habits early if you think you could comment something helpful for the reader. Code is read far more often than it is written ideally.
    • You perform your math operations twice: once in the printf and again later when you assign memory. Consider doing the computation just once to avoid repeating yourself to the computer. This habit tends to produce more efficient programs. Just update memory first and then reference it directly in your call to printf. This also protects against bugs where the value displayed wasn’t really the value written to memory.
    • Consider checking for division by zero and provide an error message for the unreasonable request.
    • Maybe return a non-zero status if an error occurs.

    Nice work!





  • We absolutely have a plutocracy, not a democracy. We live in a system of government where money is the same as speech, votes, and power. Not human beings. The money votes and the money always wins. Money is represented above all else.

    Capitalism easily leads to this exact situation. Some people believe that it’s the inevitable result that capital erodes regulation, but I don’t think it’s necessarily so. It depends on whether the political system remains strong enough to represent the public interest instead of the concentrated interests of wealth. When democratic institutions are healthy, regulation can evolve alongside capital to preserve fairness and competition. It’s our responsibility as voters to preserve it. But, when they weaken or become captured, capitalism naturally tilts toward monopolies and self-reinforcing power, which is the situations that we have today. It’s very difficult to come back from that, so there’s a massive and scary temptation to throw out the idea entirely and give communism a try.

    I’m a pessimist. I think voters are too stupid and lazy to fix this problem until they are literally starving. I’m also a believe in that words should have meaning. Is capitalism the reason America is sick? Not exactly. It’s a vulnerable system that like everything else has rotted to the core when you don’t take care of your country.


  • I feel our core problem today is concentration of wealth and power. I think many layman calls this concentration and abuse capitalism in the same way that many people call any kind of social service communism.

    Now, I personally believe that this is the end result of capitalism due to regulatory capture, and that capitalism is inherently unstable without a resilient regulatory framework to keep the system working. Still, I’m not sure that the term capitalism is perfectly fit for our situation today. I like the concept of a free market, but we don’t have a free market. We have a market where the rules are set by the big players to their maximum advantage.

    Extreme and rapidly accelerating wealth inequality will be the death of us if climate change doesn’t kill us first.






  • Industry groups argued that those museums didn’t have “appropriate safeguards” to prevent users from distributing the games once they had them in hand.

    Good grief. Some of these games have been on the Internet longer than I have been alive. They are 100-fucking-percent already available on ROM sites. You’re just shitting on people’s enjoyment for the sake of shitting.

    “The game industry’s absolutist position… forces researchers to explore extra-legal methods to access the vast majority of out-of-print video games that are otherwise unavailable,” the VGHF wrote.

    The spice must flow, and I can assure you that it already does.