₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,267 members, 8,449,491 topics. Date: Tuesday, 21 July 2026 at 09:11 PM

Toggle theme

Semtu's Posts

Nairaland ForumSemtu's ProfileSemtu's Posts

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

ProgrammingRe: Please Don't Ignore This!!! by Semtu(m): 6:14pm On Dec 05, 2020
MagnateCalibre:
Hello guys,
I am really seeking for programmers and developers to work with and we will benefit together.

I am a programmer, developer, hacker(both white and black-hat), analyst and others.. but due to business and very tight schedules, I don't get any chance to code except at night when I work on my personal projects.

I do get offers and coding/programming jobs a lot both big and small so I need good coders and developers to work with and we can also get to interact better.

You will get opened to new opportunities plus juicy offers and your rewards or payments is guaranteed for sure.


If you are interested in joining me, drop your whatsapp number below and also write which aspect of computer science you are into and I will contact you.

I reside in Abuja mainly with other locations at port-harcourt, warri and Lagos so I do migrate a lot.

NOTE: all interested individuals will be tested cos no fake developer or learner needed.


Thanks...
WhatsApp number in my signature. Data science, AI and robotics
ProgrammingRe: Learning Programming. (my Nairaland Journal) by Semtu(m): 3:57pm On Nov 26, 2020
syluck:
Bro, on god sometimes the simplest algorithms are the hardest to code angry

Please can you help me out on number 10 and 12
I'll give you hints for number 10, you learn better my figuring things out yourself. You'll need to collect 10 inputs from the user by calling input() through a loop. Outside the loop, create an empty list then append each input to the list while the loop is still valid. Once you've collected the inputs to a list, you can easily play with the python list by calling sorted(). This will sort the list elements in ascending order. Meaning that indexing the first element of the list would be the lowest since the values are sorted while the last would be the highest. To find the average, you can sum the list then divide by the len. Apply similar logic to the rest.

