Making Things With Maths (Steven Wittens at Full Frontal 2012)
25 Jun 2014Steven Wittens talks about having an enjoyable experience with math and what he does with it.
Steven Wittens talks about having an enjoyable experience with math and what he does with it.
After 6 years at my job working as a web developer I decided to take a break and go back to university. To the University of Applied Science in Salzburg to be precise. I’ll get a master’s degree in Multimedia Technology and solidify what I learned in practice while working in that field and go way outside my comfort zone by getting deeper into computer science, machine learning, project management, etc.
After six years of service my Macbook Pro (2006) is broken. It was in a shoddy state for a while, but now it’s time for retirement.
This new iPhone 4S will relieve my iPhone 3G of its duty. When helping a friend move into his new place it started raining and somehow water got between the actual screen and the covering glass resulting in a lot of pixel errors. The new iOS versions make it slower and more frustrating to use.
Chase Jarvis interviewing Jasmine Star about her life as a wedding photographer. They talk about how she got started, the meat of the business and the challenges she faces.
BERG did a brief image video for Dentsu London. It involves using iPads, long term expsure and stop motion.
Chase Jarvis and his crew share some insights about their workflow from camera to final product - always with data redundancy in mind.
An amazing timelapse of what went down in Iceland.
Sometimes it might be necessary to chop up a large file into several parts (e.g. to place it on drives that are to small for the whole file). Keep in mind that corruption to any of the parts will result in a corrupt file once it is stiched back together.
To split a large file:
split -b 1m /path/to/large/file /path/to/output/file/prefix
-b
defines the size of the chunks (1m stands for 1 megabyte). Please refer to man split
for all the options the tool offers.
This will give you a bunch of files whose names start with the defined prefix and a incremental suffix (starting with aa
depending how many parts need to be created).
To join the parts back into one file:
cat prefix* > new_filename
Be careful with these commands, you can lose a lot of data quickly! Be mindful of the required disk space for any of those operations!
With Unix tools its pretty straight forward to create and play back images of hard drives.
Create an image of a harddrive:
dd if=/dev/hda of=/mnt/hdb1/myimage.img
Write the image back onto the harddrive:
dd if=/mnt/hdb1/myimage.img of=/dev/hda
wget -k -K -E -r -l 10 -p -N -F -nH -w 2 <http://website.com/>
-k
: convert links to relative-K
: keep an original versions of files without the conversions made by wget-E
: rename html files to .html (if they don’t already have an htm(l) extension)-r
: recursive… of course we want to make a recursive copy-l 10
: the maximum level of recursion. if you have a really big website you may need to put a higher number, but 10 levels should be enough.-p
: download all necessary files for each page (css, js, images)-N
: Turn on time-stamping.-F
: When input is read from a file, force it to be treated as an HTML file.-nH
: By default, wget put files in a directory named after the site’s hostname. This will disabled creating of those hostname directories and put everything in the current directory.-w
: Be a good neighbor and wait between requests (in seconds) to not overwhelm the serverVia StackOverflow
I followed an outdated tutorial to mount my hardrives in the fstab
with their assigned names (like /dev/hda1
). I found out the hard way that those names can change at any time, e.g. when plugging the harddrive into a different slot on the controller. I learned that it’s much safer to do this by labelling the harddrives and referencing those labels when mouting them.
First give your harddrive or partition a name:
sudo e2label /dev/sda1 big_mama
Now you can use the label in your /etc/fstab
(Add other parameters as needed):
LABEL=big_mama /Volumes/big_mama ext3
An uglier solution would be to reference the drives by their UUIDs but it will make fstab
a lot less readable and editing it after a while might get confusing.
The upside of this is: If you hook up a new harddrive to your controller or if you swap them, the system will still mount them into the right directories.