These days, I have been thinking about OpenID. It is able to gather privacy informations at one place and they would be maintained easily. On the other hand, thus it may become easy to cause a security crisis.

In order to find the solution, I have thought for a while. I think that the secret sharing scheme (SSS) could be useful for solving this problem. In other words, it could be reasonable way for achieving convenience and security to share the encrypted privacy informations between several OIPs by using SSS.

But I have no idea to make it run on the current OpenID spec. Hmm.

posted by Png takiuchi on Tue 25 Mar 2008 at 03:33

I have introduced here(Japanese) how to make your rubygem about a year ago. After that, time has passed quickly and many things have become old. So today I would like to report about followups of that methods.

At first, please recall the methods. First one which Mr. Secondlife had told us here(Japanese) is the method using the NewGem. Second one I told is to use the Hoe. The Hoe is the rubygem which makes a skeleton of gem easily. They are still useful ways.

Finally I found the new hope. That is the cutagem.

cutagem documentation

cutagem (Cut a Gem) is yet another executable for creating gem skelton. This is similar in concept to newgem but more customizable for each user.

This is very simple and able to generate a more customizable Rakefile than the Hoe. It seems very interesting. I will try it for a while.

posted by Png takiuchi on Mon 24 Mar 2008 at 04:26

I am worrying about the future of our natural right on the Internet. Here right I say is for us to be human obviously. In a word, it is becoming harder and harder for computers to distinguish human and bot.

Our activities on the Internet is too simple to recognize ourselves as human beings. There are only click, click, click many clicks and sometimes typings. Needless to say about clicks, nowadays, even typings are easy to be imitated by using algorithms of a sort of Markov-chain.

I think that this problem is worth discussing more. If we lose this identity war, most of internet companies will lose their values brought by advertisements.

I guess that the identity provider such as OpenID Providers becomes very important role in near future. They will become providing not only an identity but human proofs.

posted by Png takiuchi on Fri 21 Mar 2008 at 16:30

This is a free blog system designed for especially engineers. It has following features

  • Mathematical expressions by LaTeX notation

    
L_o(x,\vec{w}) = L_e(x, \vec{w}) +
\int_\Omega f_r(x,\vec{w}',\vec{w})
L_i(x,\vec{w}')(\vec{w}'\cdot\vec{n})d\vec{w}'

  • Highlighting source code
       1  def ruby_method
       2    puts "Hello, world!"
       3  end
    
  • Customizable side bars
  • SPAM-free comments by OpenID
  • Automatic trackback receiving
    • It will be automatically detected if your article got linked.
  • Extended MARKDOWN notation.
  • Ready to OpenSearch

It is ready to be used as we've already done for 4 months. But as you see, this is a REAL beta, because of having nearly no documents.

Please feel free to try it. And any feedback will be appliciated.

posted by Png takiuchi on Thu 20 Mar 2008 at 17:16 with 1 comment

I remember a lot of his works I had read when I was a child. Especially I'd loved "Childhood's End" and "Rendez-Vous With Rama".

I think that his achievement tells us that the science fiction is not only a sort of fictions. It can have a mission of a prediction of the future for us. It may be possible even to make our future if it was written by excellent SF writer such as Arthur C. Clarke.

We engineers have been chasing their works. Sometimes we have achieved or forestalled them even, but yet there are too many things which are waiting for us.

I pray for the future to keep attractive futures.

posted by Png takiuchi on Wed 19 Mar 2008 at 14:03

The title of this blog has the meaning of forcing me to think English as a programming language so that I can learn it as well as programming languages.

I have started English lesson since last Saturday. I had found myself that my listening skill of English is so poor. It's necessary to do strong effort.

I have also started to listen ESL podcast. That is very easy to listen, because the speakers speak very slowly and clearly.

posted by Png takiuchi on Tue 18 Mar 2008 at 11:51 with 6 comments

The Rails Study Meeting#28(Japanese)

Genki Takiuchi

Recent Situation:

  • Founded a small company.
    • And we have already survived 6 months, Yay!
  • Learning English hard.
  • I got an enlightenment of coLinux.
  • Binary stuffs: Computer Graphics, FWS/CWS, MUDA.
  • Smalltalk and NEPL!
  • And also being with Rails 2.0.2

Favorite Things:

  • C/C++ Template, JavaScript, Ruby.
  • Thinking algorithm, Rendering (CG) and 3D.
  • Vim7, Zsh, GNU screen, rails.vim, ZenTest.

Thank you!

posted by Png takiuchi on Sun 16 Mar 2008 at 11:48

I have tried FriendFeed yesterday. That is said as the next monster coming from SXSW.

friendfeed_com_settings_recommended.png

I have got the impression that it is almost meta-twitter. It is like to Soup.io. So to say it is better Soup.io that is enabling us to import the friendship network from other services.

At any rate, I recommend you to create an account if you care about your identity of nickname even if you have no plan to use this service.

Incidentally, my friendfeed ID is genki. My page is here. Feel free to subscribe it :-)

posted by Png takiuchi on Sat 15 Mar 2008 at 13:27

I think that the complex Rails applications such as maintained over years tend to have messy config/routes. Today I'd like to introduce a simple way to keep them clean.

The way is really simple. Use with_options for each controller with prefix options.

   1  map.with_options(:controller => 'posts',
   2      :name_prefix => 'posts_',
   3      :path_prefix => 'posts') do |posts|
   4    # posts_rss_path => 'posts/rss'
   5    posts.rss 'rss', :action => 'rss'
   6  end

Still complex? Okey, I have written the plugin for you.

With this plugin, you can draw the routes belonging to some controller like this.

   1  map.with_controller('posts') do |posts|
   2    posts.rss # posts_rss_path => 'posts/rss'
   3  end

As you can see, there's one more thing. I have also installed MapperWithController class into RouteSet at this plugin for making named routes be completely DRY.

   1  class MapperWithController
   2    def initialize(mapper)
   3      @mapper = mapper
   4    end
   5  
   6    def method_missing(name, *args, &block)
   7      path, *args = args
   8      path ||= name.to_s
   9      args.unshift path
  10      @mapper.send name, *args, &block
  11    end
  12  end

map.namespace :posts does nearly same thing, but it couldn't be used for this purpose because of it is optimized to making namespaces for a routing.

posted by Png takiuchi on Fri 14 Mar 2008 at 19:00

Matz might have a plan to introduce the method that calculates a cartesian product of two ranges into future Ruby. It is very interesting.

CS 11: Python track: python idioms

He has been thinking a good name for the method. I wish that there could be more set operators in future Ruby.

posted by Png takiuchi on Fri 7 Mar 2008 at 22:24
Contents
Distributed Master-key Authentication by using Secret Sharing Scheme
Followup: How to make RubyGems
Can human keep to be human after CAPTCHA has broken?
It's time to speak about the s21g blog.
RIP Arthur C. Clarke
The meaning of the title of this blog
Position Paper for the Rails Study Meeting#28
Can FriendFeed act as meta-twitter?
How to draw cleanly controller specific routes.
Ruby and Set Operators
Comments
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
falsefalse: @tiancongxin try using this one https://github.... '12-2
tiancongxin: TerminalCopyOnSelect not work on OS X 'Lion' , ... '11-7
staiano: Roderick you rock for recompiling it. Thanks. '11-3
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