Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,199,897 members, 7,973,068 topics. Date: Saturday, 12 October 2024 at 07:46 AM

Haj57's Posts

Nairaland Forum / Haj57's Profile / Haj57's Posts

(1) (2) (3) (of 3 pages)

Jokes Etc / Re: Show us how good and creative you are with your use of words... Fun all the way by haj57(m): 10:40pm On Feb 25
Trouble looms if the current economic quagmire persists.
Programming / Help! "Internal Server Error" For A Football Match Prediction App by haj57(m): 6:08am On Jul 26, 2023
I am developing a football match prediction app in python/django.

views.py has 3 major functions: def (matrix) generates random numbers using "secrets" module of python. The numbers are validated with an algorithm which returns either "valid" or "invalid". If valid, the next function is called, otherwise, new set of random numbers are generated.

def (sincerity) checks whether the match is actually scheduled. An algorithm returns either "sincere" or "Oops! We detected an error ..." If sincere, the next function is called, otherwise, user gets a response in frontend "Oops! We detected an error ..."

def determine_winner(home_team, away_team) uses 5 algorithms tagged formula 1, formula 2, ... formula 5. A summary of the 5 formulae returns "home team will win", "away team will win", "it will be a draw" or "sorry, we cannot determine match winner".

These steps make up the function, def process_form (request).

When I submit request, instead of getting the desired response, I get "Internal Server Error: /process_form/". Note that app is yet to be deployed to a live server.

Internal Server Error: /process_form/ 
Traceback (most recent call last):

File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response

File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)

File "C:\Users\User\PycharmProjects\Prof\prof\profapp\views.py", line 1031, in process_form
sincere = sincerity()

File "C:\Users\User\PycharmProjects\Prof\prof\profapp\views.py", line 567, in sincerity
r1c1, r2c1, r3c1, r4c1, r1c2, r2c2, r3c2, r4c2, r1c3, r2c3, r3c3, r4c3, r1c4, r2c4, r3c4, r4c4, \
ValueError: not enough values to unpack (expected 64, got 7)


Files with errors are in: github . com / hajimlimas / www (remove spaces)

Thank you.
Webmasters / Re: HELP: Nigerian Hosting Companies Are Set To Ruin My Life by haj57(m): 6:57am On May 21, 2023
Try PHILMOREHOST.
I am not the owner. Just a happy client.
Webmasters / Server Error On CAC Portal When Linking NIN by haj57(m): 11:49am On Mar 16, 2023
Please if you have registered a company on CAC portal before, how do one go about linking Articles of Association Witness NIN? The portal keep saying Server Error.

1 Like

Programming / Re: My Job Hunting Experiences As A Junior Developer So Far by haj57(m): 6:39pm On May 13, 2022
TheManOfTheYear:

My interview was great. I'd rate it 8/10.

I was already in the meeting room online about 5 minutes to the start of time. The first question was the usual "tell us about yourself and your background".

