Posts Tagged technology

Mozilla Persona must catch up

Mozilla Logo

Mozilla is one company that really respects the freedom of internet users. While its browser rival Google Chrome ttys to track users and recommend advertisements and search results that suits them, Mozilla’s firefox tries to respect ones privacy if one wishes to be so.

For long we have this single sin on, that is each website needs to authenticate  user, and it has to make user under go painful task of creating an login account. This process is eased by stuff like openId, Google, Facebook and Twitter’s sine  sign on process. But Google and Facebook track a lot of ones behavior since their business is based on advertisement revenues, which depend on these websites knowing what exactly the user wants, and hence tracking is inevitable and your privacy i compromised.

Mozilla is a non profit company that runs on ones donations and it has put up  a single sign on framework called persona https://developer.mozilla.org/en-US/docs/Mozilla/Persona . Persona does not track a person, compromise ones security  and possibly won’t collaborate with NSA.

So try using it in your website. Any gem for it anyone? It would be nice to to have a compact gem to us it in ones web applications. hopefully it catches up and leads.

Advertisements

, , , ,

Leave a comment

Ditching my Rails Book

Hello People,

Am ditching my Rails book. well, I am in  a full time job now, in a kinda hot situation (not that girls here makes me hot),  but some things makes my blood boil, like peoples insisting on using Windows and Ditching Linux. WHATTTTTTTTTTTT? Ya they say this and that for that. Plus there is ample things here to work on. So till my friends here become a programming Jedi, I wont be free.

So I am ditching my Rails book which I announced here, and am going to Improve my Ruby book which can be downloaded clicking here.

, , , ,

Leave a comment

Planning for a Rails book

ror cover girl

Well, after the success of I Love Ruby( http://is.gd/ilr2013 ), I am planning fora Rails book. You can see its cover above 😉

This book will be released under GNU free documentation license. Time will tell if this book will become a success.

, , , ,

1 Comment

Auto Routing In Rails 3

Long long ago,  one fine day I switched from Rails 2.x to Rails 3.x and I notices a thing like this, when you have a controller like this one

class UserController < ApplicationController

  def profile
    @title = "Your Links"
    @links = Kaminari.paginate_array(current_user.links | current_user.jeweled_links).page(params[:page]).per(20)
  end

  def search
    @title = "Search for #{params[:s]}"
    @links = current_user.search_links(params[:s]).page(params[:page]).per(20)
    render :profile
  end

end
and if you type http://localhost:3000/user/profile , you will get an error unless the route get ‘user/profile’ is added into routes.rb .
It might be frustrating for one to add hundreds of routes in a large project and quiet not so good looking to see a huge routes.rb file, so how to go about the Rails 2 way where you put an action in an controller you can simply access it?
Well its quiet simple, just launch your routes.rb file and find this line
match ':controller(/:action(/:id))(.:format)'

It would be commented out, so uncomment it. Now launch http://localhost:3000/user/profile in your browser and it will load!

, ,

2 Comments

Launching Ruby Links

Possible Ruby Links Logo

Possible Ruby Links Logo

Hello people. One problem with Ruby and its spinoffs like Rails, Sinatra and blah blah is that its documentation, books, tutorials are scattered all over the internet. I was wondering could this all be got under one place. In fact Google has done it. But is googlean excellent vertical specific search engine and book marking thing? No. Well I present you with http://rubylinks.net .

This is not a search engine though, all you can do is, if you find a great link about Ruby and its allied technology, you can post it here. If soe one likes it, they can jewel it. You are presented with your own page here all the links posted and jeweled by you are listed, so that there is no need for you to scratch your head and say, “where did I see that?”

Ruby Links is a free software, hosted here https://github.com/codetribe/ruby_links , please post bugs and suggestions there, ad if possible contribute for the benefit of Ruby community.

, , ,

Leave a comment

Ruby Style Guidelines Being Developed

Ruby style guidelines are being developed. Please checkout https://github.com/bbatsov/ruby-style-guide

, , , , ,

Leave a comment

The web needs more intelligence

There is tremendous scope for A.I researchers in web development. The proof is shown above! ROFL. This also shows that there is a good opportunity to beat Google.

, , , , , ,

Leave a comment

%d bloggers like this: