SlideShare a Scribd company logo
1 of 20
Download to read offline
Full Text Search on iPhone
Use OSS libraries on iPhone!
わたなべかずひろ@kaz_29
2010年11月8日月曜日
Who am I
Name: Kazuhiro Watanabe
Work: E2 Inc. => Here!
twitter: @kaz_29
blog: http://d.hatena.ne.jp/kaz_29
I like #iphonedev #cakephp #lithium #php
and #golf #cat and #beer!
2010年11月8日月曜日
Advertisement!
2010年11月8日月曜日
NIFTY Cloud Manager
2010/10/20 out!
http://iphone.e-2.co.jp/
2010年11月8日月曜日
How to use ‘Hyper Estraier’
in your Apps.
http://fallabs.com/hyperestraier/
2010年11月8日月曜日
I like source install!
2010年11月8日月曜日
configure option
$ ./configure --prefix=/usr/local/iphone 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
CFLAGS=-arch i386
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.0.sdk
-I/usr/local/iphone/include -L/usr/local/iphone/lib
CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 
AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
インストール先を指定
2010年11月8日月曜日
configure option
$ ./configure --prefix=/usr/local/iphone 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
CFLAGS=-arch i386
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.0.sdk
-I/usr/local/iphone/include -L/usr/local/iphone/lib
CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 
AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
Cコンパイラを指定
2010年11月8日月曜日
configure option
$ ./configure --prefix=/usr/local/iphone 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
CFLAGS=-arch i386
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.0.sdk
-I/usr/local/iphone/include -L/usr/local/iphone/lib
CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 
AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
Cコンパイル設定を指定
2010年11月8日月曜日
configure option
$ ./configure --prefix=/usr/local/iphone 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
CFLAGS=-arch i386
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.0.sdk
-I/usr/local/iphone/include -L/usr/local/iphone/lib
CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 
AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
C++コンパイラを指定
2010年11月8日月曜日
configure option
$ ./configure --prefix=/usr/local/iphone 
CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
CFLAGS=-arch i386
-isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.0.sdk
-I/usr/local/iphone/include -L/usr/local/iphone/lib
CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 
AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
アーカイブツールを指定
2010年11月8日月曜日
Customize Makefile
# for Simurator
CC = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
AR = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
CFLAGS = -arch i386 -Wall -fPIC -fsigned-char -O3 -fomit-frame-pointer 
 -fforce-addr
# for Device
CC = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar
CFLAGS = -isysroot /Developer-SDK402/Platforms/iPhoneOS.platform/Developer/
SDKs/iPhoneOS4.0.sdk 
-arch armv6 -Wall -fPIC -fsigned-char -O3 -fomit-frame-pointer -fforce-addr
2010年11月8日月曜日
Add your project
for device
for simulator
2010年11月8日月曜日
Summary
CC,CPP,AR => Change to iOS SDK Tools
CFLAGS
-arch i386(or armv6) => set target architecture
-isysroot => set root path
2010年11月8日月曜日
Test code - Preparation for search
/* dbをオープン */
if (!(db = est_db_open((const char*)cdataPath, ESTDBREADER, &ecode))){
	 return ;
}
/* 検索条件オブジェクトを生成する */
cond = est_cond_new();
	
NSInteger length = sizeof(searchkey);
/* 検索条件オブジェクトに検索式を設定する */
[searchBar.text getCString:(char*)searchkey maxLength:length
encoding:NSUTF8StringEncoding];
est_cond_set_phrase(cond, searchkey);
CBMAP *hints;
hints = cbmapopenex(MINIBNUM);
/* 実際に取得する数を設定 */
est_cond_set_max(cond, 30) ;
2010年11月8日月曜日
Test code - search and get results
/* データベースから検索結果を得る */
result = est_db_search(db, cond, &resnum, hints);
/* ヒット数を取得 */
numHits = (rp = cbmapget(hints, "", 0, NULL)) ? atoi(rp) : resnum;
/* 各該当文書を取得して表示する */
for(i = 0; i < resnum; i++){
/* 文書オブジェクトを取得する */
if(!(doc = est_db_get_doc(db, result[i], 0))) continue;
if((tmptitle = est_doc_attr(doc, "@title")) != NULL) {
NSLog(@"Title: %sn", tmptitle);
}
}
2010年11月8日月曜日
Demo
2010年11月8日月曜日
Demo Data
10,796 html files
total size 75M
PHP Manual
2010年11月8日月曜日
License is important!
2010年11月8日月曜日
Thank you(><)
2010年11月8日月曜日

