Posts Tagged ‘programming’

Richard stallman (father of free software) interview – Stallman: Google+ and Facebook mistreat their users

Thursday, July 12th, 2012

father-and-Founder-of-Free-Software-Foundation

The father of free software, mr. Richard Stallman is notorious for his critical mind and software freedom activism quite well.

While checking some of his speaches and interviews, I came across another interesting, one here RMS critices and exposes the bad and evilness of fb and Google+.

Interview with Richard Stallman – Stallman: Facebook and Google+ Mistreat Their Users

 

People unaware of computer networks, programming, Unix and the deep computing so to say definitely didn't understand the profoundness of upcoming problems of so called "social networks". The Facebook and Google+ Mistreat Their Users video is also to be found in youtube under name Richard Stallman: Facebook IS Mass Surveillance .

Its a pity Stallman is mostly popular only among specific users like me which are already 'dubbed' into free software and have a belief that computer software should be free. Hopefully as time passes more and more people will be awakened to listen to his speeches and realize the severeness of problems, we face nowdays by simply accepting almost anything new without much privacy concerns …
If you're a free software enthusiast like me, please take the time to share the video and whistle-blow about the problem to as many non-tech pc users as possible 🙂

Pavlov Experiments in Conditioning, B.F. Skinner’s Operant Conditioning

Friday, May 18th, 2012

pavlov-dog-conditioning-experiment-operant-conditioning

The facts concerning, how mind works has advanced severely through the years. Maybe the most significant scientists a fore-fathers of modern psychology are Ivan Pavlov and B. B. Skinner

Both of this guys has made a number of experiments, that prooved that programming a person through sensory neuro input through hearing sounds and seeing pictures is possible.

The Russian Pavlov's experiments gave a birth to a new era in science and made the further research on mind control and how mind works possible. He made a number of dog experiments, later repeated with kids, indicating that nervous and mind conditioning in both animals and humans is possible.

Later his research was reconfirmed many times by many scientists and even can be re-peated in home if you want to test it, I've seen people in youtube who tested Pavov experiments recorded the experiment and it is evident it works.

it was a little after the Operand conditioning existence by BF Skinner was discovered. The operand conditioning show that a complex behaviours in both animals and people can be programmed.

The videos above literally show a revolution in science and I'm convinced this experiments should be mostly anyone involved in academic activities. It is rather unexplainable to me, I never heard of University, College or School that shows this videos to  students …

Ivan Pavlov – experiments in Conditioning (dog food timing experiment)

B. F. Skinner's 's Operant Conditioning Chamber – Saieed Hasnoo – What is Operant Conditioning

Why so less is spoken about the existence, of such a proofs that mind control and people programming is possible. How far this kind of experiments went to?? And how far humanity can go in their insane look for knowledge? Looking over the civilization we have today, not too far from now. Right now I mosty see in the street people without direction a lost sheeps without a shepherd. Lets hope situation will be better soon and people will realize this experiments proove that God made the universe to work in order and this kind of facts concerning how matter works are just a proof for the God's order and the wonderful way we're made.

 

A tiny minimalistic CHAT Client Program writen in C

Sunday, July 29th, 2012

A friend of mine (Dido) who is learning C programming, has written a tiny chat server / client (peer to peer) program in C. His program is a very good learning curve for anyone desiring to learn basic C socket programming.
The program is writen in a way so it can be easily modified to work over UDP protocol with code:

struct sockaddr_in a;
a_sin_family=AF_INET;
a_sin_socktype=SOCK_DGRAM;

Here are links to the code of the Chat server/client progs:

Tiny C Chat Server Client source code

Tiny C Chat Client source code

To Use the client/server compile on the server host tiny-chat-serer-client.c with:

$ cc -o tiny-chat-server tiny-chat-server.c

Then on the client host compile the client;

$ cc -o tiny-chat-client tiny-chat-client.c

On the server host tiny-chat-server should be ran with port as argument, e.g. ;

