_cnt0

joined 2 years ago
[–] [email protected] 2 points 6 hours ago

Though, obviously I had to come up with some ridiculous solutions:

bool IsEven(int i) => ((Func<string, bool>)(s => s[^1] == 48))($"{i:B}");

This one works without conditionals :)

bool IsEven(int i)
{
    try
    {
        int _ = (i & 1) / (i & 1);
    }
    catch (Exception)
    {
        return true;
    }

    return false;
}
[–] [email protected] 2 points 6 hours ago (1 children)

Not to take from all the funny answers ... but

bool IsEven(int i) => (i & 1) != 1;

(C#)

[–] [email protected] 1 points 1 day ago

At this point I assume ignorance and incompetence of everybody talking about benefits of "AI" for software development.

[–] [email protected] 33 points 3 days ago (3 children)

I'll quote myself from some time ago:

The entire article is based on the flawed premise, that "AI" would improve the performance of developers. From my daily observation the only people increasing their throughput with "AI" are inexperienced and/or bad developers. So, create terrible code faster with "AI". Suggestions by copilot are >95% garbage (even for trivial stuff) just slowing me down in writing proper code (obviously I disabled it precisely for that reason). And I spend more time on PRs to filter out the "AI" garbage inserted by juniors and idiots. "AI" is killing the productivity of the best developers even if they don't use it themselves, decreases code quality leading to more bugs (more time wasted) and reducing maintainability (more time wasted). At this point I assume ignorance and incompetence of everybody talking about benefits of "AI" for software development. Oh, you have 15 years of experience in the field and "AI" has improved your workflow? You sucked at what you've been doing for 15 years and "AI" increases the damage you are doing which later has to be fixed by people who are more competent.

[–] [email protected] 10 points 5 days ago

Same as antibiotics.

[–] [email protected] 3 points 6 days ago

Hot damn (I'm so [so] "guilty" of this); seriously – it's no even (or odd) funny!

[–] [email protected] 9 points 1 week ago

fixed title

If we can’t build an equitable, sustainable society on our own, it’s pointless to hope that a machine that can’t think ~~straight~~ will do it for us.

[–] [email protected] 0 points 2 weeks ago

After reading your comment I was wondering why 24 years after the thing and not 20 or 25. "Round" numbers intuitively make more sense to me to create a connection to a previous event. Then it occurred to me, that the second and fourth letters of the alphabet are B and D, as in Dick Butler. Though I doubt Richard would have gone with that nickname. Then again, maybe him being constantly teased/bullied as the dick butler explains him going down a road of hate ;-)

[–] [email protected] 4 points 2 weeks ago

Watching that movie was a drug-infested nightmare. The drugs were my fault, the nightmares were on the movie. The fire extinguisher scene went on for what felt an eternity. Showing the head for punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch after punch until it was a pulpy mess not recognizable as a head with blood seeping out of it. Actually, I think the right-hand side of the meme is a pretty apt categorization for that movie, except, maybe, the unenjoyable part. Enjoyability just depends on your own perversions and morbidity. And the title of the movie is a lie. I reversed the fire extinguisher scene: it becomes a love story of a kind and dedicated fire extinguisher reconstructing a dead man's head. I sometimes masturbate to that.

[–] [email protected] 10 points 2 weeks ago (3 children)

Tell me you haven't seen the uncut version of Irreversible without telling me you haven't seen the uncut version of Irreversible. That's like, peak entertainment. Thank me for the trauma later.

[–] [email protected] 3 points 3 weeks ago

Most people suck with computers, no matter their age. There may or may not have been a time frame which resulted in a higher percentage of people knowing more basic computer stuff. Kids on computers tended to pick up more basic computer knowledge than kids only interacting with gaming consoles for the past 40 years. If you want to blame one thing for decreasing basic computer knowledge, kids being glued to their smartphones and not touching computers (laptops/towers) at all is the much more obvious candidate. Like kids playing on their N64 (insert arbitrary gaming console here) and not touching computers before. I think, OP, you're falling into a trap of over-projection, where you project yourself and your peers as a standard onto a generation/age-group, when most of us here on lemmy have always been the outliers. People are not "tech savvy"; never have been. Trying to put the blame on one company and product (no matter how evil and bad both are) for select age groups is ridiculous.

 
364
RTX 40090 (sh.itjust.works)
 
 

cross-posted from: https://sh.itjust.works/post/15208861

A story in pictures and a few words. So, Valheim's stupid asshole RNG sent me on half a world tour just to get to the Elder:

On the bright side, Haldor happened to be right next to the Elder. Like, really right next to it:

Usually I'd erect two or three indestructible pillars with the hoe to defeat the Elder. It's pretty easy anyways, but I wondered if it had the same restrictions as all the regular mobs when it comes to Haldor's force field. Turns out, it has. If you're inside Haldor's force field the Elder will just go on an erratic demented stroll through the woods (quite fitting) and just randomly shoot in all directions instead of attacking you.

Even easier picking than usual :)

In case you want to experience it yourself, the world seed is 3Wy3wVd6Lj

5
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

A story in pictures and a few words. So, Valheim's stupid asshole RNG sent me on half a world tour just to get to the Elder:

On the bright side, Haldor happened to be right next to the Elder. Like, really right next to it:

Usually I'd erect two or three indestructible pillars with the hoe to defeat the Elder. It's pretty easy anyways, but I wondered if it had the same restrictions as all the regular mobs when it comes to Haldor's force field. Turns out, it has. If you're inside Haldor's force field the Elder will just go on an erratic demented stroll through the woods (quite fitting) and just randomly shoot in all directions instead of attacking you.

Even easier picking than usual :)

In case you want to experience it yourself, the world seed is 3Wy3wVd6Lj

 

I print these on stickers and put them on pretty much all letters and packages I send.

 

Illegible handwriting replaced with digital text.

I used to get up before my wife due to work. I sometimes left her sticky notes, everything from informative to shenanigan. I just rediscovered this one while looking for something else. Looks like I made grated apple that morning.

 
 
 
 
 

I really like lemmy and have stopped using reddit months ago. My only real gripe with lemmy is the title: when a conversation gets going in the comment section, that gets killed when the post is deleted, for whatever reason. I can't even go back to a conversation and have a look at the comment threads to "dwell in nostalgia" (or whatever) if the post to the comment section gets deleted. Piecing the threads together from the inbox and my comments on my profile, and continuing a discussion via direct messages is cumbersome and kind of antithetical.

So, feature request, I guess: Enable retrieving comment sections of deleted (removed from community) posts. Bonus points if new comments could be added after the deletion (/removal) of a post.

view more: next ›