Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
为什么 Linux 用户应该试一试 Rust

&#22312; Linux &#31995;&#32479;&#19978;&#23433;&#35013; Rust &#32534;&#31243;&#35821;&#35328;&#21487;&#33021;&#26159;&#20320;&#36817;&#24180;&#26469;&#25152;&#20570;&#30340;&#26368;&#26377;&#20215;&#20540;&#30340;&#20107;&#24773;&#20043;&#19968;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/090805l94nk97sz87e1yld.jpg">Media</a>Rust &#26159;&#19968;&#31181;&#30456;&#24403;&#24180;&#36731;&#21644;&#29616;&#20195;&#30340;&#32534;&#31243;&#35821;&#35328;&#65292;&#20855;&#26377;&#35768;&#22810;&#20351;&#20854;&#38750;&#24120;&#28789;&#27963;&#32780;&#21450;&#20854;&#23433;&#20840;&#30340;&#21151;&#33021;&#12290;&#25968;&#25454;&#26174;&#31034;&#23427;&#27491;&#22312;&#21464;&#24471;&#38750;&#24120;&#21463;&#27426;&#36814;&#65292;&#36830;&#32493;&#19977;&#24180;&#65288;<a href="https://insights.stackoverflow.com/survey/2016#technology-most-loved-dreaded-and-wanted">2016</a>&#12289;<a href="https://insights.stackoverflow.com/survey/2017#technology-most-loved-dreaded-and-wanted-languages">2017</a> &#21644; <a href="https://insights.stackoverflow.com/survey/2018#technology-most-loved-dreaded-and-wanted-languages">2018</a>&#65289;&#22312; Stack Overflow &#24320;&#21457;&#32773;&#35843;&#26597;&#20013;&#33719;&#24471;“&#26368;&#21463;&#21916;&#29233;&#30340;&#32534;&#31243;&#35821;&#35328;”&#30340;&#31532;&#19968;&#21517;&#12290;Rust &#20063;&#26159;&#24320;&#28304;&#35821;&#35328;&#30340;&#19968;&#31181;&#65292;&#23427;&#20855;&#26377;&#19968;&#31995;&#21015;&#29305;&#27530;&#30340;&#21151;&#33021;&#65292;&#20351;&#24471;&#23427;&#21487;&#20197;&#36866;&#24212;&#35768;&#22810;&#19981;&#21516;&#30340;&#32534;&#31243;&#39033;&#30446;&#12290; &#23427;&#26368;&#21021;&#28304;&#20110; 2006 &#24180; Mozilla &#21592;&#24037;&#30340;&#20010;&#20154;&#39033;&#30446;&#65292;&#20960;&#24180;&#21518;&#65288;2009 &#24180;&#65289;&#34987; Mozilla &#36873;&#20026;&#29305;&#21035;&#39033;&#30446;&#65292;&#28982;&#21518;&#22312; 2010 &#24180;&#23459;&#24067;&#20379;&#20844;&#20247;&#20351;&#29992;&#12290;Rust &#31243;&#24207;&#36816;&#34892;&#36895;&#24230;&#26497;&#24555;&#65292;&#21487;&#38450;&#27490;&#27573;&#38169;&#35823;&#65292;&#24182;&#33021;&#20445;&#35777;&#32447;&#31243;&#23433;&#20840;&#12290;&#36825;&#20123;&#23646;&#24615;&#20351;&#35813;&#35821;&#35328;&#26497;&#22823;&#22320;&#21560;&#24341;&#20102;&#19987;&#27880;&#20110;&#24212;&#29992;&#31243;&#24207;&#23433;&#20840;&#24615;&#30340;&#24320;&#21457;&#20154;&#21592;&#12290;Rust &#20063;&#26159;&#19968;&#31181;&#38750;&#24120;&#26131;&#35835;&#30340;&#35821;&#35328;&#65292;&#21487;&#29992;&#20110;&#20174;&#31616;&#21333;&#31243;&#24207;&#21040;&#38750;&#24120;&#22823;&#32780;&#22797;&#26434;&#30340;&#39033;&#30446;&#12290;Rust &#20248;&#28857;&#65306;&#20869;&#23384;&#23433;&#20840; —— Rust &#19981;&#20250;&#21463;&#21040;&#24748;&#31354;&#25351;&#38024;&#12289;&#32531;&#20914;&#21306;&#28322;&#20986;&#25110;&#20854;&#20182;&#19982;&#20869;&#23384;&#30456;&#20851;&#30340;&#38169;&#35823;&#30340;&#24433;&#21709;&#12290;&#23427;&#25552;&#20379;&#20869;&#23384;&#23433;&#20840;&#65292;&#26080;&#22238;&#25910;&#22403;&#22334;&#12290;&#36890;&#29992; —— Rust &#26159;&#36866;&#29992;&#20110;&#20219;&#20309;&#31867;&#22411;&#32534;&#31243;&#30340;&#35821;&#35328;&#24555;&#36895; —— Rust &#22312;&#24615;&#33021;&#19978;&#19982; C / C++ &#30456;&#24403;&#65292;&#20294;&#20855;&#26377;&#26356;&#22909;&#30340;&#23433;&#20840;&#21151;&#33021;&#12290;&#39640;&#25928; —— Rust &#26159;&#20026;&#20102;&#20415;&#20110;&#24182;&#21457;&#32534;&#31243;&#32780;&#26500;&#24314;&#30340;&#12290;&#38754;&#21521;&#39033;&#30446; —— Rust &#20855;&#26377;&#20869;&#32622;&#30340;&#20381;&#36182;&#20851;&#31995;&#21644;&#26500;&#24314;&#31649;&#29702;&#31995;&#32479; Cargo&#12290;&#24471;&#21040;&#24456;&#22909;&#30340;&#25903;&#25345; —— Rust &#26377;&#19968;&#20010;&#20196;&#20154;&#21360;&#35…
使用 Lakka Linux 将你的旧 PC 变成复古游戏主机

如果你有一台吃灰的旧计算机,你可以用 Lakka Linux 将它变成像 PlayStation 那样的复古游戏主机。Media

via https://linux.cn/article-10158-1.html
&#20351;&#29992; Lakka Linux &#23558;&#20320;&#30340;&#26087; PC &#21464;&#25104;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;

