Peter's Blog

Another guy talking nonsense!

Author Archive

Are teenagers so stupid these days?

without comments

I’ve seen trailer to Virginity Hit the other day and must say that I’ve lost faith in humanity, again. Are teenagers really such stupid now that they’re willing to watch such stuff? For sure in High School I was watching, listening and reading a lot of bullshit, but there are limits. A movie about a guy who is about to loose his virginity, common. It’s supposed to be para-documentary, at least looks like it, but actors are so weak that one must be retarded to find it even partially true. I don’t know even why I’m wasting my time to write about it, maybe it’s just too much of bollocks for me and I’ve had to express myself to not explode. Ehh, lame times we’re living in. Trailer is below, if you’re still interested in watching it.

Written by Peter

September 9th, 2010 at 9:59 am

Visiting Zlin

without comments

I’m reading, rather listening as I have an audiobook, “Gottland” by Mariusz Szczygieł. It’s about interesting people and facts from Czech Republic. Unfortunately, despite it has been translated into many languages, English is not one of them. Really good read. I’ve learned about many things from Czech culture I’ve got no idea before. First story from the book is about Bata’s family and begins with description of life of Tomas Bata. Great entrepreneur. And as I don’t like people of business, I found them shallow and greedy, Mr. Bata and his family is really interesting. He was not only a businessman, but also a visionary and patriot. Thanks to him and his successors Zlin flourished and so did people of Zlin, and rest of Czech Republic as well.

So I’ve decided to make a trip to his hometown and to see what survived from his empire after WWII and Soviet’s occupation. There is still this big shoe store with walls made of glass, quite impressive. And there is Bata’s museum. There is one story in the book about Bata which I don’t like very much. Bata had big factory and was producing shoes on mass scale, so many shoemakers gone bankrupt as they couldn’t compete with Bata’s prices. One of such people when lost all his money committed suicide along with his wife and child. But before he did it he sent his workshop to Mr. Bata with a letter that he has ruined him. Tomas Bata wasn’t very touched apparently and ordered to place this workshop in the museum with description “that’s how shoes were made before me”. I think I’ve found it in the museum and you can see it below.
Shoes workshop

There is another story about Bata which I’ve learned when I was studying Management at University. He sent two employees to Africa to find out if there is market for shoes. After some time two telegrams came. First said “Nobody here wears shoes, absolutely no market”, second was “Nobody here wears shoes, big opportunity. Send shoes asap!”. It was real pleasure to see the place where he operated.

Written by Peter

August 22nd, 2010 at 5:37 pm

Posted in Amazing,Czech,Main

Tagged with , , ,

WebDav share on Vista/7

without comments

Remember that if you want to have WebDav share mounted on Vista/7, first you need this update installed:
Software Update for Web Folders (KB907306)/

Written by Peter

August 16th, 2010 at 2:08 pm

Posted in IT,Microsoft

Tagged with , , , ,

What I like in OWA 2010

without comments

With the release of Exchange 2010 Microsoft introduced new Noise’s blog (PL) information that Paragon is offering some of their software for free! Head to their website and enjoy following apps (serial will be provided to you after filling short form):

If they would give away their NTFS for Mac® OS X 8.0 for free as well, I would be in ecstasy, but still it’s a bunch of great programs. I’m using Partition Manager and it’s pretty good. Now would gonna give a try to Backup & Recovery. If you like these tools you can consider becoming a fan of Paragon on Facebook.

I don’t have anything to do with these company and have no benefits for promoting them, just wanted to share info about possibility of having useful tools for free.

Written by Peter

July 9th, 2010 at 10:38 pm

Don’t talk to strangers!

without comments

Today I’ve read about new bot, HoneyBot. It’s bot designed to use on IRC and Facebook chat. The way how it operates is both simple and clever. It enters the chat and starts chatting with two people (preferably with different sexes, it uses nickname analysis to distinguish it), then it passes text from one human to another, so there is no way that they would notice a bot, because they’re indeed talking with human being. Now bot is waiting for the link to be sent by one of parts and then changes it to its own directing to malicious page. Smart. So listen to your mother and don’t talk with strangers:)

Written by Peter

June 15th, 2010 at 9:55 am

Posted in Discoveries,IT

Tagged with , , , ,

How to post long text on Facebook?

with 2 comments

Some time ago I’ve wanted to post excerpt from the book I was reading on Safari Books Online on my Facebook wall. Everyone who have ever used Safari knew that their books are displayed in special way, so you can only use their applet to copy text (probably they’ve done that to avoid people copying entire books). As a result you’ll obtain text which would reside in your clipboard. To publish it on Facebook you need just to paste it into appropriate field and…

Yes, Facebook limits text to be posted to 420 characters, so if you want to post something longer you need to find other way. And that’s how Facebook Text Hoster was born. It’s web application written by me to host text which can then be posted to Facebook. When you’ll go to fb.liox.eu you’ll find a field to enter your text and Send button, I believe it’s self explanatory. When you’ll click Send simple check is done to calculate length of your string, so if it’s less than 420 characters then it would not be hosted as there is no reason for it. Then you’ll see a page with your text, full link to your text, bit.ly shortened link and Facebook share button. After clicking Share you’ll be navigated to page as the one below.

It’s typical representation of Facebook generated link, as you can see there is shortened version of the text and bit.ly link, you can also add short description to it. Now click share again and voila your text is on your Facebook wall (of course you should be logged before sharing or you’ll be asked to log in), when somebody would click on it he would be navigated to hoster page and able to read full text.

Now let me say a little about project itself. It’s written in PHP and all data is kept in MySQL DB. It was great opportunity to learn new things, so I’m happy that I’ve done it, but I know that there are probably better ways to do the same. My wife says it’s waste of time as you can simply make a screenshot, publish it somewhere and post a link to it on FB, I love to receive support from my spouse. But no chance of learning something new is ever waste of time and if you’ll post image you would block ability to copy your text to your readers (which is not always so bad). Anyway in current shape it’s exactly what I’ve wanted it to be. Light, simple to use and creates descriptive Facebook posts. This took me some time as when I’ve written the app posts generated by it contained text from the app itself, not shortened version of hosted text. But I’ve studied FB documentation and found out that you need to specify two meta tags:
<meta name="title" content="title" /> <meta name="description" content="description " />
And fill them with information you want to be part of FB link. So I’ve created simple formula to do that. I could probably go without using bit.ly to shorten links, but I find them looking better than the long ones and it should be useful when sharing text outside FB, for instance via IM.

At the end I would like to say that this project has been created just for learning purposes and to help people who would want to post long text to Facebook. That’s why I’m not taking responsibility for texts hosted in my apps (as I’m not able to control that) and reserve the right to close it down and swipe DB if it would be abused. If you have any proposition of improvement, want to report abuse or bug, or just want to say something about this app please do so by commenting this post.

UPDATE1: I’m escaping special characters to prevent SQL injection, so instead of ‘ you’ll see \’. I hope I would figure out something better soon. Haha! I’ve solved it! I couldn’t go to sleep knowing that my “baby” is not acting as it should:) Now you can enjoy your text being displayed in exact way you’ve provided it.

UPDATE2: Must figure out how to maintain correct alignment of text, so it would display exactly how you’ve formatted it, not in one line as it’s now. But that needs to wait, I’m tired, goodnight. Done. Now you can enjoy beauty of line breaks thanks to nl2br command. I’ve also added auto select function to link fields. Enjoy!

Written by Peter

June 14th, 2010 at 7:20 pm

Posted in IT,Main

Tagged with ,