₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,374 members, 8,450,018 topics. Date: Wednesday, 22 July 2026 at 04:51 PM

Toggle theme

Oahray's Posts

Nairaland ForumOahray's ProfileOahray's Posts

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

RomanceRe: Most Girls That Post Bible Related Stuffs On Their Status Are Confirmed Flirts by Oahray: 8:03am On Sep 24, 2016
Hypocrisy is not a girl thing. It's a human thing. You'd be surprised what many male pastors do in secret.
EducationRe: OAU Female Student In Batman Outfit (Photo) by Oahray: 4:43pm On Sep 23, 2016
Batman outfit? Seriously? lipsrsealed
ProgrammingRe: Andela Nigeria Fellowship (FEMALE ONLY) Cycle XVII by Oahray: 1:08pm On Sep 22, 2016
Hmmm... Ladies are enjoying sha. Nobody dey beg men with opportunities like this anywhere in the world.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 7:46am On Sep 20, 2016
kayor123:
Guys i am stuck please help me out
bros you raised ValueError everywhere except where it matters. You have to make sure that the input for number of repetitions (times) is an integer. From the result, you failed to do that. If you aren't sure how to use try-except, stick with if-else.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 7:37am On Sep 20, 2016
Burburj:
I av done that but i got this instead....still dont know how to put in dat exception in the code
 
if your_condition:
raise ValueError("Your error statement" )
else:
# remaining code
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 6:50pm On Sep 19, 2016
Burburj:
i changed to chrome now and its working, but i dont know wat the error in my code is, its saying i have a bug in my code. pls help me look it it. Thanks
Remove the space between your 'isinstance' and the parentheses containing the arguments.

Also remove the print statements from your code, they are unnecessary since you weren't asked to print. You can use the print statement for debugging purposes, but delete before submitting.

Edit:
oh... Alright.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 5:41pm On Sep 19, 2016
Burburj:
thanks boss...
but dis is anoda lab that i wrote and this is the error i keep getting no matter what i type as my solution.
log out and log back in. Your session was probably not initialized properly. A persistent 'bin/sh not found' error is no fault of your code.

What browser are you using?
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 3:42pm On Sep 19, 2016
Burburj:
HHHHHEEEEEEEELLLLLPPPPPPPPPP>>>>>>>>>>>>> HELP
please is there any solution to this error i keep getting when ever i try to test or submit my ds labs.......
your code has obvious errors.
1) input is int would always give you False in python. You should use the type() function.
2) the print statement is unnecessary
3) you returned a string instead of raising an error.
4) you did not loop over the dictionary contents.
Can't see the rest of the code.

Raise your game bro, you are competing for an interview invite, against better prepared persons.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray:
amamazzing:
What's the right way to iterate over dict values. My code runs on idle
did you run as unittest with the test cases on proctor?

Your method is fine, you can also loop over dictionary keys first using the .keys() method, then get each value with the key. ie

# pardon my indentation.
# after if statement to ensure staff is a dict

for oga in staff.keys():
. if type(staff[oga]) is (int or float):
. . #your remaining code
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray:
amamazzing:
.
sorry I didn't see this earlier. It doesn't look quite right... Your for-loop coming before your if-statement. If you pass in an int as 'staff' instead of a dict, the program would try to loop over it at that for statement, then realize it's an int which isn't iterable and you'd get a TypeError. Let the if isinstance() come before the for statement. Then...

You want staff to be a dict, but you seem to be treating it like a list/str/set. Em... Can I see the instructions?
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 5:10pm On Sep 14, 2016
amamazzing:
THERE IS AN ERROR/BUG IN YOUR CODE
Results:
Internal Error: runTests aborted: TestOutcomeEvent(handled=False, test=, result=, outcome='error', exc_info=(, TypeError("'int' object is not iterable",), ), reason=None, expected=False, shortLabel=None, longLabel=None) is not JSON serializable


please how do i eliminate this. Code runs on idle
your code accepts an integer in a testcase as input. An integer cannot be looped over, that's why the TypeError.

