Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,744 members, 7,817,054 topics. Date: Saturday, 04 May 2024 at 01:24 AM

Sarutobi's Posts

Nairaland Forum / Sarutobi's Profile / Sarutobi's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 15 pages)

Webmasters / Re: My Wordpress Website Keeps Coming Blank by sarutobi: 11:02am On Oct 06, 2014
DaVinChiSam:
Thanks alot... Hostgator finally responded thus

This was being caused by the presence of a 0 sized (blank) index.html page sitting in your public_html:

[root@gator4125 /home2/davinchi/www]# ll | grep index
-rw-r--r-- 1 davinchi davinchi 0 Sep 30 02:44 index.html
-rw-r--r-- 1 davinchi davinchi 418 Sep 24 2013 index.php

This was taking precendence over Wordpress's index.php. Your site should be loading correctly now.


Please anyone knows what this means and/or how I can avoid it in future?



Sir the number on that page yours?

What they are trying to say is this:

When you load your website, most webservers scan your root dir for the "index.html" file before moving on to the index.php file

Wordpress uses the index.php, and since you have a blank index.html file, apache (your webserver) will blindly serve you that.

To avoid this in the future, you need to obvoiusly delete the index.html file so that your webserver can move on to serve you index.php

There is another method which is the .htaccess file. In this file you can forcefully tell apache to laod the index.php file first

Another way is to specify your root file in apache config, but i am guessing you are on a shared host hence u mite not have access to that.

Cheers.
Programming / Re: What Is Your Favorite Language For Numerical Analysis & Scientific Computation? by sarutobi: 4:03pm On Sep 23, 2014
Javanian: Fortran: Anyone who thinks FORTRAN is some ancient archaic language is speaking out of nothing but sheer ignorance. Lauded by many as the King of Programming Languages in Scientific Computation combined with its amazing speed (the fastest high level language), It seats on my number one spot in computational science. It's easy to learn, use and its imperative structure and enables fast prototyping coupled with support for arrays, modular programming and generic programming, object-oriented programming and concurrent programming.

It is used in computationally intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics and computational chemistry. (wikipedia)

Cons: Poor File I/O support.

Python: With the numpy library, ipython interactive shell and SciPy Library, Python is preferred by many in area of scientific computation. It's rise in fame over the past decade coupled with its legacy to put code readability over every other thing, it has been tipped by many to lead the trail in scientific computation in a decade from now.

Cons: Slow for time critical tasks, Most people use it for prototyping and implement code in Fortran or C.

C: Has numerous libraries for Scientific Computation. It's speed and power has made it the preferred choice in actual code implementation.

Cons: It's a low level language, makes fast prototyping difficult.

MATLAB: Preferred by scientist who don't have a solid programming background because of it's interactive environment and visualization and easy to learn nature. Developed by a Numerical analyst and it's fame in academia makes it a much preferred choice to use.

Cons: Slow, most of the critical parts are eventually written partly or entirely in C and Fortran.

The order is totally my opinion, feel free to disagree or/and add yours.

I agree with you.