For the second part, this is one way to work through it.
import random
score = [ ]
number=random.randint(1,11)
trials=5
while trials>0:
```indent```guess=int(input('guess the number between 1 to 10: ')
```indent```if guess==number:
```indent``````indent```score.append(10)
```indent```else:
```indent``````indent```score.append(-1)
```indent```trials-=1

print(sum(score))
ProgrammingRe: Java/python by Semtu(m): 7:01pm On Nov 24, 2020
Skye123:
Pls, guys. I'm very confused on what to do. I wanna develop apps and at the same time, I wanna become a data scientist or an AI developer. Pls, is it possible to learn both java and Python or I should forgo one and take one. Which one should I choose thenhuh?
Python does both.
ProgrammingRe: A Thread For Tutorial On Python Programming by Semtu(m): 5:47pm On Nov 23, 2020
Luckybelt:
I m following a Python tutorial using Visual studio code on udemy. i only have the main code area on top, i cant get the two lower windows setup and the guy uses it a lot. How can i do it ? see my page
Just toggle your terminal, press ctrl + shift + p, then in the search bar, search for "toggle integrated terminal" and click on it

And seems your tutor is using Bash with vs code. So you'll need to install Bash and add the path to VS code settings.json, then toggle your bash terminal as I've described above.

You can also make use of your command prompt terminal if you are confused of what I've said above
ProgrammingRe: How Do I Start Please by Semtu(m): 4:51pm On Nov 21, 2020
syluck:
Hey bro, I'm on the same part with you. I've been learning programming for quite some time. Nov 24 will make it a month I've been on Programming. Guess what? I'm improving day by day!
Before I went into learning Programming, I found out that there are various programming language, like java, c#, Python etc. From reviews I saw and read from various sources, I came to conclusion that I should start with python programming language. Moreover, there's this video tutorial about python programming language I came across here on Nairaland. It made me become too enthusiastic about python. But before this, I have this dream of creating a website which I can't disclose for now. I'll advise you, you really need to hold on a dream in order for you to last long learning Programming. What's that special thing that made you want to be a programmer? If you have an answer to this question, it will keep driving you to learn everyday.
I won't lie, it is not easy. Programming is very versatile and wide, it somehow gets complicated but with consistency, you'll overcome the stumbling blocks. So far, I've been able to run some codes on my own even after much practises.
Bro, I'll advise you to take ur time and watch that video tutorial. Start from the beginning, follow whatever he's doing there, let your pc be there with you. I'll drop the link below.
In order not to confuse yourself, make sure you have gone through all the videos and have done some practises, then you can go for pdfs or python apps.
Currently, I'm reading a concised pdf about python and using a tutorial python app(not python app itself, though I still have the python app) to learn and run some codes.

At first everything will be strange, confusing and frustrating. But don't give up. I created a thread here on Nairaland and I've dropped some questions when I got confused, we have programmers experts here ready to help a newbie, you can create yours as well. Don't pay anyone a dime to learn programming, atleast I didn't.
Like I said, Programming is a complex world on its own.
Lemme burst ur head a little, Programming is mathematics, but this time around not a boring one you'll need to just write on paper. Programming is a mathematics that you'll write and then get to see it create something spectacular and solving problem u can never think of. This will excite you I swear. Excitement comes in more again when you've successful ran some codes on your own after much practice.

Bro, start with python. It's very easy compared to what I've been hearing about java, c# etc. (Though I will eventually learn java after python)

Programmers like naijasensei, bovage, semtu, karleb, and etinosa1234 here on Nairaland has helped me tremendously. You can always call on them if you're stuck for more clarification.

Bon voyage as u start this beautiful quest.


https://www.nairaland.com/4945611/thread-tutorial-python-programming
God bless
ProgrammingRe: Php Expert Come In Here by Semtu(m):
Akiliogidi:
I have been able to rectify that and it runs successfully in browser , but in my visual basic code editor, it keep showing class 'mysqli' not found in C each time I run it from vs code.
I have edited all editable in the php.ini file by removing all the semicolons before the extensions and adding the absolute path like this : extension_dir =C:\php\ext[/b]and [b]extension=C:\xampp\php\ext\php_mysqli.dll, yet i keep seeing the error as shown below
It seems mysqli libraries are not present, are you sure you've enabled the mysqli extension in the php.ini file? If you've done any code alteration on your php.ini file, you'll need to restart VS code before it detects it or better still, restart your machine.

Try "mysqli_connect()"

Also, how did you install php on your device?
ProgrammingRe: Opportunity To Earn Little Pay Working On Python Assignment. by Semtu(m): 7:37am On Nov 21, 2020
zeefa:
Hello is anyone out there who is good with python programming and has a laptop and stable internet connection please kindly contact me.
I have several works( assignments) from mostly students here in the U.S.

Drop your numbers I'll contact you via whatsapp .

We are not here for jokes please, if you are up to the task and you are sure of killing it, then drop your number.

regards
Contact me on whatsapp via my signature, I'm an advanced python user.
ProgrammingRe: Roburst School Management App by Semtu(m): 7:19pm On Nov 20, 2020
maxotega:
Hello, i need a PHP and Mysql school Management System with the following features:
Administrative Management
Admission Management
Attendance Management
Cafeteria Management
Class Management
Curriculum Management
Financial Management
Library Management
Online Payment
Parent/Student
PortalStaff Management
Timetable Management
Transport Management
Inventory Management
I can do it all contact me via my signature
ProgrammingRe: A Thread For Tutorial On Python Programming by Semtu(m): 11:43am On Nov 20, 2020
Missionaire:
So I tried running "hello world" yesterday night but I keep getting this message:

[WinError 2] The system cannot find the file specified
[cmd: ['python3', '-u', 'C:\\Users\\Okporghe\\AppData\\Roaming\\Sublime Text 3\\Packages\\User\\Python3.sublime-build']]
[dir: C:\Users\Okporghe\AppData\Roaming\Sublime Text 3\Packages\User]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Brackets\command;C:\Users\Okporghe\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Okporghe\AppData\Local\Programs\Python\Python39\;C:\Users\Okporghe\AppData\Local\Programs\Python\Launcher\;C:\Users\Okporghe\AppData\Local\Microsoft\WindowsApps;C:\Users\Okporghe\AppData\Local\Programs\Microsoft VS Code\bin;/opt/node_moduler/bin/]
[Finished]

