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

Sunday, April 24, 2011

Zeitgeist: is it possible?

The simple answer to the questions "is zeitgeist possible?" keeps staring at me every time I deeply think about it and specially talk about it with certain people.

First, for those who don't know what I mean by zeitgeist, as defined by Wikipedia  "the spirit of the times" or "the spirit of the age." but I am actually talking about the ideas of both Peter Joseph of which ideas he learned from Jacque Fresco. Anyways all the information is out there and I wrote about it so I hope you know what I'm talking about by now (ask in the comments if you are unclear).

Second, I see that the answer is no and I'll try my best to explain why I don't see it possible in the very near future although plausible and I really do hope it happens, I will help it happen in all the ways possible by me and of course I am a big believer in this Resource Based Economy ideas brought forth by the two I discussed above.

It comes down to a few variables in my opinion that are still far from being solved, there's much more then money at stake for the ones with money and why they would not give it up for anything else in the world, even a better world for them. This would of course mean a better world for everyone else also. They are in control, they feel in control and they really are for the most part. I'm not suggesting that they want to be a dictator like the many violent ones in the past but to be honest it is not much all that different from those dictators that we have seen in history killing millions of innocent people.

You see all people are not made equal. This is a fact. Some people have a much higher drive for certain different things. Others have various things that make them 'tick'. The top one percent is the one that is in certain power, they have been for many years, in fact probably decades or centuries that had power passed down from generation to generation in secret societies.

