From 489e4d3ab2b5178108b5905f5a1eaf1bd9ce0dba Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 06:34:08 +0800 Subject: [PATCH 01/31] Update _config.yml --- _config.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index cdb46a3119c80..418968690eee8 100644 --- a/_config.yml +++ b/_config.yml @@ -3,13 +3,13 @@ # # Name of your site (displayed in the header) -name: Your Name +name: Old dog, new tricks # Short bio or description (displayed in the header) -description: Web Developer from Somewhere +description: Technical notes of a programmer living in the sunny city of Cebu. # URL of your avatar or profile pic (you could use your GitHub profile pic) -avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png +avatar: https://avatars1.githubusercontent.com/u/7017?v=2&s=460 # # Flags below are optional @@ -18,15 +18,15 @@ avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/je # Includes an icon in the footer for each username you enter footer-links: dribbble: - email: + email: kuling.guwapo at gmail dot com facebook: flickr: - github: barryclark/jekyll-now + github: github.com/lmumar instagram: - linkedin: + linkedin: ph.linkedin.com/in/lmumar pinterest: rss: # just type anything here for a working RSS icon, make sure you set the "url" above! - twitter: jekyllrb + twitter: lmumar stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers" # Your disqus shortname, entering this will enable commenting on posts From 4069caf58269813778db29fecb24f6decc6304e3 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 06:39:38 +0800 Subject: [PATCH 02/31] Update and rename 2014-3-3-Hello-World.md to 2014-10-4-notes.md --- _posts/2014-10-4-notes.md | 14 ++++++++++++++ _posts/2014-3-3-Hello-World.md | 10 ---------- 2 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 _posts/2014-10-4-notes.md delete mode 100644 _posts/2014-3-3-Hello-World.md diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md new file mode 100644 index 0000000000000..d4c4c23d86b96 --- /dev/null +++ b/_posts/2014-10-4-notes.md @@ -0,0 +1,14 @@ +--- +layout: post +title: Programming artifacts +--- + +# Programming +# iOS development +# Graphics coding +# UNIX/Linux +# Scala +# Ruby +# Node.js +# Utilities +# Miscellaneous diff --git a/_posts/2014-3-3-Hello-World.md b/_posts/2014-3-3-Hello-World.md deleted file mode 100644 index c469524e3efa3..0000000000000 --- a/_posts/2014-3-3-Hello-World.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: post -title: You're up and running! ---- - -Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below :point_down:). - -![_config.yml]({{ site.baseurl }}/images/config.png) - -The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the [Jekyll Now repository](https://github.com/barryclark/jekyll-now) on GitHub. \ No newline at end of file From 86de44229aa5b1c396376865e36476c7223d666b Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 07:14:02 +0800 Subject: [PATCH 03/31] Update 2014-10-4-notes.md --- _posts/2014-10-4-notes.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index d4c4c23d86b96..b4f0ffa8121a6 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -1,14 +1,13 @@ --- layout: post -title: Programming artifacts +title: Useful programming/technical links --- -# Programming -# iOS development -# Graphics coding -# UNIX/Linux -# Scala -# Ruby -# Node.js -# Utilities -# Miscellaneous +## Programming + * [Why is 0x00400000 the default base address for an executable?](http://blogs.msdn.com/b/oldnewthing/archive/2014/10/03/10562176.aspx) + +## UNIX/Linux + * [The classic UNIX horror story](http://lug.wsu.edu/node/414) + +## Miscellaneous + * [Daring Fireball: Markdown Syntax](http://daringfireball.net/projects/markdown/syntax#link) From ecd5dcd00b9edc04b35bb73166f5609462a3574c Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 07:16:37 +0800 Subject: [PATCH 04/31] Update 2014-10-4-notes.md --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index b4f0ffa8121a6..e08a0c87fc896 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -8,6 +8,7 @@ title: Useful programming/technical links ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) + * [The magic CmdLine - and how I got it back](http://users.softlab.ece.ntua.gr/~ttsiod/bashheimer.html) ## Miscellaneous * [Daring Fireball: Markdown Syntax](http://daringfireball.net/projects/markdown/syntax#link) From a9a5cb395481efa589c7717cdee5ea2df054b596 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 19:06:41 +0800 Subject: [PATCH 05/31] Update 2014-10-4-notes.md --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index e08a0c87fc896..3181c75ec7499 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -5,6 +5,7 @@ title: Useful programming/technical links ## Programming * [Why is 0x00400000 the default base address for an executable?](http://blogs.msdn.com/b/oldnewthing/archive/2014/10/03/10562176.aspx) + * [Postmodern programming](https://github.com/robrix/Postmodern-Programming/blob/master/Postmodern%20Programming.md) ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) From 9c883b3c26d7b4ebbca78a345e9f10845f5698fa Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Oct 2014 19:09:27 +0800 Subject: [PATCH 06/31] Update _config.yml --- _config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 418968690eee8..57cb2e34508b4 100644 --- a/_config.yml +++ b/_config.yml @@ -21,9 +21,9 @@ footer-links: email: kuling.guwapo at gmail dot com facebook: flickr: - github: github.com/lmumar + github: lmumar instagram: - linkedin: ph.linkedin.com/in/lmumar + linkedin: lmumar pinterest: rss: # just type anything here for a working RSS icon, make sure you set the "url" above! twitter: lmumar From 28718e63cde893c5bc43464d26d3c39520203d6c Mon Sep 17 00:00:00 2001 From: lmumar Date: Sat, 12 Dec 2015 19:36:42 +0800 Subject: [PATCH 07/31] Update about page --- about.md | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/about.md b/about.md index db54e4dba16c6..649e1357d3b2c 100644 --- a/about.md +++ b/about.md @@ -4,12 +4,35 @@ title: About permalink: /about/ --- -Some information about you! +Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails and Node.js, and advanced working knowledge in mobile application development in iOS. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance. -### More Information +### Work Experience -A place to include any other types of information that you'd like to include about yourself. +* Caresharing Inc +* United Overseas Bank - Singapore +* Rameses Systems +* University of Cebu + +#### Hardware +* Apple +* IBM PC +* AS/400 + +#### Operating System +* OS X +* Ubuntu Linux +* OS/400 +* Windows + +#### Languages +* Ruby +* Swift +* Objective-C +* JavaScript +* Java +* C# +* CL/400 & Cobol/400 ### Contact me -[email@domain.com](mailto:email@domain.com) \ No newline at end of file +[kuling.guwapo@gmail.com](mailto:kuling.guwapo@gmail.com) \ No newline at end of file From baedc2d1938d90fb242c98426ace97b91a94aa44 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 14 Dec 2015 00:43:03 +0800 Subject: [PATCH 08/31] Update 2014-10-4-notes.md Added new link - files are hard --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index 3181c75ec7499..8e3cb2e4985b0 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -6,6 +6,7 @@ title: Useful programming/technical links ## Programming * [Why is 0x00400000 the default base address for an executable?](http://blogs.msdn.com/b/oldnewthing/archive/2014/10/03/10562176.aspx) * [Postmodern programming](https://github.com/robrix/Postmodern-Programming/blob/master/Postmodern%20Programming.md) + * [Files are hard](http://danluu.com/file-consistency/) ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) From b7c56bef569268157ac6b323d67a55f0589a149f Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 14 Dec 2015 00:45:04 +0800 Subject: [PATCH 09/31] Update about.md Added assembla to work experience --- about.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/about.md b/about.md index 649e1357d3b2c..8d05c654e7855 100644 --- a/about.md +++ b/about.md @@ -9,6 +9,7 @@ Experienced software developer with over 10 years of experience developing enter ### Work Experience * Caresharing Inc +* Assembla * United Overseas Bank - Singapore * Rameses Systems * University of Cebu @@ -35,4 +36,4 @@ Experienced software developer with over 10 years of experience developing enter ### Contact me -[kuling.guwapo@gmail.com](mailto:kuling.guwapo@gmail.com) \ No newline at end of file +[kuling.guwapo@gmail.com](mailto:kuling.guwapo@gmail.com) From b315e6569b27435dd12f20e37fbd447fc14713aa Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 14 Dec 2015 00:49:47 +0800 Subject: [PATCH 10/31] Update about.md Added company links --- about.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/about.md b/about.md index 8d05c654e7855..1d8b7d7ac4b15 100644 --- a/about.md +++ b/about.md @@ -8,11 +8,11 @@ Experienced software developer with over 10 years of experience developing enter ### Work Experience -* Caresharing Inc -* Assembla -* United Overseas Bank - Singapore -* Rameses Systems -* University of Cebu +* [Caresharing Inc](www.caresharing.com) +* [Assembla](www.assembla.com) +* [United Overseas Bank - Singapore](uob.com.sg) +* [Rameses Systems](www.ramesesinc.com) +* [University of Cebu](uc.edu.ph) #### Hardware * Apple From 6f38864b8371ec1be9d328d898069e2defa7a34d Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 14 Dec 2015 00:50:54 +0800 Subject: [PATCH 11/31] Update about.md Fix link --- about.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/about.md b/about.md index 1d8b7d7ac4b15..904338c2c57f7 100644 --- a/about.md +++ b/about.md @@ -8,11 +8,11 @@ Experienced software developer with over 10 years of experience developing enter ### Work Experience -* [Caresharing Inc](www.caresharing.com) -* [Assembla](www.assembla.com) -* [United Overseas Bank - Singapore](uob.com.sg) -* [Rameses Systems](www.ramesesinc.com) -* [University of Cebu](uc.edu.ph) +* [Caresharing Inc](http://www.caresharing.com) +* [Assembla](http://www.assembla.com) +* [United Overseas Bank - Singapore](http://uob.com.sg) +* [Rameses Systems](http://www.ramesesinc.com) +* [University of Cebu](http://uc.edu.ph) #### Hardware * Apple From 666f81114318112648bdee97ed432d883486b934 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sun, 27 Dec 2015 11:10:35 +0800 Subject: [PATCH 12/31] Update 2014-10-4-notes.md Added Rob Pikes article on self referential functions --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index 8e3cb2e4985b0..118cab5b3e336 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -7,6 +7,7 @@ title: Useful programming/technical links * [Why is 0x00400000 the default base address for an executable?](http://blogs.msdn.com/b/oldnewthing/archive/2014/10/03/10562176.aspx) * [Postmodern programming](https://github.com/robrix/Postmodern-Programming/blob/master/Postmodern%20Programming.md) * [Files are hard](http://danluu.com/file-consistency/) + * [Self referential functions and the design of options](http://commandcenter.blogspot.com/2014/01/self-referential-functions-and-design.html) ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) From 9e3a18a6eaf6477c5794f6298ac58d1d09109b44 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 28 Dec 2015 15:07:05 +0800 Subject: [PATCH 13/31] Update 2014-10-4-notes.md Added the linux coding guideline --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index 118cab5b3e336..18151f771e4bf 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -12,6 +12,7 @@ title: Useful programming/technical links ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) * [The magic CmdLine - and how I got it back](http://users.softlab.ece.ntua.gr/~ttsiod/bashheimer.html) + * [Linux coding guideline] (https://github.com/torvalds/linux/blob/master/Documentation/CodingStyle) ## Miscellaneous * [Daring Fireball: Markdown Syntax](http://daringfireball.net/projects/markdown/syntax#link) From de390a7ed74b46a165ae0e6ba3ea2c5418af5e51 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 28 Dec 2015 15:07:55 +0800 Subject: [PATCH 14/31] Update 2014-10-4-notes.md Fix to linux coding guideline bug --- _posts/2014-10-4-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index 18151f771e4bf..9cd34973a5fe7 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -12,7 +12,7 @@ title: Useful programming/technical links ## UNIX/Linux * [The classic UNIX horror story](http://lug.wsu.edu/node/414) * [The magic CmdLine - and how I got it back](http://users.softlab.ece.ntua.gr/~ttsiod/bashheimer.html) - * [Linux coding guideline] (https://github.com/torvalds/linux/blob/master/Documentation/CodingStyle) + * [Linux coding guideline](https://github.com/torvalds/linux/blob/master/Documentation/CodingStyle) ## Miscellaneous * [Daring Fireball: Markdown Syntax](http://daringfireball.net/projects/markdown/syntax#link) From caf93b07b0780e4b44ae9d1485429fe5e34b5c46 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 28 Dec 2015 15:25:48 +0800 Subject: [PATCH 15/31] Update 2014-10-4-notes.md Added a link - why gnu grep is fast --- _posts/2014-10-4-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2014-10-4-notes.md b/_posts/2014-10-4-notes.md index 9cd34973a5fe7..cd772337ae88f 100644 --- a/_posts/2014-10-4-notes.md +++ b/_posts/2014-10-4-notes.md @@ -4,6 +4,7 @@ title: Useful programming/technical links --- ## Programming + * [Why GNU grep is fast](https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html) * [Why is 0x00400000 the default base address for an executable?](http://blogs.msdn.com/b/oldnewthing/archive/2014/10/03/10562176.aspx) * [Postmodern programming](https://github.com/robrix/Postmodern-Programming/blob/master/Postmodern%20Programming.md) * [Files are hard](http://danluu.com/file-consistency/) From 4969c8af2bed694e283a7dce75dfc4ec83fe0081 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Mon, 28 Dec 2015 15:31:33 +0800 Subject: [PATCH 16/31] Create 2015-12-28-books.md books --- _posts/2015-12-28-books.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _posts/2015-12-28-books.md diff --git a/_posts/2015-12-28-books.md b/_posts/2015-12-28-books.md new file mode 100644 index 0000000000000..0b49af4f3501a --- /dev/null +++ b/_posts/2015-12-28-books.md @@ -0,0 +1,10 @@ +--- +layout: post +title: Recommended Readings +--- +## Programming Books +* Practice of Programming +* Mythical Man-Month +* Code Complete +* Software Tools in Pascal +* Algorithms in C++ From bab4c27277b7cee18ba0e933123f0d3b1bec0777 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sun, 10 Apr 2016 09:25:20 +0800 Subject: [PATCH 17/31] Links to opensource games --- _posts/2016-04-10-games.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 _posts/2016-04-10-games.md diff --git a/_posts/2016-04-10-games.md b/_posts/2016-04-10-games.md new file mode 100644 index 0000000000000..4c4af8e157839 --- /dev/null +++ b/_posts/2016-04-10-games.md @@ -0,0 +1,9 @@ +--- +layout: post +title: Recommended Readings +--- +## Opensource games in github +* [Minicraft and Minicraft for Android](https://github.com/Miserlou/Minicraft) +* [AirHockey in cocos2dx](https://github.com/lmumar/AirHockey-cocos2d-x) +* [Sky Defense in cocos2dx](https://github.com/lmumar/Sky-Defense-coco2dx-3.0.rc2) +* [Word warrior](https://github.com/fogleman/WordWarrior) From 677b280168f6fb5d38e1aa8b4b2e23f7fb90b934 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sun, 10 Apr 2016 09:26:52 +0800 Subject: [PATCH 18/31] Fix wrong title on games link --- _posts/2016-04-10-games.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_posts/2016-04-10-games.md b/_posts/2016-04-10-games.md index 4c4af8e157839..998c2417e3c81 100644 --- a/_posts/2016-04-10-games.md +++ b/_posts/2016-04-10-games.md @@ -1,8 +1,7 @@ --- layout: post -title: Recommended Readings +title: Opensource games in github --- -## Opensource games in github * [Minicraft and Minicraft for Android](https://github.com/Miserlou/Minicraft) * [AirHockey in cocos2dx](https://github.com/lmumar/AirHockey-cocos2d-x) * [Sky Defense in cocos2dx](https://github.com/lmumar/Sky-Defense-coco2dx-3.0.rc2) From 1c15f2435532a20b8749010eabcff55b0aaef01a Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Jun 2016 18:18:11 +0800 Subject: [PATCH 19/31] Opensource tools --- _posts/2016-06-04-tools | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 _posts/2016-06-04-tools diff --git a/_posts/2016-06-04-tools b/_posts/2016-06-04-tools new file mode 100644 index 0000000000000..67f4a90dc73d2 --- /dev/null +++ b/_posts/2016-06-04-tools @@ -0,0 +1,5 @@ +--- +layout: post +title: Opensource tools in github +--- +* [Custom uemacs](https://github.com/lmumar/uemacs) From 63c10ff1c05c554ca7e15941f088273b264a2a82 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 4 Jun 2016 18:19:46 +0800 Subject: [PATCH 20/31] Rename 2016-06-04-tools to 2016-06-04-tools.md --- _posts/{2016-06-04-tools => 2016-06-04-tools.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename _posts/{2016-06-04-tools => 2016-06-04-tools.md} (100%) diff --git a/_posts/2016-06-04-tools b/_posts/2016-06-04-tools.md similarity index 100% rename from _posts/2016-06-04-tools rename to _posts/2016-06-04-tools.md From fd4bc91a2b144edfdacf512a5b7bc007180ca0da Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:41:13 +0800 Subject: [PATCH 21/31] Document some rust weird trick Rust weird trick --- _posts/2018-01-26-rust-trick.md | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 _posts/2018-01-26-rust-trick.md diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md new file mode 100644 index 0000000000000..343ae52a7a2e6 --- /dev/null +++ b/_posts/2018-01-26-rust-trick.md @@ -0,0 +1,51 @@ +--- +layout: post +title: Weird Rust trick +--- + +### Weird Rust trick + +In Rust you cannot create another reference to a value if you already have a mutable reference to it. Example: +``` +fn main() { + let mut x = 10; + let rx = &mut x; + *rx = 100; + + let irx = &x; + println!("irx={}", irx); +} +``` +If you compile this code you will receive the following errors: +``` + Compiling playground v0.0.1 (file:///playground) +error[E0502]: cannot borrow `x` as immutable because it is also borrowed as mutable + --> src/main.rs:6:16 + | +3 | let rx = &mut x; + | - mutable borrow occurs here +... +6 | let irx = &x; + | ^ immutable borrow occurs here +... +9 | } + | - mutable borrow ends here + +error: aborting due to previous error + +error: Could not compile `playground`. + +To learn more, run the command again with --verbose. +``` + +However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile successfully in rust. +``` +fn main() { + let mut x = 10; + let rx = &mut x; + *rx = 100; + + let irx = ℞ + println!("irx={}", irx); +} +``` From 1b16f97bfe8a6216c6c54c30aa8a5a94f43e38a7 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:43:43 +0800 Subject: [PATCH 22/31] change the title change the title --- _posts/2018-01-26-rust-trick.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md index 343ae52a7a2e6..4c99734c87469 100644 --- a/_posts/2018-01-26-rust-trick.md +++ b/_posts/2018-01-26-rust-trick.md @@ -1,9 +1,9 @@ --- layout: post -title: Weird Rust trick +title: Rust - Weird trick #1 --- -### Weird Rust trick +### Rust - Weird trick #1 In Rust you cannot create another reference to a value if you already have a mutable reference to it. Example: ``` From 73f4f57df5dd63e645ca3211b961f8a39bd5f5c7 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:45:03 +0800 Subject: [PATCH 23/31] add console output console output --- _posts/2018-01-26-rust-trick.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md index 4c99734c87469..cae8105c3df1e 100644 --- a/_posts/2018-01-26-rust-trick.md +++ b/_posts/2018-01-26-rust-trick.md @@ -38,7 +38,7 @@ error: Could not compile `playground`. To learn more, run the command again with --verbose. ``` -However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile successfully in rust. +However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile successfully and run in rust. ``` fn main() { let mut x = 10; @@ -49,3 +49,16 @@ fn main() { println!("irx={}", irx); } ``` + +output: +``` +Standard Error + + Compiling playground v0.0.1 (file:///playground) + Finished release [optimized] target(s) in 0.54 secs + Running `target/release/playground` + +Standard Output + +irx=100 +``` From 433080773c864a0f7d5134f0e1bc4f51d6eaaae1 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:46:13 +0800 Subject: [PATCH 24/31] grammatical changes grammatical changes --- _posts/2018-01-26-rust-trick.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md index cae8105c3df1e..12004192456d2 100644 --- a/_posts/2018-01-26-rust-trick.md +++ b/_posts/2018-01-26-rust-trick.md @@ -38,7 +38,7 @@ error: Could not compile `playground`. To learn more, run the command again with --verbose. ``` -However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile successfully and run in rust. +However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile and run successfully in rust. ``` fn main() { let mut x = 10; From f7d6aa5d035ee9c69257ed79aa3e852bfbeb87ea Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:47:53 +0800 Subject: [PATCH 25/31] more updates --- _posts/2018-01-26-rust-trick.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md index 12004192456d2..c06cdf0361a9b 100644 --- a/_posts/2018-01-26-rust-trick.md +++ b/_posts/2018-01-26-rust-trick.md @@ -3,8 +3,6 @@ layout: post title: Rust - Weird trick #1 --- -### Rust - Weird trick #1 - In Rust you cannot create another reference to a value if you already have a mutable reference to it. Example: ``` fn main() { From 1ae1b5c529b0abb125c708746bc4aa7dcef8f9e7 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Fri, 26 Jan 2018 17:48:50 +0800 Subject: [PATCH 26/31] updates --- _posts/2018-01-26-rust-trick.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md index c06cdf0361a9b..53f4b5594c14a 100644 --- a/_posts/2018-01-26-rust-trick.md +++ b/_posts/2018-01-26-rust-trick.md @@ -1,6 +1,6 @@ --- layout: post -title: Rust - Weird trick #1 +title: Rust - Weird trick [1] --- In Rust you cannot create another reference to a value if you already have a mutable reference to it. Example: From 3310cf95b47a146529b6c04116547e9334ab84b4 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sat, 1 Aug 2020 12:25:19 +0800 Subject: [PATCH 27/31] Updated profile page --- _config.yml | 22 +++++++-------- _layouts/default.html | 5 ++-- index.html | 64 +++++++++++++++++++++++++++++++++---------- style.scss | 26 +++++++++--------- 4 files changed, 77 insertions(+), 40 deletions(-) diff --git a/_config.yml b/_config.yml index 57cb2e34508b4..cd4562bf6d02b 100644 --- a/_config.yml +++ b/_config.yml @@ -3,10 +3,10 @@ # # Name of your site (displayed in the header) -name: Old dog, new tricks +name: Lord Norlan Mumar # Short bio or description (displayed in the header) -description: Technical notes of a programmer living in the sunny city of Cebu. +description: Random programmer living in the sunny city of Cebu. # URL of your avatar or profile pic (you could use your GitHub profile pic) avatar: https://avatars1.githubusercontent.com/u/7017?v=2&s=460 @@ -17,29 +17,29 @@ avatar: https://avatars1.githubusercontent.com/u/7017?v=2&s=460 # Includes an icon in the footer for each username you enter footer-links: - dribbble: + dribbble: email: kuling.guwapo at gmail dot com - facebook: - flickr: + facebook: + flickr: github: lmumar - instagram: + instagram: linkedin: lmumar - pinterest: + pinterest: rss: # just type anything here for a working RSS icon, make sure you set the "url" above! twitter: lmumar stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers" # Your disqus shortname, entering this will enable commenting on posts -disqus: +disqus: # Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking -google_analytics: +google_analytics: # Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co) # Used for Sitemap.xml and your RSS feed -url: +url: -# If you're hosting your site at a Project repository on GitHub pages +# If you're hosting your site at a Project repository on GitHub pages # (http://yourusername.github.io/repository-name) # and NOT your User repository (http://yourusername.github.io) # then add in the baseurl here, like this: "/repository-name" diff --git a/_layouts/default.html b/_layouts/default.html index a69e73413e3ad..dd7cd790e3c75 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,16 +25,17 @@
- +