What could be the problem and possible solutions??
Run 'python --version' from terminal to check if python was properly installed
ProgrammingRe: Php Expert Come In Here by Semtu(m): 7:52am On Nov 20, 2020
Akiliogidi:
Abeg I need your help alongside other pHp gurus here. I recently installed the latest php version, but each time I try running a db connection I do encounter Fatal error: Uncaught Error: Class 'mysqli' not found in C:\xampp\hotdocs. I use vs code and I have followed all the suggestions I came across online(stackoverflow inclusive) all to no avail. Abeg can you tell me how to go about fixing this problem.
Prodev986
Websoltech
Zyber
Code web
Tensazangetsu20
Below are the screenshots
The first warning means you've set up a password for root access, you have to input your password.
ProgrammingRe: Chronicle Of A Data Scientist/analyst by Semtu(m): 9:25pm On Nov 19, 2020
guysis:
Please guys, I need more ideas/processes/options on how to set up a platform to enable a school compute : (1) It's staff payroll (2) Students grade and constantly update it(3)an avenue to send these grade(results) ,other messages to their parent via email.

From what I have looked at so far, I would need to deploy ms Excel and Access.

Can this pass for a data analyst role?
This is a walk in the park with php. If you need help at a little price contact me via my signature.
ProgrammingRe: Take A Look At Portfolio Website Designed By Taraba Youth. by Semtu(m): 11:10pm On Nov 18, 2020
chrisUmendeche:
The truth of it all is that people don't want to be creative writing codes. My question to all advocate of frameworks and libraries is, how can you learn how to use frameworks without first learning how to code? and how can you be able to spot loopholes in some already made tools or software when you see one?
First of all, no one should have any business with frameworks if you can't code. Every programmer must begin by learning language syntaxes and methods, building small projects here and there. Libraries would then come in when you start working on complex projects.

