₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,969 members, 8,448,016 topics. Date: Sunday, 19 July 2026 at 02:27 PM

Toggle theme

Ektbear's Posts

Nairaland ForumEktbear's ProfileEktbear's Posts

1 2 3 4 5 6 7 8 ... 227 228 229 230 231 232 233 234 235 (of 485 pages)

ProgrammingRe: Php Challenge: External Authentication Of Phpbb3 by ektbear(op): 7:12am On Nov 26, 2011
Thanks for your comment.

The problem is that I am also busy with various things. So while I know how to do this, it would be better for me to find someone else who is interested.
PoliticsRe: How Abia Is Attracting Investors by ektbear: 6:26am On Nov 26, 2011
Abia has by far the highest IGR of the SE states. As much crap people talk about the state on this forum, it cannot be that bad.
PoliticsRe: Why Wole Soyinka Won The Nobel Prize! by ektbear: 6:25am On Nov 26, 2011
interesting
PoliticsRe: The First Igbo "boko Haram Member" Confesses To Supplying Detonators And Cables by ektbear: 10:59pm On Nov 25, 2011
Why the focus on his ethnicity rather than his religion?

If you are trying to argue that BH is some sort of WAZOBIA organization rather than a Northern Hausa-Fulani one, then obviously this single counterexample doesn't make the broader trend invalid.

There have been white American Al-qaeda members. Even a Jew (well, Jew as ethnicity rather than religion) who joined AQ. Does this change anything, or render AQ not a primarily Islamic terrorist organization?
BusinessRe: France Loans Nigeria 100 Million Euros To Develop Lagos. by ektbear: 9:13pm On Nov 25, 2011
Anyway, an excellent development. This is an investment in the future
BusinessRe: France Loans Nigeria 100 Million Euros To Develop Lagos. by ektbear: 9:10pm On Nov 25, 2011
What interest rate
ProgrammingRe: Php Challenge: External Authentication Of Phpbb3 by ektbear(op): 8:53pm On Nov 25, 2011
Regarding "how much", if you are actually serious you can follow the procedure I outlined for submitting a bid.

Regarding the rest of your comment, how is that even relevant? Focus on what is important
ProgrammingRe: Php Challenge: External Authentication Of Phpbb3 by ektbear(op): 10:53am On Nov 25, 2011
Ok, didn't realize webmasters section would be a better place to post this.
ProgrammingRe: Logic Help by ektbear: 10:51am On Nov 25, 2011
I misread your post and didn't see that tick next to (a'b). I also didn't realize that you are using (+) to denote xor. . . whoops.

So F(a,b,c) isn't as I described (isn't just xnor(blah) or c).

Simplifies as:
F(a,b,c) = [ab' (+) (a'b)']' + c
= [ab' (+) (a + b')]' + c

Off the top of my head I don't know how to simplify the expression in [] as a function of a and b.

But you can just try all 4 pairs to produce a truth table. From that you'll be able to figure out what the inner function is doing.

My truth table looks like this:
a | b| [ab' (+) (a'b)']'
0 | 0 | 0
0 | 1 | 0
1 | 0 | 1
1| 1  | 0

