Amazon Kindle in India?

Posted almost 7 years back at { :from => Delhi, :about => everything }

I sincerely hope that this news is true.

Amazon Kindle is a great device and the way it uses Whispernet(EVDO) or Wifi to download books and back them up on S3, we should soon be saying good bye to paper-books and to ebooks which we have to manually backup.

Update: Just came across this interesting debate posted by Ajay Jain at TechGazing . I already read more ebooks than paper books. We work on the cutting edge software technology and in this industry the trend increasingly is that beta books are released as pdf version months before the paper book comes out. Also ebooks are relatively lesser priced and need no extra shipping charges. Citalopram
Washington home loan
Calculator card consolidation debt credit
Ringtones Star War Verizon
Washington mutual home loan
Bad credit government home loan
Consolidate loan student
California home loan new
Equity home loan minnesota rate
New york home equity loan
Bad credit loan for non home owner
Interest loan low student
Debt consolidation canada
Debt consolidation loan lead
Free Samsung X427 Ringtones
Refinance fha home loan
Debt consolidation service uk
Home improvement loan lender
No bank statement payday loan
No credit personal loan
Get Mosquito Ringtones
World savings home loan
Broward home loan
Citibank student loan consolidation
Home loan rate search
Countrywide home loan customer service
Hard money personal loan
Countrywide home loan
Instant faxless payday loan
Maryland home equity loan rate
Polyphonic Ringtones
Application california home mortgage loan
Texas va home loan
Free debt consolidation service
Cingular Mp3 Ringtones
Canada student loan program
Federal government loan student
Mortgage broker home loan refinance
Florida home loan online
Consolidation debt non profit

Episode 83: Migrations in Rails 2.0

Posted almost 7 years back at Railscasts

Migrations are now sexy in Rails 2.0! In this episode we will take a look at these improvements and the related rake tasks.

Emerging Technologies Conference 2008

Posted almost 7 years back at zerosum dirt(nap) - Home

I really enjoy the technology conference ritual, make it a point to get to at least a few every year. I particularly enjoy the smaller regional conferences. Where else can you (a) get exposure to new technologies, (b) meet the smart hackers who created your favorite OSS tools, © get away from home for a long weekend, and (d) get schooled at werewolf, all at the same time?

Alas, with winter upon us, it appears that the 2007 conference circuit is winding down. That means it’s time to look forward to… Why, the 2008 conference circuit, of course!

The Third Annual Emerging Technologies for the Enterprise Conference has been announced; it will be held in Philadelphia, March 26-27th. Last year they had some great talks by high-profile Rubyists such as David Black, Geoff Grosenbach, and Amy Hoy. Rod Johnson, father of the Spring framework, also gave a talk last year.

This year, Floyd Marinescu of InfoQ will be giving one of the keynotes. Obie Fernandez and Peter Armstrong (the author of Flexible Rails, which I’m really looking forward to reading) have already been announced as Ruby community speakers.

Got something worth talking about? Tracey asked me to note that there’s an open call for presenters. The submission deadline is 1/7/08.

Dates for RailsConf (5/29-6/1), Mountain West RubyConf (3/28-3/29) and GoRuCo (4/26) have already been announced as well. Feel free to mention any other interesting events that I’ve omitted in the comments!

