Newest Posts

Start your anime experience today, grab Naruto Shippuden – season 1 in online stores

The desire wait is finally through! Naruto Shippuden has arrived! Okay, maybe not Dick is going to be excited yon that, but if you’re a Naruto fan then you differentiate that’s something usefulness celebrating.

On account of sixteen uncut volumes released by VIZ we made it as a consequence the 220 episodes of the autochthonous series. The show offered multitudinous highs and unfortunately a variety of lows. Making it up at the end of one’s tether with to the point where Sasuke left-wing to gain more power was a dynamite. The adventures were fleck on for the most part and the undivided show had an “epic” endure to it all. Unfortunately anything beyond that indicate was strictly filler and nugatory to the overall plot of the series. Nothing moved bold, there were no description developments, and it just felt like the accord hit the breaks. Granted this happened because the series got onwards of where the manga was at the time, but that’s where Shippuden comes in. Preceding we start talking regarding Shippuden though, let’s take a deeply brief look at the street that got us here.

The whole franchise revolves around the exploits of a young boy named Naruto. When the series begins it’s revealed that Naruto is a vessel for a great, dreadful spirit known as the Nine-Tail Fox Demon. This instantly makes Naruto a loner because people in the Hidden Leaf village want absolutely nothing to do with him. That gives him a complex that makes him want to be the center of attention and better than everyone else, so he often states how one day he’s going to be the ruler of the village. As the show continues he’s partnered up with fellow ninja youths Sasuke and Sakura, who both have their own backgrounds. Under the guidance of their instructor, Kakashi, they grow stronger and learn what it means to be a ninja and work as a team.

To make a long story short Naruto, Sasuke, and Sakura become close friends and go through many battles together. Sasuke, however, hungers for power in order to exact revenge upon his brother (he slaughtered the rest of the family). Through this endeavor he’s vetted by a devilish guy named Orochimaru and winds up leaving to join him and gain strength. It’s at this point that the show’s story more or less stopped and everything afterwards was filler with Naruto and Sakura trying to find, and save, their friend. Where does Shippuden pick up? More or less where Naruto left off.

The first series ended with Naruto leaving the Hidden Leaf village to train with Jiraiya. In the first episode here he’s back after a few years, and he’s a little more grown up. It’s quite obvious that he’s honed some of his skills, but in all fairness he hasn’t completely matured. He still likes perverted jokes and is an all around goofball at times, though he does show glimmers of adulthood. Sakura is more or less the same way. She’s become a young woman and quite responsible, though she’s every bit as hot-tempered as she was in the first series. Once the two are reunited it’s clear that they are still on a quest to find Sasuke. Before they can do that, however, there’s still the matter of Naruto being the only one in his class not certified as a Chunin.

Should you desire to buy Naruto Shippuden season 1, try Smartz online store which offers great price for it right away. Hokage Tsunade desires to see how OK Sakura and Naruto compel ought to been doing with their training. She pits them up against Kakashi in a examine that is similar to their elementary training session. Basically they well-founded have to get two bells from their sensei in instruct to pass. This convenience life around things are contrasting though and Kakashi takes them more severely. After all, Tsunade has been working with Sakura on her stamina and Naruto’s skills bear improved quite a bit as fit. It’s a fun storyline to watch and there’s a stable sense of nostalgia as innumerable moments from the cardinal series are brought up including flasbacks.

While Naruto and Sakura duel with Kakashi, the village of Sand has a problem of their own. It would seem that some of Orochimaru and Itachi Uchiha brethren (the Akatsuki) are on the move and looking to cause some trouble. Two of them are dispatched to confront Gaara, who is now the Kazekage of the Sand village. Naturally there’s a big epic fight there and we unfortunately don’t get to see the resolution to that battle in this volume.

These two storylines are the only snippets of Shippuden we receive with this first installment. Do you know why? Because VIZ has only included four episodes! Compared to the first series’ presentation on boxed sets with three discs each, this is really a disappointment. Just imagine how many DVDs you’re going to have to collect to finish Shippuden off, and that’s not even mentioning how it’s going to look stacked next to the first series on your shelf. Take this into consideration knowing that the rest of the anime industry is shying away from these individual DVD releases for a reason.

Issues with packaging aside, the first installment of Naruto Shippuden is quite entertaining. Its formula is extremely similar to the first series and it’s nice to see familiar faces back in a storyline that matters. The four episodes here were over before I knew it and I can’t wait to see what’s coming down the pike. You should definitely be a fan of the franchise before checking this release out, and if that’s you then you should be pleased to know that the wait is over.

