bastion

joined 2 years ago
[–] bastion@feddit.nl 3 points 1 week ago* (last edited 1 week ago)

exactly.

but everybody got ~~their rocks off~~ catharsis and the feeling was expressed - even though the reason for the feeling was never addressed.

[–] bastion@feddit.nl 1 points 1 week ago

doubt

I mean sure you can use the chaos to try and get cover for something specific. But generally, people rioting are on-tilt and looking for easy targets that look like their oppressors. Then, everybody gets catharsis and the riot disappears.

It's just lazy. but, better than nothing, i guess.

[–] bastion@feddit.nl 4 points 1 week ago (4 children)

rioting is not the answer. if you are going to take action, be careful and deliberate.

[–] bastion@feddit.nl 1 points 3 weeks ago

yeah, really lets you lay down sick code like a mad hacker. I love it.

[–] bastion@feddit.nl 2 points 3 weeks ago

I was just about to say that I'd be raising an error, not returning a string.

I see you understand the code well.

[–] bastion@feddit.nl 1 points 4 weeks ago* (last edited 4 weeks ago)

fair. there's a lot of only kinda ~~gun~~ fun stuff after that side from the good stuff. i gave up at math.

[–] bastion@feddit.nl 1 points 4 weeks ago (1 children)

but where is the couple kissing?

[–] bastion@feddit.nl 3 points 4 weeks ago (2 children)
[–] bastion@feddit.nl 1 points 1 month ago* (last edited 1 month ago) (2 children)

Succinctness, mainly. but honestly, that succinctness ~~call~~ can also be mostly acquired using sh.py, which is what I normally use if I'm using python as a sort of shell scripting - mostly because sh.py is a very minimal requirement, whereas Xonsh has quite a few dependencies.

addendum: I'd say, if you're already using Xonsh, and aren't really looking to share your script with anyone other than Xonsh users or your own systems, you'd probably like to use .xsh scripts. But if you're looking to share your script, use sh.py.

[–] bastion@feddit.nl 1 points 1 month ago

Yeah, I think if I wasn't familiar with Python, it'd be nushell all the way.

[–] bastion@feddit.nl 2 points 1 month ago

thanks, good thread.

[–] bastion@feddit.nl 3 points 1 month ago* (last edited 1 month ago) (4 children)

It's a superset of python, so valid python should run fine. Imports into your shell are doable, too -- for example, I import path.Path in my xonshrc, so it's always available when I hit the shell. I don't often have to use Path, because regular shell commands are often more straightforward. But when I do, it's nice to have it already loaded. Granted, that could get kooky, depending on what you import and execute.

You can associate/shebang Xonsh with .xsh files, or run "xonsh foo.xsh" - and that works like "bash foo.sh" would, except using xonsh syntax, of course.

It's not Bash compatible - copypasta of scripts may not work out. But it's a good shell with some typical shell semantics.

there are some great plugins, too - like autovox, which allows you to create python venvs associated with specific subfolders. so, cd myproject does the equivalent of cd myproject; . path/to/venv/bin/activate.

overall, there definitely is some jank, but it's a great tool and I love it.

111
submitted 1 year ago* (last edited 1 year ago) by bastion@feddit.nl to c/whatisthisthing@lemmy.world
 

This awful creature was, according to my partner, found under or black walnut tree, attached to or emerging from the neck of a very-recently killed bunny that the dog had (killed within the last ~15m). Any idea what it is? More pics available.

It's not smooth like a slug/leech, but has a textured surface. It looks like a grub, but what would a grub be doing attached to a bunny? It has an obvious mouth and anus. She described the mouth part as "hexagonal", which she saw open while it was alive, coming off of or out of the Bunny's neck (it was in or by by a wound it didn't necessarily inflict).

I think it's probably just congealed evil and should be thrown into a fire, along with everything it touched except the puppy, and that's how it's going to get me.

My opinion is obviously tongue-in-cheek, but what is this really?

view more: next ›