Skip to content

Month: September 2025

Those panels in Persepolis

Persepolis is an autobiographical graphic novel series by Marjane Satrapi, chronicling her childhood and adolescence in Iran and Austria during and after the Islamic Revolution. You can usually find it between the top 10 best comic books of all times, in any good list.

There is a particular small sequence of panels that’s not particularly important to the plot but really stuck with me. Itt comes back to my mind once in a while.

Simple japanese lantern in OpenSCAD

Blender rendering:

Blender rendering of a simple japanese lantern in OpenSCAD

OpenSCAD definitions:

alpha=1;

module chamber() {
    translate([0,0,2])
    scale(v=0.8)
        difference() {
            cube([3,3,3]);

            translate([0,1,1])
                cube([3,1,1]);

            translate([1,0,1])
                cube([1,3,1]);
        }
}

module pedestal() {
    cube([1,1,1]);
    translate([0,2,0])
        cube();
    translate([2,0,0])
        cube();
    translate([2,2,0])
        cube();
    translate([0,0,1])
        cube([3,3,1]);
}

module hat() {
    translate([1.25,1.25,4.25])
        rotate(45)
            cylinder(1,3,1,$fn=4);
}

color("lightblue", alpha)
    translate([-0.25,-0.25,0])
        pedestal();

color("lightgreen", alpha)
    chamber();

color("lightcoral", alpha)
    hat();

Live demo

commuting calculations

How much does it cost me per day and per month to drive to work.

home_to_work = 5.4 miles (~8.7 km)
work_to_home = 5.8 miles (~9.3 km)
round_trip = home_to_work + work_to_home = 11.2 miles (18 km)
car_mpg = 14 mpg

gallons_per_trip = round_trip / car_mpg = 0.8 gallons
gallons_price = $3
gas_cost_per_trip = gallons_per_trip * gallons_price = $2.4

parking = $10.50 (after subsidies)

commute_per_day_by_car_cost = parking + gas_cost_per_trip = $12.9
commute_per_month_by_car_cost = commute_per_day_by_car_cost * 20 = $258

Parking is the dominant cost. My car mpg is terrible, however that barely makes a dent on the costs.