taaz

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

Absolutely valid move here, we started a mp server, three total players and while we didn't do any kind of rush, we all agreed most of us will need a lot more hours to actually get to play with everything properly.

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

Before RustDesk I have used NoMachine but that's completely proprietary (Luxembourg company, except for the old core protocol - NX 1).
Afair I am afraid that there isn't an all-in-one foss desktop remote software as good as RustDesk currently.

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

There is an abomination someone built over at the R site where they misuse this feature to have platform thrusters in one line and then pulse one of the two liquids one at the time through them.

[–] taaz@biglemmowski.win 2 points 2 days ago

Now it looks correct:)

[–] taaz@biglemmowski.win 11 points 2 days ago

Big stuff

-euo pipefail now being a posix standard is really awesome, as well as readlink and realpath (didn't even know these last two were non-standard).

[–] taaz@biglemmowski.win 9 points 3 days ago (2 children)

Formating of the configuration content under point 4 seems to have spilled out, you might have to use a triple backtick followed by newline if it's a multiline code/content.

[–] taaz@biglemmowski.win 2 points 5 days ago* (last edited 5 days 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 1 week ago (1 children)

Unexpected Three Body Problem reference

[–] taaz@biglemmowski.win 4 points 1 week ago* (last edited 1 week 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

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 ›