Wednesday, December 21, 2016

I wish to be a farmer producer of healthy food

Human basic needs: food, shelter and  clothing.
Next needs are fuel, electricity, internet and the rest are just material that are less important.

Our planet does not need more lawyers, doctors, engineers the planet is now full of tools and other material things that are readily available for our day to day needs.  Our people need food  and the producer of food.  Here in the Philippines the average age of a farmer is 57 years old and we are running out of young farmers. I wish i had the opportunity to go back to these basic activity of producing healthy food and take care of our nature. Nature farming where we can use the tricks of nature to produce food  and totally eradicating the use of synthetic and chemical farming.  Natural farming a combination of diversification and smart ways to produce a healthy food  by taking care of our environment the soil, water and its ecology.

I wish i had a farm that i can cultivate and enrich, raise some chicken that will eventually lays eggs, pigs for the bacon and ham, some goats for the daily milk and cheese  for a very good breakfast meal.  A healthy breakfast that will nourish and support a nice life style.  More livestock, poultry, cultured fish and other fruit bearing plants for the rest of the day.

I wish i had a farm that produces and had surplus for me to sustain my family daily needs like (health, schooling and other needs) and other necessities.  

I wish my main source of living is producing food, where my income does not rely solely on the wages as a regular daily earner. That we are earning just enough  from payday to payday where the big pie of that salary goes to the monthly duties like electricity bill, water bill, housing mortgage  and other items.   A life where we are not oblige to report  on a daily (8am-5pm) basis as long as you are productive in any time of the day. A work place where we can avoid unnecessary and too much politicking.  A work place where we enjoy the view of the crops as they grow, flourish and bear fruit till the harvest season. 

Retirement at the age of 60, i dream of retiring earlier where my body is still capable of doing more work and attending to things that i wish i can do now.  Things like roaming around a farm(wish i had now), observing everything as it happens on the field from planting up to harvesting. Helping the ecology to balance itself and watching the nature mystery as they happen.

Friday, October 14, 2016

Guys of the 90's do you still remember Agfa, Fujifilm and Kodak?

Those were the precious company during the 90s, can you still remember the local photographer like the name of Mang Temy, who usually ride his bike all the way from the other town, just to attend the  event and take you snapshot that will cost  30 pesos to 50 pesos per shot. In todays money what is 30-50 pesos, thats a lot of money during the 90s it  is a one day  wages for transplanting rice in the field  where you are literally planting  rice under the rain or under the sun.  You plant rice all day and get your wages at sun down then spend a little for a bottle of coca cola and save the rest for school and some coins for the bamboo bank.  This bamboo bank will later be opened during special occasion like foundation day, intramural  or christmas party celebration.  During this event the school will organized some activity and have the opportunity to celebrate with classmates, crush-mate, friends and barkadas and sometimes we can take some photographs like one or two shots with the help of the photographer which eventually will pay for the photo when it is printed. Well, those were the experience during the 90s where selfies and duckling smile are not yet conceptualize. Every smile were so precious  which we always cherish those experiences.













What happened to Agfa, Fujifilm, Kodak   and  other photo film company? Today they were overtaken by smart device which will take a photo of you and enhance your look to make you even better.  When you look at the photos of today everything is perfect but sometimes they are very far from reality to the point where you will not be able to realized the same person from the photograph.

Just remembering the days of yesterday.

Tuesday, October 11, 2016

Advanced Persistent Threat: Personal perspective the right to be informed and equipped

Background:
In todays  information security landscape there are dramatic change in the way and the motivation of cybercriminals.  From the use of worms, virus, spyware, bots to advanced persistent threats (APT), zero day targeted attacks, dynamic trojans, stealth bots and zombie devices from the proliferation of IoT(Internet of Things).  Organisation or individual are facing a threat which is coordinated, organised, targeted and motivated. These new threat are no longer  intended to  disrupt, annoy, destroy and commit cybercrime. They are targeting organisation/individual to steal information for financial gain (financial information), intellectual property or cyber espionage(national security) .

What is APT? (definition by Symantec)

An APT is a type of targeted attack. Targeted attacks use a wide variety of techniques, including drive-by downloads, Microsoft SQL® injection, malware, spyware, phishing, and spam, to name just a few. APTs can and often do use many of these same techniques. An APT is always a targeted attack, but a targeted attack is not necessarily an APT.