Postfix to Infix (#148)

Posted almost 7 years back at Ruby Quiz

There are many different ways to write mathematical equations. Infix notation is probably the most popular and yields expressions like:

2 * (3 + 5)

Some people like to work with a postfix notation (often called Reverse Polish Notation or just RPN) though, which doesn't require parentheses for the same equation:

2 3 5 + *

You can compare the results of these equations using the Unix utilities bc (infix) and dc (postfix):

$ bc <<< '2 * (3 + 5)'
$ dc <<< '2 3 5 + * p'

The "p" instruction tacked onto the end of the expression for dc just tells it to print the result.

This week's quiz is to write a script that translates postfix expressions into the equivalent infix expression. In the simplest form, your script should function as such:

$ ruby postfix_to_infix.rb '2 3 +'
2 + 3

At minimum, try to support the four basic math operators: +, -, *, and /. Feel free to add others though. For numbers, remember to accept decimal values.

You can count on the postfix expressions having spaces between each term, if you like. While dc is content with 2 3+p, you don't have to support it unless you want to.

For an added bonus, try to keep the parentheses added to infix expressions to the minimum of what is needed. For example, prefer these results:

$ ruby postfix_to_infix.rb '56 34 213.7 + * 678 -'
56 * (34 + 213.7) - 678
$ ruby postfix_to_infix.rb '1 56 35 + 16 9 - / +'
1 + (56 + 35) / (16 - 9)

to these:

$ ruby postfix_to_infix.rb '56 34 213.7 + * 678 -'
((56 * (34 + 213.7)) - 678)
$ ruby postfix_to_infix.rb '1 56 35 + 16 9 - / +'
(1 + ((56 + 35) / (16 - 9)))

Posting equations and your output is not a spoiler.

Goedel (#147)

Posted almost 7 years back at Ruby Quiz

by Hugh Sasse

In the book "Starburst" by Frederik Pohl ISBN 0-345-27537-3, page 56, without really spoiling the plot, some characters complain about the verbosity of communications and encode a message by Gödelizing it (detailed on page 58).

The encoding works by taking each successive character of a message and raising each successive prime to some function of that character, and multiplying these powers of primes together. So for example we could use the ASCII code + 1 to allow for nulls to be encoded. Then "Ruby\n" would end up as:

(2 ** R) * (3 ** u) * (5 ** b)....


The idea is partly to obscure the message by the amount of factorization needed. This quiz is to write a program to Gödelize a message, and a program to deGödelize it.

The funtion used to map characters described in the book is "A" => 1, "B" => 2, etc and an example is given where spaces are 0. Nothing further is said about punctuation, or lower case. The message sent in the book is:

msg = (3.875 * (12 ** 26)) +
(1973 ** 854) + (331 ** 852) +
(17 ** 2008) + (3 ** 9707) + (2 ** 88) - 78

which it turns out has lots of 0 powers in it, so I strictly don't need the ASCII + 1 I've used in my example, I could use just ASCII, and the nulls would not increase the size of the resulting number. This further means that if a list of characters is sent in decreasing frequency order with the message, the most frequent could be encoded as 0 and the number would be that much smaller. In English it is likely to be an "e" or " " which ends up coded as 0.

Interesting things arising from this:

1 Finding the power once a prime is selected
2 Getting the list of primes in the first place
3 encoding of characters, as mentioned above
4 representing the number that results from encoding.

James Cox - Ruby on Rails Podcast

Posted almost 7 years back at Ruby on Rails Podcast

James Cox, former PHP team member and current Rails consultant. From London.
Also mentioned:

Rails 2.0 is out

Posted almost 7 years back at Loud Thinking

Yes, yes, I've been awfully quiet here lately. But let's blame that on the long crunch session for Rails 2.0 and call it cheers, ye? It's out, gawd dammit. Finally. After about a year in development and oh-so-many we're-almost-there's. Feels good, does it.

Now I just have to put the final hand on the new screencast for Rails. The current one is awfully stale.

So dig in and get it: Rails 2.0.

Rails 2.0 is out

Posted almost 7 years back at Loud Thinking

Yes, yes, I've been awfully quiet here lately. But let's blame that on the long crunch session for Rails 2.0 and call it cheers, ye? It's out, gawd dammit. Finally. After about a year in development and oh-so-many we're-almost-there's. Feels good, does it.

Now I just have to put the final hand on the new screencast for Rails. The current one is awfully stale.

So dig in and get it: Rails 2.0.

RubyConf 2007 videos online

Posted almost 7 years back at Jonathan.inspect

I was really looking for that and it finally happened : Confreaks released RubyConf 2007 videos.

Rails 2.0 Released

Posted almost 7 years back at zerosum dirt(nap) - Home

It’s official; Rails 2.0 was officially released this morning. Gem update rails to snag it. There’s some great stuff in there, if you haven’t been keeping track, including further augmentation to RESTful conventions, multiview, HTTP authentication, sexy migrations, and on and on and on.

You can read all about it here and also make sure to check out the feature summaries that Ryan Daigle has put together as well as the series of Railscasts Ryan Bates has been doing on the new features. Thanks for the hard work everyone.

Links For 12.05.07

Posted almost 7 years back at zerosum dirt(nap) - Home

Waiting at IAD for a connecting flight home (en route from Beijing). It’s snowing. That means delays. I’m tired. But at least I have some time to catch up on blog reading and link posting. Here’s the rundown of goodies on my reading list atm:

Xbox Live Marketplace Video Store Comes to Canada

Posted almost 7 years back at schadenfreude

December 11th is the day Video Marketplace will launch in canada.

Currently only movies will be available but TV shows will soon follow.

The pricing is comparable to what you see in Canada for other video on demand services. For Library titles, movies will be 310 Microsoft Points (Standard Definition) and 460 Points (High Definition), and for Current titles, they’ll be 460 Points (SD) and 610 Points (HD).

So to break that down. $1 CAD = 70 points.

Old title SD: $4.50 Old title HD: $6.60

New title SD: $6.60 New title HD: $8.70

Note: numbers rounded.

November 2007 Hackfest Results

Posted almost 7 years back at Weblog - Home

The competition was tough for the top prize provided by Oakley and it was a pretty close call right up to the end.

See the full results

Congratulations to everybody who took part!

BarCamp in Delhi

Posted almost 7 years back at { :from => Delhi, :about => everything }

Hey Guys, BarCampDelhi3 has been announced. Better be there or you will miss out the best tech get together in town.

I have been involved with both the previous Delhi BarCamps. I have been a planner, speaker, front desk volunteer and a time keeper. I am sure it would be no different this time around. This is something I love about BarCamps. It’s a completely volunteer driven event. There is no organizer and there is no manager. Infact, everybody is the organizer and everybody is the manager. It is a very informal and flexible event.

It is a great platform for individuals, small companies and startups to get themselves or their product or service noticed. Decide on a topic you feel passionate about and if you can speak on it for 20-30 minutes, voila, you would be famous overnight.
If speaking on a topic is too much of an effort for you, blog/photolog/vlog the event, post about it on the wiki and use the tag barcampdelhi3. There are other ways also by which you can participate and help, read about it on the barcamp wiki.

If this will be your first barcamp, be warned, barcampers are a very opinionated group.
See the php vs ruby vs python vs java guys fight it out. Be ready for the Django vs Rails supermacy debate. Don’t miss the Opera vs IE battle. I prefer opera, after all they are sponsoring the drinks ;)
Is somebody from Microsoft reading this blog :)