&#22914;&#26524;&#20320;&#26377;&#19968;&#21488;&#21507;&#28784;&#30340;&#26087;&#35745;&#31639;&#26426;&#65292;&#20320;&#21487;&#20197;&#29992; Lakka Linux &#23558;&#23427;&#21464;&#25104;&#20687; PlayStation &#37027;&#26679;&#30340;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#12290;&#20320;&#21487;&#33021;&#24050;&#32463;&#20102;&#35299;<a href="https://itsfoss.com/lightweight-linux-beginners/">&#19987;&#38376;&#29992;&#20110;&#22797;&#27963;&#26087;&#35745;&#31639;&#26426;&#30340; Linux &#21457;&#34892;&#29256;</a>&#12290;&#20294;&#26159;&#20320;&#30693;&#36947;&#26377;&#20010; Linux &#21457;&#34892;&#29256;&#19987;&#38376;&#26159;&#20026;&#20102;&#23558;&#26087;&#30005;&#33041;&#21464;&#25104;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#21019;&#24314;&#30340;&#20040;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/095819b5enoa7zo8hwwhw7.jpg">Lakka is a Linux distribution specially for retrogaming</a>&#35748;&#35782;&#19979; <a href="http://www.lakka.tv/">Lakka</a>&#65292;&#23427;&#26159;&#19968;&#20010;&#36731;&#37327;&#32423; Linux &#21457;&#34892;&#29256;&#65292;&#21487;&#20197;&#23558;&#26087;&#30340;&#25110;&#20302;&#31471;&#30340;&#35745;&#31639;&#26426;&#65288;&#22914; Raspberry Pi&#65289;&#21464;&#25104;&#19968;&#20010;&#23436;&#25972;&#30340;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#65292;&#24403;&#25105;&#35828;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#26102;&#65292;&#25105;&#23545;&#20027;&#26426;&#37096;&#20998;&#24456;&#35748;&#30495;&#12290;&#22914;&#26524;&#20320;&#26366;&#32463;&#20351;&#29992;&#36807; Xbox &#21644; PlayStation&#65292;&#20320;&#23601;&#20250;&#30693;&#36947;&#20856;&#22411;&#30340;&#20027;&#26426;&#30028;&#38754;&#26159;&#20160;&#20040;&#26679;&#30340;&#12290;Lakka &#25552;&#20379;&#31867;&#20284;&#30340;&#30028;&#38754;&#21644;&#31867;&#20284;&#30340;&#20307;&#39564;&#12290;&#25105;&#31245;&#21518;&#20250;&#35848;&#21040;“&#20307;&#39564;”&#12290;&#20808;&#30475;&#19968;&#19979;&#30028;&#38754;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/095625eagrgrffrug44vfw.gif">Media</a><em>Lakka &#22797;&#21476;&#28216;&#25103;&#30028;&#38754;</em>Lakka&#65306;&#20026;&#22797;&#21476;&#28216;&#25103;&#32780;&#29983;&#30340; Linux &#21457;&#34892;&#29256;Lakka &#26159; <a href="https://www.retroarch.com/">RetroArch</a> &#21644; <a href="https://www.libretro.com/">Libretro</a> &#29983;&#24577;&#31995;&#32479;&#30340;&#23448;&#26041; Linux &#21457;&#34892;&#29256;&#12290;RetroArch &#26159;&#22797;&#21476;&#28216;&#25103;&#27169;&#25311;&#22120;&#21644;&#28216;&#25103;&#24341;&#25806;&#30340;&#21069;&#31471;&#12290;&#20320;&#22312;&#19978;&#38754;&#30340;&#35270;&#39057;&#20013;&#30475;&#21040;&#30340;&#30028;&#38754;&#21482;&#26159; RetroArch&#12290;&#22914;&#26524;&#20320;&#26159;&#21482;&#24819;&#29609;&#22797;&#21476;&#28216;&#25103;&#65292;&#21482;&#38656;&#22312;&#24403;&#21069;&#30340; Linux &#21457;&#34892;&#29256;&#20013;&#23433;&#35013; RetroArch &#21363;&#21487;&#12290;Lakka &#25552;&#20379;&#20102;&#24102;&#26377; Libretro &#26680;&#24515;&#30340; RetroArch&#12290;&#22240;&#27492;&#65292;&#20320;&#20250;&#33719;&#24471;&#19968;&#20010;&#39044;&#20808;&#37197;&#32622;&#23436;&#30340;&#25805;&#20316;&#31995;&#32479;&#65292;&#20320;&#21487;&#20197;&#23433;&#35013;&#25110;&#25554;&#20837; live USB &#24182;&#24320;&#22987;&#29609;&#28216;&#25103;&#12290;Lakka &#26159;&#36731;&#37327;&#32423;&#30340;&#65292;&#20320;&#21487;&#20197;&#23558;&#23427;&#23433;&#35013;&#22312;&#22823;&#22810;&#25968;&#32769;&#31995;&#32479;&#25110;&#21333;&#26495;&#35745;&#31639;&#26426;&#19978;&#65292;&#22914; Raspberry Pi &#19978;&#12290;&#23427;&#25903;&#25345;&#22823;&#37327;&#30340;&#27169;&#25311;&#22120;&#12290;&#20320;&#21482;&#38656;&#35201;&#22312;&#31995;&#32479;&#19978;&#19979;&#36733; ROM&#65292;Lakka…
使用 Argbash 来改进你的 Bash 脚本

Argbash 是一个代码生成器,它为你的脚本生成一个量身定制的解析库。与其他 bash 模块的通用代码不同,它生成你的脚本所需的最少代码。Media

via https://linux.cn/article-10159-1.html
&#20351;&#29992; Argbash &#26469;&#25913;&#36827;&#20320;&#30340; Bash &#33050;&#26412;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/092854nrvazffgzfnqaxfw.png">Media</a>&#20320;&#32534;&#20889;&#25110;&#32500;&#25252;&#36807;&#26377;&#24847;&#20041;&#30340; bash &#33050;&#26412;&#21527;&#65311;&#22914;&#26524;&#22238;&#31572;&#26159;&#65292;&#37027;&#20040;&#20320;&#21487;&#33021;&#24076;&#26395;&#23427;&#20204;&#20197;&#26631;&#20934;&#19988;&#20581;&#22766;&#30340;&#26041;&#24335;&#25509;&#25910;&#21629;&#20196;&#34892;&#21442;&#25968;&#12290;Fedora &#26368;&#36817;&#24471;&#21040;&#20102;<a href="https://argbash.readthedocs.io/">&#19968;&#20010;&#24456;&#22909;&#30340;&#38468;&#21152;&#32452;&#20214;</a>&#65292;&#23427;&#21487;&#20197;&#24110;&#21161;&#20320;&#29983;&#25104;&#26356;&#22909;&#30340;&#33050;&#26412;&#12290;&#19981;&#29992;&#25285;&#24515;&#65292;&#23427;&#19981;&#20250;&#33457;&#36153;&#20320;&#24456;&#22810;&#26102;&#38388;&#25110;&#31934;&#21147;&#12290;&#20026;&#20160;&#20040;&#38656;&#35201; Argbash?Bash &#26159;&#19968;&#31181;&#35299;&#37322;&#24615;&#30340;&#21629;&#20196;&#34892;&#35821;&#35328;&#65292;&#27809;&#26377;&#26631;&#20934;&#24211;&#12290;&#22240;&#27492;&#65292;&#22914;&#26524;&#20320;&#32534;&#20889; bash &#33050;&#26412;&#24182;&#24076;&#26395;&#21629;&#20196;&#34892;&#30028;&#38754;&#31526;&#21512; <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html">POSIX</a> &#21644; <a href="https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html">GNU CLI</a> &#26631;&#20934;&#65292;&#37027;&#20040;&#20320;&#19968;&#33324;&#21482;&#26377;&#20004;&#31181;&#36873;&#25321;&#65306;&#30452;&#25509;&#32534;&#20889;&#20026;&#33050;&#26412;&#37327;&#36523;&#23450;&#21046;&#30340;&#21442;&#25968;&#35299;&#26512;&#21151;&#33021;&#65288;&#21487;&#20351;&#29992;&#20869;&#32622;&#30340; getopts&#65289;&#12290;&#20351;&#29992;&#22806;&#37096; bash &#27169;&#22359;&#12290;&#31532;&#19968;&#20010;&#36873;&#39033;&#30475;&#36215;&#26469;&#38750;&#24120;&#24858;&#34850;&#65292;&#22240;&#20026;&#27491;&#30830;&#23454;&#29616;&#25509;&#21475;&#24182;&#38750;&#26131;&#20107;&#12290;&#20294;&#26159;&#65292;&#20174; <a href="https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash">Stack Overflow</a> &#21040; <a href="http://wiki.bash-hackers.org/howto/getopts_tutorial">Bash Hackers</a> wiki &#30340;&#21508;&#31181;&#31449;&#28857;&#19978;&#65292;&#23427;&#21364;&#34987;&#35748;&#20026;&#26159;&#26368;&#20339;&#36873;&#25321;&#12290;&#31532;&#20108;&#20010;&#36873;&#39033;&#30475;&#36215;&#26469;&#26356;&#32874;&#26126;&#65292;&#20294;&#20351;&#29992;&#27169;&#22359;&#26377;&#23427;&#33258;&#24049;&#30340;&#38382;&#39064;&#12290;&#26368;&#22823;&#30340;&#38382;&#39064;&#26159;&#20320;&#24517;&#39035;&#23558;&#20854;&#20195;&#30721;&#19982;&#33050;&#26412;&#25414;&#32465;&#22312;&#19968;&#36215;&#12290;&#36825;&#21487;&#33021;&#24847;&#21619;&#30528;&#65306;&#35201;&#20040;&#65292;&#20320;&#23558;&#24211;&#20316;&#20026;&#21333;&#29420;&#30340;&#25991;&#20214;&#20998;&#21457;&#25110;&#32773;&#65292;&#22312;&#33050;&#26412;&#30340;&#24320;&#22836;&#21253;&#21547;&#24211;&#20195;&#30721;&#26377;&#20004;&#20010;&#25991;&#20214;&#32780;&#19981;&#26159;&#19968;&#20010;&#26159;&#24858;&#34850;&#30340;&#65307;&#20294;&#37319;&#29992;&#19968;&#20010;&#25991;&#20214;&#30340;&#35805;&#65292;&#20250;&#35753;&#19968;&#22534;&#19978;&#21315;&#34892;&#30340;&#22797;&#26434;&#20195;&#30721;&#27745;&#26579;&#20102;&#20320;&#30340;&#33050;&#26412;&#12290;&#36825;&#26159; Argbash <a href="https://argbash.readthedocs.io/">&#39033;&#30446;&#35806;&#29983;</a>&#30340;&#20027;&#35201;&#21407;&#22240;&#12290;Argbash &#26159;&#19968;&#20010;&#20195;&#30721;&#29983;&#25104;&#22120;&#65292;&#23427;&#20026;&#20320;&#30340;&#33050;&#26412;&#29983;&#25104;&#19968;&#20010;&#37327;&#36523;&#23450;&#21046;&#30340;&#35299;&#26512;&#24211;&#12290;&#19…
一窥你安装的 Linux 软件包

