PHP 7 都還沒摸熟,PHP7.1 beta就出了...,不努力點還真是追不上技術啊~
來記錄一下這次的features吧!
2016年6月14日 星期二
2016年6月6日 星期一
[pycon]pycon 2016 day 3 小整理 from 共筆
關於Django & Twisted
Scaling Django Application
Django server only response one request a time
concurrent request = thread x pools
Higher scale means higher complexity
有沒有更好的方法去容納更多的 request ?
CPU-bound: 數學運算、資料運算等
IO-bound: Database requests, web requests, other network IO
ex. 跟資料庫溝通獲取某些資訊
[pycon]pycon 2016 day 2 小整理 from 共筆
關於迪士尼動畫使用的技術
- Even if we do things in C++, we always make python binding with SWIG or CFFI.
- Easier to do unit test in Python than C++.
- All animations are handcrafted.
- We want xxxxx! Python has a library doing that.
- Scripting language is not just about syntax and grammar, it’s libraries that matter.
- Disney’s Hyperion Renderer
- Early response is important.
- Disney’s Open Source
- Free software is free as in puppy. It is free, but you have feed it, etc. You have a lot of responsibility. It is not “free”.
- Disney’s Github
- Disney’s Talk
- Speaker’s Mail
2016年6月4日 星期六
[pycon]pycon 2016 day 1 小整理 from 共筆
關於 TDD (Test-Driven Development)
- Red, green, refactor cycle
- 預想好使用情境
- 一次只會專注一個目標,一次解決一個問題
- 避免過度設計
Mindset:設計決策一次只聚焦在一個地方
好好評估環境適不適合TDD(連需求都不確定時,不建議使用TDD)
2016年6月3日 星期五
[MySQL] MySQL Group Replication講座小整理
以下整理一些參加 MySQL Group Replication的摘要:
MySQL Group Replication是一套可以使MySQL有 High Availability的plugin,有以下特點
MySQL Group Replication是一套可以使MySQL有 High Availability的plugin,有以下特點
訂閱:
文章 (Atom)
-
WinRAR 可以在註解加入 icon 建立參數來製作簡易的安裝程式 Delete 解壓縮前先刪除檔案 License 顯示程式的使用授權協定 Overwrite 選擇檔案的覆寫模式 Path 設定預設目標路徑
-
這兩天在弄的一個小東西轉換excel檔的排版,使用的是一個叫做PHPExcel的API,功能實在是非常強大,可以去他們的官網查看詳細情況, PHPExcel 底下是稍微寫一下的程式碼,但是還沒寫完,可以讀取檔案之後轉換內容再輸出我所需要的內容格式,支援excel 95,2000,...