詩 難眠夜 昨夜聞友未能眠 洗耳傾聽坐床前說是三十未成家 癡情佳人未愿嫁樓房重擔不能負 舊人早作他人婦舉目不見有明月 窗外六月紛飛雪十八以來望而立 而立之年待不惑人生不過爾爾此 生死只是過來客富貴早非吾所為 只望有家得能歸不過一方三寸土 卻是遙遙不可期傾盡多年之所積 仍付不起那首期佳人絕非輕別離 唯吾力薄難比翼話盡音聲凝如冰 悲痛之情無處傾終於淚落如堤缺 洶湧激憤難自制此情何人會不懂 你我皆是同道人行行即即復行行 不見光明死如生昨夜尚是有期許 今日夢碎不敢兌不見苦盡甘會來 甘甜早在人口中只是別人兩把口 富貴只落他人手話盡無言不敢對 靜默無聲蓋被睡
Web 開發入門 之1 用Text Edit寫一頁能在Browser 打開的 html 不日更新到最最最後,用戶接觸的是Browser(你所看見的網頁),Browser的視覺傳達是受html/css約束,而一切的開發,便是怎樣組織及更新html/css的內容。記著這句說話,Web的(目前)本質,是讓Browser畫出你的內容。那麼如何指揮Browser繪畫呢?htmlHTML是一種所謂Markup Language,所以老生常談的論調,在嚴格意義,用HTML並不是編程。但請不要低估了認識HTML的重要程度,因為到最後Bowser能按你所想地繪畫出網頁,都要經過HTML。什麼是HTML本質上,HTML是個純文字檔(純粹儲存文字的文件),一種按特定格式編排的文檔。記得中文作文段首要空兩格、句終要寫句號、開引號關引號啊這些規則嗎?HTML大概便是另一套作格式 。當然為了讓你的網頁更具風格,HTML加了很多獨特的規則,但從本質上來說也不過如此。
Web 開發入門之0 感言 + 前言我想我認同JS Machine這說法。如果你叫我推介一個網頁給初學者看看,我可能要弄個爬蟲看看有哪個難度適中的網站有讓人類學習到的html及JS源碼。這不禁讓我慶幸,自己是成長在那個仍然各家打開大門的年代這個年代(現年2019)要從0開始入門Web開發,可說是十分微妙。老套也要講句,這是最壞的年代,也是最好的年代,但終究這是你仍有生命的年代向好方面說,現在有很多現代工具及基礎設施助你構建一個美倫美喚的網站(應用),同時,這也意味著你現在需要掌握更好的知識才能夠我著「入門」這兩個字。從前最歡迎初學者的web開發,也開始變得冷漠,學習曲線也變得越來越拒人千里。但是,如果你挺得過這叫人沮喪的階段,迎來的,會是更錦繡的前程。那究竟我要學什麼?(序)你的首要任務,是改變對Browser的觀念。你要忘記他是一個「瀏覽網頁的工具」
Xcode autocomplete真慢!高效Swift類型配對Code Style 當你的project慢慢變大,你必定抱怨過Xcode慢慢變得慢慢起來。有沒有想過那是因為Xcode開始開始看不懂你寫的Code呢?在此先「溫馨提示」,「看不懂」是依賴於臨界點,當你突破和沒突破的那一線之間,所有問題才會一次爆發。好了,正正經經說內容。Swift 是一門強類型(Strong typing)的language。而何謂強類型呢?便是萬物皆有分類 ,不一定是Class,可以是Structure、Enum、Tuple、Function、Protocol⋯⋯而Swift的type哪裡也在,但你有很多時候也沒多看見它。那是因為Swift有強大的類型推斷系統,讓你寫Strong typing的時候也能像寫Weak typing一般舒適自在有如在海邊緩步,迎著海風,咳咳⋯⋯回到正題,
ios 快說SwiftUI對iOS開發者影響 Apple 在這介WWDC對Cocoa Cocoa Touch 的Developer按了一次Reset,最起碼UI層面上。不少身邊友人看了簡介,立即中年危機上身,開始吐糟門檻又變低了一大半啊,新人湧現啊,存在感決失啊如此這般。但是真的便是這樣嗎?其實同時是,亦都不是。首先,對於開了簡介便下此判斷的人,我想說聲對不起,對你來說,可能真便如此。或許那麼簡單便下判斷,便是你那中年危機的成因。你需要的,不是讓Apple收回成命,而是重新審視這些年來,自己學會了什麼。不是說你一定便不求上進,只是可能在軟件開發的領域裡,你嚴重偏科了。讓我們認真聊聊吧。軟件領域,是進化得最快的一個行業。就算只談UI,在SwiftUI出現之前,
code Node.js project [Live updating] The Ground Rule:Common Javascript practise1) Maintainabilityis always the first priority when making any decision. (Please refer to following section for detail)2) Transparency:4) Horizontal dependency should be minimise5) Although you don't
What's is a good programming language (TBC, just rough idea at the moment) A real tricky topic isn't it, and always lead to a dirty flight, but I still insits to talk about it since I really hate those dirty flight.A lot of time, when
You are just experienced, not superman Hi everyone.I am a experienced developer. A normal person that can tackle development problem in my experienced area just like you.And just like you, a lot of people misunderstand our experienced
How and why we use lambda in my old company In one particular project, we encounter one serious trouble, because of it's nature.Let me briefly tell what's going on here.That project, we choose to use bcrypt for user password protection, good
programming 關於開四停三的「大」數據迷思 新年回廣州探親,在親友車上,聽其誇耀現在廣州市的數據處理能力及規模的厲害。cctv滿街,最少一星期的視頻數據才能支撐得起那開四停三的厲政,這般那般。當然了,我對中國挖掘個人數據的能力,是不會致疑的。要說當今世界對圖像的深度學習領域,中國必為前列。而其背後的主要推動,當然是監控的需求。在這番共聚天輪的家庭閒聊之中,最叫我好奇的,是從技術角度能出發及解釋得了的一個問號 - 開四停三的數據規範。首先,視頻數據是不會直接入庫的。視頻可以儲存,數據可以接某視頻或其分段,但沒有表是直接一個BLOB把視頻放進去的(嗯⋯⋯是沒有的🙈)。想當然,分析也不會直接依賴原始數據,特別是視頻數據。數據入庫在視頻數據分析前,首先是feature extraction,這裡可以走過不少的pre processing
programming Why I don’t admire Redux (Not against it) First of all, I need to disclose my background since it will help all of you more easy to understand my later points. I’m a mobile app developer almost all the time
code Love is function loveIs() { function isLove(date) { if (date.isInfinite) { return true } return isLove(date + 1) } const today = 0 if(isLove(today)) { console.log('I love you') return } } loveIs() // A never return recursion
culture 你習慣了快,漸漸忘記怎樣慢 放心,這裡不會很溫吞地說的人生大道理,也稱不上什麼勸戒,只想分享一下一些從真實的觀察,整納出來的點點現象。 真的,我只怕當世人都習慣了快,便再沒有人懂怎樣慢。 這不懂,不是不明白的不懂,是不知怎做的不懂。 但為什麼大家仍那麼樂此不疲? 我想很大部分原因是大家都認為懂了跑,難道不懂怎去走?這比喻道理是正確,但其本身錯了⋯⋯ 如果說從速度出發,跑確是走的進階,但因其本身便是以快作本位的一個比較,那當然能順理成章的得出其結論。 那麼在一個本位不是快,速度的事物上引用這比喻呢?我想大家也很清楚,這是不恰當的。 在資源是恆定的世界,每一個決定都是對別的決定的妥協,所以在你快我也快的情況下,大家便很容易默認一些缺失是快的成本被放棄(很不中文,請見諒,再改善)。 而這些一個個被放棄的,理所當然是來自慢(
culture 開發者該如何學習的角度看別人產品 作為一個開放者,我們該怎樣去看別人的產品? 要答這一個問題,便只能從所有軟件產品的根源說起⋯⋯ 電腦程式的本質,便是對電子活動的一層一層抽象。我們從電流的開合,數學的模擬,語言的整合,直到圖形系統,無一不是在更高的位面對低位面的一次抽象。 但即使是每天都進行著抽象活動的我們,也未必會時刻保持抽象的角度看待別人的產品。因為我們太習慣於具象的世界了。 上一次我看見的開發者集體跳崖事件,便是material design出現時。 抽象是一層一層地向上的,我們繼續談Material Design。 遊戲開始,請簡短說出什麼是Material Design。 3 2 1 ⋯⋯ 好了,對於你來說什麼是Material Design呢? 是卡片、圓角?陰影、過渡?
development let’s define struct in a function! Swift Swipe The first time I know I can define a struct within a function body, I was quite surprised. Why the hell I want to do such annoying thing? For naming scope? No, I
boilerplate kickstart iOS your boilerplate Instead clone a project through XX-Boilerplate, I think you might be interested in what we want and why we want to setup a iOS project. After you create a plain new project, the
culture My influencer is Leonardo Di Serpiero Da Vinci I've just finished my Linkedin profile, and I received an advice from Linkedin. It told me to follow a woman I've never heard as my influencer says this will help me expose myself
culture Why Apple? Warn This post is not intend to argue any programming language. Barely related, it would be human language. Before you continue to read, I should warn you first. The following context may require
development Use UICollectionView to implement highly customisable Bar Chart When working on the new product Fruitful, I found that a Bar Chart framework with clear API and easily yet highly customisable is so difficult to find(OK, free is required). What a
development Performance Let's say we want to get the first element in type Optional U in a array of type [T], T may or may not be type casted into U what will you do?
development How I hack Pacific Coffee and get free drinks( a lot of)? First of all. The story bellow is done by my own payment as it's an experiment. Also it just work. Also, I will provide a very simple solution for such system. Please don't
development How to make a Message framework? Beginning and planing Let's make a Message framework and do some practice on architecture. What we will cover in this series? Planing and architecture of a framework Kick start a project Dirty work of setting up
development Throw inside a do block and catch it back in Swift? Yes Lazy forks, it's just simple topic, but I did the experiment for you: enum SomeError: Error { case notBig case veryBig } func someErrorFucntion() { do { throw SomeError.veryBig } catch { print(error.localizedDescription) } } someErrorFucntion() // And it
development How I use gyb to achieve a more flexible localization in Swift Localization in iOS is so simple by using system provided mechanism. But it can be a nightmare if you want to achieve a more flexible goal with a so far convenient way to
development Don't write Swift 3 on your "wish list" I've been recently invited by many of company those who need to find a right iOS developer. The interesting part is, in almost all of their skill lists, they all want a swift