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
How we hacked a forum
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jeremy Yen
March 23, 2017
Technology
530
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How we hacked a forum
Jeremy / PCC @ SITCON 2017 LT
Jeremy Yen
March 23, 2017
More Decks by Jeremy Yen
See All by Jeremy Yen
dEXonation
jeremy5189
0
130
A day of full stack developer @ NFU
jeremy5189
0
220
Club Mate and Hacker - 34C3 @ SITCON
jeremy5189
2
740
SITCON 2017 論壇系統開發分享 @ SITCON 2017 Summer
jeremy5189
0
240
poManeuver: Poland into space
jeremy5189
0
480
Bdecisive - Booking.com Taipei Hack 2nd Prize
jeremy5189
0
590
Social Intelligence Smart-device project
jeremy5189
0
71
IoT made easy @ SITCON x HK
jeremy5189
0
110
遺失的學校 - SITCON 2014 Lightning Talk
jeremy5189
0
570
Other Decks in Technology
See All in Technology
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
200
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
ボトムアップ文化が強い組織で セキュリティをどう根付かせていくかの現在進行形の話 / Making Security Stick in a Bottom-Up Organization
yamaguchitk333
0
200
AIエージェントを前提としたプラットフォーム エンジニアリング:GKEで作るAgent-Ready Golden Path
legalontechnologies
PRO
2
220
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.2k
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
170
Goでデータパイプラインを作ろう
sansantech
PRO
0
360
グローバル基準のSREは、運用現場でどう機能したか:成熟度アセスメントの実践 / SRE NEXT 2026
sorawatanabe
0
140
つくって納得、つかって実感! 大規模言語モデルことはじめ ver2.0
recruitengineers
PRO
3
1.2k
【CEDEC2026】次世代デジタルカードゲームのサーバー設計と運用 〜『Shadowverse: Worlds Beyond』の舞台裏~
cygames
PRO
1
980
メルカリのグローバルアプリで挑んだ AlloyDB 運用と課題解決の実践記
hatappi
0
240
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
Featured
See All Featured
Leo the Paperboy
mayatellez
8
2.1k
Done Done
chrislema
186
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
So, you think you're a good person
axbom
PRO
2
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
480
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Technical Leadership for Architectural Decision Making
baasie
3
470
Scaling GitHub
holman
464
140k
Accessibility Awareness
sabderemane
1
170
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Transcript
)088&)"$,&%" '036. +FSFNZ:FO1$$!4*5$0/-5
Forum? 論壇?
None
⼤大家都可以發⾔言 才是「論壇」
None
解決⽅方案 • 排隊發⾔言 • 限制時間
PDModerator
Panel Discussion Moderator
使⽤用技術 • 前端:Vue.js • 後端:Express.js • 資料庫:MongoDB • Websocket: vue-socket.io
/ socket.io
參參與者介⾯面 Attendee 主持⼈人介⾯面 Moderate 講者佇列列 Queue Websocket Websocket
None
但是...
None
Websocket 連上了了 Websocket 斷了了 Websocket 正在 Reconnect
Gravatar 需要拿 Email 算 md5
None
因為把 null 放進 md5() 600 pm2 auto restart
論壇資料統計 191 發⾔言申請 83 匿名/場內發⾔言
論壇資料統計 46 戰語⾔言 9 戰演算法 26 來來亂的
最奇耙發⾔言
– 匿名 我是打過兩兩年年比賽的慣 C 競賽 選⼿手,你聽過 C 和 C++ 的不
同嗎?你有讀過 C 語⾔言規格書 嗎?如果沒有,你閉嘴吧。此 刻,我的 gcc 正快速編譯著。
– 匿名的程序猿 各程式語系者,應和平相處, 相互合作,互補各語系的屬性。 何須相互幹話焉?畢竟在外⼈人 眼中,我等⼤大同⼩小異異
– 匿名妹紙 想追 A 男,跑去他的社團,結 果對⽅方談話太⾼高深無法理理解, 覺得難過,後來來我就被同⼀一社 團內會講⼈人話的 B 男追走了了。
不要再抱怨追不到妹⼦子或哥哥 了了,先講⿇麻瓜懂的話好ㄇ
– 匿名 只會打競賽錯了了嗎?壯哉我⼤大 C++!
– 主持⼈人 C++什什麼的根本不夠技術, 我都寫 whitespace。以下是 ⼀一段範例例程式碼:
– C++ ⼀一定是⼀一例例⼀一休害的!
– ⼀一例例⼀一休 我就說是缺少老司機了了! 你們給我出來來當老司機!
– Trump America first! SITCON second!!!!!!!
– QWQ <script>location.src="https: //xvideoes.com";</script>
github.com/ jeremy5189/ PDModerator 論壇所有 發⾔言資料