₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,229 members, 8,420,899 topics. Date: Friday, 05 June 2026 at 01:43 PM

Toggle theme

WhiZTiM's Posts

Nairaland ForumWhiZTiM's ProfileWhiZTiM's Posts

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 18 pages)

ProgrammingRe: Need To Improve My Algorithm Skills (omo_to_dun,fayimora,ekt_bear And All) by WhiZTiM(m): 2:36am On Jun 24, 2013
You will need solid knowledge of maths as you ascend up the ladder...
Your roadmap will be:
**logic and basic algorithm is okkay...
**Optimization or Minimization algorithms
**Graph algorithms
**Numerical and Discrete algorithms
**Discretization algorithms
**Advanced algorithms from numerous research theses...

though, for programming in a business discipline, all these aren't needed...
but for a real-life engineering discipline, You Need all!!
ProgrammingRe: Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles) by WhiZTiM(m): 2:28am On Jun 24, 2013
my solution is uploaded on PasteBin... http://pastebin.com/r3cMG9sM

...Well there are [size=24pt]3 ways I know we could solve this[/size].

1. Procedural/functional ...like my implementation
2. Object Oriented
3. Mathematically.

1
You may have to be interested in Python to understand my code...(70lines uncommented, 122 lines commented)
I was contemplating doing it in C++ or C# but thought it would be better in a lazy/weak typed language.
**Ohkayy, I wouldnt talk on this cause all I would have said is represented VERY well in my Code

2
OOP: this would be similar to number 1... but in this case, all items can be treated as objects by wrapping them in light weighted classes..
---These objects should be aware of their relative positions in the coordinate
---These objects should contain a boolean property that signifies whether its been used or not
---An abstract object or pointer can be used to transverse through the instantiated objects..
---there should exist a simple (up, down, left, right) traveller function that will persistently travel in one direction until it reaches a limit or an object that has been taken... in this case, it changes direction in a preferential manner...
---this continues in spiral direction until there is no more object to transverse
---THIS CAN ALSO be DONE RECURSIVELY ...easier

3
MATHEMATICALLY:
...while I took a paper and was manually transversing through square matrices of diferent sizes... I realized that there exist this property of perfect squares:... ::: a summation of odd number sequences starting from 1 to n is equal to n^2.
PROOF:
if n = 3
1 + 3 + 5 = 9
if n = 5...
1 + 3 + 5 + 7 + 9 = 25
if n = 6
1 + 3 + 5 + 7 + 9 + 11 = 36
you can test for other cases

...now, assume a 5x5 grid..
A B C D E
F G H I J
K L M N O
P Q R S T
U V W X Y

using n as 5, we have the following sequence... (1 + 3 + 5 + 7 + 9)...
reversing it, we have (9, 7, 5, 3, 1)...
the first L shape is of 9 elements... that is ... (A, B, C, D, E, J, O, T, Y)...
the next L shape is of 7 elements... that is ... (X, W, V, U, P, K, F)....
the next L shape is of 5 elements... that is ... (G, H, I, N, S)
the next L shape is of 3 elements... that is ... (R, Q, L)
and finally the last is (M)...

[size=16pt]now... are you thinking mathematically....??[/size]
yeah.... so, I did leave this method as a challenge to someone to implement authurowen's problem with MATHEMATICAL algorithm or discrete NUMERICAL algorithm....

"~~~Many programmers are really good, what may differentiate them is complex and subtle mathematical knowledge and skills~~~" ---says A renowned ACM-ICPC judge in Int'l Collegiate of Programming Contest....( I wish I recall the name)

NB: I am not a mathematician but a maths hobbyist...
ProgrammingRe: Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles) by WhiZTiM(m): 1:53am On Jun 24, 2013
mkwayisi: Hey kids. What's with you and "OOP"? OK, being an old fart, I'd like to present a solution in C just in case anyone wishes to learn something from it. Here is a complete program to do the stuff:
How on earth do you want most people including rookies to learn that code!! when you wrote it as if you were contesting in Codeforces, CodeJAM, TopCoder and/or ACM-ICPC.....
Next time. . . . explain whats going on there!!

