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
Me, trying to sound cool as an aromantic asexual atheist:
Actually I'm alingual as well
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
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.
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
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.
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
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.
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.
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.
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.
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.
Apart from the many compatibility issues with all kinds of random games that can usually be fixed within an hour (but still cost me too much time), the biggest one is specific stuff like playing Assetto Corsa with mods in VR using a Logitech wheel. It's already a pretty hefty stack of things to keep working on Windows, but on Linux I cannot even get AC to start so I have no idea whether the rest will work.
I'm already fighting computers all day. When I get home tired the last thing I want to do is to fight the computer even more. I just want a game to start without issue. Even on my Steam deck I have regular hard crashes of the system in multiple games, and my PC is probably less supported due to the more random set of packages installed
Oh lol I had a similar idea yesterday, but the conditions where not ideal. It was very windy, cloudy, and the light was already going. So I had very few usable shots unfortunately. Nice picture!
Yeah you're running by default but it can easily take an in-game hour to get anywhere. When you're done with the plants or animals you have to race to get to the shops in order to be there before closing. Especially the blacksmith
Wait does everyone there have a middle name? I'm Dutch and I don't have a middle name. I figured that was quite common also in the English speaking world
Maybe I'm doing something wrong but Stardew Valley stresses me out way more than many other games. There's so little time
In the moment It was mostly concerned with the task at hand, which was usually drawing, listening to music and adoring the funky visual effects (no halicunations tho). But the most specific thing that came out of it was changed relationship with some of my friends.
One of them was, for instance, quite annoying. I seem to be quite sensitive to the stuff, meaning that I was the first one "in" and the last one "out". He was the kind of guy to tease people a s a joke. It annoyed me before, but during the trips I finally realized how immature and annoying that stuff became. He was joking about me while I was in a vulnerable state and expected maturity from the people around me. The changed perspective meant that I finally got to look from the outside in and determine that I maybe should disengage from the relationship a bit.
It's not that I wouldn't recommend others to do it. I just won't do it again because I now realize how much this kind of stuff kan really affect you. As long as you're in the right headspace it can be a very cool experience. I still remember, after hours of chill music, how we all suddenly fell silent after an intense build-up followed by a heavy DnB drop. It felt physical, like I was suddenly pushed into the couch by the bass and couldn't get out. Not sure if I'll ever experience music in that way again.
Magic mushrooms, or any other psychedelic stuff. I did it three times, and in retrospect I'm not sure if I realized what I was messing with. Unlike being drunk, it actually feels like these instances actually changed me as a person. Not for the worse, but it's still kinda spooky.
On the surface it was just some fun, my brain was being silly and everything felt much more vibrant. But beyond that it actually changed my views on people and concepts. It altered my relationships and ultimately who I am as a person. Looking back, thos stuff seems to put your brain into an entirely different mode of creating and removing connections. It's not just messing with the "RAM" like alcohol, this stuff is writing to disk and making persistent changes.
It's usually off unless I expect to be back relatively soon. Startup times aren't an issue nowadays
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.