Moops

joined 1 year ago
[–] Moops@lemmy.world 3 points 1 week ago

The vegans an angry, toxic bunch lol

[–] Moops@lemmy.world -1 points 1 week ago

They're so small and adorable aren't they?

[–] Moops@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

Aww shit. Thanks lol.

[–] Moops@lemmy.world -1 points 1 week ago (4 children)

Of course it was the vegans.

[–] Moops@lemmy.world -4 points 1 week ago* (last edited 1 week ago) (3 children)

I hate ~~Walz~~ Vance and love that he got boo'd. That said, I don't understand why everyone is making such a big deal of him calling them "haters". That's literally what that word means. I'm a ~~Walz~~ Vance hater. Many of you are haters. It's a description not a slur.

Edit: Yeah I fucked this one up royally, didn't I lol? Sorry folks.

[–] Moops@lemmy.world 55 points 2 weeks ago

It really is such a perfect juxtaposition of toxic vs. healthy masculinity.

[–] Moops@lemmy.world 58 points 3 weeks ago

You're a moron and I'm sorry for your failed upbringing.

[–] Moops@lemmy.world 6 points 3 weeks ago (1 children)

This looks like my ex. I'm not even tryna be mean, it just does.

[–] Moops@lemmy.world 33 points 3 weeks ago

Hard disagree. But that's okay, we're allowed to like different kinds of games. Yours isn't any more objective than mine though. If you don't like that kind of thing, just don't play those kinds of games. It's not a threat to you if others enjoy them.

[–] Moops@lemmy.world 20 points 4 weeks ago (1 children)

Yeah this is a reach. He's a big enough turd we really don't need to stretch this much.

[–] Moops@lemmy.world 30 points 1 month ago

What a weird little man.

[–] Moops@lemmy.world 27 points 1 month ago (2 children)

That headline is a wild ride

 

I had an interesting conversation at work where someone questioned my use of DENSE_RANK and suggested I use LAST_VALUE. We had a good conversation about it, but ultimately agreed to disagree about the specific scenario. My code was accurate with no performance issues warranting a rewrite. My feeling was the person I was talking too was less familiar with DENSE_RANK and so favored LAST_VALUE. I get preference, I have my own, but I try to be aware of what's preference vs. what's technically superior.

I'm curious about people's thoughts on when to use LAST_VALUE() vs MAX() KEEP(DENSE_RANK LAST ORDER BY ). To my mind, both solve a similar problem. I lean towards DENSE_RANK largely out of preference due to the syntax being shorter (literally just less characters to type), and I also like that since DENSE_RANK is an aggregate function it outputs distinct results without needing to use the DISTINCT keyword. I haven't intentionally run tests comparing the two, but anecdotally I've never noticed a performance difference between the two when writing comparable queries.

Surprisingly I couldn't really find any detailed articles or discussions online comparing these two functions and I'm curious what thoughts are out there in the wild.

view more: next ›