<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-517392339197915390</id><updated>2011-04-21T14:37:57.116-07:00</updated><category term='php'/><category term='Linux'/><title type='text'>Mastering the WEB</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://word-on-web.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://word-on-web.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sergio</name><uri>http://www.blogger.com/profile/05571625985147202572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-517392339197915390.post-5782078895883960711</id><published>2008-11-12T00:15:00.000-08:00</published><updated>2008-12-21T09:43:06.723-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>PHP max integer value (and min also :))</title><content type='html'>My colleague was looking for how to obtain min int value in PHP.&lt;br /&gt;One of the pages I found contained an article advised PHP_INT_MAX constant.&lt;br /&gt;&lt;br /&gt;Seems ok at first sight, right?&lt;br /&gt;&lt;br /&gt;NO!&lt;br /&gt;&lt;br /&gt;The first thing cames to  mind is - there must be PHP_INT_MIN constant (as there is a function in PHP for each coders breath - it's natural PHP way) - but there isn't!&lt;br /&gt;More of that, article author suggests to calculate min value: &lt;blockquote&gt;Note that the PHP_INT_MAX also determines the smallest negative number – just multiply it by -1 to get the PHP integer minimum.&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;And its not his fault. Its "best" PHP practices - +-1 in such big numbers - who really cares of that :)&lt;br /&gt;&lt;br /&gt;Thats why I don't like PHP, and there is much more - why I hate it :)&lt;br /&gt;&lt;br /&gt;P.S. PHP int min is of course: (-1 * PHP_INT_MAX )  - 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/517392339197915390-5782078895883960711?l=word-on-web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://word-on-web.blogspot.com/feeds/5782078895883960711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://word-on-web.blogspot.com/2008/11/php-max-integer-value-and-min-also.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/5782078895883960711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/5782078895883960711'/><link rel='alternate' type='text/html' href='http://word-on-web.blogspot.com/2008/11/php-max-integer-value-and-min-also.html' title='PHP max integer value (and min also :))'/><author><name>Sergio</name><uri>http://www.blogger.com/profile/05571625985147202572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-517392339197915390.post-3402040473396211140</id><published>2008-10-22T10:27:00.000-07:00</published><updated>2008-12-03T12:45:59.987-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux shell commads</title><content type='html'>Occasionally I have to perform some operations in Linux shell.&lt;br /&gt;MC helps a lot, but there are some commands I have to google for each time I need them.&lt;br /&gt;So here I will have a storage of some shell commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;File compression (Creating archives in linux)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;         Create tar archive&lt;br /&gt;&lt;span style="font-style: italic;"&gt;tar -cvf compr.tar dir&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;         The same gzipped&lt;br /&gt;&lt;span style="font-style: italic;"&gt;tar -czvf compr.tgz dir&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;from &lt;a href="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/getting-started-guide/s1-managing-compressing-archiving.html"&gt;red-hat site&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/517392339197915390-3402040473396211140?l=word-on-web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://word-on-web.blogspot.com/feeds/3402040473396211140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://word-on-web.blogspot.com/2008/10/linux-shell-commads.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/3402040473396211140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/3402040473396211140'/><link rel='alternate' type='text/html' href='http://word-on-web.blogspot.com/2008/10/linux-shell-commads.html' title='Linux shell commads'/><author><name>Sergio</name><uri>http://www.blogger.com/profile/05571625985147202572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-517392339197915390.post-8531966788140764809</id><published>2008-08-24T04:12:00.000-07:00</published><updated>2008-08-24T04:57:13.444-07:00</updated><title type='text'>Yet another blogger</title><content type='html'>Hi there!&lt;br /&gt;&lt;br /&gt;Just started my first blog.&lt;br /&gt;Actually I am in need of researching blogspot backend functionality, but who knows, maybe I'm a future super-blogger here ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/517392339197915390-8531966788140764809?l=word-on-web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://word-on-web.blogspot.com/feeds/8531966788140764809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://word-on-web.blogspot.com/2008/08/yet-another-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/8531966788140764809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/517392339197915390/posts/default/8531966788140764809'/><link rel='alternate' type='text/html' href='http://word-on-web.blogspot.com/2008/08/yet-another-blogger.html' title='Yet another blogger'/><author><name>Sergio</name><uri>http://www.blogger.com/profile/05571625985147202572</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