How Advance Persistent Threat(APT) Works:
Cybercriminals are taking advantage of the zero-day attack,  polymorphic malware and blended threat to launched a sophisticated and determined attack to a specific target.  Some anti-virus company  tag these attacks as malware where in fact these type of attack are intelligent malware that targets organisation or individual for a specific purpose or gain.

Thursday, October 6, 2016

Learning notes on "Self-Organization in Peer-to-Peer Systems"

Self-Organization in Peer-to-Peer Systems
By:  Jonathan Ledlie, Jacob M. Taylor, Laura Serban, Margo Seltzer Harvard University

Paper Abstract:

This paper addresses the problem of forming groups in peer-to-peer (P2P) systems and examines what dependabil- ity means in decentralized distributed systems. Much of the literature in this field assumes that the participants form a local picture of global state, yet little research has been done discussing how this state remains stable as nodes enter and leave the system. We assume that nodes remain in the sys- tem long enough to benefit from retaining state, but not suf- ficiently long that the dynamic nature of the problem can be ignored. We look at the components that describe a system’s dependability and argue that next-generation decentralized systems must explicitly delineate the information dispersal mechanisms (e.g., probe, event-driven, broadcast), the ca- pabilities assumed about constituent nodes (bandwidth, up- time, re-entry distributions), and distribution of informa- tion demands (needles in a haystack vs. hay in a haystack [13]). We evaluate two systems based on these criteria: Chord [22] and a heterogeneous-node hierarchical group- ing scheme [11]. The former gives a failed request rate under normal P2P conditions and a prototype of the latter a similar rate under more strenuous conditions with an order of magnitude more organizational messages. This analysis suggests several methods to greatly improve the prototype.


Notes and synthesis:

In human cooperation we can build a super organization example in a dragon boat, a single member of a team can only row at a low speed but when the team is composed of more members and they are organized they can achieved greater speed. Peer-to-peer system and current algorithm used by this technology  is increasingly advantageous in a variety of situation.

Peer-to-peer system can be used in variety of services e.g. voice communication like Skype.  Delivering information in a greater scale and millions of users imagine a single video server that distributes content to a thousand or million of users will lead to performance degradation and greater possibility of failure. The reason for a distributed system is to attain redundancy and to have speed of light in the delivery of service.

This paper has contributed in the following:
1. implicit goals and assumptions about a particular decentralized system affects measures reliability
2. Introduced a self-organizing hierarchically-based P2P system
3. Take assumptions implicit in current P2P filesharing systems and evaluate the reliability of Chord and the hierarchical grouping system. 

Wednesday, October 5, 2016

BYOD, IoT and Mobile D. an army for DDOS attack

Every person must use an average of 3 IP connected device like Mobile Phone, Laptop, Tablets, Smart watch and other gadgets.  As the number of Internet of Thing is increasing avenue for malicious activities in the internet also increases.

Last two year September 14 2015 the Philippine Government was hit by a massive attack of DDoS (distributed denial of service) from global anonymous that lasted for more than 10 minutes.

This image show the map of the DDoS Attack
















After the DDoS attack the Global Anonymous launch a massive defacement of government website.  The following are list of website targeted by the hackers group.

Wednesday, September 28, 2016

Which monitoring tool are you using?

I did setup once a nagios system for the Republic of Philippines Department of Agriculture to monitor the servers, network switches, routers and other equipments.  Nagios is the Industry Standard in IT Infrastructure Monitoring system that enables the system administrators, network administrators, database administrators and ICT management to proactively act on  issues arising from downtime and failures. Nagios system will immediately notify any problems and downtime which triggers action from the concerned technical staffs or service providers.  Having this type of solutions increase the service uptime and improve service delivery to our customers and end users.


Features of the system included but not limited to the following:

  • Monitor your entire IT infrastructure
  • Spot problems before they occur
  • Know immediately when problems arise
  • Share availability data with stakeholders
  • Detect security breaches
  • Plan and budget for IT upgrades
  • Reduce downtime and business losses


Servers and services are increasing,  to meet the expectation of our client there must be some ways to monitor  our infrastructure.
With nagios almost all the features you need is already there, you just need a little tweak on the configuration.


We are listed at nagios website along side with other United State Government Agencies
http://www.nagios.com/solutions/government/





















Tuesday, September 27, 2016

Offline Copy of your facebook profile?

Here's how to have offline copy of  your facebook profile.  Open a browser preferably mozilla firefox,
Login into your account and browse  your profile or input your profile id in the address bar of your browser.   Then scroll down to the beginning of your profile until you reach the date when you start using facebook.

