bloopernova

joined 1 year ago
[–] bloopernova@programming.dev 2 points 6 months ago (1 children)

Good lord some of those are spot on.

There's a lot of men telling on themselves in this thread. And everywhere else too.

[–] bloopernova@programming.dev -1 points 6 months ago (9 children)

...but no one is making this racist except those trying to cause arguments, and those who don't understand what women are saying.

Yes, if someone said something racist and meant it, they'd be a racist. Women are not doing that.

[–] bloopernova@programming.dev 0 points 6 months ago

No, no, no. Don't you realize? Men are the real victims here! Eyeroll to end all eyerolls

[–] bloopernova@programming.dev -3 points 6 months ago (1 children)

if you're trolling, I think you're leaning too far into the stereotype.

[–] bloopernova@programming.dev 6 points 6 months ago

Winged Hussars?

[–] bloopernova@programming.dev 2 points 6 months ago (2 children)

Does Fallout 4 work on Linux+Wayland?

[–] bloopernova@programming.dev 1 points 6 months ago

Yeah it works great, just make sure the ram you buy is in their compatible list.

[–] bloopernova@programming.dev 3 points 7 months ago

Wind feels so much stronger than 20 years ago, at least in Michigan USA.

I don't suppose anyone knows of a site that has wind speed plotted over time? I found a NASA site, but it's difficult to compare years.

[–] bloopernova@programming.dev 2 points 7 months ago (1 children)

Sweeeeet

I'm very envious, looks so cool!

[–] bloopernova@programming.dev 5 points 7 months ago

You both present sick arguments!

[–] bloopernova@programming.dev 5 points 7 months ago (1 children)

Reference: The Dollop, a comedy history podcast with Dave Anthony and Gareth Reynolds. The episode is "Action Park".

[–] bloopernova@programming.dev 14 points 7 months ago (6 children)

IM THE FUCKING HIPPO GUY

 

My wife and I are both autistic. She has difficulty moderating the volume of her voice, and I'm volume sensitive. So far she's been unable to recognize when I'm having trouble, and I've been unable to stop being so sensitive. :/

I've tried wearing earplugs but I have trouble remembering to keep them in.

Does anyone have any suggestions on how to reduce volume from someone when you're sensitive and they're loud without realizing it?

 

Utterly wild and hilarious, today is a Moog kind of day.

 

This is solved, I was being dumb. Please see second EDIT below

This isn't really language specific, but if it helps I'm using Python. I can get the parameters just fine with the Traitlets module, but I'm still a novice really and figuring out which patterns to use is challenging.

Say you have a bunch of command line parameters. Some are booleans, where their presence means True, absence means False. Other parameters must accept one text string, and others can be used multiple times to build a list of strings.

It feels inefficient/wrong to use a bunch of IF/THEN/ELSE statements to decide what to do with the parameters, and prone to edge case errors. Is there a pattern that would invoke the correct method based on the combination of input parameters?

Examples:

app thing --dry-run --create --name=newname01 --name=newname02 --verbose

app thing --create --name=newname01 --name=newname02 --name=newname03

app job --cancel -i 01 -i 02 -i 03

EDIT: Via the Traitlets module, I get those arguments parsed and accessible as self.argname, so getting them into my app is working great. It's just deciding what to do with them that is confusing me.

Thank you, sorry for my noobness.

EDIT2: I think I understand where I'm going wrong:

I'm creating subcommands based on objects, not actions. i.e. appname thing --action should really be appname action --thing. Once things are divided up into actions, assigning things to those actions will be much, much easier and straightforward.

Sorry for a confusing and fairly pointless post :(

 

When I submit a comment, the edit window stays open. I then get prompted to Stay or Leave the comment, even though it's already been submitted. Is there a way to disable that behaviour?

view more: next β€Ί