troyunrau

joined 1 year ago
MODERATOR OF
[–] troyunrau@lemmy.ca 41 points 3 days ago (4 children)

I love hitting these things in the real world. Not the big, but the comment. You just know someone spent a fortune in time and company resources to never solve the problem and their frustration level was ragequit. But then something stupid like adding

while (0){};

Suddenly made it work and they were like, fuckit.

Usually it's a bug somewhere in a compiler trying to over optimize or something and putting the line in there caused the optimization not to happen or something. Black magic.

The downside is that the compiler bug probably gets fixed, and then decades later the comment and line are still there...

[–] troyunrau@lemmy.ca 8 points 3 days ago

I agree. (I did the same thing with the D&D community I initially launched here) -- locked and redirected. Make sure there is a pinned post directing people, and sidebar notes about it.

[–] troyunrau@lemmy.ca 1 points 4 days ago (1 children)

Unfortunately it seems all of their other stuff is more standard house beats. So this album is more of an anomaly than the norm. Been chasing similar sounds trying to recreate the feeling I had first discovering this album, and failing :)

[–] troyunrau@lemmy.ca 3 points 5 days ago

Generally speaking, I like duck typing for function inputs, but not as much for function outputs (unless the functions are pure mathematics).

[–] troyunrau@lemmy.ca 10 points 5 days ago

On butter? Yes. It is enough to cover your ass for the one idiot that doesn't know it contains milk.

[–] troyunrau@lemmy.ca 1 points 5 days ago (1 children)

All I'm hearing is complaining. It's open source. Fix mate then so it does what you want.

[–] troyunrau@lemmy.ca 6 points 5 days ago (1 children)

This is BC?

[–] troyunrau@lemmy.ca 22 points 5 days ago (4 children)

That's probably what will happen -- stickers and restock.

[–] troyunrau@lemmy.ca 1 points 5 days ago

Very cool. Yeah, scouting ahead is always a thing. If there's a wizard in the party exploiting Arcane Eye or an invisible familiar or similar, you sort of have to read ahead.

[–] troyunrau@lemmy.ca 4 points 5 days ago (2 children)

Duck typing is the best if fully embraced. But it also means you have to worry just a little bit about clean failures once the project grows a little. I like this better than type checking relentlessly.

It also means that your test suite or doctests or whatever should throw some unexpected types around now and again to check how it handles ducks and chickens and such :)

[–] troyunrau@lemmy.ca 3 points 5 days ago

Get her to help you make meme templates from that obscure anime, as a bonding exercise. ;)

 
 
 
 
view more: ‹ prev next ›