jared tame

there is no spoon. 

jtame.com - at some point, the hacker's profile

i'm a bit tied up with my graffitigeo.com work, but i will eventually be interested in giving hackers a profile as an extension of hndir.com that looks attractive and is simple enough to point people to when they want to know "what it is you do."

i spent a few hours tonight playing with the concept and came up with this.  want to experiment with this?  shoot me an e-mail and i'll give you a copy of the code (just remember to link back to me).  you can actually steal the code right now, but i would appreciate some credit if you use it.

Comments [1]

more music for hackers

i'm a huge techno/electro fan. i find it to be most helpful when i need to be creative. a few places to go if you're a music junky like i am, which I highly recommend:

grooveshark - go here if you have some mainstream music you want to listen to (my music collection here)

thesixtyone - go here to discover newer, underground, independent music (my music collection here)

still need a way to share some of my itunes collection, which also has some killer playlists.

Comments [0]

class dumper for objective-c apps

was skimming through phrack66 and found what seems like a nice class dumper.  i've seen them before, but i always want to bookmark this stuff for myself personally.

Comments [1]

navigator.geolocation - get user's location from the browser

Comments [0]

tron visuals == amazing

i like neon+dark (hndir and graffiti reflect this).  check out these screen shots from the tron legacy trailer.

Comments [0]

adrenaline rush: biking down webster tube

i remember trying to get from san francisco to alameda, and the scariest moment in my life was biking down webster tube.  it's this underground, very narrow, dimly lit, 2 lane/no shoulder tunnel that connects alameda to berkeley.

i was literally screaming the entire stretch, every time a car passed me i swore i was going to be run over (the tunnel makes the cars sound even louder).  i had no helmet, no reflectors, nada.

here's the starting point:
View Larger Map

and here's the end point:
View Larger Map

if you want an adrenaline rush, try that one.  especially if you have any sense of claustrophobia.

Comments [1]

#pahackerhouse

Sent from my iPhone

Comments [0]

easy way to do hex -> uiColor in xcode

saw a cool discussion on apple's support forums.  one of tedious things is the way UIColor works.  you can just insert your RGB values and append /255.0 to let xcode run the calculations for you:



yourLabel = [[[UILabel alloc] initWithFrame:CGRectMake(260.0, 250.0, 175.0, 25.0)] autorelease];
// orange
yourLabel.textColor = [UIColor colorWithRed:255.0/255.0 green:127.0/255.0 blue:1.0/255.0 alpha:1.0];


Comments [1]

photoshop exporting dull colors?

i'm not sure why, but i've had problems with photoshop lately where it's exporting dull colors.  great article on fixing this: http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/

Comments [0]

using ruby sockets to find ip addresses

i'm surprised it's this verbose to find your ip address in ruby, but here it is:

require 'socket'

def local_ip
  orig, Socket.do_not_reverse_lookup = Socket.do_not_reverse_lookup, true  # turn off reverse DNS resolution temporarily

  UDPSocket.open do |s|
    s.connect '64.233.187.99', 1
    s.addr.last
  end
ensure
  Socket.do_not_reverse_lookup = orig
end

# irb:0> local_ip


# => "192.168.0.127"

also, try this one out too if you're using a specific port:

def index
@local_ip = local_ip
    if @local_ip == "192.168.1.12"
      @local_ip = "localhost:3000"
    end
end

 

edit: as it turns out, you will almost never need to do this.

Comments [0]