magic_lobster_party

@magic_lobster_party@fedia.io
0 Post – 89 Comments
Joined 3 months ago

I’m sure most kids know about Skibidi Toilet, the Paul brothers and Mr Beast.

What’s worse, is that the Paul brothers and Mr Beast use their influence to promote products directly to the children. Like Prime.

6 more...

True, but I like Transformers so it’s ok

Death Stranding 2 looks good!

It’s confirmed real by other (less serious) news sources.

I don’t remember this scene from Tenet

Another person called on X owner Elon Musk to intervene, who appears to have begun removing posts showing Fuentes’ address.

The “champion against censorship” is performing censorship. How curious.

2 more...

It was a few years ago, but I still panic when I hear the incoming call sound. One of the worst sounds ever made.

Now it was a few years ago I used it regularly last time, but moving to Slack was a huge relief.

One thing I remember with teams is that sending files was always a hassle. Sometimes files didn’t arrive. Files couldn’t have the same name as other previously sent files (because everything was in a onedrive folder).

Slack has much better search. It felt like I could finally find the messages I wanted to find. With teams it was a gamble.

And then there’s much better bot integration. At my work we have multiple bots that send messages when there’s e.g. production errors. We can then start thread discussions directly on that posts about the error, or link it to other channels to escalate the issue. And with a working search engine we can easily find the conversation again as a reference.

It got many small things that just adds value.

Up/down votes should be used more as “I think this comment has a positive/negative contribution to the conversation”.

1 more...

As a Swede this is not the news I wanted to wake up to. Let’s just pray Trump is going to spend all these four years on the golf course as much as possible.

48 more...

You’re a big function

There’s a special place in hell for those who set an upper limit in password lengths.

75 more...

I'll revise my opinion when Valve changes to a more overtly predatory model of capitalism

I believe as long they’re not publicly traded )and Gabe is in charge), that’s not a concern.

Being public (or owned by a publicly traded company) tend to bring out these nasty traits. It’s more about finding ways to bring value to shareholders than the customers.

7 more...

I don’t think that makes things any better.

4 more...

It makes you want to die on a hill

Let me guess, the coins can only be bought in bundles. The bundles are deliberately made so that no matter how you spend the coins, you’ll always have 1 or 2 coins left. Which makes you encouraged to buy another bundle to make all your moneys worth.

2 more...

The only way to stop the socialist agenda is with communism

Windows 7 recovered from the disaster of Vista. Windows XP recovered from Me. It has been a bumpy ride for a long time.

15 more...

I’m excited to see the “go woke go broke” crowd lose their minds over this when this turns into a great success

4 more...

There’s a huge difference.

Fediverse uses almost no energy compared to Reddit and Twitter. This is because few people are using fediverse alternatives.

Bitcoin uses more energy than entire countries, despite few people using it.

14 more...

He has repeatedly stated during the campaign that he wants to use military action on people with opposing views (or “enemies from within” as he calls it). If that isn’t fascism, then I don’t know what is.

Yes, but it’s a female protagonist now, which triggers a certain set of people.

I’m excited. The game looks awesome!

2 more...

Go tell Putin and his friends to stop the invasion and hand back all the Ukrainian territory they’ve stolen. It’s easy!

6 more...

Could be rounding errors. At 50+, you don’t care about your exact age anymore

Looks like it’s JavaScript, but in Java I would prefer to use the Stream API, something like this:

return availableDrivers.stream()
    .filter(driver -> calculateDistance(rider, driver) < 5)
    .filter(driver -> isPreferredVehicle(rider, driver))
    .filter(driver -> meetsRiderPreferences(rider, driver))
    .findFirst()
    .orElse(null);

Then we have:

private boolean meetsRiderPreferences(Rider rider, Driver driver) {
    if (driver.rating >= 4.5) {
        if (rider.preferences.includes('Premium Driver')) {
              return driver.isPremiumDriver;
        } else {
              return true;
        }
    } else if (driver.rating >= 4.0) {
        return true;
    } else {
        return false;
    }
}

This increases the separation of concern in a neat way, and it becomes more clear what the for loop does at a glance (get the first driver satisfying a set of conditions). The more complicated logic is isolated in meetsRiderPreferences, which now only returns true or false. Reading the method is more about making a mental map of a truth table.

It’s also easy to expand the logic (add more filter conditions, sort the drivers based on rating and distance, break out meetsRiderPreferences into smaller methods, etc.).

Not sure how the equivalent in JavaScript would look like, but this is what I would do in Java.

3 more...

Mainstream statically-typed OOP allows straightforward backwards compatible evolution of types, while keeping them easy to compose. I consider this to be one of the killer features of mainstream statically-typed OOP, and I believe it is an essential feature for programming with many people, over long periods of time.

I 100% agree with this. The strength of OOP comes with maintaining large programs over a long time. Usually with ever changing requirements.

This is something that’s difficult to demonstrate with small toy examples, which gives OOP languages an unfair disadvantage. Yeah, it might be slower. Yeah, there might be more boilerplate to write. But how does the alternative solutions compare with regards to maintainability?

The main problem with OOP is that maintainability doesn’t necessarily come naturally. It requires lots of experience and discipline to get it right. It’s easy to paint yourself in the corner if you don’t know what you’re doing.

2 more...

What a legend!

A few years ago it was sensational when someone managed to clear a few levels in max speed. Now all max speed levels have been beaten.

What’s next for NES Tetris? Feels like it’s more of an endurance game now.

He’s pro-Russia. When he takes office, it won’t be long until Ukraine loses. It sends a signal to Russia that they can occupy any land they want.

He doesn’t believe in climate change. I’m afraid we can’t afford another 4 years of inaction. Those storms in southern US and the current flooding in Spain? Get used to it. It’s going to be even more frequent.

3 more...

Isn’t problem solving mostly put things together of what you’ve learned before?

It’s a small price to pay to keep pronouns away from our games.

2 more...

Squadron “Feature Complete” 42

7 more...

Are people forgetting his Dijon Mustard scandal? Unforgivable.

1 more...

What’s happening is that support from VC money is drying up. Tech companies have for a long time survived on the promise that they will eventually be much more profitable in the future. It doesn’t matter if it’s not profitable today. They will be in the future.

Now we’re in a period where there’s more pressure on tech companies to be profitable today. That’s why they’re going for such anti consumer behaviors. They want to make more with less.

I’m not sure if there’s a bubble bursting. It could just be a plateau.

11 more...

Haven’t read through this, but this sounds like what C++ is to C. I’m not sure adding more complexity and features to an already complex language is the right way forward. What is needed is a language that cuts down all the burden that has accumulated in C++ over 3 decades.

Something like Zig sounds like the better path forward to me. A completely new language from scratch with cross interoperability to C++. I’m surprised it’s not mentioned even once in the page.

I don’t trust you. There must be some hidden meaning.

In my team we use both Linux and Mac (I don’t want to disclose my company, but it’s in Sweden). IT isn’t entirely happy about some of us using Linux because it’s more difficult for them to administer the computers (i.e. install spyware), but so far they’ve been unsuccessful in making us switch.

I think JSON is more robust than XML by now. Mostly due to its simplicity. There are few reasons why anyone would pick XML over JSON these days.

Unfortunately it’s the exciting politics that gets all the attention. Democrats likely lost because they’re just too boring.

I’m surprised so many say they never heard about it. It was all over the place when a gameplay trailer was shown a few years ago. David Jaffe even made a video about how he didn’t understand the hype, and then took it all back once the trailer reached the boss fight.

https://youtu.be/4cgYZw5MSxU

2 more...