Category: Uncategorized

Compile verilator in centos 7

Has to use gcc 8 Otherwise you got this


2023/01/22 0

香港啲阿叔,普遍都係kai嘅

呢篇文章係俾CS/EE嘅學生睇,目的係為左佢地唔好被香港啲阿叔摧毀左佢地做科技嘅熱情。係個社會上有班阿叔,年紀四五六十歲,個title掛到好大,又director又乜又柒咁,其實佢地嘅本質係kai嘅。 呢幾年我自己出錢資助左條team搞cpu,每年都會見到不同嘅阿叔,佢地嘅行為令我要寫呢篇文告誡班後生仔同呢班友相處要小心啲,小心自己做科技嘅熱情被呢班阿叔摧毀左。呢班友年紀係你地兩三倍,工作經驗可能係你地N部,就好似係山腳嗰度望咩山都高,所以你地要小心唔好佢地講乜你都信,呢個係好危險的。 啲阿叔根本就無實際經驗,一味鳩吹 做一個project你有技術問題,你可以試下問呢班阿叔,目啲係為左玩下佢地,佢地百分之九十幾係唔會答到你問嘅問題,當佢地答唔到就會講自己以前工作做過哂,不過呢啲low end野無做好耐,所以而家當可憐你指個方向你啦,你自己試下。你老味實情就係唔!撚!識!所有讀CS/EE嘅同學唔好被佢地fake到,技術呢會事好似踩單車咁,你幾年無踩跳上架單車到都會踩到,唔存在對個軟件一啲實際操作都唔識但又做過幾年呢回事。所以所有同學唔好因為啲阿叔鳩指你一個方向就以為佢識,唔好仲要以為佢地真係好有經驗。 唔係非technical就代表係其它非technical嘅方面都好勁好有經驗 啲做左管理好多年又或者做左好耐director嘅人唔代表好熟悉個market,相反地佢地絕大多數都係對個market無認識。啲學生搞startup班阿叔係技術上無法作出指導,佢地就會鳩指班學生要點做marketing,點到分析個business plan,講真,收!撚!皮!啦!你地做學生以為啲阿叔係個行頭到做左幾十年,升左上管理層就自自然然對個market好熟,呢個諗法好make sense但真係kai都無人有。如果你地班後生仔搞啲新野佢地聽幾句就知盤生意點搞,佢地發哂㗎啦,洗同你係到吹水咩。舉個solid嘅例子,香港好多sales director其實唔識sell野,更加唔熟market,否則佢地做左老細好耐啦。你地會有懷疑咁點解佢地會升到做sales director,咪因為佢地識屌sales仔囉,根本同熟唔熟個market一啲關係都無。佢地入間公司唔係間公司第一日成立就入去,係間公司成立左好耐,有哂既定業務先入,佢地照run㗎炸。唔好再信班阿叔講野啦。 大部份嘅阿叔都係虎頭蛇尾 人地蘇姿丰做半導體做左幾十年講野梗係要聽啦,香港啲阿叔做下呢樣人十口心下嗰樣,你地學生以為年紀大啲講野唔多唔少都要聽下,其實呢班友根本都無一件事做得深入。你地啲學生唔好佢地講乜都信。一個CS畢業嘅阿叔如果0code其實都可以收線,唔好被啲阿叔迷惑左以為佢地好專業係一件事到,佢地絕大部份都唔係,如果佢地係就唔係連你地啲學生問題都無法俾一個solid嘅回應。


2023/01/15 0

點解香港人搞open source project唔掂嘅原因

好認真咁搞左五年open source project,認真程度係出錢又出力,而家總結點解香港人搞open source唔掂,又或者好難掂嘅原因 香港人動手能力極其低下 其實呢一點都唔洗啲咩證明同解釋,香港IT界人技術人仕其本上打份牛工或者為生活做下freelance仲有少少力之外根本就乜力都無。無力嘅原因我唔知,但係估計離唔開根本唔鐘意寫program呢回事。嗰啲阿叔話就有二十年經驗,其實減去為左份糧而工作嘅經驗基本上一年經驗都無。佢地嘅技術主要黎自份牛工嘅隨學隨做,佢地會好自豪咁講「嗰嗰都係咁㗎啦」,佢哋嘅世界自由香港牛工市場,牛場就係佢地生日嘅全部。外個嘅open source developer夢想改變世界嘅時候佢地會用所謂嘅廿年經驗去點頭評足,好似可批判到單咁,好撚猥瑣 香港根本無前輩可以照耀後來者 都唔好話提點下你,以我經驗香港啲阿叔有超過50%會叫你不如唔好搞,原因嘅白痴程度突破天際 : 學界基本上係搞笑 香港學界係唔會復Email,唔好旨意你有技術問題可以問大學,一定唔會復你。香港大學教授嘅動手能力人盡皆知,就連香港嘅大學生都知自己教授唔會做實際野。係香港一個教授一年出12篇理文咁你估到佢地係到做緊乜野,香港學界唔可能堅負起作為一個城市嘅大腦嘅角色,可以咁講對普通市民,學界簡直係腦殘。 無政府支持 創新科技署無一個支援計劃係支持open source,佢地每一個支援計劃都要寫business proposal,佢地最想就係錢,直接拉高到香港GDP,你搞open source如果無即時market佢地係唔會支持你。同理科學園數碼港創科局都係一樣。因為政府零支持,加上滿腦子講商業價值,所以香港無前瞻性嘅民間科學研究,民間全面熄火。係政府嘅角度要做科學研究只會依賴大學同研究院,但兩者係開源嘅研究實力和貢獻都非常底下。 香港無籌款呢樣野 Apache group同GNU group有一大部份經費係黎自籌款而香港係無籌款呢單野,外國嘅企業用open source軟件,大嘅公司會捐錢資助個project,有好多會出埋人一齊改善個software,而香港嘅企業同政府係唔會咁做。香港班客佢地嘅屬性係西客,用都不特止仲要不停投訴,隻手同跛嘅無分別,唔會落手落腳去改良開源軟件,所以開唔開源對佢地黎講無分別。