More Related Content

Viewers also liked

Illustrating A Political
Illustrating A PoliticalIllustrating A Political
Illustrating A PoliticalAmy
 
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11Christos Gotzaridis
 
Tuinwedstrijd 2 inzending van LittleMissLien
Tuinwedstrijd 2 inzending van LittleMissLienTuinwedstrijd 2 inzending van LittleMissLien
Tuinwedstrijd 2 inzending van LittleMissLienLittleMissLien
 
Prezentacija RsV klubui
Prezentacija RsV klubuiPrezentacija RsV klubui
Prezentacija RsV klubuimkarciauskas
 
20131029 SplashMaps at #Geomob London
20131029 SplashMaps at #Geomob London20131029 SplashMaps at #Geomob London
20131029 SplashMaps at #Geomob Londondbyhundred
 
Future Agenda Future Of Choice
Future Agenda   Future Of ChoiceFuture Agenda   Future Of Choice
Future Agenda Future Of ChoiceFuture Agenda
 
Future Agenda Future Of Transport
Future Agenda   Future Of TransportFuture Agenda   Future Of Transport
Future Agenda Future Of TransportFuture Agenda
 
第49回Php勉強会@関東 Datasource
第49回Php勉強会@関東 Datasource第49回Php勉強会@関東 Datasource
第49回Php勉強会@関東 DatasourceKaz Watanabe
 
Groene Kernenergie Belofte Of Onzin 9 Juni 2011
Groene Kernenergie Belofte Of Onzin 9 Juni 2011Groene Kernenergie Belofte Of Onzin 9 Juni 2011
Groene Kernenergie Belofte Of Onzin 9 Juni 2011noudteriele
 
Whatisa Trillion
Whatisa TrillionWhatisa Trillion
Whatisa Trillionguest276365
 
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hood
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hoodSilicon Valley Code Camp 2010: Social Platforms : What goes on under the hood
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hoodManish Pandit
 
Analisi ergonomica del sito www.psicologia.unimib.it Milano Bicocca
Analisi ergonomica del sito www.psicologia.unimib.it Milano BicoccaAnalisi ergonomica del sito www.psicologia.unimib.it Milano Bicocca
Analisi ergonomica del sito www.psicologia.unimib.it Milano BicoccaMichele Pierangeli
 
Audience Feedback Animatic
Audience Feedback AnimaticAudience Feedback Animatic
Audience Feedback Animatic3246
 
Funcionlinealyafin
FuncionlinealyafinFuncionlinealyafin
FuncionlinealyafinRodolfo A
 

Viewers also liked (20)

Sip
SipSip
Sip
 
1 3
1 31 3
1 3
 
Illustrating A Political
Illustrating A PoliticalIllustrating A Political
Illustrating A Political
 
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11
υλη οδηγιες φυσικων μαθηματων ημερ. και εσπ. λυκειου 2010-11
 
Tuinwedstrijd 2 inzending van LittleMissLien
Tuinwedstrijd 2 inzending van LittleMissLienTuinwedstrijd 2 inzending van LittleMissLien
Tuinwedstrijd 2 inzending van LittleMissLien
 
Prezentacija RsV klubui
Prezentacija RsV klubuiPrezentacija RsV klubui
Prezentacija RsV klubui
 
20131029 SplashMaps at #Geomob London
20131029 SplashMaps at #Geomob London20131029 SplashMaps at #Geomob London
20131029 SplashMaps at #Geomob London
 
Frederick Denison Maurice
Frederick Denison MauriceFrederick Denison Maurice
Frederick Denison Maurice
 
