Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,155,733 members, 7,827,688 topics. Date: Tuesday, 14 May 2024 at 03:14 PM

Kambo's Posts

Nairaland Forum / Kambo's Profile / Kambo's Posts

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

Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 3:49pm On Jan 02, 2014
Demain_man:

Did Thomas cease to be a disciple because he doubted? Did Peter cease to be a disciple because he doubted? NO!

Infact the Church was even build upon Peter. Even Gideon asked for sign not once, not twice and God proved himself on all occassion.

There is nothing wrong with me doubting your power. the onus is on you to prove yourself like Jesus would have done.

Tell the peddlers of false miracles to stop. Let everybody preach salvation not miracles and magic!

do school rustcate students tht fail a test? Does tht mean failg is okay? No.
If doubtg were okay wud Jesus take precious space in d bible documentg his reaction to peter and thomas unbeliefs?.
Peter was the spokesman on pentecost but it was a different man from d man who wanted to go back to fishg. It was a reformed man. Thomas also repented of his unbelief after Jesus rebuke.

Doubtg man is anoda ball game .

"let every1 preach salvation not miracles"

the command from the head of the church is to "go and preach the gospel (good news) ". The goodnews includes salvation but ur definition of salvation is narrow.
Biblical salvation is encompassing (salvation from hell for the unbeliever, and other types of salvation for the believer).
Miracles follow the true preachg of d gospel. It shudnt b d emphasis of d preacher .
In d bible, peter's shadow healed many. It was so powerful tht many brought the sick out so tht his shadow would fall on them. Was Peter's emphasis miracles? No.
But miracles followed him.
Some pastors overwrk themselves trying to get God to do a miracle . Some church members press for d sensational frcg pastors to try to fake/produce it. Some exaggerate it. Church is like entertainment industry but without d big budget to match.
Nevertheless, a church without signs and wonders is a dead church and not God's will.
God wants to work miracles but at His choice and will, but He wants the preacher to focus on feedg the flock and teachg d word
and being fervent in prayer.
Programming / Re: OOP Encourages Artificial Relationships: making namespaces scriptable by kambo(m): 3:13pm On Jan 02, 2014
^^^
the namespace clash u mention will not occur. because the global functions/methods are inside an object -the package construct or artifact.
The classes inside the package access the function as if they personally defined it or inherited it. It is seamless.
If a third party code is brought in with its own global functions,
the only way to access them is by aggregation or inheritance.
Meaning tht to use a method in a 3rd party class you have to use the format :<classname/instance>.methoname
so if the 3rd party implements its own global function it's separated by the path name from those the developer implemented.

If on the other hand the third party code implements its own similar function and d programmer extends the code they will b a clash , but this is not because of a flaw in d concept because it happens in traditional oop also.
Theyre walk arounds. In this case the full canonical name to the function the developer wants to use can b specified. In the format:
<package><function-name>.
The problem goes away.
The clash is namespace issue.
For conciseness, there's nothg virtuous in redundancy. If global functions,at the package level were enabled, a large project wud save on thousands of lines of code from not havg to write import statements.
E,g what if functions like "toString","hashcode" had to be imported bf use? It wud b tiring.
In d same way, if global functions/attributes became integrated .. Programmers seeing the benefit (code economy/ purer relationship) will warm to it.
The java language is still evolvg though i'm usg java here the idea transcends java and applies to OOP languages as a whole.
Lastly, the namespace/packaging structure in oop languages isnt really a theoretical property of oop but a technological convenience.
The buildg block of oop is the class nothg more or less.
Not namespaces or packages.
Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 2:28pm On Jan 02, 2014
Demain_man:

Tell your 'god of men' to stop deceiving people with fake miracle claims and focus on salvation preaching instead.

If they must advertise their miracle prowess in the name of God, they should be ready to be asked this type of questions.

There is nothing wrong with doubting. Thomas was not condemned to hell for doubting instead Jesus showed him proof beyond reasonable doubt and he consequently believed.[/b]


