Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,190,138 members, 7,939,591 topics. Date: Wednesday, 04 September 2024 at 08:46 AM

Qleyo's Posts

Nairaland Forum / Qleyo's Profile / Qleyo's Posts

(1) (2) (3) (4) (5) (of 5 pages)

Business / Re: Cost Of Logo Design For A Start-up Business? by qleyo(f): 2:08am On Mar 02, 2006
A simple high resolution logo, with complimentary slip design and letter heads, business cards etc will cost about £100-£200 I reckon. And that is design time (work time) only. Now the whole branding and concept is another story, lots and lots more. Of course "who" is doing it also adds to the costs as you are assured quality service.
Programming / Re: Asm. by qleyo(f): 2:04am On Mar 02, 2006
Hehe, just read your other post (about C bible, ) ok so if you like C, I used this book, can't even remember what it was called now, pretty old book and what it did was simply translate fragments of code from C to ASM.

Where exactly did you get stuck, what doesnt make sense,
Programming / Re: Asm. by qleyo(f): 1:02am On Mar 02, 2006
What ASM, PIC, 8086, 68000, ? It all depends on the processor. I know PIC mostly and 8086, I learnt 8086 and just found the equivalents for my PIC opcodes in datasheets, and kinda forgot 8086 as I never really used it,   ASM is more thinking than anything else.
Programming / Re: Can BASIC Be Introduced To This Forum? by qleyo(f): 12:59am On Mar 02, 2006
Kernigan's The C Programming Language is more of a reference (its like the C programmers bible), you buy those when you have gotten your feet wet with the basics of the language, like these days I don't bother with remembering syntax I just open my book,  so for now if you are learning its all about tutorials.
Programming / Re: Can BASIC Be Introduced To This Forum? by qleyo(f): 11:26pm On Mar 01, 2006
Basic teaches programmers ALOT of bad habits, fine its good for learning but I'd stay clear of it, you can be introduced to programming with ANY language.
I've started on an introduction to programming using C here https://www.nairaland.com/nigeria/topic-7535.0.html SBU has also started one on JAVA here https://www.nairaland.com/nigeria/topic-6848.0.html

I will be discussion basic program concepts, so that be it javascript or PHP or whatever you plan to learn afterwards you should (i hope) have a basic understanding of programming languages. Syntax is just one part of programming, understanding concepts and software engineering is another (and one you learn yourself really as time goes along and you do more practice). Anyway for tutorials on BASIC google is your friend grin
Programming / Re: An Introduction To Programming Using C by qleyo(f): 7:36pm On Mar 01, 2006
Its Qleyo with a Q, pronounced Cleo :-D. Thnx.
Programming / Re: Java Has Failed! by qleyo(f): 7:22pm On Mar 01, 2006
int d = 9 > 1 ? 3 : 8;

This will be much faster you have cut off two assignment operators for one. Unless of course somehwere else in your code you've overloaded = operator to do something else :-p
Programming / Re: An Introduction To Programming Using C by qleyo(f): 1:10pm On Mar 01, 2006
TUTORIAL 3 - A closer look at our program

#include <stdio.h>
These are called preprocessor directives, meaning before the compiler even starts compiling your code, it processes these directives.
We will look at other preprocessor directives later on, and they always begin with a #.
The #include directive tells the compiler to "include" the file specified in between the < > so if we had a piece of code in a file called mycode.h and wanted to insert it into our existing
programming, we "include" the file like so #include "myfile.h", so why have I used "" instead of < >.
<mycode.h> tells the compiler to look where system include files are held.
"mycode.h" looks for a file in the current directory, that is the same directory as our code.

Stdio.h is a header file (header files end with .h) they contain functions, what is a function.
So lets say you wanted to fry yams. You buy the yam, peel it, wash it, add some salt, heat up the oil, and fry it. So this is the method for
preparing yam.

If we were somehow defining the method for frying yams, we would like it if we could write this method once (lets call it fryyam() ), and when ever it is required
perhaps after making some stew, we "call" the method[b] fryyam()[/b]. These methods are called functions. There are quite a few of them
the stdio.h header file contains lots and lots of predefined functions for "ST[/b]ANDAR[b]D I[/b]NPUT AND [b]O[/b]UTPUT.
We'll be using some more functions in stdio.h later on.

int main ()
 
this is the main method, when you compile a program and run it, the first thing your program does is "jump" to the main, from the main
we can call other functions, o and we can also call functions inside functions. so perhaps if we wanted to make the washing of the yam a function
we could call [b]washyam() [/b]inside [b]fryyam()


