AX

Higepon Mona OS develop blog from Japan

Tuesday, December 08, 2009

Memcached client for Erlang.

Released Memcached client for Erlang.
memcached-client- GitHub

Wednesday, November 18, 2009

How to migrate Subversion (svn) to Git on sourceforge.net

Here is a result of migration git - monaos

% mkdir git
% cd git
% cat authors.txt
higepon = higepon
tino = tino
bayside = bayside
eds1275 = eds1275
h0shu = h0shu
hiratch = hiratch
junjunn = junjunn
nerry = neri
okuoku = okuoku
mjt = mjt
shadowin = shadowin
shadowulfila = shadowulfila
sky-blue = Gaku
yuinejp = yuinejp
yume_kondou = yume_kondou
syn = syn
root = root
hello = hello
csharp = csharp
yamamimail = yamamimail
mona_os_yossy = mona_os_yossy
(no author) = no_author
% git svn clone --no-metadata -A authors.txt -t tags -b branches -T trunk https://monaos.svn.sourceforge.net/svnroot/monaos
% git branch -rv --no-abbrev > tmp
% awk '{ system("git branch" " " $1 " " $2) }' tmp
% mv .git/refs/heads/* .git/refs/tags
% git config user.name "higepon"
% git config user.email "higepon@users.sourceforge.jp"
% git remote add origin ssh://higepon@monaos.git.sourceforge.net/gitroot/monaos/monaos
% git config branch.master.remote origin
% git config branch.master.merge refs/heads/master
% git push --all
% git push --tags


If the result of git push is not what you want, reset the repository on sf.net (See Git - sourceforge.

Enjoy.

Friday, October 09, 2009

Mona 0.3.0 released

Overview


This the first release of Mona for daily use.


You can listen to music, run a web server and do some work with an interactive shell.



Download


http://www.monaos.org


Major changes since 0.2.0.



  • Ported uIP httpd (Higepon).


  • Added KVM virtio-net driver (Higepon).

  • Added Scheme-based Shell (Higepon)

  • libc implementation (Shotaro Tsuji).

  • Ported a Squirrel programing language (okayu).

  • Added standard I/O and pipe (Higepon).


  • Improved thread APIs (Higepon).

  • Added sound player and driver (Shotaro Tsuji, .mjt and Higepon).

  • Improved CD-ROM access speed (junjunn).

  • Improved console drawing speed (junjunn).

  • Supported build on gcc 4.1.x (shadow).


  • Added VFS (Higepon).

  • Support build on Linux.

  • Added APM support (Shotaro Tsuji).

  • Ported Mesa (Nanashi and pol).

  • Added Stack auto expansion (Higepon).


  • Improved Memory management (Higepon).

  • Boot from CD-ROM (Higepon and Nananshi).


Applications


See contrib/application_catalog.txt.



Roadmap and Directions


by version 0.0.3 (done)



  • interactive Shell

  • Sounds


  • Stable NIC driver


by version 0.0.4



  • Port BSD Socket



by version 0.0.5



  • Port Mosh Scheme

  • Some network applications


by version 0.0.6




  • Web browser

  • Rewrote some core components in Scheme


Acknowledgements


Thanks to all the people who have shown interest in Mona and who have downloaded and tested it.



Particular thanks to those people who have contributed in some way to Mona:


Shotaro Tsuji, Tino, junjunn, bayside, Gaku, shadow, Yui_Neko, gcj, .mjt, Nanashi, nikq, akky, K-tan, Yamami and gamix.


Bug report


https://sourceforge.net/tracker/?group_id=164970&atid=833826


higepon@users.sourceforge.jp

Tuesday, August 18, 2009

How to start/stop Erlang behaviour(application) from commandline

If you know a better way than as follows, please let me know.

start



% erl -noshell -noinput -s hige_app start -name hige@localhost


hige_app:start/0 calls application:start(hige)

stop


hige_app:stop/0



stop() ->
case init:get_argument(target_node) of
{ok,[[Node]]} ->
ok = rpc:call(list_to_atom(Node), application, stop, [hige]),
ok = rpc:call(list_to_atom(Node), init, stop, []);
_ -> []
end.

commandline



% erl -noshell -noinput -s hige_app start -name hige@localhost

Friday, August 07, 2009

Mosh 0.2.0 released

2009/08/07 : 0.2.0 released (release note)
  • mosh-0.2.0.tar.gz
  • mosh-0.2.0-setup-win32.exe
  • Added (mosh concurrent) library.
    • (mosh concurrent) offeres "Erlang (or termite) like" message passing concurrent system.
    • This is alpha version. Please give us your feedback.
    • You can see some samples on mosh/example directory.
  • Added auto-compilation-cache.
    • Loaded libraries will be compiled automatically and stored to the cache directory on first execution.
    • This offers far greater efficiency.
    • --disable-acc and --clean-acc option are avalable.
  • Added (mosh file) library which exports as following procedures.
    • create-directory, delete-directory, rename-file, create-symbolic-link
    • file-directory?, file-symbolic-link?, file-regular?, file-readable?
    • file-executable?, file-writable?, file-size-in-bytes, file-stat-mtime
    • fille-stat-atime, file-stat-ctime,
  • Improved (mosh ffi).
    • Now FFI works on Windows too. (by OKUMURA Yuki)
    • Added pointer procedures.
      • pointer?, shared-errno, pointer->integer, integer->pointer
      • pointer-set-c-int8!, pointer-set-c-int16!,
      • pointer-set-c-int32!, pointer-set-c-int64!, pointer-ref-c-uint8,
      • pointer-ref-c-uint16, pointer-ref-c-uint32, pointer-ref-c-uint64,
      • pointer-ref-c-int8, pointer-ref-c-int16, pointer-ref-c-int32,
      • pointer-ref-c-int64, pointer-ref-c-signed-char, pointer-ref-c-unsigned-char,
      • pointer-ref-c-signed-short, pointer-ref-c-unsigned-short, pointer-ref-c-signed-int,
      • pointer-ref-c-unsigned-int, pointer-ref-c-signed-long, pointer-ref-c-unsigned-long,
      • pointer-ref-c-signed-long-long, pointer-ref-c-unsigned-long-long, pointer-ref-c-float,
      • pointer-ref-c-double, pointer-ref-c-pointer, pointer-set-c-char!, pointer-set-c-short!,
      • pointer-set-c-int!, pointer-set-c-long!, pointer-set-c-long-long!,
      • pointer-set-c-float!, pointer-set-c-double!, pointer-set-c-pointer!,
      • pointer-null, pointer-null?, pointer-diff, pointer-add,
      • pointer=?, pointer<?, pointer>?, pointer<=?, pointer>=?, pointer<>?
  • Rewrite equal? for perfomance reason.
    • Using Efficient Nondestructive Equality Checking for Trees and Graphs Michael D. Adams and R. Kent Dybvig.
  • Improved compilation time.
    • Some critical procedures are rewritten in C++.
  • Updated (lambda wiki).
    • See example/wiki
  • Many bug fixes.
    • Thanks to Marco Maggi, he gave us many detailed bug reports.

Saturday, February 28, 2009

Toy to practical interpreter Mosh intenals Shibuya.Lisp2009/02/28

I talked about Mosh Scheme at Shibuya.lisp tech talk #2

Wednesday, November 05, 2008

Outputz released

I've released Ouputz which shows you how much do you output to the Internet.