Future Agenda Future Of Choice
Future Agenda   Future Of ChoiceFuture Agenda   Future Of Choice
Future Agenda Future Of Choice
 
Nuestros Valores
Nuestros ValoresNuestros Valores
Nuestros Valores
 
Future Agenda Future Of Transport
Future Agenda   Future Of TransportFuture Agenda   Future Of Transport
Future Agenda Future Of Transport
 
第49回Php勉強会@関東 Datasource
第49回Php勉強会@関東 Datasource第49回Php勉強会@関東 Datasource
第49回Php勉強会@関東 Datasource
 
Groene Kernenergie Belofte Of Onzin 9 Juni 2011
Groene Kernenergie Belofte Of Onzin 9 Juni 2011Groene Kernenergie Belofte Of Onzin 9 Juni 2011
Groene Kernenergie Belofte Of Onzin 9 Juni 2011
 
Whatisa Trillion
Whatisa TrillionWhatisa Trillion
Whatisa Trillion
 
Acacia Research and Learning Forum: Network Outcomes Evaluation
Acacia Research and Learning Forum: Network Outcomes EvaluationAcacia Research and Learning Forum: Network Outcomes Evaluation
Acacia Research and Learning Forum: Network Outcomes Evaluation
 
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hood
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hoodSilicon Valley Code Camp 2010: Social Platforms : What goes on under the hood
Silicon Valley Code Camp 2010: Social Platforms : What goes on under the hood
 
Analisi ergonomica del sito www.psicologia.unimib.it Milano Bicocca
Analisi ergonomica del sito www.psicologia.unimib.it Milano BicoccaAnalisi ergonomica del sito www.psicologia.unimib.it Milano Bicocca
Analisi ergonomica del sito www.psicologia.unimib.it Milano Bicocca
 
Audience Feedback Animatic
Audience Feedback AnimaticAudience Feedback Animatic
Audience Feedback Animatic
 
Small Group Makeup Workshops in Tauranga
Small Group Makeup Workshops in TaurangaSmall Group Makeup Workshops in Tauranga
Small Group Makeup Workshops in Tauranga
 
Funcionlinealyafin
FuncionlinealyafinFuncionlinealyafin
Funcionlinealyafin
 

Similar to It eigo 20101029

エンジニアからCTOへ 2015-06-11 IVS CTO Night & Day
エンジニアからCTOへ 2015-06-11 IVS CTO Night & DayエンジニアからCTOへ 2015-06-11 IVS CTO Night & Day
エンジニアからCTOへ 2015-06-11 IVS CTO Night & Day株式会社MonotaRO Tech Team
 
Modest06 firefox 4 の l10 n について
Modest06 firefox 4 の l10 n についてModest06 firefox 4 の l10 n について
Modest06 firefox 4 の l10 n についてhATrayflood
 
#yidev 横浜 iPhone 勉強会 - 第16回 オープニング
#yidev 横浜 iPhone 勉強会 - 第16回 オープニング#yidev 横浜 iPhone 勉強会 - 第16回 オープニング
#yidev 横浜 iPhone 勉強会 - 第16回 オープニングTomohiro Kumagai
 
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分について
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分についてiOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分について
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分についてFumiya Sakai
 
iPhoneアプリ開発を楽に楽しくするサイトまとめ
iPhoneアプリ開発を楽に楽しくするサイトまとめiPhoneアプリ開発を楽に楽しくするサイトまとめ
iPhoneアプリ開発を楽に楽しくするサイトまとめHiramatsu Ryosuke
 
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswiftTomohiro Kumagai
 
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞく
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞくレイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞく
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞくFumiya Sakai
 
Facebook messenger botの作り方と作ってみた
Facebook messenger botの作り方と作ってみたFacebook messenger botの作り方と作ってみた
Facebook messenger botの作り方と作ってみたTakaaki Kusumoto
 
最近の業務やAndroid関連のインプットと振り返り
最近の業務やAndroid関連のインプットと振り返り最近の業務やAndroid関連のインプットと振り返り
最近の業務やAndroid関連のインプットと振り返りFumiya Sakai
 