where dyu get ur facts from? Who told you there is "nothing wrong with doubtg"?
Thomases was rebuked by Jesus for doubtg. Peter was lashed also for doubtg when walking on water.
The children of Isreal,which are a type of the children of God today,
never entered the promise land because of unbelief.
On the other hand, the faith of the centurion impressed Jesus so much,he marvelled.
In God's eyes there is everything wrong with doubtg.
Religion / Re: Malaysian Authorities Seize Bibles In ‘Allah’ Row by kambo(m): 2:18pm On Jan 02, 2014
Wherever islam is signifcant tyranny (agains christnty) follows.
Where it preponderates death follows.
If d percntage of muslims rose to 80%+ u'd b sure wat happens in saudi arabia and iraq and egypt wud happen.
A christian cud b killed for mentiong Allah.
Religion / Re: The Muslim Suicide Convert by kambo(m): 2:07pm On Jan 02, 2014
Islam proves tht ppl will die for what they blv in no matter how ridiculous the incentive is.
Like ephemeral virgins in dainty lands and wanton s.ex in supposedly their God's paradise.
Wonder wat d muslim women get? Spiritual male studs?!
Islam is a religion of sx n violence. A hedonistc delusion from hell.
Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 1:38pm On Jan 02, 2014
^^^^
the salvation of the soul is a greater complexity and marvel
and of more significance
than the grwg back a limb.
But the Q is can God do it?
Yes he can.
Is it hard for God ? Na.
Is God willing to do it? Sure (Jesus never turned any1 away who sought healing)
y doesnt God do it? Moot question. Discussion cud go on ad neaseaum.
Q shud b reversed
because it is accusatory. Does the problem lie with God or the amputee?

1 Like

Programming / Re: Pls Can Som1 Giv Me A Link To Download Free Netbeans IDE Free? by kambo(m): 1:21pm On Jan 02, 2014
ncpat:

try here https://netbeans.org/downloads/

you wasted ur time with this foolish poster.
Next he'll ask you for a link to google.
And tutorial on how to use a search engine.

Op,
i googled netbeans and it was the first link in the results.
If you cant solve somthg so simple as findg and downloadg an ide without hand holdg how dyu ever think u can make it in programmg?
Reconsider ur steps bf u waste sombody else's time and money.

1 Like

Religion / Re: God Of Signs And Wonders (my Near Death Experience) by kambo(m): 1:10pm On Jan 02, 2014
Some problems wudnt occur if money werent d issue. If you lived in better house not near d road no vehicle wud veer into ur apartment.
The fence wud stop it.
Or the buildg wud b inset from d road.
In d more affluent parts of town the authorities ar stricter on buildg codes, theres less traffic ,
in the less affluent anythg goes-
so mayb as christians our prayers shud b for more money cuz some
devil plans are scuttled automatically wen d christian has more cheddar to roll in.
Religion / Re: God Of Signs And Wonders (my Near Death Experience) by kambo(m): 12:44pm On Jan 02, 2014
Thank God for you.
Read of some incidents lately off vehicles veering off the road into buildgs. One killed some school kids in abia state or so.
What made u go to the bathroom when u did? God pre empts d Devil. Too late satan. He came by too late.
Religion / Re: How Can I Fast And Pray Even Though Am On Medication? by kambo(m): 12:30pm On Jan 02, 2014
Heartie01: guess u woke up from the wrong side of the bed cos what I wrote has nothing to do with faith...I only wanted to know maybe talking my drugs hasn't break the fasting....And hey this is 2014 I don't need people's pity cool

he is on point bro.
You'll need faith to go against d doctor's prescrption in d name of religion.
Religion / Re: A Brother From Saudi-arabia. Journey To CHRIST by kambo(m): 3:01am On Jan 02, 2014
highyo: I'm not suprise when Muslims started quoting the bible, even more than the so called Christains. of course it must happen. Ogboni too will quote the bible
I've heard of a former satanist that said, the only book they use to attack is the bible.
Babalawo too will study the bible, Christains will study it, even Athiest will study it too

do you know why?
So that no one will say, I didn't know on that judgement day

your two succeedg post are spot on. So so true.
In the quran there are overt hints pointg to Jesus as Lord and d dubiousness of islam.
At the end no one will b able to say the serpent made me do it.
They did it of their own will.
Eve used her own bare hands to pluck d forbidden fruit.
She gave Adam who took it with his own hands too. No force.
But wen it all unravelled every1 was lookg for some1 to blame.
Religion / Re: A Brother From Saudi-arabia. Journey To CHRIST by kambo(m): 2:51am On Jan 02, 2014
highyo: Today, Muslims converting to christainity is not concerns of Satan. Because, satan himself has done a great harm to the church of Christ. Out of 100% churches, may be only 2-5% still stand on the truth.
At first satan has succeeded in victimising any muslim converting to christains
2, he ensure that any muslim that died are immediately buried to avoide raising back from dead and exposing the truth about the religion.

3. Even when they succeeded in converting to christainity after knowing the truth, the 21st century churches will destroy their spiritual life. For the spirit of Jezebel has taken over the church.

This present day churches can not encourage Muslims to convert to Christain.
I have a muslim convert in my office that told me his pastor said his sins of the past, present and futures has being forgiven, and I also heard that the pastor said drinking of Alcholic is not bad.

Now tell me, is that not fry pan to fire? Muslims turning to Christain is not a problem, but which church will they join since the world has taken over the church?

My advice to all muslim convert, Join bible living church and depart from churches that will make you feel confortable in sin

Join Deeperlife, MFM etc but do not follow what they say alone, but follow the Bible.