Then after browsing and loading the information to your browser click the save button on firefox menu and save as html.











Voila all your post, photos and other information will be available offline.

Monday, September 26, 2016

Joomla Error on loading article

Error Prompt:

JUser: :_load: Unable to load user with ID: 606








Resolution:

This error sometimes happens when the author of an article or any other content has been deleted from the Users list . When trying to load that content, joomla tried to get the username based on the ID, which in this case cannot be found in the #__users table because it has been deleted.

To solve this error, If you have an article being displayed on the homepage, try changing the author to another user.

If that doesn't work, you can try the followings steps:

Create a new user via the Joomla User Manager (admin backend).
Open your database manager such as PhpMyAdmin
Go to the #XXXXX_users table and search for the ID of the user you just created
Change the ID for this user to 606
Go to the #XXXXX_user_usergroup_map table
Search for the user_id that matches the ID of the user you created before
Change this ID and set to 606

Rebuiding and Repairing Tables or Index on MySQL Database

MySQL Database edit/update error

Event: Users/Developers are complaining that they cannot edit/update the database.

Re-enacment & Recreation of edit/update/ delete on the database
Login to database using command line to monitor the log and event of the database activities. While simulating the event the following logs has been recorded in the database log.


160926  9:25:23 [ERROR] mysqld: Table './tmsdb/province' is marked as crashed and should be repaired
160926  9:25:23 [Warning] Checking table:   './tmsdb/province'
160926  9:25:24 [ERROR] mysqld: Table './tmsdb/municipality' is marked as crashed and should be repaired
160926  9:25:24 [Warning] Checking table:   './tmsdb/municipality'
160926  9:25:24 [ERROR] mysqld: Table './tmsdb/barangay' is marked as crashed and should be repaired
160926  9:25:24 [Warning] Checking table:   './tmsdb/barangay'
160926  9:26:35 [ERROR] mysqld: Table './tmsdb/farm' is marked as crashed and should be repaired
160926  9:26:35 [Warning] Checking table:   './tmsdb/farm'
160926  9:26:35 [ERROR] mysqld: Table './tmsdb/tms_account' is marked as crashed and should be repaired
160926  9:26:35 [Warning] Checking table:   './tmsdb/tms_account'


Resolution:
Try to backup the whole database before performing any repair or rebuild of the database.

Database backup & Restore:

mysqldump db_name tablename > dump.sql
mysql db_name < dump.sql

Database & table repair:

REPAIR TABLE tablename;

How do we see ourself in the future?

I think i need to realised that life is too short, any moment we are already capable of dying. Therefore, I must prioritise anything that makes me happy or the attainment of happiness.


I must appreciate that every morning i am still alive.
I must appreciate that i have a family living with me.
I must appreciate that  i have a house or (roof under my head).


We should always be thankful that we eat our meal at a regular basis(thank the farmer).
We should always be thankful that we are healthy and our body is able to perform our daily task.
We should always be thankful of all the blessings in our life.

Thank and take care of our parents.


So don't waste life by living the expectation of others. Instead live a life full of happy memories, enjoy every moment with  the family. Play with the kids while they are still young share some laugh and kulitans. Sooner or later everybody grows old and they will live they own life having their own priorities. We must not be distracted with other things like technology(facebook & other social network activities), material things, false priorities and other happiness in disguise.


If you miss a friend, family or anyone, pay him/her a visit spend some quality time or drink beer. :)


Always be good to anyone because we do not know when is our time.


Friday, September 9, 2016

Oishi Okinawa Japan

Memories on my  first visit to Okinawa Japan.  I was given the opportunity to see and experience the culture of my Japanese relatives.  

They tour us around the city, treat us in different type of restaurants and go to a lot of nice places and tourist spot.

Im glad that I was given the opportunity to observe  their culture, foods, discipline, efficiency and work ethics.

As we walk to the street of Okinawa City we can observe  that everything was organised.  Cleanliness also matter to  Japanese people i did  not spot a single candy  wrapper or plastic bag that is scattered around.  Traffic flow is not as wild as the street of Metro Manila, every drivers are discipline, they obey traffic rules and regulations and drink driving is a big big no in japanese culture.  

The foods are great and Oishi especially the sashimi, maki, soba and good tasting saki.

Some photos during the visit....


Saki
Saki 
multi level parking
Muti Level Parking



Naha street
Naha Street

Ryuku Cultural show
Ryuku Cultural show
Naha Market
Naha Market
Food
Nice food
Food
Sashimi 
Food
Steaki