Category Archives: Hacks

hack the world

My Entrepreneur Ideology

In this day and age, it seems that entrepreneurship is something mainstream. Everybody is saying they want to be an entrepreneur - just because it was popular. Well, I want to say that I was an entrepreneur before it got popular.  I’d like to talk about the traits to become an entrepreneur. I shall explore into how the thinking process of a true entrepreneur differs from that of wannabes. I consider myself a true entrepreneur, and not a wannabe. I will attempt to list out the traits I think that would make me a true entrepreneur, and then describe and recollect my related experiences with that aspect.

My ideology is that you need to have a grand goal to work towards to in life.

  1. One must be ready for an adventure. And this concludes the first trait of an entrepreneur. You must be up for an adventure. There isn’t a straight path to getting something you want. I think it’s most important for one to have a focus and general target. Then work towards that target in any method or path possible. With a target and determination (and lots of elbow grease), one can attain the goals.
  2. Continue reading


Playing around with an Arduino today, programmed it to count down. Very simple, I know, but it is just introduction to the usage.
This article is not meant to be a tutorial. It is to remind myself of what I did.

The arduino programming IDE basically just C++ with a different namespace. And a little deviation. You don't need things like #include , and don't need a int main(int argc, char** argv) program.



Continue reading

2600 HOPE Conference 2012

2600 HOPE Conference 2012

Well, it's been a long time since I've updated my website. I was going through my old photos, and I found an album from the 2600 conference, HOPE number 9. I was looking forward to this trip for the past 6 months, I had gathered up some interested friends and all together there were 5 of us.

The old school phreakers did a live demonstration of social engineering on some random poor pizza store.


Python Tutorial to serial programming

Python Tutorial

Edit Jan 29 2013: This site has gained some significant traffic, according to google. If you search "pyserial tutorial" this page is 3rd up. So hence I will edit and make it a bit more understandable, seems like there is actually a need for this!

This tutorial describes the process of connecting to a spectrometer over serial port, and writing a python program to automate collection of data. Normally we would need to enter in the wavelength and acquire the (transmittance/absorbency/concentration) result manually. Since the spectrometer has a serial port, we can write a program that automates this process. In order for python to be able to talk to the spectrometer, we need to get pySerial, which extends Python's capabilities to include interacting with a serial port.

In this python tutorial, I will explain how to:

  1. How to configure Python and pySerial
  2. Verify serial port communication, with a spectrometer device
  3. Write some functioning code in Python and use the spectrometer

Continue reading

Circuit board that displays the digits of e

Circuit board display first 16 digits of e

This is the final project for our CP 120 Digital Electronics lab. We are to build a circuit board display first 16 digits of e. It takes in a number (the nth digit) and output that digit of e.

In general, we create the logic equation, reduce it with Karnaugh map, program it with a complex programmable logic device (CPLD), and wire it all up to light up a 7-segment display.

Let's start:

How does one simplify the work of creating outputs to a 7-segment display?
Traditionally, you'd have to use k-maps, and repeat the process for each lighting diode. This means a lot of errors could result.

So how does one automate the process of creating equations?

Let's start of by defining:

  1. Inputs
  2. Outputs

Continue reading