$ ./tiny-chat-server 8888

To chat with the person running tiny-chat-server the compiled server should be invoked with:

$ ./tiny-chat-client 123.123.123.123 8888

123.123.123.123 is the IP address of the host, where tiny-chat-server is executed.
The chat/server C programs are actually a primitive very raw version of talk.

The programs are in a very basic stage, there are no condition checks for incorrectly passed arguments and with wrongly passed arguments it segfaults. Still for C beginners its useful …

Tricks of the supermarket trade or how supermarket lie to you to buy more than you need (My few memories on government food stores in communism times)

Friday, June 22nd, 2012

I've personally always hated super markets from the very early days I entered one. Here in Bulgaria we've been somehow partly lucky not to have supermarket due to the different philosophy of the communistic regime in which we lived until 1991. The philosophy of then governing communist back then was to distribute food in local middle size or small stores owned by the government. The food has to be approved by governmental body and heavily checked if it matches the governmental set standards. The variety of food we were offered in the stores was very little. Most of the small stores (which were owned by the government) only contained basic products like;;;

bread, youghurt, milk, meat, butter, lemonade, beer and few more,

This was done probably intentionally and was a result probably of our long years Orthodox Christian faith which (has saved us and preserved over the centuries). Orthodox Christianity has always teached for simplicity. Even though the communist party rejected the faith and even did severe persecution against the Bulgarian Orthodox Church. The people on the top elite who were planning the communism had been a descent of an orthodox christian raised up living and therefore the philosophy of simplicity was inherited (even genetically) so the way the COM party behaved based on its leaders and the governing decisions about the nations belonging to communism (Russia, (Yugoslavia) – Serbia Koso , Bulgaria, Greece, Egypt etc.) were in a material expression in conjunction with the Christian tradition of simplicity (i say material because Orthodox Christian Church even visiting back then in the countries was usually prohibited and the Com. party did their best to ruin up the believe in Christ in people).

In communism the local suburb grocery stores, were the only "points" of distribution of food. Since buying and owning a car took at least few years of waiting and big money for it. Not more than 10 to 20% of families owned car and owning a car was considered to be granted mostly to people belonging to the then governing communistic elite or the Communist Party.

The public transportation was encouraged because according to communism so called "geometry" which was a main drive for how the systems in communistic countries should work it was estimated public transportation is cheaper and more environmental friendly than if a car is given to anyone, also public transportation (trains, bus-es) etc. did a good thing in the aim of the party to exersice higher control and surveilance over the population.

Because of that existence of big super-market was scarce and the culture to go and buy from a shop with your own family car was not existing.

The equivalent of nowdays mall shops (big retail stores) was usually located on the city center and the size of this shop was much smaller and the variety of products one can find there was only few. Hence the customer didn't have so much options to choose between, neither had to spend too much of time on choosing, the com party wanted the people to work more and buy less, so spending time in stores was not encouraged.

With the entrance of democracy and the moving up of large super-market food and good retails shops like Metro was among the first ones which entered the "freed" market. It was really a bizarre experience for us the ex U.S.S.R belonging people to enter such a large sized stores and to face such a big variety of choice.

Before that in communism we never saw such stores even on the TV, since the TV was governed by communistic party and only information which was useful for the establishment and protection of the regime was projected on the only available National TV channel.

Sorry to distract a bit from the major topic of this post, but I thought this is necessery to explain before continuing because it is important to understand that unintentinonally the communist gave us an advantage to have a different view on things than Western free world, a view which is in many things contrary and more correct (in terms of hard logic) than to Western Europe.

My first encounter with a super-market was only about 8 or 10 years ago and I believe many people who lived in the province of Bulgaria and other ex-communist countries did for a first time experience super-markets approximate 10y. ago.
Though all looked so nice inside the shop and the shop emploees were so nice I always felt something very cold dead inside this big stores. Ptonsnlu my intuition (spirit) if you want has always pointed me out that there is something very wrong with this super markets.

