Sunday, May 6, 2012

Solve the worlds problems - occupy movement wall street and zeitgeist movement

How society can change for the better.
By EduBoris (educational blog by Boris)

There are fundamental aspects to society that benefit everyone, those are productivity without violence toward humans and other animals (as well as plant and natural life and even non living things like water ways).
To solve any problem we must break it down, piece by piece and this will help us digest it, think of better solution and find a way to arrive at this solution safely.[1]

After following the Zeitgeist films, joining the zeitgeist movement which advocates a resource based economy I also noticed what was predicted which is now known as the occupy movement. Started as Occupy wall street spread virally to the rest of US and other major cities and major developed countries.
The problems become clearer with this movement, they really show the problems many already saw a while ago but now we can tell we are not alone, there's many people seeing these problems as real and need solving.
There have not been many great solutions though, I would have to say as much as I love the zeitgeist solutions they are very unrealistic to implement over night and will not be solved as fast as presented,

So I started thinking a little, and here is what I came up with.

Let's go to the problems of our society and see what can be fixed, all while strengthening what we want from (and give to) our society.

What do we want?
Aside from the obvious things like freedom, food, water, shelter[2] we also want purpose and when people can't get jobs they have no purpose.
So let's make this a better place and find a way we can all live together, because our species is dependent on each other for survival like any tribal animals (if there ever was any)

What are the problems?
It's pretty clear once we start looking where the problems are if we can implement some solutions toward eliminating them.

Prisons: should be eliminated, or ideally, converted to study centers which will consist of psychologists, scientists and violent criminals (secured from hurting anyone else) - this is important because the current system is simply not working, and is wrong on so many levels.

Wall Street: as we can see from the huge public outcry about wall street executives earning too much money, and companies being treated as people with no moral responsibilities. I think the answer might be shocking at first but is really interesting; get rid of corporations and companies.
Companies are no longer existing we can focus on human efforts. Organizations will still exist but they will always have to remain non-profit and educations with research and development.

This is where ti gets really interesting, if you follow my train of thought from above you can probably understand where this is going. We are getting to a system that uses minimal monetary exchange to reward efforts and efficiencies (although it's probably going to remain unlike the RBE system[3])

Some of you might be wondering where do 'things' come from? as you read above the non-profits and educational institutions such as universities that already produce great research in many areas. They research can be continued into development and actually produce quality products, as opposed to the current present day option which is producing sufficient quality but working yet useful products, which often deteriorate after the warranty is void because of the cyclical nature of the current stock-exchange monetary system.

Some might also be wondering why I decided to focus on universities? while currently they are really turning into a profit machine for their investors (similar to any company in the modern age) their history and even current research facilities provide unprecedented work. We can see this happening over and over, great things come out of universities, well this is why I think we need to keep people there AND bring people there. All education will be provided free of charge just like we already do with high schools. In fact this is another section of where the money will come from the currently rich, straight into schools. Not only universities need funding, we really need to start rewarding great teachers that mold our younger generation's mind, souls, hearts and brains.

Tax: the only real tax needed is for the very wealthy to pay right into the educational institutions. Really there is no need for any other government roles outside of educational funding, so this way we can eliminate governments to a point where it is virtually non-existent. We need to realize that education is really everything for any young mind.

For example; I have been following the drug wars we wage, and North America is amazing at these wars. But they are really fighting a loosing battle. We must take a step back and think about the problem, We have made a selection of substances illegal and criminal to posses, use, transport, buy/sell etc.

so what really happened is the black market is open for business and trading like the stock market. Billions if not Trillions of dollars are flowing everyday (similar to the stock market) for these drugs. so clearly there's a demand, but why is this demand there? some of the drugs are actually useful and not considered addictive (such as pot) other's are very damaging and we see the poverty stricken areas hit hard by the drug use (such as cocaine/crack and heroin/pharmaceuticals).

Does an educated person take addictive drugs? most likely not because they have been educated about the substance and seen examples of how this drug is damaging. Watch one documentary on heroin addicts and you will never do this drug in your life. I know this because this is all I had to watch to make my decision final on this substance. I didn't need some campaign 'say no to drugs' because it's too general and not informative. no education is involved you are simply told what to do. and no-one likes to be told what to do. we want to arrive at our own conclusions. I think this is human nature.l

So now there's more topics which I follow closely such as copyrights and intellectual properties. This is again to be simply abolished in place we will have the creative commons share-a-like license automatically applied to everything, by anyone, anywhere. We have technologies of internet that will help us solve all the issues together no matter how far we are from each other. all the way across the world or across the street, we communicate with wireless high speed internet and crowd-source solutions to everything.

some of these issues could include food, for example we can all grow a small amount of certain vegetables in every house and produce enough to save us a lot of money, maybe some neighbors who are able to grow more will sell it locally at a small fraction of the cost it would take a farmer to grow, then a trucker to drive, then a store clerk to sort, then a cashier to charge then you to drive this already few days if not weeks old product which lost most of it's nutrients, was most likely not made organically or responsibly (again the companies simply don't care).