Apache/PHP website testing – automate HTTP GET performance tests

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 11/13/2009
Time: 10:24:33 AM
User: N/A
Computer: DVDPAC-DEDSER-3
Description:
Faulting application httpd.exe, version 2.2.14.0, faulting module odbc32.dll, version 3.526.3959.0, fault address 0×00032411.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 68 74 74   ure  htt
0018: 70 64 2e 65 78 65 20 32   pd.exe 2
0020: 2e 32 2e 31 34 2e 30 20   .2.14.0
0028: 69 6e 20 6f 64 62 63 33   in odbc3
0030: 32 2e 64 6c 6c 20 33 2e   2.dll 3.
0038: 35 32 36 2e 33 39 35 39   526.3959
0040: 2e 30 20 61 74 20 6f 66   .0 at of
0048: 66 73 65 74 20 30 30 30   fset 000
0050: 33 32 34 31 31            32411

I’m still working on the issue with one of my PHP websites (www.adultdvdpacific.com) where apache being restarted with very wiered failure message:

Event Type:	Error
Event Source:	Application Error
Event Category:	(100)
Event ID:	1000
Date:		11/13/2009
Time:		10:24:33 AM
User:		N/A
Computer:	***********
Description:
Faulting application httpd.exe, version 2.2.14.0, faulting module odbc32.dll, version 3.526.3959.0, fault address 0x00032411.

Tried many different ways to fix it.

  • Removed second conection to the database
  • Optimized code
  • Removed all warnings from PHP code
  • Moved to new server (from x64 to x86)
  • Extended allowed memory limit for PHP
  • Updated PHP MSSQL driver and PHP version as well as Apache to the latest
  • Set Apache process Affinity to single CPU thread
  • Set and Unset the pooling for MS SQL PHP driver

So far nothing helps. The most hurting thing for me is that I can’t repeat it on my local server for sure.

And there was no way to repeat it at production server in given time.

Now I got Wget for Windows and use it to simulate massive usage of the website. I’ve made it as 100 subsequent  requests organized in a single .cmd file and start about 5 copies to compelte the test.

Right now it seems I can repeat this issue at production server in 30-50 first seconds of such test.

As I tried all ways to discover a real reason, all I have now to do is to get focused on all my PHP code and double check everything that might work with this MS SQL PHP driver incorrectly or unexpectedly.

Creating a cookie affinity load balancer with Apache mod_proxy and IIS

Apache’s mod_proxy and mod_proxy_balancer are a good choice to create a load balancer for your web application. When we needed to configure it for our IIS ASP 3.0 application we did not find any document to help us. There are many tutorials that explain how to accomplish it using JBoss or Tomcat as back end servers, but not for Microsoft IIS.

In our architecture we use one server running Apache as load balancer and three back end servers running the IIS application.

Remember: Using only one server for load balancing means that you have a single point of failure in your system. Another Apache server will be added soon to avoid this problem.

Configuration for the Apache Load Balancer Server:

1 – Download Apache 2.3

2 – Turn on the following modules in httpd.conf:

LoadModule proxy_module modules/mod_proxy.so

LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

LoadModule proxy_connect_module modules/mod_proxy_connect.so

LoadModule proxy_http_module modules/mod_proxy_http.so

LoadModule proxy_ftp_module modules/mod_proxy_ftp.so


3 – Configure the load balancer in httpd.conf:

Order deny,allow
Allow from all

ProxyPreserveHost On
ProxyPass / balancer://mycluster/ lbmethod=byrequests stickysession=BALANCEID nofailover=ON
ProxyPassReverse / balancer://mycluster/

BalancerMember http://your-server-node1/ route=node1
BalancerMember http://your-server-node2/ route=node2

4 – Save httpd.conf and start Apache. Tip: Enable debug log mode to see relevant log events about mod_porxy_balancer.

Configuration for each IIS Application node:

1 – Open IIS Administration Console

2 – Open your website or virtual directory properties

3 – Choose HTTP Header tab

4 – Click into ADD button

5 – Type “Set-Cookie” in the Custom Header Name.

6 – Type “BALANCEID=mycluster.node1; path=/;” in the Custom Header Value

7 – Click OK. Repeat these steps for each node in your cluster. Don’t forget to change the custom header value to the corresponding node id. For node2 use “mycluster.node2”.

There is an important undocumented point. In order put cookie affinity to work it is necessary to use a dot before the node id suffix in the cookie value. If you try to create the cookie inside the ASP application using the Response.Cookie method, URLEncode will be automatically called. This will change all dots in the cookie value into the “%2E” string and will cause cookie affinity to fail. This problem does not happen in ASP.net.

Математики вывели формулу идеального Cиквела

Исследователи из Cass Business School, изучив статистику кассовых сборов сиквелов фильмов, выпущенных с 1998 по 2006 год, вывели математическую формулу идеального продолжения для полнометражных картин.

Подробно о результатах исследования будет рассказано в декабрьском выпуске журнала “Journal of Marketing“.

PHP Date() function produces a warning

Another issue is related to a warning for every usage of Date() in my code.