With the increase of products on the market for us people who lived up to our 8 to 12 years (young age) in communism it was a great shock, since we were raised in a society based on some communist false ideology and suddenly the markets were opened and the products variety to choose between become extremely high.
All previously said to be good and true in communism time was said to be anti-freedom and many people did their best to destroy as much as possible mostly everything somehow connected with previous communistic time.
My homeland Bulgaria as a result of this become a very hard to live place and we were forced to adapt in fast paces and learn things on how we have to live like democrats for a very little short of time.
One severe "damage" most of the growing people in Bulgaria in communism had was the hardness and inability to make choices.
For many people between the age of 25 to 35 it is very hard to make choices even for small things.
This was a direct consequence of a long years (45 years) of communist propaganda, and few generations who lived in a non-freedom respecting regime which conditioned and prepared a specific plan and place for every individual living in the country.

Seeing communism as the ultimate evil and manipulation to make us dependent we didn't know that in the free democratic world the manipulation and conditioning in society was heavy too.

"The Programming" of western society through institutions, stores and order in society was a fact and in a sense the only difference between the Democratic world and communistic world was one of the worlds seemed to have a larger frame in which the individual can work and live, whether the communistic regime seem to be more restrictive.
One main thing used to condition people choices and buying behavior and make them over-consume to make the democratic economy constantly growth was big super-markets. Though they were privately owned and not like in communist country, the only drive behind each shop was PROFIT, PROFIT and agian PROFIT.

Higher profits would mean higher consumptions, higher consumptions means higher production and more work places opened as well as more expenses for working individuals would mean bigger necessity to work more and earn more, because though the sallaries incomes were high in the free world. The individual necessities there were even increasing too.

Since the about 1950s 1960s the super-markets started entering the "free" democrat countries world. As a result the small shops which were prior a main food and beverage distribution source started closing, because they couldn't be a concurrence to the big "brothers" super-markets which were able to buy higher quantities of goods in lesser price and therefore sell many of the goods in much lower prices than the little grocery stores.

The result with the years was a huge shift in people buying behavior from local groce and open markets to buy everything from the big super-markets. The big store chains had to be in a fight for customers all the time, so businesses involved started customer wars and tried their best to "steal" customers from each other. In this financial wars a main thing that most super-market chains and malls did was constant optimization of efficiency of both buying and reselling to the end customer. This is a 3 step business process actually.

1;;; They buy from the commodity producer
2;;; They prepare the food for the store (packaging, cleaning up whatever)
3;;; They put it in a certain way in the store and organize the store in a way to always sell more and more

As a result a huge number of tricks were employed by each and every super-market aiming to deceive the customer to ever buy more
The deception of the client in store is very tricky and smart organized so it cannot really be called a lie but its rather a tricky smartness.

Since the super-markets entered in my country too and the tiny grocery stores are mostly closing unable to compete with the large super-market 'money making machines'. Even I am sometimes forced to buy stuff from super markets. Since here in Bulgaria the culture of purchasing from super-markets is not so strong yet. In order to be able to consume the little grocery stores. Many large super-markets started investing in making the little groceries their retail shops with their brand or (sometimes a new make up brand).
By doing so the little grocery stores loose their authoritarity and independance and become dependant on the big super-market on the type of products they will sell, this obviously means this strategy of the big super-market in the long run will lead the little grocery stores we still have to ruin up. This is obvious because if the small grocery stores start selling the exact same products (brands) of the big super-markets, there will be nothing left to make the little grocery unique. Neither the variety of products choice inside or pricing will be any different from super-market. This will mean the tiny grocer will be no different from the big super-markets in terms of product and prices and therefore. The clients which now are loyal to small grocery stores like me will then have not such big motivation to buy from small super-markets, since everything inside is somehow similar (not to say) the same as with big supermarket the only difference would be the lesser variety which is obviously a good reason why the customer would definitely prefer to buy from the large supermarket …

