To be fair, the question is “Write a function that simultaneously determines if the number is even and works as a timer”
I very deliberately avoid politics. If I fail let me know.
- 1 Post
- 27 Comments
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•What are your thoughts or predictions for society in the next 5 to 10 years? (serious)15·12 days agoObviously, solar energy is going to continue to grow. Less obviously, this will have a pretty significant effect on global economics. Countries that previously lacked domestic energy production now will suddenly have it. Countries highly reliant on fossil fuel exports will suddenly be less important. I think this will probably be the most significant change and it’ll be for the better. Obviously global warming problems are on the horizon but over 5-10 years from now it’ll still be comparatively small.
I personally don’t see AI getting much better than it is now because it’s starting to run out of how much it can do with existing data. It’ll continue to be a useful tool for autocomplete and generating low-effort content, but otherwise won’t rearrange society or build us dyson spheres or anything like some seem to expect. I don’t see software technology doing anything especially great for a while and its role in the economy may shrink for the first time really since it started.
More speculatively, I’d guess we’ll see more advancements in DNA and RNA technology that will make medicine more resemble programming rather than throwing stuff at the body and hoping it works. This will progress slowly, but in 5-10 years I think we’ll be looking at some vaguely significant impact on common health problems. Other medical tech will be significant too - knowing someone who takes GLP-1s I think we’ve kind of missed celebrating how big a deal that is for some people.
Society as a whole - who knows, that’s especially hard to predict. I tend to be optimistic that the current reactionary period will fade, having already used up its credibility. I worry though that we’re getting better at exploiting human emotions and that can be used by the powerful to control masses. But when has that ever not been a factor? We’ve only relatively recently emerged from the era of divinely ordained kings, and mass literacy is still quite new in the grand scheme of things. Our society will continue to evolve, a bit inconsistently.
last_philosopher@lemmy.worldto Showerthoughts@lemmy.world•I wonder if the spice girls still get along or if that "friendship never ends" thing was just a lie.55·13 days agoI mean the other lyrics really do back it:
So here’s a story from A to Z You wanna get with me, you gotta listen carefully
We got Em in the place who likes it in your face
We got G like MC who likes it on an—
Easy V doesn’t come for free, she’s a real lady
And as for me, ha-ha, you’ll see
Slam your body down and wind it all around
Slam your body down and wind it all aroundBasically they’re walking you through what you gotta do to please each one of them. Baby wants the lingus, Ginger and Sporty by contrast want it on an “e” - i.e. ecstasy, Posh of course only gets off if you buy her expensive stuff first, and only then do you prove yourself worthy of Scary, who will beat the living shit out of you.
last_philosopher@lemmy.worldto Not The Onion@lemmy.world•Elon Musk Promises Grok in Tesla Vehicles By Next Week… as the New Grok 4 Blames “Anti-White Hate” on “Jews”English4·13 days agoWhat does this even mean? If you have a phone in your tesla, you already have grok in a tesla vehicle. Amazing how the Media-Tesla-hype complex works.
Can’t get no respect I tell ya
No. I mean look, I’ll put up with this whole social delusion of unconditional love if it’s not too crazy, but at some point fuck it.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•What are your advices to cool homes without AC ?1·27 days agoSleep outside, if you have a space. Get a deck umbrella, a mosquito net and a cot and a sleeping bag (actually on super hot days I used to just sleep on a towel). It’s so much cooler than trying to get by indoors with no AC, even with fans. And it’s rather pleasant.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•What direction do you think tech in general will go in 5 years (ignoring AI)6·28 days agoI think generally speaking, we’ve been in a computer tech boom for decades, driven by the growth of computers going back to the 80s. The internet and smartphones just grew out of that.
Unfortunately I think we’re running out of new stuff to compute and newer technologies seem to be a bit week on the “problem being solved” end of things. Most likely what we’ve come to think of as tech will take a back seat to technologies with more room to grow, I’m guessing biotech in particular will be the next big thing.
Left my iron plugged in for a week without realizing it.
Accidentally caused massive heat wave. Sorry folks, but I unplugged it so temps should start to go down now.
last_philosopher@lemmy.worldto Technology@lemmy.world•Tesla Robotaxi Freaks Out and Drives into Oncoming Traffic on First DayEnglish131·1 month agoAt least it’s not driving straight into a tree, I call that an improvement.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•What's something you immediately judge a person for when you see them wearing or have?36·1 month agoThe paradox of tolerance relies on a lot of assumptions that don’t really work in reality. We don’t tend to see more open societies have more intolerance, quite the opposite. Part of the problem is that “the intolerant” is not a single group, but many groups that hate each other. And those who are intolerant towards the intolerant are themselves part of the intolerant.
For a less-political example, let’s imagine hypothetically that Lemmy is very pro-linux. However, some people who absolutely hate linux show up and start posting anti-linux memes. These people get insulted, downvoted, and eventually banned by others on Lemmy, because they’re showing intolerance towards linux.
But then what happens to those anti-linux people? They go off and created their own forums, and talk about how intolerant lemmy is to people who don’t use linux. So whenever a linux user shows up on those forums, they’re inevitably banned. The result of intolerance of the intolerant is that they remain intolerant, and now the tolerant have become hard to distinguish from them, and there’s no way for pro-linux forces to be part of the conversation anti-linux people are having - allowing them to create their own culty filter bubble.
Now imagine an alternative - instead of banning the anti-linux people, pro-linux lemmy users decide to engage with them and correct misconceptions about linux. After all, linux, like many other topics, can get kind of complicated, and linux users need to remember that not everyone has the same background knowledge that they do about the topic. Sure, some linux haters would be persistent, but maybe others would be like “hey, these linux folks are actually kind of cool and helpful, I want to be more like them.” That may sound idealistic, but I think that’s a lot closer to what we see in reality - intolerance thrives in closed off spaces, and dies in open ones.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•Would you become romantically involved with someone with vastly different religious views?101·1 month agoSure. My parents had different religions and being an atheist I don’t really have a duty to care about other people’s religions.
Of course it helped that my parents weren’t too seriously religious. And I’ve rejected religious people for having religion-tied views I find appalling. But the religion itself isn’t the issue, just the things that sometimes result from it are.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•Am I the only one who thinks social media has destroyed the spirit of the internet?4·1 month agoSocial media is just a symptom of the larger problem which is the corporations prefering to build walled gardens so they can control users rather than the open protocols that defined the early internet. Back in the day, I used to call it “everything becoming facebook”.
Social media is fundamentally a moat - a wall built around a set of consumers to keep them away from competitors. Investors love moats. If you whisper as quietly as you possibly can to yourself “I found a company with a wide moat that no one is talking about yet” JP Morgan himself will literally burst through your wall like the Kool Aid Man. They love it because it avoids competition, and as much as competition is the whole point of capitalism, it’s the last thing an actual capitalist wants to deal with.
A big part of what made the early internet super valuable was the opposite of moats: open protocols. For example how GMail can send email to Yahoo or any other email provider. If Google had their way, that’s not how email would work at all - you’d need a google account to both send and receive emails. That’s why these companies have been trying to kill email for ages, trying to get people to use their own proprietary messaging systems instead, where you can only send to others with an account. Then they could capture you and keep you all to themselves.
Which brings us to the fediverse. The fediverse is an attempt to return to open protocols rather than creating a moat around a group of users. In many ways it’s like email - your email provider might cut off a server if it’s just sending spam all day, and this is basically defederation. But otherwise nothing stops you from communicating with anyone, and that’s how it should be.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•Which of your favorite sci-fi tech seems achievable in a reasonable timeframe, say 100 years?1·1 month agoI think genetic engineering is the most high-potential tech right now. They’re already using it to cure sickle cell, and my (total non-expert, probably way too hopeful) pipe dream is that we could basically treat it like we can open a terminal on the body some day and change whatever we want.
Edit: I just want to point out that I’m imagining curing cancer, reversing aging, etc. Not like, additional orifices or anything.
It’s a form of communication that reaches us more fundamentally than words. I imagine it’s like animal sounds - what does a dog’s bark mean to another dog? Probably the same thing as when you tell someone “Stop!” or “Hey!” really loud. It don’t carry a concrete meaning, but feeling. Music is taking that and turning it into language. It can have many different meanings and tell many different stories, even without lyrics. Although it’ll never be as exact as written words, we can still enjoy the story.
last_philosopher@lemmy.worldto Ask Lemmy@lemmy.world•What grocery items are always worth the extra $1-$5?3·1 month agodeleted by creator
jeans and a t shirt pretty much daily
Not great but acceptable gym garb.
I feel like I could do all of that at home.
You could do it at home with light weights. But heavier weights and equipment are really expensive and otherwise problematic to keep at home. Also, I find that there’s something about being at the gym that makes it easier for me to work out. I did home workouts during covid but it just wasn’t the same and I didn’t get as good of a workout.
Also gym membership prices vary widely. Planet Fitness if you have one near you at least used to be as cheap as $10/month. Ignore anyone who says it’s not a real gym, it’s good enough for like 99% of people.YMCAs and other community centers tend to be on the cheaper side.
The problem then is that by responding, you’re engaging with it which typically helps it spread in the algorithms*. Ideally there should be multiple downvote options - maybe separate it out as “misinformation” vs “bad opinion” or something. Removing downvotes and banning users who disagree is the typical cult strategy (recall the classic cult sub, r/thedonald, was notorious for this). If you’re worried about downvotes being used to silence people, maybe another way to mitigate that would be a “sort by downvoted” option so that being downvoted a lot could actually put you at the top of at least that feed.
*On Lemmy, notice the following:
Active (default): Calculates a rank based on the score and time of the latest comment, with decay over time
Do you think vote sould be private ? Public ? And why ?
Public. Lots of downvotes is information that could indicate that the commenter is lying, or just saying something unpopular. But either way, it’s information. Before youtube started hiding downvotes, it was easy to tell that a video had a misleading title based on downvotes. Now clickbait dominates the platform.
Are you sastified with the current voting system ? And why ?
No. I agree that the slashdot method with more than just upvote/downvote is better. In a perfect world I imagine we could have every emoji be a reaction option, and then you could sort by putting an emoji in a bar at the top. In reality I imagine this would be a challenge from a backend perspective, but maybe like the top 5 or 10 emoji reactions could be an option for selection.
What other interesting software/website that tried something different do you know ?
I’ll do the opposite and say - please do not remove downvotes like Twitter/Bluesky/mastodon etc. Downvotes are super important. People need to be able to boo, the only place people aren’t allowed to boo are in church or at cult rallies. And that’s why those platforms are especially bad for misinformation, hyperbole, and overall depravity.
What way do you imagine to highlight content and improve search, discoverability ?
Remove all as a forced/default option on the main page. Back in the day before reddit had r/all, communities were much more diverse and niche, and this helped separate communities flourish in their own way. When r/all was added, the content started to resemble twitter, if not just becoming screenshots of twitter, on just about every sub. This actually improves discoverability because it would force users to branch out and look at subs instead of just looking at what’s on all.
I’m generally highly suspicious of any picture of a piece of paper with writing on it posted on social media.