Showing posts with label General. Show all posts
Showing posts with label General. Show all posts

Wednesday, January 23, 2008

Adium SMS / Email Plugin "Improvements"

There's lots of things I should be blogging about:
  • My Christmas in Ghana
  • My job search and how its gone so far
  • My thesis (I'll finish setting up my thesis blog today)
  • My current coding exploits
For now I'd like to get my Adium plugin up and running before the semester starts
so its taking priority.

I corrected a bug in the original version thanks to advice from Peter Hosey.

I added Four Canadian service providers (Rogers, Telus, Fido and Bell Mobility) as per requests from users. With regards to service providers, many more can be added. The only problem will be testing since I personally don't have access to that many people in countries outside of the U.S. with cell phones. Here is my current policy: If you want a service provider added, let me know about it. I'll add only if you are prepared to test the smtp gateway and confirm that it works.

There is now support for AddressBook. I'm still maintaining a "Save Settings before Sending Email or SMS policy"; that might change depending on feedback. When
you open the Edit Email/SMS Settings window, there is a drop down text field.
If your contact is already in AB, I pull all their associated phone numbers and email addresses in the order in which they appear in AB. From there, you can select and save whichever email address or phone number you prefer.

Any and all feedback on the plugin is appreciated. I'll post the new source code shortly for critique but for now I just want feedback on the plugin proper. See previous plugin
posts
on how to use the plugin, what it does etc.

Note plugin is in beta stage. License can be found here

Download the plugin here

Saturday, October 13, 2007

Smallest Integer With Exactly K Divisors

So its been a while since I posted. I have to finish implementing 5 constraint problem search techniques for my AI class's Sudoku Solver project so this post will be short.
I have been browsing TopCoder in order to brush up on my programming skills. I ran across this problem that just wouldn't leave me alone. Its statement is really simple:

Given an positive integer k, find the smallest integer with exactly k divisors.
We denote this number by A(k).

Since we had learnt how to count the number of distinct positive divisors for a given prime factorization of a number in my combinatorics class,

(e.g. 2^2 x 3 x 5 = 60 has (2+1) (1+1)(1+1) = 12 distinct positive divisors. Here is a brief explanation ... to form a divisor you need a number that is some combination of multiples of 60's factors. You can either have 2, 4 or 1 as a first choice coming from the 2^2 => 3 choices , 3 or 1 coming from the 3 => 2 choices and 5 or 1 coming from the 5 => 2 choices. The total number of options you end up with is 3x2x2 = 12)

I noticed that the above problem was related to what we did. I proceeded to implement a solution to the above (it is not complete yet) in python based on Nick's puzzle 47.
In my shortsightedness, I didn't realize that there would have to be exceptions to my implementation. For some special types of k, there is a 1968 paper that categorizes solutions. I think I'm going to study the TopCoder solutions a bit more closely but my preliminary impressions are that they all search exhaustively rather than shortcut based on what kind of number k is (e.g. if k is prime then A(k) = 2^k-1).

Ok I should go work on backtracking Sudoku ... more update on this problem as I make progress.

Thursday, August 23, 2007

A new semester begins

This is going to be my last fall semester at Lafayette. My course load is pretty ok. I have

Artificial Intelligence
This class has about 5 pupils in it. Pfaffman is a fun teacher. He's planning on having us do paper instead of exams. My initial reading on AI has peaked my interest, plus I need to review my graph algorithms. I think its going to be a fun class. Whilst reading the "Arguing AI" book, the final chapter struck me as the most ummm striking. They likened today's AI quest to the quest for flight. People had been trying to build birds that could fly instead of building planes. Likewise it seems like the goal for some general AI is to build machines with human-like intelligence. Personally, I think this is somewhat bogus. We (humans) aren't that smart. Most of the progress in AI has been made when there was some specific task at hand - web searching, speech synthesis, lang. theory etc. I think A.I. people are better off focusing on specific tasks that will enhance the human computing experience, rather than trying to create 'thinking machines' via understanding our brain's model. Its probably the only template we have to work with but it could be possible that, like with flying, we won't be able to build flying birds no matter how hard we try.

Combinatorics
This course is going to help me practice a lot of my forgotten math ... we'll see how it shapes up.

Computer Graphics
I've always wanted to learn this subject. It seems like graphics developers are in demand now and I like pretty pictures. Maybe this will help rekindle my interest in game programming again. Plus, I like pretty pictures :). This might also tie in nicely with another year long project i'm thinking of doing as part of my senior thesis.

Automatic Group Theory
This course is going to tie up the Infinite Groups and Language theory stuff I did last semester. The material seems very interesting so we'll see how it goes. Its basically a presentation for groups as finite state machines ... fuuun .. ha


Coxeter Groups Study for Senior Thesis
So this is perhaps the most exciting thing i'm doing this semester. Thats because I think i've managed to come up with a project that sounds exciting enough to keep me interested for a year, and combines a lot of my interests and previous courses.
ie. a Coxeter Group Cayley Graph Visualizer (CGCGV - i already named it ... ha)
It takes a group presentation as input ... i could just use the coxeter matrix for the groups i'm interested in .... and produces the groups Cayley Graph as output.
My Infinite Groups prof said this had already been done for finite coxeter groups ... I'm thinking of a more general program that needs only to restrain the ball of radius for whatever graph. I'm going to implement it as a mac application using Cocoa and Obj-C. We'll see how this goes.

On another note, my Adium plugin currently has 1213 downloads, yaay!! I have some enhancements in mind i.e. AddressBook integration. I'll try and set aside some time for that soon. I wanted to finish my logging enhancements for Adium first but then EXCEL poster stuff came up ... and now school is starting (if only i could dilate time).

Anyways thats how things are shaping up. The new freshman class is cool. I sensed lots of intelligent minds at yesterday's bbq. We'll see how they cope with Lafayette.
Its time to get back to work now ... I'll post up a lot of my code stuff for this sem .. maybe even use an svn web repository type thing ... we'll see

Saturday, August 18, 2007

Full Resume ... I finally decided to

TeX up my full resume. I will be using versions of this for my upcoming job applications.
By the time my senior year is done, I should be adding OpenGL, Networks, Database Programming and some more stuff to the technical part.

Everything else will probably stay pretty much the same.

Making this has made me reflect on how I spent my time at Lafayette. I don 't think I wasted it. I think I did a lot of exploring, maybe too much but that was mainly because I was genuinely interested in too much.

Good luck to me and my job search .... Oh and even though my primary goal is to get a job as a programmer, I would also like working with IT stuff. I want to ultimately move to system design, program manager type stuff but feel like you can't do that kind of thing without a good background in programming.

I posted it here because I'm hoping some recruiters will stumble upon it. Also, I'm looking for feedback from people experienced with this sort of thing. Please put your input in Comments at the bottom of this entry. I'll probably update resume with input every 3 wks or so.

Here is a pdf version



Wednesday, August 15, 2007

Univershally : SMS plugin FIXED

A couple of users were having problems with my SMS plugin. It was working fine on my machine though. I knew the code was right: it had been double checked by myself and the adium devs.

Thanks to a nice user (Comster) who volunteered to help me figure out the problem I think I have a fix. It was a really dumb mistake .... I didn't build a universal binary so it was giving probs on ppc machines.

I'll have him test it out and update this blog as soon as I confirm that my fix was right.

dumb nOObs ... ha


Update: I was right ... my universal build worked on his machine. Hopefully this will address the problems other users faced when trying to use the plugin. I'll be updating my links after I do svn commits and update the Xtra's site.

Wednesday, August 8, 2007

Back from Uganda

Its been a while since I posted anything. I didn't do a lot of blogging in Ug.
I did an article for my school on my experience and it can be found here if u are interested in reading: Uganda EXCEL Public Info Article

I still have to finish my EXCEL poster, final report and round up summer.

I've been trying to advance my OS X programming skills and knowledge. It hasn't been a fast process. I think the only way i'll learn to do something is if I start building my own app. I don' t know what it will be yet, hopefully it will be something fun and useful.

I've set myself a deadline for implementing another Adium plugin. This one is going to enable individual logs. There's a couple of tickets out for it. I've had a look at the code and conceptually i think I know what i'm going to do. If i could come up with a way, the devs. probably could drum it out in minutes. There are other things they are busy with.

Here is the basic plan: There is a logger plugin class that handles logging. It checks a log preference before it kicks into action. (Using notficiations). I'm going to enable logging by default. Have my plugin class be a delegate of the logger class via categories; then, even though logging is enabled, before the actual logging takes place, I will check to see who the chat is with. If its a contact that logging has been enabled for my delegate will give the go ahead. Else, my delegate will return from the method without logging.
My plan is currently under construction. I'll either be using subclassing, categories and method swizzling or modifying the logger plugin class so I can call methods to
do what I want. I'm waiting to hear from Adium's devs for the best course of action.


There's a couple of things I also want to learn before finishing my CS degree:
Computer Graphics (studying it this sem)
Networks (hopefully next sem)
Database Programming (hopefully next sem)


My thesis is also going well? I have the layout of an introductory chapter down.
I think I'm going to use graph theory extensively: ie. the cayley graphs of coxeter groups (rather than their graphical representation). A lot of theory is built round the graphical representation though so I might have to change my mind or find some equivalency between the two so I can easily shift between the two.

Thursday, June 28, 2007

Castrooo

I love Castro Destroyer
Hope you do too. (btw this genre of music is Ghanaian hiplife)



Saturday, June 16, 2007

Bleeaaaccchhhhh!!! (Warning ... contains SPOILERS FOR ANIME WATCHERS)

So I couldn't wait for the slowies to finish Bleach Anime episodes. With all their filler fluff it was just getting on my nerves. So for those of you who are wondering ... Inoue does go over to the Arrancar's side. Whether or not she turns bad or not I don't know yet. Kurosaki's dad appears again as a shinigami. Basically things are going to get sweet.

If you are like me and you want to keep following the story, you can read the manga at Bleach Manga.


Be sure to donate a dollar or two to this guy/gal. Ok getting back to reading manga now.

*Hueco Mundo gates opening sound*

Thursday, June 14, 2007

Darkness




  1. DeeVeejay



  2. Delicate Piano



  3. Violin



  4. Percushion (work in progress)

  5. Listen here

  6. Banjotouie


  7. Listen here


  8. Guitar


  9. Listen here


Saturday, June 9, 2007

CFC (Code for Credit)

I am currently working on an Adium plugin and I am on their dev email list so I folllow happenings from time to time. Apparently there was a chat api called ChatKit which was started and seemed like and was a really good thing but died due to lack of manpower. Check out Chatkit dies for the full story.

I know lots of students applied for GSoC (Google Summer of Code). According to the home page "
We accepted over 900 student applicants from a pool of nearly 6,200 applications." Certainly some of those students wouldn't mind contributing open source code as part of their semester's work.

This has led to my CFC idea. The idea is simple. Find a professor willing to oversee the course, pick an open source mentor (if you are lucky he will be the same as the prof), come up with a draft proposal with timeline and deliverables etc. GSoC style and pass all this by your CS department or Dean or whoever is in charge of making sure that you get credit for your work.

It will be a great experience builder and hopefully you'll learn a lot about "real world" programming. Doing this just before or just after a Software Engineering course would be especially helpful. I think I'll start a facebook group and invite some people to see how much interest exists then from there ... we'll see what happens.

Friday, June 8, 2007

Anew



So I decided this morning to start a new blog, g
et a new screenname ... why?
Bascially because I feel like I'm doing so much new stuff that I might as well. My old blog was just not working for me any more. I'm going to be posting stuff about
  • My undergraduate math thesis on Coxeter Systems
  • My current programming interests (Cocoa, Linux, OS X stuff)
  • My summer EXCEL Land Information Systems project
  • ANIME !!
  • and random useful stuff
I feel like blogging will be crucial to helping me survive the above tasks. So we'll see how this second attempt at blogging goes. Oh and Google thanks for adding Labels to Blogger ... you saved me a lot of category hacking. Thanks to Peter Gibson for the above pic ... I can't get over it ...

Blog Archive

Labels