On the videos you're about to see below, they explain some of the probably thousands of tricks nowdays existing the super-market chains employs to trick us to exponentiolly consume their goods.

Old Tricks of the SuperMarket Trade

As you can see the video is presenting a reality of the tricks which was used in the 1960 and now technology and knowledge in the field has largely increased and since they there are surely many new trick 'developments' which are working for the masses of customers daily.
There is even a whole science centered on buying behaviour already existent called buyology!

Here is a short introduction to buyology to give you an idea what its purpose is:

Short introduction video on buyology – The Science of buying part 1 of 2

Short introduction video on buyology – The Science of buying part 2 of 2


Seeing all this is very precious information, since being informed one can escape the bad "tricks and traps" pawn in the markets.

All the information about the communistic regime and the 'shopping system' there was mentioned priorly because I wanted to explain a bit of the difference of then and now to point you to my opinion that the Western buying model and expectation to sell more based on the tricks are probably not working very well here in the ex-communistic countries, especially with the older generations and the one like me which somehow grow a small part of their youth in communism.

The reason is we have a different 'social programming' than westerners. Also the different spirituality (The orthodox Christian faith) plays another role. Also there is a difference in the type of buying behaviour. In Bulgaria there is no culture to buy once or twice per week. People have culture to buy daily, though this is starting to change slowly these days.

For a bit more of videos and a bit of my thougths on my research on Super Market Psychology check my previous post containing educational videos on how the supermarkets cheat you to buy more

The topic is actually very huge and I'm sure what I'm saying is just the 'tip of the iceberg'. As I'm a firm opponent of big industries and large business I'm firmly against the buying from big stores any goods. The reason is that simply by doing so one makes the already RICH people even more RICHER. By increasing the richness of a certain small group of people daily, we as society are un-consciously somehow involuntarily letting them increase the financial control that is already there in some degree to the society.
As democracy's main drive is money this means that by helping the large business-es marge and become even BIGGER, we're doing something against ourselves and our interests as society.
I don't think that any ordinary citizen in the free world want to live in a fully controlled one World State (one world country), similar to the ex-communism I lived through, so I think people concerned about our freedoms should oppose the big businesses according to the society level they're in. Even if we're not in position to change things with money, we as society are in a position to change ourselves and our understanding of world, our desires and our behaviour. If we change our value system in a way, where money are not a top priority and the highest value the outcome will be positive in both spiritual terms and overall world state.

The modern day however wants us to falsely believe that we're divided, helpless and money dependent. This is a big delusion which we're constanty repeated. Just like with the super-market this big super-market company owners were able to convince us through time that super-market is better than the grocery stores, because of the less money spending advantage. Even if in the past there were possibility to spend less via supermarket nowdays spending less by using the supermarket instead of the small groce-store is a BIG LIE. Even if one spends less in super-market on certain products, the amount of related products he is cheated* to buy in store highly exceed the simply money one would spend on even higher priced products in the small groce.
The outcome results from the super-market is also a big waste, as I lived in the west I've seen most of the households are buying more than they need, spending more than they need, cooking more food and more frequently than necessery and throughing large portions of food in the garbage (e.g. a huge amount of food waster).

If it was possible that people were aware they are buying all this non-sense food because of deception, they would have bought less, the super-markets would bought less and distribute less and the food (waster) remaining could be distributed to poor-er countries to help the starving kids and suffering people in Africa.
Helping the suffering and starving, we would have helped each other as it is a nowdays well known that even on molecular level the whole world is connected, therefore helping our poorer brothers and sisters is actually helping ourselves ***

Color Psychology – Color Mind Programming or how big companies boost their sales and make up your mind

Thursday, June 21st, 2012

Colors Programming Color mind Programming, how big companies boost their sales and make up your mind

