baby splunk
So far it seems that with a couple of useful tools I'm on the path of building an opensource baby splunk type system.
using kibana, logstash, redis and elasticsearch working together the interface I have seems to be very splunk like. It doesn't yet have the reporting aspects but the ability to point logs and search and index are very positive.
I still need to find a better log shipper but logstash and redis seem to be doing a decent job so far. Once everything is setup I will be back with a proper tutorial on setting up your own
Gun Debate Issue Solved
Gun Debate Issue Solved
The idea in its basic form is very simple and basic and best of all its a win win on both sides.
Gun Owers: they want to be able to keep their guns and arms
Non Gun Owners: they just don't want to be shot by gun owners.
Solution: Restrict live ammo and move people over to non lethal ammo. Hunters can still buy live ammo, gun ranges can still sell live ammo but your everyday gun owner/concealed weapons carry owner can walk around and feel protected.
No guns need to be banned or taken, everyone who needs live ammo will still be able to do what they need with it, but the mass shooters of the world will only be able to terrorize school yards with rubber bullets and ied's. This would be a perfect time for this to happen since apparently the government is currently restricting ammo.
I must apologize to the armed militia's as this solution doesn't adequately cater to them. I don't see where stock piling live ammo for highly unlikely chance the country is invaded or for whatever reason would allow for a group to have high amounts of live ammo. However the gun industry can still buy and sell. Gun shows would still be able to permit personal gun sales and police might not be soo worried when they pull an random individual the fear of being shot with live ammo will be less. Now I understadn this won't be overnight. The same issue with live ammo is the same with gun. Due to the amount ammo in circulation obviously this would take sometime before most gun owners are using non-lethal ammo for protection.
I'm only seeing positive and no negatives with this solution, with the current amount interest on gun control this solution might be viable enough to get passed in the house and the senate without too much fanfare
Tell your congressmen at the state and federal levels!
No need for thanks just spread the word.
web2py scheduled tasks
I've been using web2py for about 6 months now and as a new person to python I must say this is a fantastic framework. I orginally started with django but ran into some issues with the project I needed to create so I switched to web2py and things have worked out just fine. Except when it comes to the scheduled tasks.
Now I must say that my application is spanned across two different sites which causes some complexity and if this was a single hosted application I wouldn't have these problems. For my single applications the scheduled tasks work as designed. The problem I was having dealt with the same application hosted across two sites. When trying to run scheduled tasks on these different sites, lets call them site A and site B. Site B would always run into problems. Logic that worked on Site A wouldn't work for Site B or if you tried to seperate the tasks by groups the workers wouldn't assign to the Site B groups. Just a mess in generall until I came across a posts talking about running the tasks locally using sqlite.
scheduler_db = DAL('sqlite://storage.db')
Adding this line and of course changing the scheduler to store the tasks locally instead of using your preferred db of choice.
Midnight Theme .5
So this year has started off with a nice run. So far I've had my longest streak pushing code to git and its been mainly because of this project.
So started this theme wanted to use the 960 grid and since the inception of the project have decided to switch over to twitter bootstrap. Primarily for the examples of what the base grid is capable of which is what boilerplate and other frameworks are missing.
Anyways enough of my soap box, but version 0.5 is available Midnight Theme
Still not where I Would like it to be but hey its not version 1.0 yet. Next step is to tackle the display of the blog postings
Fresh Start 2013
So 2012 was a wild ride but I managed to make it out alive. Big things planned for 2013
Project Jarvis hopefully will catch some stream, and planning for 2014 project will be under way.