Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,698 members, 7,805,872 topics. Date: Tuesday, 23 April 2024 at 07:40 AM

Bedfordng's Posts

Nairaland Forum / Bedfordng's Profile / Bedfordng's Posts

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

Programming / Re: Send All Django-python Bug Or Problems Here.(django Mentorship Class) by bedfordng(m): 10:27pm On Oct 12, 2021
DeLaker:


You can write a view to override the login view search how to, on the OTP models they’ll be a Boolean field set to false by default so it’s after the OTP has been verified before redirect can be triggered successfully else revisiting admin URL should redirect back to the OTP form page.
oh, I get it.

Although still can't find reasonable resource on overiding the admin login view as most of the write-up is only talking about the form. No details on overiding the view file.
Programming / Re: Send All Django-python Bug Or Problems Here.(django Mentorship Class) by bedfordng(m): 2:24pm On Oct 12, 2021
DeLaker:


In the user_logged_in signals, you can filter the user instance if it’s is_superuser then send OTP, and also you’ll have to override the admin login view to redirect to the OTP form on successful login instead of redirecting to the admin page… this should work.
now I get the point. The issue here is messing around with the admin login view.

I am finding it hard to locate this admin login view in Django files. That is where the problem is right now.

Also, you made mentioned of redirecting to OTP form on successful login. Doesn't this create a bug in the system if the user is giving a login session before displaying the form.

They can easily just revisit the admin URL if they noticed they have login session already.
Programming / Re: Send All Django-python Bug Or Problems Here.(django Mentorship Class) by bedfordng(m): 11:39am On Oct 12, 2021
DeLaker:


You can use Django user_logged_in signals and create app to generate OTP then call the create or update model in the signal then send the instance OTP via twilio or email…
please note that the OTP setup will only be for admin login panel. Not all user. So how can this be implemented for just the admin URL so admin gets the OTP which must be inserted before login will be accepted.
Programming / Re: Send All Django-python Bug Or Problems Here.(django Mentorship Class) by bedfordng(m): 11:24am On Oct 11, 2021
OLisaMacaulay:

 
Nice to see this. Want to ask. Do you have idea on adding sms OTP to Django admin login. Any idea is welcome. Note that there is google Auth package but that is not what I needed. So if you have an idea on this, you can mention

1 Like

Programming / Re: If You Want To Be A Great Programmer, Stop Asking For Source Codes by bedfordng(m): 9:10am On Oct 05, 2021
CodeArtist:
There are so many people once they see something amazing and great, the first thing they do is ask for the source codes.
If you really want to be great in what you do, examine the output, try to picture the codes in your mind then try in every way you can to create something like or greater than what you have seen
The source code won't impact anything in your learning skill,instead it makes you lazy
Have a creative mindset, think of crazy ideas , google what certain codes are used for and how they are used then try creating something with it. Believe me you would be 90% better than you were before. It also helps you easily remember every codes that you have ever used
Don't Learn with source codes,it doesn't help
https://youtube.com/channel/UCizop2InXoW_j5pWhOT5G_g
this is where you got it wrong. Asking for source code doesn't really mean using it at times. There is a lot to learn from someone source code to be better programmer.

Some YouTube video will not teach you what you may find in some source code. That is an hidden gem for developers to learn new and clean coding style.

Source code is one of the hidden weapon for developers to use to find something something new to learn.
Programming / Re: Validation Statement In Python by bedfordng(m): 11:26am On Oct 01, 2021
octaflav:
Write a python code or algorithm that validate a student Reg No. It must start with two letters followed by four digits example : CK1234.

An error will be flagged If a user enters an input that is not within the specified conditions.

Kindly help me out with this.

This should help