As I've pointed earlier there is plenty of "secretly" kept and less known by public research on how colors influence us daily. The biggest companies are heavily taking advantage of what is found and known for colors impact on our minds (psyche). Actually there is a whole branch in psychology which deals with impact of colors perception on us.Besides companies, many modern governments are well aware of the many facts on how citizens percept colors and use this in color 'installment' in government offices and government institutions.

There is no universal knowledge on how colors completely affect us as every human on earth is very unique and saying this or that color has this or that impact on indivirual or group is not 100% accurate. However there are general traits nowdays formed especially with globalization and unification of TV ads and big companies corporate image, a unification started on how different nationality people perceive colors.

Nowdays in developed countries there are more and more people who perceive certain colors in similar fashion. Therefore every serious top marketer should carefully study colors and their relation with ancient time people believes and understanding on what each of the 'rainbow' colors symbolize. Most likely because there is no completely unified understanding of colors between various individuals may companies like Google and Microsoft started using all the rainbow colors in their basic company logos and branding for more on this topic please check my previous blog post Color trick Microsoft and Google use to keep their users loyal

Another large industry area, where color programming is very heavy is Computer and Video Games. You certainly still remember large portions of the games like Sega’s Sonic the HendgeHog or Mario Super Bros. or even the old arcade machines with games like Punisher or Cadillacs and Dinosaurs, Street Fighter etc.
All this old arcade games have a big portion of Color programming embedded in and this is one of the main reasons we remember them for a long time and playing them evoked such a strong feelings in youth.

This trend of using colors to make up our minds is being observed for many other physical goods as well as is starting to get more and more heavy adoption by websites branding on the internet.
Actually those with most succesful businesses on the internet have already integrated some kind of color programming scheme. An example for this would be the Internet top domain names seller GoDaddy. The have adopted a green scheme as a primary color combined with some other ones to create in the customer a feeling of ecology, naturality, peace and solitude.

The study of color programming is one major field to be known by anyone truly willing to understand why certain big store chainslike Carrefour, Lidl, Billa, MediaMarkt – in western europe or TechnoMarket, TechnoPolis (MediaMarkt copied tech equipment by shops here in Bulgaria) are decorated inside the way they are. I personally didn't like the concept of color programming since from Spiritual point of view it is a big evil. Trying to manipulate people perception to do something you would like to in general is very evil from spiritual point of view. A mixture of rainbow colors in a natural environment for example flowers in the wood or wild mountain place is one thing, but making it artificial and placing it in certain pre-desired order is totally another. Besides that the colors in the natural environment are natural and therefore the impact on us even if colorful is very much better than if it is done with a certain intention like in the big supermarkets stores, fast just food companies – McDonalds, Burger King etc.

The research on color mind influcence – Color mind programming is a controversial science. Nowdays many big businesses however use this as a granted science, even whole business sects with some mambo-jambo believes universities, children garden and schools in modern countries have employed the use of some type of color programming aiming to influence their pupils, students (organizational members – you call it).
Color mind programming and heavy use on advertisements on the TV, the Internet, Stores and mostly everywhere are however starting to took their tolls. The high increase in mental problems and dumbness in developed and some undeveloped countries as well as the increased number of people who go insane because of too much color programming is reality. The believe that mental programming is one of the ultimate tools to influence somebody and push him to do things you want like consome more of a product or generally consume (buy) more goods creates another severe issue it makes people to constantly over-consume (eat more than the body needs) and this increases the number of over-consumption evoked diseases …

But color programming doesn't stop with just the material (physical) surrounding world it is a concept highly employed in online based marketing. Online business is seen on so many top used websites, social networks like take for instance (facebook). It is so spread that even the software primary vendors like Microsoft, search engines Google Inc. have already heavily employed the color programming as a basis of their products.

There is another reason why most vendors nowdays issue their physical or 'virtual' products so colorful using all the colors of the rainbow. The reason is the fact that as a kids through animation, cartoons, toys and surrounding environment we have been exposed already even from our very youth age to a kind of color programming through kids toys we've been given by our parents). Hence the young years color programming became a basis for a future time color programming. The colorfulness of our kids years are already sub-consciously stored in our minds, so almost naturally there is a feeling of joy to pop-up once we see something childishly colorful.
 