这些最有用的命令可以让你了解安装在你的 Debian 类的 Linux 系统上的包的情况。Media

via https://linux.cn/article-10160-1.html
&#19968;&#31397;&#20320;&#23433;&#35013;&#30340; Linux &#36719;&#20214;&#21253;

&#36825;&#20123;&#26368;&#26377;&#29992;&#30340;&#21629;&#20196;&#21487;&#20197;&#35753;&#20320;&#20102;&#35299;&#23433;&#35013;&#22312;&#20320;&#30340; Debian &#31867;&#30340; Linux &#31995;&#32479;&#19978;&#30340;&#21253;&#30340;&#24773;&#20917;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/095619ks5en1rsgvguoojs.jpg">Media</a>&#20320;&#26377;&#27809;&#26377;&#24819;&#36807;&#20320;&#30340; Linux &#31995;&#32479;&#19978;&#23433;&#35013;&#20102;&#20960;&#21315;&#20010;&#36719;&#20214;&#21253;&#65311; &#26159;&#30340;&#65292;&#25105;&#35828;&#30340;&#26159;“&#21315;”&#12290; &#21363;&#20351;&#26159;&#30456;&#24403;&#19968;&#33324;&#30340; Linux &#31995;&#32479;&#20063;&#21487;&#33021;&#23433;&#35013;&#20102;&#19978;&#21315;&#20010;&#36719;&#20214;&#21253;&#12290; &#26377;&#24456;&#22810;&#26041;&#27861;&#21487;&#20197;&#33719;&#24471;&#36825;&#20123;&#21253;&#21040;&#24213;&#26159;&#20160;&#20040;&#21253;&#30340;&#35814;&#32454;&#20449;&#24687;&#12290;&#39318;&#20808;&#65292;&#35201;&#22312;&#22522;&#20110; Debian &#30340;&#21457;&#34892;&#29256;&#65288;&#22914; Ubuntu&#65289;&#19978;&#24555;&#36895;&#24471;&#21040;&#24050;&#23433;&#35013;&#30340;&#36719;&#20214;&#21253;&#25968;&#37327;&#65292;&#35831;&#20351;&#29992; apt list --installed&#65292; &#22914;&#19979;&#65306;<pre class="prettyprint linenums">$ apt list --installed | wc -l2067</pre>&#36825;&#20010;&#25968;&#23383;&#23454;&#38469;&#19978;&#22810;&#20102;&#19968;&#20010;&#65292;&#22240;&#20026;&#36755;&#20986;&#20013;&#21253;&#21547;&#20102; “Listing …” &#20316;&#20026;&#23427;&#30340;&#31532;&#19968;&#34892;&#12290; &#36825;&#20010;&#21629;&#20196;&#20250;&#26356;&#20934;&#30830;&#65306;<pre class="prettyprint linenums">$ apt list --installed | grep -v "^Listing" | wc -l2066</pre>&#35201;&#33719;&#24471;&#25152;&#26377;&#36825;&#20123;&#21253;&#30340;&#35814;&#32454;&#20449;&#24687;&#65292;&#35831;&#25353;&#20197;&#19979;&#26041;&#24335;&#27983;&#35272;&#21015;&#34920;&#65306;<pre class="prettyprint linenums">$ apt list --installed | moreListing...a11y-profile-manager-indicator/xenial,now 0.1.10-0ubuntu3 amd64 [installed]account-plugin-aim/xenial,now 3.12.11-0ubuntu3 amd64 [installed]account-plugin-facebook/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-flickr/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-google/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-jabber/xenial,now 3.12.11-0ubuntu3 amd64 [installed]account-plugin-salut/xenial,now 3.12.11-0ubuntu3 amd64 [installed]</pre>&#36825;&#38656;&#35201;&#35266;&#23519;&#24456;&#22810;&#32454;&#33410; —— &#29305;&#21035;&#26159;&#35753;&#20320;&#30340;&#30524;&#30555;&#22312;&#25152;&#26377; 2000 &#22810;&#20010;&#25991;&#20214;&#20013;&#24472;&#24458;&#12290; &#23427;&#21253;&#21547;&#21253;&#21517;&#31216;&#12289;&#29256;&#26412;&#31561;&#65292;&#20197;&#21450;&#26356;&#22810;&#20294;&#24182;&#19981;&#26159;&#20197;&#26368;&#26131;&#20110;&#25105;&#20204;&#20154;&#31867;&#35299;&#26512;&#30340;&#26174;&#31034;&#20449;&#24687;&#12290; dpkg-query &#20351;&#24471;&#25551;&#36848;&#26356;&#23481;&#26131;&#29702;&#35299;&#65292;&#20294;&#36825;&#20123;&#25551;&#36848;&#20250;&#22622;&#28385;&#20320;&#30340;&#21629;&#20196;&#31383;&#21475;&#65292;&#38500;&#38750;&#31383;&#21475;&#38750;&#24120;&#23485;&#12290; &#22240;&#27492;&#65292;&#20026;&#20102;&#35753;&#27492;&#31687;&#25991;&#31456;&#26356;&#23481;&#26131;&#38405;&#35835;&#65292;&#19979;&#38754;&#30340;&#25968;&#25454;&#26174;&#31034;&#24050;&#32463;&#20998;&#25104;&#20102;&#24038;&#21491;&#20004;&#20391;&#12290;&#24038;&#20391;&#65306;<pre class="prettyprint linenums">$ dpkg-query -l | moreDesired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/…
为什么 Python 这么慢?

对于一个类似的程序,Python 要比其它语言慢 2 到 10 倍不等,这其中的原因是什么?又有没有改善的方法呢?Media

via https://linux.cn/article-10161-1.html
&#20026;&#20160;&#20040; Python &#36825;&#20040;&#24930;&#65311;

