programming について調べたことを整理していきます


Rust: Error for copying String allocated memory to new variable.

When I write Rust code as below, it occurs error. I tried to print two same String by copying memory. fn main() { let s1 = String::from("Hello"); let s2 = s1; println!("{}, {}", s1, s2); } error[E0382]: use of moved value: `s1` --> src/mai…

Installing node.js v8.11.1 to centos 6.5 server.

Recently, Node.js v8.11.1 was released. From this version, minimum compiler requirement(gcc) for Node.js had been updated to 4.9.4. https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.11.1 In the centOS 6.5 server, …

How to solve the yum ** http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 ** error in Centos6.5 server.


After installing centos-release-SCL yum package in CentOS 6.5 server, installing other yum package was failed. Error message is same as below. $ sudo yum install libcurl http://mirror.centos.org/centos/6/SCL/x86_64/repodata/repomd.xml: [Er…