while True:
regn = input('enter reg nunber: ').strip()
print(regn[:2], regn[2:])
if regn[:2].isalpha() and regn[2:].isnumeric() and len(regn) == 6:
print("beta pikin"wink
break
continue
Business / Re: BVN Fraud: My Encounter With Fraudsters by bedfordng(m): 9:42am On Oct 01, 2021
ojesymsym:
I still don't get it. I don't do all these loans stuff, I non de bet... My BVN is almost always submitted to only financial institutions.
it's very easy to get by replacing 1 number with the one they have. imagine you have a phone number, if I remove one number and replace with another , it becomes another person's number. So they can use it to check and if it goes through, then they will contact you with the details there.
Programming / Re: Python Couldn't Install On My Laptop by bedfordng(m): 6:44pm On Sep 17, 2021
If you are using windows 7, latest version of python requires windows 10. So try the older version of python and see. Better still, like what someone had said, download the Microsoft redistribution to update your dll
Programming / Re: Can you please suggest some Php projects for a final year student. by bedfordng(m): 4:19pm On Aug 28, 2021
Just think of problem solving project either for business use or utility.

Library management system, school management system, hospital management system, sales/stock management system, hotel management system etc. You can as well do Google search for more .
Programming / Re: As A Python Developer, Which IDE Do You Use? What Do You Think Of Pycharm by bedfordng(m): 5:54pm On Aug 19, 2021
Go to YouTube and search for denisivy, watch his video tutorials on django
Programming / Re: As A Python Developer, Which IDE Do You Use? What Do You Think Of Pycharm by bedfordng(m): 2:03pm On Aug 18, 2021
Pycharm best for pure python programming but for stuffs like Django and flask not good since you have to work with both html, CSS and javascripts languages especially if you love working with auto-complete intelisense syntax from the ide on Django, flask,CSS, html, JavaScript. Pycharm doesn't go well with them
Programming / Re: My Python Journey by bedfordng(m): 8:57pm On Aug 13, 2021
SqueezedPant:
Finally found a way to download all Udemy videos for python tutorial.
I'm done downloading so I'm starting my python journey today.

wish me luck. wink
like someone has rightly said, python is vast so you have to find a niche to dwell on, either web or software using the various frameworks available as you may get tired of just running codes on terminal alone. It all start from writing hello world.

Also with python, it gives you the ability to automate lots of task with few lines of codes. guess by now you should have gone far with your learning curve

1 Like

Programming / Re: How Does Airtime And Bills Payment Apis Work For Fintechs Integration? by bedfordng(m): 12:12pm On Jul 17, 2021
You have to fund the wallet and then use their API on your portal. So when users buys from you, it directly connects to the API. So your API charges you while you charge your customer your own price different from what your API charges

1 Like

Programming / Re: A Thread For Tutorial On Python Programming by bedfordng(m): 1:31pm On Jun 30, 2021
abatechz:
If you find mastering the code difficult, try the GUI program Tkinter It makes work easier when building desktop apps, I'm still trying to understand how it can be used for Web apps.
then get dirty with Django or flask for webapp. for me I will recommend Django if you can take the pains to learn it due to its features and premade admin panel.
Programming / Re: Full Stack Developer In Need Of A Job by bedfordng(m): 12:54pm On Jun 25, 2021
olubantylove:
Hello everyone, I'm a fullstack developer with experience building web applications . I'm seriously in need of a job, either remote or full time. Also if if you can link me up with any gig, I'll so much appreciate it too.

My stacks are Laravel, PHP, JavaScript, Bootstrap, CSS and HTML. Also I'm pretty good with version control systems tools like GIT/GITHUB.
how do someone contact you then. Would love to get something done, especially front end design only. If you are available, then you can teach via WhatsApp or drop your WhatsApp contact
Politics / Re: Lai Mohammed: Stop Using VPN. You Think You Are Hurting Me By Using VPN (Video) by bedfordng(m): 12:39pm On Jun 24, 2021
Alfred234:

So VPN can steal your banking information? grin
I pity you, better go and learn more about VPN before displaying your ignorance on the internet.
so you are not aware they can even do more damages to your internet activities if you use unsafe and untrusted VPN. It can steal your ATM card details, password etc.be guided.

1 Like

Politics / Re: Lai Mohammed: Stop Using VPN. You Think You Are Hurting Me By Using VPN (Video) by bedfordng(m): 12:34pm On Jun 24, 2021
felixedet:
Mr minister Sir, with all due respect: I have been using VPN since 2003, as a network engineer that I am.

If you aren't aware that VPN has been deployed by tech savvies in Nigeria years ago before your unfortunate mis- appointment as a monster.

Your simply too outdated to be given attention...... stop embarrassing your generation.
lots of people are still new to VPN and might not be aware that some VPN are not really safe. Some are tools used by hackers to steal ones details. So he is not entirely wrong.
Politics / Re: Lai Mohammed: Stop Using VPN. You Think You Are Hurting Me By Using VPN (Video) by bedfordng(m): 12:30pm On Jun 24, 2021
kechywillz:
How can VPN expose ur data with ur bank details,mr Linus
trust me he is not entirely wrong as some VPN out there are not really VPN but a tool to steal ones browser details. So if you Jon's use it on browser to access your internet banking platform or other sensitive portal, don't be surprised when you start getting hit by unknown scammen
Programming / Re: Which Computer Language Best Suite A Beginner by bedfordng(m): 8:59pm On Jun 07, 2021
codesngr:


How can you work on backend without knowing html , the backend works in hand with frontend .collection of data , you need frontend basic experience to work on backend chief.

How can you manipulate user data at frontend with information from backend if you don’t know html and css . I said at least have basic knowledge of html and css in any programming language you choose, you can’t skip them. It almost impossible
Basic knowledge, good. Having basic knowledge of html and css is cool but its never a criteria that prevents one from becoming an expert in web dev. Like I said, you can decide to become full back end programmer without HTML and CSS. Someone can handle the aspect of HTML and CSS part if you can't.


There is a guy at my end that doesn't even care about HTML and CSS as he has someone that takes care of it while he focus on back end. Its main selling point is back end and he is extremely good at it. what would you say about that. Is he a web programmer or not.
Programming / Re: Which Computer Language Best Suite A Beginner by bedfordng(m): 8:32pm On Jun 07, 2021
codesngr:


App development is part of web technology I mentioned abii data science?

U need experience in html or css experience in any programming language you want to learn. If u tell me , you learned JavaScript or python or any without it , sorry to say , you are just a lier. Op asked about learning a programming language, which I advised to learn HTML and CSS before picking any programming language to learn like JavaScript and rest. Only for you to jump out and say html and css is just for web .

People like you, don’t like don’t know and you don’t want someone that knows to teach you.

html and css knowledge is used in any programming field.

Stop sounding foolish.

One don't really have to be good at HTML and CSS to become a programmer. Without this two, you can still be extremely good with learning programming even web technology.

Someone can decide to just be a back end developer . this is why in most tech firm in web dev, they have back end and front end developer.

someone don't really have to be good at HTML and CSS to be an expert in web development. This is why they have full stack dev, back end dev and front end dev. You can be good at both which is a plus but if you don't want to learn HTML and CSS, you can still be good at any programming language that handles back end.
Programming / Re: X by bedfordng(m): 11:27pm On May 31, 2021
killerdragon:

You serious

I actually have a python bot from 4 years ago (pretty outdated I know) but I think it can still work.

I'm not familiar with python so I can't use it.

If you can please drop your details
you can reach me via the details below on my nairaland signature. I will have to check the site to see if it can be automated for test run.
Programming / Re: X by bedfordng(m): 9:46pm On May 31, 2021
If you would like it to be automated, I can make a bot to do the job for you while running on the vps server.

At least you wouldn't need someone to keep pressing next as the bot will get it done for you.
Programming / Re: Can I Learn Programming With My Smartphone by bedfordng(m): 2:03pm On May 28, 2021
You can learn and practice basic programming but when it comes to advance practice, you need a computer because there are certain stuff that won't work on phone as some extensions, plugins, modules use on a framework or programming language requires it, plus it makes the job faster with multi tasking, debugging, testing etc

19 Likes 1 Share

Programming / Re: Problems Young Developers Face In Nigeria by bedfordng(m): 9:59am On Apr 13, 2021
Albertone:
You forgot access to laptop/computer.

I stopped coding because I couldn't have access to a laptop anymore.And I have passed the stage of using phone to code.
The zeal is still in me sha...
this shouldn't be an excuse as there are laptops you can get for less. some people can buy a phone of 70k and they would tell you they can't afford a laptop even when that 70k can get them one if they go for fairly use.

you have to start small. the irony here is that some of us buys high end phone that could have been used to buy laptop without even taking note of that

2 Likes 1 Share

Phones / Re: Whatsapp Is Now On Status by bedfordng(m): 9:28am On Jan 28, 2021
hope they are not planning to run advert campaigns on status updates.
Business / Re: How Can I Track Bitcoin Address Used By Fraudster To Defraud People by bedfordng(m): 9:59am On Jan 15, 2021
tracking is not easy because as one address receives it, it will be sent to another anonymous address and so on, that is how it goes. you won't be able to get the actual thief other than suspecting every address the money has passed through. it may be sent to someone in China, the China guy may send to another person on India, India guy may sent to another in Brazil etc. so its difficult to track.

3 Likes

Programming / Re: Python Automation Programmers Please Help! by bedfordng(m): 8:59pm On Jan 02, 2021
hassinho707:
I haven't tried pyautoit... I will try it and see...

I also haven't used the normal Python...

I am using pycharm...
that's what I mean. pycharm is an IDE which is mostly recommended for python coding. so its cool. just try autoit module and see how it goes.
Programming / Re: Python Automation Programmers Please Help! by bedfordng(m): 5:49pm On Jan 02, 2021
hassinho707:
Bro please can I have your phone number? or you can add me on WhatsApp with mine..
i cant really say much about desktop automation because i mostly use selenium and beautifulsoup for web automation but why not try pyautoit instead. its also another pretty module you can use.

by the way, have you tried the normal Python with open function and use that variable for the screenshot.

also, which coding environment are you using for the project.
Programming / Re: NL API ? by bedfordng(m): 6:21pm On Dec 04, 2020
well, this can be done if you know basic python scrapping

1 Like

Programming / Re: Can I Use Hp Pavilion G6 For Programming??? by bedfordng(m): 5:33pm On Oct 22, 2020
SIMON09:
thank you so much, please can you guide me on what feature I should upgrade for better performance
if it is left to me I will recommend you buy a new PC that comes with at least 8gb ram and ssd drive, corei5 or higher if you have the cash.
Programming / Re: Can I Use Hp Pavilion G6 For Programming??? by bedfordng(m): 9:57am On Oct 22, 2020
you can use it if you take coding with less heavy tools/IDE. there are lots of text editors you can use for programming without the laptop hanging such as sublime, vs code editor, notepad++ etc. but if you choose to use heavy IDE such as visual studio, android studio , etc, then you will experience hanging of your PC often.
Crime / Re: Indigenous People Of Abuja Give EndSARS Protesters 48 Hours To Vacate Roads by bedfordng(m): 5:46pm On Oct 19, 2020
like play like play, this protest will turn to citizen vs citizen war. the protest has really been hijacked and the citizens blocking roads is not helping matters.

1 Like

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