ビジネスに役立つ AI をお届けします 来栖川電算は AI 技術の研究開発から応用まで幅広いサービスを提供する名古屋工業大学発ベンチャー(2003 年設立)です。未踏ソフトウェア創造事業の採択者やソフトウェア分野の様々なコンテストの入賞者が在籍しています。最先端の AI 技術だけでなく、膨大な高品質データを生み出す技術、ハードウェアの限界性能を引き出す実装技術、高品質なソフトウェアを実現する設計技術にも定評があります。 手軽に使える様々な認識エンジン 来栖川電算の認識エンジンを活用すれば、センサーデータに埋め込まれた意味を手軽に抽出できます。種類ごとに用意された認識エンジンは教師データや設定を変えるだけで様々なタスクへ応用できます。Linux・Android・iOS 用のライブラリ、WebAPI、コマンドラインツールなどプログラマフレンドリーな SDK を提供しています。トレーニングやコン
SRA OSS, Inc. 日本支社 石井 達夫 現在開発中のPostgreSQL 9.3ですが、徐々に新機能が出揃ってきました。その中の一つに「更新可能VIEW」("Updatable view")というのがあります。これはその名の通り、更新可能なVIEWを作る機能です。 VIEWとは? VIEWとは、実際には存在しないテーブルのことで、CREATE VIEWというコマンドを使って定義します。VIEWは一種のマクロと考えることができ、よく使うSELECT文をVIEWとして定義することにより、複雑なSELECT文を毎回打ち込む手間を省くことができます。 たとえば、 CREATE VIEW mytable_foo AS SELECT * FROM mytable WHERE id = 'foo'; としておくと、 SELECT * FROM mytable_foo; とするだけで、 SELE
晴天の価値 2月中旬に出張で千葉へ行った。5日間の滞在中はずっと快晴で、気温は20℃に迫る春のような暖かさだった。仕事は朝から晩まで現場を走り回る過酷なもので、身体的にも精神的にも追い込まれた。毎朝、京葉線から見える美しい景色を眺めて正気を保っていた。太平洋へ燦々と…
Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/rontan/www/wp-content/plugins/ultimate_ga_1.6.0.php on line 524 PHPのプログラムでデータベースをPostgreSQLからMySQLに移行する際のメモ。 最近のレンタルサーバーはMySQLのみ搭載しているところが多くなってきているので、移行する機会が増えてきました。 その際の手順というか注意点をまとめました。 関数の修正 大抵は関数名を「pg_xxxxx」から「mysql_xxxxx」に変えるだけでOK。 しかし、一部違うところもあるので注意が必要。 接続関数の表記方
composite_primary_keysというGemを入れると、ActiveRecordでも複合主キーが使えるようになるらしい。 Gemのインストール % gem install composite_primary_keys Bulk updating Gem source index for: http://gems.rubyforge.org Successfully installed composite_primary_keys-1.0.3 Installing ri documentation for composite_primary_keys-1.0.3... Installing RDoc documentation for composite_primary_keys-1.0.3... Modeの作成 % script/generate model Foose_pri
@deprecated この情報はCakePHP1.2RC1までのものです。2008/06/26現在のリポジトリではチケットが反映され修正が完了しています。 CakePHP+PostgreSQLでModel#getInsertID()を使う場合、別セッションのシーケンス値が取得される問題があります。 問題点 ユーザ情報とその付加情報や、注文情報と明細情報などINSERT後にそのレコードに関連する情報としてid値を活用する場合、本来とは異なるレコードに結びつく可能性があります。 ex) 別の注文情報に明細が登録される等 ただ、これはほぼ同時にINSERT文が発行された際に起こる現象ですので、それほど登録処理が行われないサイトではあまり遭遇するものではありません。(ですので、これまであまり表面化しなかったかと。) CakePHP1.2RC1/1.2-beta/1.1.19でこの問題があります。
このドメインは お名前.com から取得されました。 お名前.com は GMOインターネットグループ(株) が運営する国内シェアNo.1のドメイン登録サービスです。 ※表示価格は、全て税込です。 ※サービス品質維持のため、一時的に対象となる料金へ一定割合の「サービス維持調整費」を加算させていただきます。 ※1 「国内シェア」は、ICANN(インターネットのドメイン名などの資源を管理する非営利団体)の公表数値をもとに集計。gTLDが集計の対象。 日本のドメイン登録業者(レジストラ)(「ICANNがレジストラとして認定した企業」一覧(InterNIC提供)内に「Japan」の記載があるもの)を対象。 レジストラ「GMO Internet Group, Inc. d/b/a Onamae.com」のシェア値を集計。 2023年10月時点の調査。
Description Under PostgreSQL, the concept of sequences is tied to the concept of sessions - A sequence is not supposed to be queried unless it has been used in the current user session. Therefore, whenever data is directly inserted without going through a model (i.e. when running Globalize's migration script), we often see: (...) cnx = ActiveRecord::Base.connection (...) cnx.insert(sql) Now, runni
Universe Of Knowledge
ここでは「PostgreSQL」をコマンドラインから直接操作する方法を紹介します。 DBサーバーをインストールした後、CGIなどのWebアプリケーションからDBを利用するためには、以下の手順で ユーザーの作成 と データベースの作成 をする必要があります。 >> PostgreSQLのインストールはこちら 作成: 2004年09月01日 更新: 2004年09月01日 * データベース (Database) データベースは、DBMSと呼ばれるシステムで運用されます。 データベースとは * PostgreSQL オープンソースのリレーショナルデータベースのひとつ。機能が豊富で、人気が高い。 PostgreSQLのユーザー作成 PostgreSQLに接続するユーザーを作成します。 ここでいうユーザーとは、PostgreSQLを利用するユーザー(接続アカウント)
基本的に、追加できるユーザはpostgresユーザです。追加したユーザにユーザの追加権限を与えれば、そのユーザも追加できるようになります。$ createuser <ユーザ名> Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) n Shall the new role be allowed to create more new roles? (y/n) n CREATE ROLE 1つ目は、新規ユーザをスーパーユーザにするかどうかです。2つ目は、データベースを作れるようにするかどうかです。3つ目は、新しいロールを作れるかどうかです。必要に応じて、権限を与えてください。helpを見ると、ショートカット等もあります。 このままだと、ノーパスですの
PostgreSQLバイブル サポートページ サンプル SQLの実行 レプリケーション レプリケーションの設定 pgpool関連情報 pgpool-IIのセットアップ pgpool-II:レプリケーションモード pgpool-II:マスタスレーブモード Streaming Replication はじめに クイックスタート 機能一覧 仕組み memcached mcb: memcached benchmark tool pgmemcached Postgres-XC ver0.9.2クイックスタート gtmのJava版 gtmの多重化 並行プログラミング The Programmer's Guide to the Parallel World MySQL [MySQLの基礎知識] MySQLとは MySQLの概要 データベースシステムの構造 データベースシステムへのアクセス方法 ストレージ
PgSQLのバックアップ のダンプファイル ****.dump なんですが、Xrea サーバ内では復元できますが、 その****.dumpをダウンロードしまして、自宅サーバーで (RHL7.3 PgSQLは同梱包のRPM) 以下のようにすると $ pg_restore -d **** ****.dump pg_restore: [archiver] input file does not appear to be a valid archive で、復元できません。つまり互換性がなかった。 -d このオプションも色々かえたり、直接 ****.dump の中を 書き換えたりしても、 pg_restore: [archiver] input file does not appear to be a valid archive でした。 何かい
色々検索すると、$PGCLIENTENCODINGをUTF-8EUC-JPにして普通にpsqlから流し込めば完了っていうのが良く引っかかったけど、実際に試してみると以下のエラーが発生しました。 ERROR: character 0xfaf0 of encoding "EUC_JP" has no equivalent in "UTF8" なんかEUC-JPの0xFAF0っていう文字をUTF-8に変換できないよというエラー。 このエラーメッセージの下には該当テーブル名が表示されていて、そのテーブルにはレコードが1件もリストアされていませんでした(当然か) PostgreSQLメーリングリストのアーカイブ等を探ってみるとPostgreSQLの文字変換マップが云々とのことです。 リストアしたいレコード数は数百件とかのレベルでは無かったので手作業で対応するのは不可能。 どうしようかな~と色々考えた
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く