January 2012
75 posts
Clients from hell.
clientsfromhell: Me: Would you like it to be done the A way or the B way? Client: Yes.
Jan 30th
225 notes
Jan 30th
128 notes
Jan 30th
763 notes
Jan 30th
31 notes
Jan 29th
45,357 notes
Jan 29th
20,537 notes
5 tags
LastCalc
Today I discovered something called LastCalc. It’s very early stages, but it’s a kind of pattern matching, logic programming, functional programming system. I’ve been experimenting with it for a few hours, you can fork my results here: http://www.lastcalc.com/z6S1svwW To start a new sheet, just go to http://www.lastcalc.com/ The following is my declarations list so...
Jan 28th
3 notes
Jan 28th
553 notes
WatchWatch
fuckyeahterminals: Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically… edit* Someone took my two loves and married them.
Jan 28th
2 notes
clientsfromhell: Me: Did you want the font in cursive or something more simple? Client: I want it in English. Me: English is a language - cursive is a type of font we use. Did you want it to be fancy, or simple? Client: No! In English! Me: English it is then. 
Jan 27th
518 notes
Jan 27th
1,227 notes
Jan 26th
5,902 notes
6 tags
Euler #4 - Times
The following are timings for my solution to Euler #4, with varying number of digits: (go digit-count). user=> (time (go 1)) "Elapsed time: 0.605 msecs" 9 user=> (time (go 2)) "Elapsed time: 0.469 msecs" 9009 user=> (time (go 3)) "Elapsed time: 26.935 msecs" 906609 user=> (time (go 4)) "Elapsed time: 27.673 msecs" 99000099 user=> (time (go 5)) "Elapsed time: 329.71...
Jan 26th
1 note
10 tags
Euler #4 - Redo
Since realising my solution to Euler 4 was flawed, I started again! I worked out a method of generating value pairs in order of their product: [999 999] [999 998] [998 998] [999 997] [998 997] [999 996] [997 997] [998 996] [999 995] [997 996] etc... This way, the very first palindrome I come across, will most certainly be the largest! The following is my new code (no comments yet). The...
Jan 26th
1 note
Woah Crazy
Sick problem solving going on here.
Jan 26th
1 note
((Sign this....ACTA goes live tonight)) →
cloversfield: marcelinedrawsooo: please, everybody take a moment to sign this! 10000 away gogogogo
Jan 25th
11,440 notes
Jan 25th
252 notes
Jan 25th
399 notes
3 tags
WatchWatch
youranonnews: A must watch: PIPA and SOPA in 14 minutes 
Jan 25th
488 notes
2 tags
Poppycock
Realised my Euler 4 is wrong. Working on a fix!
Jan 25th
1 note
thedistanceinsidious asked: Second thought: sorry, breezed over it and read the time for a larger number. Carry on!
Jan 25th
1 note
thedistanceinsidious asked: Your solution to that problem is rather brilliant and remarkably fast. I'm quite impressed.
Jan 25th
2 notes
4 tags
Thomas Biddle | Personal Blog: In case anyone is... →
thomasbiddle: thedistanceinsidious: The smallest number evenly divisible by the numbers 1 through 20 is 232792560. There’s a cleverer way to find that than what I just went through, but for the life of me, all of the factoring knowledge that I have doesn’t help me under these circumstances. … This following is my attempt using Clojure. It’s pretty blitzing quick. ;...
Jan 25th
6 notes
Jan 25th
41,269 notes
I find it amazing just how many people mistake, or have been miseducated about, closures, lambdas, and anonymous functions. Simply amazing.
Jan 24th
2 notes
6 tags
Haskell v Clojure v Ruby - Euler#25 →
Jan 24th
14 notes
6 tags
HTML5 Please →
Use the new and shiny responsibly. Look up HTML5, CSS3, etc features, know if they are ready for use, and if so find out how you should use them – with polyfills, fallbacks or as they are.
Jan 23rd
8 notes
Jan 23rd
426 notes
5 tags
Project Euler: Problem 4 (Efficiently) - Clojure
Problem 4 is as such: A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 * 99. Find the largest palindrome made from the product of two 3-digit numbers. So naturally I decided to write a function which accepts a number of digits. To get the answer to problem 4, I would simply send the number 3 to my...
Jan 23rd
13 notes
Jan 23rd
77 notes
Jan 23rd
107 notes
Jan 22nd
737 notes
Progress
I’ve made some progress with a small section of my dissertation project in the previous few hours. I found a few references for building the infix expression to s-expression translator part of my project, and implemented the operator database and definition sections. Having to read through loads of CLISP with imperative assignments :( - attempting to convert it into Clojure code, then...
Jan 22nd
1 note
6 tags
resumable.js →
Jan 22nd
8 notes
7 tags
Extracting a Domain name
A friend queried me about extracting the domain name from a url string using JavaScript, as such: domain "http://www.google.com/blah" -> "www.google.com" I came up with the following regular expression to accomplish the job: ^(?:http://)?([^/?#]+) It ignores the ‘http://’ segment if it exists, and ignores anything after & including: ‘/’, ‘?’, and...
Jan 21st
8 notes
Jan 21st
146 notes
Jan 21st
3,807 notes
Jan 20th
1,489 notes
Jan 19th
26,186 notes
Whoa, guys, they just shut down Megaupload and... →
mrlinux: shortformblog: The Federal Bureau of Investigation moved against a group of suspected online pirates Thursday, targeting the popular file-sharing website megaupload.com a day after Washington lawmakers were besieged by complaints about legislation designed to crack down on the online sharing of pirated copies of music, movies and other material, people familiar with the matter said. ...
Jan 19th
6,015 notes
Jan 18th
313 notes
Jan 18th
103,964 notes
contemplatingstardust:
Jan 17th
302 notes
WatchWatch
ephan331: jimmynle: Lol! LOOOOOOOOOOOOOOL HOLYSHITHAHHAH Ahaa, that was awesome.
Jan 17th
94,976 notes
Jan 17th
2,282 notes
Jan 16th
187 notes
Jan 16th
310,834 notes
Jan 12th
1,818 notes
1 tag
Jan 12th
1 note
4 tags
How to add Google Fonts in the Wordpress post... →
Jan 12th
9 notes