May 2011
1 post
jorenh asked: Hi!
I've been busy lately building a digitalized version of Rubik's Cube in Matlab. Up untill now, I mainly worked on the appearance and interactibility of the program, but ofcourse I want to solve it eventually...or rather let it solve itself. Since I don't know anything about solving Rubik's cube, I thought of writing a genetic algorithm. When I googled this to see if...
May 10th
April 2011
2 posts
Apr 29th
4 notes
2 tags
Sudoku Solver / Generator
Yesterday I wrote a simple Sudoku solver. I’m thinking of using it to generate sudokus. I’ve run the program against a “very hard” puzzle at http://www.conceptispuzzles.com/index.aspx?uri=picture/1045 and it solves this in ~0.2 seconds on my Macbook. I think this is probably slow. Anyone else made a backtracking Sudoku solver that’s faster? The brief idea behind a...
Apr 3rd
6 notes
March 2011
3 posts
4 tags
MongoDB and Heroku - Anagram search
So I’ve finished my anagram finder thing and it’s fast. http://anagrams.heroku.com/ It hardly has any design to the page as I’ve not had time to do that. It’s backed with MongoDB and searches documents of the form { word: “LOLCATZ”, lookup: “acllotz” } with an index on “lookup” so it’s fast. Some issues that I had was the permute...
Mar 13th
17 notes
4 tags
MongoDB is fast
Inserted 8,087 small documents in 6.1125 seconds from a small Sinatra ruby app. I decided to get familiar with MongoDB since I plan to use it in a product that I’m working on (was going to go with Redis but realized that’s a hack and while it works I haven’t been able to figure out an easy geospacial thing with Redis). A while ago I made a post about how NoSQL isn’t always...
Mar 13th
1 note
Purposely tired
Today was kind of boring. The night was also kind of boring. I’m not even all that sure what I did. I do know I did some reading. I was going to make a simple link shortener thing but decided that would be a wasted effort since there are so many out there it may be unoriginal. I may make one for personal use, one that indexes the pages that it makes a shortened link for. That way I can find...
Mar 3rd
February 2011
2 posts
Haven't been on Tumblr in forever...
I need to post more interesting things. I’ve worked on a few things recently, one is a visualization of people’s friends at DeBakey at http://g23.co/visualize.html It works by simulating a system of springs and and point charges. Then using a gradient descent (Cal 3 FTW) it minimizes the potential energy of the system. It’s not so great though as their is no friction in the...
Feb 28th
1 note
2 tags
PageRank and social graphs
Recently the senior class voted on prom themes and there was also an additional field requesting people to select their friends. This was going to be used as an attempt to forecast possible winners of prom king and queen. My theory was that by using PageRank, an algorithm that Google uses to rank importance of a website, to determine the “most popular” people and thereby predict who...
Feb 2nd
1 note
January 2011
6 posts
Corona SDK is Awesome
I recently downloaded and started playing around with Corona. It’s really awesome. The Corona SDK allows developers to code for Android and iPhone using Lua, which is much more fun than Java. I’ve only made two really simple apps but I’ll soon have a more finished one for people to play with.
Jan 18th
2 tags
Tweet Classification
Recently I’ve been writing F# code to process and determine if a tweet is interesting based on previous tweets that I give it. It uses what’s called a Bayesian classifier to determine if a tweet goes into the interesting or boring category. I’ve learned a lot by writing this and it still doesn’t work exactly as I’d like. The problem is finding the right feature set to...
Jan 12th
1 tag
Jan 8th
362 notes
New Essay Strategy
Write a draft really fast using my own opinions, then find concrete details to support my own opinions. Finding ideas should be faster than processing tons of different ideas and choosing sources based on that. 280 words so far.
Jan 6th
2 notes
Good Twitter Clients?
Are there any (free) Twitter clients that display only interesting tweets? Like you tell it which tweets are interesting and then it’ll give an “interesting” stream and also the “full” stream? There seem to be a lot of tweets that I get that I don’t even read… If there isn’t a twitter client that does this I’ll just make my own (with CLIENT...
Jan 4th
Jan 3rd
1 note
1 tag
Tail Call Recursion
Recursion is when something is defined by referencing it’s self. Google has an amazing explanation for recursion, just Google search “recursion” (no need to click on any links even! it’s right there in Google). Tail call recursion is when something references it’s self at the end. It’s hard to explain so I’ll just explain by example. Lack of proper tail...
Jan 1st
2 notes
December 2010
13 posts
1 tag
Dec 29th
1 tag
Functional Programming Languages should be Eager
I think this is largely the reason Haskell is hardly used and other languages like OCaml and Lisp are more widespread. Functional programming languages aren’t very widespread, but of them, Haskell is hardly used outside of academia at all. I was thinking today why it’s not and why Lisp and ML based languages are (to some degree). Last night I was reading about a couple of Financial...
Dec 28th
1 note
a-bit-of-a-technicality-deactiv asked: "http://mr23.g23.co/"

How you do dat?
Dec 28th
1 tag
Lots of Tweets
I’ve done a small “survey” of publicly accessible tweets recently. I used Twitter’s Streaming API to download a small stream of tweets (about 1-2% of all tweets during that time) for a little over 3 hours the other day. The result was roughly 285 MB of JSON data, each tweet object is delimited by a newline. I wrote a small Python program to process these tweets and...
Dec 26th
4 notes
Reblog if you're a unicorn
Dec 26th
37,886 notes
3 tags
Dec 19th
467 notes
Easter (duck) egg
I’ve hidden a duck on my tumblr, try to find it!
Dec 15th
jQuery hacketry
I’ve subtly modified the tumblr theme that I have; scroll down and the sidebar thing will follow.
Dec 14th
1 note
New Site Design
check it out http://g23.co/
Dec 11th
I made a GitHub account!
And I’ve posted a simple full text search engine thing that runs on Node.js check it out. http://github.com/g23/CoffeeSearch
Dec 5th
1 tag
How to Search: Alpha Search Demo
I’ve been experimenting with full text in JavaScript (more precisely CoffeeScript which I encourage anyone who needs to write a good bit of Javascript to use). I’ve made a small (and I mean very small) demo using Node.js and my searcher at http://search.g23.co/ It searches the my school’s newspaper website, the DeBakey Pulse. The search demonstrates something very small. At the...
Dec 2nd
1 tag
Full Text Search Experiments
I’ve recently been interested in understanding how full text search works (i.e. search engines) so I’ve decided to write my own and will add it to the DeBakey Pulse once it’s working well. I’ve implemented an indexed searcher and a naive search both in javascript (well technically in CoffeeScript but that’s basically JavaScript and it’s faster and easier to...
Dec 1st
November 2010
17 posts
Facebook Video Chat →
My previous post was about this and it seems another blogger noticed it too.
Nov 28th
Facebook VideoChat?
It seems that Facebook has code in place for video chat Search (ctrl+f) http://static.ak.fbcdn.net/rsrc.php/zX/r/TV3fTTtYJQX.js for “VideoChat” and you’ll see many results. Seems that Facebook is working on video chat?
Nov 25th
A few things learned from PhoneGap
I’ve spent today coding an app using PhoneGap. It allows people to code a would be webapp and then deploy it as an app on the app market. It also gives the “webapp” super powers and enables it to access things like the accelerometer or the user’s contacts. The hardest part at first is dealing with errors. I wasn’t aware that in debug mode the android webview sent...
Nov 21st
3 notes
Mobile Phone Javascript Development
Today I’ve been coding a simple drawing app for Android (and possibly for iOS things) and it’s been difficult. The main difficulty is that rather than make my app with Java, the language that most Android apps are written in, I’m using PhoneGap to write my app in Javascript. This would seem easier, and likely will be eventually, but there is no error console that I’m aware...
Nov 21st
Question
New York City has lots of taxis, does that mean they don’t have a big problem with drinking and driving?
Nov 18th
3 notes
My Android Game demo →
Go there with your droid and try out my game. Still needs some work, shoot by tapping the screen.
Nov 15th
3 notes
Android vs iOS
Which is better? Which apps/games do you use regularly on your Android/iOS device? (exclude Facebook, the browser, and Youtube) I’m wondering this because I think the quality of apps on the iPhone are better than those on the Android Market.
Nov 14th
The Shadow Scholar →
Nov 13th
How to make a webcam intruder alarm with... →
Cool!
Nov 11th
The DeBakey Pulse
Has been recently been redesigned. The new layout should be familiar and easier to navigate. Also there is an “Ask Ms. Whizdom” box. Ms. Whizdom will answer your questions.
Nov 10th
4 notes
Nov 9th
44,267 notes
Chess Fail
I can’t seem to play chess today…
Nov 7th
3 notes
1 tag
Answer to my previous math ramblings
The first “open question” that I asked was why one can’t integrate things of the form cos(x^n) or sin(x^n) when n is larger than 1. This wasn’t a serious question, just something to think about. The way that I came to conclusion that it couldn’t be done is realizing that e^(x^n) can’t be done. By Euler’s extension of complex exponentials, e^øi = cosø + i...
Nov 6th
1 tag
Most girls in my class...
Are immature / annoying. I noticed this throughout the day. Anyway, I’m not mad about anything that happened today this was just something I noticed.
Nov 5th
6 notes
1 tag
Nov 5th
3 notes
1 tag
Today
Two cycloid Tuesday?
Nov 2nd
1 tag
Something to think about
Why can’t you integrate sin(x^n) dx or cos(x^n) dx if n is larger than 1? p.s. you can but you basically end up inventing functions, specifically why can’t it be done with elementary functions
Nov 2nd
October 2010
4 posts
dianarawrzx3-deactivated2011091 asked: Wanda? Peter Pan and Wanda?
Oct 26th
Oct 25th
12,194 notes
1 tag
Rant: Rumors and Other Nonsense
I was about to go to sleep, and probably should have, but I’m going to write this first. Apparently, at one point in high school, I have liked every Asian girl. I think this is interesting that people know so much about me when I used to not confide in anyone. I admit that at one time I did flirt and probably liked an Asian girl, but the list of names of people that I’ve liked keeps...
Oct 20th
4 notes
it seems like an unwritten requirement for being a...
I don’t completely agree with this statement. Sure you may lack religion but I don’t think you must logically have a “disbelief” in religion, especially for theoretical physics. The quirkiness of quantum mechanics for example is very strange and possibly unsettling, for instance Einstein’s quote “God doesn’t play dice with the universe”. Quantum...
Oct 15th
September 2010
8 posts
1 tag
Sep 29th
1 tag
Sep 29th