The drinking of alcohol is not a sin.
The bible never said it was but said tht drunkenness is.
Of course, to get drunk you've got to be FULL of alcohol.
The once saved always saved doctrine isnt biblical but i 've read the wrks of joseph prince who popularises the salvation of future sins. I think the pastor mayb talkg from tht viewpoint. The point he makes is confusing to me even though backed up with scriptures.
I do know however, tht many verses in d bible warn tht a christian who persists in sin after being saved will not inherit the kingdom of God.
Religion / Re: A Brother From Saudi-arabia. Journey To CHRIST by kambo(m): 2:38am On Jan 02, 2014
larrymoore: u are too spiritually blinded by the bible tales. Go back to the old testament, see how many ppl were killed by bible god. I am too busy for this ur irrationality.
the north is an islamic stronghold and where islam is there is bondage. Just see countries tht are islamic. Turng from islam is punished , women in islam are in bondage. Insult the so-called prophet mohammed and see world wide bloodshed.
Islam is a scourge. Thru and thru.
Religion / Re: A Brother From Saudi-arabia. Journey To CHRIST by kambo(m): 2:29am On Jan 02, 2014
holypower: "Born to a Saudi family, in Saudi Arabia, and living very close to Mecca, I grew up with strict principals and traditions of Islam and the Arab culture. As a teenager I went to the mosque five times a day in obedience to my parents. One night, while I was asleep, I had this horrible dream of me being taken into hell. And what I saw there brought me real fear
and these dreams kept coming to me almost every night. At this point I was really wondering as to why I should be seeing hell in this manner.
Suddenly one day, Jesus appeared to me and said, "Son, I am the way, the truth and the life. And if you would give your life to Me, and follow Me, I would save you from the hell that you have seen."
— — — — — — — — — — — — — — —
This came as a surprise to me, for I did not know who this Jesus was. Of course, He is mentioned in the Koran in the book Surah Mariam. He is stated as one of our prophets, but not as a Savior who could save us from hell. So I started looking out for a Christian who could give me some advise about this Jesus I have seen and possibly get one of the
Christian Holy Books, which I now know is the
Bible. But it was a difficult task for me to get any Christian to speak to me about Jesus. As you would know, Christianity is totally banned in Saudi Arabia and if a Christian is caught witnessing to a Muslim, he could be almost sure that he would be beheaded.
— — — — — — — — — — — — — — —
Then the Lord led me to an Egyptian Christian who was sick. I prayed for this man’s healing and this man gave me a Bible. Then I, by myself, started reading the Bible. By this time Jesus had become a close friend to me. Soon I started witnessing about the experience I had with all my family relations and friends. Soon the authorities were informed that I had converted to Christianity, and I believe this was done by one of my family members. As it states in the Koran, if someone would turn away from Islam, he is a traitor to the faith and he should be executed. So I was taken into custody and tortured. They told me that I would be beheaded if I would not turn back to Islam. But I had already made my decision that I would never turn back. So I told the authorities I’m willing to die for Jesus and that I would never come back to Islam. After much
torture and imprisonment, I was sentenced to be beheaded. They gave me a date and a time and I told them, "You go ahead and execute me. I’m going to heaven to see Jesus. But I pray that what you would do to me would stay in your minds and not give you rest until you come to Jesus."
— — — — — — — — — — — — — — —
The appointed day and time came for my
execution, and I was waiting with much anticipation, yet very much strong in my faith in Jesus. Generally the executions are carried out on the set time and date. But to my amazement, no one turned up. One hour lapsed, two hours went by, then it became three hours, and then the day passed by. And no one turned up. Then two days later, the authorities turned up and opened the doors and told me, "You demon! Get out from this place!" I also noticed that the main person who was determined to get me beheaded was not present when they came to release me. I asked them where this guy was. And with much hesitation they replied that his son had died on the same day they planned to execute me. Although I continue to go through much persecution, one thing I know is that the Lord’s hand is upon me.
— — — — — — — — — — — — — — —
A Brother from Saudi Arabia

"His Son had died on the same day they planned to execute me" -
That's God man.
I see this principle in scripture ,OT.
PHAROAH refused to let Isreal,God's First born among d nations go. And He paid with his Son's Life.
SHADRACH mesach abednego were to be thrown into the fiery fire and the Life of d gaurds went first.
God said he will giv Nations for His children.
But if God allowed the narrator to be matyred, it would still be well for the brother either way.
Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 1:36am On Jan 02, 2014
oluafolabi:

Bla..Bla..Bla.

You are regurgitating the same thing you have been indoctrinated with.

All I asked was a simple question, and all you did was beat around the bush.

If you would want to answer my questions, you'd have to bring definitive answers. The vague stuff you typed up there won't do any good.