Python &#29616;&#22312;&#36234;&#26469;&#36234;&#28779;&#65292;&#24050;&#32463;&#36805;&#36895;&#25193;&#24352;&#21040;&#21253;&#25324; DevOps&#12289;&#25968;&#25454;&#31185;&#23398;&#12289;Web &#24320;&#21457;&#12289;&#20449;&#24687;&#23433;&#20840;&#31561;&#21508;&#20010;&#39046;&#22495;&#24403;&#20013;&#12290;&#28982;&#32780;&#65292;&#30456;&#27604;&#36215; Python &#25193;&#24352;&#30340;&#36895;&#24230;&#65292;Python &#20195;&#30721;&#30340;&#36816;&#34892;&#36895;&#24230;&#23601;&#26174;&#24471;&#26377;&#28857;&#36874;&#33394;&#20102;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/114058v8793uq037m9007f.jpg">Media&#22312;&#20195;&#30721;&#36816;&#34892;&#36895;&#24230;&#26041;&#38754;&#65292;Java&#12289;C&#12289;C++&#12289;C# &#21644; Python &#35201;&#22914;&#20309;&#36827;&#34892;&#27604;&#36739;&#21602;&#65311;&#24182;&#27809;&#26377;&#19968;&#20010;&#25918;&#20043;&#22235;&#28023;&#32780;&#30342;&#20934;&#30340;&#26631;&#20934;&#65292;&#22240;&#20026;&#20855;&#20307;&#32467;&#26524;&#24456;&#22823;&#31243;&#24230;&#19978;&#21462;&#20915;&#20110;&#36816;&#34892;&#30340;&#31243;&#24207;&#31867;&#22411;&#65292;&#32780;&#35821;&#35328;&#22522;&#20934;&#27979;&#35797;Computer Language Benchmarks Games&#21487;&#20197;&#20316;&#20026;<a href="http://algs4.cs.princeton.edu/faq/">&#34913;&#37327;&#30340;&#19968;&#20010;&#26041;&#38754;&#12290;&#26681;&#25454;&#25105;&#36825;&#20123;&#24180;&#26469;&#36827;&#34892;&#35821;&#35328;&#22522;&#20934;&#27979;&#35797;&#30340;&#32463;&#39564;&#26469;&#30475;&#65292;Python &#27604;&#24456;&#22810;&#35821;&#35328;&#36816;&#34892;&#36215;&#26469;&#37117;&#35201;&#24930;&#12290;&#26080;&#35770;&#26159;&#20351;&#29992; <a href="https://en.wikipedia.org/wiki/Just-in-time_compilation">JIT &#32534;&#35793;&#22120;&#30340; C&#65283;&#12289;Java&#65292;&#36824;&#26159;&#20351;&#29992; <a href="https://en.wikipedia.org/wiki/Ahead-of-time_compilation">AOT &#32534;&#35793;&#22120;&#30340; C&#12289;C++&#65292;&#21448;&#25110;&#32773;&#26159; JavaScript &#36825;&#20123;&#35299;&#37322;&#22411;&#35821;&#35328;&#65292;Python &#37117;<a href="https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/python.html">&#27604;&#23427;&#20204;&#36816;&#34892;&#24471;&#24930;&#12290;&#27880;&#24847;&#65306;&#23545;&#20110;&#25991;&#20013;&#30340; &ldquo<a href="https://dn-linuxcn.qbox.me/static/image/smiley/default/titter.gif">Mediaython” &#65292;&#19968;&#33324;&#25351; CPython &#36825;&#20010;&#23448;&#26041;&#30340;&#23454;&#29616;&#12290;&#24403;&#28982;&#25105;&#20063;&#20250;&#22312;&#26412;&#25991;&#20013;&#25552;&#21040;&#20854;&#23427;&#35821;&#35328;&#30340; Python &#23454;&#29616;&#12290;&#25105;&#35201;&#22238;&#31572;&#30340;&#26159;&#36825;&#20010;&#38382;&#39064;&#65306;&#23545;&#20110;&#19968;&#20010;&#31867;&#20284;&#30340;&#31243;&#24207;&#65292;Python &#35201;&#27604;&#20854;&#23427;&#35821;&#35328;&#24930; 2 &#21040; 10 &#20493;&#19981;&#31561;&#65292;&#36825;&#20854;&#20013;&#30340;&#21407;&#22240;&#26159;&#20160;&#20040;&#65311;&#21448;&#26377;&#27809;&#26377;&#25913;&#21892;&#30340;&#26041;&#27861;&#21602;&#65311;&#20027;&#27969;&#30340;&#35828;&#27861;&#26377;&#36825;&#20123;&#65306;“&#26159;&#20840;&#23616;&#35299;&#37322;&#22120;&#38145;Global Interpreter Lock&#65288;GIL&#65289;&#30340;&#21407;&#22240;”“&#26159;&#22240;&#20026; Python &#26159;&#35299;&#37322;&#22411;&#35821;&#35328;&#32780;&#19981;&#26159;&#32534;&#35793;&#22411;&#35821;&#35328;”“&#26159;&#22240;&#20026; Python &#26159;&#19968;&#31181;&#21160;&#24577;&#31867;&#22411;&#30340;&#35821;&#35328;”&#21738;&#19968;&#20010;&#25165;&#26159;&#26159;&#24433;&#21709; Python &#36816;&#34892;&#25928;&#29575;&#30340;&#20027;&#35201;&#21407;&#22240;&#21602;&#65311;&#26159;&#20840;&#23616;&#35299;&#37322;&#22120;&#38145;&#30340;&#21407;&#22240;&#21527;&#65311;&#29616;&#22312;&#24456;&#22810;&#35745;&#31639;&#26426;&#37117;&#37197;&#227…
坚实的 React 基础:初学者指南

这篇文章针对的是那些希望理论与实践完美结合的观众。我会告诉你一些理论,以便你了解幕后发生的事情,然后我会向你展示如何编写一些 React.js 代码。Media

via https://linux.cn/article-10162-1.html
&#22362;&#23454;&#30340; React &#22522;&#30784;&#65306;&#21021;&#23398;&#32773;&#25351;&#21335;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/104728nzehe82q5h9b8fqj.png">Media</a>&#22312;&#36807;&#21435;&#30340;&#20960;&#20010;&#26376;&#37324;&#65292;&#25105;&#19968;&#30452;&#22312;&#20351;&#29992; React &#21644; React-Native&#12290;&#25105;&#24050;&#32463;&#21457;&#24067;&#20102;&#20004;&#20010;&#20316;&#20026;&#20135;&#21697;&#30340;&#24212;&#29992;&#65292; <a href="https://kivenaa.com/">Kiven Aa</a>&#65288;React&#65289;&#21644; <a href="https://play.google.com/store/apps/details?id=com.pollenchat.android">Pollen Chat</a>&#65288;React Native&#65289;&#12290;&#24403;&#25105;&#24320;&#22987;&#23398;&#20064; React &#26102;&#65292;&#25105;&#25214;&#20102;&#19968;&#20123;&#19981;&#20165;&#20165;&#26159;&#25945;&#25105;&#22914;&#20309;&#29992; React &#20889;&#24212;&#29992;&#30340;&#19996;&#35199;&#65288;&#19968;&#20010;&#21338;&#23458;&#65292;&#19968;&#20010;&#35270;&#39057;&#65292;&#19968;&#20010;&#35838;&#31243;&#65292;&#31561;&#31561;&#65289;&#65292;&#25105;&#20063;&#24819;&#35753;&#23427;&#24110;&#25105;&#20570;&#22909;&#38754;&#35797;&#20934;&#22791;&#12290;&#25105;&#21457;&#29616;&#30340;&#22823;&#37096;&#20998;&#36164;&#26009;&#37117;&#38598;&#20013;&#22312;&#26576;&#19968;&#21333;&#19968;&#26041;&#38754;&#19978;&#12290;&#25152;&#20197;&#65292;&#36825;&#31687;&#25991;&#31456;&#38024;&#23545;&#30340;&#26159;&#37027;&#20123;&#24076;&#26395;&#29702;&#35770;&#19982;&#23454;&#36341;&#23436;&#32654;&#32467;&#21512;&#30340;&#35266;&#20247;&#12290;&#25105;&#20250;&#21578;&#35785;&#20320;&#19968;&#20123;&#29702;&#35770;&#65292;&#20197;&#20415;&#20320;&#20102;&#35299;&#24149;&#21518;&#21457;&#29983;&#30340;&#20107;&#24773;&#65292;&#28982;&#21518;&#25105;&#20250;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#32534;&#20889;&#19968;&#20123; React.js &#20195;&#30721;&#12290;&#22914;&#26524;&#20320;&#26356;&#21916;&#27426;&#35270;&#39057;&#24418;&#24335;&#65292;&#25105;&#22312; [YouTube][<a href="https://youtu.be/WJ6PgzI16I4">https://youtu.be/WJ6PgzI16I4</a>] &#19978;&#20256;&#20102;&#25972;&#20010;&#35838;&#31243;&#65292;&#35831;&#21435;&#30475;&#30475;&#12290;&#35753;&#25105;&#20204;&#24320;&#22987;……React.js &#26159;&#19968;&#20010;&#29992;&#20110;&#26500;&#24314;&#29992;&#25143;&#30028;&#38754;&#30340; JavaScript &#24211;&#20320;&#21487;&#20197;&#26500;&#24314;&#21508;&#31181;&#21333;&#39029;&#24212;&#29992;&#31243;&#24207;&#12290;&#20363;&#22914;&#65292;&#20320;&#24076;&#26395;&#22312;&#29992;&#25143;&#30028;&#38754;&#19978;&#23454;&#26102;&#26174;&#31034;&#21464;&#21270;&#30340;&#32842;&#22825;&#36719;&#20214;&#21644;&#30005;&#23376;&#21830;&#21153;&#38376;&#25143;&#12290;&#19968;&#20999;&#37117;&#26159;&#32452;&#20214;React &#24212;&#29992;&#30001;&#32452;&#20214;&#32452;&#25104;&#65292;&#25968;&#37327;&#32321;&#22810;&#19988;&#20114;&#30456;&#23884;&#22871;&#12290;&#20320;&#25110;&#35768;&#20250;&#38382;&#65306;”&#21487;&#20160;&#20040;&#26159;&#32452;&#20214;&#21602;&#65311;“&#32452;&#20214;&#26159;&#21487;&#37325;&#29992;&#30340;&#20195;&#30721;&#27573;&#65292;&#23427;&#23450;&#20041;&#20102;&#26576;&#20123;&#21151;&#33021;&#22312; UI &#19978;&#30340;&#22806;&#35266;&#21644;&#34892;&#20026;&#12290; &#27604;&#22914;&#65292;&#25353;&#38062;&#23601;&#26159;&#19968;&#20010;&#32452;&#20214;&#12290;&#35753;&#25105;&#20204;&#30475;&#30475;&#19979;&#38754;&#30340;&#35745;&#31639;&#22120;&#65292;&#24403;&#20320;&#23581;&#35797;&#35745;&#31639; 2 + 2 = 4 -1 = 3&#65288;&#31616;&#21333;&#30340;&#25968;&#23398;&#39064;&#65289;&#26102;&#65292;&#20320;&#20250;&#22312; Google &#19978;&#30475;&#21040;&#36825;&#20010;&#35745;&#31639;&#22120;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/104744a002jj0m8gwkxw2m.png">Media</a><em>&#32418;&#33394;&#26631;&#35760;&#34920;&#31034;&#32452;&#20214;</em>&#22914;&#19978;&#22270;&#25152;&#31034;&#65292;&#36825;&#20010;&#35745;&#31639;&#22120;&#26377;&#2…
面向系统管理员的容器手册

