Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,182 members, 7,821,999 topics. Date: Thursday, 09 May 2024 at 12:30 AM

Naijasensei's Posts

Nairaland Forum / Naijasensei's Profile / Naijasensei's Posts

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

Programming / Re: A Thread For Tutorial On Python Programming by naijasensei: 9:56pm On Sep 16, 2020
jidejado:
HELP!!!!
I am using pydroid 3 on my phone for Python practice. But anytime I define a function and I call the rest......it usually shows me a blank result even after putting in my variables...what may be the cause

Provide screenshots of your problems, so that you can get assistance.
Programming / Re: What Is Autopilot by naijasensei: 3:42pm On Sep 04, 2020
Bahat:


Ah okay, tell me what you understand by the term we can learn a few things together if you dont mind

Autopilot originated from automated flight control, it is used to automatically pilot an aircraft (except during takeoff or landing). Interestingly, there is one Autopilot (from Twilio, a CPaaS) which I am currently using - it is used to build bots which can be deployed across multiple channels (voice, sms, whatsapp, slack, etc). I thought you were referring to this particular Autopilot.
Programming / Re: What Is Autopilot by naijasensei: 12:49pm On Sep 04, 2020
Bahat:


Autopilot in web application or mobile application, in reference to Automation In general. i understand the term is mostly used in SEO for some automated task. Now the question how is the term related or to web task? individual experienced programmers make the app or script, dont know of any company that offers such service.

Sorry, I am not versed in that.
Programming / Re: What Is Autopilot by naijasensei: 9:33am On Sep 04, 2020
Bahat:
Can someone explain what autopilot means with practical examples preferably with links to python or php example codes.
Secondly who bypass 2Fa with raw code, js, php, or python.
What about recaptcha. Have seen some old recaptcha bypassed without filling the required box by clicking the box twice before it loads up the recaptcha, it works in old version of recpatxh on some site.
I know some framework bypass 2fa. What about I'm thinking of not using any of those frameworks and writing the bypass into my program file. Just thinking out loud.


What Autopilot are you referring to? What company developed it, also can you provide the product's website address?
Programming / Re: A Thread For Tutorial On Python Programming by naijasensei: 8:42pm On Aug 30, 2020
dannyCodes:

Actually, yes. IDLE is somewhat not that good for me(imho), it's good for when learning and writing short scripts but in a project, i cant imagine using IDLE. It doesnt support tabs(i dunno if it has a way to do this) and the ui is outdated. I'd prefer using VSCode, atom sublime etc except its a large project then pycharm.
If u r writing short scripts then i dnt see anything wrong with IDLE.

I totally agree with you. The IDLE is some sort of a scratch pad, a workbook where you test out short scripts, it is also awkward to use. VS Code and sublime text are way better - personally, VS Code is my go to text editor because of its numerous plugins and configuration options.
Programming / Re: What Is Data Science And Its Application by naijasensei: 8:35pm On Aug 29, 2020
SirMichael1:


Wrong

He is actually correct. You made a slight mistake during your calculation.

Perimeter = 2*Length + 2*Width .............(1)
Length = 2*Width .............(2)

Substitute the value of Length into (1)
Perimeter = 2*(2*Width) + 2*Width
120 = 4*Width + 2*Width
120 = 6*Width
Width = 120/6 = 20
From (2), Length = 2*20 = 40

Therefore the Jamaican flag has the following dimensions; Length = 40, Width = 20

Also "three less than m" is actually m - 3, this is an expression which evaluates to a certain value. What you proposed was a comparison, that is,
"is three less than m?" (3 < m), which is either true or false.
Phones / Re: Unboxing The Infinix Zero 8 - Did Infinix Finally Step Up? by naijasensei: 12:34pm On Aug 29, 2020
D4donnn:


...

3 learn not to overly bash something , I'm pretty certain I won't use the device or buy it but if I'm sincere its pretty nice and affordable for its price , you are basically getting all this for a sub $300 device that is indigenous to nigeria with after sales services , I swear them try for this one

...

