Skip to content

Instantly share code, notes, and snippets.

@jacobh
jacobh / gist:1370732
Created November 16, 2011 17:25
Film Photography 101

Film Photography 101

After seeing so many repetitive questions in the film photography thread on facepunch I've decided to write a bit of a crash course into film photography. I've been using film for about a year now, and I'm loving it; most of what I'm going to say is based off either what I've discovered, or what far more experienced friends have taught me.

Some parts such as reccomendations are going to be, by nature, biased, as I'm inclined to reccomend stuff that I've used and can trust. Don't think that because I haven't listed something that means it's instantly terrible.

Cameras

The first question when looking at getting into film photography is which camera should I buy? This answer will vary from person to person, situation to situation, so I'm going to try to give a bit of a rundown of the various different types of cameras, and situations where they are best used.

@jacobh
jacobh / gist:1652223
Created January 21, 2012 09:51
animation loop finder
width = 1920
second = 1
int_a,int_b,int_c,int_d,int_e,int_f = 384,320,240,192,160,128
a,b,c,d,e,f = int_a,int_b,int_c,int_d,int_e,int_f
status = 'fail'
while status == 'fail':
if a%1920==0 and b%1920==0 and c%1920==0 and d%1920==0 and e%1920==0 and f%1920==0 and f>=3840:
/usr/include/libkern/OSAtomic.h:258: error: declaration for parameter ‘OSAtomicOr32OrigBarrier’ but no such parameter
/usr/include/libkern/OSAtomic.h:245: error: declaration for parameter ‘OSAtomicOr32Orig’ but no such parameter
/usr/include/libkern/OSAtomic.h:235: error: declaration for parameter ‘OSAtomicOr32Barrier’ but no such parameter
/usr/include/libkern/OSAtomic.h:222: error: declaration for parameter ‘OSAtomicOr32’ but no such parameter
/usr/include/libkern/OSAtomic.h:160: error: declaration for parameter ‘OSAtomicAdd64Barrier’ but no such parameter
/usr/include/libkern/OSAtomic.h:147: error: declaration for parameter ‘OSAtomicAdd64’ but no such parameter
/usr/include/libkern/OSAtomic.h:103: error: declaration for parameter ‘OSAtomicAdd32Barrier’ but no such parameter
/usr/include/libkern/OSAtomic.h:90: error: declaration for parameter ‘OSAtomicAdd32’ but no such parameter
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h:391: error
@jacobh
jacobh / battery.scala
Created February 27, 2012 19:04
Beginning Scala Exercise
class Battery(ampsC: Int, mahC: Int) {
val amps: Float = ampsC
val mah: Float = mahC
def cRating() {
val result = amps * 1000 / mah
result
}
@jacobh
jacobh / java.java
Created March 4, 2012 07:54
AircraftID Exercise
public class AircraftID {
public String registration;
public Pilot pilot;
public class Pilot {
public String name;
public int weight;
@jacobh
jacobh / gist:1975938
Created March 5, 2012 01:50
karma cost
def karma_cost(self):
n = self.karma_transactions.filter(
created_ts>=datetime.utcnow() - timedelta(days=3)
).count()
return pow((n * 5), 1.5) + 25
BEGIN;
CREATE TABLE "feeds_feed_owners" (
"id" integer NOT NULL PRIMARY KEY,
"feed_id" integer NOT NULL,
"user_id" integer NOT NULL REFERENCES "auth_user" ("id"),
UNIQUE ("feed_id", "user_id")
)
;
CREATE TABLE "feeds_feed" (
"id" integer NOT NULL PRIMARY KEY
# /feeds/
[
{
"pk": 2,
"model": "feeds.feed",
"fields": {
"school": null,
"code": "5551609730",
"description": "this is the english lit feed",
"title": "English Literature",
@jacobh
jacobh / gist:2167863
Created March 23, 2012 07:01
Planning Report Table
<table><tbody>
<tr class="first">
<td colspan='7'>Crop</td>
</tr>
<tr class="second">
<td></td>
<td>Barley Feed</td>
<td>Barley Feed</td>
<td>Barley Feed</td>
<td>Barley Feed</td>
%!PS-Adobe-3.0
%%Creator: groff version 1.19.2
%%CreationDate: Sat Mar 24 03:12:37 2012
%%DocumentNeededResources: font Times-Bold
%%+ font Courier-Bold
%%+ font Times-Roman
%%+ font Courier-Oblique
%%+ font Symbol
%%+ font Courier
%%DocumentSuppliedResources: procset grops 1.19 2