Another example can be the energy crisis. Of course we are running out of oil but we also use a lot of coal and nuclear which is clearly problematic solutions. on the other hand we can place wind turbines in many paces and we can place solar panels on every roof. now you reduce the energy you consume from the grid while also provide your excess energy back into the grad (earning you money) because money should be an efficiency method and in many cases it can and it will be once we close down some of those multi national companies that are really problematic. (the corporation - great documentary, discusses how bad they behave and it really isn't 'a few bad apples' but the majority if not all corporations)

There are really solutions to everything if we put our heads to gather and try to solve in the best possible way. I certainly don't have all the answers but I am certain we can arrive at those answers and solve the worlds problems one step at a time.

So I really hope this message spreads, of course I hope to have some kind of credit but none of it needs to be given to me because my knowledge comes from the various sources on the internet that I used to study all the above mentioned issues and even most of the solution were already provided there. I will try to link to more informational videos and documents to help others discover this for them selves. please share the message.


Footnotes
1. This is how I work when I program and it's how it works in this scenario which is very well.
2. we see that shelters are taken away from people by banks when houses are foreclosed on, this is not right and another problem that can be fixed if broken down and solved
3. The reason for money still remaining as a means of exchange is probably because it's generally a good indicator of value, demand and supply of things that society decides they want or don't want. this is the true theory of free market, yet without actual companies that grow too large and have many faults. little regard to human or any kind of life as well as nature or the planet we live on.

Please comment your thoughts, ideas, criticism, etc

Wednesday, May 2, 2012

BlackBerry 10 preview review

Thorsten Heins in the BlackBerry World 2012 Keynote General Session

Inbox - allows to flow to all channels, different apps are all running in background in real time.

Keyboard - adapts to your typing, predictive words

Camera - adjusting the faces to the right moment


I think those features look pretty great, I am of the belief that phones should last for at least 3 years (if possible) so I would stick to my android for the next 2 or so years left but still interesting enough to see what technology is being developed.

The app flow is very interesting, they promise that you will not need to know what you are running and get notifications when ever. Now I do have notifications any time and go into them on my current android (not yet ice cream sandwich). But the flow is certainly a great idea, will not need to remember where you were and go back just by swiping. As with android I would worry about processing and battery life with all those things running in the background.

Keyboard also sound great, I currently use the "swype" app called TouchPal and I think it's amazing upgrade to the old keyboard android uses (not sure what ice cream sandwich uses but I hear it has swype) so seeing the predictive words is a good idea but I do already have something similar and it's already great.

Camera - this is where my hardware could be better but I see that phone camera's have not reached their full potential yet, there's a great addition to fixing positions of faces and such, maybe it could be useful if it's a sport mode type of shot so you can go back and choose the right picture.

I have to say they appear to have impressed many people, I do think they have a chance to survive and not be dismantled as many predicted and even urged to them to do. But they certainly will not be back to where they once were, the top is now for other players and it's still good to see them attempt great technologies but only the future will tell how it goes.

Let me know what you think of blackberry, will they last? did you like the new presentation of bb10?

Wednesday, April 11, 2012

Analytics doesn't display overview pages properly

Strange day with many errors. Here's another one found at  google analytics (no editing outside of resize used)

Tuesday, April 10, 2012

Youtube.com Unable to Edit Videos - functionality unavailable

When trying to edit youtube videos we are met with this "Oops something went wrong" error message "This functionality is currently unavailable. Please try again later."



If anyone has information about when this will become available please post a comment below!

Saturday, April 7, 2012

Get contact info with custom analytics to database

Had a need to get more details about the contacts leads (contact us page) and created this custom analytics that might be interesting for someone out there.

This code is valuable and I will not release it to the public unless there's huge demand for it but I will explain what is going into building it.

First there is the usual database connections but some tricks required to create multiple connections, which can work for off-site and different hosts (outside of the current one) - this is mainly done for backup but also because the internal website software managing the leads is on a separate host (done mainly because it's heavy enough to slow down the public site).

Next we have the part that tracks the landing page along with medium, browser and OS (inspired by Google analytics), I use a cookie that expires after about a month.

The data is stored in a table, database dedicated for this (specially since an avarage traffic site will gain a few thousands of new visitors per month/few weeks) the table will grow pretty rapidly and clean up can be scheduled for older entries that are over a month, but overall mysql can take a lot of entries and I didn't have to do that yet without seeing any slowdown (we are on a VPS mind you).

This part translates to getting a line of code at the top of every page you want tracked and it will have to be converted to php (if it isn't already) but it's easy for CMS type software like wordpress since it's as simple as going to the index and adding it to the top.

Finally the code needs to be added to the contact us page when being submitted. This will vary depending on your method of contact page if it's custom or if it's CMS type like wordpress plugin, specifically the popular "contact form 7" explanation can be found here.

The result is receiving leads in specific software which helps keeping track, and following up to convert (this is also software I have built) and when you get the lead it will have keywords, medium (referral, google or other search, or direct hit - just like google analytics). Helping you figure out how people find you and investing in the good methods that convert into real money for your business.

And that should do it for the brief, if you have interest in this software or even in my help setting it up for you please let me know in the comments, by email (found at the bottom) and we can talk something out.

Contact Form 7 send contact to database

UPDATE: Aug, 2016 -  There's a better solution using an add-on plugin for wordpress.



For archive purpose:

I noticed since Sept 23, 2014 (but maybe the change was made earlier since we didn't update the plugin until now) There are structure and code changes made in the new version which means this will not work. If you don't see the classes.php file you know you have the newer version (4.0 for me). New solution: modify the contact-form.php file around line 560 after:
if ( $submission->is( 'mail_sent' ) ) {
if ( $this->in_demo_mode() ) {
$result['status'] = 'demo_mode';
}
add:
require_once (getcwd().'/wsdl/func.php');
webRequest2($submission->get_posted_data());

on your own code you might need to add [0] at the end of the array fetching for each field.


Otherwise if you have an older version read the original solution:

If you use the quick form creation on wordpress with the popular Contact Form 7 while sending the data (not only to email) to a database of your CRM or related software to help manage the leads, this should help.

Although I am aware of the database extension I couldn't spend time to figure it out because we already had a database solution from a custom site that didn't use wordpress prior, so it was very simple once I found where the data is being sent:

Found the location in our install to be under /your-domain/wordpress/wp-content/plugins/contact-form-7/includes/classes.php

In this file you edit the part which is around line 278 in the submit function under the code
} elseif ( $this->mail() ) {

add your code, in my case it's two lines:
$cid=webRequest2($this->setup_posted_data());
sendAnalytics($cid);

I covered more on the analytics software here.

As simple as this you have the data and can send it to your database (which could and probably should be on different host).

Let me know what you think!

Saturday, March 31, 2012

Capitalism and Technology vs Zeitgeist

After much thought as can be found by previous articles about zeitgeist and other thoughts it's pretty easy to see when looking outside the box (the box being where we are) that how we got here is clearly affected by the capitalistic society that we run.

How can we see this? it's simple to see that the technological advancements come from many needs to continue the same life of capitalistic civilization. Where it gets radical is from the near present, with the space age technology which was really cold war's weapons. And this is great because there are none or very few sacrifices of life happening to advance technology.

The space race was really equal to the cold war in a sense that the war had no weapons of conventional means but it was to see who can advance the technology further to get to the goal, at the time, space and moon, travel and exploration.

There's many that believe this to be one of the best times in history for technology, space and science. Exploration was happening everywhere, and not just in outer-space but also in the spirits of the youth movement at the time, which used the now outlawed plants and chemicals ingested to help achieve hallucinations and great experiences was had by the population of North America.

But it seems once the space age and cold war was over many problems occurred and now we see a shift of freedoms and economic value, which is preciseness better in Asia.

But how all this relates to zeitgeist? one might think, the relation is once you look at the way technology has been both used and abused to continue the capitalistic society. Look at your technology right now, what do you have and what do you use it for? from you cell smart phone to your laptop/desktop and the tablets but also on what you use inside such as software for "productivity" you are just a piece of the puzzle which keeps cycling through the goods and services of the world around you.

Buying, selling, using and doing it all again and again, over and over for many, many times - this is the cycle of products and usage of services. There's much undercutting for example when culture is available for free we see a huge backlash by the media companies to stop it from happening, specially when they are the ones cut out of the equation.

Each job in the current is related in one way or another to this cycle and to continue this cycle. If you read the other articles I'm sure this point is repeated but this is why the occupy movement is so powerful and so important. It is there to disrupt the cycle and the fun those conspirators having at the top or those who simply don't know and are sheep following the herd. The wake up is here and has already awaken many millions like those youth in the '70s and it really didn't happen since the '70s which is why it's so challenging now that those in power feel so comfortable in their place. Are able to lie right in the public's face and continue like nothing happens....

Monday, March 26, 2012

How to get to mobile setup in Google Calendar


1. In Gmail click on the Calendar button at the top row of buttons

 2. Click on the Gears button which opens up the Settings button within the calendar

 3. Click on Mobile Setup


Wednesday, January 18, 2012

SOPA/PIPA related to Wikileaks?

Today is the official internet blackout day for the protest against SOPA and PIPA.

As you should have already noticed Wikipedia, Google, Reddit, Craigslist, EFF, Mozilla (Firefox), Torrentfreak and many, many more have joined in protest against those USA bills by blocking out their main pages and linking to videos and information about the bills. I will not attempt to explain as there's already enough information and you can learn more from the sites listed or simply googling it :)

But what I do want to discuss here is what is the real reason those bills have come about. Although we would all like to believe the reason is for shutting down websites, advertising networks and payment systems that infringe copyrights but when thinking about the payment systems we remember the very recent and very real attempt to shutdown a site like wikileaks. As you would have heard Visa, Mastercard and Paypal have all stopped supporting the payments that wikileaks was supposed to get from the donations that people would give to wikileaks via those services listed. Because of the services that existed in the US it would appear that the government has enough infolence on those in Visa, Mastercard and paypal to force them to shutdown the support for wikileaks.

In reality Wikileaks had done nothing wrong, they simply tell the truth leaked from within the government departments in the united states that should have been made public in the first place. Of course you probably also heard that anonymous hacking group had managed to retaliate at visa, mastercard and paypal because they feel that free speech should remain free on the internet and not censored. So we see these bills being proposed and supported by the most obvious players of the Hollywood entertainment industry, because of the very vague nature of the language used in those bills which is very heavily criticised by the many opposing companies and people I have a very real suspicion that there's something to do with wikileaks and wikileaks type of websites.

What do you think of SOPA/PIPA?
Do you think SOPA/PIPA is this a front for actually shutting down sites like wikileaks and ones that are similar in nature to wikileaks?

Let me know in the comments below.

Monday, December 5, 2011

Speed tests

Here are some speed tests:

This is from a neighbour's open wireless (used two routers to get stronger signal) http://www.speedtest.net/result/1630296616.png

This is the new service from Acanac
http://www.speedtest.net/result/1635914795.png

Saturday, December 3, 2011

Gmail CommandLline

Syntax for emailing from gmail using command line tool (attached below):

mail -f my@gmail.com -d gmail.com -smtp smtp.gmail.com -port 587 -t my@gmail.com -sub "This is the email subject" -from my@gmail.com -cc techsupport@gmail.com +bcc -v -starttls -auth -user USERNAME -pass PASSWORD -M "My email message"

To put into windows script for easy management:

email.bat
---------------------------------------------------
@echo off

if NOT DEFINED m set m="Email test"
if NOT DEFINED sub set sub="Email test subject"

REM --------From, To and CC-----------
SET f=<FROM EMAIL ADDRESSS>
SET cc=<CC EMAIL ADDRESS>

REM ------username/pass-------
SET usr=<GMAIL USERNAME>
SET pass=<GMAIL PASSWORD

REM ------other values----------
SET p=587
SET sm=smtp.gmail.com
SET d=gmail.com
SET v=+bcc-starttls -auth 

echo Emailing To/From:%f% 
echo Subject: %sub%
echo Message: %m%
echo.
mail -f %f% -d %d% -smtp %sm% -port %p% -t %f% -sub %sub% -from %f% -cc %cc% %v% -user %usr% -pass %pass% -M %m%
pause

---------------------------------------------------

Download 231k

Thursday, December 1, 2011

How to make Git ignore files that already exist in your project

http://justaddwater.dk/2009/12/07/how-to-make-git-ignore-files-that-already-exist-in-your-project/

For a project I’m working on, I had to change some files with personal settings, and the files kept showing up with a git status.

Adding files to .gitignore that are already tracked does not work. (and it’s actually pretty well documented in the documentation). In stead, it’s possible to use this command:

git update-index --assume-unchanged [filename(s)]

From git-update-index manual page:

--assume-unchanged
--no-assume-unchanged

When these flags are specified, the object names recorded for the paths are not updated. Instead, these options set and unset the “assume unchanged” bit for the paths.

When the “assume unchanged” bit is on, git stops checking the working tree files for possible modifications, so you need to manually unset the bit to tell git when you change the working tree file. This is sometimes helpful when working with a big project on a filesystem that has very slow lstat(2) system call (e.g. cifs).

Fantastic! my system files are now ignored by git :)

It’s an incredibly useful tip for example if you have files that MUST live in the repository and that servers/editors change. In this particular project, Tomcat keeps changing two files. Furthermore I have changed the log-level from INFO to WARN which I should not commit into the repository.

git update-index --assume-unchanged lets me do exactly that.


Wednesday, November 30, 2011

centos/redhat update php 5.1/5.2 to 5.3

http://iuscommunity.org/Docs/ClientUsageGuide#Configuration
download the files and rpm them, install yum-plugin-replace and replace to the new php package as follows


wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-9.ius.el5.noarch.rpm

rpm -Uvh ius-release*.rpm 
rpm -Uvh epel-release*.rpm


yum install yum-plugin-replace
yum replace php --replace-with php53

Tuesday, November 1, 2011

Google's mail, reader new look

Recently Google started rolling out a new look for many of its services, this includes but not limited to: gmail, blogger, docs/spreadsheets, reader (rss), websearch and more. I have to give it to them, this really does look, feel and respond much better with modern browsers from my current experience with this new platform. From my understanding it's css and javascript changes and sometimes back-end changes too but overall I think it's great. The look makes their services appear more consistent, they work mostly faster, and changing up the way things look is not new but certainly entertaining to someone that was staring at the same stuff for a while.

http://gmailblog.blogspot.com/2011/11/gmails-new-look.html

Sunday, October 30, 2011

how to get Russian in kodo epub ebook

The best solution is to simply search google the name (title) of the book plus add the keyword "epub" and download the epub which will have the best results.


[if it cannot be found and still need to convert This is a copy from http://www.mobileread.com/forums/showthread.php?t=99820&page=4 with the purpose to archive it since this might be important.]

How to embed fonts in ePub after Calibre
This is my simple step by step guide how to embed fonts in epub files after Calibre convertion. For me the most important advantage is that ADE and my reader device finally show readable Cyrillic letters instead of ???.

1. EPUB Output> check: "No default cover"

2. Right click and open .

3. Add the following Serif fonts to the epub file. Fonts are available at C:\Program Files\Calibre2\resources\fonts\liberation:
---------------
LiberationSerif-Regular.ttf
LiberationSerif-Italic.ttf
LiberationSerif-BoldItalic.ttf
LiberationSerif-Bold.ttf

4. content.opf - insert the <item... > lines after the <manifest> :
---------------

<item href="LiberationSerif-Regular.ttf" media-type="application/octet-stream" id="id1"/>
<item href="LiberationSerif-Italic.ttf" media-type="application/octet-stream" id="id2"/>
<item href="LiberationSerif-BoldItalic.ttf" media-type="application/octet-stream" id="id3"/>
<item href="LiberationSerif-Bold.ttf" media-type="application/octet-stream" id="id4"/>

5. stylesheet.css - insert the following text after the first line:
@namespace h "http://www.w3.org/1999/xhtml";
---------------
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: normal;
src: url(LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(LiberationSerif-Bold.ttf);
}

Tried that the following way
1) Convert book with calibre
2) load it up to Kobo SD card
3) open epub in WinRAR 
4) opened files in Notepad++ (using it as an external editor for WinRAR)
5) added fonts and edited css file, closed the epub
6) disconnect Kobo, 
7) read book in Russian