you want concrete evidence like God tapping you on d shoulder and tellg u he's whom u've always doubted?
You're on long thing.
You never asked a "simple" question - i suspected you were an atheist. Turns out i was right -
you had ur stance in mind bf askg. Everythg else is just debatg opportunity .
Seems u guys gain assurance tht ur own track by tryg to disprove or denigrate God. Which proves ur not comfortable in ur atheism.

1 Like

Programming / Re: Big Data. Hadoop by kambo(m): 1:20am On Jan 02, 2014
kobikwelu: ^^^^^^^^^^^^^^^
angry angry angry angry

That is the frustrating thing about Nairaland...Its full of Wikipedia professionalists....

The op clearly requested for folks in the field /working through it.. there is/was a reason i requested for real world Hadoop professionals..instead someone came and started asking me to start with a Machine to practice....

I told you i'm taking classes... Don't you know when you are a professional on the job ....you attend classes ON THE JOB TRAINING MANDATED BY YOUR JOB....

please read before rushing to show off for God knows who....

stop ventg like a tart.

Show off for what?u?
If you posted ur request on a more visited programmer forum many wudve said somethg similar.
Wat will d class teach you u cudnt learn via documentation?
Did you read where i,in essence, said, u shud do wat suites you.
Only a warped mind treats a helpful suggestion as showg off.
Programming / Re: OOP Encourages Artificial Relationships: making namespaces scriptable by kambo(m): 12:43am On Jan 02, 2014
dsypha: This post is misleading. What is the most reason people use OOP, You tink it is to avoid duplicating code? Sadly, No. The encapsulation and abstraction benefits has led many people to use it. Clients of an Object being able to use Code without knowing how that code looks like, Hiding implementation details, and providing an interface's motive is clear and Understood. In your words, You mean to say creating instances of an object wastes memory, sadly that's true. and to that you resolve to using static members or classpaths, editing classpaths for a single app that needs it, to me is overkill. Earlier I said the paramount reason people use oop is because of its encapsulation benefit which if used to the best advantage can save a lot of Frustration. Now the question is does static members gurantee that Benefit? Wen u have hundreds of clasz that depends on the implementation of a single static method else where, can u easily change that method's implementation without breaking codes that rely on it? To me, The memory waste encountered wen creating instances is negligible. It is worth it. And maybe u coming from languages like Java, C# and d likes that does garbage collection for u. ppl with a C++ bacground.won't have a problem. In cases as trivial as ur isNull example, u can create an instance of the object containing that method and imediately after accessing the method, discard that instance by setting its value to null. Its that easy....

one of d reasons ppl flocked to java from c,c++ was particularly for the purpose of code economy.
A program written in java requires less code than a correspondg c++ code. So economy matters and convenience is addictive.

My point is also about abstraction
. An abstraction tht mirrors real wrld relationships also and increases code economy.

We all create global functions - explicitly in c,c++,php.
Implicitly,in java,c#.
Stict oop makes this impossible.
Not because every function has to be in a class but because the mechanism for accessing and usg functions in other classes is limited.
A) direct instantiation- waste memory
b) static methods - doesnt waste memory but accessors must b in same package. Sub packages require explicit import all d time.
C) system classpath - the most global of all.
But is not a language fature.
The idea is to make what programmer's make their classpath do a language feature.
If done, less code will b placed in system classpath just to make a servce global.
Then "pragmatic" programmers simply ignore oop rules and do what works - duplicate small portions of code instead of go thru clumsy inheritance or imports.
Religion / Re: My Atheism And Its Effect On My Mum! by kambo(m): 11:58pm On Jan 01, 2014
GeneralShepherd: Since I officially dumped the idea of a god, I haven't seen my parents. I went home this christmas,it was a wonderful holiday for me,little did I know my mum was hurting deep down inside!

She called me today being the 1st of January 2014 and started telling me how she asked Yahweh to give her a son after she had four girls(who are all married) which He did according to her. She told me how she has barely slept most nights in the pasy year because of my atheism. Also said it might lead her to her early grave if I continue living without god.

My dilemma is I can't pretend about god and the bible,yet I don't want my mum to die or have sleepless nights! When people read the bible the smile on face shows I don't believe any of it, when I try to pray I feel like I'm mad talking to myself or like a kid talking to Barney and friends!

How do I undo what has been done! How do I unknow what I know about god and religion? How do I ignore the inconsistencies?

I love my mum so much and will gladly become a sheeple for her to be happy