You can also check out R. From their site (http://www.r-project.org/): "R is a free software environment for statistical computing and graphics".
Education / Re: A Nairalander's Open Letter To Mr Oluwaseun Osewa by sarutobi: 9:00pm On Sep 12, 2014
sorry. i edited it.
Software/Programmer Market / Re: Hard-Working Programmers Wanted For Website Development by sarutobi: 1:47am On Sep 08, 2014
webdezzi:
server reboots, huge traffic surges, name servers modifications, workplace filterings etc. makes ppl want to use services of 3rd party email providers.


shocked
Technology Market / Re: 4SALE POWERFUL!!! POWER BANK TO CHARGE ANY LAPTOPS, IPADS ETC by sarutobi: 11:50am On Aug 18, 2014
Abiolanzy: Still available

Bros, i have been calling you, u no dey pick. How far?

I want to buy one for my laptop, we need to talk.

Thanks.
TV/Movies / Re: Which Cartoon Character Will You Love To Be IF You Were In The Cartoon World? by sarutobi: 2:06pm On Aug 15, 2014
Ceasar1:

Sarutobi is a weakening. I hate his dressing. I don't like the way he fight, or the way he talk, or walk, I don't like him. I can bet my everything that Sakura can beat him to pump. grin



Hehehe. That guy is a sadist wooo. Though I also like him now. Lol. grin


Most of sarutobi's scenes where from his late years. The guy is old. What did you expect from a guy that old? Aside 4th and 1st, no one can beat him in Konoha. He is referred to as the "Professor".

And for Sakura, i hope you're joking.

1 Like

Programming / Re: How Do I Read Through Huge PHP Code Samples? by sarutobi: 10:21pm On Jul 22, 2014
Ajistotle: I am a beginner programmer. I am interested in developing web applications and so I am learning PHP. I have read 2 books, an introduction to the the language and a more advanced one treating a little more advanced concepts like object oriented programming, serialization etc.

I am trying to become proficient at the language and at programming in general and so I have decided to read through open source codes. For starters, I have downloaded Elgg, an open source social networking script written in PHP.

The sheer number and amount of code however makes me wonder, where do I start? Do I just open each and every file and prod through it continually until I know what it does, or are there tools that can enable sorting through and making sense of huge amounts of code written by other people?

I am sure this is something every beginner programmer can relate to. The examples in books are usually small and compact and in no way prepare anyone for the real thing.

Pros, please kindly share your thoughts, ideas and suggestions on how to make it through this weaning stage. Thank you

I totally understand how you feel. Everybody who calls themselves pro have been where you are.

This is what you should do:

Every code has a start point. As in the case of php, the start script is often called the index.php file. This file includes core libraries and bootstraps them. These core libraries correspondingly loads related classes and instantiates them. These goes on an on until the the php process exits. Think of it like a call profile from the most general to the most specific. You must have a perfect understanding of oop and design patterns else everything will look like magic to you. Also try installing the xdebug module for your php version. Xdebug will show you what function called what other function etc.

If you are using eclipse as your IDE, please take a look at the call stack for each page load. This technique is a shortcut and i strongly recommend you go with my first option.
Pets / Re: Advice For A Novice On Raising A Rottweiler by sarutobi: 1:21pm On Jul 22, 2014
henry007: why would your dad run from his own dog?! I'm :s. it still didnt bite. maybe you shldnt let someone fearful feed your dog all the time , dogs can sense such. as for collar, I'm pretty sure you weren't taking the dog for walks outside the house so what's the use of the collar?! meanwhile walking a dog daily is very essential to its temperament.

Ha my brother, the dog no sabi owner oo. As others have said, rotts can be very scary.
No, i have never taken the dog for a walk before. We put the collar on him at a young age because dogs look better with a cute collar. grin

When i start living alone, i intend getting a rott. I want to take it up as a challenge. I have seen some rott play with children but i wonder how people manage to achieve it.
Pets / Re: Advice For A Novice On Raising A Rottweiler by sarutobi: 6:00am On Jul 22, 2014
Seun: Have you lived with dogs before (e.g. as a child)? If not, then getting a Rottweiler may be a mistake. If so, then it may still be a mistake.

Rottweilers are not as aggressive or wild as people think they are, especially when brought up with love and proper training. They are very smart and trainable and can even be funny. However, they are dangerous for two reasons: they are really, really strong (making them hard to control physically) and also have the strongest bite force among popular dog breeds (which means a bite from a Rottweiler will do more damage than a bite from a GSD for example). So if you don't have the required experience to raise the Rottweiler right, the consequences could be catastrophic.

If you still want to get a Rottweiler, pls get one with a tail. A docked tail makes it hard to read the dog's emotions and this causes accidents.

You know so much about dogs bro.

We had a family rott (ROGER) that we ingnored for over 6 years. It greww very quickly and its skin was almost as strong as an elephant's. It wasn't totally our fault though, we were all still in boarding school back then and the only people he saw daily was my dad (who only feeds its btw).

The problem started when nobody remembered to losen the collar on its neck as it grew. So the poor dog went through intense pain for 6 years+. It became extremely violent. Nobody could go close to it AT ALL. I beleive a rott's bite can tear off a human's limbs. We fed him like we were feeding a lion. It takes 3 people and the vet to inject this dog.

Then one day it chased my dad, my dad fell, my mom could not even come out to help him. He just went over to my dad and started sniffing him while my dad lay there in shock and fear. My younger brothers came home from school and angrily killed it with some chemical. cry

We have a gsd now, and i must say they are the best domestic dogs to have.

I will keep following to learn more thanks.

2 Likes

Programming / Re: Nairaland Programmers That Share Language And City In Common by sarutobi: 5:19pm On Jul 17, 2014
Location: Ogun
Langauages: PHP, Java
Framework: Codeigniter
IDE: Geany
Webmasters / Re: Facebook Fan Page Is Now The Easiet Way To Make Money Online by sarutobi: 9:14pm On Jul 07, 2014
Yinkash100:
pls i'm interested in programming and web design/development pls send me some ebook that can help me start learning. I've tried to register for some coaching but for now its too cost.

PM me. I am avoiding BAN grin
Webmasters / Re: What Is The Meaning Of This Number On Nairaland? by sarutobi: 7:44pm On Jun 29, 2014
p.josh:
My fellow nairalanders,can anyone tell what the number 1347 at the bottom of nairaland represent?

page load time i guess (in millisecond)
Sports / Re: Greece Players Turn Down World Cup Bonus by sarutobi: 6:23pm On Jun 29, 2014
neutralwaya: What do you expect from the sons of Aristotle , Socrates and Plato ?

Cradle of European Civilization

You forgot Archimedes.

Stories like this makes me shake my head.

Well said my brother.

1 Like

Programming / Re: Php Challenge by sarutobi: 7:08am On Jan 10, 2014
<?php /**# */ $code = 'i am set'; if(!isset($code)): var_dump('yeeee'); else: var_dump('hawwww'); endif;
Programming / Re: Big Data. Hadoop by sarutobi: 8:10am On Jan 02, 2014
kobikwelu:

Mine is more like propriety Job sponsored training....by Cloudera....expensive...

but you can Google Hadoop, there are some materials out there to help you...


Cloudera? Wow shocked good one bro.

U will learn from the horse's mouth grin
Programming / Re: Are Your Programmers Working Hard, Or Are They Lazy? by sarutobi: 6:04pm On Jan 01, 2014
What i suggest we do is FAKE IT grin

I do this most times at work. When we are given tasks i usually will complete mine quickly, but will still be staring at my system and scratching my head. Pretending to be confused is rewarding cool . Then i will have scrabble or chess in a mini window somewhere.

Seriously though, it is difficult for pple to measure these things.
Nairaland / General / Re: What Is Your New Year Resolution? by sarutobi: 10:21am On Dec 31, 2013
I want to eliminate jobseekers' pain. I hope I succeed
cool
Programming / Re: Big Data. Hadoop by sarutobi: 2:26pm On Dec 30, 2013
kambo: Offensve y there is discrimnation against windws in ths age.**

its simple, the beauty of linux. cool
Many developers are on unix, so it makes sense.
Programming / Re: Big Data. Hadoop by sarutobi: 2:14pm On Dec 30, 2013
kambo:
hadoop and its clone hbase are inherently designed to work with linux. Theyre designed with linux /unix user in mind. (orielly "hbase the definitive guide" pg 40)

very true, sir.
Programming / Re: Big Data. Hadoop by sarutobi: 2:13pm On Dec 30, 2013
Seun: Hadoop is Java based. Java runs equally well on Windows and Linux.

You are correct. But just as mentioned above, Hadoop and its offsprings (HBase, Mahout, etc) will need cgywin to work on windows which means it cannot be used for production.

those frameworks were developed for unix.
Romance / Re: Humility: The Lost Female Art by sarutobi: 12:17pm On Dec 26, 2013
bukatyne:
The fact that some women will marry low quality men just to bear 'Mrs' does not mean it is the sta
ndard.

Oh my God! shocked
men should run like hell from u.


pls dont attack me, i am just 6 years old. cry
Programming / Re: Pls Help Me With My Pc by sarutobi: 7:45pm On Dec 08, 2013
nettwrock: Pls help me I bought a PC,ON loading it,I Found out dat the Local disk has 7GB&the R.A.M has 128MB,and i want to use it to run,joomla,MS OFFICE,WORDPRESS,&lot more,pls I want ur honest Opinion.what should I do?

U forgot to mention its processor. 7gb is ok if its only programming u need but i recommend you upgrade ur HDD to at least 20GB.
Upgrade the RAM to 512MB. Thats all u need.

If u want the PC to run even more smoothly install windows xp.

Lastly, if u dont mind u can install a very light debian distro like crunchbang. I use it on my laptop (dell 610), and it has 512 ram 10gb HDD. after boot, crunchbang only uses up 82MB of RAM, leaving the rest for other tasks like programming.

PHP based apps like joomla will run smoothly under this configuration.
Jobs/Vacancies / Re: www.Jobler.me : A Search Engine For Job Seekers - See All The Jobs In Nigeria by sarutobi: 10:45pm On Dec 05, 2013
chyzoo4u: @OP
Wetin happen to your beautiful job search engine?

i am redesigning the whole thing bros. New ideas came aboard. Should launch fully on February 2014.
Programming / Re: Pls Can I Begin Programming With My Dell Pentium 3 Computer&which Language? by sarutobi: 11:25pm On Dec 02, 2013
yes, you can program in most languages with ur PC.
But make sure u use lightweight IDEs, forget about Eclipse, Netbeans or other heavy stuff

Start with PHP, its the easiest i think.
If u are on windows, download notepad++ to edit ur code, if u r on linux use gedit. They are very fast.


Good luck.

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 15 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 46
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.