Well, I just went through your code and test-ran it.... I understand your code... you should have intelligently determined the size of the array based on the first line input! . . . manual entry of each element is too kid-like . . .(based on your "Hey kids"wink.

good one though.
ProgrammingRe: Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles) by WhiZTiM(m): 1:42am On Jun 24, 2013
Here is my code in python, well commented; and with very good explanation for easy comprehension....

#!/usr/bin/python
"""(C)24th June 2013, WhiZTiM
contact: ionogu@acm.org
twitter.com/ionogu
facebook.com/onogu
blog.whiztim.com
PREAMBLE:
this program transverse a square grid in spiral form... and its design is:
nextMove()
this function is the traveller... and it attempts to move up, right, down and left the grid
it returns the successful move.
"""

def nextMove(x, y, state_grid, lst = 0):
""" @param:x and @param:y
This represents an (x,y) coordinate
@param:state_grid:
this is a mutuable grid of boolean values to indicate whether we have
travelled to a coordinate, if not... we go according to @param:lst and
set that coordinates travel-able value to False
@param:lst:
this helps to bring spiral transversal form to life....
Its values ranges from 0 to 3 and is used to make direction preference
"""

limit = len(state_grid[0]) #dimension of the square array

""" 'first' is a preferential determiner, i.e
if the while loop executes once without success, preference is reset to 0
and if there is still no success, it will break by the else clause
"""
first = True

while(True):
if(x-1 >= 0 and lst < 1): #1st preference: move left
if(state_grid[x-1][y]): #if its visit-able
state_grid[x-1][y] = False #then make it unvisit-able cause we are going to visit it
lst = 0 #set preference to this direction
return (True, (x-1), y, lst) #return turple

if(y+1 < limit and lst < 2): #2nd preference: move up
if(state_grid[x][y+1]): #similar as above
state_grid[x][y+1] = False
lst = 1
return (True, x, (y+1), lst)

if(x+1 < limit and lst < 3): #3rd preference: move right
if(state_grid[x+1][y]): #similar as above
state_grid[x+1][y] = False
lst = 2
return (True, (x+1), y, lst)

if(y-1 >= 0 and lst < 4): #4th preference: move down
if(state_grid[x][y-1]): #similar as above
state_grid[x][y-1] = False
lst = 3
return (True, x, (y-1), lst)

if(first): #we will be here if we have tried preferences without success
lst = 0 #lower or reset preference
first = False #dont execute this block again
else: break #free to execute the next one

return (False, x, y, lst) #Finally failed! stop!!!

def readinput():
""" Read the space separated n * n elements from stdin
Uses first line to automatically determine the size of the array
"""
first = True #tells us whether we are reading the first line
n = 999999999L #number of lines, we assume the grids will never reach the square of this
rtn = [] #return value. a 2D array(list)
while(True):
if(n == 0): break #if the last line has been read, break
w = raw_input() #get raw_input() from stdin
if(first): #if first line
n = len(w.split()) #use the number of items to automatically determine
#the number of lines to be read
first = False #we are no more in the first line

rtn.append(w.split()) #split the whitespace delimited elements in the line and append to return variable
n -= 1 #we now need to read fewer lines

return rtn

def main():
""" read input;
setup variables for calling on the traveller
...till the traveller returns false
"""
array = readinput()
# 't' represents the dimension of the array
t = len(array[0])

# state_grid represents a 2D array(list) of boolean values all initialized to True
# and its used for indicating whether a coordinate is visitable or not
state_grid = [[True for i in range(t)] for i in range(t)]

rtn = [] #holds return value
x = 0 # 'x' or 'i'th dimension
y = 0 # 'y' or 'j'th dimension
lst = 0 #variable to indicate last direction of travel

#we append the first item to our return, and set it's visit-able state_grid to False
rtn.append(array[x][y])
state_grid[x][y] = False

while(True):
#next move returns a turple of types(bool, int, int, int)
c, x, y, lst = nextMove(x, y, state_grid, lst)

if not c: #test if there is no more move
break
#append results
rtn.append(array[x][y])

#print answer
print rtn

if(__name__ == "__main__"wink:
main()
pass


http://pastebin.com/r3cMG9sM
ProgrammingRe: Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles) by WhiZTiM(m): 10:08am On Jun 23, 2013
authurowen: as much as you would like to think your solution is right (syntax wise may be yes), semanticaly no.