Try to include a conditional statement. Like if it's not a dictionary, no gree! Do so and so (depending on what you are asked)... else, continue with the remaining code
PhonesRe: Photos: #kenyavsGhana Kenya And Ghana Fights On Twitter by Oahray: 10:40am On Sep 14, 2016
Babangida70:
grin see Ghanaians shoe too
it's fine sha smiley
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 7:55pm On Sep 13, 2016
realowded:
@Oahray

Mehn, it's frustration. I keep getting error running your script and am sure my code is fine cos I tested it on CLI.
has it passed the visible tests on the Proctor? If it has but keeps showing that error message (but not test spec failure) when trying to submit, confirm that there's no part of your code that could cause it to terminate prematurely when tested with strange test cases (for example, don't raise exceptions unless you are asked to). See if there's anyway you can fine-tune your algorithm to reduce runtime. Reload the page and keep trying to submit. It would eventually go through if it satisfies all test cases.

I might be wrong, but I think the frustration is part of the selection process. They want those who would keep trying no matter what.

You can also mail Andela, but don't expect to get anything more than "study your curriculum harder and keep trying." That's if you get a response that isn't automated.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 12:07pm On Sep 13, 2016
koderNeptune:
Please Guys,

I have been running codes on the Lab and the error i get is "Error running script". I am not sure if the problem is with my code or with andela.

I know the lab wont accept code that is not correct but when i did the Movie Lab, despite the fact that i got "Error running Script", yet it submitted and i cant risk doing the same process with other Labs.

Pleas where do you think the problem might be, and please i will love to join the group created.

Thanks
if it passed when you tested and, on submitting, it didn't say "your solution failed to pass all the tests," keep trying to submit. If it failed any of the tests, it would have been stated.
Foreign AffairsRe: Head Of Russia's Anti-corruption Agency Is Found With $122M In CASH In His House by Oahray: 11:06am On Sep 12, 2016
hahn:
Exactly grin
but na one bundle at a time na. Ok, maybe more... tongue
I no go pack am like this Russian bros sha.
Foreign AffairsRe: Head Of Russia's Anti-corruption Agency Is Found With $122M In CASH In His House by Oahray: 10:58am On Sep 12, 2016
Explorers:
Nobody holy pass. In a country where they've recovered loots/stolen fund, those who recovered it will and steal from it again.


"Ole ji, ole gbaa"
lol. yeah, an unending cycle. To think some of us wey never touch that kind money before go dey defend them with our small internet data.
Foreign AffairsRe: Head Of Russia's Anti-corruption Agency Is Found With $122M In CASH In His House by Oahray: 10:49am On Sep 12, 2016
hahn:
But you will not stay content for very long because you will deplete the funds on frivolities. Then you have to go back for more tongue
baba, I no get frivolities to deplete the funds on o. I no dey gamble or drink or carry woman. cheesy

Ok, I might squander it on tech gadgets sha. First stop, the complete VR and 3D animation workstation of my dreams and standby solar power.

Then think of how to get another bundle grin
Foreign AffairsRe: Head Of Russia's Anti-corruption Agency Is Found With $122M In CASH In His House by Oahray: 10:30am On Sep 12, 2016
Chai! sad

Gimme just one bundle there, and I'd walk away content.

These people pretending to fight corruption are often worse than the people they condemn.
Jobs/VacanciesRe: Andela: IT Training And Job by Oahray: 6:42pm On Sep 11, 2016
Lol. You guys are funny. Andela wants people who are passionate about software development, who can learn fast and who can learn on their own. Doesn't matter if you are a novice, if you truly study the homestudy pack and do the codecademy tutorials, you'd get the hang of it. If it's just another job opportunity for you, don't bother. You'd end up frustrated.

The labs have two types of tests... A visible test and an invisible/hidden test.

If you have bugs in your code, read the last line of the debug message. You'd see where you made a mistake. You could also post the code here so others can help you debug. In the long run, it's better you do it yourself though.

Else if your code fails any of the visible tests, read the instructions carefully and check the tests tab to see what they are testing for.

