Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,596 members, 7,955,189 topics. Date: Saturday, 21 September 2024 at 07:08 PM

Donpre's Posts

Nairaland Forum / Donpre's Profile / Donpre's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (of 58 pages)

Programming / Re: Problem Installing Python Packages With Pip by Donpre(m): 9:22pm On Aug 17, 2020
are you connected to the internet?
post a screenshot of the error, that'll help solving your problem easier
Programming / Re: For Django Developer by Donpre(m): 9:20am On Aug 14, 2020
saheedniyi22:

Thanks, I would be expecting your reply on how it went.

So I got it to work, however with termux not with pydroid3 terminal.

The steps are:

Install termux

run the following commands
$ apt update
$ apt upgrade
$ pkg install git
$ git clone <repository address >

$ termux-setup-storage

$ cd /storage/emulated/0 to navigate to local directory. From there, navigate to your folder and execute git commands like you would on PC.

I followed the directions on this website to upload my existing project to git since I couldn't remember my git commands
https://www.softwarelab.it/2018/10/12/adding-an-existing-project-to-github-using-the-command-line/

Everything works!

Alternatively,
I realized Spck editor has a great GitHub integration, like vs code level integration. Everything works with the click of a button. You can clone an existing repo, push, commit, add remote... just by adding your GitHub login details.

Whichever you choose, they should both work fine.
Programming / Re: For Django Developer by Donpre(m): 10:42pm On Aug 13, 2020
saheedniyi22:


I've been trying recently but haven't been successful with it.

How do you upload your codes on GitHub?
For now I do copy and paste though.
Haven't published my code to GitHub since my PC crashed.

I didn't even think to try.

I'll try it later tonight, and see if it works

1 Like

Programming / Re: For Django Developer by Donpre(m): 10:17pm On Aug 13, 2020
saheedniyi22:

Good evening,

I use pydroid too, I want to know if you have been able to use the pydroid terminal to perform GitHub stuffs like push, clone and co?

No I haven't tried it
Programming / Re: For Django Developer by Donpre(m): 10:34am On Aug 13, 2020
Taofeekdboy:


In any OOP language, when you create a class, then you can create a variable name to instantiate the class e.g

Class Dog :
Def ___init____(self, name, age):
self. name =name
self. age = age

So here you can instantiate the class dog like this

dog1 = Dog('bingo', 5)
dog2 = Dog('linzy', 2)

So dog1 and dog2 are both instance of the dog class. You can read more on classes on python to understand better.
OOP in python is quite confusing. Starting with "self" instead of "this" to the weird init constructor.

I get what instance is, just didn't understand how it could be a property of a form. It's clear now though.

Thanks for the help
Programming / Re: For Django Developer by Donpre(m): 10:32am On Aug 13, 2020
fortifiedng:


Instance there means that, when the user wants to update their profile, their previous information would be filled automatically.

It's like creating an instance of what was there, before you edit it.

TIP: Check the meaning of instance in the dictionary for better understanding

Thanks, I finally get it now
Programming / Re: For Django Developer by Donpre(m): 9:28pm On Aug 12, 2020
Bosses them, abeg wetin be 'instance', can't find anything in the documentation about it

Education / Re: The medical students and aspirants thread by Donpre(m): 2:09pm On Aug 12, 2020
Deeemphasis01:
good afternoon sir. Can an average student start and finish mbbs within the stipulated time, without repeating a class ? The way I hear people talking about medical school is very terrifying.i would be very grateful if you would enlighten me.

Yes, of course.

The fact is, although intelligence helps, med school is a whole lot more than just smart brains. So, provided you put in the work and study time, success is guaranteed.
Make no mistake though, there is a lot of work, sleepless nights and a ton of reading to do.

Although in my opinion, an 'average' student can't beat the competition to get into medicine. The moment that average student does that, he/she stops being average.

11 Likes

Programming / Re: I'm In A Dilemma. Please Help. by Donpre(m): 6:25pm On Aug 11, 2020
The processor difference isn't so much that It'll be noticable, however the screen difference will be quite noticable.
Education / Re: The medical students and aspirants thread by Donpre(m): 7:15pm On Aug 10, 2020
oyetunjibaba:


boss mi,shey uniport get PQ?

Jamb PQ would more then suffice.

But if you have 1K to spare, there's no harm in getting a copy of those alleged PQs.