你所需了解的容器如何工作的知识。Media

via https://linux.cn/article-10163-1.html
&#38754;&#21521;&#31995;&#32479;&#31649;&#29702;&#21592;&#30340;&#23481;&#22120;&#25163;&#20876;

&#20320;&#25152;&#38656;&#20102;&#35299;&#30340;&#23481;&#22120;&#22914;&#20309;&#24037;&#20316;&#30340;&#30693;&#35782;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/111518jruxxoukh0txu447.jpg">Media</a>&#29616;&#22312;&#20154;&#20204;&#20005;&#37325;&#36807;&#24230;&#20351;&#29992;&#20102;“&#23481;&#22120;”&#36825;&#20010;&#26415;&#35821;&#12290;&#21478;&#22806;&#65292;&#23545;&#19981;&#21516;&#30340;&#20154;&#26469;&#35828;&#65292;&#23427;&#21487;&#33021;&#20250;&#26377;&#19981;&#21516;&#30340;&#21547;&#20041;&#65292;&#36825;&#21462;&#20915;&#20110;&#19978;&#19979;&#25991;&#12290;&#20256;&#32479;&#30340; Linux &#23481;&#22120;&#21482;&#26159;&#31995;&#32479;&#19978;&#26222;&#36890;&#30340;&#36827;&#31243;&#12290;&#19968;&#32452;&#36827;&#31243;&#19982;&#21478;&#22806;&#19968;&#32452;&#36827;&#31243;&#26159;&#30456;&#20114;&#38548;&#31163;&#30340;&#65292;&#23454;&#29616;&#26041;&#27861;&#21253;&#25324;&#65306;&#36164;&#28304;&#38480;&#21046;&#65288;&#25511;&#21046;&#32452; [cgoups]&#65289;&#12289;Linux &#23433;&#20840;&#38480;&#21046;&#65288;&#25991;&#20214;&#26435;&#38480;&#65292;&#22522;&#20110; Capability &#30340;&#23433;&#20840;&#27169;&#22359;&#12289;SELinux&#12289;AppArmor&#12289;seccomp &#31561;&#65289;&#36824;&#26377;&#21517;&#23383;&#31354;&#38388;&#65288;&#36827;&#31243; ID&#12289;&#32593;&#32476;&#12289;&#25346;&#36733;&#31561;&#65289;&#12290;&#22914;&#26524;&#20320;&#21551;&#21160;&#19968;&#21488;&#29616;&#20195; Linux &#25805;&#20316;&#31995;&#32479;&#65292;&#20351;&#29992; <code>cat /proc/PID/cgroup</code> &#21629;&#20196;&#23601;&#21487;&#20197;&#30475;&#21040;&#35813;&#36827;&#31243;&#26159;&#23646;&#20110;&#19968;&#20010;&#25511;&#21046;&#32452;&#30340;&#12290;&#36824;&#21487;&#20197;&#20174; <code>/proc/PID/status</code> &#25991;&#20214;&#20013;&#26597;&#30475;&#36827;&#31243;&#30340; Capability &#20449;&#24687;&#65292;&#20174; <code>/proc/self/attr/current</code> &#25991;&#20214;&#20013;&#26597;&#30475;&#36827;&#31243;&#30340; SELinux &#26631;&#31614;&#20449;&#24687;&#65292;&#20174; <code>/proc/PID/ns</code> &#30446;&#24405;&#19979;&#30340;&#25991;&#20214;&#26597;&#30475;&#36827;&#31243;&#25152;&#23646;&#30340;&#21517;&#23383;&#31354;&#38388;&#12290;&#22240;&#27492;&#65292;&#22914;&#26524;&#25226;&#23481;&#22120;&#23450;&#20041;&#20026;&#24102;&#26377;&#36164;&#28304;&#38480;&#21046;&#12289;Linux &#23433;&#20840;&#38480;&#21046;&#21644;&#21517;&#23383;&#31354;&#38388;&#30340;&#36827;&#31243;&#65292;&#37027;&#20040;&#25353;&#29031;&#36825;&#20010;&#23450;&#20041;&#65292;Linux &#25805;&#20316;&#31995;&#32479;&#19978;&#30340;&#27599;&#19968;&#20010;&#36827;&#31243;&#37117;&#22312;&#19968;&#20010;&#23481;&#22120;&#37324;&#12290;&#22240;&#27492;&#25105;&#20204;&#24120;&#35828; <a href="https://www.redhat.com/en/blog/containers-are-linux">Linux &#23601;&#26159;&#23481;&#22120;&#65292;&#23481;&#22120;&#23601;&#26159; Linux</a>&#12290;&#32780;<strong>&#23481;&#22120;&#36816;&#34892;&#26102;</strong>&#26159;&#36825;&#26679;&#19968;&#31181;&#24037;&#20855;&#65292;&#23427;&#35843;&#25972;&#19978;&#36848;&#36164;&#28304;&#38480;&#21046;&#12289;&#23433;&#20840;&#38480;&#21046;&#21644;&#21517;&#23383;&#31354;&#38388;&#65292;&#24182;&#21551;&#21160;&#23481;&#22120;&#12290;Docker &#24341;&#20837;&#20102;<strong>&#23481;&#22120;&#38236;&#20687;</strong>&#30340;&#27010;&#24565;&#65292;&#38236;&#20687;&#26159;&#19968;&#20010;&#26222;&#36890;&#30340; TAR &#21253;&#25991;&#20214;&#65292;&#21253;&#21547;&#20102;&#65306;<strong>rootfs&#65288;&#23481;&#22120;&#30340;&#26681;&#25991;&#20214;&#31995;&#32479;&#65289;</strong>&#65306;&#19968;&#20010;&#30446;&#24405;&#65292;&#30475;&#36215;&#26469;&#20687;&#26159;&#25805;&#20316;&#31995;&#32479;&#30340;&#26222;&#36890;&#26681;&#30446;&#24405;&#65288;<code>/</code>&#65289;&#65292;&#20363;&#22914;&#65292;&#19968;&#20010;&#21253;&#21547; <code>/usr</code>, <code>/var</code>…
如何构建 RPM 包