Nseg3 firefoxとmozillaコミュニティの紹介
Nseg3 firefoxとmozillaコミュニティの紹介Nseg3 firefoxとmozillaコミュニティの紹介
Nseg3 firefoxとmozillaコミュニティの紹介hATrayflood
 
エフスタ!!Vol.4
エフスタ!!Vol.4エフスタ!!Vol.4
エフスタ!!Vol.4Jin Ookubo
 
第2回スマートフォン講座
第2回スマートフォン講座第2回スマートフォン講座
第2回スマートフォン講座Shinichi Kosaki
 
使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!SatoTakeshi
 
使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!SatoTakeshi
 

Similar to It eigo 20101029 (17)

エンジニアからCTOへ 2015-06-11 IVS CTO Night & Day
エンジニアからCTOへ 2015-06-11 IVS CTO Night & DayエンジニアからCTOへ 2015-06-11 IVS CTO Night & Day
エンジニアからCTOへ 2015-06-11 IVS CTO Night & Day
 
Tensorflow
TensorflowTensorflow
Tensorflow
 
Modest06 firefox 4 の l10 n について
Modest06 firefox 4 の l10 n についてModest06 firefox 4 の l10 n について
Modest06 firefox 4 の l10 n について
 
#yidev 横浜 iPhone 勉強会 - 第16回 オープニング
#yidev 横浜 iPhone 勉強会 - 第16回 オープニング#yidev 横浜 iPhone 勉強会 - 第16回 オープニング
#yidev 横浜 iPhone 勉強会 - 第16回 オープニング
 
Apple Map
Apple MapApple Map
Apple Map
 
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分について
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分についてiOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分について
iOSアプリ開発で意識すると役立ちそうな「つなぎ目」の部分について
 
iPhoneアプリ開発を楽に楽しくするサイトまとめ
iPhoneアプリ開発を楽に楽しくするサイトまとめiPhoneアプリ開発を楽に楽しくするサイトまとめ
iPhoneアプリ開発を楽に楽しくするサイトまとめ
 
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift
第7回 カジュアル Swift 勉強会 @ 青葉台 オープニング #cswift
 
4th tokushimaapp
4th tokushimaapp4th tokushimaapp
4th tokushimaapp
 
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞく
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞくレイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞく
レイヤー分けをしたアーキテクチャで作るiOSアプリ&バックエンドのサンプル実装をのぞく
 
Facebook messenger botの作り方と作ってみた
Facebook messenger botの作り方と作ってみたFacebook messenger botの作り方と作ってみた
Facebook messenger botの作り方と作ってみた
 
最近の業務やAndroid関連のインプットと振り返り
最近の業務やAndroid関連のインプットと振り返り最近の業務やAndroid関連のインプットと振り返り
最近の業務やAndroid関連のインプットと振り返り
 
Nseg3 firefoxとmozillaコミュニティの紹介
Nseg3 firefoxとmozillaコミュニティの紹介Nseg3 firefoxとmozillaコミュニティの紹介
Nseg3 firefoxとmozillaコミュニティの紹介
 
エフスタ!!Vol.4
エフスタ!!Vol.4エフスタ!!Vol.4
エフスタ!!Vol.4
 
第2回スマートフォン講座
第2回スマートフォン講座第2回スマートフォン講座
第2回スマートフォン講座
 
使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!
 
使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!使うっきゃない!iOS9で楽になったAuto Layout!
使うっきゃない!iOS9で楽になったAuto Layout!
 

Recently uploaded

新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsWSO2
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルCRI Japan, Inc.
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Hiroshi Tomioka
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイスCRI Japan, Inc.
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...Toru Tamaki
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video UnderstandingToru Tamaki
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NTT DATA Technology & Innovation
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Gamesatsushi061452
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptxsn679259
 

Recently uploaded (12)

新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 