True, being objective doesn't make you stupid. I love Xiaomi phones, but with this Infinix Zero 8, Transsion has done something good - yes, they have stepped up. The price is also competitive; it will go head-to-head with other Helio G90T devices, Snapdragon 730G devices, and Snapdragon 720G devices. As Bane said in The Dark knight rises, "Let the game begin".
I can see people typing "trash", "nonsense", and so many other demeaning words - well, everyone is entitled to his/her own opinion. This is the exact behaviour some have accused Transsion adherents of - if you can't take it, don't dish it out.
Why is this a good move? It levels the playing field, and will ensure end users have good alternatives, a win-win situation if you ask me.

P.S. The views expressed above are entirely my own. You are perfectly within your rights to disagree with my views - it is what makes us human.

4 Likes

Programming / Re: Help Python Syntax Error! by naijasensei: 11:40am On Aug 29, 2020
SirMichael1:


The boldened is insightful. You could begin to get errors when trying to carry out arithmetic operations with the 'score' variable. Make I follow you. I like people wey smart.

We are all smart, we just need to unleash our inner smartness.
Programming / Re: Should I Build A Website From Scratch Or Use Wordpress?? by naijasensei: 1:10pm On Aug 26, 2020
multibizitsgrin:
some one told me it's easy to build a website using WordPress but it crashes a lot.
I need your advice please.

It depends. WordPress is a Content Management System (CMS), under the hood WordPress uses HTML, CSS, JavaScript (frontend), and PHP (back end).
WordPress is easy to use, true - I don't agree with the crashes often story though - and WordPress is used by so many websites. My main grouse with WordPress is that it is not as flexible as I need it to be, also many of its plugins have security issues. WordPress is like a be all, end all system that people use for all sorts of websites.
On the other hand, learning the basics of the web, and how to build websites from scratch will give you valuable insight. If you understand the technologies used to build WordPress, customising WordPress will become easy. You will also know when you need to use something other than WordPress. Every web project will no longer look like a nail that needs to be hammered with WordPress.

My advice, you can start working with WordPress - however, try to learn about the technologies powering WordPress. Note that there is no wrong or right way, this is just my advice.
Programming / Re: Why So Many Computer Programming Languages? by naijasensei: 12:04pm On Aug 24, 2020
peterangelo:
Why so many computer programming languages?

bassdow:


Every Language came into existence for a reason - either to provide what's currently missing or to improve what's already in existence.

Also just like the OpenSource world, anyone with the right knowledge can write a language especially if you happen to have some inputs and current maintainer of your choice language isn't cooperating.

That's mostly one of the many reasons People Fork softwares. To make something as custom as You love it to be

That right there - what @bassdow said - is the main reason there are so many programming languages. Programming languages are used (as a tool) to instruct a computer on how to solve a particular problem. Here are some examples:

- C, and C++ are primarily used for system programming, and machine level programming (building Operating systems, developing game engines).
- Python is good for Data Science, Data Modelling, Machine learning
- PHP has its strengths in back-end web development
- Java and C# are particularly good for building enterprise grade solutions

Truth be told, most programming languages can be used to solve any problem, in any domain. However, the takeaway is that you should try to use the tool (programming language) best suited for the job.

2 Likes

Phones / Re: Infinix Zero 8 With Mediatek Helio G90T Soc, 8GB RAM Passes Through Geekbench. by naijasensei: 3:45pm On Aug 16, 2020
thepoweruser:
WHAT THE... shocked shocked grin
HELIO G90T!
Cc: zesushvwritter
darkjeddi
krazydave16
sunshineV
skywalker240
atheistandproud
abiodunspectre
slawormir
festwiz
naijasensei
edopesin
drjprince
edoairways grin
jeffy1206 tongue
E WA BAMI WO NKAN O.
WETIN BE THIS?!!
shocked shocked shocked shocked
HELIO G90T? shocked
90HZ REFRESH RATE?? shocked shocked
180HZ TOUCH SAMPLING?!? shocked shocked
THE SHOCK OF LIFE!
JESUS IS LORD!!!

Nice information, let's wait and see how things pan out. Cheers to healthy competition.
Programming / Re: Good Pharmaceutical Inventory Software But No Clients To Purchase It by naijasensei: 3:33pm On Aug 16, 2020
valzey:


You could also give 5 pharmacies free trial for limited period after explaining to them the value of your product. If they like it, they pay for continuous use, if they don't like it, they tell you why and you work on improving it. Then use them as reference to others and put a fee.