I gave a brief narration about my work experience so far, (didn't let them know they were internships), also talked about some of my technical writing experience.

At this stage, I quickly chipped in on some of the open source works I've done. The CTO guy immediately developed keen interest when I mentioned open source.
I've actually been doing some beginner friendly open source contributions on GitHub. Both in code and in technical writing. The guy seemed to love that fact.
I made sure I use that moment to shine.

He asked me to show some of my open source contributions on GitHub, which I did.

Now, after about 30 minutes of chit chats, it was time for some technical rounds.
Unexpectedly, it was my projects on GitHub they decided to use to fire me questions.

They went through my different code on GitHub and ask me questions. For example, the guy would enter a file and see a block of code somewhere, he would ask me to explain what the code was doing. Why I used that approach instead of another approach (which he would mention).

Omo me wey don forget why I write some code sef grin
However, I would do my best to explain to the best of my memory and knowledge.

I made sure the interview was as communicative as possible. I expressed myself a lot.

So after one hour, they finally relaxed me.
Now it was time for me to ask them questions. So I decided to ask about their product. What their product really do and what the aim was in the near future.

So yeah, interview process differs, the main thing is to give them a reason to employ you.

But as for DSA, well, that's different lol.
Not all companies use DSA, that must have been a very high paying job role.

They gave me a specific time they'd get back to me, so fingers crossed. grin

BEST OF LUCK

4 Likes

Webmasters / Re: Problem Paying $25 For Google Developer Account by haj57(m): 6:30pm On May 01, 2022
Use EYOWO. Download the app. Credit your account in Naira. Then convert the amount to USD. Though the exchange rate is high. I don't know the exact rate now. Used it about 2 years ago to pay for Facebook ad.

eyowo dot com
Programming / Re: Best Internet Subscription Plans. by haj57(m): 10:27pm On Apr 06, 2022
Try Airtel. Normal sim data, not mifi.
Dial *141*242# and select your desired option. You can get 6GB for N1000.

1 Like 1 Share

Webmasters / Re: A Url Question by haj57(m): 2:16pm On Apr 03, 2022
As stated above, you need to own both urls. Then make the unwanted url redirect to the desired url. There are 4 ways to do that. Via cpanel, HTML Meta tag, using PHP and using .htaccess.
Webmasters / Re: Google Adsense Earnings by haj57(m): 2:10pm On Apr 03, 2022
Jess99:

Thank you. Are you able to see the card Account through online banking? I think I'll just ask them in person because they didn't tell me anything about a card, yet took my 10$

Webmasters / Re: Google Adsense Earnings by haj57(m): 12:10pm On Apr 02, 2022
Veiniously:
I used my gt naira account on my AdSense does this mean I won't be able to get my money?

You will get the money but will be converted to Naira using official rate which is usually lower than what aboki will give. Check https://www.google.com/search?q=dollar+to+naira for official rate.
Webmasters / Re: Google Adsense Earnings by haj57(m): 12:02pm On Apr 02, 2022
Jess99:

Thank you. Are you able to see the card Account through online banking? I think I'll just ask them in person because they didn't tell me anything about a card, yet took my 10$

Yes. You can see it.
Webmasters / Re: Google Adsense Earnings by haj57(m): 11:40pm On Mar 31, 2022
Jess99:
Is it true that a GT domiciliary account takes 10 $ annual maintenance fee? With no debit card on the account.

There is a difference between GTB naira account and Dorm account. The former has a debit card connected, so funds can be withdrawn with the card. On the other hand, when you open a Dorm account, GTB will open two accounts for you. One, the Dorm account and two, a USD debit card account. Funds received in the dorm account can be accessed via:

1. Withdrawal over the counter. As someone above me said, they give you USD. You go find aboki to exchange.
2. Transfer the funds to your card account via mobile app or internet banking and use it online or withdraw cash from ATM if the ATM dispenses USD otherwise you incur extra charges.
3. Sell the USD to the bank. There is a FX EXCHANGE section in their internet banking platform. Input how much you want to sell and the system will display the amount you will get in NGN. But you need to have a NGN account with the bank where the fund will be deposited. This is useful when you have funds that may be difficult to withdraw over the counter like $37, $55, etc. Note that the exchange rate is far lower than aboki rate. About N414 to $1 sometime ago.

So, answering your question directly, yes. GTB charges $10 card maintenance fee per annum since there is a card account opened by default provided the card is active. If it expires and you do not apply for renewal, no charge is incured.

2 Likes 1 Share

Webmasters / Re: What Is The Solution To 403 Forbidden On My Website by haj57(m): 9:25am On Mar 26, 2022
Double check the specifics of your hosting plan. Chances are that your plan is restricted from accessing that feature. Upgrade your plan to a higher one.
Webmasters / Re: 3 Major Reasons Why You May Consider Nigerian Webhosts by haj57(m): 8:25am On Mar 26, 2022
With current $20 limit most banks have enforced on Naira debit cards, your first point is true.

As regards support, Arvixe and Fastcomet I have used have topnotch live chat 24/7.

There is a culture that most of us in Nigeria have not yet learnt. Separating business from personality. When Steve Jobs died, did Apple stop producing iPhones? If Zuckerberg die today, will FB go offline? Most Nigerian web hosting companies are owned and operated by individuals with a few employees who have limited access to core admin features. If the founder kpai, what is the guarantee that your websites will not be in jeopardy? I have used a few local hosts like Philmore host and Web4Africa and they were good. But the above personal reason make me prefer US hosts.
Webmasters / Re: Who Can Design A Responsive Blog Live Tooxclusive With Blogger by haj57(m): 8:01am On Mar 26, 2022
collinslinkis:
who can design a responsive blog like tooclusive with a PC and mobile version using blogger pls drop ur number or email address

Why are you passionate about blogger? Tooexclusive is built with WordPress.
Business / Re: Share Your Worst Experience About Online Businesses That You've Done Before. by haj57(m): 10:18am On Mar 25, 2022
Spent over 75k promoting a clickbank product. Got hundreds of clicks but no single sale. The saving grace is that the Facebook ad account is a USD post-paid, I just dumped it. However, in the process, I learnt the nitty-gritty of FB ad.
Romance / Re: I Am Having A Problem With My Girlfriend. by haj57(m): 5:21pm On Mar 24, 2022
Calm down bros. After marriage, the flare will decrease. You could turn your backs on each other for weeks.
Technology Market / Re: Facebook Page On Personal Finance/make Money Niche With 923 Likes Up For Sale by haj57(m): 2:32pm On Mar 23, 2022
Available
Jobs/Vacancies / Re: Citibank 2022 Analyst Assessment Test by haj57(m): 1:52pm On Mar 23, 2022
Good luck
Technology Market / Re: Facebook Page On Personal Finance/make Money Niche With 923 Likes Up For Sale by haj57(m): 2:02pm On Mar 20, 2022
Still available.
Technology Market / Re: Facebook Page On Personal Finance/make Money Niche With 923 Likes Up For Sale by haj57(m): 2:32pm On Mar 19, 2022
.
Politics / Re: Governor Soludo's Day 1 In Office: Visits Okpoko, Upper Iweka, Others (Pix) by haj57(m): 4:19pm On Mar 18, 2022
GuyWise101:
Nna mehnnnnnnnnnnnnnnnnnnnnnnnnnnnn

Hope this is not the initial gra gra with every new governor. angry

Confirmed gra gra
Technology Market / Facebook Page On Personal Finance/make Money Niche With 923 Likes Up For Sale by haj57(m): 4:11pm On Mar 18, 2022
https://facebook.com/thenextmillionaire.info is up for sale

It can be used to advertise financial related products and services to those who like the page and their friends.

Created on 26 August 2020

Price: 8k

If interested, visit the page and drop a message.

Webmasters / Re: Rate The New Website I Am Building by haj57(m): 3:46pm On Mar 18, 2022
Rating will be more constructive after you are 80 to 90% done.
Webmasters / Re: How Do I Fund My Facebook Ad Account by haj57(m): 12:05pm On Mar 17, 2022
Is the ad account in NGN or USD?
Crime / Re: Hushpuppi Still Committing Internet Fraud In Prison; Stole $429,800 - U.S by haj57(m): 12:00pm On Mar 17, 2022
See talent.

He should be hired as a consultant by NFIU.

1 Like

Career / Re: See Someone's Salary In Kogi State - Photos by haj57(m): 3:47pm On Mar 11, 2022
And the guy wants to be President. Minimum wage will reduce to 10k.
Romance / Re: Ghanaian Man Shares Photos Of Women He's Been Sleeping With & Gifts He Gave Them by haj57(m): 11:09pm On Mar 09, 2022
Tomorrow now one of the girls go commit suicide. Ontop 500 cedis. How much is that again in Naira?

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