your mum is actually MANIPULATING YOU . You may not like my frankness but tht's the ugly truth.
Firstly, she wants you to accept God So that SHE not YOU will feel better (in this case "not go to an early grave"wink. So if you accept God it will be because of Her and how she feels not because of you and how you feel.
This is d same stinkg hypocrisy parents employ to get their children married "on time".
It's because their mates are all grand parents . Or their mates hav been giving them weddg invitations and everybody is wonderg when their own children will marry.
Even pastors who shud know better descend to this putridity.
Ask your mum if you shud accept God to please her or because you really want to?
What if she were dead? Mayb she'll make you swear to do her biddg.
God will not accept insincere repentance. If you dnt believe in Him or want anything to do with Him, He will NEVER FORCE YOU AGAINST YOUR WILL.
But if u die in ur sins, He has told you what ur fate is. The rest is up to you.
Dont accept God to please your mum. Such wrks may cut it with mummy but not with God.

5 Likes

Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 11:36pm On Jan 01, 2014
^^^^^
i've heard about pastor chris and benny hinn and so on.
Tht doesnt change anythg.
The same medcal science that cant produce documented incident of people healed from amputation can produce other evidence of healg from other conditions after it gave up on the patient. So what does tht say for divine healing?
When ppl are sick/ill all most know is to go to a man of God to pray for them. For most ppl who have faith for this it may work if the man of God is empowered by God for such. But the man of God is never the healer. God is.
The man of God is simply d channel. Try tellg tht to most folks who elevate the man of God over the God of d man, therefore
when the man of God prays and it doesnt work they are devastated!
Truth is, God doesnt give the man of God more faith.
Amputation isnt a healing,per se,but a creative miracle.
Somethg tht wasnt there has to b recreated - in this case a limb -
this will require more faith than a healing.
But God will do it.
I hang around christians and live with some. Truth is many christians are not interested in God beyond d minimal.
Most pastors wives dont read the bible. There's a lot of emptiness and shallowness in typical christianity. Yet, they want God to do KING-SIZE THINGS like healing amputees.
Dream on, thts like sayng some one can win an olympic medal in boxing without puttg in d kind of input those who win do.
There's a price tag for this things.
If God says He can do all things and u sincerely believe Him to do what He said He will do yet He failed to do it then He God would be a LIAR and his word wudnt b worth it. You can throw the bible away. But people have proved him true time and time again.
Question is how many wud b willing to pay d price?
Programming / Re: Big Data. Hadoop by kambo(m): 10:40pm On Jan 01, 2014
kobikwelu:

oga...I know the steps to take...
For someone in OOP (for a living) for years (Java, C#)...its exciting to go down a different route... + scala ...and voila..you have a perfect romance
i am looking for folks in the field already / working their way through it, to exchange ideas, and hopefully, write something propriety, not some high school directive for noobs angry angry

there's nothg about usg a piece of technology tht warrants taking classes,except where learng materials are scarce.

But if a class is ur thing, so be it.
I was just suggestg.
Programming / Re: OOP Encourages Artificial Relationships: making namespaces scriptable by kambo(m): 10:30pm On Jan 01, 2014
In this case,Havg No import statement wud b better and more intuitive.
With small classes its no issue with lots of classes the savgs can b sinifcant from not writg that statement.each class has to
stick that statement just to use the servce!its ugly and messy.

Move global functions/properties to a suitable place accessible to all.

I also think it wud enrich d design process if explicit constructs ,tht mirror d real wrld from which OOP philosophy is drawn, were baked into d language.
Just like a programmer designing a java program thinks and looks for "is-a"/"type-of" relationships.
And thinks, "i've written code similar to this,let me abstract it"

if d language design cud make him ask "this code is going to b used by many classes and sub classes,(some unrelated) , let me make it global", it wud be enrichg also.
The complexity is going to be at d compiler level.
Religion / Re: Is It Impossible For God To Grow Back Amputated Limbs? by kambo(m): 10:19pm On Jan 01, 2014
Poster
next time you want to post christian questions do your own research bf hand. But you just want to debate. In your mind your
stance is to automatically doubt.
In essence you are askg if God will prove himself to doubters and sceptics BEYOND ALL REASONABLE DOUBT.
He won't. He'll give you all the oppurtinity to doubt His existence and some to believe. The choice is up to u.
If u saw limbs grow back bf ur eyes , will you believe? Not necessarily.
You think you will,but you will most likely not.
In the bible God parted the red sea - a spectacular miracle- and his people walked on dry ground.
Did the isrealites forever never doubt God?
No.
When it was time to take the choice land God got for them, they wailed tht the giants in d land wud swallow them. What of the God who delivered them from the then world super power,egypt?
The isrealites threatened to stone
the only two ppl who dared say otherwise-tht God wud help them defeat the giants.
In the new testament, the disciples of Jesus saw him walk on water,heard him say over and over tht He wud rise from the dead. Women ran from the tomb after his resurrection sayg the tomb is empty and tht they spoke with Jesus- did they believe?
People who followed Jesus around day and night for 3 years+?
Did they?
Their condition for believg can b summed up in d words of thomas - he wanted physcal evidence. Words were not enuff for him.
To believe it had to b verifiable by one or more of his five senses.
Sounds familiar?
The definition of reality and truth to the atheist and science is subject to verifcation of the 5-senses.
When Jesus entered room much later on he especially rebuked d disciple who believed only if subject to d five senses.
And he said the words to d effect tht does who believe without seeing , just words only, are the blessed ones.
God's modus operandi hasnt changed.by faith... . See hebrews 11 for more.
God wrks by and thru faith. And faith is the opposite of physcal forehand proof.
Can God heal an amputee?
You want physcal proof. The answer is a word. He has given his word ,in the bible on questions like this, the issue is what d inquirer will do with it,d word.

1 Like

Programming / Re: Are Your Programmers Working Hard, Or Are They Lazy? by kambo(m): 9:28pm On Jan 01, 2014
With the kind of money, schools charge for mba/post graduate tuitions management science still
hasnt found solutions to ths kind of problems.
In most cases managers just get in d way of thought wrkers.
Programming / Re: OOP Encourages Artificial Relationships: making namespaces scriptable by kambo(m): 9:10pm On Jan 01, 2014
Jeffahead: There is a lot of stuff in your post but if I understand you correctly, you do not like the fact that have to make a class or a method Public to access it from another package.
Because if your isNull method was
public static
when you will avoid wasting memory and it would be accessible to all other classes in your application.
Correct me if I'm wrong but making your class or method public seems to be your beef. Right?

Well I think you have more of a design issue there than anything else. Java is designed to be flexible. There are times when you need a class to be public and other times you may not. If you have a simple utility method like
isNull(Object o) 
that you want to use across your application then what is the point of making it non-public? You want it to be public so you can access it public-ly. That is the whole point.

If however, your
isNull
method is in a class that you have made non-public (protected etc) and you want other classes to use this method, then it has no business being in a non-public class. Create a public utility class and put it in there. Done.

As for using Import statements, there is nothing ugly or verbose about that.

If your class implements
isNull
as static. Classes in the same package can see and use
isNull
.
Let the class implementg
isNull
be the host class and others the client.
If in the course you create a sub package , classes in d sub package cannot use the service ,
isNull
, even though it is static and public.
To use
isNull
,the service, the host is either explicitly imported or put in d classpath.
Since
isNull
is a trvial servce the programmer may just duplicate it.

The programmer needs global functions. In java,the system class path is used to create this but it can b modelled at d code level.

E.g.

package somePkg;
class A {
public static isNull(Object ob){
return ob==null;
}
}

package somePkg;
class B{

public void useObject(Object ob)
{
if(A.isNull(ob))
// do sth

}

package somePkg;
class C{
// c subscribes to A's servce
// for null checks
}

package somePkg.innerPkg;
class D{
//
public boolean validArg(Object ob)
{
// D needs the servce of 'isNull'
but cant get it
without importg A ,
and to do tht A has to b in d class path.
Even D is directly under the same package as A
}
}

package somePkg.innerPkg;
class E{}

E cant use the servce in A too.

Alternatve.
Make d package a construct like
'interface', 'class', 'abstract' etc.

package somePkg{

public final isNull(Object ob)
{
return ob==null;
}
}

package somePkg;
class A{
// since A is 'in' the package it can use the services defined in d package.
It enjoys this benefit because it is 'in' the package.

}


package somePkg.pkgInner;
class F {}
F can enjoy servces in its own immediate package - 'pkgInner'
or in higher up pckages 'somePkg'

no need for akward transfers to classpath.
The programmer writes less code.


No need for A or F to extend a class ,inheritance' to use a servce.

Tests like A instanceof somepkg will return false.

The compiler will check if a package is explicitly defined and link members of the package to d servces defined in d package.


It's like inheritance but its not.
E.g if its raing and a persons runs
into a buildg for shelter.
He enjoys dryness simply because he is IN the buildg.
He is not a buildg,which is d relationship , inheritance will
force to b created for him to enjoy the shelter. The servce provided by d buildg is shelter.
It is a global overshadowing servce.
Rooms inside the buildg also enjoy this services from d main buildg.
But so far in oop, packages,namespaces etc are
just for creatg partitions .theyre primitive simple and basc.
In the current oop sense,
people in d buildg will occupy distinct rooms but each person will either have to bring his own umbrella(code duplication) or
shelter under a larger umbrella (static package/public methods)
.
The buildg offers no overhead servces to its occupants!
Programming / Re: Big Data. Hadoop by kambo(m): 11:45pm On Dec 29, 2013
Seun: Hadoop is Java based. Java runs equally well on Windows and Linux.
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)
Religion / Re: This New War Against The Catholicism. The Center Can No Longer Hold? by kambo(m): 11:24pm On Dec 29, 2013
plaetton:

Believe me buddy, I know a great deal about the history of Christianity, and I can bet a lot more than you.
We know how it began and how the message was hijacked by the emperors of Rome. That is history.

Catholicism went on to define christianity for the world, and that's the way it has been.

All other sects are just her dysfunctional Children.
She knows them , She understands them, she grieves at their waywardness, but she still loves them because they are all her children.
Deny your mother as much as you want, she is still your mother, the one who first defined your reality.

Just suppose that the Pope now confesses to the world that Jesus was just mythical character they symbolically used to convey sublime wisdom.
How would you feel, especially with rambling about your message of Jesus?.

This is the point I am tying to let you know , that the Catholic Church know more about Christianity than you could ever know.
They molded it.
They know whether Jesus live or not, what he said and what he didn't say, whether he died on the cross or not, whether he ascended to heaven or lived to a ripe old age.

catholicism didnt define christianity.
In the book of Acts u c the the church fathers meetg in the first church council to define what practces are not acceptable and broadcastg their standards to all other churches. At tht council, roman catholicism wasnt even born, they commanded among other things tht eatg food offered to idols and strangled animals and meat with d blood in it b abstained from. We see further definitions in the writg of Paul , who is the apostle to the non jews (gentiles),not Peter as catholicism preaches.
You also see the church meetg in a council when problems tht cud split d harmony of d church arose e.g when the grecian jews in d book of act complained of neglect in d rationg of food thts where the first elections of deacons was done again as answer to the confusion tht was nibbling on the peace and harmony of the church.
In early church days,there was a wide spread false doctrine known as arianism, it too was a canker causg confusion and dichotomy but it too was quelled in a similar manner (post biblical times early chutch) so catholocism has never been and will never b the true church. The bible had been defined and sealed (genesis - revelations) again by early church fathers long bf catholicism came along.
The literal translation of the new and old testament contradcts catholic practices. And the bible not what the pope thinks is wat dictates to the christian. The Holy spirit also.

1 Like

Programming / OOP Encourages Artificial Relationships: making namespaces scriptable by kambo(m): 11:01pm On Dec 29, 2013
Talking in terms of popular oop languages like java and c#.
Oop was principally invented to,among other things, prevent code duplication. It is taught tht it has achieved ths objective well, but in reality i dnt think so. As a programmer after wrtg lots of code, code duplication, for the sake of pragmatism becomes inevitable.
And this is because of the oop philosophy of "everything is an object".
Example.

Assumg u have 5 classes under a package. And u want to use the method, "isNull" where isNull = isNull(Object ob); returns a boolean.
You define "isNull" in one class. To use it in other classes in d package you cud a) use aggregation.
Create a reference to the class tht defines "isNull" . And call isNull.
This solves the problem but waste memory because of creatg new instances. Requires client classes to b in d same package with d class defing d method i.e the host class.
B) compile d host class and place in the system's Path/classpath.
Solves the problem but..
A) the system is creatg a functionality tht shud b natve to d language showg poor desgn choice.
B)code in d class path is visible to all other programs . Not a problem generally but in some cases selectve access is better.
E.g the global code mayb inapplicable in other scenarios.