1 Like

Programming / Re: Pls Help. How Do I Get A Domain Name? How Do I Link My Website To The Web? by Donpre(m): 9:21pm On Aug 09, 2020
Firstly, if you want view your webpage on the web, you'll have to host it. There are free hosting platforms like GitHub pages and netlify but they don't let you use a custom domain name, that'll involve you paying for hosting.

Secondly, Domain name can be gotten at GoDaddy, namecheap, namesilo etc, a simple google search will provide a long list. However, it cost about $10/year or so.

If you're just learning how to code, I see no reason hosting your webpage as it'll just cost you money.

1 Like

Education / Re: The medical students and aspirants thread by Donpre(m): 4:18pm On Aug 09, 2020
VicThory:

I planned on using post ume and some connection.
I thought you had a 'D' in Biology or was that someone else?

if it was you, unless you're awaiting the current WAEC that's being taken, I advised you forget about admission this year. Without 5 relevant credits in your O'levels, your connect can't do anything, also, unless your connect is 5G, your score will be hard to get you in, irrespective of a good putme score

It might sound like a negative opinion but with students tearing the 340 barrier likes its 280, your score just doesn't measure up with the competition in Federal universities.

2 Likes

Programming / Re: Competitive Programming by Donpre(m): 11:05am On Aug 05, 2020
Darivie04:
I think I've solved this.
Kindly post, I'm looking forward to seeing your solution
Programming / Re: Competitive Programming by Donpre(m): 11:05am On Aug 05, 2020
Brukx:
Some persons are good at doubting what they don't understand
Ah swear, it's annoying. Like what's so hard there that one of us can't solve.

The belief that Nigerians can't compete with the rest of the world is just sick. We're not there yet but we're not dumb either

1 Like

Programming / Re: Competitive Programming by Donpre(m): 10:16am On Aug 05, 2020
BlaqTesla:
Looking at the solutions you guys paste here... most of it were all copied.
Are you saying Nigerians aren't smart enough to come up with answers to those questions?

1 Like

Programming / Re: Please How Do I Install Django In My Windows PC??? by Donpre(m): 2:45pm On Aug 02, 2020
TheGenius001:


Thank you very much sir. Once I just get home I'll do it Asap. Thanks a lot for your patience


Please I am following a tutorial on developing a website using Django please do I need data in doing all of that or where exactly does using data come in asides the Django installation part??
Unless you're installing other packages, you don't need data.

As an advice tho, try to buy data when learning programming as you'll need to constantly go through the documentation and stack overflow when you get stuck.

4 Likes

Education / Re: The medical students and aspirants thread by Donpre(m): 2:35pm On Aug 02, 2020
Herefortheinfo:
Please I got 273 in JAMB for a medical aspirant into UNIBEN. Please can anyone, like a medical student there tell me the necessary books to cover and also how the exam would be like.
I Would Really Appreciate.
You should think about switching schools. 273 is low for a competitive university like UNIBEN
Programming / Re: Please How Do I Install Django In My Windows PC??? by Donpre(m): 2:32pm On Aug 02, 2020
TheGenius001:


No I wasn't Sir
Lol I thought as much. just connect to the internet when installing packages. Django is like 10mb or so.
Programming / Re: Check Out What I've Done With Laravel by Donpre(m): 1:11pm On Aug 02, 2020
Nice UI... Is it styled with bootstrap?

1 Like

Programming / Re: Please How Do I Install Django In My Windows PC??? by Donpre(m): 1:10pm On Aug 02, 2020
TheGenius001:


I got Http Error
Are you sure you're connected to the internet while trying to install django
Programming / Re: Competitive Programming by Donpre(m): 12:50am On Aug 01, 2020
Brukx:


array=[[1,2,3,4,5],[6,7,8,9,10,],[11,12,13,14,15],[16,17,18,19,20],[21,22,23,24,25]]

clockwiseList=[]
mainlist=[]
def clockwise(array):
newlist=[]
for ch in array[0]:
newlist.append(ch)
array.pop(0)
for ch in array:
newlist.append(ch[-1])
ch.pop(-1)
array[-1].reverse()
for ch in array[-1]:
newlist.append(ch)
array.pop(-1)
newRow=[]
for ch in array:
newRow.append(ch[0])
ch.pop(0)
newRow.reverse()
newlist.extend(newRow)
mainlist.append(newlist)
if len(array)>1:
clockwise(array)
else:
for ch in array:
mainlist.append(ch)
for ch in mainlist:
for chr in ch:
clockwiseList.append(chr)
print("\nthis is the Clockwise array\n"+str(clockwiseList))
clockwise(array)


