Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
合体事故した話
Search
Yuuki Sumida
December 17, 2016
Technology
710
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
合体事故した話
合同勉強会 in 大都会岡山 -2016 Winter-
https://gbdaitokai.connpass.com/event/37730/
Yuuki Sumida
December 17, 2016
More Decks by Yuuki Sumida
See All by Yuuki Sumida
stddev_popとstddev_sampの話 / stddev_pop and stddev_samp
razon
0
720
Monacaのビルド結果をSlackに通知したいマン[WIP] / Notify Monaca build results to Slack [WIP]
razon
0
490
ノベルティカンファレンス in 地方 / Novelty conference in local region
razon
0
890
おれたちのファイナルファンタジー勉強会 アンケート / Final Fantasy Survey
razon
1
290
フロントエンドわからなさすぎるのでVue CLIが吐き出すファイルを読む / Read the files generated by Vue CLI
razon
0
1.1k
今の飲みは次の飲みへ[完結編] / For the current drinking party to the next drinking party -final version-
razon
0
74
昔Reactで書いたコードをHyperappに移植した話 / Porting react to hyperapp
razon
0
290
今の飲みは次の飲みへ / For the current drinking party to the next drinking party
razon
0
72
大都会アワード2017 / Daitokai awards 2017
razon
0
960
Other Decks in Technology
See All in Technology
ゼロをイチにする仕事が終わったあと
smasato
0
300
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
3
2.3k
SRE依存からの脱却 運用を開 発チームへ移す、 フルサイ クル開 発体制の実践
joooee0000
0
270
Zoom2Youtube.Claude
kawaguti
PRO
2
400
Mastraエージェント、どのクラウドにデプロイする?
minorun365
PRO
2
170
プライバシー保護の理論と実践
lycorptech_jp
PRO
1
240
アラート調査向けAIエージェントの本番導入とその後/AI Agents for Alert Investigation: Production Deployment and After
taddy_919
1
380
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
240
トークン最適化のためのユーザーストーリー分析 / User Story Analysis for Token Optimization
oomatomo
0
170
次世代ランサムウェア対策の考察 / 20260704 Mitsutoshi Matsuo
shift_evolve
PRO
5
1.7k
product engineering with qa
nealle
0
150
背中から、背中へ /paying forward to community
naitosatoshi
0
220
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
1.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
170
It's Worth the Effort
3n
188
29k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
250
The Language of Interfaces
destraynor
162
27k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Documentation Writing (for coders)
carmenintech
77
5.4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
410
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Transcript
2016-12-17(Sat) 合同勉強会 in 大都会岡山 - 2016 Winter -
今年の実績
来年の実績(予定)
来年の実績(予定) 「ペルソナイト」 「ペルソナイト」 でググれください でググれください
2016-12-17(Sat) 合同勉強会 in 大都会岡山 - 2016 Winter -
最近やったプロジェクト サーバサイド クライアントサイド
最近やったプロジェクト サーバサイド クライアントサイド
Eclipse(Spring Tool Suite) • IDE • なんか最近はEcliなんとかとか言われて Disられている
Doma • O/R Mapper • 2Way SQL • DAOはインタフェースだけ定義しておけば コンパイル時に実装したクラスが生えてくる
• Doma-Genという実DBからテーブル定義を 抜いてきてDAOやらEntityクラスを 生成するツールがある
Lombok • 色々アノテーション付ければ コンパイル時にクラスやらメソッドを 生やしてくれる – Setter/Getter – Constructor –
Logger – Builder – … • べんり
None
None
一体何が 起きたのか?
Doma-Genについて • ビルドツールのタスクとして走らせる • 実DBからテーブル定義を取得して、 テンプレート定義を元にEntity/CRUDのDAO/SQL を生成 – テンプレートはFreeMakerで作成されていて、 独自に拡張できる
– Entityの雛形はLombokのアノテーションを ガン積みでカスタマイズした
Eclipseでのビルド時 • LombokとDomaのAnnotation Proceccingが 重なってヒープメモリ爆食いした結果 Eclipseがそっとお亡くなりになったくさい • Eclipseのヒープメモリマシマシにしたら ビルド通った
Eclipseでのビルド時 • LombokとDomaのAnnotation Proceccingが 重なってヒープメモリ爆食いした結果 Eclipseがそっとお亡くなりになったくさい • Eclipseのヒープメモリマシマシにしたら ビルド通った •
-Xmx 3036m
元請けのPC 標準が32ビット 問題
まとめ • 32ビットマシンが許されるのは 小学生までだよねーキャハハハハハハ
Appendix:ビルドツールを使う • Lombokのdelombokタスクで事前にソースとして 吐き出す • DomaのAnnotation Proceccingと 実行タイミングが被らないのでそこまで ヒープメモリを爆食いしない
おしまい