C) the process of makg d method global is tedious: compile/jar-edit classpath variables-copy some classes to classpath folder.

Most programmers would rather duplicate d function in other classes or instantiate the host . Both options ar suboptimal inelegant and wasteful to sat d least.

C) make the method static in the host class this way the function can b accessed without wastng memory.
Wrks but only classes within d package can access it. If get lower,create a sub package the issue snowballs. You have to make the class public to use in sub packages-this is ugly.
The access shud treacle dwn without exposg classes to outsiders.
Explicit Imports have to b made to use the function.
Again, pragmatists may just duplicate d functionality instead of go thru hoops to avoid code duplication.

Finally ,there's d all famous inheritance option.
Other classes can simply extend d host class and use d functionality with ease.
Yeah,this wrks but creates unnecessary relationships.
The clients have to become a subtype ("is-a"wink to use d function.
Lots of artificial extensions like this are d typical way of re using code in oop.
And messy import has to b explicitly done or d classes have to b in same package as d host class.

Anoda option i think wud b to simply make the namespace object take on some smarts instead of simply being a class partitiong tool.
E.g
if isNull where in a package named "somepkg",
somepkg is a namespace holdg 5 classes.
This is a "is-in" relationship.
Since the 5 classes ar in the package, they cud enjoy servces from the package without being d package. This is a relationship that exists in real life but isnt modelled properly in oop. E.g if citizens are in a bomb shelter , they are not d bombshelter but enjoy its (servce) automatically as a result of the "is-in" relationship.
At the code level, if "isNull" were moved into the package "somepkg" all the classes in d package can then access it. No more messing with class path .
Necessity requires tht all global functions and attributes moved into d package b fixed . So isNull would b static and final /readonly
. That way it will b ensured to behave d consistently wen called.
Also sub packages should b able to automatically call functionality in higher packages.
Under these approach, methods can b global to all members of a package (includg sub packages) and yet be inacessible to external clients. Unlike wat wud b case if the code were placed in d systems classpath.


**This critique is more on d implementation than on oop as a concept.

1 Like

Religion / Re: This New War Against The Catholicism. The Center Can No Longer Hold? by kambo(m): 9:47pm On Dec 29, 2013
plaetton:

I do not know the secrets of christianity, but do you agree that the catholic Holds much secrets or not?
What ever your christian sect, you carry and are part and parcel of Catholic DNA.

The fact that you have many breakaway factions over the millenia is testament to the fact it all about personal, doctrinal and political schisms and not about any one universal truth?
Truth cannot have many versions.

The bone of contention for these modern day evengelical parasites is simple and self-evident,-Market Share-money-filthy lucre.
Their livelihoods are under threat.
You see, simplicity of the christian message is like a viral antidote for these evengelicals, these pulpit pimps(perhaps you are one ?).
It threatens to render them redundant in the future.




A spade needs to be called a spade.
A thief and a maggot need to be addressed as such.
I am very sensitive to cheating and exploitation.
That is my nature and I owe your type no apologies for it.

if you want to know more about the history of the church and of catholicism theyre resources available.
Christianity has never been founded on catholicism.
And true christians will either try to convert catholics or reject their teachg.
Who led the bloody inquisition of d dark ages?
What even ushered in the dark ages and its end?
Do your research bf tryg to speak like an authority here.
The central message of christianity doesnt hinge on personal goodness or sincerity in believg a lie.
It Hinges on Jesus and his substitutionary work and d penalties for not being in him are d same as d penalties or cost for those who refused to accept noah's invitation into the ark.
The bible claims tht man's problem is heart based and man doesnt hav wat it takes to help himself. To fix d problem man needs to have a new heart (spirit) then he will hav the ability (though he will still choose to use or not use this ability) and b enlisted in God's family.
The world says the problem facg man is not heart based but knowledge/compassion/motivation based that man is inherently good. The bible says man is inherently evil.
The world says, feed the thief, giv him some material help and he'll stop stealg.
Tht condition made him a thief.
The bible says the thief will still because his spiritual father ,satan,is a thief so he is operatg naturally,subconsciously like his Dad.
Any1 presentg anythg different is a joker frm hell sent to decieve.
Christianity has nvr been about gettg right thru charity deeds or acceptance-e.g acceptg gays - but this heart issue.
Do ur home wrk bf u write on christianity. Cuz u dont know,as an atheist,jack about what it's all about.

1 Like

Religion / Re: This New War Against The Catholicism. The Center Can No Longer Hold? by kambo(m): 9:01pm On Dec 29, 2013
plaetton:

I disagree sir.
Let me remind you that the Catholic church defined and authored these so-called conventional Christian teachings. The Catholic Church, at least from the 1st century Ad, birthed and nurtured, shaped and molded Christianity.
So, you are in no position to tell the Catholic Church, what is christian and what is not.

They know all the secrets of Christianity.
They know what is true and what is myth.
The Cathoic Church is by far the oldest, the pre-eminent experts in social engineering.
They have been doing it for 2000yrs.

what dyu know about christianity ,you noisy atheist?

What are the "secrets of christianity"?
If the catholic church with its idol-lickg practices was much d definitive standard what caused the first breakaway in d first place?
What is the bone of contention that the men of God you've mentioned have with catholicsm?

Did u hav to spew out insults to make ur ignorant point? If u types ar not cussg Jesus or God its human theist mainly christian.

1 Like

Programming / Re: Big Data. Hadoop by kambo(m): 8:42pm On Dec 29, 2013
kobikwelu: I am currently delving into the world of Big Data..and i am looking at a batch processing framework like Hadoop's MapReduce and Hdfs...

I am taking classes and i am putting this out there to see if there are like-minded folks with which we could share ideas and even look at a possibility of leveraging its technology in the Nigerian market....

Feel free to comment

you takg classes for hadoop or computer science?
Books (orielly etc) abound on how to use this framewrks?
A book+machine+time+focus and u gud 2 go.
Hadoop is linux oriented, so there's an obstacle for d windws coder.
**
Offensve y there is discrimnation against windws in ths age.**
Programming / Re: Need A Developer For A Three Dimensional Store by kambo(m): 8:34pm On Dec 29, 2013
D bandwidth to run this your app alone wud need d customer to cut a deal for some custom data plan.
For provision stores it's pointless.
For other stores mayb.
Wud b much much better if u applied the concept to other domains like housg,real estate city layouts etc.
Or if u used 2 d animation like flash.its Lighter on everythg(cpu,bandwidth etc)

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