atlas news
    
Plumbing Life’s Depths
08  août     02h31
Ubuntu 22.04 Python 3.12 pip is broken
   It seems that we’ve removed an entry point that pip . uses from Python . . That means that you need to install pip from get pip.py on Ubuntu LTS python . . However even with that done and tox supposedly configured to use pip . . in its virtualenvs, I still wind up with pip . in the...
18  juin     13h32
What is Pythonic Typing for There exists some plugin that provides an Adapter for X
   So starting to think about a PyOpenGL .x release, which would be first to drop Python . support, so the first one where type hints can be used to declare metadata for type coercion vs the current nonstandard type declarations . The first big question that comes up is: Given an open collection...
21  mai     20h10
PyOpenGL 3.1.7 Building Now
   So I spent some of the Victoria Day weekend on PyOpenGL. Biggest changes are: got cibuildwheel running on github actions so that we can get a matrix of manylinux wheels built for accelerate automated upload from github actions to pypi investigate the egl regressions; so far all of them seem...
06  janvier     04h29
Weird regressions in EGL setups
   So trying to spend a bit of my vacation going through PyOpenGL issues. So far the biggest issues are all EGL related, with the one currently stumping me is that we do not seem to be able to do an eglMakeCurrent getting an EGL BAD ACCESS even though the context view is only ever accessed from the...
12  novembre     20h34
Potions with Custom Effects
   In Pycraft, I figured out the Potions with custom effects, the problem being that Bukkit’s PotionEffectType doesn’t actually implement the keyed interface, but instead has its own .values call, so needs a whole special handler. The code for creating potion with custom effects looks like: await...
07  novembre     03h29
Finally Got Potions (ItemMeta) and Signs (BlockState) working
   So one of the long standing requests from the boys has been that we have the ability to create potions from Pycraft’s in game REPL. Today I finally got that working, mostly because I finally decided that there was room for a reference pattern to make the whole thing easier. By way of background,...
05  novembre     03h44
Creating some Pycraft Videos
   Pycraft has remained relatively obscure. It lets you write very close to Python code in the minecraft chat window to perform magic that’s written in Python code on the backend. I thought maybe a few demos showing what you can do with the code might serve to interest a few others in playing with...
31  août     17h43
Python Version Support Ideas
   As a general rule, I don’t like to just stop supporting Python releases just for the sake of deprecation. I try to be relatively wide in the set of Python’s I’ll support for my libraries, with my current general rule being . , . . Why those Well, . is still on RHEL Centos for another year...
30  août     22h53
Cleaning up the PyOpenGL Demos
   Spent a bit of my second last day of vacation cleaning up the PyOpenGL Demos so that they run with current Python ., PyOpenGL, numpy and PIL and can be installed as a package rather than only being usable via a git checkout. There were a few bits of bit rot, mostly around ctypes no longer...
07  août     14h19
What’s with the bot fodder on planet python?
   It seems that someone has created a script to generate posts of the form ModuleNotFoundError... with a generic so install the package article body. I can only imagine this is to get Google ranking. But why is it on planet python It’s a hell of a lot of spam when almost everyone following...
12  mars     14h19
Go Lang Impressions after 2 Months
   So for work I’ve needed to learn GoLang, which I’d always before picked up, kicked the tires and said meh on. A few months now of working with it pretty much daily have upped the meh quite a bit. To be clear, I’d choose Go over raw C, but I’d likely pick modern C over Go. Channels and...
14  octobre     12h06
Groundhog Day: Outside the Burrow
   Groundhog Day is a great movie. What I’d like to see is a Groundhog Day edit sitting next to Groundhog Day in Netflix which is just the movie cut such that it is the timeline as seen by an in world viewer that is not part of the time loop. That is, you see the setup, then jump forward to the last...
28  août     04h32
Social Cost of Carbon and Ethics
   It is unreasonably frustrating to me that discussions of the Social Cost of Carbon by Economists are seemingly using models that read like a Libertarian’s Fancy Footwork to Excuse Desired Behaviour. Basically, by deciding that we value the lives of our children and children’s children less than our...
10  juin     13h26
Django Field Rename Migrations and Test Cases
   Is there some trick to running Django test cases when you’ve got a RenameField later in the migration stack I feel like this has to be some obvious thing I’m missing... With a migration say big restructure.py which does this: migrations.RenameField model name ’rfsource...
05  juin     12h28
Seems Time Warps have Infected the Blog
   Just randomly clicked through a similar posts link and found an article that was actually published in claiming to be published in . Clicking through more random links, it seems that every article that existed when I moved the blog to the new service on May th of last year got the...