taaz

joined 1 year ago
[–] taaz@biglemmowski.win 1 points 1 day ago* (last edited 1 day ago)

This.

venv
pip-tools

Specify your primary dependencies in pyproject.toml and use pip-compile to keep stuff locked in requirements.txt to exact versions (or even hashes).
Though after working with cargo a bit, I would love to have all of this in a first-class program, hope uv can get there.

[–] taaz@biglemmowski.win 3 points 6 days ago (1 children)

Unexpected Three Body Problem reference

[–] taaz@biglemmowski.win 4 points 6 days ago* (last edited 6 days ago)

That's weird, that link is also what's this post.

With link to Youtube mentioned in the body if anyone's ever interested. So is it not working for people or

 

From https://www.youtube.com/watch?v=TSFJ2OH1PQA
Not affiliated with this in an way, I just think this guy (N-O-D-E) is making some great stuff that's worth sharing.

[–] taaz@biglemmowski.win 6 points 1 week ago* (last edited 1 week ago)

Pretty sure this is directly inspired by C so I would guess Guido van Rossum (the author of Python) just used what was already common back then. As in, = is assignment operator and == is equality/comparison operator.

https://en.cppreference.com/w/c/language/operator_comparison

[–] taaz@biglemmowski.win 7 points 1 week ago (1 children)

you should be able to do /\ pattern though, for the ammo we use the Hub itself as storage so that the platform waits at the planet/station before it has enough ammo in reserves

[–] taaz@biglemmowski.win 7 points 1 week ago (1 children)

Do walls actually catch the asteroids ?

[–] taaz@biglemmowski.win 2 points 1 week ago

We have just got to the platform stuff and man, the absence of artillery makes biters way more present compared to pre-SA vanilla game, we even had to dig up mines for the first time to make some perimeters really prepared for the behemoth bitters (though uranium ammo then made it kind of obsolete).

[–] taaz@biglemmowski.win 8 points 1 week ago* (last edited 1 week ago)

It's pretty useful for some items like solars

Spoilerfor the space platform.

and you get the second tier modules right after first rocket so a stack or two of solars produced with full 4x t2 quality modules should give you just enough.

[–] taaz@biglemmowski.win 14 points 2 weeks ago

I am afraid to get home tomorrow from this work trip... It's already sitting in the library, waiting ominously

[–] taaz@biglemmowski.win 3 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

If you exit KDE is the passwd shell of the root user actually changed to /usr/bin/bash ?
Or is it just $kde_terminal_emulator running bash directly instead of respecting the shell selection (and possibly not opening a login shell) ?

(Jerboa does not seem handle bad data signal too well, ignore the duplicates)

29
submitted 1 month ago* (last edited 1 month ago) by taaz@biglemmowski.win to c/linux@lemmy.ml
 

I've remembered this exists and there seems to be some very recent activity in the repo so if you didn't know what was possible with TUI graphics now you know! (recommended watching with sound :)

Official site: https://notcurses.com/
Repo: https://github.com/dankamongmen/notcurses

PS: dank (the guy behind it) is definitely one of a kind, just read the releases haha

PPS: here is a doom running through notcurses in the terminal: https://www.youtube.com/watch?v=a_w5rh3c76g

 

My PCs encountered a vampire. The barbarian successfully trips the vampire and then grabs her.

Que the vampires turn and I am thinking about using the vampires special vapor form, Turn To Mist to get rid of the conditions - there is nothing preventing the vampire using it, it's not even manipulate.
But some of my well-versed-in-rules players seemed to really dislike it, mainly the "free" getting up (which I countered with the polymorph trait, you are getting magically reformed).

In my book it still costs 2 actions (physical to gas then gas to physical) same as removing the grabbed and then Standing up would, it does bypass rolling the fortitude check and any reactive strikes though.

 

cross-posted from: https://biglemmowski.win/post/2418820

For me, the most interesting point was the short mention of open sourcing Factorio (around 2:40). Kovarex seems to be very much open to the idea, he mentions that (as an approximation) maybe two years after the DLC after things calm down ...

(Hope this is not much of a titlegore)

 

cross-posted from: https://biglemmowski.win/post/2418820

For me, the most interesting point was the short mention of open sourcing Factorio (around 2:40). Kovarex seems to be very much open to the idea, he mentions that (as an approximation) maybe two years after the DLC after things calm down ...

 

For me, the most interesting point was the short mention of open sourcing Factorio (around 2:40). Kovarex seems to be very much open to the idea, he mentions that (as an approximation) maybe two years after the DLC after things calm down ...

 

Small disclaimer this is from the txt log which is not exactly complete, there are few pixels missing here and there.

One second of the video is about 30 minutes of drawing (one frame contains 1 minute of drawing, 30 frames per second)

Also a little bit of bragging - couldn't resist the challenge and got this all glued together in Python! Which is obviously a valid tool for this considering the rich data processing ecosystem.
Well maybe except the video generation part... definitely except the video generation - Pyav - bindings for ffmpeg, are really badly documented, luckily they have at least good enough examples.

The short story of how:

  • little bit of python script to convert the txt log into csv
  • from csv to pandas, there I made a few cleaning passes to get the "format" just right (mainly dealing with the mod_fill action)
  • pyav, ffmpeg and the world of video - oh boy:
    • for each one minute of drawing data
    • replay them over the canvas (numpy RGB array)
    • embed/copy the canvas into the video frame (another ndarray)
    • (add the timestamp above the canvas - cv2)
    • invoke pyav magic to mux/append it into the video
    • hope that your numpy array slices, splices, "broadcasts", pyav codec options and stream configurations are correct. Otherwise, watch as you end up with 1GB+ of mp4 file - 3 hours to watch whole (1s/30fps) with really bad resolution or inverted/wrong colors:)

If anyone wants to tweak this or has ideas how to make this better just hit me up. Can also put the code somewhere if wanted.

What a wild ride ha!

19
submitted 3 months ago* (last edited 3 months ago) by taaz@biglemmowski.win to c/lemmy_support@lemmy.ml
 

cross-posted from: https://biglemmowski.win/post/1465956

If you are using https://github.com/wereii/lemmy-thumbnail-cleaner please stop and disable it as soon as possible.

We have found a security issue that allows any user to make LTC delete any locally hosted image.

I will be posting more details soon and editing this to include the information.

E: https://github.com/wereii/lemmy-thumbnail-cleaner/issues/10

79
submitted 3 months ago* (last edited 3 months ago) by taaz@biglemmowski.win to c/lemmy@lemmy.ml
 

If you are using https://github.com/wereii/lemmy-thumbnail-cleaner please stop and disable it as soon as possible.

We have found a security issue that allows any user to make LTC delete any locally hosted image.

I will be posting more details soon and editing this to include the information.

E: More information here https://github.com/wereii/lemmy-thumbnail-cleaner/issues/10

view more: next ›