节省跨多个主机安装文件和脚本的时间和精力。Media

via https://linux.cn/article-10164-1.html
&#22914;&#20309;&#26500;&#24314; RPM &#21253;

&#33410;&#30465;&#36328;&#22810;&#20010;&#20027;&#26426;&#23433;&#35013;&#25991;&#20214;&#21644;&#33050;&#26412;&#30340;&#26102;&#38388;&#21644;&#31934;&#21147;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/125431qw2n6p643hww4wzy.jpg">Media</a>&#33258;20&#22810;&#24180;&#21069;&#25105;&#24320;&#22987;&#20351;&#29992; Linux &#20197;&#26469;&#65292;&#25105;&#24050;&#32463;&#20351;&#29992;&#36807;&#22522;&#20110; rpm &#30340;&#36719;&#20214;&#21253;&#31649;&#29702;&#22120;&#22312; Red Hat &#21644; Fedora Linux &#31995;&#32479;&#19978;&#23433;&#35013;&#36719;&#20214;&#12290;&#25105;&#20351;&#29992;&#36807; rpm &#31243;&#24207;&#26412;&#36523;&#65292;&#36824;&#26377; yum &#21644; dnf &#65292;&#29992;&#20110;&#22312;&#25105;&#30340; Linux &#20027;&#26426;&#19978;&#23433;&#35013;&#21644;&#26356;&#26032;&#36719;&#20214;&#21253;&#65292;dnf &#26159; yum &#30340;&#19968;&#20010;&#36817;&#20146;&#12290; yum &#21644; dnf &#24037;&#20855;&#26159; rpm &#23454;&#29992;&#31243;&#24207;&#30340;&#21253;&#35013;&#22120;&#65292;&#23427;&#25552;&#20379;&#20102;&#20854;&#20182;&#21151;&#33021;&#65292;&#20363;&#22914;&#26597;&#25214;&#21644;&#23433;&#35013;&#21253;&#20381;&#36182;&#39033;&#30340;&#21151;&#33021;&#12290;&#22810;&#24180;&#26469;&#65292;&#25105;&#21019;&#24314;&#20102;&#35768;&#22810; Bash &#33050;&#26412;&#65292;&#20854;&#20013;&#19968;&#20123;&#33050;&#26412;&#20855;&#26377;&#21333;&#29420;&#30340;&#37197;&#32622;&#25991;&#20214;&#65292;&#25105;&#24076;&#26395;&#22312;&#22823;&#22810;&#25968;&#26032;&#35745;&#31639;&#26426;&#21644;&#34394;&#25311;&#26426;&#19978;&#23433;&#35013;&#36825;&#20123;&#33050;&#26412;&#12290;&#36825;&#20063;&#33021;&#35299;&#20915;&#23433;&#35013;&#25152;&#26377;&#36825;&#20123;&#36719;&#20214;&#21253;&#38656;&#35201;&#33457;&#36153;&#22823;&#37327;&#26102;&#38388;&#30340;&#38590;&#39064;&#65292;&#22240;&#27492;&#25105;&#20915;&#23450;&#36890;&#36807;&#21019;&#24314;&#19968;&#20010; rpm &#36719;&#20214;&#21253;&#26469;&#33258;&#21160;&#25191;&#34892;&#35813;&#36807;&#31243;&#65292;&#25105;&#21487;&#20197;&#23558;&#20854;&#22797;&#21046;&#21040;&#30446;&#26631;&#20027;&#26426;&#24182;&#23558;&#25152;&#26377;&#36825;&#20123;&#25991;&#20214;&#23433;&#35013;&#22312;&#36866;&#24403;&#30340;&#20301;&#32622;&#12290;&#34429;&#28982; rpm &#24037;&#20855;&#20197;&#21069;&#29992;&#20110;&#26500;&#24314; rpm &#21253;&#65292;&#20294;&#35813;&#21151;&#33021;&#24050;&#34987;&#21024;&#38500;&#65292;&#24182;&#19988;&#21019;&#24314;&#20102;&#19968;&#20010;&#26032;&#24037;&#20855;&#26469;&#26500;&#24314;&#26032;&#30340; rpm&#12290;&#24403;&#25105;&#24320;&#22987;&#36825;&#20010;&#39033;&#30446;&#26102;&#65292;&#25105;&#21457;&#29616;&#24456;&#23569;&#26377;&#20851;&#20110;&#21019;&#24314; rpm &#21253;&#30340;&#20449;&#24687;&#65292;&#20294;&#25105;&#25214;&#21040;&#20102;&#19968;&#26412;&#20070;&#65292;&#21517;&#20026;&#12298;Maximum RPM&#12299;&#65292;&#36825;&#26412;&#20070;&#25165;&#24110;&#25105;&#24324;&#26126;&#30333;&#20102;&#12290;&#36825;&#26412;&#20070;&#29616;&#22312;&#24050;&#32463;&#36807;&#26102;&#20102;&#65292;&#25105;&#21457;&#29616;&#30340;&#32477;&#22823;&#22810;&#25968;&#20449;&#24687;&#37117;&#26159;&#22914;&#27492;&#12290;&#23427;&#20063;&#24050;&#32463;&#32477;&#29256;&#65292;&#29992;&#36807;&#30340;&#21103;&#26412;&#20063;&#38656;&#35201;&#33457;&#36153;&#25968;&#30334;&#32654;&#20803;&#12290;<a href="http://ftp.rpm.org/max-rpm/">Maximum RPM</a> &#30340;&#22312;&#32447;&#29256;&#26412;&#26159;&#20813;&#36153;&#25552;&#20379;&#30340;&#65292;&#24182;&#20445;&#25345;&#26368;&#26032;&#12290;&#35813; <a href="http://rpm.org/index.html">RPM &#32593;&#31449;</a>&#36824;&#26377;&#20854;&#20182;&#32593;&#31449;&#30340;&#38142;&#25509;&#65292;&#36825;&#20123;&#32593;&#31449;&#19978;&#26377;&#24456;&#22810;&#20851;&#20110; rpm &#30340;&#25991;&#26723;&#12290;&#20854;&#20182;&#30340;&#20449;&#24687;&#24448;&#24448;&#26159;&#31616;&#30701;&#30…
24 个必备的 Linux 应用程序

我们会列举出那些在所有 Linux 发行版上你都会安装的最优秀的 Linux 应用程序。Media