2022/12/25 0

Map pgup and pgdown keys to page up and down in msi notebook in ubuntu

xmodmap -e “keycode 112 = Home”xmodmap -e “keycode 117 = End”


2022/11/28 0

Force gdb to read .gdbinit in current folder

GDB User Initialization File The user initialization file contains commands that are executed upon the startup of GDB. It is located in your home directory under the path: ~/.gdbinit Create/edit this file and add the following line to this file: set auto-load safe-path / This allows our programs to use a current directory initialization file,…
Read more


2022/10/16 0

Sync qemu fork

After I forked qemu, these comands can sync the origin repo


2022/10/14 0

Solved: The request message is too big. The server does not allow messages larger than 2097152 bytes.

SharePoint Online CSOM error : The request message is too big. The server does not allow messages larger than 2097152 bytes.


2022/07/19 0

Best post to explain php and fastcgi

https://cloud.tencent.com/developer/article/1442424


2021/10/10 0

Create pfx file to add custom domain for Power Apps Portal

openssl pkcs12 -export -out certificate.pfx -inkey privkey1.pem -in fullchain1.pem


2021/05/17 0

Solved: liximomo error : file not found

https://stackoverflow.com/questions/67506693/vscode-error-no-such-file-sftp-liximomo-extension/67524099#67524099 This is apparently a brand new problem that has been introduced into the newer versions of VS Code. I have FOUND A SOLUTION that seems to work well, by modifying a single line in the extension code. This is only valid for version 1.12.9 of the liximomo.sftp extension. Here are the steps: Shutdown / Quit VS Code. Locate…
Read more


2021/05/15 0

Very good git command tutorial examples

https://www.codegrepper.com/code-examples/shell/git+log+first+line


2021/05/09 0

Never use Baidu Cloud Disk

Simple reaons, upload is fast, download only. few ten KB/s. It looks like Baidu don’t want you to download your file, locking you in forever


2021/01/25 0

原子哥塊fpga非常唔錯,份doc好掂

份doc過千頁,跟住做毫無難度,好過”特權同學”好多,特權份doc基本上係搞笑,完全唔齊。


2020/12/27 0

logic gate呢一層

我地平時用嘅variable,如果化到落logic gate呢一層,你無法找到佢嘅真身,佢亦都好可能同其它variable所化生嘅logic gate交織埋一齊,你亦都無可能找到佢確實嘅存在嘅時間,一切好虛無,但有其功用。呢個係coding體驗空性嘅其中一個睇法。而家啲programmer執著玩排位玩放位玩lang玩framework,真係好可憐。


2020/10/27 0

New book to read: Sql server wait statistics

Learn more advanced skills for sharepoint tuning from sql server point of view.


2020/10/24 0

SharePoint can’t login ad user (Resolved)

https://www.mssqltips.com/sqlservertip/3889/resolving-sharepoint-application-authentication-error-login-failed/


2020/08/19 0

Great blog about vscode extension development

https://www.cnblogs.com/liuxianan/p/vscode-plugin-common-api.html


2020/04/12 0

Let’s encrypt generate wildcard cert

This works https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7


2020/03/15 0

Simplest guide to config tomcat to use https with lets encrypt’s free cert

Support you have generate a standalone cert using certbot command, and your cert is in /etc/letsencrypt/live/ . If not, follow this https://www.digitalocean.com/community/tutorials/how-to-use-certbot-standalone-mode-to-retrieve-let-s-encrypt-ssl-certificates-on-ubuntu-16-04 Execute openssl command and remember your password Edit tomcat’s conf/server.xml, you just need one connector to serve 8443, no need other conntector Restart your tomcat, it is done. Below is the virtualhost to…
Read more


2019/11/23 0

玩了14年QQ終於被永久凍結

玩了14年QQ終於被永久凍結了, 原因為了說了一些大陸不想聽的說話


2019/10/14 0

Mac inconsistence free disk space between “System Information” and “Disk Utility”

This command can fix: sudo tmutil thinLocalSnapshots / 10000000000 4


2019/09/23 0

Bash script to create a file with increment bytes

for ((x=0;x<=255;x++)); do a=`echo “obase=16; $x”|bc`;echo -n -e “\x$a”; done


2019/09/08 0

Generic E-Form system design

Lots of customers has implemented e-form using different technologies such as Nintex, SPFX, Microsoft Flow. We are going to design a generic E-Form system for them, providing a centralize mechanism for administrators to add/remove eform, user management, log management and etc…


2019/08/14 0

一本由讀computer science嘅人所寫嘅哲學書

我而家總結一下書中所帶出的哲學問題,所有讀computer science嘅人都應該花時間思考一下: 神。人。機械人。三者之關係 機械人的超限作用 人好明顯就是當機械人係奴隸 機械人之自我認同,自我意識 克隆人是機械人? 人是機械人?


2019/07/08 0

Destroyed Yamato

By a level 8 Russian Destroyer


2019/05/12 0