Thứ Bảy, 2 tháng 3, 2013

Frivole Prestige perfumery by Theza

Frivole Prestige perfumery by ThezaFrivole Prestige perfumery by ThezaFrivole Prestige perfumery by Theza

Lascaux Cave Painting Centre by Sn�hetta, Duncan Lewis and Casson Mann

Lascaux IV Cave Painting Centre by Snøhetta, Duncan Lewis and Casson MannLascaux IV Cave Painting Centre by Snohetta, Duncan Lewis and Casson MannLascaux IV Cave Painting Centre by Snøhetta, Duncan Lewis and Casson MannLascaux IV Cave Painting Centre by Snøhetta, Duncan Lewis and Casson MannLascaux IV Cave Painting Centre by Snohetta, Duncan Lewis and Casson MannLascaux Cave Painting Centre by Sn�hetta, Duncan Lewis and Casson Mann

Garden Tree House by Hironaka Ogawa

Garden Tree House by Hironaka OgawaGarden Tree House by Hironaka Ogawa

Dezeen - architecture and design magazine

Garden Tree House by Hironaka OgawaSlideshow feature: indoor forestsDezeen - architecture and design magazine

More from the Dept. of Free Food for Millionaires

Just when my will to live was faltering, this arrived in my inbox...
I fucking hate this shit. But seriously, Justin Bieber? What fucking MORON at MV seriously thinks that this is going to sell even ONE MORE motorcycle? Justin Bieber's fans aren't even old enough to have drivers' licenses!

樂透計算程式~~撰寫過程XD



整個網站程式~~~全部通通自己設計的~~~無中生有

我覺得這程式

說拿來當資管系大學專題~~~準定畢業!!!!

說拿來當碩士論文~~~~~應該也可以畢業XDXDXDXD

個人覺得真的蠻屌的

一般除了我設計的車我會一直覺得屌到爆以外

其他任何大小事

我幾乎不會這樣自誇~~~

今天寫出這程式我會這樣說~~~~~~~是真的覺得這程式很屌XD

但關於準度目前不清楚......還要嘗試才知道0rz


整個程式的第一步

就是撈資料進資料庫

沒有歷來開獎紀錄....根本是啥都別玩了0rz

開獎紀錄......隨便google找網站

然後~~~~~寫程式去抓網頁資料

在寫入資料庫

這一定要寫程式.......手工key in一定會發瘋.....光539開始到3/1就有1923筆

這部分我是用神奇的phpQuery~~~~但不是有套件就好辦事~~~還要知道如何去抓才行XD


再來就是製作介面

總之就是簡單的html+css

但......如果不熟其實也是不好做

尤其是要大量用到javascript~~~

介面做好就是寫Ajax讓他透過條件去掏資料並呈現


這邊才是最最最困難的地方

前面的撈data都還是小case

到了開獎號碼的比較

真的是複雜到靠杯......

為了這部分我自己設計出一個6維陣列

雖然用眼睛看畫面~~~~~似乎只有到3維陣列

但由於他複雜又神奇的加減比較方式讓我要這麼做

這陣列的架構我真的是絞盡腦汁

一步一腳印慢慢弄最後才變出這樣的設計


弄出來這個陣列是一回事

到了前端網頁變成要如何使用這data作呈現

這邊也是一大問題

為此我為每個欄位設定特定的id還要額外設定他的屬性才方便取資料做互動


也是因為有了一點呈現的程式

我才可以驗證後面比較的程式有沒有正確

所以在這邊就是一下javascript一下php來回再改程式

來來回回0rz........

也因為來來回回了好幾次才終於想出那個陣列的架構

感動QAQ


關於計算抓號的方式有點複雜.....

一時很難解釋XD

這是某位朋友的把拔教的

其實在我得知這計算流程的時候

就有在腦中開始思考程式該怎麼去寫

有了一點sense才開始寫

不然講真的........我現在應該也還沒寫出0rz


總之寫出這程式

當下我真的是慘叫連連XDXDXDXDXD

那種喜悅是難以解釋的~~~~~有點類似我設計出新車那種fu

真的開心到這種計算方式準不準也沒關係

重點是我竟然寫出這麼複雜的計算程式XDXDXD

Thứ Sáu, 1 tháng 3, 2013

PAS1192-2

image

PAS1192-2 is a document which has been issued free of charge. In a nutshell its a “Specification for information management for the capital/delivery phase of construction projects using building information modelling” This specification defines the requirements for delivering BIM to Level 2.

An overview of the document can be found here….

http://www.bimtaskgroup.org/pas11922-overview/

You can download the free PDF from here….

http://shop.bsigroup.com/Navigate-by/PAS/PAS-1192-22013/

I have to say I haven’t read it all myself, I will do over time. I don’t think you will find anything which is too “offbeat”, apart from the dodgy green text maybe?