Recently, the Formula had been slowing down.

The Formula is the service which provides a way to make images of mathematical expressions for embedding it into your blogs, BBSs and so on.

There was the problem in the manner of ranking the referred formulae. So I solved the issue by choosing simpler algorithm.

Now it became faster. Please try it again if you've given up once before for the slowness of the service.

Thank you for patience. I will keep appreciating any kind of feedbacks. Feel free to contact us.

posted by Png takiuchi on Wed 24 Sep 2008 at 03:48

Today, I added the feature mentioned in the title above to the Gist Ubiquitifier.

Gist Ubiquitifier
Uploaded with plasq's Skitch!

Obviously, it lacks title of the commands. This spec came from our purpose of providing transparent service to make pages for installing ubiquity commands.

But it might be provided in the future.

posted by Png takiuchi on Tue 16 Sep 2008 at 21:47

Formula is the service for embedding and sharing images of mathematical expression on your blog easily.

Recently, the service corresponded to embedding by BBCode. For example, following BBCode is generated to be embedded.

   1  [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url]

So that you can use it for bulletin boards which are capable to interpret BBCode such as phpBB.

posted by Png takiuchi on Tue 9 Sep 2008 at 18:35

最近、 NeverBlock の周辺の動きが面白い。

What is it all about?

NeverBlock is a Ruby library that allows developers to write non-blocking, concurrent code in a transparent manner. Meaning that you will keep coding in your traditional ways while you get the benefit of non-blocking IO operations.

LL futureの講演者控え室で、まつもとさん、高橋さんから、 その辺の話を伺う機会がありましたが、 NeverBlockはRuby-1.9普及の引き金になるかもしれない。 なぜなら、NeverBlockはRuby-1.9のFiberに依存したライブラリで、 Ruby-1.9が無いと利用できないからだ。

Building the Never Blocking Rails, Making Rails 12X Faster

They told you it can't be done, they told you it has no scale. They told you lies!

What if you suddenly had the ability to serve mutliple concurrent requests in a single Rails instance? What if you had the ability to multiplex IO operations from a single Rails instance?

No more what ifs. It has been done.

NeverBlockを使うとRailsが12倍速くなるらしい。

MySQLPlus: A Non-Blocking MySQL Driver for Ruby 1.8 and 1.9

MySQLPlus is billed as a new general purpose MySQL driver that supports "threaded access and async operations"

NeverBlockを使うために作られたMySQL用の新しいドライバらしい。

See Also

posted by Png genki on Thu 4 Sep 2008 at 09:32

I made an Ubiquity command in order to enable us to get images of mathematical equations from anywhere at anytime. It uses the Formula , which is the service for making images of mathematical formulae.

You can also get a preview of your input in real time, like this.

formula_u.png

INSTALL

The command is able to be installed from here.

NOTE1: You need the Ubiquity , an extension of the Firefox, to use ubiquity commands.

NOTE2: This command requires BASIC authentication via SSL at the first time in order to prevent SPAM posts. When you get the dialog box of the authentication, please enter your name and password which were used when you left a comment at the Formula. It means that you must leave at least one comment to the Formula for being authorized.

posted by Png takiuchi on Thu 4 Sep 2008 at 04:50

I made a tiny presentation tool for terminal addicts (of course including myself ;-)

USAGE is in README and sample directory.

You can make a presentation by using your favorite terminal like this.

   1  
   2  
   3  
   4        _                  _
   5       |_)   |_     _ ._  |_) _.o| _
   6       | \|_||_)\/ (_)| | | \(_|||_>
   7                /
   8  
   9       The Web Application Framework
  10  
  11          s21g LLC Genki Takiuchi
  12  
  13  
  14   1/15|**                          |00:02

I'd used this tool at the LL future.

posted by Png takiuchi on Mon 1 Sep 2008 at 11:54

MozillaLab's Ubiquity is a promising new window to the world after the age of the search box. I was strongly impressed with it, I've done a quickie job.

Gist Ubiquitifier

This is a service for enabling us to publish your Ubiquity commands without any servers which host the HTML file for installing the commands.

USAGE

At first, you make a JavaScript snippet including Ubiquity commands on the Gist.

If the URL of the page is as follows,

http://gist.github.com/7630

the URL of installation page is as follows.

http://ubiquity.s21g.com/7630

You can also specify the name of the command by adding name parameter to the query string, like this.

http://ubiquity.s21g.com/7630?name=s21g-blog-search

Currently the design of the service is very crufty. I will improve it if there are needs.

posted by Png takiuchi on Mon 1 Sep 2008 at 10:43

The PaginationScope library is a pagination library of the NamedScope era.

The difference to the last version is only a small bug fix. So you can keep using it if you don't mind.

That's all. But I shall use this opportunity to write some document for the helper method of the library.

SYNOPSIS:

   1  paginate <scope>[, <options>]

The scope is a pagination scope object. The options is a hash including several parameters as follows.

  • :newer The label string for the link to a newer page.
  • :older The label string for the link to an older page.
  • :left The number of pages which appears on the left side.
  • :right The number of pages which appears on the right side.
  • :window The width of pages which surrounds the current page.
posted by Png takiuchi on Wed 20 Aug 2008 at 02:34

PassengerのPhusionから、「Ruby Enterprise Edition」なる製品がリリースされたようです。

Ruby Enterprise Edition

Ruby Enterprise Edition is a drop-in, transparent solution for improving your Ruby on Rails website's scalability and performance, while decreasing memory usage.

Railsアプリの動作を高速かつメモリ消費を抑えることができるように チューニングされたRubyのようです。 こちら でtarballが配布されていますね。

以下のような特徴があるようです。

  • Passenger上でのRailsアプリのメモリ使用量を平均33%少なくします
  • 普通のRuby-1.8.6と100%互換性を持っています
  • きちんとテストされていて、非常に安定しています
  • 付属のインストーラで、Linuxのパッケージとおなじぐらい簡単にインストールできます
  • 普通のRubyと共存させることができます。100% self-contained, 0% installation risk!

とのこと。Ruby自体に手を加えるというのは興味深いアプローチですね。

posted by Png genki on Fri 13 Jun 2008 at 10:27

Rails 2.1がリリースされたようです。

Rails 2.1: Time zones, dirty, caching, gem dependencies, caching, etc

Rails 2.1 is now available for general consumption with all the features and fixes we’ve been putting in over the last six months since 2.0. This has been a huge effort by a very wide range of contributors helping to make it happen.

新しい機能

  • タイムゾーンのサポート
  • Dirty tracking(なんだか面白そう)
  • Gemの依存関係(前々回のRails勉強会でやってたやつ)
  • Named scope
  • マイグレーション番号がタイムスタンプに(UTC-based migrations)
  • キャッシュの改善(Better caching)

なかなか面白そうですね!

posted by Png genki on Sun 1 Jun 2008 at 12:45
Contents
Sped up the Formula
Added Top Rated and New Commands to The Gist Ubiquitifier
Formula corresponded to embedding by BBCode
NeverBlockの周辺の動き
The Ubiquity Meets Mathematical Formulae
Present: The Presentation Tool for Terminal
Gist Ubiquitifier: A server-less way to publish your Ubiquity command.
Shipped the PaginationScope-0.0.3
Ruby Enterprise Edition
Rails-2.1リリース
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
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
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