Denis 'jumph4x' Ivanov

Hey there. I'm a full stack web developer for FCP Groton. Currently in CT. I am generally an arrogant freethinker and a frequent linestepper. These are my notes, ProTips (R) and LULz.

Checking for Select.h… Rake Aborted! AKA Wrong Number of Arguments (3 for 2)

Was trying to build Webroar on our virtualized box for internal deployments and ran into this.

Required directories created successfully. Building executables...
checking for select.h... rake aborted!
wrong number of arguments (3 for 2)

First World Problem

An hour later…

This is a rake version mismatch. The stuff expects 0.8.7, I had it installed along with 0.9.2 which was where the executable symlink was pointing to.

gem remove rake -v=0.9.2
gem install rake -v=0.8.7

Doneski.

Current status: 3yr girlfriend anniversary. Hung up the piece above bed.

Current status: 3yr girlfriend anniversary. Hung up the piece above bed.

Testing Rails 3.0.9 w/ Spork and Spork-TestUnit: no such file to load — test/unit/testresult (LoadError)

Heyyo all,

Quick one. Has this happened to you recently?

/home/denis/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load --     test/unit/testresult (LoadError)
from /home/denis/.rvm/rubies/ruby-1.9.2-    p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/denis/.rvm/gems/ruby-1.9.2-p290/gems/spork-testunit-0.0.6/bin/testdrb:7:in `<top     (required)>'
from /home/denis/.rvm/gems/ruby-1.9.2-p290/bin/testdrb:19:in `load'
from /home/denis/.rvm/gems/ruby-1.9.2-p290/bin/testdrb:19:in `<main>'

Lock your spork-testunit at 0.0.5 and use:

bundle exec spork T
bundle exec testdrb -I test/ [...]

Alternatively you can remove wrong version of testdrb executable:

 gem uninstall spork-testunit


Select gem to uninstall:
 1. spork-testunit-0.0.5
 2. spork-testunit-0.0.6
 3. All versions 
 > 2
minusmanhattan:

Exploring Abandoned Teufelsberg by Eddie Codel.

Reblogged from minusmanhattan

minusmanhattan:

Exploring Abandoned Teufelsberg by Eddie Codel.

Reblogged from whatelseiscool

(Source: whatelseiscool)

Me. In salem

Me. In salem

Me.

Reblogged from b14nc44

Me.

(Source: b14nc44)

Current status: pimpin. Valvecover + Wheels + Bike.

JPEG Compression w/ ImageMagick (convert) thru Paperclip

So this has been bothering me for a while: 175x85 JPEG weighing in at 84kB.

But I didn’t really get off my ass and do anything serious until now that the Google PageSpeed Tool has been released: https://developers.google.com/pagespeed/

So it tells me this is complete garbage and that I can save quite literally, shit you not, 93% when recompressed losslessly.

Are you serious?

Turns out the image is nicely compressed to 2.5kB and the rest 80+ kB are wasted by embedded profiles?

convert E320BELTKIT.jpg -quality 40 rite60q.jpg
ls rite60q.jpg -la
-rw-rw-r-- 1 denis denis *84289* 2011-10-19 17:45 rite60q.jpg
convert E320BELTKIT.jpg -quality 40 -strip rite60q.jpg
ls rite60q.jpg -la
-rw-rw-r-- 1 denis denis *2467* 2011-10-19 17:45 rite60q.jpg

Reference Paperclip configuration:

has_attached_file :attachment,
              :styles => { :mini => {:geometry => '48x48#',
              :convert_options => { :mini => "-strip"}

90s (:

Current status: Aphex Twin.

Current status: Aphex Twin.

magnificentruin:

Tumblr is my new feelgood medium.

Reblogged from magnificentruin

magnificentruin:

Tumblr is my new feelgood medium.

@velotroll!

Reblogged from slamburglars

@velotroll!

(Source: whereisthecoool)