But there's some people whom only more recently came into 'power', this power is brought forth by the money, ownership or wealth that they acquire(d). There is certain control in our modern societies, the western civilization is run by control, and by no means am I talking about monarchy or socialism of any type, we are not living in a prison state (yet) but it is very similar in the way we have control above us, there are at least 3 levels of police everywhere in north america. this is easy to show as we are all very aware of this: there is local police which is normally the city or town (if it's big enough) then we have the provincial police (yes I'm in Canada) or State police if you live in the US, and finally there's the federal police or national type of police (RCMP for us in Canada).

So you really have to be fully blind to the fact that you are in control. When you shift your thinking your eyes really open (as it did for me recently and why I'm writing this). Of course there's a need for this in THIS society, and in this environment and economy it is very necessary and this is how things run right now, the problem is because they run like this and they are well enough for us this will continue. Let's explore this further and see if you can follow; we have lots of freedoms, they mostly consist of certain choice, the choice to do or not do things and choose between things that sometimes considered good or bad. The police follow the control system, they obey the laws that were set forth by the other entities, they certainly don't make them. being as they are followers, they will blindly obey those laws and their job is to enforce them upon us, the citizens.

We are full of controllers that enforce things upon us as we see above and in real life all the time. And knowing that this form of control would not happen at all in the zeitgeist or RBE system this is probably one of the biggest fears that people will have; if there is no control who will protect them, but you are truly blinded if you think the police protect; in reality you are much better off not having police at all. I'm not suggesting to fend for yourself in the current system but in the RBE based system the ideas that spawn from it are very promising. There will be a much better way to deal with issues, for example rather then cuffing, and imprisoning people we would have intuitions to deal with the problematic people (if there will be such people out there), it is most likely that there will be issues and so the solutions should be based on real science and real psychology and real research instead of what the current system deems as inappropriate, illegal or intolerable for whatever reason they decided these laws which are not based on scientific facts or research or psychology or in fact any research of anything.

The laws are molded to help society remain functional, productive (but in a monetary sense) and meet the bottom line while remaining as civilized as possible to the big medias of the world. They are essentially heartless and just try to have good PR there is no real care in such people, millions will die and they wouldn’t know about it. We can see that by the wars that we wage, let’s not go into any conspiracy we do know for a FACT that people, American and Canadian people, die from these wars in the middle east. This is a true fact and we can see that they have no care in the world to stop these wars in a peaceful and graceful way, because this is still acceptable by the citizens and until there will be a huge uprising there will be no action to change this. Take action and invest your money in changing the way the world works, all controlling civilizations have too much power of the rest of the world, not only their own people and citizens.

Why do you think there are 3 levels of police for YOU? the answer is: It is for YOU, to control YOU. If you get out of line, as we see in the big protests where they harmless people that have no weapons, no protection stand against armed police with full body and head protection, yet they shoot at the people that have nothing. This is happening in our own backyard and we can’t seem to do a damn thing about it. Let’s re-evaluate everything we are used to and change this for a better world we can all enjoy, not just the top one percent or the rest of the 90 percent that either blind on purpose because they don’t want to care and don’t want to think about the way things are or are really too dumb (which I refuse to believe).

Finally I’d like to leave you with a quote but before I find a good one, here’s mine. You need to learn and action what you see with the time and money that you have simply invest it into getting the truth out there, educate your friends and your family get everyone around you to agree that things must change so we can all do it together.

Let me know your thoughts in the comments or email theborisedu at gmail dot com

Thursday, April 21, 2011

Interview with internet millionaire

My recent friend had a fast found riches that is now in shables and I wondered all these questions (how, why, when etc) about it, after spending some time asking various things I got an interesting picture and maybe some of the readers will find it interesting.

Background:
Male in mid twenties now, dropped out of high school at 16 and became a quick millionaire for a few years [update: he was making only about 100k per year for at least 4 years - never really reaching a million in total but living it up by spending as you will find out], but after the expensive lifestyle the business died (you will find out why below) and now is just a normal guy with interesting story and a few expensive toys (which he has trouble paying for now).

The business was internet website(s) that focus on satellite hacking. Got started by being a vendor of satellite hardware (receiver and/or satellite).

For those unfamiliar (like me) here's how it works: In order to get the satellite service you would need to pay a monthly subscription (along with the hardware cost of the satellite itself and receiver box that connects to your TV), but hacking it became very simple (he described it as easy as sending an email) to circumvent the monthly subscription cost and simply get a free signal.

Bottom line, if you can hack the satellite you can get it for the cost of the hardware itself and there is no need for monthly subscription. The hacking would sometimes have to happen quite often as the system would change things roughly every month, so the users have to come back every month. The business worked on the principle of the traffic of visitors - displaying third party advertising and sponsorships that work with the site directly (find out more from the interview below). Another stream was premium users would pay a smaller fee then monthly cost of satellite subscription and get the hacks faster than regular users which got a delay to create this new stream of revenue (smart).

Back to the story, from the vendor website (selling hardware) he made good but not great money, when a satellite company bought one of the top satellite hacking forums (let's call it X forum) there was another top satellite hacking forum up for sale (lets call it Y forum). Since the X forum seemed to have a bias as it's owned by a satellite company he decided to buy Y forum for the asking price of about 10 thousand dollars cash.

He made several changes to allow for more topics and was able to get the major moderators on board to Y forum from the X forum. When X forum started censoring the topics, discussions and even the spelling name of Y  forum. The moderators, top contributers and hackers switched fully to Y forum and of course the regular users followed there to make Y forum a huge success.

Now that the story seems clearer (I hope) here's some more details that I asked him and I formated it into and interview format and paraphrased the answers to make an read:

How did you get started in the website/satellite business?
A high school friend introduced me to satellite hacking (direcTV and free to air), got really obsessed with the stuff, spent days studying it and learned everything about it.

When did you start?
The satellite idea around 2004 and the website in late 2005-2006, made the most around 2007-2008
In late 2008-2009 the hacking was stopped because of the huge investments (millions) the satellite companies spent on security of the system, after that the traffic stopped.

Where did the traffic come from?
Visits mostly North America (USA and Canada). The hacks probably come from South Korea or somewhere in Asia.

How much did the advertising pay?
Thousands from private ads (sponsors) for satellite equipment and thousands more from third party (adbrite, since adsense was running but never paid - it shutdown saying there were invalid clicks) every month.

Where was it hosted?
Malaysia

How much was the hosting?
$1,500/month

Was there other forms of revenue?
Yes, premium accounts that got the hacks faster were paid for by some users, there were also many donations received.

What technology/programming language did it use?
vbulletin - php/mysql forum (not free or open source)

--------
My understanding is the business was run from Hong Kong and funneled the money back through a local one. The expensive lifestyle is not one I would choose with this income but it makes for an interesting story. Leasing an 05/06 Dodge Viper that he still hopes to pay off among other toys, stories and things that shell remain anonymous.

If you have any questions you would like me to ask/answer please leave in the comment or email theborisedu at gmail dot com

Let me know what you think!

Tuesday, March 22, 2011

Medical Marijuana for Migraine

After watching a new documentary about Medical use of cannabis, not only did I find yet another documentary about this and all the facts tend to point to the same conclusion; marijuana is great as medicine and should be legalized.

I got inspired to look into a specific treatment for Migraine because it's a topic that is close to me and wanted to get some facts from reliable sources. This is not as discussed in depth on Wikipedia so I decided to check their references and turns out theres quite a bit of research done. This paper reveal another research paper that is full of references throughout the time of the history of usage and treatment specifically for migraine relieve.

(page 41, hemp for headache)"The advantages in its use over that of opium consist chiefly . . .
in the absence of prostration and nausea after its ingestion, and in
the partial lack of soporific power which it possesses as
compared to the opiate, for in certain cases sleep is not always
desirable when pain is to be removed"

There's simply all the facts and research in those papers so the easiest is for me to point you there, so please read and allow for research and if you come to same conclusion as most medical doctors and researches you must also support legalization.

Thank you.

Wednesday, March 9, 2011

Zeitgeist not stupidity

I came across this BBC documentary called Stupidity (watch) and although I didn't think there would be much new just interesting stuff, I did learn a lot; there has not been much research done on the topic of human stupidity.

This is something that we seriously have to look at much closer, we have to consider why we act the way we do, and what to do about it along with the numerous unanswered questions there is about this topic.

After watching the film I also realized why we don't have things the zeitgeist movement talks about, why we are not implementing ideas from Venus project and in general why so many people agree with human stupidity yet can't really do much about it. The fact is most people are stupid. They rather watch Jackass Movie or read about the new baby Brad and Angelina adopted, or hear some jokes about racism in America, than do something about world hunger, invest and use alternative energy instead of paying billions (not millions) to fund a war in the Middle East for the oil rather then switching to alternative energy as a starting point to stop or at least reduce our dependence on oil.

It's easy to understand why we tend to ignore the faults of our own countries, societies and humanities but ignorance is not bliss when there's so much human potential that is being killed. Humanity is therefore stupid as a whole and although we do have superior intelligence to any other animal on this planet we also have the best technology and knowledge of any other animal but that doesn't make us the best we can be.

I believe we have much more potential then meaningless jobs to make money which allows a small percent of human population to live well, tiny population to live amazing and a huge percent to be poor, hungry and die from war, disease (that we can cure) etc.

Well those are my thoughts, they are backed up by facts.
Let me know what you think in the comments below

Thursday, February 10, 2011

Boxee - interesting concept, not there yet

I recently found this interesting thing called boxee.tv you can either purchase some pre-installed boxee unit or just install on your computer of choice [Linux, Windows or Mac] (and it's free). I made a login (also free) and tried to use it, I have to say tried because I gave up after about 10 minutes. Install is 40mb, not huge but those of use with bandwidth caps we want to limit unnecessary downloading, specially to watch a few things online... easier to go to a good divx streaming website in my opinion.

Anyway just out of sheer curiosity I had a peak inside this app on my xp box, cool enough if you want to navigate using the mouse only (didn't have to in my case)... a little slow for most video cards and worst of all; doesn't play what you ask!

I tried to watch 'South Park' just cause it seemed to be on top of the list, found some episode I think I haven't seen and... after some waiting... tosh.o comes on! [/facepalm]
Yes some show I never watch comes on instead of what I ask... great job guys. Good effort but that's an F for failure!

I like the ambitious effort and it would be quite nice if it works but the fact is, it's just easier to use a streaming website! the toughest part is installing divx web player, or flash player and watch youtube or something.. certainly better than this.

Sorry for the folks at boxee, I hope you didn't invest too much but unless I'm the only one that thinks this (and I hope so for your sake) but unless the issues are fixed, and there's loads of content that we just can't get elsewhere you will not have the edge, and unfortunately may not even survive.


But that's my opinion, let me know what you think in the comments below!

Sunday, February 6, 2011

Zeitgeist First Steps

Assuming you have read my previous posts, or at least understand and agree that the current money system is inherently problematic, the easy answer is yes we need to get rid of money and go toward a resource based economy.

The hard question is how can the entire world turn their heads upside-down overnight?
The answer is no they cannot, and they will not. Change will be slow but sure to come because it's easy to see if you just open your eyes. Things like Wikipedia and Linux were the beginning (decades ago), now we see Wikileaks and the Tunisian and Egyptian protests. We can see changes around the world ARE happening, and I think that's the most important part.

The more complex answer is how will these changes manifest? what direction will they take? and ultimatly we WILL, without a doubt, end the money system. One way or another.

As I said to the stubborn entrepreneur I had conversations with about this topic, it is not a question of 'if' it's more about 'when' and 'how' and we can see some of those answers as well already.

As with the zeitgeist movement they have many good answers and suggestions but they often don't have them all and so I think they should really ask the public (they have 500k people signed up) for more inspiration in their forums.

Motivation or incentives - specifically for complex tasks or problem solving it is proven that monetary rewards are almost never (90% of the time) solved fast, high quality and rewarding (to the person) by money rewards. [Reference: "Drive: The Surprising Truth About What Motivates Us" watch it on TED]

More conversations and more thoughts have gone on in the past few days and I have taken in more knowledge, here is another documentary along the way that explores how humans exploit resources (tar sands - oil)  for monetary gain without any consideration for the precious ones that we really depend on to survive (water) http://www.cbc.ca/documentaries/natureofthings/2011/tippingpoint/

But I hope you have basic understanding by now so will continue to explore a different system.
As a side note one discussion with immigrants from the former soviet union led them to believe that Zeitgeist is a Communistic Idea. After reading up on it, yes it has many similarities but also many exceptions such as politics and money. Also please keep in mind the soviet union was not communist it was socialist with the goal to get to communism which never manifested. Which led me to believe that the soviet union may have never intended to be truly communistic since I know they had many of their own agendas in place and kept many secrets from its people. After seeing the similarities I thought 'maybe communism is not such a bad idea after all...'

More importantly, we really have to remember is to forget about labels and strict ideas or ideals and to simply work out a new system that will solve our problems and it will never be perfect so we will always keep solving new problems as they come along. That's the only way to make a better system for all of us while not destroying what we have left on this planet in terms of resources. All we know now for sure is the current system really is very bad and it must change. And it will change.

Once we can work out a way for all of us to get physical (or physiological) needs such as clean air, clean water, and nutritious food. Second we need to get our safety needs (that doesn't mean surveillant cameras everywhere!) a warm shelter that is comfortable enough. And now we can start solving real problems like how to reduce our wast or resources, energy and consumption in order for everyone to have a chance to live well and also help solve these problems! (there are many of them; how to reduce toxic use, advance technology and all of that without ever worrying about money).

Some of you may have learned it in school as Maslow's hierarchy of needs, at least in my case I learned it in a high school business class of all places. We distinguished from needs and wants. We learned that in order to sell unnecessary products we have to create the need of those products when really they are simply wanted (you will not die without an iphone - literally you need food and water first and after you have it all else is just a 'want'). Anyway we really need to explore the knowledge we have and technology can accelerated the learning and problem solving along with brilient minds that study the fact that reward of money will not make us happy, nor will the money itself. Problem solving for a purpose, say real world issues that are actually useful will!

Okay, give me your thoughts and comments below.