Older blog entries for rufius (starting at number 37)

Genend - Update 1

Moved from Perl to Python. Extensive use of Perl in larger files proved to be hard to organize for myself, was having trouble keeping straight what I was doing. Also don’t like the Perl object/class system, more at home with Python’s.

Current progress includes a custom database object for use with interfacing to a sqlite database (and possibly PostgreSQL/MySQL/Firebird if it gets too slow). Everything except ‘updates’ to an entry are done. Database object is about as simple as it gets, using a list of tuples for adding k-mer’s and a large tuple for taxonomy.

Started working on an object that will take in a directory full of genomes, the output directory and a number for the number of threads to run and it will pool objects to process files. Will have a threadable object that accesses BioPython libraries to parse the genome files. Important question for queueing threads is whether SQLite will like concurrent access to the same database. Need to figure out how to handle inserts so that there isn’t fragmentation. There should be little fragmentation as each file and species will be unique.

For next week:

Finish up database object and threading objects. Do preliminary run to start building genomes. Determine largest feasible genome before laptop machine (2×2.4GHz w/ 4 GB ram) will puke. If it proves to do so before getting to high in the phlya, will need to start writing some string operating libraries in C to deal with static length strings.

Syndicated 2008-09-18 18:19:16 from blog.zacbrown.org - just run away, now.

Updates

Just got back from LA. My stint with Google is over :(. It was a great experience despite my awful apartment.

Managed to get myself some confidence in my abilities and am now working on two OSS projects.

Back to the grind of school now. At least I’ll be starting a new research project.

Syndicated 2008-08-19 14:11:54 from blog.zacbrown.org - just run away, now.

Oppose the Orphaned Works Act of 2008!

I won’t go into full detail of its evil here, as you can read and get the gist of it here: http://blamcast.net/articles/orphaned-works-open-source-copyright.

Essentially, it means any company can take a piece of software (among other things) and “claim” they looked for the author and then use it without obeying the GPL license on it. When the copyright holder sues on grounds of infringement, the people that violated the copyright merely have to provide “proof” that they looked for an author and could not locate one.

The only way to really prevent the infringement if the bill passes, is to register with some sort of copyright registry, which costs money no doubt.

Oppose it! You can go here: http://capwiz.com/illustratorspartnership/home/ to find out how to easily write your congressman/woman.

Syndicated 2008-07-05 17:05:05 from blog.zacbrown.org - just run away, now.

Do something nice today.

To be honest, I’m long overdue on saying something. I am alive, just barely, but I am.

I came across this article today. It made me realize that society has become disenchanted with… well society itself. Do something nice today for someone you don’t even know. Seriously.

http://www.npr.org/templates/story/story.php?storyId=89164759

Syndicated 2008-03-28 22:14:09 from blog.zacbrown.org - just run away, now.

busy

Long two week, many tests, projects and homework to be done. 

With that, I leave you with some food for thought: “When the rich wage war its the poor who die.” - Mike Shinoda 

Syndicated 2008-02-27 17:15:27 from blog.zacbrown.org - just run away, now.

the dark arts

I am now as we speak ever approaching the dark arts. Actually I’m just going to be working on compilers and filesystems for the next two years in a directed study with a professor in the Computer Engineering department. A friend in IEEE needs help with his senior project so that’ll be the beginning of my learning about compilers. Filesystems shall follow shortly thereafter.

Should be fun and challenging, seeing as I get frustrated to no end with the obsession of online frameworks and building social networking sites. Not that I think those are bad or trivial things, I just don’t find them to be particularly interesting problems. Even if compilers and filesystems are no longer “cool” to the academic types, I still think they are.

And now I’m off to read more of “Functional Programming: Application & Implementation” by Henderson. If anyone actually reads this, stay tuned. A little while from now I may be posting a Lispkit implementation with a compiler that builds native code which I know is a dirty dirty thing and I should have my mouth washed out with soap for it but I don’t care :).

PS: More wine fun is coming as well :) Hooray for shell32!

Syndicated 2008-02-01 17:26:47 from blog.zacbrown.org - just run away, now.

21 Dec 2007 (updated 10 Jan 2008 at 01:38 UTC) »

cheers & jeers

cheers

So I found out a couple evenings ago that I got the internship with Google. I would start sometime in mid-May and finish up sometime in mid-August. It would be good fun though it is mildly disappointing that my friend (Danny) that works for Google wouldn't be there during the time I'd be there. He’s finishing up his last semester of college and wwill be arriving there about the time I would be leave.

I’m excited and anxious all at the same time, dealing with getting myself a place to sleep will be interesting. Maybe I can just sleep under my desk and shower at the office?

jeers

I was less than pleased with my grades this semester. I ended up with a B+ in both Algorithms & Software Eng. This could change though for Algorithms as I emailed the professor and he said we could speak about possibly getting me an A- which would be great.

Software Engineering on the other hand, I apparently bombed the final. That puzzles me but I’m going to meet with the professor. Surely I didn’t do that poorly? I’m not a bad student…

notes

Anyway, back to programming on wine

Syndicated 2007-12-21 02:03:20 from blog.zacbrown.org - just run away, now.

first patch

So after many failed attempts I finally got a pair of patches committed to wine. You can see them here and here. I’m finding that the more and more I learn about wine, the more and more I get addicted to working on it.

The code, compared to many projects written in C that I’ve seen is very clean.  The community is helpful and there’s always something to do since I’m pretty sure there’s a sizable 40-50% of the api thats not completely implemented yet.

Hears to exams and coding.

Syndicated 2007-12-05 01:51:27 from blog.zacbrown.org - just run away, now.

exams

Exams are coming up, this probably won’t be fun.

Syndicated 2007-11-28 20:56:11 from blog.zacbrown.org - just run away, now.

Thoughts on “Crappy Coder Signs”

I was browsing my feeds in Google reader and came across this blog entitled “Signs You’re a Crappy Programmer (and don’t know it)”. For the most part I thought it was fairly accurate with the exception of not following the rule of trying to make your functions less than 20 (30/40/10/whatever) lines of code.

Now I’m not hardline on it, I think one should try to make all functions as short as they possibly can, but I do understand that some functions just can’t be made that way. I think preaching hard line either way is a bad plan but one as a general rule should try to keep functions short and sweet. Writing big long functions makes it hard for people besides yourself to follow the code quickly. I’ve dealt with my share of crappy functions that were a hundred lines long and totally unclear. Thats what you get when you work with people that aren’t programmers first though.

Syndicated 2007-11-24 02:40:34 from blog.zacbrown.org - just run away, now.

28 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!