Better world engineering (1) – Into – Let’s build the wall again

A question is the best way to start off our journey – Does the world today make sense to you? The common responses can be describing how bad it is or how good it is. Advancements, technology, happiness index, lifespan on one side, or another extreme, diseases, disasters, corruption, pollution, stress, war, etc. Some would response to the questions by describing how the history is contributing to the world we see today. Some would start of with defining “good” and arrive at the concept that there are different standard from person to person. Let me ask the question again: Does the world make sense to you? Yes or No.

If the answer is Yes. You are already living in a perfect world and wish you all the best staying in the cocoon. Ignorance does not imply innocence. In fact, some of you who said Yes might just be indifference to those would outside of your circle of care. You are not the target audience of the Better world engineering series. Let’s not waste your time of doing more read.

For those who said No, have you ever wonder why is it so? The social construct we are witness is working but there is something not quite right. Assume that the human society is group of gears – interconnecting with each other – the system we see today isn’t exactly smooth. People would say that the advancement to create a better world has not been invented yet. I argue, there are only two main reasons:

  1. Regardless of whoever is leading the development of the society. They are attempting to add new gears into the system while the system is running at 10,000 rpm – and people just wonder why there are so many social conflicts, unemployment, dissatisfaction and unfulfillment in life.
  2. The force to drive the development of the society has changed. The original idea should be to make live better for yourself and your neighbour. Now it turns into work for a job that you don’t like -> to increase the purchasing power -> to buy something that you are told you want.

These two concepts are correlated. The force to make living better has driven human race from hunting-and-gathering to invest their effort in agricultural advancement in order to feed more people. Later down the history, to build up the wall to shield oneself and people they care from the unknown at night. Bigger walls to protect their villages, better roads connecting city for safer trades. Better medicine to cure people we care. And more cities when we are overpopulated – when we see that quality of life drops. We have forgotten how to build new cities.

To be accurate, we are not allow to build a new city because we have insufficient funds in our bank account. In fact, we are not allow to build anything because of different laws, because the government suddenly owns all the lands some point in the history and we somehow need approval from them before we can even start exploring the option to build ourselves a life.

It is counter intuitive when we are told that moving to the city is the best things we can do – jacking up the pricing of the real estate and asking us to pay more for less – while the only right thing to do is to expand from the existing city. In our society today, we are told to the exact opposite for the benefit of those who came up and enforce the false story.

We used to surround people that we loved most, our circle-of-care, with the best resource and exhausting our ingenuity. The walls (resources) today we see are misplaced and beyond our control.

It is time to build the wall again.

The content will be updated and modified continuously. Feedbacks are welcome for any improvement and addressing any inaccuracy.

Copyright © Marco S.I. Leong,  2018

 

Advertisements

How much will Pokemon Go cost you?

Screen Shot 2016-07-06 at 15.36.48.png

 

License

Creative Commons License

Pokemon(TM) is owned by Nintendo.

Some people really need a punch in the face by Marco Leong is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

This image is created under fair-use: Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.

So Pixelated!

So Pixelated! (Pokemon Pixelmon Meme)

Pokemon Pixelmon.png

License

Creative Commons License

Pokemon(TM) is owned by Nintendo.

Some people really need a punch in the face by Marco Leong is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

This image is created under fair-use: Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.

PDF password recovery free

There is always this password, this pdf, being secured by you. In fact too secured that you can never remember the password. Instead of move the PDF to trash there some way to recover the password.

There are a bunch of PDF password recovery/cracking software charging a few to tens of dollars. While in the wonderful work of Unix/Linux you, this kind of tool is free. There is one that I found recently:

 

To install, on Ubuntu

sudo apt-get install pdfcrack

on OS X, install brew and:

brew install pdfcrack

You will be prompt to enter password to install the tool

To start the recovery, simply:

pdfcrack "/usr/jonsnow/Download/birthcert.pdf"

To save use control-C to exit the tool, the tool will attempt to save.

The recovery process may takes hours to days depends on the security setting of the PDF. You will be prompted with the recovered password in command prompt upon succeed.

 

Let me know if it saved your day 🙂

* Be sure you have the right to perform recovery, i.e. you own the file but forget the password. Any wrong doing will still be wrong doing, so don’t do it.

* For Windows users, make friend with unix/linux people. They are like dentists, scary but really helpful.

pdfcrack [Official link]

 

[Latex] Remove “Cited by” from bib

Problem:

Sometimes .bib generated contains useless contents which make their way to your references, see Figure 1. you cloud have 10 or 300 citations depend on the article that you are working on. Here how to clean it up in a few key strokes.

Before

before

Figure 1, some .bib generated include “cite by …”

 

 

Solution:

Make a copy of your .bib file. Get sublime -> use replace function -> enable regular express as shown in Figure 2. – > use regular express:

.* \{cited by.*

.* means to match anything, so this regular express match anything before an after “{cited by”.

Replace it with nothing.

  • You can search to see if the replacing is what you expected before actually hitting the replace button. See Figure 2.

 

Make good use of Sublime

regex

Figure 2, enable, use regular expression search in Sublime 2

 

Figure 3 shown the result. Just do the compilation normally and it is all cleanup.

After

after

Figure 3, cleaned up 🙂

 

Other thoughts

  • alternatively, a shell script can be written to do the something, but sublime works on Linux, OS X and Windows.
  • this trick can be used for other unwanted content in .bib or even for other type of file.
  • remember  to make a copy of the original file before you make the changes.

 

[Thoughts] We as moral human being, makes the best choice out of the limited power we have. The choice are still the best regardless of the outcome.

We as moral human being, makes the best choice out of the limited power we have. The choice are still the best regardless of the outcome.

The fact is, even we as normal people, cannot foresee the future. The worse thing is that we can’t even perceive all the present condition around us. We, however, need to make choices on a daily base. Within this limited options we have, we should make the best choice we could given the limited information we have. Life with constraints like this is to search of the best option so that we will still be happy along the journey. The choices made are always the best choice, regardless of the outcome.