The third barcamp at Delhi is being held this Saturday, 8th December 2007 at Impetus Technologies in Noida.

Details are on the wiki page here.

Hobo 0.7 released

Posted almost 7 years back at The Hobo Blog


I said you can pass CSS=y to the rake hobo:fixdryml task to instruct the script to ‘dasherize’ CSS class names. That should have been CLASS=y.

Hobo 0.7 is now available, both as a gem on rubyforge, and in via the repo trunk.

Template tags and non-template tags are now unified. This is really a huge improvement to DRYML. We’ve also switched to dashes instead of underscores for tag and attribute names.

Got any existing DRYML code? It doesn’t work any more. At all :-)

Fortunately, happiness is only a rake task away:

rake hobo:fixdryml

From the changelog:

A rake task hobo:fixdryml has been added which does a pretty good

job of converting Hobo 0.6 DRYML source-code to the new style. It will change every file in app/views//.dryml, and keeps a backup copy of app/views in app_views_before_fixdryml. If you pass it CLASS=y and ID=y it will ‘dasherize’ css classes and IDs too, which is the new Hobo convention. You can also pass DIR=… if you want to point it somewhere other than app/views. It won’t fix anything in erb scriptlets, e.g. use of the tagbody local variable. Expect to do some manual fixes after running the task (good job you’ve got that thorough test suite eh?)

We’ve switched to Rails 2.0 RC2 for our testing. Be warned - there’s a breaking change in Rails that might absorb some of your time as it did mine. It’s a change to fixtures - the default if you don’t give a value for a created_at or updated_at field, is now It used to be nil like any other field.

There’s now only one significant feature that I want to add – fixing themes and CSS – before the push to 1.0 begins.

But before that, next up is!