Sunday, October 23, 2011

3 Trends that Apple (Steve Jobs) Started

1. Portable MP3 player
The first popular product that put Apple on the map of the mainstream media - or technology world  was the iPod. The first generation was much simpler than the second, third and fourth etc. naturally but they were certainly not the first MP3 player on the market, so why was their success so much better than their competition? I guess there could be many factors and depending on who you ask it's a different answer - I think it's interface is/was not great and the restriction of the music sucked! but they seemed to have much more space in terms of GB than anyone else and thanks to using hard drive technology, yes that's right and you can actually feel the platter spin up if you have the older ones!
This was the case even up to the 4th generation ipod video which now had a color screen (never before seen) and could play videos (formated to their desire of mp4 of course). Now with the newer touch making the ipod simply an older iPhone minus the phone. ipod touch can install apps and make skype or gmail phone calls (with video whichnNorth America seems slow to adopt) but we still require wifi for that which is no good if you have a data plan. Which brings us to the next trend.

2. Touch Screen Mobile Phones
In the case of the iPhone it started with 2G and went to 3G, later 3GS. S is for speed I guess being a faster processor as it is with the 4 and the new 4S being faster then the last. There were not many phones that had a great touch screen ability before the iPhone and this is where blackberry hoped they would remain key competitor but touch is so simple and fun that it seemed to have cought on and most modern phones have this capability. Android is now a serious competitor as the hardware gets better the OS is also great from the search engine giant Google.
And with this new touch screen technology as it was adopted in iPods it is also made into the larger screen of the tablet bringing us to the next trend.

