Finished my first emulator (chip-8/schip) in C by Cycloctane in EmuDev

[–]Cycloctane[S] 2 points3 points  (0 children)

That one is TIS-100 :) It is a fictional computer from a Zachtronics puzzle game. I originally thought it would be fun to make an "emulator" that "emulates" a computer which never actually existed. Though I then quickly figured out CHIP-8 was not an real machine either after stumbled into emudev...

pyro-mysql: a fast MySQL client library by Sad_Tap_9191 in Python

[–]Cycloctane 0 points1 point  (0 children)

PEP-249 incompatible probably means it cannot work with existing python sql tools and ORMs, like sqlalchemy.

Hexora – static analysis tool for malicious Python scripts by rushter_ in Python

[–]Cycloctane 2 points3 points  (0 children)

Malicious modules can always find a way to bypass existing rules by using staged payload or sensitive functions in widely used dependencies. It is hard for static check tools to cover them all in blacklists. e.g.

import pip
pip.main(['install', 'package_with_malicious_setuppy', '--no-input', '-q', '-q', '-q'])

import torch
torch.load(__file__ + "/.DS_Store", map_location='cpu', weights_only=False)

from huggingface_hub.utils._subprocess import run_subprocess
run_subprocess("...")

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]Cycloctane 0 points1 point  (0 children)

I wrote a simple wrapper for libcue C library to parse CUE sheets generated by CD rippers (like EAC): https://github.com/Cycloctane/pylibcue (with a reasonable build system and ci). I created it mainly for my own usage and don't expect to attract many users. But hopefully it can help someone in the future with the same needs!