via https://linux.cn/article-10165-1.html
24 &#20010;&#24517;&#22791;&#30340; Linux &#24212;&#29992;&#31243;&#24207;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/190052elhoxx7rzl2lxr7r.png">Media</a>&#25552;&#35201;&#65306;Linux &#19978;&#24517;&#22791;&#30340;&#24212;&#29992;&#31243;&#24207;&#26159;&#20160;&#20040;&#21602;&#65311;&#36825;&#20010;&#31572;&#26696;&#20855;&#26377;&#20027;&#35266;&#24615;&#24182;&#21462;&#20915;&#20110;&#20320;&#20351;&#29992; Linux &#26700;&#38754;&#30340;&#30446;&#30340;&#26159;&#20160;&#20040;&#12290;&#20294;&#30830;&#23454;&#23384;&#22312;&#19968;&#20123;&#24517;&#22791;&#30340;&#24182;&#19988;&#22823;&#37096;&#20998; Linux &#29992;&#25143;&#37117;&#20250;&#23433;&#35013;&#30340;&#24212;&#29992;&#31243;&#24207;&#12290;&#25509;&#19979;&#26469;&#25105;&#20204;&#20250;&#21015;&#20030;&#20986;&#37027;&#20123;&#22312;&#25152;&#26377; Linux &#21457;&#34892;&#29256;&#19978;&#20320;&#37117;&#20250;&#23433;&#35013;&#30340;&#26368;&#20248;&#31168;&#30340; Linux &#24212;&#29992;&#31243;&#24207;&#12290;&#22312; Linux &#30340;&#19990;&#30028;&#20013;&#65292;&#25152;&#26377;&#19996;&#35199;&#37117;&#30001;&#20320;&#36873;&#25321;&#12290;&#20320;&#35201;&#36873;&#25321;&#19968;&#20010;&#21457;&#34892;&#29256;&#65311;&#20320;&#33021;&#25214;&#21040;&#19968;&#22823;&#25226;&#12290;&#20320;&#24819;&#35201;&#25214;&#21040;&#19968;&#20010;&#31216;&#24515;&#30340;&#38899;&#20048;&#25773;&#25918;&#22120;&#65311;&#21516;&#26679;&#20250;&#26377;&#35768;&#22810;&#36873;&#25321;&#12290;&#20294;&#23427;&#20204;&#24182;&#38750;&#20840;&#37096;&#36981;&#24490;&#30456;&#21516;&#30340;&#35774;&#35745;&#29702;&#24565; —— &#20854;&#20013;&#19968;&#20123;&#21487;&#33021;&#36861;&#27714;&#26497;&#33268;&#36731;&#37327;&#21270;&#32780;&#21478;&#19968;&#20123;&#20250;&#25552;&#20379;&#25968;&#19981;&#28165;&#30340;&#29305;&#24615;&#12290;&#22240;&#27492;&#24819;&#35201;&#25214;&#21040;&#27491;&#20013;&#38656;&#27714;&#30340;&#24212;&#29992;&#31243;&#24207;&#20250;&#25104;&#20026;&#30456;&#24403;&#20196;&#20154;&#22836;&#30140;&#30340;&#32321;&#37325;&#20219;&#21153;&#12290;&#37027;&#23601;&#35753;&#25105;&#20204;&#26469;&#32531;&#35299;&#20320;&#30340;&#22836;&#30140;&#21543;&#12290;&#23545;&#20110; Linux &#29992;&#25143;&#26469;&#35828;&#26368;&#20248;&#31168;&#30340;&#33258;&#30001;&#36719;&#20214;&#25509;&#19979;&#26469;&#25105;&#23558;&#32599;&#21015;&#19968;&#31995;&#21015;&#22312;&#19981;&#21516;&#24212;&#29992;&#22330;&#26223;&#19979;&#25105;&#20559;&#29233;&#30340;&#24517;&#22791; Linux &#33258;&#30001;&#36719;&#20214;&#12290;&#24403;&#28982;&#27492;&#22788;&#25105;&#24182;&#38750;&#22312;&#35828;&#23427;&#20204;&#26159;&#26368;&#22909;&#30340;&#65292;&#20294;&#30830;&#23454;&#26159;&#22312;&#29305;&#23450;&#31867;&#21035;&#19979;&#25105;&#23581;&#35797;&#30340;&#19968;&#31995;&#21015;&#36719;&#20214;&#20013;&#26368;&#21916;&#27426;&#30340;&#12290;&#20063;&#21516;&#26679;&#27426;&#36814;&#20320;&#22312;&#35780;&#35770;&#21306;&#20171;&#32461;&#20320;&#26368;&#21916;&#27426;&#30340;&#24212;&#29992;&#31243;&#24207;&#12290;&#21516;&#26102;&#25105;&#20204;&#20063;&#21046;&#20316;&#20102;&#20851;&#20110;&#27492;&#27425;&#24212;&#29992;&#28165;&#21333;&#30340;<a href="https://youtu.be/awawJnkUbWs">&#35270;&#39057;</a>&#12290;&#22312; YouTube &#19978;&#35746;&#38405;&#25105;&#20204;&#30340;&#39057;&#36947;&#33719;&#21462;&#26356;&#22810;&#30340; Linux &#35270;&#39057;&#12290;&#32593;&#39029;&#27983;&#35272;&#22120;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/190103u62l9o9iy4ssae4o.jpg">&#32593;&#39029;&#27983;&#35272;&#22120;</a><em>&#32593;&#39029;&#27983;&#35272;&#22120;</em>Google Chrome<a href="https://www.google.com/chrome/browser">Google Chrome</a> &#26159;&#19968;&#20010;&#24378;&#22823;&#24182;&#19988;&#21151;&#33021;&#23436;&#21892;&#30340;&#27983;&#35272;&#22120;&#35299;&#20915;&#26041;&#26696;&#65292;&#23427;&#25317;&#26377;&#23436;&#32654;&#30340;&#21516;&#27493;&#21151;&#33021;&#20197;&#21450;&#20016;&#23500;&…
设计更快的网页(一):图片压缩

这个系列的文章介绍了如何使用 Fedora 提供的工具来给网页“瘦身”。Media

via https://linux.cn/article-10166-1.html
&#35774;&#35745;&#26356;&#24555;&#30340;&#32593;&#39029;&#65288;&#19968;&#65289;&#65306;&#22270;&#29255;&#21387;&#32553;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/213800xzz7e7txh75t5hhl.jpg">Media</a>&#24456;&#22810; Web &#24320;&#21457;&#32773;&#37117;&#24076;&#26395;&#20570;&#20986;&#21152;&#36733;&#36895;&#24230;&#24456;&#24555;&#30340;&#32593;&#39029;&#12290;&#22312;&#31227;&#21160;&#35774;&#22791;&#27983;&#35272;&#21344;&#27604;&#36234;&#26469;&#36234;&#22823;&#30340;&#32972;&#26223;&#19979;&#65292;&#20351;&#29992;&#21709;&#24212;&#24335;&#35774;&#35745;&#20351;&#24471;&#32593;&#31449;&#22312;&#23567;&#23631;&#24149;&#19979;&#30475;&#36215;&#26469;&#26356;&#28418;&#20142;&#21482;&#26159;&#20854;&#20013;&#19968;&#20010;&#26041;&#38754;&#12290;Browser Calories &#21487;&#20197;&#23637;&#31034;&#32593;&#39029;&#30340;&#21152;&#36733;&#26102;&#38388; —— &#36825;&#19981;&#21333;&#21333;&#20851;&#31995;&#21040;&#29992;&#25143;&#65292;&#36824;&#20250;&#24433;&#21709;&#21040;&#36890;&#36807;&#21152;&#36733;&#36895;&#24230;&#26469;&#36827;&#34892;&#35780;&#32423;&#30340;&#25628;&#32034;&#24341;&#25806;&#12290;&#36825;&#20010;&#31995;&#21015;&#30340;&#25991;&#31456;&#20171;&#32461;&#20102;&#22914;&#20309;&#20351;&#29992; Fedora &#25552;&#20379;&#30340;&#24037;&#20855;&#26469;&#32473;&#32593;&#39029;“&#30246;&#36523;”&#12290;&#20934;&#22791;&#24037;&#20316;&#22312;&#20320;&#24320;&#22987;&#32553;&#20943;&#32593;&#39029;&#20043;&#21069;&#65292;&#20320;&#38656;&#35201;&#26126;&#30830;&#26680;&#24515;&#38382;&#39064;&#25152;&#22312;&#12290;&#20026;&#27492;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992; <a href="https://browserdiet.com/calories/">Browserdiet</a>. &#36825;&#26159;&#19968;&#20010;&#27983;&#35272;&#22120;&#25554;&#20214;&#65292;&#36866;&#29992;&#20110; Firefox&#12289;Opera&#12289; Chrome &#21644;&#20854;&#23427;&#27983;&#35272;&#22120;&#12290;&#23427;&#20250;&#23545;&#25171;&#24320;&#30340;&#32593;&#39029;&#36827;&#34892;&#24615;&#33021;&#20998;&#26512;&#65292;&#36825;&#26679;&#20320;&#23601;&#21487;&#20197;&#30693;&#36947;&#24212;&#35813;&#20174;&#21738;&#37324;&#20837;&#25163;&#26469;&#32553;&#20943;&#32593;&#39029;&#12290;&#28982;&#21518;&#65292;&#20320;&#38656;&#35201;&#19968;&#20123;&#29992;&#26469;&#22788;&#29702;&#30340;&#39029;&#38754;&#12290;&#19979;&#38754;&#30340;&#20363;&#23376;&#26159;&#38024;&#23545; <a href="http://getfedora.org">getferoda.org</a> &#30340;&#27979;&#35797;&#25130;&#22270;&#12290;&#19968;&#24320;&#22987;&#65292;&#23427;&#30475;&#36215;&#26469;&#38750;&#24120;&#31616;&#21333;&#65292;&#20063;&#31526;&#21512;&#21709;&#24212;&#24335;&#35774;&#35745;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/213800fjped7j9c1p3ej15.jpg">Browser Diet - getfedora.org &#30340;&#35780;&#20998;</a>&#28982;&#32780;&#65292;BroserDiet &#30340;&#32593;&#39029;&#20998;&#26512;&#34920;&#26126;&#65292;&#36825;&#20010;&#32593;&#39029;&#38656;&#35201;&#21152;&#36733; 1.8MB &#30340;&#25991;&#20214;&#12290;&#25152;&#20197;&#65292;&#25105;&#20204;&#29616;&#22312;&#26377;&#27963;&#24178;&#20102;&#65281;Web &#20248;&#21270;&#32593;&#39029;&#20013;&#21253;&#21547; 281 KB &#30340; JavaScript &#25991;&#20214;&#12289;203 KB &#30340; CSS &#25991;&#20214;&#65292;&#36824;&#26377; 1.2 MB &#30340;&#22270;&#29255;&#12290;&#25105;&#20204;&#20808;&#20174;&#26368;&#20005;&#37325;&#30340;&#38382;&#39064; —— &#22270;&#29255;&#24320;&#22987;&#20837;&#25163;&#12290;&#20026;&#20102;&#35299;&#20915;&#38382;&#39064;&#65292;&#20320;&#38656;&#35201;&#30340;&#24037;&#20855;&#38598;&#26377; GIMP&#12289;ImageMagick &#21644; optipng. &#20320;&#21487;&#20197;&#20351;&#29992;&#22914;&#19979;&#21629;&#20196;&#36731;&#26494;&#23433;&#35013;&#23427;&#20204;&#65306;<pre class="prettyprint linenums">sudo dnf install gimp imagemagick optipng</pre>&#27604;&#22914;&#65292;&#25105;&#20204;&#20808;&#25343;&#21040;&#36825;&#20010; 6.4 KB &#30340;<a href="https://getfedora.org/static/images/cinnamon.png">&#25991;&#…
使用开源同步工具 Syncthing 控制你的数据