Else if your code passes the visible tests but on submitting, you are told that if failed to pass all the tests, it's because there are hidden tests too. Read the instructions over and over again and fine-tune your code till it is accepted.

Else if you are simply told that there was an error running your script, then it's the Proctor/your network. Keep trying to submit.

PS: Before you ask, I'm not in Andela.
CrimeRe: Lady Was Given Indian Hemp And Raped After In Lagos (pic) by Oahray: 7:26am On Sep 11, 2016
There's no justice in Nigeria sad
RomanceRe: Some Men Are Fools. Rape Can Never Be Justified! by Oahray: 9:24pm On Sep 10, 2016
joseph1832:
Believe me when I tell you some might still pretend. As you know some girls have first class degree in pretending. grin
most girls, I dare say cheesy She could try, but it would be like a chameleon trying to change color to fool the crowd of humans already surrounding it.
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 2:53pm On Sep 10, 2016
Chrysz:
Ooh! U ar very ryt bt i cn feel ur pain. Sorry bro
lol. What pain? That Pep silenced noisy Mourinho? Or that Kelechi is proving himself?

Barca fan here. I wish the game had a bigger goal margin.

I actually want to see Pep beat Mourinho 5 - 0 again cheesy
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 2:45pm On Sep 10, 2016
ipledge10:
bro I concur grin... Overhyped garbage full of sh!t ... Waiting for them at Stamford bridge
Bros no think am say if City fit do am den Chelsea go fit o. Man Utd go likely beat una.
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 2:39pm On Sep 10, 2016
Chrysz:
Now 8 victories for Pep, 1victory for Jose nd 6drew btw them.
3 victories for Mou. One copa del rey final, one laliga match and one Supercopa match, if my memory serves me right.
RomanceRe: Some Men Are Fools. Rape Can Never Be Justified! by Oahray: 2:32pm On Sep 10, 2016
joseph1832ng:
Still the same, state the terms of your relationship, to avoid unnecessary headaches.
yeah, being straightforward is the mature path. That way the other party can't pretend she doesn't know where the budding relationship is going.
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 2:24pm On Sep 10, 2016
Who still thinks Pep isn't a better coach than Mourinho?
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 1:55pm On Sep 10, 2016
fflamingo:
you all blaming bravo shud realise he is playing his first England football. and facing a team like man united..
who be Man Utd? Bravo wey don face teams like Real Madrid and Bayern? He's just adjusting to the EPL, and there's pressure on him to be better than Hart.
RomanceRe: Some Men Are Fools. Rape Can Never Be Justified! by Oahray: 1:28pm On Sep 10, 2016
joseph1832ng:
In a competent court of law, such a man might be asked to pay for damages, as his intention weren't pure from the onset.
I can bet 5 million out of my future millions that he wouldn't be penalized in any law court. grin

He could easily claim he had good intentions, but it just didn't work out. No be by force to marry person. Deceit is wrong but not every deceit is punishable by law. Even for the ones that are punishable, we still owe it to ourselves to avoid being victims if we can.

At times we can only pick ourselves from the ground and learn our lessons.
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 1:20pm On Sep 10, 2016
Hart would smile at that Bravo blunder grin
European Football (EPL, UEFA, La Liga)Re: Manchester United Vs Manchester City (1 - 2) On 10th September 2016 by Oahray: 1:12pm On Sep 10, 2016
Iheanacho 1 goal, 1 assist. At this rate, this guy would turn out to be a great footballer.

Abeg make una thrash Mourinho team for me grin
RomanceRe: Some Men Are Fools. Rape Can Never Be Justified! by Oahray: 1:05pm On Sep 10, 2016
joseph1832ng:
Of course she will. She will see herself as being smart and sharp, while the guy who dull and stupid_.

For me, I always state my terms, if you tell me no sex, it's no big deal, the day you come asking for money, I tell you "no money" as my money isn't free! Because I no resemble philanthropist.
better this than forcing her and painting men slaves of their own hormones.

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