Apr
26
2010
I know everyone is sick of hearing about apple but I thought some people might be interested in this little thought experiement.
Apple is notorious for leaving their terms fuzzy and undefined. You can’t help but wonder how they are going to enforce their newest controversial rule (3.3.1 if you don’t know go ahead and google it). As much as I want to go on a rant about everything that is wrong with Apple, I will try to focus on clarifying what is meant by “originally written”. This post is not meant to be extremely informative in itself, rather give you questions to think about. After reading it try to draw your own conclusions (feel free to post it in the comments). I’ll try to keep this away from complaining and as original as I can.
Continue reading
no comments | tags: 3.3.1, apple | posted in Articles
Mar
30
2010
My newest project is code-named Metajuicer (written in haskell).
Continue reading
no comments | tags: haskell, metadata, metadata extractor, metajuicer, syfran | posted in Code, haskell
Mar
4
2010
Linked Lists, Double Linked Lists, Arrays, Queues, Stacks… the data structures go on and on, but don’t they all do pretty much the same thing? If you’re like me you probably don’t worry about which you use most the time. Just use whatever is convenient at the time, in C-like languages this will usually be an array, in Functional Languages a List (I believe they use linked lists by default).
Usually the defaults are fine, I mean how much difference could it really make? I didn’t think it would be too much, maybe a couple seconds until my recent experience with Project Euler 78.
Continue reading
no comments | tags: Euler, haskell, performance | posted in Articles, Code, Euler, Full Program
Jan
12
2010
No guarantees but my prediction is that we are going to see the gradual downfall of the GPL license over the next couple years. For awhile now there has been a trend of developers switching from GPL to less restrictive licenses, often citing the viral nature of the GPL as the reason.
Is it possible to save the GPL? It might be possible to save but the best solution would be to just let it go. The licenses that are better suited will come into it’s place.
The GPL stage of open source is ending and viral licenses are no longer needed to spread open source around. What we need now are licenses to make open source more usable. Some of the ones hat have been floating around have been the “unlicense” which effectively puts the work into public domain and ms-pl.
Is this trouble for the open source community? Absolutely not. It simply shows that it is going into a stable phase where it does not need developers to force adoption through licenses, and open source will be used regardless.
no comments | tags: gpl, opensource | posted in Articles, opensource
Oct
8
2009
Gotchas are bits of code that do something completely different from what you expected. These bits of code are often hard to catch and identify leaving you debugging for hours on end with no luck. The best way to keep yourself safe is to know them ahead of time. Here are some of the ones I have encountered before. Continue reading
2 comments | tags: gotcha, Java | posted in Articles, Java, Uncategorized
Sep
6
2009
Converts from any base less than or equal to 36 to any other base less than or equal to 36. This is my first python program so it is definitely not amazing, but I don’t think I did too bad.
Continue reading
no comments | tags: base, binary, converter, hexadecimal, python, syfran | posted in Code, Snippet
Sep
2
2009
In my opinion one of the most confusing topics that Java has to offer is how it passes its variables. Two people can argue for over a page trying to say the same thing but not realize it until after.
Continue reading
3 comments | tags: Java, pass, Tutorial, variables | posted in Articles, Java, Tutorial
Aug
31
2009
The Ternary Operator
The ternary operator is a source of confusion for many beginning programmers. In case you don’t know what the ternary operator is, it looks something like
String message = (isvalid?"Valid":"Invalid");
The ? represents the thought that goes through their head when they see it and they probably won’t get to the : .
Continue reading
no comments | tags: Java, ternary operator, Tutorial | posted in Articles, Java, Tutorial
Aug
27
2009
This code snippet is designed to take in a string an print out every possible permutation of that string. The only problem I’ve encountered so far is that it uses a lot of memory with longer strings.
Continue reading
no comments | tags: Java, multithreaded, permutations | posted in Code, Snippet
Jul
26
2009
Just uploaded a project I have been hiding away for awhile. My amazing name for it is Productivity Timer.
Continue reading
no comments | tags: Java, productivity, program | posted in Full Program