I think this will do
Wow! brilliant approach but I got lost at the if-else statement. What does that do?
Programming / Re: For Django Developer by Donpre(m): 8:21pm On Jul 31, 2020
hitan:

I just did and still get the same error, please how can I resolve this issue its really giving me concern...

did you add the app_name to your main urls.py using 'namespace'
Programming / Re: Competitive Programming by Donpre(m): 1:04pm On Jul 31, 2020
Darivie04:

Must be nairaland formatting cutting out part of the code, I'm still tryna fix that. It returns 5 over here.

Hello, what book/resource did you use to study algorithms
Technology Market / Re: This Thread Is Only For Aliexpress Shopper by Donpre(m): 10:03pm On Jul 30, 2020
cluewebhost:
What does "Despatched to OverSeas Postal Admin (From SG/SIN to NG/LOS)" mean?

My package has been like that for some days.

Aliexpress Standard shipping?
Just left China... could take about a week, or more become it gets to Nigeria, so just forget it for now
Technology Market / Re: This Thread Is Only For Aliexpress Shopper by Donpre(m): 10:01pm On Jul 30, 2020
ceaser:


Zenith debit card issuance is still pending as I opened account a few days ago. In the meantime, I've re-visited my Ecobank account that has been unused for almost 2 years and I used the card for three purchases yesterday.

I didn't really bother to work out the exchange rate they used though, but I know dem own never enter that kain 400. Theirs is most likely still under 395 naira.
Thanks

Any spending limit on the Ecobank card... how much have you spent so far
Technology Market / Re: This Thread Is Only For Aliexpress Shopper by Donpre(m): 1:25pm On Jul 30, 2020
fairy88:

How do I track my item, I entered a wrong postal code of 10001
My item has arrived since, no call no text to come pick
This order was since may 20 th
https://www.nipost.gov.ng/Track_Trace.aspx

just enter the tracking number, it should show the LGA it's at
Technology Market / Re: This Thread Is Only For Aliexpress Shopper by Donpre(m): 4:08am On Jul 30, 2020
Who knows how much the spending limit and exchange rate is on GTB MasterCard as at now

EDIT: Read a few pages back. So GTB is now wack, who knew this day would come
Technology Market / Re: This Thread Is Only For Aliexpress Shopper by Donpre(m): 4:07am On Jul 30, 2020
chidioke75:
No text or call to come and pick up my item but please which local government is NGMAR
Track it on Niport website.

I think MAR is markudi
Education / Re: 2020/2021 UNIPORT Admission Thread Guide by Donpre(m): 11:33pm On Jul 28, 2020
Odiaze:
k, thanks for the answer @weezyclan & donpre.
Please when is the exam starting most especially for Engineering

"Further details and schedule of the Screening Exercise will be announced in due course.  Candidates should, therefore, check the University website from time to time."

As copied from the announcement.

1 Like

Education / Re: 2020/2021 UNIPORT Admission Thread Guide by Donpre(m): 1:47pm On Jul 28, 2020
otokx:


Basic is a pre degree program in UNIPORT, successful candidates from there transit into Yr 1.

Greetings able comrade. Hope you've been well

Do you have any idea if an exam is to take place.
Education / Re: 2020/2021 UNIPORT Admission Thread Guide by Donpre(m): 1:45pm On Jul 28, 2020
Odiaze:
@w.eezyclan, what of if i purchase the form after august 3rd, will i still wait or i will just proceed with the registration since the portal will have been fully opened by then.
No need to wait again from 3rd August
Education / Re: The medical students and aspirants thread by Donpre(m): 11:22pm On Jul 27, 2020
Brukx:

The only place I've seen this is on Nairaland. It's not done in my school. I've never heard of it anywhere be it post graduate or undergraduate studies. That info is misleading
That's true, I haven't heard such anywhere else. Even MDCN's website doesn't have any such information.

I imagine many people might have taken the BDS route hoping to take the 18 months switch for an MBBS cert later on, only to find out it's nothing but a hoax.

3 Likes

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