Kelvin Nicholson's personal site, with writing on travel, outdoor adventures, recipes, health experiments, maps, and software projects.
ioDraw Products AI Assistant Android [{"createTime":1735734952000,"id":1,"img":"bandupan_350_218.jpg","link":"https://pan.baidu.com/s/1T03izdWtRSeMqOXoT9HCug?pwd=draw","name":"百度网盘下载","status":9,"txt":"百度网盘下载","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":17361738850
# Coding Relic: ATA Commands in Python In software development sometimes you spend time on an implementation which you are unreasonably proud of, but ultimately decide not to use in the product. This is one such story. I needed to retrieve information from an attached disk, such as its model and serial number. There are commands which can do this, like hdparm, sdparm , and smartctl , but initially I tried to avoid building in a dependency on any such tools by interrogating it from the hard drive directly
Sponsored Link • Computing Thoughts Parallel Python by Bruce Eckel September 11, 2007 > Summary My previous post led me to this library, which appears to solve the coarse-grained parallelism problem quite elegantly. You can find the library here , which was written by Vitalii Vanovschi, a Russian chemist now doing graduate work at USC. It appears he created the library to serve his own computational needs, and designed it to be simple so his colleagues could use it. Parallel Python is based on a fun
Abstract Factory Design Pattern in Python Back to Abstract Factory description """ Provide an interface for creating families of related or dependent objects without specifying their concrete classes. """ import abc class AbstractFactory(metaclass=abc.ABCMeta): """ Declare an interface for operations that create abstract product objects. """ @abc.abstractmethod def create_product_a(self): pass @abc.abstractmethod def create_product_b(self): pass class ConcreteFactory1(AbstractFactory): """ Implement the ope
Das Blinken Lichten Search Search Skip to content Packet Actions – Python and Scapy Jon Langemak June 1, 2021 June 1, 2021 1 Comment on Packet Actions – Python and Scapy Hello and welcome to the “Packet Actions” series of blog posts. I’d like to spend a few posts talking through how you can programmatically integrate with a network dataplane. I had thrown around the idea of calling this series “Doing things with packets” but that seemed a bit long and also could mean just about anything. So
python-snap7 Getting Started User Guide Troubleshooting Development - Development API Reference - NodeS7Tag PLC4XTag Tag - Tag.area - Tag.db_number - Tag.byte_offset - Tag.datatype - Tag.bit - Tag.count - Tag.name - Tag.access_sequence - Tag.symbol_crc - Tag.__str__() - Tag.from_access_string() - Tag.from_string() - Tag.is_symbolic - Tag.size Internals python-snap7 # Tags Symbolic and typed access to PLC variables. A Tag describes a typed value at a specific S7 address. Tags can be construc
# Cloning Simulink...in Python Sep 24, 2012 For a while now I have been working on a bench supply. As part of this I have been trying to get a PID controller to work. At first it was simple, but after asking my Dad about it (he does power electronics), he suggested that I use a cascaded PID loop for controlling the voltage and current using the voltage alone. I have sort of a bench model going, but I don't really want to start construction until I have everything finalized since blowing things up and maki