{

The curly brackets, we use it to "nest a block of code", lets write some pseudo code for fryyam()

/*function to peel yam, this is a block comment any thing inside this will not be compiled*/
//this is also a comment anything after the two slashes will not be compiled
/*
we can also write block comments like this
*/


void fryyam()
{
  peal yam;
  //call to predefined function washyam()
  washyam();
  add some salt;
  heat oil;
  put yam in oil;
}

So the two curly brackets { and } tell denoted the block of code that define fryyam.

 //This is a comment, the compiler does not see anything here and should appear green in your window

     
     char c = 'a';

we define a variable c, of type char and assign a character 'a' to it

     int a = 2;
     int a_really_long_variable_name;
     float another_really_long_variable_name;


Some more declarations and assignments above

     puts ("Hello World!\n"wink;

aha! something new, puts() is a function in stdio.h, it simply prints the string inside the " " to the screen.
\n tells the compiler to print a new line, \n\n would print two lines (as though you hit return twice).

}

Denotes the end of main.

So now we know what functions are, we have been introduced to puts() a function in stdio.h.

Exercise: Write a program that puts a string to the screen. The string should look like this

Hello!
My Name is yourname
What is your name.



Notice how everything is on a "new line", hint hint.

Programming / Re: An Introduction To Programming Using C by qleyo(f): 1:09pm On Mar 01, 2006
TUTORIAL 2 - Data types and declarations.

I will not go into too much details, but for every character,letter or number there is an equivalent binary combination for example 1 in 8 bit binary is 0000 0001 and 1111 1111 is . Now notice how I said 8 bit binary. A bit is 0 or 1, 8 bits make up a byte. So back to our datatypes, by telling the compiler what datatype we want it allocates a number of bytes to store the variable (a variable is anything that holds a value). We define/declare a variable by telling the compiler its datatype and the variable name.

Some declartions

char C (a char is a 1 byte datatype)
int SumNumber (an int is short for integer, and takes up 4 bytes)
float a_float (a float is a real number and takes up 4 bytes)

"Assignment" values:
After declaring a variable, we can assign values to it. Here are some examples of some declarations (these are called statements).

int a = 5;
we can also say
int a;
a = 5;

Did you notice the semi-colon at the end of the line, in C we "terminate" every "statement" with a semi-colon. Its like a full stop in english.
Some more statements,

float f = 0.5;

float b;
b = 2.3457;

char c = 'a';
char e;
e = '2';

Notice something else the ''? Now in C, 2 is different from '2', the former is a value, the latter a character. And characters are always assigned to chars (chars can also hold numbers by the way). A is different from 'A', B is different from 'B' etc. A collection of characters is called a string.

"My name is Qleyo" is a string
"                          " is a string, because ' ' (space) is a character.

Phew Ok so we've cover quite alot, you understand datatypes, variables, declarations, characters, strings, what next, lets write some code!

Go to start, look for Salford Software > Salford Software FTN95 > Plato3 IDE. Open Plato3 IDE, I'd advise you create a shortcut on your desktop as we will continue to use this, and from now on we'll call it Plato. So, open plato. Go to File and Click New, alteranatively click CTRL + N. A window should open with a list of file types. Click on C++ file.

Go to File, Click Save or alternatively CTRL + S, enter main1.c in File name and click save.

Now copy and paste the following code into main1.c


#include <stdio.h>

int main ()
{
     //This is a comment, the compiler does not see anything here and should appear green in your window
     //for every new comment line, we add to forward slashes, you can write your own comments too,

     //we start by declaring some variables
     
     char c = 'a';
     //when naming variables, a variable name must containt letters, numbers or a _ , and must start with a letter or _ that is char 2a is invalid
     //char a2 is valid, char a_2 is also valid
     int a = 2;
     int a_really_long_variable_name;
     float another_really_long_variable_name;

     puts ("Hello World!\n"wink;
}


In your menu bar go to Build and click Start Run alternatively hit CTRL + F5
Give yourself a pat on the back, you've just written your first program, you should see a command window open and print "Hello World!"
Programming / An Introduction To Programming Using C by qleyo(f): 12:25pm On Mar 01, 2006
TUTORIAL 1 - Alot of people said to start a new thread and teach C, personally I'm in love with the language and once you understand it, you will find most languages are almost a direct copy with different strong points.

So here goes,

For the first part of this I am going to make this tutorial like a discussion, I want you to understand the concepts of programming before we dive into the real deal. First things first get a compiler. What is a compiler you ask? Its simple, say you wanted to talk to a person in french, you get a translator. Ok so lets say here our compiler is our translator, we talk to the computer using a language (for example C, or Java ) the compiler takes this speech (our code) and translates it into machine code (computers only understand 1s and 0s aka binary numbers, imagine if you had to talk to a machine in 1s and 0s, you might just run mad).

I use these two compilers http://www.salfordsoftware.co.uk/software/downloads/compilers.html click on the link FTN95 Personal Edition a screen will pop and click download. (This compiler is a really good IDE, it compiles C, C++, Java, Foltran etc) or Dev C++ go to http://prdownloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe and click download (any of the download links). I tend to use the first compiler more often so I would download that if I were you. Now you have a compiler, we'll get to using it shortly.

Screen shot of Salford Plato below,

Programming / Re: I Need Help With A PHP Script by qleyo(f): 11:58am On Mar 01, 2006
Right I happen to have 3 years experience with PHP, and alot more in C/C++ which is what PHP tries to emulate, but like SBU has said what exactly is your problem, and like he has said knowing and understand a problem is one of the major pitfalls of software engineering today. Its hard to tell you what to do when I don't know what you want,
Art, Graphics & Video / Re: Want to Join Team of 3D Animators? by qleyo(f): 11:40am On Mar 01, 2006
Theres so much to address here that I do not know where to begin, and this is the problem with Nigerians everybody wants to jump before running or even walking. Investing $6M into a project with a "question mark" is not a smart move, and like others have said previously its good you boys are talking and well starting a plan.

I personally disagree with going with a full blown movie, you need to bite the bullet and do a short 3d clip, say 5min long, it would be dead easy to get it on TV, give it to TV for free and make sure at the end you include information about the creators.

This is an example of a movie created by a friend of a friend, http://www.thebutterflyfilm.co.uk/320x240.html he did it mostly by himself (the making of the film here http://www.thebutterflyfilm.co.uk/making_of.html) notice how his "studio" consists of 2 computers and lots and lots paper, and it is 5min and 20secs long. Notice no use of real vocals to save costs (and still very creative) some more work by him http://www.thebutterflyfilm.co.uk/Stop%20motion.html when he was 12 and 15. Now in terms of costs, have you heard of Blender? http://blender3d.org/cms/Home.2.0.html
Its nothing like 3D max in terms of the UI, its a bit more complex to learn but once you get it you get it and love it. Its completely open source and they are tons and tons of tutorials online for FREE. O and it works very well with OpenGL.

So please start small, develop from home, the company I work for (design consultancy) do alot of outsourcing to freelancers who work from home, so I see no reason why you cannot do the same. Personally without the animation I am quite impressed with your work already (Layi and wilson get in touch).

Also think results and a plan "together with" resources, money is ONE of the factors that make up any plan it should not be the sole starter and finisher (when you see there aren't enough resources you cut down the plan, and resources are people, man power, funding etc).

Lastly, OS X is the designer's platform, brand new mac mini's are going pretty cheap. A full mac mini system (with airport, bluetooth) and a 17 inch TFT will cost you approx £500 (I know this because this exactly what I have). The new line of intel macs are 5x faster and my 1.25 G4 handles Studio 8, Abobe CS2 (Photoshop, acrobat etc), Runs Apache, MySQL, PHP, Ruby on Rails, Netbeans, Xcode, endless so imagine how much power AND stability you would have.
Career / Re: Right Salary For Indian Hired For Software Project In Nigeria by qleyo(f): 1:25am On Mar 01, 2006
I didn't meant it to turn into a bidding battle. I guess it all depends upon personal choice based on facts, investment and returns.

Ok just to clarify I wasn't bidding, I wanted to give you an estimate of how much it would cost for a project, generally, indian, nigerian, english, american whatever.
So if he/she costs you less than that then you know you are in for a good bargain. It also depends companies portfolio or request one, their client history etc
Do they take on projects way too frequently (bad) or way to infrequently (also bad).

by-the-way, what is the average pay of Nigerian developers, is it cheaper to hire Nigerians than it is to hire Indians? (You know why I am asking this ;-) (further offshoring?)

Not really, it is more expensive to hire an indian I'd presume (exchange rate etc), problem is there aren't that many Nigerian developers to begin with,
Art, Graphics & Video / Re: Photography Lovers In The House by qleyo(f): 8:09pm On Feb 20, 2006
Heres one, what do you want to know?
Programming / Re: Is Assembly Language Dead? by qleyo(f): 7:51pm On Feb 20, 2006
Allonym almost said it all, however compilers have come such a long way that you can get away with C 99% of the time. ASM is mostly inevitable when it comes to embedded programming but even this argument is starting to lose its validity (you can program both PICs and atmel chips in C), alot of people use C or erlang for signal processing and then OOP (C++ or java or something else) for software.

ASM is not that daunting either (so you might as well just learn it), you need to learn about 33 instructions to be able to get anything done and understand the microprocessor architecture). ASM also improves your logical thinking (so what have you got to lose but one more language on that CV!). And like SBU said it gives an understanding of what happens "behind the scenes" when programming. Also really good for debugging C output! But these days I tend to use C only, cheaper maintenance (believe me I know, I spent the whole of summer converting some firmware from ASM to C).

Conclusion is, this argument has been made time and time again infact so much so that I just tell people to google it these days, but both have their Pros and Cons like most things in life. C and ASM happen to almost balance out, such that it becomes a matter of the programmers preference (for a hobbyist) or your clients preferences.
Programming / Re: Java Programming For Dummies by qleyo(f): 7:40pm On Feb 20, 2006
Hey, good job with the teaching SBU!

I do however think teaching everyone the basics of C would have been better, than expanding to C++ before touching Java.
That way people appreciate all three languages and see the difference between the former and java.

I've got over 4 years experience with C and 2 with C++ (software and embedded). I'm willing to help if you need anything.

We probably should do a seperate one for C.
Programming / Re: Web Programming: Where Do I Start? by qleyo(f): 7:27pm On Feb 20, 2006
Leave the WYSIWYGs please (i.e. dreamweaver, frontpage). Go the cheap and better route, learn to hard code as some others have said.

Open up note pad on your PC, go on www.w3schools.com and start learning XHTML(its just a better structured HTML so to say) and CSS.
You don't need a server, download apache and use it as your server. Don't spend any money (yet). Need a graphics program? if you can't
afford photoshop or fireworks, get linux on your PC (its FREE!) and use gimp! Tutorials? Google is your friend (once again FREE)

Eventually go on to learn PHP and MySQL (all open source i.e. FREE!!!)

Where are located? I might have a quicker solution for you if you are interested, another question is, do you know any other languages?
Or have you done any programming at all?
Properties / Re: 2 Quick Questions by qleyo(f): 4:39pm On Feb 20, 2006
ok i kind of found the answer to the first post https://www.nairaland.com/nigeria/topic-3022.0.html

but still need to know the cost of office space :-/
Career / Re: How Much is a Good Salary in Nigeria? by qleyo(f): 4:14pm On Feb 20, 2006
lol, I love this post!
Properties / 2 Quick Questions by qleyo(f): 1:46pm On Feb 20, 2006
1. How much is a standard 300sq meter office space for one year in one of either lagos or Abuja.

2. How much will the average nigerian graduate earn per month.
Business / Re: The STB Mastercard Maestro: Credit and Debit Cards in Nigeria by qleyo(f): 1:14pm On Feb 20, 2006
Everyone seems to be going on about the credit card, and forgetting the maestro, a debit card does exactly as its named, debits your account. So ridding the need for cheque books. Honestly I'm all game for this. Yes there are risks but every system improves and patches its wholes and cracks as it develops.

If the nigerian system could really show flaws with a mastercard or maestro (and the chip and pin system) then obviously mastercard needs to go and check its system. With chip and pin, the only way someone can get anything out of your card is if they know your PIN number, and its as simple as that. So its a case of keeping delicate info to yourself e.g address, PIN number, card details etc
Business / Re: How Can We Move Nigeria Forward? by qleyo(f): 1:03pm On Feb 20, 2006
The answer to this question is endless,

Nigeria really needs to industrialise, and this should be headed by its people especially those living abroad who have seen how things "should" work.

There needs to be improved connectivity (the gsm era has done a good job, but the internet needs to do the same)
Improved consumer goods production (groceries, clothes etc!)
Improved education, and this one is a little policitical.

These systems all need to work together. There needs to be a database of citizens and records, so people do not get away with things too easily.
There is so much, the summary of it really is, everyone needs to start thinking of this same subject, taking a bit of the action and doing it.
Business / Re: Zinox Computers by qleyo(f): 12:56pm On Feb 20, 2006
Hmm I agree, the latest news I heard was something about how the CEO of the company (sorry can't remember his name) has some high tech system in his house that apparently controls everything.

I really did see a future for that company there is so much opportunity and a very unsaturated market so they should be making a mark,
Business / Re: Business Idea: Starting A Recruiting (Human Resources) Company In Nigeria by qleyo(f): 12:50pm On Feb 20, 2006
visit www.nigeriajobsonline.com

Quite impressed with this website

1 Like

Career / Re: Right Salary For Indian Hired For Software Project In Nigeria by qleyo(f): 12:38pm On Feb 20, 2006
Why are you having to out source if I may ask, do you not have software developers in Nigeria? What exactly are your requirements, I should be able to give you an average quote so to say.

(1) (2) (3) (4) (5) (of 5 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. 70
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.