Like many developers running on Macbooks, the dreaded “You’re low on disk space” error haunts my daily worklife. How on earth could text files, chat logs, and memes be taking up the majority of my 512GB SSD? Well, the answer surprised me. I ran Disk Inventory X (http://www.derlien.com/), a great tool for seeing where your HD space is going, and I found that nearly 40GB of space was taken up by my
So, I did the right thing, and deleted it. I reran a
brew install rbenv, then a
rbenv install 2.2.3. I navigated over to my main work directory, installed the
bundler gem, and then ran the usual
bundle install. The new size of my
~/.rbenv dir? A much more sane 1.17GB. That’s 3% my original .rbenv size. Yeah, that’s still big, but Ruby projects are what I do for a living. What’cha gonna do.
I’ve started looking at projects that emulated
rvms awesome implementation for per-project gemsets (https://github.com/jf/rbenv-gemset, for example), but haven’t dug much in to it yet. For the time being, I have a script I’ve written that will delete the versions of gems no longer used nor depended on by my projects in addition to automatically clipping my log files (especially
test.log, sheesh) on a regular basis. I’ll let you know how the gemset stuff works out.
Got any other tips about stuff that’s blowing up your disk? Let me know in the comments and I’ll append them to this post sourcing you! Free disk space for all!Comments
I spoke at RailsConf this year on architecting and deploying high-performance and high-availability APIs in Ruby using ActiveRecord and Goliath! Check out the presentation below; any and all feedback is appreciated.
I’ve spent the last few days playing with Elixir-Lang, which is a Ruby-like language built on top of the Erlang VM. While I’m still very much learning a few resources have been absolutely essential to my progress:
Programming Elixir by Dave Thomas
This will undoubtedly become the Pickaxe for Elixir. While the book is in beta, it’s up to date with the Elixir 1.0.0 release. Per his other books, Thomas excitedly guides the reader through the awesomeness of Elixir. Worth picking up for anyone interested in Elixir.
All Aboard the Elixir Express by Chris McCord @ RailsConf 2014
Chris ran a 5 hour(!) demo workshop at RailsConf this last year in Chicago that really caught my eye. In just a few hours, we had everyone’s machines working together to scrape Twitter. Fucking impressive for just a few hours of work.
A la the now defunct RailsCasts, Josh Adams releases several videos a week where he walks the viewer through a small part of the Elixir language. These tutorials are excellent, although many of his earlier ones no longer work with the latest release of Elixir. He has (in comments on his site) plans to rerecord many of the early episodes now that 1.0.0 has been released.
#elixir-lang on Freenode
Great community, getting bigger every day. Best place to ask questions since most of the core contribures are idling in the room.
I’ll keep posting as I find more. What have been the most useful resources for you while learning Elixir?
brew install elixir
Week two of the concussion passes me by.
Richochet - “[TOR-based] Anonymous and serverless instant messaging that just works”
Ricochet is an experiment with a different kind of instant messaging that doesn’t trust anyone with your identity, your contact list, or your communications. Runs over TOR, looks interesting. As always, don’t use it until someone has done a reasonable security audit.
Operation Torpedo - The FBI is using malware to track TOR users.
“OH MY GOD! HOW DARE THEY!”, exclaimed no one. Notably, this Wired article might have totally ripped off this dude’s research.
Game Changer - Bitcoin research at the Federal Reserve and how I’ve lost my job.
Fascinating read on how the US government is working with newly-emerging crypto-currencies.
Cool OSX UI wrapper for BitMessage, an anonymous, decentralized chat system.Comments
0h-my-zsh is basically the best thing that’s happened since ZSH, which is the best thing that’s happened since vim.
sudo apt-get install zsh sudo apt-get install git-core wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh chsh -s `which zsh`
Logout, login, and you’re set!Comments
My name is Daniel Kozlowski; I'm a software engineer.
I specialize in very-high performance Ruby software. I led Rails development and operations at Classwave for a year and a half, and have given several lectures at UCSB on Rails basics and freelance contracting. Before Ruby, I built Wordpress, Joomla, Simpleforum, and Mambo sites for dozens of small businesses in Southern California. I also help build robotic prototypes.
I am a research developer for the Department of Psychology at UCSB, writing survey software and performing fMRI analysis for the Schooler metacognition and Miller neurocognition labs. I worked at several level-1 trauma centers in San Diego and Santa Barbara as a Trauma Technician for two and a half years before transferring to and graduating from UCSB with a B.S. in Cognitive Neuroscience in 2013.
I enjoy homebrewing, sailing, beekeeping, and DIY projects. I'm working on a Private Pilot's license, and am in wait to adopt a Goldoodle puppy. I read constantly about programming and neuroscience and I love new opportunities and new adventures. I really, really, enjoy people.
You can see my lovely partner's work here.