February 2012
8 posts
3 tags
Rising →
This is why Lisp is better, compare. CLISP: (setq tuples ()) (do ((n (read *standard-input* nil) (read *standard-input* nil)) (k (read *standard-input* nil) (read *standard-input* nil))) ((null n)) (setq tuples (append tuples (cons (list n k) nil)))) (sort tuples #'<...
Feb 25th
5 notes
3 tags
Paul Graham's LISP Code →
Love reading different people write LISP, since the language really tailors to the person everybody has significantly different LISP code - it’s a window into the mind of another person.
Feb 23rd
3 notes
Rising →
This contest is open to all. This is the warm up problem. http://www.csupomona.edu/~carich/programming_contests/ please feel free to participate instructions
Feb 17th
2 tags
Airplanes are Coded in Fortran IV
if you weren’t afraid of flying before.. when the plane goes down, what are they gonna do? “Hold on while I put in these punch cards- oh no!I dropped them, we’re all gonna die” lol http://en.wikipedia.org/wiki/USAF_Digital_DATCOM
Feb 16th
6 notes
3 tags
Markets are efficient if and only if P = NP →
http://arxiv.org/pdf/1002.2284v2 this is why it is important to be a theoretical computer scientist, cuz then you can apply it to shit like this.
Feb 16th
5 notes
2 tags
Feb 15th
3 notes
3 tags
WatchWatch
What - the - fuck ?
Feb 3rd
2 notes
2 tags
Walk the Line Problem →
(defun factorial (n) (cond ((> n 1) (* n (factorial (- n 1)))) (t 1))) (defun combination (n k) (/ (factorial n) (* (factorial k) (factorial (- n k))))) (do ((n (read *standard-input* nil) (read *standard-input*...
Feb 1st
January 2012
13 posts
3 tags
Currying →
Up until now, I was under the impression that Currying in anything other than Haskell or Lisp was a pain in the ass. I’m impressed.
Jan 31st
1 note
3 tags
Everything should just be under the GPL →
Jan 31st
3 notes
Jan 28th
2 notes
1 tag
Jan 25th
2 tags
Lack of Functionality
you know I really wish there was a heart or comment button for some of the comments you guys leave. Honest, so I can be like - YES this is the mentally the world needs. The problem is, Tumblr would become a bbs and would no longer be interesting. Like the one that got away, tumblr leaves you wanting…it’ll keep you here forever.
Jan 11th
1 note
1 tag
Linux from Scratch →
This should be your new bible. In all seriousness this is probably one of those most complete and useful (and actually understandable) knowledge-base for this kind of stuff that I have seen in a very very long time.
Jan 11th
23 notes
3 tags
“Well, I mean, if there was a Computer Science emergency….”
Jan 10th
3 notes
5 tags
Jan 6th
17 notes
justasmalltownteen asked: I have the 4s, and the 5.1B sucks balls. You think when the final release is out the battery problems are gonna be fixed? cause as far as im concerned iphone 4 battery> iphone 4sbattery
Jan 6th
2 tags
Shades Problem →
#!/usr/bin/perl @data=<STDIN>; @translucentFactor; @opaqueFactor; @lightFactor; for ($i = 0; $i < 10; $i++) { $lightFactor[$i]=100; $translucentFactor[$i]=0; $opaqueFactor[$i]=0; } foreach (@data) { chomp ($_); @process=split(/ /, $_); &processInput($process[0], $process[1], $process[2]); &calculateTotalLight; } sub processInput { my $shade = $_[0]; my...
Jan 6th
208 notes
2 tags
Bar Code Problem →
import java.util.Scanner; class Barcode {    public static void main (String [] args)    {        Scanner sc = new Scanner (System.in);        int x = sc.nextInt();        int [] inventory = new int[x];        int [] cost = new int [x];        for (int i = 0; i < x; i++)        {           inventory[i] = sc.nextInt();           cost[i] = sc.nextInt();        }        int total = 0;        int...
Jan 6th
84 notes
2 tags
Change Coin Problem →
(do ((n (read *standard-input* nil) (read *standard-input* nil))) ((null n)) (format t "~A cents:~%" n) (mapcar #'(lambda (x) (let ((cents (floor (/ n x)))) (cond ((> cents 0) (format t "~A x ~A cents~%" cents x) (setf n (- n (* cents x))))))) '(25 10 5 1)) (format t "~%"))
Jan 6th
130 notes
1 tag
Normalcy
This blog will continue business as usual.
Jan 6th
December 2011
9 posts
1 tag
Tumblr needs a hover text option for posted photos
reblog/like if you agree, if enough people do it maybe NY headquarters will see it and get off their lazy asses and write the ALL OF TWO lines it takes to do hover-text.
Dec 21st
15 notes
Dec 21st
2 tags
Dec 18th
376 notes
3 tags
Edison Shooting →
Words cannot describe how hard my day at work was today. Even worse, words cannot console my co-worker/friend.
Dec 17th
9 notes
3 tags
Dec 16th
Quantum computing device hints at powerful future... →
scinerds: It uses the strange “quantum states” of matter to perform calculations in a way that, if scaled up, could vastly outperform conventional computers. The 6mm-by-6mm chip holds nine quantum devices, among them four “quantum bits” that do the calculations. The team said further scaling up to 10 qubits should be possible this year. Rather than the ones and zeroes of digital...
Dec 13th
230 notes
4 tags
Dec 8th
3 tags
update
if you’ve been wondering where the posts have been, I’ve been busy constructing a framework for SOAP integration on an iOS application. It’s the reason stuff like wsdl2objc exists, SOAP is essentially completely unsupported by Cocoa or Objective-C. You need to either generate it or write it yourself, depends on the project spec. And even if you generate it, you still have to...
Dec 7th
37 notes
3 tags
Dec 4th
November 2011
25 posts
2 tags
Come on!
The higgs-bugson, that’s fucking funny! Fuck you you didn’t come up with it. 3 notes, tough crowd. edit* lol, this isnt a whine and bitch post, I legitimately thought it was funny.
Nov 29th
1 note
1 tag
new programming jargon →
heisenbug is my favorite one xD that should’ve totally been #1 edit* nvm it’s actually the Higgs-Bugson lol
Nov 29th
Nov 24th
16,302 notes
4 tags
Google's Python Class →
Nov 24th
19 notes
2 tags
Nov 23rd
9 notes
1 tag
“Perl is worse than Python because people wanted it that way.”
– Larry Wall
Nov 22nd
10 notes
2 tags
Nov 22nd
3 notes
2 tags
Nov 20th
29 notes
3 tags
Nvidia Drivers
Nvidia’s relationship with Linux is like my relationship with Mac users that iOS is actually a superior OS, I’ll do something for you but I’m gonna make it difficult and annoying every step of the way because I don’t like interfacing with you. At any rate KDE is now running smoothly, except the refresh rate needs tweaking, it’s supposedly clocking in 60 hz (59.95 to...
Nov 15th
2 notes
Nov 14th
2 tags
Nov 14th
6 notes
Free Lisp Book →
Paul Graham’s - On Lisp
Nov 12th
1 tag
Segment: Linux for Poets
“Rogue Fox”                                                                                                                                                     kill `ps -ef                                                                    | grep -i firefox |                                                             awk -F” ” ‘{ print $1 }’`
Nov 12th
1 tag
Segment
I should start a segment called, Professor or Bum.
Nov 10th
4 tags
Nov 9th
39 notes
1 tag
WatchWatch
Whut..the…fuck… Am I doing it wrong? lol
Nov 9th
Nov 8th
2,582 notes
1 tag
Genetic Algoritms
can’t come to a conclusion as to whether or not my GA is poorly implemented, it converges at around 30 seconds for n-queens w/ a real solution which I’m sure is slow…but it is written in CLISP…
Nov 8th
Nov 7th
968 notes
Anonymous asked: Install Gentoo. You know It be true. You can feel It in your heart. You can use genkernel If you're really pressed for time.
Nov 7th
1 note