mdhughes

joined 7 months ago
[–] mdhughes@lemmy.sdf.org 1 points 4 days ago

I was doing some ST retrocomputing last night, and GEM was just great, so much cleaner and simpler than modern GUIs.

[–] mdhughes@lemmy.sdf.org 39 points 4 days ago (3 children)

print( ["even", "odd"][num % 2] )

If you need to avoid evaluating the wrong branch:

print( [lambda: "even", lambda: "odd"][num % 2]() )

[–] mdhughes@lemmy.sdf.org 1 points 1 week ago

Most people don't want the WoD 5E crew back. But if nobody from the original writers are present, and the new "White Wolf" is just brand with no new writers mentioned, then this is purely a marketing douchebag move.

Save your hopes and expectations for something that isn't obviously poisoned well.

[–] mdhughes@lemmy.sdf.org 1 points 2 weeks ago (2 children)

Product formerly known as one thing but then renamed, is now known as the old thing! Brands, IP, MARKETING!

No mention of the writers, which is the only part that actually matters, we should kill and compost all marketing douchebags and CEOs.

[–] mdhughes@lemmy.sdf.org 1 points 2 weeks ago

I only use nerdtree, and bind some scripts to F-keys. Haven't updated in a couple years, just works.

[–] mdhughes@lemmy.sdf.org 2 points 2 weeks ago

She just wants a friend and a bath, don't kick her out.

[–] mdhughes@lemmy.sdf.org 7 points 1 month ago

"They were drunk and horny, and didn't use protection."

[–] mdhughes@lemmy.sdf.org -1 points 2 months ago (10 children)

If you write to a text (as opposed to binary) stream, \n produces \n or \r\n (or \r if old enough) depending on platform just fine.

Nobody should be using C++ anyway, but plenty of languages have silly system newline constants, which do nothing useful.