タグ

2010年10月4日のブックマーク (12件)

  • GitHub - uwiger/unsplit: Resolves conflicts in Mnesia after network splits

    #unsplit - A framework for resolving Mnesia netsplits# Copyright (c) 2010 Erlang Solutions Ltd. Version: 0.5 Unsplit is a framework for registering merge functions that will be called any time mnesia tries to heal from netsplits. The default behaviour of mnesia is not to attempt automatic merge after a 'partitioned network' event. It detects and reports the condition, but leaves it up to the user

    GitHub - uwiger/unsplit: Resolves conflicts in Mnesia after network splits
    ita-wasa
    ita-wasa 2010/10/04
    unsplit - Resolve conflicts in Mnesia tables after network split Author: Ulf Wiger, Erlang Solutions Ltd NOTE: This application is currently a fairly crude prototype, and is not intended for mission-critical tasks (yet). Documentation will follow, as soon as the approach has been verified to w
  • erlang — erts v15.0.1

    View Source erlang (erts v15.0.1) The Erlang BIFs and predefined types. By convention, most Built-In Functions (BIFs) and all predefined types are included in this module. Some of the BIFs and all of the predefined types are viewed more or less as part of the Erlang programming language and are auto-imported. Thus, it is not necessary to specify the module name. For example, the calls atom_to_list

    ita-wasa
    ita-wasa 2010/10/04
    If Reason is the atom kill, that is if exit(Pid, kill) is called, an untrappable exit signal is sent to Pid which will unconditionally exit with exit reason killed.
  • [erlang-questions] how to connect Erlang Nodes over SSH

    ita-wasa
    ita-wasa 2010/10/04
    We chose to run with -kernel dist_auto_connect once and a backdoor ping, in order to preempt the situations that can cause mnesia inconsistencies (and other mayhem). Then we run an application _before_ mnesia which handshakes with its peers on other mnesia nodes, and performs a dependency analysis o
  • Erlang -- kernel

    Two standard logger handlers are defined in the Kernel application. These are described in the Kernel User's Guide, and in the logger_std_h(3) and logger_disk_log_h(3) manual pages. Asynchronous OS signals may be subscribed to via the Kernel applications event manager (see OTP Design Principles and gen_event(3)) registered as erl_signal_server. A default signal handler is installed which handles t

    ita-wasa
    ita-wasa 2010/10/04
    dist_auto_connect = Value Specifies when nodes will be automatically connected. If this parameter is not specified, a node is always automatically connected, e.g when a message is to be sent to that node. Value is one of: never Connections are never automatically connected, they must
  • Erlang -- net_adm

    ita-wasa
    ita-wasa 2010/10/04
    names() -> {ok, [{Name, Port}]} | {error, Reason} names(Host) -> {ok, [{Name, Port}]} | {error, Reason} Types: Name = string() Port = int() Reason = address | term() Similar to epmd -names, see epmd(1). Host defaults to the local host. Returns the names and associated port numbers of the Erlang node
  • [rabbitmq-discuss] Cluster recovery due to network outages

    ita-wasa
    ita-wasa 2010/10/04
    We don't have any logic in the broker to recover from inconsistent_database errors. Your best bet is probably to restart all but one of the nodes. 「Mnesia が inconsistent_database イベントを吐いたら、最善の策は、ひとつを除いた全ノードをリスタートさせること
  • Erlang -- Mnesia System Information

    Expand All Contract All Chapters Introduction Top of chapter Scope Prerequisites Overview Top of chapter The Mnesia Database Management System Getting Started Top of chapter Starting Mnesia for the First Time Example Build a Mnesia Database Top of chapter Define a Schema Data Model Start Mnesia Create Tables Transactions and Other Access Contexts Top of chapter Transaction Properties Locking Dirty

    ita-wasa
    ita-wasa 2010/10/04
    The directory listing also contains one .DAT file. This contain the schema itself, contained in the schema.DAT file. The DAT files are indexed files, and it is efficient to insert and search for records in these files with a specific key. The .DAT files are used for the schema and for disc_only_cop
  • LinuxカーネルとRuby、異なるコミュニティにコミットして見えたもの - @IT自分戦略研究所

    第2回 LinuxカーネルとRuby、異なるコミュニティにコミットして見えたもの 星暁雄(ITジャーナリスト) 2010/9/28 小崎資広氏は、Linuxカーネルの開発コミュニティと、Ruby開発者コミュニティにコミットしている。Linuxカーネルコミュニティは開発者中心でディベートが多く、Rubyコミュニティは紳士的? OSと言語、異なるコミュニティに参加したエンジニアが、運営方法やコミュニティ文化の違いについて語る。 第1回|1 2|次のページ 連載「Linux Karnel Watch」の筆者である小崎資広(こさきもとひろ)氏は、Linuxカーネルの開発コミュニティとRuby開発者コミュニティの両方でコミッタとして活動している開発者である。オープンソース・ソフトウェア(OSS)のコミュニティは、どのように運営されているのか。そしてLinuxRubyという成功した2つのコミュニティ

    ita-wasa
    ita-wasa 2010/10/04
    小崎 企業の中でOSS開発者として活動する以上、会社の理解は欠かせません。個人的な意見ですが、自分の会社の利益になることばかりいっていると、コミュニティでの信頼、社会的地位を失うというリスクがあります。自
  • Erlang vs node.js

    I've written about Erlang in the past, and my suspicion that, soon or later, other languages/systems will come along and "eat its lunch".  Scala is one such potential contender.  Another that has been gaining some visiblity lately is node.js, a simple framework for creating networked applications on top of Google's V8 Javascript engine. I should define what Erlang's lunch is a little bit better be

    Erlang vs node.js
    ita-wasa
    ita-wasa 2010/10/04
    I should define what Erlang's lunch is a little bit better before we go on. Erlang does several things really, really well; better than many existing, mainstream systems: 1. Concurrency - the Actor model that it uses is much easier and more pleasant than dealing with threads. 2. Distributed s
  • Manpage of MSYNC

    ita-wasa
    ita-wasa 2010/10/04
    msync() は mmap(2) を使ってメモリにマップされたファイルの、メモリ上のコピーになされた変更をディスクに反映させる。この関数を使用しないと、 munmap(2) が呼び出されるまで変更が書き戻される保証はない。より正確には
  • クイック・インストール・ガイド

    クイック・インストール・ガイド Android Manager は、Android ハンドセットのコンテンツ管理専用にデザインされた包括的な携帯ソリューションです。PCには Android Manager、ハンドセットには Android Manager Agent をインストールすると、携帯のコンテンツをPCとハンドセット間で簡単に同期したり、管理したりできます。 メモ:ホームネットワークでは、Android Manager WiFi バージョンを使用し、Android ハンドセットとPCを同じワイヤレス・アクセスポイントに接続して安全かつ安定した接続を確保してください。Android Manager USB バージョンに関する詳細は、http://www.mobileaction.com/をご覧ください。 Andoird Manager は、シンプルな 5つのステップで簡単に設定できま

    ita-wasa
    ita-wasa 2010/10/04
    # * o # Android Manager を PC にインストール * http://www.mobileaction.com/tutorial/am/wifi/に移動して、Android ManagerをPCにダウンロードします。 Android Manager WiFi をダウンロードします。 * Android Manager をPCにインスト
  • Android内のコンテンツをWi-Fi経由でPCで管理できる「Android Manager Wi-Fi」 | juggly.cn

    今回紹介するアプリは、Android内のコンテンツをWi-Fi経由でPCから管理できる『Android Manager Wi-Fi』です。 このアプリは、PCAndroidそれぞれに専用アプリをインストールしてWi-Fiで接続でき、Android内の動画、写真、音楽、マイクロSD内の全てのファイルをPC上にコピーしたり、整理したりできます。また、PC内の電話帳(Outlook/Outlook Express)をAndroidと同期したり、PCAndroidにインストールしたアプリをバックアップしたり、Android内のアプリをPC側から削除したりできます。 Android Manager Wi-Fiのセットアップ 1.Android Manager Wi-Fiは、Mobile ActionのWEBサイトからPCAndroid用のapkファイルをダウンロードしてインストールします。便宜

    ita-wasa
    ita-wasa 2010/10/04
    このアプリは、PC、Androidそれぞれに専用アプリをインストールしてWi-Fiで接続でき、Android内の動画、写真、音楽、マイクロSD内の全てのファイルをPC上にコピーしたり、整理したりできます。また、PC内の電話帳(Outlook/Outlook