If this table is correct (which you'll need to double check), then this tells us that

[ab' (+) (a'b)']' = ab'

So F(a,b,c) = ab' OR C.

Anyway from this you should be good to go. . . hopefully you see the general pattern for solving these problems.

Again, double check that I haven't made any mistakes here and am interpreting your question properly.
PoliticsRe: Why Do Nigerians In Diaspora Refer To Nigeria As Africa? by ektbear: 9:40am On Nov 25, 2011
First two are questionable, third is fine.

E.g., "African day" at Nigerian churches like RCCG (one sunday a month where people wear traditional.)

It depends on the context.

It isn't like Africa is a sexier brand than Nigeria. So not much gained by embracing the former and denying the latter.
PoliticsRe: Why Do Nigerians In Diaspora Refer To Nigeria As Africa? by ektbear: 9:35am On Nov 25, 2011
Which one are they doing? Mixing up nigeria and africa, or calling themselves africans?

Like, be more specific about what the issue is.
PoliticsRe: Why Do Nigerians In Diaspora Refer To Nigeria As Africa? by ektbear: 9:23am On Nov 25, 2011
I don't even understand this question.

Refer to Nigeria as Africa? Like, mix up the two?

Or refer to themselves as Africans (rather than specifically Nigerians)?
ProgrammingRe: Logic Help by ektbear: 8:59am On Nov 25, 2011
What do you mean by solve?

Anyway what you have is:

F(a,b,c) = XNOR(a,b) OR c

So you want to use F(a,b,c) to make AND(a,b), XNOR(a,b), etc?

Well making XNOR is easy, you just set c to 0. You should probably work the rest by yourself, though.
ProgrammingPhp Challenge: External Authentication Of Phpbb3 by ektbear(op): 7:13am On Nov 25, 2011
Hi,

Here is a task that I'd like to see done.

Phpbb3 is a pretty popular forum software written in PHP. With many online forums (e.g. Nairaland), you must create a separate account if you want to post.

However these days, people are moving towards more open authentication systems, in which all you need is say a Facebook, Twitter, or Google account to post on a forum.

The nice thing about authenticating against Facebook/Twitter/Google rather than your own in-house system is that it means more people are likely to participate in using your site.

Fortunately Phpbb3 is architected in a way that it is easy to write authentication modules. There are in fact instructions here (http://wiki.phpbb.com/Authentication_plugins) for writing an authentication module. It is basically just a php script with five required functions.

Anyway, in a nutshell, what I would like to see is the following 4 scripts:

[list]
[*] auth_twitter.php
[*] auth_facebook.php
[*] auth_google.php
[*] auth_jabber.php
[/list]

So let's walk through what the requirements will look like if you wanted to write auth_twitter.php. You'd need to:
[list]
(1) head to the twitter developer website (https://dev.twitter.com/docs/twitter-libraries#php)
(2) choose one of the PHP Twitter API libraries there,
(3) Figure out how the library you choose takes care of authentication
(4) Then implement the 5 functions required by PHPBB3 for auth_twitter.php (again, as described here: http://wiki.phpbb.com/Authentication_plugins). From my quick glance at things, it looks like the bulk of the work will be in this login_method() function that PHPBB3 requires.
[/list]

While my description of this problem may seem a bit daunting, I actually don't think it would take too long to do. Just would require familiarizing yourself with a few new technologies/libraries and writing a bit of code.

My guess is that it would take a maximum of say 7-10 hours to write auth_twitter.php. I expect that many could do it in far less time (5 hours or even just 2 or 3.)

There would be additional time needed to write the other modules, but I imagine that once you write one, the others become very simple to write also.

If you have any questions about this task, let me know. And if you are actually serious about getting this done, email me (my email is in my profile) and offer me a price quote (I'm actually primarily interested in the auth_jabber.php module, but certainly would find the others valuable as well.)
PoliticsRe: Boko Haram Withdraws Holiday Cash In Triple Bank Raid by ektbear: 5:36am On Nov 25, 2011
These guys (SW governors) imo need to start buying tanks, apcs and training militias of their own.

Perhaps invite the Israelis and Americans as consultants, have them investigate the matter.

If someone is sending snipers at you to rob a bank, then it isn't ordinary armed frikkin robber. May not even be Boko Haram alone. Sounds like foreign organization of some sort.
PoliticsRe: Boko Haram Withdraws Holiday Cash In Triple Bank Raid by ektbear: 7:45pm On Nov 24, 2011
3, nearly 4 banks robbed like that?

More firepower than local police + vigilante group + bank security?

Sounds nuts.

Whoever it is, I think at this point the state needs to step in and take it seriously.
ProgrammingRe: Web Application Development Contest: Jajad Wins by ektbear: 2:46pm On Nov 24, 2011
I guess it'd be easier to find naija developers to hire if I'd picked php or something undecided

Oh well
PoliticsRe: Raji Fashola Vs Musiliu Obanikoro by ektbear: 7:49am On Nov 24, 2011
lol
PoliticsRe: No Education, No Development : Sultan To 19 Northern Governors by ektbear: 7:45am On Nov 24, 2011
North central isn't do that much worse than the south, to be quite honest. At least from the data I've seen.

So not sure it makes sense to lump all 19 northern states together.
PoliticsRe: Let's Have Your Complaints Here by ektbear: 7:38am On Nov 24, 2011
Beaf: Dude, man the fvck up. Stop being such a little b1tch.

Jesus, this is pathetic.
PoliticsRe: Gbenga Daniel Stole ₦84b From Ogun State Coffers - Gov. Amosun by ektbear: 2:53am On Nov 24, 2011
I honestly don't give a damn about OGD any more. My question is, is Amosun the man who can start Ogun State on the path towards achieving its potential?

I am starting to think that the answer to this question is no.
PoliticsRe: As The Red Sea Divided So Is Enugu Dividing From Onitsha (pictures) by ektbear: 2:17am On Nov 24, 2011
wow
PoliticsRe: Gbenga Daniel Stole ₦84b From Ogun State Coffers - Gov. Amosun by ektbear: 9:45am On Nov 23, 2011
naijababe:
Amosun, quit talking and start working. There's no one in Ogun State who does not know already that Dani Elebo is worst thing that happened to the state in recent times.
+1
PoliticsRe: Why Doesn't Seun Ban Tribalists From Nairaland ? by ektbear: 9:23am On Nov 23, 2011
mbulela:
tribalism pulls traffic.
painful truth.
+1

simple as that
BusinessRe: CBN Devalues Naira, Holds Interest Rate To Spur Growth by ektbear(op): 9:20am On Nov 23, 2011
Isn't my title man. Just a c/p of the article.
PoliticsRe: Lagos Population Now Thought To Exceed 20 Million by ektbear: 9:11am On Nov 23, 2011
homerac7:
@ dapo_bear

I hav no document to cite here right now, I only speak from my first hand understanding of d place. It's not abt who receives d port charges, but d fact dt over half of industrial activities in d state is due to location of d port. About half of all d industrial estates r located around apapa and along d apapa express. The effect resounds wt busier international airport and other allied business, hence its very very safe to claim dt over 40% of d economic activities is due to port location.

Consider dt ondo is also a neighbouring state, ask y isn't it half as industrialized as Ogun state? Simple, access to port through two major arteries of lagos-ibadan and agege-ota-abeokuta express ways, whereas ondo has no direct access to d port.

Now u see that where d vultures gather is where d carcass is. Consider that there r more deep sea port and.inland river ports along Benue and Niger, don't u think many business would also move along since d "compulsion" to stay around lagos is reduced/removed?
Doesn't make intuitive sense to me and I doubt the data backs it up, but who knows. Maybe you are right.
PoliticsRe: Can Nigeria Become A Developed Country? by ektbear: 3:10am On Nov 23, 2011
Err. . . ain't holding my breath on it, lol.

It will take a long time to even become a middle income country like China.

Let alone a "developed" country.
ProgrammingRe: I Need To Learn Algorithms by ektbear: 10:10pm On Nov 22, 2011
Lmao @ number theory before taking algorithms

Ya'll are high as a kite.

Abeg, this discussion is getting ridiculous.

As a guy who actually majored in math in college and took # theory, I can damn well tell you that almost none of it is needed for basic data structures and algos.
ProgrammingRe: I Need To Learn Algorithms by ektbear: 8:42pm On Nov 22, 2011
Oh like discrete math for CS undergrads?

OK so it is required for most 4 year degrees in CS.

But most institutions have sort of a first course in DS+algorithms course and then an "introduction to cs theory" course afterwards.

And generally the discrete math course isn't a requirement for the first course on DS+algos. Or if it is, it is a soft requirement, not a strict one.

The first course, honestly there is a lot of overlap between it and AP Computer Science that many folks took in HS (I took this course myself actually.)

OP's goals are somewhere between AP Comp Sci and the first course, not the second course.

Therefore, the mathematical preparation he needs isn't that high.
ProgrammingRe: I Need To Learn Algorithms by ektbear: 8:29pm On Nov 22, 2011
Which algorithm that one sees in a basic course or say at the interview level requires a ton of math to understand. . . ?

Honestly most of them use fairly elementary techniques, but just do things in a clever way.
ProgrammingRe: Web Application Development Contest: Jajad Wins by ektbear: 8:15pm On Nov 22, 2011
If anyone knows Rails 3.0 (actually, even an older version is fine, won't take you long to get up to speed) and is interested in working on a project of mine (for money of course), please let me know.

Basically it is too much work for one man, so I need to farm out some of the labor.

It appears Jajad is a fairly busy man these days and doesn't have time, hehe grin

My contact information is in my profile.
BusinessRe: CBN Devalues Naira, Holds Interest Rate To Spur Growth by ektbear(op): 7:42pm On Nov 22, 2011
Devaluation could boost growth in a country like Germany that makes stuff. Or China.

But a country that makes nothing like Nigeria, will not help.

1 2 3 4 5 6 7 8 ... 227 228 229 230 231 232 233 234 235 (of 485 pages)