Dec
15
After using linux for years now I find myself rarely needing to use the mouse except for moving windows around, giving them focus, resizing them, etc. I decided to evaluate a bunch of tiling windows managers.
The best one I found was awesome. Literally, that’s its name.
http://awesome.naquadah.org/wiki/Main_Page
Basically I wanted something with a notification area, tell me which desktop desktop I am on and a systray area.
Awesome is great because it uses the Mod (Windows) key to perform all window based operations like to cycle through windows layouts by just pressing Mod+Space. Using the windows key is great because it doesn’t get in the way of other hot keys in programs like IntelliJ. This is great because I don’t have to customize everything manually. The defaults seem fine so far.
It supports D-Bus, pango, XRandR, Xinerama which is pretty sweet. Its definitely fast and there are TONS of tips on their wiki to customize it anyway you like.
I’m even starting to browse the web with just a keyboard. I’m not sure how I like it yet. I normally use my mouse as a speed reading guide, dragging it down the page. Then I’m usually close to a link I want to click. This may be faster than pressing ctrl+f, typing the name of the link, hitting escaping, then enter.
Oct
30
Pass static content through GuiceContainer
Filed Under Java | Leave a Comment
When you want to use Jersey’s GuiceContainer to serve requests at the root of your web application and still want to make sure your static resources are being passed through to the servlet container to be served make sure you add the following to your setup. NOTE, you have to use the GuiceContainer as a filter if you want to use PROPERTY_WEB_PAGE_CONTENT_REGEX.
filter(”/*”).through(
GuiceContainer.class,
ImmutableMap.of(JSONConfiguration.FEATURE_POJO_MAPPING, “true”,
ServletContainer.PROPERTY_WEB_PAGE_CONTENT_REGEX,
“/(images|css|js)/.*”));
May
19
Go Lang Exported Fields and JSON
Filed Under Go, Software Engineer | Leave a Comment
Been playing around with Google’s Go Lang. Here is something I wasn’t able to figure out obviously.
When marshaling with json only exported fields are encoded. Exported fields in a struct must start with a capital letter. If you want to rename the field and have it be exported. It must be done like so.
type Auth struct {
UserId int “userId”
Comment string “comment”
}
a := Auth{UserId: 52, Comment: “notes about auth”}
b, err := json.Marshal(a)
Jul
29
The Internet is not always the best place to find a travel deal
Filed Under Uncategorized | Leave a Comment
After searching through all the travel websites and deciding on what flight and hotel I wanted to take to Vegas I found some great deals. Tropicana was running some great promotions because they are revamping all their rooms and are under new management. I found the best deal I could online and then decided to call and see if I could get a better one. Because I was planning on staying a week, they said they could give me another free day on top of the deal.
Just goes to show you the difference one phone call can make.
Jun
14
My team, Data Dough, won a mentorship with an incubator Noiz Ivy!
http://www.washingtonpost.com/wp-dyn/content/article/2010/06/14/AR2010061403756.html
Our presentation http://www.slideshare.net/weazelb0y/data-dough
Jun
11
Ready…Set…Entrepreneur!
Filed Under Entrepreneur | Leave a Comment
AdSeam has been accepted into the http://dreamitventures.com incubator program! Check out http://adseam.com. We put ads on widgets, like Google Gadgets, Facebook applications, any website widget or just general websites. If you are looking to monetize your widget, check us out!
We are also working on a yet to be named project. The goal is to provide business intelligence about your users and the tools to increase revenue, retention and the overall experience.
Contact me if you are interested in participating on our beta tester board. We are particularly looking for ecommerce sites, real estate and social networking. joetoth at gmail.com