Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,167,374 members, 7,868,108 topics. Date: Saturday, 22 June 2024 at 11:04 AM

Ghenghis's Posts

Nairaland Forum / Ghenghis's Profile / Ghenghis's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (of 8 pages)

Programming / Re: Drinks Invitation Written In C++ by Ghenghis(m): 8:35am On Aug 12, 2008
@c0dec is mixing up classes and object instances

You dont need to inherit 'cause
You and me are Persons (right ?)

you just need to create two instances of Person


Person you = new Person("c0dec"wink;
Person me = new Person("Ghenghis"wink;

The issue about inheriting to change a member variable is this :

1) In good OOP Member variables shouldn't be public except through accessors, if they where private then you wont be have access to them through
inheritance anyway.

also you inherit for many reasons : type, behaviour etc.

, anyways u didn't need it at all in this case wink
Programming / Re: What's Happening Here? by Ghenghis(m): 8:26am On Aug 12, 2008
What are you guys talking about ?
Didn't sbu ask Seun to delete all his/her posts ?
Programming / Re: How Can Java Take Care Of My (future) Needs? by Ghenghis(m): 3:14pm On Aug 09, 2008
javalove:

make i sound controversial smiley

Oya make una attack me nowcheesy


You need to be attacked , the guy needs positives and encouragement, not negatives (tell him what he can do, not what he cant)

@javalove Mr. controversy grin for now, i concur ,
Programming / Re: Should A Programmer Marry A Programmer? by Ghenghis(m): 3:00pm On Aug 09, 2008
Wow! what a thread , I've been away too long ,

ALL, You guys are right ,

personally I've done (100%) away with any task that requires concentration and standing up cool

Yeah intelligent ladies are in abundance, everywhere (except techie stuff, )

note o, i said abundance, I'm sure there are many wonderful female coders - i just haven't met many,

some start well, get married and their husbands spoil them for everyone (no more coding)

So i agree with javalove we should marry as many as we can ourselves (its for Opensource , good code and freedom) cheesy cheesy cheesy so as to keep it all in one
happy family,

have you guys watched one of Angelina Jolie's earlier films (The HACKER) thats why i still love her
@javalove lets know how your date goes, and ask her if she has other programmer friends grin grin grin
Programming / Re: Java Rocks: Java Rules by Ghenghis(m): 8:33pm On Jul 22, 2008
It might not prove much, but there are really lots of advancements in JIT compilation etc. especially since there are some optimisation hotspots due to the many iterations ,

You also have fast processors that the modern java compilers can optimize for automatically , i'm sure that amount of care was not given to C++ and other compiled languages,

As per ruby,python and the rest ,
They're not know for runtime speed but ease and speed of development
(the memory model of the language matters a lot here) ,

The algorithm is interesting,(not the conclusion or inference) but he should have used recusrion though, it would have been a simpler and more intuitive algorithm,

Lets try that on for size (and leave the language wars) , cheesy

, yeah java rules!!!
Programming / Re: How Long Did It Take U'all To Learn Programming? 10 Years? by Ghenghis(m): 4:58pm On Jul 16, 2008
sbucareer:


You couldn't have said it better.

No joke, these are the essential things you need in a hierarchy order of importance:

1. Determination
2. Computer system
3. Software
4. Internet
5. Books


one can argue that good books should come as no. 2 since many have PCs and internet now and all they do is Watch Porn and play games.
You might actually learn faster without all the internet stuff there to confuse you,
, remember on the net you still need to filter the bad from good

yeah and good instruction is very useful ,
If you want to see farther than most, sitting on the shoulder of giants might just do the trick (shameless quote grin)
Programming / Re: Java World: Questions And Solutions (java Only Pls) by Ghenghis(m): 8:24pm On Jul 14, 2008
If your talking about implementing your logic diagram its not difficult since that's the building block for all computers.

You have logical AND,OR and negation operators that behave live the normal logic gates.

Since you've not provided details I'm guessing you have a digital circuit already ,

You can then use the SUM OF PRODUCTS (or PRODUCT OF, ) to build your logic

But i must admit its all concept , lets hear more details !
Programming / Re: How Long Did It Take U'all To Learn Programming? 10 Years? by Ghenghis(m): 11:26am On Jul 08, 2008
I've been programming for about 11yrs now, java --- 6years

I learn new stuff all the time, a programmer is never to old to learn new tricks

though there's a tendency for people to stop at the intermediate level(Those are the guys most people perceive as very good programmers)

but there's still so much stuff one can learn, technology doesn't stop for anyone.

Check out guys like Joshua Bloch and Bracha, Dough Lea etc. They're masters and to borrow a phrase from karate people ,

10th dan pass 5th dan even if all na black belt cheesy

1 Like

Programming / Re: Guru In The House, Please Help Me by Ghenghis(m): 7:35pm On Jul 03, 2008
chukxy:

It is meant to be a desktop application.
Yeah, if its desktop
Programming / Re: Guru In The House, Please Help Me by Ghenghis(m): 6:08pm On Jul 03, 2008
you could package the db in an archive and distribute ,
your app simply checks the users home dir for the db, if its not there extract the archive one to the user dir ,

so even users on the same machine would have different DBs
Computers / Re: Software That Can Allow 2 Os'es To Be Used Simulataneously @ The Same Time by Ghenghis(m): 6:05pm On Jul 03, 2008
like @adewaleafolabi virtual box is cool
You also have VMware --- excellent
Microsoft virtual pc --- good

there are more ,
Programming / Re: Why Certification Since Your Clients Are Satisfied: by Ghenghis(m): 5:52pm On Jul 03, 2008
java*** you guys are overcompensating ,
I have to disagree with you (for the first time!)
the question is for what ?
Do you have university degrees ? would you advice you child not to get one ?
Does a uni degree define u ? Does it prove you are capable of doing a job ?

personally,I distust people who claim to be all action and ridicle books ,
I guess you guys learnt java by rote shocked

Even for a person not interested in employment, you need references ,
certifications are like good references , it doesn't guarantee anything but it piques the interest of the recruiter. Most times its your cv that talks for u when you're absent.

From experience the rigorous process of certification also enhances your skill,
there many exams like this -CCNP,CCIE,SCJD,SCEA,SCBCD,RHCE etc.

So you've interviewed an SCJP guy before ? grin ok what of an SCEA or CCIE , try that on for size
Don't be too quick to judge ,
I personally learn stuff to improve my efficiency on my job, i get certifications as validation to others(potencial employers) that i have a certain skill ,
I don't expect them to toss my CV cause i have certifications ,

I can also write code with the best of 'em in the world, how do i know ? 'cause SUN said SO! wink
Programming / Re: Javascript And Design Patterns by Ghenghis(m): 3:12pm On Jun 19, 2008
This should be very interesting since java script doesn't support the kind of Classical inheritance we're used to ,

Might be messy though , ( i once read a book on writing OO with C,mind boggling)

Lets see what you've got , wink
Programming / Re: Java & .net Fighters Read This Blogs by Ghenghis(m): 6:10pm On Jun 10, 2008
mosco.net:

, most companies combine both developement platform, they hire .Net developers and Java developers as well,
so i don't see any reason for the noise about the issue,
unfortunately this is not really the case ,
though both languages are similar the communities are quite different, the development style and mentality also makes it difficult ,
I think its better to focus on one platform(You can know the other, skin deep) and chase a job with that ,
its not really common for a company searching of .NET developer to recruit a java one and vice versa except when they're not pressed for time(rare) or the subject really knows both platforms(Hmmmm ). Anyways the interviewer is also probably a specialist on only one of the platforms ,
Bottom line if is JAva you know ,know it well
if it C# know it well,
if its PHP, abeg learn jython grin
Programming / Re: Why Certification Since Your Clients Are Satisfied: by Ghenghis(m): 4:22pm On Jun 10, 2008
LordLangug:

Why certification when your clients are satisfied, , why bubbling around punding questions but not development, why routinal not reasoning programmingly, well, in a cyberworld like this we need to belong,, I think else, not needed. (PHP forever cry)
, Whatever makes you sleep better ! grin
Programming / Re: Java & .net Fighters Read This Blogs by Ghenghis(m): 4:37pm On Jun 06, 2008
Cool yarns by Bruce Eckel ,

But the problem is to stay mainstream Java has got to add the features ,

thats the price , C# is now version 3

its like the arms race , and the unfortunate thing is that it has taken the shine of the achievements in other areas where java has really improved

The strenght of java was its consistency, yeah its no longer consistent

Personally i welcome some new java features like auto boxing and use of Generics with collections but other than that i might as well be using java 1.4

( The new concurrency API is also cool)

Good article @mosco.net
Career / Re: Developer Salary In Nigeria by Ghenghis(m): 4:02pm On Jun 06, 2008
@yawa-ti-de and @mosco.net
Yeah he was just asking a question, but his tone and language showed a .Net bias shocked

Hustler_:

Of course, their skillbase will be database, web programming or winform

is a funny statement - thats the CV of a .NET developer grin

ok to the question :

A fresh developer without any professional experience can expect between #15000 and #40000
(Nobody like to recruit fresh developers, you need to show professional initiative, meaning even a fresh grad should have a track record of work done, platforms used etc.)

So a fresh person has nothing to do with skill, it just means its probably your first job!

An experienced developer 1-3 years can expect between #65,000 and #150,000

the variations depend on thing like,
do you work in ISV,bank or telco (it increases in that order)

After all is said you can throw the rule book out, if you're exceptionaaaal (Genius , who started coding at age 5) or you know the CEO of the million $ company you want to work for , if not i'd say the range sums it up. cheesy
Programming / Re: Java Or C++ by Ghenghis(m): 12:24pm On Jun 05, 2008
@tomX:

1. Speed - Because java is an "Interpreted code" it requires Java Virtual machine to interprete the programmes compilled byte code. This makes Java slower than equivalent native code produced by an optimised C++ compiler.
You are not necessarily correct, Java is compiled to bytecode then interpreted , thats the user friendly explanation. These days Java uses JIT (Just in Time Compilation),the run-time knows about the running environment and as such can take advantage of certain features/optimizations

Java programs can also be optimized by compilers

@tomX:

2. Poor low level access - Java has no pointers (while this is touted as one of it's strenght since it makes it simpler and easier to use) it is virtualy incapable of accessing a computer system on low level. This makes Java unsuitable for system software that perform such operations as calling BIOS and DOS subroutines and responding to interrupts. Java is not a good choice for writing operating systems, device drivers, and other low level code.
Yeah thats not necessarily a bad thing, what % of written code needs the kind of access you're talking about ?
Besides, there's JNI

@tomX:

3. No Multiple inheritance - Java classes supports only single inheritance. In C++ a class may be derived from several base classes, while in Java a class may only be derived from one superclass. [a limited form of multiple inheritance is possible using Java interface clases but it does not compare to the more sophisticated form of multiple in C++]
cheesy Have you used multiple inheritance before ?
In C++ there's something called object slicing , now imagine a class that thats up cast to say i grandparent like say object, if you make a polymorphic call which parent should be called ? If thats confusing, then so is multiple inheritance ,
Besides inheritance is not the best form of reuse, HAS - A is better than IS-A blah blah blah
Kids please stay away from multiple inheritance ,


@tomX:

4. No bBackward compability with C - Any legacy code written in C will have to be totally re-written if it's desired in Java. C++ compilers are however able to tranlate C.

hmmm, http://david.tribble.com/text/cdiffs.htm tongue

@tomX:

5. No support for in-line functions - Java does not support in-line function but C++ does. The use of inline functions provide programmers with optimisation techniques which have a great impact on program runtime speed. Java does not support source-level optimisations, and the code optimisations supported by Java compilers are not language specific.

Absolutely wrong!!!!
Have you heard of final methods, constant folding etc.

@tomX:

This are just a few I picked out of a Book by one of my favourite Java Authors. (Tom Swan).
There are many advantage/ disadvantages to both languages and there are many shared points too. it wouldn't hurt to learn both languages. I've learned close to 8 programming languages (not counting scripting languages) but my favourite is C++. Learn as much as you can. Both languages are great.
I agree with your summary though ,


Guys java has really matured, 13years in the making ,
people are getting to know more and do more,
java is not VB
hype time is over and the buzz is here
Say HURRAY if you're a java programmer grin
Programming / Re: Project Mono:trojan Horse Or Not? by Ghenghis(m): 7:35pm On Jun 04, 2008
hmmm Food for thought , undecided

but money is not always a bad thing ,
see what IBM has done for Java, look at Sun's new stance
The strength of open source software should be freedom to do anything with it, including; make money

That's what makes it viable and attractive to large organizations (it needs a good financial/economic model supporting it)
Look at Red Hat, Jboss , Spring etc. No one buys software from Okori and Sons, LTD. tongue

MS have resources that ( before IBM) you can only dream about , let them spend it on linux
Windows has many good points, if they find their way into Linux, then all the better for the end user
Let the Trojan horse enter, we can use it for firewood ! cheesy
Programming / Re: Java Or C++ by Ghenghis(m): 7:27pm On Jun 04, 2008
Another thing going for C++ is multiple inheritance , while Java has singly rooted hierarchy

for differences between C and C++ http://david.tribble.com/text/cdiffs.htm

Apart from the pointer thingy and large library java is also very much like C shocked
Career / Re: Developer Salary In Nigeria by Ghenghis(m): 7:17pm On Jun 04, 2008
javalove:

meaning?? what's with the winform? Not all naija developers are into .net so why the "of course"

cheesy grin cheesy java to da bone!
Programming / Re: Java Programming Vs Networking: Which Is More Profitable In Nigeria? by Ghenghis(m): 7:15pm On Jun 04, 2008
@kanirip you are cynical but mostly, correct.

CCNA certs are a 1 naira per dozen ,
so the really good networking guys now chase CCNP,CCIE etc.

Don't discourage the brother, lets give him perspective ,

@marcustan Naija is more of a consumer country than manufacturing hence , Cisco would bring their product we master them and start using the products
(Thats our typical networker)

to create a program/application(even a poor one, i've seen mannnnnnnny) you have to have some element of creativity
In all areas where such creative skills are used there is also a tendency for the effort not to be recognized, if it where that easy then it wouldn't be creative
You can figure out the rest ,

I can assure you, not all programmers earn 60k ( so please know more than just VB)

Ultimately you find whatever you do rewarding, programming or otherwise ,
Programming / Re: Java Or C++ by Ghenghis(m): 5:15pm On Jun 02, 2008
logica:

i was simply pointing out that the suffix "++" which happens to be the "increment" operator in the C language is there to show that C++ is an "increment" (advance 1 level) to C.
Yeah, the pun is clear ,but in retrospect both languages are quite different. : wink
Bjarne used C as the vehicle for his new language because he wanted it to be adopted quickly by At & t people. So he tried to make everything that was valid in C valid in C++, but i doubt that is true anymore , C99 brought many new things on board.
Programming / Re: Java Or C++ by Ghenghis(m): 7:41am On Jun 02, 2008
ebot:



@logica
thumbs up grin

I'm sure its more than a level.

Many people just use them interchangeably, thats wrong.

Did you know that a lot of the solaris OS was written in Object C ,

How many levels ahead of C would that be grin
If you've written C++ and C , you'd know the difference ,
Programming / Re: Java Programming Vs Networking: Which Is More Profitable In Nigeria? by Ghenghis(m): 7:37am On Jun 02, 2008
Its good to have a healthy understanding of all areas of IT, but at a point you just have to make a decision.

You could go into Network Programming grin

There aren't enough of those around ,

Programming is probably the less saturated area right now but like @ahoe says, it depends,

You have a good problem grin
Programming / Re: Viewing And Creating Reports In Java - Share Ur Experiences by Ghenghis(m): 7:33am On Jun 02, 2008
Well, for generating reports with forms i've used Jasper reports(i.e Ireports).
For web Business Objects(Java reporting Component). It creates an embedded report frame within your web UI, and its very good.
Instead of the jrxm you still use .RPT files (crystal report templates). Checkout their site, i'm sure its the way to go.

(Eclipse has plugins for crystal reports design etc)
Programming / Re: Nigerian Java Group : Jand by Ghenghis(m): 6:45pm On May 26, 2008
javaprince:

My reply is of two folds.

2. Finally, to those that advised me to use Linux. I have been tryin to move over to it. After losing all my important files and hard disk in general(trying to install Oracle Linux 4 - bad bootin manager) , I am finally running Ubuntu Linux and Windows Vista happily. I am still trying to load Netbeans 6.1 on it. So thanks. Despite the fact that I wept for losin my files. I have now spent more than 100 hours working on Linux.


Good to hear you've taken up Linux, you should also know that most times- a bad boot manager is not enough to loose all your files. Its really hard to loose everything(except through physical damage), so next time ask around so you won't loose crucial files.
cheesy
Programming / Re: Bad Java Books 4 Beginners by Ghenghis(m): 4:04pm On May 23, 2008
fallguy:

despite the hype , i wouldnt recommend the following books to anyone
interested in java.

1.) thinking in java- bruce eckel.
===========================
inaccessible for complete newbies. u can't begin
java with this. degenerates into drivel quickly,
unnecessary complexity ,convulated and meaningless examples.
u just want to know how to call the damn API and u seeing
tonnes or lines of codes that get u no where quickly.
the chapter on interfaces, was terribly done.
plus:
the chapter on i/o's was very well done.
Avoid if your a newbie.

You're absolutely alone here ,
The examples in TIJ are simple and designed that way so that java features can be tested easily and quickly.
I don't need to build a whole GUI app to teach polymorphism. Yeah it might not be the right book for the newbie programmer, but its ideal for the newbie java programmer. One thing is guaranteed, if you take the time to complete the book and practice the examples you'd come out like a pro(after the experience)
cool I'm happy you admitted about the chapter on IO , he did justice to it.
have you read the 4th edition ? he has removed some chapters and added others ,
What chapter do you think is a waste of time ?
Programming / Re: Which Java App/web Server Do U Swear By? by Ghenghis(m): 1:51pm On May 23, 2008
We shouldn't be comparing Jboss and Tomcat, its like saying which is sweeter honey or sugar ? cheesy

Really, they serve different purposes ,

Yeah Glassfish has all the hype about it these days, its 'cause sun is playing better in the open source community.

Hence, you have SIP servers etc. using it

The Jboss interface we're mostly used to is the community variant, try paying some money to Red Hat , then you'd see a different Admin console.

In my opinion Jboss is still as great as ever! (Webshere is cool too)
Programming / Re: Please I Need Help On Some Database Design Issues! by Ghenghis(m): 12:46pm On May 20, 2008
davidt:

I read somewhere that the rules of normalisation are not to be followed in absolutely all cases. Is this one of those cases? I really don't know.


Generally, you should always normalize.
Then you can denormalize later for efficiency. i.e Not normalizing is different from denormalization ,

Look at the score table for instance ,
Depending on your requirements you can further break it down into say, Continuous assessments (if thats required in your project)
As it is the single score column potentially contains all that info.

(p.s @sbucareer and @samm did some justice to the exercise)

So in summary go ahead and normalize(always). When your application has been deployed and maybe the users need a dataware house for say, reporting purposes, then they can demormalize for perfromance.
Programming / Books You Can't Do Without -- The Very Best You've Read by Ghenghis(m): 8:10am On May 20, 2008
Lets talk about the IT books we've read , only the best please .
We can categorize them by subject matter .
For me, these books were eye openers
Here's my list

Java Programming
-----------------------
Thinking in Java - Eckel
Effective Java - Joshua Bloch

C#
-----
Seeing data - Rebecca Riordan

DB
---------
Java database best practices - George reese

Windows programming
-------------------------------
Programming Windows - Charles petzold

Design
---------
Refactoring to patterns - Martin Fowler
Head first design patterns - Eric Freeman

Mix
---------
The secret guide to computers - Russ Walter

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