Text  |   31 August 11 | 6 notes

I AM GEEK!

class IskolarNgBayan():

    student_number = None

    def set_sn(self, student_number):

        self.student_number = student_number

class RodXavier(IskolarNgBayan):

    name = ‘Rod Xavier R. Bondoc’

    birthday = ‘April 7, 1992’

    nickname = ‘Txavi’

    description = ”’

                11 Facts about Rod Xavier

                1. He is a fun-loving crazy guy who loves to draw the infinity symbol while in class.

                2. He is a self-proclaimed math enthusiast who enjoys seeing numbers and variables, and he even dreams of solving math problems while asleep.

                3. He is a geek. For example, if you believed that it’s really 11 facts, convert it to binary and you’ve been trolled. XD”’

    def get_profile(self):

        self.set_sn(‘2008-02531’)

        return ((‘%s: %s\n%s: %s\n%s: %s\n%s: %s\n%s:%s’) % (‘Name’, self.name, ‘Birthday’, self.birthday, 

                 ’Nickname’, self.nickname, ‘Student Number: ‘, self.student_number, ‘Description’, self.description))

def main():

    rod = RodXavier()

    print rod.get_profile()

if __name__ == “__main__”:

    main()

#NAINGGIT AKO SA MGA GUMAGAWA NG WRITE-UP. Aga ko nagpasa eh. :))

#I-run mo pa yan, gagana yan. :))

Link  |   Posted: 10:03 PM | 4 notes

Reblogged: nicoledear

Video  |   Posted: 11:10 AM | 10 notes

ubersuperduper:

This is the Wacom Inkling which aims to merge the digital and traditional creative process in a bold new way. 

From Wacom’s Product description:

“The Inkling digital sketch pen captures a digital likeness of your work while you sketch with its ballpoint tip on any sketchbook or standard piece of paper. Designed for rough concepting and creative brainstorming, Inkling is ideal for the front end of the creative process. Later, refine your work on your computer using an Intuos4 tablet or Cintiq interactive pen display.

In addition to capturing your sketch, stroke by stroke, Inkling allows you to create layers in digital files while you sketch on paper. Digital files are transferred to your computer using the Inkling Sketch Manager software, and later, exported to applications such as Adobe® Photoshop® and Illustrator®. Files can also be opened with the included Inkling Sketch Manager software to edit, delete, add layers or change file formats.”

Can’t wait to try this out some how though being restricted to only ballpoint pen is a bit of a bummer. 

via. Comics Alliance

This will change the world.

Reblogged: ubersuperduper

Video  |   30 August 11 | 8 notes

granulator:

Cleverbot finally talks to itself about God. Via

Brilliant. Just brilliant.

Reblogged: granulator

Text  |   Posted: 11:17 AM | 7 notes

so, in my last class of programming paradigms we had to code some stuff and we used tuples

aelur:

I TOLD MY FRIEND

“THESE ARE DIFFERENT TYPES OF DATA. WE CAN’T SIMPLY USE A LIST. WE MUST GO DEEPER

“YOU CAN’T MEAN… NO, NO ONE HAS EVER DONE THAT BEFORE!”

“I DID IT ONCE… WE MUST DO IT. A TUPLE OF TUPLES.”

TUPLEPTION


This deserves to be reblogged. Haha. TUPLEPTION FTW!

Reblogged: avendettaagainstdaddy-deactivat

Tags: programming

Text  |   24 August 11 | 23 notes

derivation of Binet formula for Fibonacci number ƒ(n)

literatelobstersareliterate:

derivation of Binet formula(Derivation)

The characteristic polynomial for the Fibonacci recurrence $f_n = f_{n-1}+f_{n-2}$ is\begin{displaymath} x^2 = x +1. \end{displaymath}

The solutions of the characteristic equation $x^2-x-1=0$ are

\begin{displaymath} \phi=\frac{1+\sqrt5}2,\qquad \psi=\frac{1-\sqrt5}2 \end{displaymath}
so the closed formula for the Fibonacci sequence must be of the form
\begin{displaymath} f_n = u\phi^n +v\psi^n \end{displaymath}
for some real numbers $u,v$. Now we use the boundary conditions of the recurrence, that is, $f_0=0, f_1=1$, which means we have to solve the system
\begin{displaymath} 0=u \phi^0 +v\psi^0, \qquad 1=u\phi^1 + v\psi^1 \end{displaymath}
The first equation simplifies to $u=-v$ and substituting into the second one gives:
\begin{displaymath} 1=u\left(\frac{1+\sqrt5}2\right) - u\left(\frac{1-\sqrt5}2\right) = u\left(\frac{2\sqrt{5}}2\right)=u\sqrt{5}. \end{displaymath}

Therefore

\begin{displaymath} u=\frac{1}{\sqrt5},\qquad v=\frac{-1}{\sqrt5} \end{displaymath}
and so
\begin{displaymath} f_n = \frac{\phi^n}{\sqrt5}- \frac{\psi^n}{\sqrt5}=\frac{\phi^n-\psi^n}{\sqrt5}. \end{displaymath}

(source: PlanetMath)

Reblogged: fuckyeahfibonacci

Video  |   16 August 11 | 3 notes

piddleprotreats:

TEDxAddis - Jelani Nelson - Streaming Algorithms (by TEDxTalks)

Wow. This is interesting!

Reblogged: piddleprotreats

Likes

kontantkort