3. Tablets (touch screen too)
Ah the tablets, this old friend to many designers and artists of all sorts, even laptops with touch screens are not uncommon before the iPad came out. But once the iPad came out suddenly there appeared to double the amount of competition for this market of tablets from HP to Acer all the computer manufacturers started producing direct and indirect (different specs and price ranges) competitors. Of course with new android OS it became clear that Google has something great going on with their software. Remember though that the first iPad was actually lacking many of the new features iPad 2 has such as two cameras (back and front), speed and apps which didn't work well (if you remember other features comment below).

This is why Apple was important in the technology industry, even going back to the first computer - the macintosh which was the competitor to the first PCs, later the mac and macbook to compete with laptops which are in fact very popular with certain people such as designers and DJs seem to have as well.

It's clear that whatever Apple does, the rest of technology companies will follow but the fact that they make the trends does not mean they have the best products for me. In fact I can't wait for the next OS from Google which is supposed to be called Chrome OS but is yet to be made available.

Apple's success is directly related to the marketing of their products and in fact the brand which Steve Jobs helped build. They focus on the non-technical, regular people middle to higher middle class people that would find the ease-of-use and fun factor of the products. But this is where technical people are not benefited from their products and to me, being tech-savvy I find their products lack the flexibly I require and the restrictive nature is always a huge turn down problem that I tend to not like about them and I have never owned any of their products nor will I feel the need to get it. Of course I was always able to use their products when friends and family have them so the ease of use is a plus.