It’s now required to set specific timezone before you use date/time functions.

To use the server default timezone and let this issue get off your code simply add this to script header or before you use those date/time related functions:

@date_default_timezone_set(@date_default_timezone_get());


PHP ereg is deprecated errors (PHP 5.3)

After update to PHP 5.3.x I have an issue with reporting the warnings about deprecated function ereg();

Explanation: the ereg family functions are deprecated now, as they were slower and felt less familiar than the alternative Perl-compatible preg family.

To fix the ereg issue use this replace rule.

Replace:

ereg(’\.([^\.]*$)’, $this->file_src_name, $extension);

with

preg_match(’/\.([^\.]*$)/’, $this->file_src_name, $extension);

BTW: here is a good resource and as well I like their clouds at the head:

http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53/

Backing Up MSSQL Database to a File on a Network Share

Backing Up to a File on a Network Share

For SQL Server to access a remote disk file, the SQL Server service account must have access to the network share. This includes having the permissions needed for backup operations to write to the network share and for restore operations to read from it. The availability of network drives and permissions depends on the context is which SQL Server service is running:
To back up to a network drive when SQL Server is running in a domain user account, the shared drive must be mapped as a network drive in the session where SQL Server is running. If you start Sqlservr.exe from command line, SQL Server sees any network drives you have mapped in your login session.
When you run Sqlservr.exe as a service, SQL Server runs in a separate session that has no relation to your login session. The session in which a service runs can have its own mapped drives, although it usually does not.
You can connect with the network service account by using the computer account instead of a domain user. To enable backups from specific computers to a shared drive, grant access to the computer accounts. As long as the Sqlservr.exe process that is writing the backup has access, it is irrelevant whether the user sending the BACKUP command has access. Important:
Backing up data over a network can be subject to network errors; therefore, we recommend that when you are using a remote disk you verify the backup operation after it finishes. For more information, see Verifying Backups.

Specifying a Universal Naming Convention (UNC) Name

To specify a network share in a backup or restore command, you should use the fully qualified universal naming convention (UNC) name of the file for the backup device. A UNC name has the form \\Systemname\ShareName\Path\FileName.

For example:

BACKUP DATABASE AdventureWorks
TO DISK = ‘\\BackupSystem\BackupDisk1\AW_backups\AdventureWorksData.Bak’;
GO

Update PHP, Apache and SQL Server Driver for PHP

Обновлял PHP и Apache на сервере…

Apache 2.2.14 не имеет встроенного автоматического обновления в инсталлятор, так что придется сначала сделать uninstall, затем поставить новую версию. При этом при удалении старой версии все конфиги он оставляет нетронутыми. В моем случае пришлось еще все те самые новые bin & modules перенести на отдельные инстанции apache. Все же муторное это дело. Почему нельзя сделать все нормальным автоматическим обновлением прям в установщике?

Затем PHP. Он уже 5.3.0 – ставится куда проще, но вырубить все что его использует все же стоит.

За этим цепочкой потянулось еще одно обновление… оказалось, что вышел новый

SQL Server Driver for PHP 1.1 – October 2009

[http://www.microsoft.com/downloads/details.aspx?FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9&displaylang=en#Instructions]

требования ниже. Самый главный момент в том что нужно обновить Microsoft SQL Server 2008 SQL Server Native Client:

  • Supported Operating Systems: Windows 2000 Service Pack 4; Windows 7; Windows Server 2003 Service Pack 2; Windows Server 2008; Windows Vista Service Pack 1; Windows XP Service Pack 3
  • PHP 5.2.4, or later. For more information about downloading and installing PHP, visit http://php.net.
  • Microsoft SQL Server 2008 SQL Server Native Client. You can download SQL Server Native Client from a SQL Server 2008 Feature Pack.
  • Any edition of SQL Server 2005 or SQL Server 2008.
  • A Web server configured to run PHP.

Потом пришлось еще повозиться с конфиком PHP для этого нового драйвера. Старый выцарапываем ручками, новый (их теперь аж 6 вариантов!) выбираем и аккуратно вписываем. Кстати с названием имени файла драйвера в справке Miscrosoft поставляемой с самим драйвером описка – там по прежнему фигурирует старое имя.

Эх.. баги везде и всюду… в любых компаниях… никто не пишет чисто!

Можно лишь стараться, но идеала похоже не выйдет никогда…

Don’t send large files by email!!!

People hate to get large files via email!!! You know that. even if you have a very fast connection the problem is in SMTP mail protocol inteslf!

It’s not p2p and not a torrent! Even http downloading is much better, but once you have something large in your mailbox if makes you crazy to stay locked and could not ready any new messages coming afterward.

So new mail protocol is needed!

Spain, Pamplona – what a building!?

This photo shows one of the oldest districts in Pamplona, SpainImage

Can you imagine to live int the room with single window of 20×20cm in size?