{{ site.name }}

{{ site.description }}

- +
diff --git a/index.html b/index.html index 0e3e137dded24..c570b0044f610 100644 --- a/index.html +++ b/index.html @@ -2,17 +2,53 @@ layout: default --- -
- {% for post in site.posts %} - - {% endfor %} -
\ No newline at end of file +
+ +

About

+ +
+

Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails and Node.js, and advanced working knowledge in mobile application development in iOS. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance.

+ +

Work Experience

+ + + +

Hardware

+
    +
  • Apple
  • +
  • IBM PC
  • +
  • AS/400 (iSeries)
  • +
+ +

Operating System

+
    +
  • macOS
  • +
  • Ubuntu Linux
  • +
  • OS/400
  • +
  • Windows
  • +
+ +

Languages

+
    +
  • Ruby
  • +
  • Swift
  • +
  • Objective-C
  • +
  • JavaScript
  • +
  • Java
  • +
  • C++
  • +
  • CL/400 & Cobol/400
  • +
+ +

Contact me

+ +

kuling.guwapo@gmail.com

+
+
\ No newline at end of file diff --git a/style.scss b/style.scss index 155e32c33ef41..e25ce55292e08 100755 --- a/style.scss +++ b/style.scss @@ -34,7 +34,7 @@ h1, h2, h3, h4, h5, h6 { font-family: $helveticaNeue; color: $darkerGray; font-weight: bold; - + line-height: 1.7; margin: 1em 0 15px; padding: 0; @@ -43,23 +43,23 @@ h1, h2, h3, h4, h5, h6 { line-height: 1.4; } } - -h1 { + +h1 { font-size: 30px; a { color: inherit; } } -h2 { +h2 { font-size: 24px; } -h3 { +h3 { font-size: 20px; } -h4 { +h4 { font-size: 18px; color: $gray; } @@ -152,7 +152,7 @@ img { .masthead { padding: 20px 0; border-bottom: 1px solid $lightGray; - + @include mobile { text-align: center; } @@ -171,7 +171,7 @@ img { } img { - border-radius: 5px; + border-radius: 50%; } } @@ -189,7 +189,7 @@ img { margin: 0; color: $darkGray; cursor: pointer; - font-family: $helveticaNeue; + font-family: $helveticaNeue; font-weight: 300; font-size: 28px; letter-spacing: 1px; @@ -199,7 +199,7 @@ img { margin: -5px 0 0 0; color: $gray; font-size: 16px; - + @include mobile { margin: 3px 0; } @@ -208,9 +208,9 @@ img { nav { float: right; margin-top: 23px; // @TODO: Vertically middle align - font-family: $helveticaNeue; + font-family: $helveticaNeue; font-size: 18px; - + @include mobile { float: none; margin-top: 9px; @@ -246,7 +246,7 @@ nav { border-bottom: none; } -.post { +.post { blockquote { margin: 1.8em .8em; border-left: 2px solid $gray; From 603d87e92daf602bd78f220e7590d98aa70d5b23 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Sun, 2 Aug 2020 22:40:15 +0800 Subject: [PATCH 28/31] Remove avatar update experience --- _layouts/default.html | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index dd7cd790e3c75..e5032dc95d9af 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -24,7 +24,7 @@
- +

{{ site.name }}

diff --git a/index.html b/index.html index c570b0044f610..399b06a2bdf46 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@

About

-

Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails and Node.js, and advanced working knowledge in mobile application development in iOS. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance.

+

Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails, and advanced working knowledge in mobile application development in iOS. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance.

Work Experience

From 4e86c2481dc4463fdf8b620aba19ff3a30f6aa6d Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Wed, 25 Jan 2023 13:28:01 +0800 Subject: [PATCH 29/31] Update about.md --- about.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/about.md b/about.md index 904338c2c57f7..5cf8e605d5fb6 100644 --- a/about.md +++ b/about.md @@ -4,7 +4,7 @@ title: About permalink: /about/ --- -Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails and Node.js, and advanced working knowledge in mobile application development in iOS. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance. +Experienced software developer with over 10 years of experience developing enterprise, mobile and web applications. Possesses deep working knowledge in web development using Ruby on Rails. Heavily involved in all phases of development from requirements gathering, analysis, design, testing, implementation and maintenance. ### Work Experience @@ -20,8 +20,8 @@ Experienced software developer with over 10 years of experience developing enter * AS/400 #### Operating System -* OS X -* Ubuntu Linux +* macOS +* Linux * OS/400 * Windows @@ -31,7 +31,8 @@ Experienced software developer with over 10 years of experience developing enter * Objective-C * JavaScript * Java -* C# +* Rust +* Go * CL/400 & Cobol/400 ### Contact me From fca350ecacc4926d57d500f46e1f7e6acfd61918 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Wed, 25 Jan 2023 13:35:46 +0800 Subject: [PATCH 30/31] Delete 2018-01-26-rust-trick.md --- _posts/2018-01-26-rust-trick.md | 62 --------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 _posts/2018-01-26-rust-trick.md diff --git a/_posts/2018-01-26-rust-trick.md b/_posts/2018-01-26-rust-trick.md deleted file mode 100644 index 53f4b5594c14a..0000000000000 --- a/_posts/2018-01-26-rust-trick.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -layout: post -title: Rust - Weird trick [1] ---- - -In Rust you cannot create another reference to a value if you already have a mutable reference to it. Example: -``` -fn main() { - let mut x = 10; - let rx = &mut x; - *rx = 100; - - let irx = &x; - println!("irx={}", irx); -} -``` -If you compile this code you will receive the following errors: -``` - Compiling playground v0.0.1 (file:///playground) -error[E0502]: cannot borrow `x` as immutable because it is also borrowed as mutable - --> src/main.rs:6:16 - | -3 | let rx = &mut x; - | - mutable borrow occurs here -... -6 | let irx = &x; - | ^ immutable borrow occurs here -... -9 | } - | - mutable borrow ends here - -error: aborting due to previous error - -error: Could not compile `playground`. - -To learn more, run the command again with --verbose. -``` - -However you can trick the borrower checker by using a reference to a reference instead. So the code below will compile and run successfully in rust. -``` -fn main() { - let mut x = 10; - let rx = &mut x; - *rx = 100; - - let irx = ℞ - println!("irx={}", irx); -} -``` - -output: -``` -Standard Error - - Compiling playground v0.0.1 (file:///playground) - Finished release [optimized] target(s) in 0.54 secs - Running `target/release/playground` - -Standard Output - -irx=100 -``` From 9cb75b06096d5b477389f467ea90b4b1e57adbf4 Mon Sep 17 00:00:00 2001 From: Lord Norlan Mumar Date: Wed, 25 Jan 2023 13:36:41 +0800 Subject: [PATCH 31/31] Update index.html --- index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 399b06a2bdf46..aa0c66e9ed718 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,6 @@

Work Experience

- \ No newline at end of file +