It eigo 20101029

  • 1. Full Text Search on iPhone Use OSS libraries on iPhone! わたなべかずひろ@kaz_29 2010年11月8日月曜日
  • 2. Who am I Name: Kazuhiro Watanabe Work: E2 Inc. => Here! twitter: @kaz_29 blog: http://d.hatena.ne.jp/kaz_29 I like #iphonedev #cakephp #lithium #php and #golf #cat and #beer! 2010年11月8日月曜日
  • 4. NIFTY Cloud Manager 2010/10/20 out! http://iphone.e-2.co.jp/ 2010年11月8日月曜日
  • 5. How to use ‘Hyper Estraier’ in your Apps. http://fallabs.com/hyperestraier/ 2010年11月8日月曜日
  • 6. I like source install! 2010年11月8日月曜日
  • 7. configure option $ ./configure --prefix=/usr/local/iphone CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 CFLAGS=-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator4.0.sdk -I/usr/local/iphone/include -L/usr/local/iphone/lib CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar インストール先を指定 2010年11月8日月曜日
  • 8. configure option $ ./configure --prefix=/usr/local/iphone CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 CFLAGS=-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator4.0.sdk -I/usr/local/iphone/include -L/usr/local/iphone/lib CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar Cコンパイラを指定 2010年11月8日月曜日
  • 9. configure option $ ./configure --prefix=/usr/local/iphone CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 CFLAGS=-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator4.0.sdk -I/usr/local/iphone/include -L/usr/local/iphone/lib CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar Cコンパイル設定を指定 2010年11月8日月曜日
  • 10. configure option $ ./configure --prefix=/usr/local/iphone CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 CFLAGS=-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator4.0.sdk -I/usr/local/iphone/include -L/usr/local/iphone/lib CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar C++コンパイラを指定 2010年11月8日月曜日
  • 11. configure option $ ./configure --prefix=/usr/local/iphone CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 CFLAGS=-arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ iPhoneSimulator4.0.sdk -I/usr/local/iphone/include -L/usr/local/iphone/lib CPP=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 AR=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar アーカイブツールを指定 2010年11月8日月曜日
  • 12. Customize Makefile # for Simurator CC = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 AR = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar CFLAGS = -arch i386 -Wall -fPIC -fsigned-char -O3 -fomit-frame-pointer  -fforce-addr # for Device CC = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar CFLAGS = -isysroot /Developer-SDK402/Platforms/iPhoneOS.platform/Developer/ SDKs/iPhoneOS4.0.sdk -arch armv6 -Wall -fPIC -fsigned-char -O3 -fomit-frame-pointer -fforce-addr 2010年11月8日月曜日
  • 13. Add your project for device for simulator 2010年11月8日月曜日
  • 14. Summary CC,CPP,AR => Change to iOS SDK Tools CFLAGS -arch i386(or armv6) => set target architecture -isysroot => set root path 2010年11月8日月曜日
  • 15. Test code - Preparation for search /* dbをオープン */ if (!(db = est_db_open((const char*)cdataPath, ESTDBREADER, &ecode))){ return ; } /* 検索条件オブジェクトを生成する */ cond = est_cond_new(); NSInteger length = sizeof(searchkey); /* 検索条件オブジェクトに検索式を設定する */ [searchBar.text getCString:(char*)searchkey maxLength:length encoding:NSUTF8StringEncoding]; est_cond_set_phrase(cond, searchkey); CBMAP *hints; hints = cbmapopenex(MINIBNUM); /* 実際に取得する数を設定 */ est_cond_set_max(cond, 30) ; 2010年11月8日月曜日
  • 16. Test code - search and get results /* データベースから検索結果を得る */ result = est_db_search(db, cond, &resnum, hints); /* ヒット数を取得 */ numHits = (rp = cbmapget(hints, "", 0, NULL)) ? atoi(rp) : resnum; /* 各該当文書を取得して表示する */ for(i = 0; i < resnum; i++){ /* 文書オブジェクトを取得する */ if(!(doc = est_db_get_doc(db, result[i], 0))) continue; if((tmptitle = est_doc_attr(doc, "@title")) != NULL) { NSLog(@"Title: %sn", tmptitle); } } 2010年11月8日月曜日
  • 18. Demo Data 10,796 html files total size 75M PHP Manual 2010年11月8日月曜日