• 0 Posts
  • 597 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • Objects are great for game programming.

    Stuff like enemies, bullets, loot, items, etc. are constantly changing and affecting each other. This makes it difficult to program in fixed functions that run through and crosscheck a bunch of constantly changing arrays. It makes logical sense to have objects with their own functions stored in dynamic lists instead of arrays. A lot of the properties are used by several different objecs, like coordinates or health points, so it also makes sense to describe them in classes.

    So, I’d say that it’s a useful way to classify data that is very dynamic, or when different functions need to run depending on that data.

    I don’t like putting all code into classes, because a lot of code doesn’t need that kind of flexibility.




  • I think the price is alright, if you like it as it is. It appears to be well maintained, however it will require a major overhaul to make work with any other kind of interior. It might be costly to heat and it would cost a lot to update the windows and heating system.

    It’s located close to a large road, the cargo railway, the harbour and industrial areas. The area is build very densely, with neighbors behind every wall. I wouldn’t say it’s necessarily a very noisy place, but it’s definitely not blissfully quiet.

    For the right person, it may be cheap, but it’s not exactly what the majority of house buyers are looking for.






  • I’m thinking worldwide. George Bush paved the way for a lot of populistic right wing politicians in other countries, showing that reckless incompetence is fine as long as you put on a suit and pretend to know something about economy.

    He then dragged the entire ensemble of headnodding clowns into a war in Iraq on a false premise. Yes, Saddam was an asshole and needed to go, but he did not have chemical weapons. The entire war was about taking full control of oil, that Bush’s croonies had planned long beforehand.

    Then there was a little financial crisis called “the great recession” in 2007 and onwards, and of course history has a tendency to point backwards, but I think it’s fair to say that the complete lack of oversight of the financial institutions was the main cause. The cause of this crisis was G. Bush Junior and all the other conservative government leaders in suits claiming to be “fiscally responsible”. If only they had been “financially conservative” that would’ve better, but they didn’t even attempt. It was pretty much as irresponsible as it gets.

    I don’t think Trump or the USA as a whole can litteraly destroy the environment, because they’re not that many, 300m people of 8 billion worldwide, and I also don’t think Trump will initiate any wars directly, but they’ll do nothing to stop the existing wars, and we will see a worldwide financial crisis as soon as the next budget doesn’t get approved or earlier.





  • not sure what a ceremonial rich dude could have done.

    This is the kind of situation in which a king (or president) can make a difference.

    Royalty don’t have any direct power to order people to do things, but they do have a voice with quite a broad reach. Whenever the king speaks, people will hear it. Even if they don’t care about the king.

    In a time where people are getting their information from sources curated to fit their own political bubble or economical interests, it’s quite powerful to be able to reach a whole country across political and economic interests.

    Royalties can’t dictate, but they can encourage and motivate people to work together on a common goal despite of their differences.

    When something is seriously threatening the country, it would be nice if the king would bother making a motivational speech, so that people, companies and politicians could see the purpose of uniting against the common threat.

    It might not sway the opinions of people or companies who have strong interests in not doing anything differently, but it will boost the morale of people trying to do their best, enabling them to rest assured that they’re doing the right thing despite of what others might do. We could say it’s a really vague forn of long term meta-politics, but sometimes that’s also all that is needed to set a direction.

    It’s not political as such, but more like “yo let’s save this sinking ship” instead of passivily watching it happen. It won’t fix anything by itself, but it’s a good start. Without a good start and set direction, you can be sure that nothing will ever change.






  • Well it isn’t 6.

    From Wikipedia:

    In 2002, lecturers and students from the University of Plymouth MediaLab Arts course used a £2,000 grant from the Arts Council to study the literary output of real monkeys. They left a computer keyboard in the enclosure of six Celebes crested macaques in Paignton Zoo in Devon, England from May 1 to June 22, with a radio link to broadcast the results on a website. Not only did the monkeys produce nothing but five total pages largely consisting of the letter “S”,the lead male began striking the keyboard with a stone, and other monkeys followed by urinating and defecating on the machine

    Mike Phillips, director of the university’s Institute of Digital Arts and Technology (i-DAT), said that the artist-funded project was primarily performance art, and they had learned “an awful lot” from it. He concluded that monkeys "are not random generators. They’re more complex than that


  • I don’t think there are any" rant" communities?

    Lemmy needs that kind of large general topic community to redirect users to smaller niches communities.

    I too also wouldn’t want to mod it, but I think it’d be great for herding up angry lemmy users sharing the same frustrations, so they could be redirected or start new communities for the particular topic.

    The reason is that everyone enjoy reading and writing rants about something, so the rant community will automatically grow many subscribers coming in from all kinds of searches.

    For example, a user ranting about “womens pants without pockets” would get much more engagement than someone just creating and posting about a community for womens pants. The rant comment section would also already often include the potential users for a new community.

    The general discussion doesn’t really cut it, because it’s too nice and polite and weird angry rants don’t really fit in there.

    The thing is that (also in real life) when someone needs something bad enough, they’ll get angry, and that anger can be channeled into something useful, because they’re willing to collaborate with others who can help them or who at least supports them.