It would have been easier to market an existing product that is already tested and trusted.

I support this. With this approach the developer will get valuable feedback from his/her intended audience.
Programming / Re: Help Python Syntax Error! by naijasensei: 3:17pm On Aug 16, 2020
Regex:
Here is mine, I can't seem to see the problem here. But the code has a lot of bug.

Try this on your last line:

print("%s with a Matric No of, %s at the end of the Semester, had Grade %s in %s" %(name, matricNumber, score, courseCode))

Note the space between the second " and the %() function. Also try using snake case (matric_number) instead of camel case (matricNumber) when naming variables, it is the Python way. I would recommend assigning the grade to another variable instead of overwriting what is in score.
Programming / Re: Help Python Syntax Error! by naijasensei: 2:50pm On Aug 16, 2020
ReignDigitals:
Hello programmers in the house. I'm learning python. I came across this code on this forum and I decided to try it out. After I finished running it, I got error saying INVALID SYNTAX.

Please someone should help me and fix it.



Name=input('What is your full Name?')
Matric_number=input('What is your Matric Number?')
Course_code=input('What is yout course code?')
Score=int(input('What is your score?(score must not exceed 100)'))

if Score >100:
print("invalid score"wink
elif Score <=100 and Score >=70:
Score ='A'
elif Score <=69 and Score >=60:
Score ='B'
elif Score <=59 and Score >=50:
Score ='C'
elif Score <=49 and Score >=40:
Score ='D'
elif Score <=39 and Score >=30:
Score ='E'
else:
Score ='F'

print (f'{Name} with a Matric No of, {Matric_number} at the end of the Semester, had Grade {Score} in {Course_code}')


First off, what version of Python are you using? Your last print statement is using an "f string", this feature is only supported in versions 3.6 onwards. Also, there seems to be a space between your print and the beginning parentheses of the print function "print (". Delete that space.
Secondly, try to do things the python way. It is recommended to always begin your variable names (and also function names) with lowercase letters, you can use the underscore (_) for compound words. Class names on the other hand should begin with uppercase letters.
Thirdly, why are you assigning grades and scores to the same variable (Score) in your if...else block? Why not create another variable (eg grade) to store the grades? If you need the score value later, you will still be able to use it.
Phones / Re: The Xiaomi Thread. by naijasensei: 12:09pm On Aug 09, 2020
olayinkajnr:
To the new members joining the telegram group. Make Una no forget to give the testimony of the oversabis oooo. grin grin

Yes, I agree. Isn't it weird that those who offer negative zero value always complain about their feelings being hurt by helpful members.

3 Likes

Phones / Re: The Xiaomi Thread. by naijasensei: 11:55am On Aug 09, 2020
anastasius:

Hope everything is ok at home sir? Aye oni she yin o

You are obviously a troublemaker, go look for your contemporaries to banter with.
Phones / Re: The Xiaomi Thread. by naijasensei: 5:46pm On Aug 08, 2020
olayinkajnr:


Dem don bring wetin you sabi chop. Shior

fibonacci2526:



cheesy cheesy cheesy.

Nonsoco80:
I did not sleep yesterday because he didn't join the group

grin grin cheesy

1 Like

Phones / Re: The Xiaomi Thread. by naijasensei: 1:20pm On Aug 08, 2020
anastasius:
I for like join una telegram but hear say na una dey act one kain.

Now that you have indirectly insulted everyone on the Telegram group, I hope you are happy. Before passing judgement on something, make sure you have not been hoodwinked by a sentimental, one sided portrayal of events - so as not to embarrass yourself.

4 Likes

Phones / Re: We Didn't Do Anything Wrong, But Somehow, We Lost by naijasensei: 1:10pm On Jul 30, 2020
thepoweruser:


Nokia were simply caught sleeping at the wheel. They became complacent and overconfident. When Android and iOS burst onto the scene, Nokia should have acted quicker than they did, also Nokia should have gone with Android instead Windows Phone - although they might have been coerced to do so. Android would have been a perfect fit for Nokia, if they hadn't been compromised with the investment they got from Microsoft.
I agree that Symbian OS was already showing its age; it was not optimised for touch, it didn't have a polished UI, and the Ovi store was sparse. However, Nokia didn't handle the transition wisely. A little bit of tact and planning would have saved them.
I believe the secret weapon you are referring to is the now defunct Meego OS, which also has Linux/Unix roots. For the life of me, I don't know why they discontinued the project, a terrible shame if you ask me.
Phones / Re: We Didn't Do Anything Wrong, But Somehow, We Lost by naijasensei: 10:31am On Jul 29, 2020
festwiz:
Stephen Elop is a Trojan horse and no true Nokia fan will ever forgive him. He came from Microsoft to be the CEO of Nokia and made stupid decisions to embrace Windows Mobile (no surprises there) instead of Android when the Android ecosystem was brand new and ripe for the taking and after killing Nokia he went back to Microsoft to head the Windows Mobile division. Why am I not surprised? undecided

"We made no mistakes..."? Lol really? They killed off Symbian OS in its prime time when it was still ahead of Android and iOS with over 78% of smartphones running on the OS. They refused to polish it on time, even basic multi touch support was missing and even the 2nd gen iPhones had this already.

"We made no mistakes..." Lol. Nokia was the largest OEM in the world at the time. They had more than enough resources to have devices in all 3 ecosystems, Windows, Android and Symbian, but they lagged behind being so smug and high-strung about their place in the market. They became too comfortable not realising the looming loss under their noses.

There's only one person I hate in this life and it's Stephen Elop.

Just like Nokia being complacent and blind to what's changing from their competitors, Transsion Holdings should keep acting like a dead dog while their biggest market is being taken over by the big 4 in Asia, Xiaomi, Samsung, Oppo and Vivo.

I agree with you, Nokia made some horrible decisions. A refreshed, and updated Symbian OS would have been a good asset in the current climate. Nokia should have kept Symbian while simultaneously introducing Android based handsets.

2 Likes

Phones / Re: The Xiaomi Thread. by naijasensei: 9:15am On Jul 27, 2020
GrandMufti:


Awaaay! Who goes there

"Itsii me" (In Mario's voice) Naijasensei. grin
Phones / Re: The Xiaomi Thread. by naijasensei: 9:10pm On Jul 26, 2020
abdsamad:
You people need to stop spoiling folks on this thread. I'm looking at genius43 especially.
You're too helpful. Help help help help, and people don't want to try to think for themselves.

Why else will people CONSTANTLY ASK IF THEY SHOULD UPDATE!

Haba!
Did genius43 push the update to your phone?

Another person will start crying for help because battery dropped by 5% after pressing the thing for 1hr.

Abeg start referring people to GrandMufti so he'll reply with those tantalising 1 word or 2 word answers

You are wicked oh. Don't you know that some of Grandmufti's one-liners are enough to make some newcomers to start seeing stars, or worse - start a nuclear war on this thread? Many of them will not understand the context of Grandmufti's words.

5 Likes

Phones / Re: Why Does Android Phones Consume So Much Internal Storage? by naijasensei: 10:22am On Jul 19, 2020
Offpoint:
Currently I've deleted everything on my internal storage, I could have Free storage of 2gb before 24hrs... My phone will eat up.
It's really frustrating, I can't view WhatsApp status and other stuff.
Phone cleaners only solve the problem temporarily and it's sucks.

All apps are installed on SD card and some apps like WhatsApp wouldn't installed or be moved to SD.

Whatsapp is always hungry for space. Anyone with idea how to fix this permanently?

A logging app might be creating daily files on your phone (for example, MTK Logger on Mediatek based phones), or your social media apps might be downloading videos and images automatically. Reconfigure your apps' settings.

3 Likes

Phones / Re: The Xiaomi Thread. by naijasensei: 10:12am On Jul 19, 2020
The level of ignorance and buffoonery displayed by some people is just baffling. Truly half baked education is worse than ignorance.
Remember - "He that knows not, and knows not that he knows not is a fool - ignore him."

1 Like

Phones / Re: The Xiaomi Thread. by naijasensei: 10:05am On Jul 19, 2020
NewDelhi:
Xiaomi lol .. cursed be the day I use my money to buy such

As you have gladly laid a curse on yourself, make sure you never forget this post so as to avoid problems in the future.

2 Likes

Phones / Re: Lets Talk About OTG ! by naijasensei: 2:00pm On Jul 15, 2020
shocked

Phones / Re: Please In God's Name,i Need Help On Kali Linux Burning And Installation. by naijasensei: 6:37pm On Jul 12, 2020
seunoo7:
Please I've been trying since a week now to burn Kali iso images to disck,I've downloaded up to like three different iso version and also wasted my money buying DVD disks and also downloading different iso burner,when it reaches around 65% burning it just give me a burning error and the DVD becomes undetectable,and thereby spoiling the disc,I also try to USB drive and I put my 8gb sd card inside the USB and use Rufus to burn it to USB,but it also corrupted my USB drive also,

Note:the error from the iso DVD burner was that it's incompatible disc

You are better off writing the image to a USB flash drive, also try confirming the authenticity of the ISO images you downloaded. And as others have suggested you can try using Etcher to write the image to USB.
Phones / Re: Phones45 Ecommerce: A Big Scam! by naijasensei: 11:42am On Jul 09, 2020
MiracleMum:
Good afternoon dear readers,
I usually would not do this but this is like my last resort after trying several options to resolve this issue. Kindly pardon my long story and typos.

.............


Hi, there is an option you haven't explored yet. From your message above you paid through Paystack, Paystack are probably processing that funny company's payments. Here is my advice, send an email to Paystack and make sure you attach all your correspondence with phones45. Inform Paystack that their platform is being used for dubious transactions, then kindly ask Paystack to assist in retrieving your money.
Phones / Re: Biko, help with this thing [pictured] by naijasensei: 8:01pm On Jun 28, 2020
pauladonis:
Hello everyone, I'm a writer and I always seem to have a nose for the most problematic devices money can buy.

I used to write from a Compaq laptop but after many keyboard issues plus battery problems, I saved up some money and bought a London used HP Pavilion dv6.

That one is even worse, probably the worst core i3 laptop I've ever seen. It's just unbearably slow and unresponsive most times. I've lost enough gigs because of the laptop and I'm becoming too lazy to work from a 6-inch screen phone all the time.


Someone told me to get an Android tablet and Bluetooth keyboard as it can replace a laptop in most of the functionalities a writer might need.

I want to know if it is a good idea, I also need recommendations from other writers who use this method. Suggestions for durable and dependable budget laptops are also welcome...

Thanks for all the help.

Be wary and be very careful. The only (reasonable) tablets that can offer you the functionality you seek are IPads (specifically the IPad pro - 2018 model or newer), and high end Samsung tablets (Samsung Galaxy S5e, and Samsung Galaxy S6).
The IPad Pro (from 2018 models) in conjunction with the newer IPad OS has removed some of the restrictions available on earlier IPads - you now have a USB type-C port, ability to connect external storage devices and displays, mouse support, and an OS that is more finely tuned for productivity.
The Samsung Galaxy Tab S5e, and the S6 are top of the line Android tablets. They both have an interesting mode called Samsung Dex, which transforms the tablets into fully functioning PCs with the appropriate UI to match, and support for helpful accessories.
I know you said you are on a budget, but if you want to go the tablet route you must be careful not to buy just any tablet - because all tablets are not created equal.
However, if you still want to go the laptop route try getting an ultra book, their screens usually max out at 14inches. The key thing to look out for is the CPU you are getting, go for at least a fifth generation core-i series CPU, preferably a core i5 (or a core i7 if you need more power). You can recognize the core-i generation by the numbers in the CPU model number.

core i3 Bleep, core i5 Bleep, core i7 Bleep - 1st gen.
Core i3 2xxx, core i5 2xxx, core i7 2xxx - 2nd gen.

....

Core i3 7xxx, core i5 7xxx, core i7 7xxx - 7th gen.

....

And so on. Happy hunting.
Phones / Re: The Xiaomi Thread. by naijasensei: 4:09pm On Jun 26, 2020
losdiose:


Thanks man

It's working now

Cc genius43 u r highly blessed

Enjoy yourself.
Phones / Re: The Xiaomi Thread. by naijasensei: 11:44pm On Jun 25, 2020
genius43:


He can also run as administrator in case it is not opening

Wow, thanks, I forgot that important bit.

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