gerryflap

joined 1 year ago
[–] gerryflap@feddit.nl 22 points 2 days ago (1 children)

Using Haskell you can write it way more concise:

iseven :: Int -> Bool
iseven 0 = True
iseven 1 = False
iseven 2 = True
iseven 3 = False
iseven 4 = True
iseven 5 = False
iseven 6 = True
iseven 7 = False
iseven 8 = True
...

However, we can be way smarter by only defining the 2 base cases and then a recursive definition for all other numbers:

iseven :: Int -> Bool
iseven 0 = True
iseven 1 = False
iseven n = iseven (n-2)

It's having a hard time with negative numbers, but honestly that's quite a mood

[–] gerryflap@feddit.nl 12 points 4 days ago (4 children)

Me, trying to sound cool as an aromantic asexual atheist:

Actually I'm alingual as well

[–] gerryflap@feddit.nl 2 points 5 days ago

Yeah this is kinda a point. People like this colleague seem to have gotten stuck in a highschool bully mindset ans never moved on. All of their jokes are about people who are different, their whole status seems to be based on their "masculinity". In my experience this is the largest portion of homo/transphobes here in the Netherlands. People who aren't violent or outright hateful, but rather just pushing outdated jokes and viewpoints and then getting annoyed by all the "woke bullshit" when they get called out.

My tactic so far is to not fully attack back, but rather staying friendly while showing my disappointment with this behaviour unless it goes too far. Most of these people are otherwise decent, and in my opinion may be swayed by someone "woke" who doesn't go "full crazy sjw" but does call them out. Making a joke about minorities is way easier of you don't know anyone well from those groups. They're not crazy Trump voters, so they may still be steered in the right direction

[–] gerryflap@feddit.nl 49 points 1 week ago (7 children)

I've had a colleague say that tea is "homo water". I'm aro/ace, but most of my colleagues don't know that. Similarly a straight colleague of mine got mocked for wearing pink (but not feminine) shoes. After some of these incidents we've kinda started pushing back against this nonsense by deliberately triggering these people and calling them out, which has worked so far.

[–] gerryflap@feddit.nl 4 points 1 week ago

Oh yeah absolutely. I'm a programmer and I see so many companies and recruiters etc use Cyber instead of Cybersecurity. It drives me absolutely mad, but these type of people drive me mad anyways. It's probably the same crowd who ruined AI by overhyping it into its grave, the same crowd who were hyped by web 3.0 and the whole Blockchain craze, and probably all those other dumb crazes before it.

Still, this cyber thing seems to permeate everything, and I've heard people using the term who I otherwise respect. For me it's a quick way to instantly become very sceptical of whatever follows the term

[–] gerryflap@feddit.nl 2 points 1 week ago (1 children)

Idk, ik heb redelijk de tegenovergestelde ervaring. Bedrijven deden allemaal hun best om onze aandacht te krijgen op de studie, en het moment dat ik een paar maanden ervaring had ging het LinkedIn spam kanon helemaal aan. Zowel waar ik werk als bij de bedrijven waar vrienden werken lijken ze het liefst zoveel mogelijk programmeurs de seconde na het afronden van hun HBO of universiteits studie op te willen pakken.

[–] gerryflap@feddit.nl 2 points 1 week ago

I update whenever it is convenient or pushed. On Android it's not really a decision that I make, it just updates whenever it feels like it and so far I haven't disagreed very often. On my desktop I update Arch pretty much weekly, and Windows as little as possible because it wants to restart during the updating process and will probably just pull in more spyware. My Ubuntu laptop isn't used often, so it doesn't get updated often either. I also sometimes use some Fedora machines, which I also don't update too regularly.

Ubuntu and the multiple Fedora machines under my control also like to start unattended updates at the worst possible moments, which regularly interrupts my attempts to update or install stuff. I prefer to turn that shit off at every opportunity. I'd rather just get a notification that it wants me to update in the DE or terminal

[–] gerryflap@feddit.nl 5 points 1 week ago

I use it for sim racing sometimes and it's amazing to feel like I'm in an F1 car or something. Until I get nauseous after 15 minutes or something. It's also a bit of a hassle to set up. That being said, maybe it would be cooler if I got into beat saber or something.

Was it over hyped? Maybe. But it's still a cool technology and I'd be sad to see it fall into nothingness. I don't see a future where everyone is wearing VR glasses, but it's still a very neat thing to enjoy every now and then.

[–] gerryflap@feddit.nl 11 points 1 week ago

Unfortunately yes. Unfortunately Lemmy is too small for many of the things I did on Reddit. I mainly enjoyed lurking around in discussions on Reddit, only posting comments when I really cared (just like I do now here on Lemmy). Whenever I played a game, watched a show, etc I'd go to Reddit to read about other people's opinions and discussions. But Lemmy is too small to have any meaningful discussion about a specific game or some other content.

Often I see here the "if you miss it why not create it" sentiment, but that's just not how I used Reddit. I often don't want to have a meaningful discussion with s small group of people but rather read the opinions and memes of a large group of people.

So far, I've been able to limit it to browser usage though. The web experience of Reddit is abysmal, but at least I can block the ads etc. And I'm still here for all the content that is on Lemmy.

[–] gerryflap@feddit.nl 15 points 1 week ago

I agree, but I've gotten less annoyed by it over the years. When I was young it really didn't make sense to me. Money can do literally the same and is way more versatile.

However, now that I'm trying to survive this adulting thing it does start to make more sense, even if I still don't like it. If someone gives me money, it ends up on the big pile of money that's constantly flowing around. Give me 20 euros and it just adds 20 to the number in my bank account, which will eventually end up being used on groceries, bills, mortgage, etc. if you give someone money as a present you don't want this. You don't know what to give the other person ans you want them to choose something nice for themselves. But buying them part of their groceries or a part of their bills isn't exactly a fun gift. You want to "force" them to buy something nice, something that they want to spend money on instead of need to spend money on. A gift card does this.

Then again, giving me physical money would also do this. Or asking me to say when I bought something nice with it. When people gift me money I tend to tell them where it went and that works way better than gift cards imo.

[–] gerryflap@feddit.nl 1 points 1 week ago

I obviously don't agree with them, but my assumption is that it has to do with maturity/innocence. An unborn child hasn't done anything wrong. They're full of opportunity and have a whole life ahead of them. A criminal sentenced for death has I some way done something very wrong. They've had their chance and failed.

[–] gerryflap@feddit.nl 13 points 2 weeks ago (1 children)

Rollercoaster Tycoon Classic, if you feel like playing rollercoaster tycoon 1/2 on your phone. They slightly altered the UI to make it more touch friendly.

 

Shot with my Canon EOS 300, pretty much directly into the sunshine as God intended, using Ilford HP5 plus 400 iso black and white film.

view more: next ›