How to run your Own / Personal Domain Web WHOIS service in a minute with SpeedyWHOIS

Thursday, April 5th, 2012

Running your own personal WHOIS service speedy whois in browser screenshot

I've been planning to run my own domain WHOIS service, for quite sime time and I always postpone or forgot to do it.
If you wonder, why would I need a (personal) web whois service, well it is way easier to use and remember for future use reference if you run it on your own URL, than wasting time in search for a whois service in google and then using some other's service to get just a simple DOMAIN WHOIS info.

So back to my post topic, I postpopned and postponed to run my own web whois, just until  yesterday, whether I have remembered about my idea to have my own whois up and running and proceeded wtih it.

To achieve my goal I checked if there is free software or (open source) software that easily does this.
I know I can write one for me from scratch, but since it would have cost me some at least a week of programming and testing and I didn't wanted to go this way.

To check if someone had already made an easy to install web whois service, I looked through in the "ultimate source for free software" sourceforge.net

Looking for the "whois web service" keywords, displayed few projects on top. But unfortunately many of the projects sources was not available anymore from http://sf.net and the project developers pages..
Thanksfully in a while, I found a project called SpeedyWhois, which PHP source was available for download.

With all prior said about project missing sources, Just in case if SpeedyWhois source  disappears in the future (like it probably) happened with, some of the other WHOIS web service projects, I've made SpeedyWhois  mirror for download here

 
Contrary to my idea that installing the web whois service might be a "pain in the ass", (like is the case  with so many free software php scripts and apps) – the installation went quite smoothly.
 
To install it I took the following 4 steps:
 
1. Download the source (zip archive) with wget 
 
# cd /var/www/whois-service;
/var/www/whois-service# wget -q https://www.pc-freak.net/files/speedywhois-0.1.4.zip
 
2. Unarchive it with unzip command 
 
 
/var/www/whois-service# unzip speedywhois-0.1.4.zip
3. Set the proper DNS records

My NS are using Godaddy, so I set my desired subdomain record from their domain name manager.
 

4. Edit Apache httpd.conf to create VirtualHost
 
This step is not mandatory, but I thought it is nice if I put the whois service under a subdomain, so add a VirtualHost to my httpd.conf
 
The Virtualhost Apache directives, I used are:
 
<VirtualHost *:80>
        ServerAdmin hipo_aT_www.pc-freak.net
        DocumentRoot /var/www/whois-service
        ServerName whois.www.pc-freak.net
        &lt;Directory /var/www/whois-service
        AllowOverride All
        Order Allow,Deny
        Allow from All
        </Directory>
</VirtualHost>
 
Onwards to take effect of new Webserver configs, I did Apache restart
 
# /usr/local/etc/rc.d/apache2 restart
 
Further on You can test whois a domain using my new installed SpeedyWHOISWeb WHOIS service  on http://whois.www.pc-freak.net
Whenever I have some free time, maybe I will work on the code, to try to add support for logging of previous whois requests and posting links pointing to the previous whois done via the web WHOIS service on the main whois page.
 
One thing that I disliked about how SpeedyWHOIS is written is, if there is no WHOIS information returned for a domain request (e.g.) a:
 
# whois domainname.com
 
returns an empty information, the script doesn't warn with a message there is no WHOIS data available for this domain or something.
 
 
This is not so important as this kind of behaviour of 'error' handling can easily be changed with minimum changes in the php code.
If you wonder, why do I need the web whois service, the answer is it is way easier to use.
I don't have more time to research a bit further on the alternative open source web whois services, so I would be glad to hear from anyone who tested other web whois service that is free comes under a FOSS license.
In the mean time, I'm sure people with a small internet websites like mine who are looking to run their OWN (personal) whois service SpeedyWHOIS does a great job.