That said, creativity has nothing to do with writing plain codes. Making use of libraries itself is creativity, knowing how to build custom libraries off existing libraries to solve tasks when needed should be your focus. If a library has one or two errors (which most likely won't be the case) or functions you are not satisfied with, they are open source so you can easily edit the base code and do whatever manipulations you want.
ProgrammingRe: Take A Look At Portfolio Website Designed By Taraba Youth. by Semtu(m): 7:57pm On Nov 18, 2020
cixak95211:
LOL, grin grin and who told you so? whatever you can do with a framework or a library can be done with vanilla code, yes !
Afterall, the framework and/or library itself was built upon vanilla codes; or did they just appear from heaven?
e.g. react was built upon javascript. therefore, anything that can be done in react can be done with pure js. too
it might take 1 hour in react and 1 week to accomplish the same thing in vanilla js, but the point is, it will still be accomplished no matter what.
or did they integrate php and python into react to make it special? if u look under the hood, it's javascript.
Frameworks only exist to make your iterate faster and prevent you from reinventing the wheel and repeating yourself over and over again
If somebody else has done it, you can use the same piece of code, instead of starting afresh.
Once again let me drum it into you, frameworks are an abstraction of vanilla codes, if u look under the hood, u will see them there staring back at you.
And you can do 100% anything using either a framework or vanilla codes.
Smiles, I guess you've not worked with complex algorithms. I'm into AI, there are algorithms covering decades of research which has been compiled into simple libraries for use. So unless you are a scientist or seasoned researcher in the AI field, you cannot do shit without such libraries. Now these are the scenarios I was pointing at when i raised the previous work. But if it's mediocre projects you want to be doing for life, then sure, you can continue writting your Vanilla codes.

Libraries are made so we can extend on the methods while building systems. Even libraries nowadays are built on pre-existing libraries. But you are here championing the idea of writing Vanilla codes, you will sleep there.
ProgrammingRe: Wht Is CSS Very Complicating...!!!!!!!!!! by Semtu(m): 5:09pm On Nov 18, 2020
chingle5:
God, I have suffered at the hand of CSS ........ I just don't know why it is very complicated undecided undecided ......... learning HTML was very easy feeling like a boss, unlike CSS ...... please any aspiring web developer in the house ....... lets link up jare and help each other out to grow......... i stay at lagos around unilag side.......... i need a learning buddy ......... me I want to make money sharp sharp jare angry angry angry angry

Mentor : see learn to program because you have passion for it...

Me : I want to learn to program because I want to make money to take care of ya father , ya mother, ya children, their generation, and even ya forefathers that are in their grave... angry angry angry
You want to make money? Lol, why won't CSS be complicated to you. With your kind of mentality, you won't last long as a programmer
ProgrammingRe: Take A Look At Portfolio Website Designed By Taraba Youth. by Semtu(m): 9:06pm On Nov 17, 2020
chrisUmendeche:
Learning frameworks without learning hand coding will do you more harm than good. You have to learn the basics first, which is learning how to use your hand and code, it has many advantages, if not you will mess everything up when using frameworks. Am a strong advocate of hand coding, it makes you learn and be more creative.
Lol, don't deceive yourself with this mentality. The things you can do with frameworks and libraries, you can't even dream of doing by coding from the scratch .
ProgrammingRe: A Thread For Tutorial On Python Programming by Semtu(m): 8:29pm On Nov 17, 2020
Excallibur:
lol na begginer I be , still trying to master the basics
I know, I'm just giving you an easier alternative... You'll still use numpy alot as you progress, so it's better you start getting used to it now.
ProgrammingRe: Take A Look At Portfolio Website Designed By Taraba Youth. by Semtu(m): 5:56pm On Nov 17, 2020
chrisUmendeche:
Everything was built using code. No library was added.
Now this is where the problem is. They should be taught libraries and frameworks to make their work better and faster. No one should be spending days building a mediocre website from the scratch
ProgrammingRe: A Thread For Tutorial On Python Programming by Semtu(m): 5:43pm On Nov 17, 2020
Excallibur:
Please help, I am trying to get a row in this matrix but I keep getting empty as the result of this code

matrix=[
[5, 6, 7],
[8, 3, 1],
[9, 3, 5]
]
for items in matrix:
for rows in items:
if items==items[1]:
print(rows)
Why not just use just convert it to a numpy array and easily use indexing rather than these loop statements.
ProgrammingRe: Wht Is CSS Very Complicating...!!!!!!!!!! by Semtu(m): 5:45pm On Nov 15, 2020
If you can't learn CSS, sorry, but programming is not for you. Go into another field.
ProgrammingRe: Please Help A Nairalander by Semtu(m): 9:00pm On Nov 12, 2020
Idontknowyou:
I have been learning web development for 4 monthly now (self taught).. I have finished courses on HTML, CSS, BOOTSTRAP and JavaScript... But now I want to know what Backend and framework do I need to understand to program a website like Nairaland..

Please help me
Good, you are 50% there. I'd recommend you learn PHP, then specialize in the Laravel framework.
ProgrammingRe: Learning Programming. (my Nairaland Journal) by Semtu(m): 5:29pm On Nov 12, 2020
syluck:
Hello bro, sorry to disturb.

Please I need a better understanding of question number (9). I've tried so hard to understand what's it all about but I just keep getting a blank idea.

Then, number (11) and (14)
def sequence_function(num):
if num==0:
return num+1
elif num==1:
return num
else:
return sequence_function(num-2) + sequence_function(num-1)

len=int(input("Enter len of terms: "wink )
for i in range(len):
print(sequence_function(i), end='\t')

This is the answer to your number 9, improve on it by adding constraints against negative numbers. If a user enters a negative number with the code above, it'll produce an error. Use a simple if statement to make sure that doesn't happen.
PhonesRe: Just In Glo Introduce New Data Plans by Semtu(m): 5:20am On Nov 10, 2020
.
ProgrammingRe: Companies Are Wicked O. by Semtu(m): 8:47pm On Nov 09, 2020
tensazangetsu20:
Extensive tests like this should never be done for free ever. It looks like a free work. Why are they asking for the Github repo? They can download the code, send a regret email and then choose the best from everyone naive enough to do the test.
Well, as a senior php developer, you'd already have done lots of projects like this already in your portfolio. It's just a matter of editing what can be seen from the frontend and little modifications to your past works.
But you are right tho, the Github repo might be overreaching from the company. They should only request for the url where you'll hosting the system.
ProgrammingRe: I Need Help by Semtu(m): 8:37pm On Nov 09, 2020
[quote author=adelnehis post=95792439]Don't take jobs you can't complete[/quote

Lol, it means you are not ready to work. I've collected jobs I had 0 idea on initially, with the help of Google and stack overflow, it turned out to be a walk in the park.
ProgrammingRe: I Need Help by Semtu(m): 8:35pm On Nov 09, 2020
Techola:
I have been blogging for sometimes now, and someone wanted me to create a crypto investment website for him recently.
I have gotten the script, I know I'd be needing a host and domain but I don't know how to continue from here
Contact me via my signature. I'd do that for a little pay.
ProgrammingRe: Companies Are Wicked O. by Semtu(m): 8:34pm On Nov 09, 2020
tensazangetsu20:
Imagine a coding test a developer was asked to undertake in a tech company.
These are the kind of interviews developers should be expecting. It's not longer just question and answer, they need to see what you can do. A php developer should be able to easily achieve those functionalities. He might need to look up one or two things from stack overflow for that bonus part tho
ProgrammingRe: Learning Programming. (my Nairaland Journal) by Semtu(m): 2:56pm On Nov 09, 2020
syluck:
After much learning and practises, I came across Functions in python. And I decided to use it to solve the number (4).
And it gave me two answers different from the answer proposed sad

Cc
Naijasensei
Bovage
semtu
Karleb
etinosa1234

Please I need to be cleared on this
This is a concise answer to your question.

1. One of the reasons functions exist is so you can easily vary parameters. In that sense, it's good programming to pass in arguments when defining the function which you can easily vary later on.
2. Also apply parenthesis using the BODMAS notation

Finally, it seems the question asked for your answer to be in 4 decimal places. So take note of the 'round' method I called, it's an inbuilt python function that accepts two arguments, (float, no of dp)

ProgrammingRe: I Need A Gud Programmer For An Entertainment Blog Project by Semtu(m): 8:19am On Nov 08, 2020
Aolekan:
+2348108557008
Dm me
Done
ProgrammingRe: Contribute What You Know About Artificial Intelligence by Semtu(m): 8:16am On Nov 08, 2020
noob03saibot:
OK thanks. The thing is I am using Jose Portillas video but he doesn't explain in depth, reason why I need a book. And the site you gave for the book, did you mean bookdotcome? Thanks again
Jose Portilla's videos are one of the most explicit and indepth. I always recommened his tutorials for beginners. He teaches the theory, codes practical examples then give a capstone project at the end of each topic. You won't get anything better than his videos. You should try to clear your head then rewatch them.
ProgrammingRe: Best Programming Books 2020. by Semtu(m): 6:16pm On Nov 07, 2020
Randy91:
For someone without IT skill but have passion for it...

What program could you advise him to start from..

I want to Major in WEB DEVELOPMENT
Start by learning python syntax, then move on to the Django framework. That's all, after few months of practice, you'd already be designing amazing websites.
EducationRe: IELTS: Share Your Experience, Ask Your Questions, Tell Us Your Score If You Can. by Semtu(m): 5:11pm On Nov 04, 2020
steric58:
I love all the success stories I'm reading here, God bless us all I know nobody can motivate me unless myself but I will appreciate if someone can who has had the experience in the pass explain what's going on with me, have been practicing for 2 months now I felt like I'm not good enough especially with the reading aspect, the time is short trying all my best to manage but seems I can't.
The thing with all these practice tests is that they are much more harder than the real exam. Before my exam, my highest in the reading and listening section were 7 and 8 respectively. I wrote the exam and had 8.5 in both sections. The exams were so simple that I initially expected a 9 band score. So don't get scared if you don't get your desired band in practice tests, just familiarize yourself with question structures so that nothing meets you by surprise in the actual exam.
ProgrammingRe: Learning Programming. (my Nairaland Journal) by Semtu(m): 5:20pm On Nov 03, 2020
syluck:
This is my problem. I hope this doesn't get deleted.

I've been trying to run some codes using while loop on python. At the end of every false trying to make it true, it keeps running the false even after I might given the command when it's true.

Below is a screenshot
You are passing 55 as a string.

And what were you trying to do with with second print statement?... You might want to work with python's f-strings

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