You are here: Blogsphere Longtail

Rails BlogSphere

BlogSphere

Keep up to date with your favourite Rails bloggers in context.

Read more about how it works


25109e7 TheSquad: Wish I were at the Exploratorium. Good John Trippe blog post @ fecalface.com http://tinyurl.com/ye9dgf2 That first photo is insane!

by Awesome | over 2 years ago | Read more

TheSquad: Wish I were at the Exploratorium. Good John Trippe blog post @ fecalface.com http://tinyurl.com/ye9dgf2 That first photo is insane!

URL Encoding and character set confusion

by Darren Boyd | over 2 years ago | Read more

A number of interesting things to consider regarding input into a web application. Our application receives and handles incoming SMS messages. Since some of our customers target spanish speakers, we are getting input that fall outside the typical ASCII alphabet. The trouble word of the day is 'Sueño'; specifically the eñe.

This particular letter is supported by a number of different character encodings. Internally, everything is UTF-8. The Eñe in UTF-8 is 0xC3B1, and URL encoded, this becomes %C3%B1.  However, one of our sources of SMS traffic uses a different character encoding that UTF-8.  In that case, we see %F1. After some research, I found a correlation between F1 and ñ in the ISO-8859-1character set.

To deal with this in Ruby (we are using Rails), I did the following...

smsmsg = Iconv.conv('utf-8', 'ISO-8859-1', params[:smsmsg].to_s)

This was my first introduction to Iconv, which is part of the Ruby standard library.  Unfortunately, it isn't very well documented.  Maybe this post will help.

It seems to me that this should be something that Rails should be doing for me.  Although, I might be underestimating the task.  It would be nice to have params[:some_value] always returns a consistently encoded string.

 

Permalink | Leave a comment  »

71ee1809f53df0a2b4dac0530f630933?s=128&d=identicon&r=pg iPhoto Lost My Last Year’s Worth of Pictures

by Richard Schneeman | over 2 years ago | Read more

