[-] taaz@biglemmowski.win 3 points 1 day ago

Unexpected Three Body Problem reference

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

45
submitted 1 day ago* (last edited 1 day ago) by taaz@biglemmowski.win to c/mildlyinteresting@lemmy.world

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 2 days ago* (last edited 2 days 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

17
submitted 1 week ago by taaz@biglemmowski.win to c/factorio@lemmy.ml
[-] taaz@biglemmowski.win 3 points 3 weeks ago* (last edited 3 weeks ago)

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)

[-] taaz@biglemmowski.win 2 points 3 weeks ago* (last edited 3 weeks ago)

Numbers from my instance, running for about a 1 year and with average ~2 MAU. According to some quick db queries there is currently 580 actively subscribed communities (it was probably a lot less before I used the subscribe bot to populate the All tab).

SELECT pg_size_pretty( pg_database_size('lemmy') ): 17 GB

Backblaze B2 (S3) reports average 22.5 GB stored. With everything capped to max 1 USD, I pay cents - no idea how backblaze does it but it's really super cheap, except for some specific transactions done on the bucket afaik, which pictrs does not seem to do.

According to my zabbix monitoring, two months ago (I don't keep longer stats) the DB had only about 14G of data, so with this much communities I am getting about 1.5G per month (it's probably a bit more as I was recently prunning stuff from some dead instances).

Prometheus says whole lemmy service (I use traefik) is getting within about 5 req/s (1m average) though if I go lower it does spike a lot, up to 12 requests within a second then nothing for few.

[-] taaz@biglemmowski.win 1 points 3 weeks ago

Attach it to the VM

Is this possible only with the extra, bought storage boxes ? Or is this possible even with the free 100G backup boxes offered with each dedicated machine ? (Or is this just nfs mount?)

We have a dedicated machine in a project from Hetzner with big raided hard disks but the latency is starting creep up on us, moving some of the data off to the faster ssd/san boxes would be rather helpful.

[-] taaz@biglemmowski.win 13 points 3 weeks ago* (last edited 3 weeks ago)

Edit: I've reread your post, you are trying to run non-steam games through steam & proton right?

Did you move/symlink compdata out of the NTFS disk?

https://wiki.archlinux.org/title/Steam/Troubleshooting#Steam_Library_in_NTFS_partition

https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows#preventing-ntfs-read-errors

I use ntfs3 (not ntfs-3g driver) with uid=1000,gid=1000,umask=000,rw,user,exec,nofail,nocase,windows_names flags and after moving compada out (see the github link) it kind of just works.

Also what is your HW? If you have a laptop with extra dedicated gpu or have PC with cpu with integrated graphics and extra GPU card the games might be trying to run on the wrong GPU.

[-] taaz@biglemmowski.win 9 points 3 weeks ago

When is an int not 32bits nowadays

C standard does not actually define the exact sizes of long/int and so on, it's just what is now most popular (it does have some limitations and requirements on these types though)

28
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

251

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)

13
submitted 1 month ago by taaz@biglemmowski.win to c/factorio@lemmy.ml

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 ...

1

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 ...

115
submitted 3 months ago by taaz@biglemmowski.win to c/canvas@toast.ooo

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

25
submitted 4 months ago by taaz@biglemmowski.win to c/asklemmy@lemmy.ml

The server does not even respond to pings but I can see some comments/posts from the instance made few days ago.

22
submitted 5 months ago by taaz@biglemmowski.win to c/factorio@lemmy.ml
74
submitted 5 months ago by taaz@biglemmowski.win to c/factorio@lemmy.ml
view more: next ›

taaz

joined 1 year ago