• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

We announce the release of new service named Formula, which provides a way of embedding mathematical equations into your blogs and sharing it.

formula
http://formula.s21g.com/

Using the service, everybody can easily bring a beautiful mathematical expression to a blog post, like this.

You can jump to the page of discussion about the expression by clicking the image of the expression.

Usage is quite simple.

  1. Write a mathematical expression in LaTeX format into the form in the top page of Formula.
  2. And then, you will get the image of the expression at the bottom of the form as a preview.
  3. Finally, you can generate the HTML snippet of the image for embedding by clicking the Submit button.

There is no need to sign up to use this service.

For details, email us to email. We appreciate any kind of feedbacks.

Thank you.

Genki Takiuchi

posted by Png takiuchi on Sun 27 Jul 2008 at 08:16 with 2 comments

I made a small utility library named Wormhole. The library enables us to communicate between caller and callee.

Here is a simple example of use.

   1  require 'rubygems'
   2  require 'wormhole'
   3  
   4  def foo(array)
   5    array << :foo # (1)
   6    Wormhole.throw array
   7    array << :baz # (3)
   8  end
   9  
  10  result = Wormhole.catch do
  11    foo []
  12  end.return do |array|
  13    array << :bar # (2)
  14  end
  15  puts result.inspect # => [:foo, :bar, :baz]

First, the block passed to Wormhole.catch, the caller, is evaluated. The foo method, the callee, throw an array object passing through the wormhole. Then the array is caught by the last block passed to a return method. A block parameter of the block is the array. Finally, the process goes back to the point 3 after the last block ends. A return value of the foo method is returned via the return method.

By using this utility, you can participate to a depth of a complicated system from a safer position.

At the end, you can install this utility from the GitHub by using gem command like this.

   1  % sudo gem sources -a http://gems.github.com
   2  % sudo gem install genki-wormhole

Have fun!

posted by Png takiuchi on Sat 5 Jul 2008 at 01:53 with 2 comments
Contents
Formula: Let's Get Mathematical Expressions Embedded to Your Blogs
Wormhole: Let's Communicate Between Caller and Callee
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
ブログに数式を埋め込める数式コミュニティ