Yes I know i should import more often than once a year, but things just didn’t work out that way so here we are… After importing a years worth of photos, confirming they were all in iPhoto and then selecting to clear my full camera (after they’re in iPhoto i take a backup with time machine, [...]

Evan On Craftsmanship and Practice

by Evan David Light | over 2 years ago | Read more

Reading a passage from the “E-Myth Contractor” got me to thinking about how we practice (when we practice) our skills that we apply on a regular basis.

When we practice our craft, performing “katas” as they have come to be called, why do we perform them on arcane problems such as Langdon’s Ant or Conway’s Game of Life?

You don’t encounter these problems in your day-to-day work.

I agree that solving these problems a few times over may improve your overall problem solving skills. But that’s only true until you settle on an optimal implementation.

Given the above then there seems to be greater value in routinely exercising what we consider routine.

If I can build a signup, login,and forgotten password capability, a text-based search across multiple model objects, or a recurring payment ecommerce system rapidly and reliably, isn’t that more valuable to most customers than finding clever ways to move a hypothetical ant around a grid? These are the sorts of tasks that we routinely encounter in our work. Or perhaps not. Maybe you typically employ a CMS to expedite these chores. This is because craftsmen use tools to work in their craft.

So you should be practicing with those same tools.

If you have a good toolbox, full of tools ideally suited to solving problems your typical problems, then these tools are your weapons. Each tool probably does certain things better than others. You should then practice “weapon katas.”

You should master your tools.

Let’s assume for a moment that your current project/product/service du jour is not a unique and special snowflake. If what we do is a craft, then repetition and understanding of the routine tasks should enable us to deliver faster, more reliably, and more consistently.

Perhaps studying Langdon’s and Conway’s, ultimately, is a study of basic forms, i.e. this is how I BDD something different. Once we grasp these basic forms, it is then time to move on to how we employ our tools, i.e., our favorite plugins and gems, until we’ve mastered those as well.

Doesn’t this make us better craftsmen?

… that is, until someone introduces a better weapon.

I freely admit that this is not how I currently practice. I feel that my basic form is solid. Howver, I admit, I do need to better acquaint myself with my weapons. As of now, this is what I intend to practice. I will try to report on how it goes.

In_the_office_profile Watwet from Apie [12/01/2010 01:18]

by Waheed Barghouthi | over 2 years ago | Read more

Does anyone know of any updates or current news on the "Brain-Gate" technology shown in this video? http://watwet.com/u/ebd810

In_the_office_profile Watwet from Apie [12/01/2010 01:18]

by Waheed Barghouthi | over 2 years ago | Read more

"Three flip flop bracelet charms sold at Walmart contained between 84 and 86 per cent cadmium. The charms fare... http://watwet.com/u/ebbbf6

Der Star der Ruby-Syntax

by Jérome Soika | over 2 years ago | Read more

Also, ich wusste schon, dass man folgendes schreiben kann, um Methoden mit beliebig vielen Argumenten zu definieren:

1
2
3
4
def bist_du_aber_klein(*)
  super
  essen(:vitamine)
end

Hier werden die restlichen Argumente einfach verworfen, und keiner lokalen Variable zugewiesen.

Der Stern kann auch noch in anderen Beziehungen auftauchen, zum Beispiel in Mehrfachzuweisungen oder bei Blockparametern:

1
2
gewinner, *nieten = die_anderen_gehen_leer_aus
array_von_arrays { |erstes, zweites, *rest| puts 'Was für ein Wetter!' }

Interessanterweise kann man bei solchen Catch-all-Ausdrücken immer den Namen der Variable weglassen:

1
2
3
4
5
6
def gibs_mir *; end
ja, * = nein, nein, nein
obfusc do |*| end
for key, * in ENV
  puts(*)
end

In Ruby 1.9 geht auch:

1
2
3
4
5
6
7
a, *, b = *1..10
[a, b]  #=> [1, 10]
def letzter(*, last)
  last
end
letzter(*1..10)  #=> 10
ENV.each.with_index { |(*, value), index| puts '%2d: %s' % [index, value] }

Noch ein ganz extremes Beispiel, das nichts sinnvolles tut:


def***;%****%**;end;*a=*(a**a);b{|*|* =:*.*(:**)}

Nützlich? Albern? Perl6? Eure Meinung!

Myself_plane-209x300 Are you a language or tool guy/gal?

by Marcelo de Moraes Serpa | over 2 years ago | Read more

Very nice article that elaborates on the tool vs language world. In the end, we all fluctuate between this spectrum, but I think the best are the ones who tend to be language mavens, which puts the focus on the language itself and not on the IDE. Of course, there are some languages that are so [...]

A partir de hoy, Red y Libertad

by Genís Llamas | over 2 years ago | Read more

Consideramos imprescindible la retirada de la disposición final primera de la Ley de Economía Sostenible por los siguientes motivos: Viola los derechos constitucionales en los que se ha de basar un estado democrático en especial la presunción de inocencia, libertad de expresión, privacidad, inviolabilidad domiciliaria, tutela judicial efectiva, libertad de mercado, protección de consumidoras y consumidores, [...]

Karl "The concept of “social capital” has been vetted and its limitations exposed. Perhaps the..."

by Rick Bradley | over 2 years ago | Read more

“The concept of “social capital” has been vetted and its limitations exposed. Perhaps the concept of “social media” is due to wane likewise.”

- Mike Byrd (posted by brandonvalentine)

N641200498_9496 Ikea Job Interview

by Cristiano Dias | over 2 years ago | Read more

via funzro.files.wordpress.com Via DJ Kato.

1409115842_92722a25b5_m TheDraw: Remember this?!

by Brian LeRoux | over 2 years ago | Read more



TheDraw:

Remember this?!

Cpetersen Twitter Weekly Updates for 2010-01-11

by Christopher L Petersen | over 2 years ago | Read more

RT @MicroConstants: We want to know how you determine your outsourcing. Please take a moment to complete our poll http://bit.ly/8lh08S MC # RT @Comprendia: 100 Incredible Lectures from the World’s Top Scientists #science http://bit.ly/4YgTRe MC # National Lab Day looks like a good cause http://j.mp/7ywXQc (and a well done site) CP # RT @ChemSpiderman: CAS Calendar online [...]

How Important Is Open-Source Typography To You?

by Kevin Burg | over 2 years ago | Read more

theleagueofmoveabletype:

About a year ago, we here at A Good Company™ started a little project called The League of Moveable Type. We were frustrated by the lack of web-useable fonts available, professional quality free fonts, & the outright hostility towards the idea of open-source typography.

Since starting The League, we’ve been receiving a lot of support on the idea of high quality free fonts, but we’re wondering where people stand when it comes to open-source typography.

Free but Not Open?

One of the issues that we ran into is that there are designers who want to contribute their typeface to The League, but they have concerns about making their typeface open. They don’t have a problem with making their typeface free to use, but when it comes to letting other people make modifications to their work, this is where many designers feel uncomfortable, here are some reasons why:

  • Crappy changes to the font could give my good font a bad name
  • Giving away control of my font means I can’t make money off it
  • Too many people working on a typeface won’t work

But anyone could change my font…

Because the Open Font Licensing doesn’t allow anyone to release a modified typeface under the same name as the original, there could only be one version of the original typeface, other derivates would be considered as a different font, with a different name. So having fonts that look similar is competition not replacement.

Imagine I’m looking for a font to use in a mockup I’m working on, and I want a geometric sans-serif. Perhaps I’ll consider Futura, Gotham, or Nevis. Notice the ‘or’ – could those fonts not all have been modified versions of the same font? Take Futura & move around pieces, but you can’t call it Futura – suddenly there’s a new competitor.

But aren’t I helping the competition…

People are often loyal to brand names they like. So if you release an open-source font that everyone likes, and you’re selling other weights of that font, most people would choose to use the name they’re familiar with, rather than using a similar derivative.

Here, let’s pretend you’re in dire need of a bold weight for Junction. Junction is open source, and let’s pretend someone already took that source & made up a bold weight. Since it can’t be named the same, let’s say that font was called Bridge. Oh, but then, Caroline, the original creator, made her own bold version – which subtly, if not drastically, looks different than Bridge – and named it Junction Bold, for the very reasonable price of $29.

You’re looking for a bold version of Junction. You could buy Junction Bold, or a different font named Bridge. No one’s claiming 100% customer loyalty here, but now it’s a matter of which font is best, and if your font is as good or better, brand name recognition is a hefty selling point.

But collaboration doesn’t work…

We agree that the landscape at this point for collaborative typemaking  is pretty sad. As in, nonexistent.

Hopefully by now, you’ve heard the name Lettercase being thrown around. We’ve been vague on the purpose, because it’s in the earliest (the earliest stages of development), but now seems a good time to fill you in. We want to change the perception of open source typography, and to do it, we’re doing some landscaping ourselves.

There was a time when software programming suffered the same cynical close-mindedness that typography suffers from today, and we’re taking our cue from there. If we can make a tool that makes collaboratively developing a typeface easy, it’d change everything. Amatuers could grow, professionals could work together more easily, and anyone just interested could have a place to learn from.

We’re paying a lot of attention to Github, and in a broad sense, you can imagine Lettercase  being a similar tool. Private & public projects, either for something you don’t want to share or for something open source; collaborators, working together on shared projects; forking , or duplicating existing projects, that both pay respects to the original creator & allow you to mess with it & make something new. These are important ideas that helped propel the crazy success of open source software, and we don’t see any reason typography can’t benefit from the same.

An Important Crossroads

But this is the point where we have to assess what to do. Is open source typography important enough to fight for? Are we all brave enough to do something to change the status quo? Is the status quo okay, do we really need to change anything at all?

Is open source typography a fight worth fighting, or is free typography good enough? What do you think?

Myself_plane-209x300 Quick emacs tips – smaller/larger fonts on the go

by Marcelo de Moraes Serpa | over 2 years ago | Read more

If you find yourself wanting to make the font smaller/bigger on a buffer-basis, you can use the following key-combos for that: * C– – make font-size smaller; * C-shift-+ – make font size bigger;

New Home Communities in Las Colinas

by Richard Soto | over 2 years ago | Read more

Las Colinas is Irving’s pride and joy. This massive master-planned development is home to a myriad of commercial, residential and environmental developments, and boasts more than 2,000 companies, including 40 Fortune 500 companies. Real estate in Las Colinas is prime and highly sought after, from residential to commercial. There always seems to be a flurry of [...]

2794075742_2080179c58_b Alex Rainert or Nick Bilton?

by Tyler Love | over 2 years ago | Read more

tylr
Alex Rainert or Nick Bilton? - http://www.flickr.com/photos...
Alex Rainert or Nick Bilton?

Karl "there should be a test there just to make sure you don’t fuck it all up"

by Rick Bradley | over 2 years ago | Read more

“there should be a test there just to make sure you don’t fuck it all up”

- cardioid, coaching me (posted by vinbarnes)

Nolan_eakins_2007 @tihm so @amidown is free until you implement billing?

by Nolan Eakins | over 2 years ago | Read more

Nolan
@tihm so @amidown is free until you implement billing?

Surf_s_up @jayfallon I care deeply about every one of my disciples. But not the numbers. Also, KP pasted me on 4sq leaderboard last wk.

by Brian Del Vecchio | over 2 years ago | Read more

Brian Del Vecchio
@jayfallon I care deeply about every one of my disciples. But not the numbers. Also, KP pasted me on 4sq leaderboard last wk.

Karl a jar with a heavy lid a pop whiz kid (posted by hipturn) zoom

by Rick Bradley | over 2 years ago | Read more



a jar with a heavy lid a pop whiz kid (posted by hipturn) zoom

Foto Rotas Polimórficas – Polymorphic Routes

by Diego Alvarez Nogueira | over 2 years ago | Read more

Fala galera!! Vou falar um pouco de um recurso muito legal do rails, polymorphic routes. Quem nunca esteve na seguinte situação: Ter um controller ou uma view que precisam ser utilizadas por vários outros modelos, por exemplo: person_photos_url(@person) city_photos_url(@person) state_photos_url(@person) No exemplo precisamos utilizar photos para “People“, “City” e “State“, mas como faremos isso se precisamos definir [...]

3117495112_085f476e3f Un-Hide Someone in Facebook

by Jason Miller | over 2 years ago | Read more

My aunt recently asked me how to un-hide someone from the news feed for her Facebook account. Like many other people before her, she’s pressed the ‘Hide’ button for someone, then realized it was a mistake…but couldn’t find out how to unhide them. To add someone back to your Facebook news feed, simply scroll to the bottom [...]

Logo Reverse Phone Directory - Find Out Who Really Owns That Phone Number Right Now

by Submit Articles | over 2 years ago | Read more

Is your phone ringing again? Are you tired of getting those phone calls at all hours of the day and night? Getting harassing calls like this over and over again can take its toll on a person. Luckily, there is something that you can do about it. There is a way for you to find out who is calling you and it is not as hard as you might imagine.

Rails Reservation Calendar plugin

by Mike Gehard | over 2 years ago | Read more

As Jon mentioned in the last blog posting, we’ve been hard at work on a couple of projects and I am happy to announce the unveiling of our reservation calendar plugin for Ruby on Rails.  It can be found here: http://github.com/broughten/reservation_calendar. An example of what it looks like in our other “secret” project: This plugin builds on the [...]

2357739959_1b2806306e_m Part Plant, Part Animal… amazing creature that actually...

by Jake Good | over 2 years ago | Read more



Part Plant, Part Animal… amazing creature that actually produces chlorophyll…

Image: Nicholas E. Curtis and Ray Martinez

Nolan_eakins_2007 @jnunemaker that's the mohawk grenade! i would hate to see you wash your hands.

by Nolan Eakins | over 2 years ago | Read more

Nolan
@jnunemaker that's the mohawk grenade! i would hate to see you wash your hands.

4173515888_fb3855db91_m The Future Sounds Like This

by Audrey Eschright | over 2 years ago | Read more

Uploaded with plasq’s Skitch! Over the weekend, Lucas and I watched both Solaris and From Beyond, a combination that’s possibly as high/low style as one can get with SF. I love the interior of the Solaris station, the round walls, electrical panels, and piles of books shoved onto shelves. With From Beyond, I started wondering how [...]

Myface Desperately behind and staying that way

by Noah Gibbs | over 2 years ago | Read more

I haven't been blogging here much for awhile. That'll remain true for at least a bit longer. I hope to have some real progress next week, and then may go dark again. No readers, so you'll all vacuously cope.

I'm not saying you're vacuous. I'm saying you're absent, so the statement is vacuously true. There's a logic joke in there somewhere.

Tags: published

Me Branding Gone Wild

by Ken Robertson | over 2 years ago | Read more

Typically, branding is a good thing. It brings you recognition, people remember your product/company, and you hope all that translates into sales. But branding can also be over done. Take for example, Smart Assembly (or rather "{smartassembly}") which was acquired by Red Gate back in September. Don't get me wrong, Smart Assembly makes and awesome product, but the whole "{...}" thing has been over done.

For example:

  1. All emails from them use "{smartassembly}". Even one hand typed support response did.
  2. The press release when Red Gate acquired them uses "{smartassembly}".
  3. The MSI you download is "{smartassembly}.Setup.msi"
  4. The default install location is "C:\Program Files\{smartassembly}"
  5. The executables are "{smartassembly}.exe" and "{smartassembly}.com" (.com is the command line runtime)
  6. And yes, the project files you save are ".{sa}proj".

The branding can also get in the way of using the product. Smart Assembly is an obfuscation tool, so it would seem reasonable to integrate into your build process. NAnt is of course a popular tool for automated builds. NAnt scripts use $"{...}" to denote variables. While this doesn't create a conflict, in my opinion, it clouds your scripts with excess brackets and takes away from the experience. (Note: I originally said it conflicts with using NAnt, I was wrong, since I jumped ahead of myself forgetting that it needs a '$' too)

Branding is cool and all, but when it gets in the way of your user experience by overuse, its gone a bit too far.

Nolan_eakins_2007 frack, Phrack still exists

by Nolan Eakins | over 2 years ago | Read more

Nolan
frack, Phrack still exists

Surf_s_up @KylePaice I made a serious attempt to compete this week, bu could not catch up to you over the wknd

by Brian Del Vecchio | over 2 years ago | Read more

Brian Del Vecchio
@KylePaice I made a serious attempt to compete this week, bu could not catch up to you over the wknd

Surf_s_up funny: Listorious seem to be using the will_not_paginate_for_shit plugin: http://listorious.com/top/longest

by Brian Del Vecchio | over 2 years ago | Read more

Brian Del Vecchio
funny: Listorious seem to be using the will_not_paginate_for_shit plugin: http://listorious.com/top...

My120_135 RE: Чат на рельсах

by Ruslan Voloshin | over 2 years ago | Read more

вот пример ЭЛЕМЕНТАРНОГО чата на рельсах:

http://www.rubyeventmachine.com/wiki/EchoServer
<code:ruby>
require 'eventmachine'

module EchoServer
def post_init
puts "-- someone connected to the echo server!"
end

def receive_data data
send_data ">>>you sent: #{data}"
close_connection if data =~ /quit/i
end

def unbind
puts "-- someone disconnected from the echo server!"
end
end

EventMachine::run {
EventMachine::start_server "127.0.0.1", 8081, EchoServer
}



My120_135 RE: не устанавливается гем: gem install eventmachine

by Ruslan Voloshin | over 2 years ago | Read more

скачай и установи локально:

http://github.com/eventmachine/eventmachine/





Super Bowl Ad Prices Fall; Some Big Names Stay Away

by Steve Deiters | over 2 years ago | Read more

The economic slump has prices for Super Bowl commercial time falling for only the second time in its history, but it is still the most expensive on television.

Pic The most epic tech-battles in 2010

by Sebastian Deutsch | over 2 years ago | Read more

So we’ve seen a couple of 2010 lists lately, but from a technical perspective, we think they were missing some important stuff. The following list is a snapshot of heated-up discussions in our company about things that could shake up the web development world in the year ahead. 1. Database wars: NO SQL vs. SQL The unevitable [...]

My120_135 RE: RoR Developers for Comodo Group Inc. (Ukraine, Odessa)

by Ruslan Voloshin | over 2 years ago | Read more

Тростите, этот топик является примером троллинга?
...я просто никак до конца не могу понять значение этого сленг-выражения!

Mariusz_feb_avatar_512 Yves Rocher gets new, organic branding

by Mariusz Cieśla | over 2 years ago | Read more

Ladies and gentlemen, I present to you the new logo for Yves Rocher, a brand well known and yet another major brand to change their logo in 2009/2010. The guys behind the rebrand seem to be Saguez & Partners, according to few branding blogs. My personal opinion is that I absolutely love the colours, suggesting the [...]

Related posts:

[Tumblr] You Ain't No Picasso

by Gabriel Handford | over 2 years ago | Read more

You Ain't No Picasso:

My Morning Jacket 80+ covers

Surf_s_up @KylePaice hey Kyle I meant to issue a public concession yesterday re: your Foursquare domination. No chance of catching you!

by Brian Del Vecchio | over 2 years ago | Read more

Brian Del Vecchio
@KylePaice hey Kyle I meant to issue a public concession yesterday re: your Foursquare domination. No chance of catching you!

Moi_sqare Jug o’ brew

by Jiayong Ou | over 2 years ago | Read more



Jug o’ brew

Twitter_profile_pic_background_bigger_bigger Redesigning the Boarding Pass – Boarding Pass / Fail

by Brent Sordyl | over 2 years ago | Read more

So I took out my Moleskine and started sketching. I tried to remember my previous trip through John F. Kennedy Airport and when and why I needed to reference my boarding pass. It seemed like I first needed to know which flight I was on. I put the gate right next to this, but made [...]

Surf_s_up @erima thanks, pal!

by Brian Del Vecchio | over 2 years ago | Read more

Brian Del Vecchio
@erima thanks, pal!

Trend All the Fucking Time (TRAFT?)

by Édouard Brière | over 2 years ago | Read more

Trend All the Fucking Time (TRAFT?):

James Golick made a tiny useful gem to making Munin graphs easy. Pretty slick.

30bfc28a8d7ff0745bd96497b9932a07 New Compilation: Mexican Frontier

by Jacobo García | over 2 years ago | Read more

Recently I’ve been attracted about a kind of musical subgenre which seems inspired by Ennio Morricone’s western soundtracks and tex-mex music. To this mix you have to add some rock and you have epic songs with trumpets, guitars and great instrumentation. This is the track list included in the compilation: Orthodox – Marcha de la Santa Sangre. Calexico [...]

Me Added Resque.enqueue_in for delayed resque jobs

by Justin Weiss | over 2 years ago | Read more

Last week I added support for delayed jobs in resque to the resque-scheduler gem. You can now do stuff like this:


Resque.enqueue_in(5.days, SendEmailFollowup, :user_id => current_user.id)


And in 5 days, the job will be queued for work as if you called Resque.enqueue directly.

Alternatively, you can call enqueue_at and pass it a Time instance (or unix timestamp as an int) instead of a number of seconds.

There's also an additional tab in resque-web for viewing delayed jobs.

For screen shots and more details, check it out on github.

If you're interested in calling jobs on a recurring basis, checkout my previous post on using resque-scheduler to replace cron jobs that just call ruby scripts.

Nolan_eakins_2007 [1..-1] is nice and all, but #rest does have a nice lispth to it #ruby

by Nolan Eakins | over 2 years ago | Read more

Nolan
[1..-1] is nice and all, but #rest does have a nice lispth to it #ruby

N805578064_1087670_8063-1 Info, Education or Partner: Big Differences

by Christopher B Montone | over 2 years ago | Read more

This past fall my team asked entrepreneurs around the world some revealing questions about being an entrepreneur today.  Something unexpected appeared. A clear majority of the respondents indicated they wanted to partner with Kim Castle and me.  They did just want information, they wanted to be partners! At first we thought what a nice reflection of the [...]

Continue Reading Info, Education or Partner: Big Differences

Related Posts

  1. BrandU’s Blindspot Turnaround   15.0335
  2. BU Private Mentorship 50% Off   14.3194
  3. Is Six Years A Long Time?   13.5041
Related posts brought to you by Yet Another Related Posts Plugin.


Tell us what you think of the new BlogSphere feature. We are continually looking to improve and update the functionality based on your feedback.

Job Board

Job Boards
Find your next Ruby on Rails project or job.
Exclusive content, regularly updated - onsite and tele-working positions listed.

View the opportunities

Latest from the Weblog

Mohnish G J:

Mohnish is a ruby expert, very friendly in nature. he helps other people a lot.

- Sbubble S.J, India