I have a pet. That pet is a dog. I pat my pet. I don’t pet my pet. WTF
Recent Updates RSS Toggle Comment Threads | Keyboard Shortcuts
-
hamstar
-
hamstar
from:@facebook.com skip inbox delete
-
hamstar
Github is awesome, but its missing time tracking. There is a pretty cool looking service called Freckle but it costs money. I am poor. So I made this quick and dirty GreaseMonkey script for tracking time spent on git issues. It does require one to setup a couple of very simple server side scripts though.
-
hamstar

-
hamstar

-
hamstar
Change git history
Here’s the way to change your git history (I found it here):
git rebase -i HEAD~3Then you should see this in a text editor:
pick dd56df4 added support for rocket launchers
pick 36c7dba made it power up the hand thrusters when fingers are splayed
pick 7482e0d added heat seeking targeting systemChange the word pick to edit of the commit that you want to edit and save/exit the editor and you will see this:
Stopped at 7482e0d... added heat seeking targeting system7482e0d is now the last commit so you can now amend stuff to it. If you want to add a file to the commit add it in now:
git add targeting/friendly_detection.cAll done? Amend the commit:
git commit --amendThen you are given a chance to edit the commit message, but you can just exit the editor if you want to keep it the same.
Now you just need to rebase it:
git rebase --continueAnd you’re done!
-
hamstar
Why the fuck aren’t we using Liquid fluoride thorium reactors yet?
- Thorium is 3 times as abundant as uranium, usually discarded as waste from rare-earth mining
- LFTRs resist diversion of its nuclear fuel to nuclear weapons
- The reactor is not at great pressures so it cannot explode and is easy to control at all times
- LFTRs consume 99% of their fuel, typical nuclear reactors consume LESS THAN 1% (thats less than 1% efficient)!
- LFTR’s are cleaner, fission wastes that are radioactive for 300 years (compared to 10,000+ years for typical reactors)
- No expensive fuel enrichment needed!
- 1 tonne natural Thorium = 35 tonnes enriched Uranium = 4,166,000 tonnes black coal
- LFTRs can burn high level waste from typical reactors
- LFTRs are much cheaper than a typical reactor due to simpler construction and safer reactors
- Fission wastes from LFTRs include rare-earth metals used in electronics and medical isotopes
This is it folks, This is what is going to take us into the future. Watch this:
-
hamstar
PHP Design Patterns
This page http://blog.ircmaxell.com/2012/03/handling-plugins-in-php.html has some nice descriptions on design patterns (in PHP).
-
hamstar
This guy makes a lot of sense. The system is fucked. We need to change it, but trillions of dollars prevent this. Therefore the world is very likely headed for collapse. This is why I’m not having kids…
-
hamstar
This is handy for finding files between a certain date range…
touch --date "2007-01-01" /tmp/start
touch --date "2008-01-01" /tmp/end
find /data/images -type f -newer /tmp/start -not -newer /tmp/end