What you have done in plane english is simply read all the inputs, sort them and output them back to the screen in a ascending manner (THIS IS NOT THE SOLUTION TO THE QUESTION).

Another example would be:

[T H Q P]
[X W S O]
[B C D E]
[G A R K]

The resulting output (after applying the right solution should be):
T H Q P O E K R A G B X W S D C

Your solution should pls respect the fact that the input is a N x N Array, so an Object Oriented Solution would definitely suffice.

Thanks to every body for trying, we're all here to learn.
ooops! My misunderstanding!
I understand the problem now... Thanks for your clarification. I will put forward possible solutions after church.
ProgrammingRe: Code Challenge [1]: Pseudo-code, C#, JAVA (apply Object Oriented Principles) by WhiZTiM(m): 8:47am On Jun 21, 2013
Wheres the challenge here?? Lemme assume there is more attached to this that I dunno.... and answer based on my understanding
frankly, I would never solve this problem in an OOP fashion. Except I know why I should.

in C++


int i;
std::vector<int> vec;
while(cin >> i)
vec.push_back(i);
std::sort(vec.begin(), vec.end());
std::copy(vec.begin(), vec.end(), ostream_iterator<int>(cout, " "wink);


In OOP:


class A //a thin wrapper around int ...not needed for languages where every type is an object

class B; //1 dimensional aggregation of A with internal sorting methods;

class C; //2 dimentional aggregation of A.... or aggregation of B;

class D; //composition of C; and responsible for I/O

//for your example
//Class D reads the input and feeds to C, C receives them as 4 arrays. and construct them with B;
//class C will now have 4 arrays of B...
//class D orders C to sort itself and make outputs ready
//class C will order all 4 Bs to sort their internal arrays...
//class C will now perform a merge sort from all 4 Bs into one big B.
//class D prints


//...I still Don't understand the aim of your question in OOP:::: Here is my very stupid logic: If you have a continuous stream of matrices being thrown into your system and as output, you need regular sorted matrix of specific time intervals:
....if you tweak the above OOP snippet, it should be applicable to parallel systems where a thread/process/system PP1 is responsible for taking matrix input continously;
*passes it to the input buffers of another PP2, ...PP2 picks them from the buffers into a priority_queue (i.e sorted)
...after a few secs, another PP3 may request sorted data from PP2, then, PP2 pushes its queued data to PP3....

OOP will be better than procedural here...
ProgrammingRe: Simple Banned Word Algorithm. by WhiZTiM(m): 8:16am On Jun 21, 2013
hahaha @sarutobi... funny examples...

Though, the best way to build up algorithms to take care of cases like that is to use: Nearest Neighbor heuristics; and high collision probability LSH L(ocality-sensitive hashing)....

Well, banned words system is either a lazy or a simple forum filtering system . . . for a revenue generating website like NL...
How about banned words + phrases....?? Grammar and linguistic systems. . . start implementing primitive systems as such.... its hard but good for commercial stuff....

Seun has a lot of big data of comments on NL, we could build such Probabilistic filtering systems.... And make it learn the kind of grammar it should ban... from a set of comments with insults....
Christianity EtcRe: What Does The Bible Say About Make-up? by WhiZTiM(m): 2:35am On Jun 18, 2013
Cori_corde: God wants his children to dress well, befitting their status as children of the King of kings, that's why he told the Israelites to ask for gold jewelry and clothes before leaving Egypt.

He's just like any other parent who wants his children to look their best, but with modesty.
so intelligent... And it was with those gold jewelry they built an idol to worship!?? Clap for your self
Christianity EtcRe: What Does The Bible Say About Make-up? by WhiZTiM(m): 2:03am On Jun 18, 2013
kreami diva: What u see as moral is moral and what u see as immoral is immoral
babe, please share with me a keg of that ogogoro you have been drinking... Cause I havent gotten this foolish in a long time! What rubbish!!
ProgrammingRe: What Is Your Typing Speed? by WhiZTiM(m): 3:26pm On Jun 11, 2013
theres no standard measure.... Its wrong to use typing speed as a measure of any major ranking...

But.... It depends on language and...
. . . I think its typically counted in WORKING Lines Of Source Code per day. Which is typically 1000 - 3000 lines for FULL TIME paid veterans.
....And 500+ for other FULL TIME paid Junior programmers.

for me, my rough guess, based on the last ACM-ICPC South African Regionals I participated in....

20 - 25 lines per minute when I am playing pseudocode (prototyping).

15 - 25 lines per minute when I am happy and know exactly what I am doing... on C++...

10 - 20 lines per minute on C#, Python, and php.

5 - 10 lines per minute when I am not so confident, especially with external APIs that I am not familiar with.

2 lines per minute when I have little or no idea of what I am doing.
ProgrammingRe: What Are The Cost implications Of Creating A Customised Operating System? by WhiZTiM(m): 7:49pm On Jun 09, 2013
Well, I think I have some knowledge as regards OS architecture..

in my spare time, once in month, I spend a few hours to play around with a hobby and very simple OS, implementing in C on a MIPS simulator....(links at the end of this post)
--------------------------------------------------
What you are asking is very possible but NOT so feasible...

Let me assume you have some basic technical knowledge and try to be as simple as possible... and list a few reasons out of many...

A few reasons are:
*You need a team of systems programmers who have attained the skill set of Software Architects, and SEVERAL millions of Naira to implement a basic or the SIMPLEST of OS's for ANY device that outclasses scaler processors that you may know of ...because the processors and system architecture of modern devices are far far and I mean by FAR MORE COMPLEX than what may be taught at B.Sc or M.Sc level
*You may not succeed in having all the Hardware data-sheets, schema, architecture-details of the tablet you want to customize...
*Some parts of the device like Camera, microphone, etc, may rely on proprietary code or drivers to run it.(A driver is a realtime software that acts as a bridge between your operating system's kernel and the Hardware)

YOUR OPTIONS
I wouldn't recommend the Linux Core Kernel because its not exactly ready-to-go on Mobile devices... Android, Ubuntu Mobile and Chromium Operating systems have modified or tweaked Linux kernels that optimize for Power, Interrupt prioritizer for Touch-Input, sensors, etc.

The SOURCE CODES of Android and Ubuntu Mobile Operating Systems are pretty good to go! Get the sources, learn a HELL lot of API's write a your Customized Software, integrate, compile, and wooo lala!!! ...this is still a bit expensive but its by far more feasible than trying to write from scratch.

---Evaluating the The Option I presented you:
~~assuming you have a solid knowledge of C or C++ programming.
-----learing the relevant APIs to make core changes may take you 6 to 11 months.
-----It would cost you N20,000 to millions of Naira ....worth of knowledge, internet, devices, and time(money)
-----then writing such stable program to integrate may take 1 day to 5years++ depending on the complexity and manpower available.
-----writing such program would still cost you a lot of money... (resource and time)


THE DARE-DEVIL'S option <<--sometimes I get sooo discouraged because I have gone far but haven't implemented anything so useable... but still doing it!! Its not for a feeble mind. I have been spending more money than I am making on any ad-hoc or contracted programming project.

Take a risk, take a leap... follow your passion. Don't let facts, other programmers or other veterans above my level discourage you, IF YOU TRUELY HAVE THE PASSION AND WILL!


LINKS if you still wanna do something outside Linux or Unix
---OS DEV... read this before thinking far
http://wiki.osdev.org/Getting_Started

---What I started with...
http://wiki.osdev.org/C%2B%2B_Bare_Bones

---A simulator
http://spimsimulator.sourceforge.net/

--materials, get via torrents...lol
http://spimsimulator.sourceforge.net/further.html

---something better to avoid Assembly...
https://sites.google.com/site/lccretargetablecompiler/

~-~-~When you grow out of these, you can take a leap and try out real systems like the "RaspberryPI"

---Even as simple as my intent is, its NOT so EASY... OS development is crazy and unparalleled.
---I am doing it to ground my self to attain some skill set of a Systems Software-Architect in FEWER years...

- - - - CHEERS - - - -
Timothy
ProgrammingRe: Programming Blunders by WhiZTiM(op): 11:32pm On May 27, 2013
Of recent. . .
For easy search, uncomment, or deletion... Using regex

I start and end my debug lines with a comment. Starting at #qaz and end with #wsx..

(look at your keyboard(US Layout))
ProgrammingRe: Programming Blunders by WhiZTiM(op): 12:51am On May 27, 2013
I also recall, I once wanted to demonstrate a small text editor I wrote following a QtSDK example.... to my friends.
I failed to compile it! I couldn't figure it out and they laughed... then the following day, it compiled! thats how I learned about ENVIRONMENT variables and profiles
ProgrammingRe: Programming Blunders by WhiZTiM(op): 12:45am On May 27, 2013
System trashing

I wrote a small numerical program of large 2D double array with a high amount of iterations and had memory leaking at each iteration till it used up 80% of my 2GB RAM!

I was surprised Windows didn't complain, it was instead paging other processes!!!
ProgrammingRe: Programming Blunders by WhiZTiM(op): 12:40am On May 27, 2013
Ohhkaay...

A dot(member access) instead of a comma in a default argument function messes me up! ..C++

void func(tagger* t1, tagger* t2 = NULL)

I passed a call func(ttt,tag)

instead of func(ttt.tag)

which should have been ttt->tag
QtCreator converts . and -> appropriately... so I get lazy to using -> at times...

Well, it compiled an kept giving me seg faults!! till I almost threw the library away... only to discover my mistake weeks later with a debugger (stack tracing)...
ProgrammingProgramming Blunders by WhiZTiM(op): 12:15am On May 27, 2013
Share your top blunders of any category....
Semantics? Syntax?
Frustrating??
Funny?
Lessons?
or what, share it!!

PS: make sure you give insight to have a good visualization of your blunder!
ProgrammingRe: [google I/O] Google Introduces Native Client, Add C And C++ Code Web Apps by WhiZTiM(m): 11:01am On May 24, 2013
₱®ÌИСΞ:
Really innovative step....
Let's not forget, the Chrome OS
will benefit greatly from this
move...
lordZOUGA: I believe that was the main target of the project
I guess due to my subjective, complete and arrogant dislike for that crazy OS, ChromeOS...(I still don't fancy it)... I didn't even remember it existed.

frankly... I never even thought of ChromeOS... before criticizing this based on the currently existing platforms...

Since this wouldnt beat existing platforms for the next few years, I am totally convinced of that it is aimed at passively sidetracking developers into Powerful ChromeOS App os on the long run... or for the sake of pride, Chromium OS..

How clever...!!
ProgrammingRe: Question From A Newbie, Please Answers Needed by WhiZTiM(m): 2:03am On May 24, 2013
talk2hb1: Yes it is possible, but to get a competent hand that will develop it to your specification will cost a lot of money because they are mostly busy with a lot of projects.
Just Curious what are you trying to develop?
You can mail me at info(at)jeempsolutions[dat]com
Maybe I can be of help.
...sharp business man grin
ProgrammingRe: Programming by WhiZTiM(m):
simply_me: #include <iostream.h>
int main()
{
char word[32];
int x = 0;
[B]int ascii[32];[/B]
cout << "Please enter the word (maximum 32 characters):\n";
cin >> word;
cout << "The ASCII for this word is:\n";
while (word[x] != '\0') // While the string isn't at the end...
{
[B]ascii[x] = int(word[x]); // Transform the char to int[/B]
x++;
}
[B] //Now, to display the array with the asciis...
for (x=0; x<32; x++) {
cout << ascii[x] << ' ';
}[/B]
cout << "\n";
return 0;
}
good one...

But err. . . Madam, printing an array of 32 ints when the user's input only initializes less than 32 of them will print garbaged or max int.

Your code is a C styled code in C++... I discourage that.

Why don't you use the string class... Feed the string, then use the string.size() to instantiate the array ...convert to ascii like you did ...and loop over the int array using the string.size() as boundary ? ? ...its much cleaver that way. cool
...btw, I feel humbled whenever I see a ....ehhmm... What was I saying again? ? ..cool
ProgrammingRe: Serminar Topic Heip Ohhh by WhiZTiM(m): 8:34am On May 22, 2013
well, I cannot categorically help you on that, but use these search terms on Google. They may help.

"technology and the disabled"
"technology assistance for disabled"
"technology for the visually impaired"
"hearing aid technology"
"advances in technology for disabled"

...and similar stuff
ProgrammingRe: Java,c Sharp, C++ Are Due For Retirement by WhiZTiM(m): 8:10am On May 22, 2013
Oga kambo,
please share with me that stick you just smoked cause I haven't gotten this high in a long time!
...this is ridiculous...

...ohkkay, on a more serious note,
who should retire them?
we should abandon these GREAT languages(C++, C# and Java) and adopt which??
ProgrammingRe: C Code Help: How Do I Go About This? (pointer To Pointer) by WhiZTiM(m): 10:35pm On May 20, 2013
My Output was:

whiztim@whiztim-Vostro-1500:~/Documents/developer/C/others/quickies/demos/ptrTOptr$ ./t.out
----------------
ALL PAGES
Header1
pg1menu1
pg1menu2
pg1menu3
Header2
pg2menu1
pg2menu2
Header4
pg3menu1
pg3menu3
pg3menu3
----------------
PAGE 1
Header1
pg1menu1
pg1menu2
pg1menu3
----------------
3rd item on PAGE 3
pg3menu3
----------------
5th item on PAGE 3
You IDIOT! thats out of bounds
ProgrammingRe: C Code Help: How Do I Go About This? (pointer To Pointer) by WhiZTiM(m):
This should help.... Your problem has inspired me to write a full tutorial on pointer to pointer stuff... I will post when I am done
...This is what I mean... Its more readable and maintainable on the long run


#include <stdio.h>
#include <stdlib.h>

//Definitions
typedef struct _page_entity
{
char** elements;
int count;
} Page;

typedef struct _all_pages
{
Page* pages;
int count;
} All_Pages;

void print_page(Page* pg)
{
int i;
for(i=0; i < pg->count; i++)
printf("%s\n", pg->elements[i]);
}

void print_page_item_from_All_Pages(All_Pages* pg, int page_index, int element)
{
if((page_index >= pg->count) || (element >= pg->pages[page_index].count))
{
printf("You ID10T! that's out of bounds\n"wink;
exit(-1);
}
printf("%s\n", pg->pages[page_index].elements[element] );
}

void print_all_pages(All_Pages* pg)
{
int i;
for(i = 0; i < pg->count; i++)
print_page(&pg->pages[i]);
}

//main
int main(int argc, char* argv[])
{
char* page_1[] = { "Header1", "pg1menu1", "pg1menu2", "pg1menu3" };
char* page_2[] = { "Header2", "pg2menu1", "pg2menu2" };
char* page_3[] = { "Header4", "pg3menu1", "pg3menu3", "pg3menu3" };

Page page1, page2, page3;

page1.elements = page_1;
page1.count = 4;

page2.elements = page_2;
page2.count = 3;

page3.elements = page_3;
page3.count = 4;

Page pages[] = { page1, page2, page3 };

All_Pages allPages;
allPages.pages = pages;
allPages.count = 3;

printf("----------------\nALL PAGES\n"wink;
print_all_pages(&allPages);

printf("----------------\nPAGE 1\n"wink;
print_page(&page1);

printf("----------------\n3rd item on PAGE 3\n"wink;
print_page_item_from_All_Pages(&allPages, 2, 2);

printf("----------------\n5th item on PAGE 3\n"wink;
print_page_item_from_All_Pages(&allPages, 4, 2);

return EXIT_SUCCESS;
}
ProgrammingRe: Programmers drop your Bbm Pin by WhiZTiM(m): 11:15pm On May 19, 2013
BBM and its likes have not proven itself advantageous for programmers, ...at least me...
PS... I don't have a BlackBerry

mrsmithkay: C, LISP AND ASSEMBLY
you must be a well paid and boring person.... ...Just kidding...
No high level OOP or scripting language?? seriously, do you write Kernelshuh
ProgrammingRe: C Code Help: How Do I Go About This? (pointer To Pointer) by WhiZTiM(m): 10:52pm On May 19, 2013
first of all, sizeof operator returns the size of the pointer except in statically allocated array... (i.e no pointers copied and no callac, malloc, etc)!.
Check http://en.wikipedia.org/wiki/Sizeof

... You need to keep track of the array.... What you are trying to do is flawed without you having an int array to keep track of memory bounds.

Save yourself troubles and use some struct... And use them hierachically...

Struct Page
{
. . .char *elements[]
. . .int element_count
}

struct allpages
{
. . .Page *pages
. . .int page_count
}

this is what you should do!
I hope you get my point here...
(i cant type much on my small phone)
ProgrammingRe: Nigerians And C# by WhiZTiM(m): 9:56pm On May 19, 2013
I think there a some good C# developers here...

Java is a great language.
Java also has so many and I mean so many developers...
..And somehow, I hate crowd....
ProgrammingRe: Please i want to learn algorithm And Data Structure by WhiZTiM(m): 4:04pm On May 18, 2013
with respect to Mathematics...
As a beginer, you should know
Simple Algebra! Including logarithm, indices, etc.

Then...try to know some...
simple geometry
Basic number theory...
Elementary Probability...
Elementary set theory...
Some simple numerical approach to some things...

And start building up ohkay...
ProgrammingRe: [google I/O] Google Introduces Native Client, Add C And C++ Code Web Apps by WhiZTiM(m): 3:48pm On May 18, 2013
thats wonderful.
What happens to Adobe AIR? Microsoft Silverlight?
Oracle's java?

IMHO, I do not concur with native clients!! For 95% of any reasoning that I have, Its a VERY bad idea to write a largescale webApp in C. C++ is even better, but still a poor idea... In terms of what this idea is aimed at, and with respect to costs, throughput, efficiency and maintainability, Micro$oft Silverlight, Adobe AIR and Java runtime systems CURRENTLY beats this idea by a wide margin!
. . . I guess, it may be sandboxed, but it still poses more security risks than the aforementioned.

Google is really aggressive in pushing technology forward but at the same time, they are after "Big Data".

I doubt if other browsers like Mozilla, Opera, Micro$oft, etc will implement this anytime soon... Even smart phones are marginalized by this.

. . . In most scenarios, C# and Java outpaces C and C++ in webapp clients. . . . with C# being much better java in many webapp endeavors(Personal Opinion, so no apologies to java antagonist).

Let C and C++ do the big jobs in the server and anywhere intricate requirments are wanted with clear cut throughputs...

Still, i acknowledge the PNaCl is not really a bad leap.
ProgrammingRe: Age And Programming by WhiZTiM(m): 9:54pm On May 06, 2013
Tolutheo: Does programming has anything to do with age, if yes what age should you start programming?
yes! The age requirement is when you can do simple algebra, recall what you've read or known and can think clearly!!
....Otherwise, there is absolutely NO correlation between programming and age....

And If I am not mistaken, I know a 19yrs old programmer studying a non-computer related course... living and schooling in the Northeastern part of Nigeria... who started fiddling with programming @ age 15...!
ProgrammingRe: A Programmer's Personal Blog~~ Questions? by WhiZTiM(op): 7:23pm On May 04, 2013
OK... So, first conclusion..... GoDaddy.com will be my hosts and Wordpress would be my CMS!!
ProgrammingRe: A Programmer's Personal Blog~~ Questions? by WhiZTiM(op): 7:21pm On May 04, 2013
sarutobi: Host should be namecheap, they even accept naira mastercard. They have a package for arnd 10dolls per month
CMS should wordpress. no other cms is better for blogging with all th plugin, widget, facebook integration etc stuff. its is free. just download and run the install script.
Ads should be adsense. its by far has the highest payout and u are backed by google's integrity (no cheating)

Or to go the cheapest way, signup for a blogger or wordpress account and set up ur blog(free)+ hosting free. but getting templates for it can be a worry. Also ur address will be like whiztimblahblah.blospot.com or whiztimblahblah. except u purchase a domain name and point it to ur blog. The domain name will cost u like 10 dolls a yr.

Goodluck.
Thanks a lot for the info!!!!
I actually own http://whiztim.com
And I have a subdomain, http://blog.whiztim.com routed to my account.
....It seems blogger ain't that costumizable....
ProgrammingRe: A Programmer's Personal Blog~~ Questions? by WhiZTiM(op): 7:17pm On May 04, 2013
spikes C: I would have said wordpress, but i don't want to say one thing now and my oga at the top will come and say it's another thing
Thanks... A lot Amigo :-) ..: - )

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 18 pages)