决定如何存储和共享您的个人信息。Media

via https://linux.cn/article-10167-1.html
&#20351;&#29992;&#24320;&#28304;&#21516;&#27493;&#24037;&#20855; Syncthing &#25511;&#21046;&#20320;&#30340;&#25968;&#25454;

&#20915;&#23450;&#22914;&#20309;&#23384;&#20648;&#21644;&#20849;&#20139;&#24744;&#30340;&#20010;&#20154;&#20449;&#24687;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/221100kbn1vv61a3lt2b13.png">Media</a>&#22914;&#20170;&#65292;&#25105;&#20204;&#30340;&#19968;&#20123;&#26368;&#37325;&#35201;&#30340;&#36130;&#20135; —— &#20174;&#23478;&#20154;&#21644;&#26379;&#21451;&#30340;&#29031;&#29255;&#21644;&#35270;&#39057;&#21040;&#36130;&#21153;&#21644;&#21307;&#30103;&#25991;&#20214; —— &#37117;&#26159;&#25968;&#25454;&#12290;&#21363;&#20415;&#26159;&#20113;&#23384;&#20648;&#26381;&#21153;&#30340;&#36805;&#29467;&#21457;&#23637;&#65292;&#25105;&#20204;&#20173;&#26377;&#23545;&#38544;&#31169;&#21644;&#20010;&#20154;&#25968;&#25454;&#32570;&#20047;&#25511;&#21046;&#30340;&#25285;&#24551;&#12290;&#20174;&#26865;&#38236;&#30417;&#25511;&#35745;&#21010;&#21040;&#35895;&#27468;<a href="https://gizmodo.com/google-says-it-doesnt-go-through-your-inbox-anymore-bu-1827299695">&#35753; APP &#24320;&#21457;&#32773;&#25195;&#25551;&#20320;&#30340;&#20010;&#20154;&#37038;&#20214;</a>&#65292;&#36825;&#20123;&#26032;&#38395;&#30340;&#25253;&#36947;&#24212;&#35813;&#20250;&#35753;&#25105;&#20204;&#23545;&#25105;&#20204;&#20010;&#20154;&#20449;&#24687;&#30340;&#23433;&#20840;&#24615;&#26377;&#25152;&#39038;&#34385;&#12290;<a href="https://syncthing.net/">Syncthing</a> &#21487;&#20197;&#35753;&#20320;&#25918;&#19979;&#24515;&#26469;&#12290;&#23427;&#26159;&#19968;&#27454;&#24320;&#28304;&#30340;&#28857;&#23545;&#28857;&#25991;&#20214;&#21516;&#27493;&#24037;&#20855;&#65292;&#21487;&#20197;&#36816;&#34892;&#22312; Linux&#12289;Windows&#12289;Mac&#12289;Android &#21644;&#20854;&#20182;&#65288;&#25265;&#27465;&#65292;&#27809;&#26377;iOS&#65289;&#12290;Syncthing &#20351;&#29992;&#33258;&#23450;&#30340;&#21327;&#35758;&#65292;&#21483;<a href="3">&#22359;&#20132;&#25442;&#21327;&#35758;</a>&#12290;&#31616;&#32780;&#35328;&#20043;&#65292;Syncting &#33021;&#35753;&#20320;&#26080;&#38656;&#25317;&#26377;&#26381;&#21153;&#22120;&#26469;&#36328;&#35774;&#22791;&#21516;&#27493;&#25968;&#25454;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#23558;&#35299;&#37322;&#22914;&#20309;&#22312; Linux &#30005;&#33041;&#21644;&#23433;&#21331;&#25163;&#26426;&#20043;&#38388;&#23433;&#35013;&#21644;&#21516;&#27493;&#25991;&#20214;&#12290;LinuxSyncting &#22312;&#22823;&#22810;&#25968;&#27969;&#34892;&#30340;&#21457;&#34892;&#29256;&#37117;&#33021;&#19979;&#36733;&#12290;Fedora 28 &#21253;&#21547;&#20854;&#26368;&#26032;&#29256;&#26412;&#12290;&#35201;&#22312; Fedora &#19978;&#23433;&#35013; Syncthing&#65292;&#20320;&#33021;&#22312;&#36719;&#20214;&#20013;&#24515;&#25628;&#32034;&#65292;&#25110;&#32773;&#25191;&#34892;&#20197;&#19979;&#21629;&#20196;&#65306;<pre class="prettyprint linenums">sudo dnf install syncthing syncthing-gtk</pre>&#19968;&#26086;&#23433;&#35013;&#22909;&#21518;&#65292;&#25171;&#24320;&#23427;&#12290;&#20320;&#23558;&#20250;&#30475;&#21040;&#19968;&#20010;&#21161;&#25163;&#24110;&#20320;&#37197;&#32622; Syncthing&#12290;&#28857;&#20987; “Next” &#30452;&#21040;&#23427;&#35201;&#27714;&#37197;&#32622; WebUI&#12290;&#26368;&#23433;&#20840;&#30340;&#36873;&#39033;&#26159;&#36873;&#25321;“Listen on localhost”&#12290;&#37027;&#23558;&#20250;&#31105;&#27490; Web &#30028;&#38754;&#24182;&#19988;&#38459;&#27490;&#26410;&#32463;&#25480;&#26435;&#30340;&#29992;&#25143;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/221458enntztxnwoe9nnlm.png">Media</a><em>Syncthing &#23433;&#35013;&#26102;&#30340; WebUI &#23545;&#35805;&#26694;</em>&#20851;&#38381;&#23545;&#35805;&#26694;&#12290;&#29616;&#22312; Syncthing &#23433;&#35013;&#22909;&#20102;&#12290;&#29616;&#22312;&#21487;&#20197;&#20998;&#20139;&#25991;&#20214;&#22841;&#65292;&#36830;&#25509;&#19968;&#21488;&#35774;&#2…