2019年11月23日 星期六

the journal building toolchain

5.notes on building progress:
bryan@waltz:/media/bryan/Hitachi/poky/yocto_build/valleyisland$ bitbake meta-toolchain

5.1.building automake-1.15:
| help2man: can't get `--help' info from automake-1.15
| Try `--no-discard-stderr' if option outputs to stderr
solution:
1.downgrade perl or upgrade automake
(@see https://tinyurl.com/ygndxvr7 )
2.modify make file ( solved by patching )
(@see https://tinyurl.com/yzbqjhqx )
( automake is less likey changed, and less impact, comparing
to perl )

5.2.configuring libtool: ( solved by patching )
Unescaped left brace in regex is illegal here in regex; marked by <-- 3936.="" at="" automake="" bin="" br="" bryan="" here="" in="" itachi="" line="" m="" media="" poky="" sysroots="" t=":+{}]+)}/" tmp="" usr="" valleyisland="" x86_64-linux="" yocto_build="">WARNING: exit code 255 from a shell command.
ERROR: Function failed: do_configure (log file is located at /media/bryan/Hitachi/poky/yocto_build/valleyisland/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_configure.25667)
search:
@see https://tinyurl.com/yx686ae9
solution:
@see https://tinyurl.com/vmy7dsg

5.3.compiling pkgconfig: ( solved by patching )
| ERROR: Function failed: do_compile (log file is located at /media/bryan/Hitachi/poky/yocto_build/valleyisland/tmp/work/x86_64-linux/pkgconfig-native/0.28+gitAUTOINC+40342dd0ea-r0/temp/log.do_compile.4840)
/media/bryan/Hitachi/poky/yocto_build/valleyisland/tmp/work/x86_64-linux/pkgconfig-native/0.28+gitAUTOINC+40342dd0ea-r0/git/glib/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~
This will be resolved by the upgrade to Yocto 2.2
We're at Yocto 2.4 now and i haven't seen any such issues. Closing
As a nasty hack I did this:
Patches are provided in the linked bug as a work-around.
( @see https://tinyurl.com/yx3mm24w )
gdate: Suppress string format literal warning
( @see https://tinyurl.com/rrd8bck )

5.4.configuring openssl ( solved by patching host file )
Can't locate find.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at perlpath.pl line 7.
(  @see https://tinyurl.com/qn7zk2m )

2018年7月26日 星期四

"Learn React" - reading digest

traditional DOM API insertion is slow.

React是用來更新瀏覽器的DOM的函式庫.

React只是Javascript, 可以加上邏輯來建構React元件樹.

使用React的主要好處是能夠分離UI元素與資料.

元件樹中的資料處理是使用React的優勢之一.

React只是建構view的函式庫.

Data Driven Documents ( D3 )是個建構瀏覽器資料視覺化的Javascript框架.


2018年6月16日 星期六

How I Install Ubuntu 18.04 LTS to xps 13 5350

Below is a note of how I install Ubuntu 18.04 LTS bionic to dell xps 13 5350
1. moving windows to virtualbox VM and reactivate.
2. update BIOS to 1.7.0 ( the latest ).
3. download and make live usb disk.
4. key: turn off BIOS secure boot, set SATA operation to AHCI, legacy mode boot instead of uefi
Hope this helps.



2016年1月16日 星期六

以評論家作為推薦來源的價值, 編輯的價值, 都隨著互聯網的緣故而降低.

2015年10月31日 星期六

繁簡字差異的程度

想初步了解一下中文繁簡字差異的程度, 以數據的形式理解, 找到了這篇文章, 大意是說, 若單純以方塊字數表示, 大約有10%以上. 問題初步獲得解答. 比較的角度有很多種, 有興趣的朋友可以自己再往下找.