- Cython Gotchas
- Replacing Cython with C++ - example
""" plot_my_weight.py | |
This is a simple scatter-and-line plot of my body weight at various times. The challenge is that | |
the data is very irregular. This program reads in a CSV of this form: | |
datetime,weight(lbs),Steps,Meals,Calories,Run (km),anything,else... | |
2010-02-18,165 | |
2010-02-25,156.6 | |
2010-03-11,154.4 | |
2022-06-22,159.1,10000,2,1500,5,... |
// Log in to Reddit, open you comment page, and paste this into your Console. Done | |
var $domNodeToIterateOver = $('.del-button .option .yes'), | |
currentTime = 0, | |
timeInterval = 500; // minimum time between deletes | |
$domNodeToIterateOver.each(function() { | |
var _this = $(this); | |
currentTime = currentTime + Math.floor(Math.random() * timeInterval) + timeInterval; |
FROM ubuntu:20.04 | |
RUN apt-get update && \ | |
apt-get install --no-install-recommends -y python3-pip python3.8-dev && \ | |
apt-get install vim && \ | |
apt-get install git |
It is 2020 and for some reason I don't have a robot cleaning up after me.
What gives? I'm lazy and want to future already.
My requirements:
- Cheap. - Well, as cheap as I can get.
- No spyware. - I don't want this thing to have wifi or phone home to it's parent corporation. I am it's parent.
Step 1: Remove this robe
Step 2: Add an unrandart based on Quicksilver Dragon Scales
Let's take stock of the kinds of unrandart armors we currently have. If you ignore what makes them unique, the base armour types are:
- ErgoDox EZ
- Dactyl ErgoDox - search for "Dactyl"
- Angband (C)
- Angband.live - online!
- Brogue
- Cataclysm-DDA (C++ / Python)
- DoomRL
- Dungeon Crawl Stone Soup (C++)
- Dwarf Fortress
- one.two.github.io - online!
Often, in the process of writing for fantasy, we need to create little towns and villages. I feel like these are rarely practical or realistic creations. But why not? There are so many resources to draw from. Let's look at some little villages, particularly old ones, and see what they look like.
This is a village so iconic it inspired one of the first horror / sci-fi novels. There is a creepy-ass castle over-looking a tiny village that winds along a little river in a deep valley cut through the mountains:
digraph distros{ | |
rankdir="LR"; | |
node [color=lightgrey, fillcolor=lightgrey, shape=note] | |
Ubuntu [color=purple]; | |
"Scientific Linux" [color=green]; | |
CentOS [color=Orange]; | |
Kali [color=CornflowerBlue]; | |
Raspbian [color=red]; | |
Linux -> Debian; |