Programming
Syncing Kindle Clippings with Evernote
by thursdasy on Mar.07, 2010, under Electronics, Programming, Software, Uncategorized
I’m going to create an application in Java that will sync your Kindle Clippings with Evernote.
To get a better understanding of what Clippings are it’s any of the following:
- Highlighted text in a book
- Typed Notes
- Bookmarks
The above three types of clippings look like the following:
Highlighted Text:
Getting Things Done (David Allen)
- Highlight Loc. 954-55 | Added on Sunday, October 11, 2009, 04:43 PM
1 | Context 2 | Time available 3 | Energy available 4 | Priority
==========
Typed Notes:
Getting Things Done (David Allen)
- Note Loc. 1193 | Added on Friday, October 23, 2009, 12:20 AM
we ask why for the followimg reasoms
it defines success / objective
it creates decision making criteria
it helps discovery needed resources
it motivates
it helps clarifie the focus
it expands options.
==========
Bookmarks:
Getting Things Done (David Allen)
- Bookmark Loc. 737 | Added on Monday, December 07, 2009, 11:35 PM
==========
Notes
These clippings will be synced to a note in evernote. Each note will be considered a book. And all future clippings will be appending to the existing notes that contains previous clippings.
Synchronization
Synchronization will happen as the following:
Load each Clipping into a hashmap with the Key equal to the Title of the Book and the Value equal to everything else for that clipping.
Once all clippings have been added to the hashmap we can then iterate through them checking to make sure it doesn’t already exist. This isn’t efficient at all and Ill think of a better way to do it when I get to this point in the program.
GUI
And lastly I will need to create a GUI for users to login. Later we or I can add stuff for such books or clippings not to sync etc.
Source Code and Project Planning
You can find the github page here: http://github.com/peterfisher/Kindle-sync-with-Evernote
There is also a Google Wave page that will be used for todo and stuff: [Syncing Kindle Clippings with Evernote]
-
Anyone is free to join in! Since I will most likely be the only one working on this it will be slow since I work full time and also attend college full time!
Apache Derby Quick Reference
by thursdasy on Jul.26, 2009, under Electronics, Programming, Software, Uncategorized
Here is a quick reference sheet for derby DB queries that I’ve been using. Currently creating a private client that Ill be using to query my DBs. I know there is currently one out there but I wanted to create my own client so I could practice using it, currently using it for a large personal project I’m working on…
For all of these queries you can use the following methods (you need a few other things to get this to work so please note that):
s.execute(query);
Insert (just like anything else):
Deleting a table (make sure you replace tableName with your table):
Create table:
Selects everything from your table and displays it…
Ill update this as I go along…
Google Friend Connect (GFC)
by thursdasy on Jun.20, 2009, under Electronics, Programming, Software, Uncategorized
I’m going to be adding GFC to my web sites this weekend and hopefully some easy links to post my stuff straight to twitter and other social media sites. Because we all know what I type needs to be all over twitter!!! lol
My plan is to use server side includes to include GFC on all pages of my site not just ones I paste the code to that isn’t scalable and is very annoying…
Ill keep you posted on the progress of this… But for now I have to run Brian through SM and then I’m off to bed for the night!
Field ’ssl_cipher’ doesn’t have a default value
by thursdasy on Jun.10, 2009, under Electronics, Programming, Quick Fix, Software
If you run into this error while trying to update a host just use the following.
mysql> INSERT INTO user SET Host=’127.0.0.1′,User=’root’,Reload_priv=’Y',ssl_c
ipher=”, Process_priv=’Y', x509_issuer=”, x509_subject=”;
Java & Mysql
by thursdasy on Jan.17, 2009, under Electronics, Programming, Software
I’m currently working on a login system for my web server. I could just use PHP in a minute but I want to learn more java so I’ve decided to take the time in creating a login system using Java.
Since the Java applet could be decompiled by a user I have to create two applications. ( I know right! I should really use PHP lol). I will create the Server, and the Applet. The applet will just be a front for the user to enter the login name and password. It will then hand it to the server (which runs on a linux box), this server will check to see if the username and password is correct if its it will hand back the users login key, which will be stored in a users cookie for later use.
I’m going to include a few security features in the system, one is the login prompt run on the applet will have some type of captacha. The server will detect repeated login attempts, and add a rule in iptables to ban them. I’m not sure how the key system is going to work, ill have to figure that out when I get to it. =p
Of course I’m still working on VanaDroid, this is just a side project.
Here is some code for anyone that ever wants to create a MySQL connection using java, you need the JDBC drivers which can be found here. Also documentation on setting it up can be found here.
–Will add code once I find a way to add code that’s highlight (don’t want my blog to look like a dump).
VanaDroid!
by thursdasy on Jan.04, 2009, under Electronics, Programming, Uncategorized
So Brian today enlightened me on a great name for my Vana’diel clock for Android! And thats VanaDroid! You gussed right =p
I’m currently in the early beta stages as you can see I don’t have much on there, but soon it will be feature rich and hopefully there is a few FFXI fans that have an Android based phone =).
Some features I plan to have on release will be:
- AirShip landing and dept
- Alert System, will alert you at a certain time, when an airship is leaving and many others (should be helpful for gardeners! )
- Vana Time, Moon Phase and next moon phase, and some other crap I can’t think of now =(
VClock (Android App)
by thursdasy on Nov.22, 2008, under Gaming, Programming
So VClock which stands for vanadiel clock is my java based Android application that will display time information about FFXI. This is my first application so its a bit messy and combersom.
So far I’ve got the basics down for it, I got the equation that produces the time offset, and a simple linear layout and that’s about it.
Tomorrow I’m going to work on the moon phase design, right now its displaying the wrong moon information and it isn’t updating properly it seems. I need to check the following variables to make sure mine are the same as the guys JS script I’m using them from:
double optPhase, toNextPhase, toOptimalPhase;
int mnPhase = 0; (This used to be double)
I need to check those with the JS version of the script to make sure all results are the same.
Cheers.