Do you own Apple products?
What do you like/dislike about Apple products?
Leave a comment and let me know what you think.

Saturday, October 15, 2011

How to find out legitimate website from fake one

I saw someone post a facebook link with timhortonsgiveaway.org and checked it out.
There's nothing phishy about it but it claims to give away $25 gift cards if you share the link on facebook.
How would they know you shared it to even give you the gift card? this got me a little suspicious and I decided to check if it's real by doing the usual investigation as follows.

Step 1: Check the who is records (there's at least hundreds of them - my favourite is who.is)
1. Registrar: eNom, Inc. while timhortons.com appears to be NAMESCOUT CORP
2. Contact Information: WhoisGuard Protected while timhortons.com has the full information [ The TDL Marks Corp. Chris De Jaham and TDL Group Corp Tim Davidson ]

Step 2: Google search
So it's clear there isn't anything about this website anywhere, those links are older and include nothing about it. Trying site:timhortonsgiveaway.org - just add the "site:" has 0 results meaning this site is not yet on google also seeing that it was recently registered from the who is info (Creation Date: 2011-10-15 22:16:31).

Finally a quick check on timhortons.com shows nothing of this deal at all, so either this is a super secret and super recent deal which leaves no trace back to Tim Horton's itself or it's a fake. Most likley the latter but I will update if I see anything new or unusual about it. Leave a comment below if you have any information or if you are indeed from Tim Horton's or even this promotional website to confirm or deny the website claim of giving away $25 gift card.

Thanks for visiting!

Thursday, October 13, 2011

restart apache and mysql linux

Just had some issues with services stopping in my virtual private server (vps) of godaddy (strange) but those two commands get it up and running again:

apache - http (httpd)
/etc/init.d/httpd restart

mysql (mysqld)
/etc/init.d/mysqld restart

First you must ssh into the server (I prefer putty), second you escalate your privilege with "su" command

If you have any host suggestions leave them in the comments below and I will post here - I require a powerful virtual private server that can match the performance (or outperform) godaddy, that means to have a powerful processor for plenty of requests and queries and at least 100Mb/s up/down connection and 100GB transfer per month should suffice.

Saturday, October 8, 2011

Occupy Wall Street (and other cities) Zeitgeist

This is great to see the progress Occupy wall st has achieved in the last few weeks. This finally seems like the people there are awaking and protesting for much more. They understand that corporate greed is what runs this society and they want to make a revolution. This is Zeitgeist in that it is a time of new era and things are changing, but also in connection to the zeitgeist movement in that it is what seeded the beginings of this types of movements. Amazing to see that it's growing all over the US and moving to Canada as well!

Glad this is happaning, and specially now at a time when we see problems are just piling up and we are here to solve them.

I was always sure this will happened after watching the Zeitgeist moving forward movie and now more then ever. One day in the near future things will change to the 99% benefit and there will only be 1% (or hopefully not even that) suffering - unlike the way it is today. This is why there are movements and this is why it's happening.

Makes me very happy that the changes are starting as soon as I expected and there will be a great and positive future in the time we all have left on this planet. One day we can look back in our history books (probably digital) and teach our kids: "the world was once ran by *greed* and *fear*, there was a population of over 6 billion controlled by a few hundred or less people with a huge amount of currency we called money. These people had no souls because they didn't care about suffering and dying or dead people, they only cared for themselves. The rest (99%) of the people were oppressed and human rights were stricken, but they rose up and fought for the world you have today. They may have not had the combined money or perceived power but they had the numbers because everyone was there and this is how we got to where we are now." And we can watch the movie wall street to site the greedy corporations and the famous line: "Greed is good" which is total fiction. Along with the rest of the Free Education our children will be given.

Watching the true democracy unfold before our eyes, because we all know what is now a time of change from the past ways of thinking where inherited billionaires control too much for their own good.

Let me know what you think!

Sunday, September 25, 2011

Drive (2011) movie review

First, the movie starts slow but kind of cool, old school cars are shown and the character is wearing gloves. Interesting but very slow moving. Of course there's many movies starting fairly slow and pick up quickly and this movie seems to do it, but then slows down again, and again, and again, to be very, very slow.

I wanted to see this movie because it seemed it would only come out in theaters around Novemeber. The trailer was actually looking very good. And in that I would say it was very misleading. The action in the movie does come in and is very nice, I would compare it to any hollywood action flick in that sense but the slowness between each action sections of the movie simply make it unbearable. Somehow I did end up seeing it to the end and I am surprised by this as I thought I would turn it off, and I even questioned why I didn't but ended up seeing it through (I guess I like to finish things).

I only want to call the slow parts of the movie a huge wast of time, I really wish this 100 minute movie was edited to be 50 minutes, in fact I really want to do this myself and hope to find a nice video editing software and do this (if copyright didn't restrict me this would probably be floating around the internet for anyone to download). I would take out all the slow and non-plot related parts of the movie, and/or speed up the ones that are necessary for understand the rest of the movie. I actually thing with the right editing, and scene tweaking this movie can be great.

There is great potential in many of the scenes and I just wish it could be shortened in those long drawn out silence scenes that are simply not needed.

Let me know what you think:
Have you seen the movie?
if so do you think a cutting room floor would help and should I attempt to edit it? (if there's no demand I will not bother)

If you have not seen it, will you? how are other reviews if you read any?

Use the comments below or email theborisedu at gmail.com

Tuesday, September 20, 2011

why I closed my google+ plus account

Of course I was one of the first to hear about Google+ the new social network attempt from the search giant. As with anyone in this field (of internet and technology) I signed u,p and it was very simple, quick and easy since I already love using my gmail account for just about everything; from youtube, hosted sites, web analytics, webmaster tools, search alerts, even this blogger account along with other experimental "labs".

So it was probably under a year and now I am shutting it down completely. Some may say it's too quick others may understand in today's world of fast paced technology innovation it's a proper time to evaluate and now I see this service has no use for me. I am sure when I signed up for Facebook I didn't use it as much and yet I remained on it (beside a brief disabling when I wanted to see what life was like without it again). I also got twitter and didn't use it, in fact I still rarely post I just subscribe to the community and reply or post to either have a global conversation or a more local one. In that sense Google+ has no place in the social network it's like a combination of the two but none because they do exist (facebook and twitter).

And this is why I closed my Google plus account.

So I want to ask you the reader, do you use facebook, twitter and/or google+ and how do you feel they fit into your life together or separately from each other?
[Feedback or comments below or theborisedu at gmail.com]

Friday, September 16, 2011

Chrome screen capture

for my previous post I used this screen capture add-on or extention for google chrome https://chrome.google.com/webstore/detail/cpngackimfmofbokmjmljamhdncknpmg

it's pretty cool!

Facebook Ads.... or Photo rumors?

Was just checking out the new settings and such that facebook as been developing over time (sometimes making it harder to find what you're looking for but thats for another post) and under the unrelated topic of facebook ads there was a funny notice about a photo rumor: "There is a false rumor circulating that Facebook is changing who owns your private photos. You own all of the content and information you post on Facebook. Learn More"

Tuesday, September 6, 2011

Zeitgeist possibility

Just had more thoughts about the possibility of zeitgeist and wanted a quick note, summary on the topic of it.
Is it possible? if so then how?

Simply one of two options (or both):

1. The whole system of money needs to collapse on itself, and the only way this would be possible is if people running the show wanted it to collapse. So the issues that occur on a quarterly bases with economies these days are probably because the population is growing and the amount of money is being consumed quicker and saved by more and more people (mostly the greedy ones whom want much more than they need). So since this is probably never going to happen (as we can see from Bush to Obama the bailouts will continue and federal reserves will make more money when the economy needs it = or as they say is running out of it.)

2. The majority or whole of the citizen population turns their thoughts around (wakes up) and decided that money doesn't work for them so they switch it together.

Outside of these two options (or both) I don't see either of those two options happening (not anytime soon at least). So for now we will all live in a greedy, capitalistic way of life and enjoy it while we can.
Clearly this will last long and I don't mean those above options will occur but rather the life of our species will prematurely end probably because of the way we treat the planet, as our playground by "raping and polluting" it like there's no tomorrow.

Comment your thoughts.

Friday, September 2, 2011

Analutious Calendar? A.L. Calendar?

UPDATE: correction it's spelled Anno Lucius and there's Wikipedia article about it.

What is this and why is there absolutely no results for this search keyword?
I mean how often do you come across this page on Google "No standard web pages containing all your search terms were found.

Your search - analutious - did not match any documents." ? screen shot:

So I was watching this video which I found from my fav docu site truththeory.org (The Freeman Perspective) then decided to search this up and see more in depth (since it does look like an aged or old video) the only relevant search was this page from liveleak.com which asked the same question I am asking!
"What is the Freemason A.L. Calendar System?"

OK so this post is totally not answering anything, in fact asking more questions. Such as: is there any connection with Google having no results for this term (since we know that freemasions are high and mighty in many important places), do they have a hand in this information being blocked/suppressed or removed?

All that and more is yet to be found out and seen as more information comes in about the secret society and connection to the people in the highest places... and Jews thought they had power, LOL it's very laughable because clearly the masons have much more!

Good luck out there, and comment or email any and all information you have!
Thanks for visiting.
Eduboris

Friday, August 26, 2011

Mickey's fine malt liquor under the cap answers

So on this site: http://www.mickeys.com/Caps.aspx although there's many answers but its not all the caps, check out http://mickeysbeercappuzzles.blogspot.com for the rest of the answers.
Here's some that if I couldn't find elsewhere (or didn't bother to look?):
"Hey, Big Tipper"

"Go for second(s) [base]"





New project to combine all my caps!
(send them in if you have more, if you are interested in this piece I can start selling them!)
[if you have any corrections comment or email. if you want to put your cap and answer here send the cap (upload the image to http://imageshack.us send the direct link if possible) to theborisedu at gmail.com]

Monday, August 22, 2011

WinSCP synchronize scripting example

depending on how automated you need this script to be (I need very much to do it daily on it's own) so in my case I created this file example.txt:

option batch abort
option confirm off
open ftp://username:password@ftphost
synchronize local c:\local\path /path/on/server
exit
 Now this is the first part for local, so downloading everything new on the server to the local directory, next we have to put either in same file between the synchronize command and exit or I tried in new file example2.txt:
option batch abort
option confirm off
open ftp://username2:password2@ftphost2
synchronize remote c:\local\path /path/on/server2
exit
Note: If you need it to be SFTP instead of ftp:/ simply take that part out to look like this: open username2:password2@ftphost2
Getting the same thing to a secondary server with different username and pass of course,  this means we are replicating not only locally but also on a second server (for maximum redundant and backup if you have an important application like I do).

And for automation purpose I have a script called ftp.bat with following:
"progs\WinSCP.exe" /script=c:\path\to\example.txt /log=c:\path\to\logs\sftplog.txt
"progs\WinSCP.exe" /script=c:\path\to\example2.txt /log=c:\path\to\logs\sftplog.txt

Finally it's pretty easy to create a scheduled task (instructions will be coming soon if there's demand for this, leave a comment below) simply to point to ftp.bat and start it daily when you wish to do it!

Leave any feedback please

Wednesday, August 17, 2011

Wikipedia Image filter referendum

Just wanted to throw my two cents to the issue raised by Wikipedia about hiding images. [http://meta.wikimedia.org/wiki/Image_filter_referendum]

It seems very easy to me, when non-logged in users open an article with images that have been flagged by the community (for whatever reason) and this reason could be shown (i.e. nudity or disturbing image has been hidden) and after it's hidden from distracting the reader, they will have the option to click to view the image anyway. I think this because of the nature of wikipedia it is open and should remain this way, so anyone can view anything at any time, the hiding part sounds interesting because it can also distract from the text in the article which is usually more important at first, images are secondary.

And of course for those logged-in users, can filter and choose which images you want to see or not, but this is not very important to me because I only logging if I want to make important edits. Otherwise for reading and minor edits I don't bother...

Let me know what you think in the comments below and also be sure to let wikipedia know what you think too!

Thanks for visiting!

Wednesday, June 29, 2011

Social Engineering - New way of hacking

Social Engineering is the new way of hacking and getting into systems, here's my case.

Got a phone call today at 2:24PM from an unknown caller. They asked for the person's name (whom the number is listed under) I continued to speak as if I am them as they explained that "your computer was generating errors" or messages or something rather "when browsing the internet and downloading..." of course being in this field I know what they are saying is completely bogus but I wanted to find out more about what they doing, suggesting and their intentions and goals (as I always do with phone calls to me).

I asked who are they, where they calling from and what is the problem. They answered (something like) 'windows department' (I don't remember the exact answer), 'New York' and the problem is 'the errors' (or similar answer) in that order. I got somewhat fed up with the lack of information in the answers and said I am a system administrator and what they are saying is bullshit so they said "it's not bullshit" and that was the last I heard from them as they hung up unfortunately. I do regret ending the conversation short and wish I could get more information that would help in future mitigation of such attackers (training my staff accordingly) and ultimately to convict these criminals.

What I wish to have learned:
What exactly they wanted to do and how did they want to do it?
For example; did they want me to download something on my computer to help 'solve the problem'? (probably a virus or other malicious type of software that would most likely log what I have potentially email username/passwords and bank account numbers and passwords, spreading itself to other computers that mine would be in contact with) or did they want to sell me something (which would be like a scam or fraud) or maybe their intention is to have my computer infected from the conversation of let's say download something and then they would offer whatever they sell to fix it.

Whether they are scamming to get into the computer and have control over it or they just want to make a quick buck is still unclear but from the clues I do have they most likely want access directly into my computer since they did identify as a windows department of sorts.

Many questions still unanswered and I still working on making a recording system because I feel recording phone conversations is important these days to both protect myself and also everyone else as I could report them to authorities to help stop such criminal defrauders.

As always give me your opinions, comments and thoughts. If you have encountered such security threats or have ideas as to how to record conversations automatically when answering my phone.

Thanks for visiting EduBoris blog! 

Monday, June 27, 2011

Video host script project php mysql

After the massive popularity of youtube there were many niche video hosts created and so here's my take on it with a friend's idea and my programming skills...the website is called www.ranland.com (defunct) and since we didn't have the funds after getting over 100s of hits/day in first week it went down to a steady 5/day so I decided to put out the source code in hopes that someone will find it useful, as always feel free to improve, remix, re-use!

If there's enough demand may place this on sourceforge and continue development.

Features:
-Flash player (flowplayer) with controls (pause play, full screen and seek)
-Video page with description, title, date posted, count views, thumbnail (image) and the flash video
-Share video on Twitter
-Share video on Facebook
-Share video on Google plus one
-Commenting on videos with Disqus
-Next and previous videos buttons
-Random Video button
-Pages (pagination)
-Featured page with thumbnail images, title and short description, order by newest first
-Most viewed page, same as featured but ordered by most viewed
-Search videos (with google custom search)
-auto tweet to twitter when new video added/uploaded
-auto generate sitemap when new video added (great for Google web and custom search)

Instructions:
-Unzip the contents and upload to your root directory
-modify the db.php with your database info (database info will be added soon)
-modify the index.php with contact info (email, facebook and twitter if you have it) and about info
-if you want twitter status updated when new videos added follow the twitter developer instructions (will be provided later)
-database structure (sql download) provided at the bottom, upload it to your mysql database host

How to use:
To post video go to post.php (no login authentication yet) upload via ftp (no browser upload yet) the flash video (.flv -- no conversion yet) to videos directory, upload the image thumbnail to images directory, past the name of image, name of flash file, add title and description, choose date or leave the existing and click to post the video.

The rest will sort it self and work on it's own, featured goes by latest page, most viewed or popular by most views on individual pages. Share them and enjoy!

There's many features that I would like to have done for this project but the development has been halted as the project came to an end and no further videos have been added, if someone is interested in helping with posting new videos I may continue the development with the following being ideas for new features:
-Add html5 video player support (so videos can be viewed on iDevices-ipod,iphone,etc)
-Add tags and keywords to videos for better SEO
-Ability to upload from browser (now it's only text addition in browser, upload files via FTP)

videohost.sql  Download 1k
video-host.zip Download 847k

Let me know what you think theborisedu@gmail.com

Thursday, June 9, 2011

Print another webpage or image from this page javascript

Pretty simple solution for this I found with slight modifcation.

Place this code with 'otherpage.jpg' as the one you want to print, whether an image or webpage (could even be pdf) and it will prompt for printing when clicked on the button below the code

<script type="text/javascript" >
function printExternal() {
printWindow = window.open(  "otherpage.jpg","mywindow");
setTimeout('printWindow.print()', 2000);
setTimeout('printWindow.close()', 2000);
}
</script>

As you see the first step is to open the page (can be html,  pdf, jpg or other image, etc).
Second step (after short wait of 2 seconds) start the print built-in javascript function.
Third and final is to close that window after print or canceled.

Now here's how to trigger the external print:
<input type='button' value='print' onclick="printExternal()">


The code can also be modified to have much more customized pages (this is how I use it):
<script type="text/javascript" >
function printExternal(str) {
printWindow = window.open(  str,"mywindow");
setTimeout('printWindow.print()', 2000);
setTimeout('printWindow.close()', 2000);
}
</script>

As you see there is now str instead of direct image or file, this allows the function to take it dynamically from page code, now using your favourite server side language you can generate the files from a database (which is what I do in my case with php):

<?php
//this function to get the files
$files = files();

//loop through them
foreach($files as $file){ ?>
<input type='button' value='print' onclick="printExternal(<?php  echo $file ?>)">
<?php } ?>

anyway hope this php didn't confuse you but should help in basic scenarios too.

Comment and let me know if you have questions, comments etc.

Wednesday, May 25, 2011

Wiki of the Future

We all seen these really cool futuristic movies where the character talks to the computer and gets responses with information of various things, whether about something they try to learn or if it's just waking up and hearing the time, weather, news... etc.
Well Sci-fi is really becoming a reality today, everyday something new, and today I discovered something amazing I want to share with everyone reading this blog or just stumbling here somehow or another...

It's called QWiki - pronounced QuickWiki (or watch the video for right pronunciation), here's the Alpha version as of the time of writing: http://www.qwiki.com/about-us

Read or watch their video and try it yourself, it's pretty amazing!


Qwiki at TechCrunch Disrupt from Qwiki on Vimeo.

Tuesday, May 3, 2011

What program can modify hosts file?

I was puzzled to find that one of my favourite torrent sites 'thepiratebay.org' was pointing to localhost. Knowing that hosts file could do this, I looked and found the following under "%SystemRoot%\system32\drivers\etc\" folder/directory which is where host file resides.
It appears the hosts file was modified on 4/22/2011 which was later matched to my installation of a program called blender. Here's what it looked like:

127.0.0.1       localhost
127.0.0.1       localhost127.0.0.1       localhost127.0.0.1       localhost127.0.0.1       thepiratebay.org
127.0.0.1       www.thepiratebay.org
127.0.0.1       mininova.org
127.0.0.1       www.mininova.org
127.0.0.1       forum.mininova.org
127.0.0.1       blog.mininova.org
127.0.0.1       suprbay.org
127.0.0.1       www.suprbay.org

If you are not aware this file should not have any domain names (localhost is accepted) all those domains would be blocked and redirected back to the localhost (127.0.0.1).

Obviously someone or something does't want me to visit those sites, so I started looking through installed programs that may have done it but I'm not sure where to look if you have notes comment below!

I noticed only a few things in 'add or remove programs' last used around this date only shows a program called 'blender' and one called 'Avidemux', could they be involved?

I think it has to do with blender  whcih is a "free open source 3D content creation suite, available for all major operating systems under the GNU General Public License"

I find it really strange that a free GNU public license software would do such a thing to modify hosts file and I really hope I am wrong but it looks like this program was installed on that day, I will followup some tests and hope to report this somewhere, somehow (outside this blog)

If you can help in any way, such as testing and reporting that would be great!

thanks for visiting eduboris