₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,254 members, 8,421,002 topics. Date: Friday, 05 June 2026 at 04:27 PM

Toggle theme

Bovage's Posts

Nairaland ForumBovage's ProfileBovage's Posts

1 2 (of 2 pages)

ComputersRe: Post Your Laptop Problems Here And Get Solution To Fix It Yourself by bovage(m): 6:45pm On Dec 21, 2020
Duyo1:
Ever since I flashed the hard drive with window 7. Once I boot the laptop on this is what is displaying. What might be the cause and what is the possible solution?
Try re-installing it
ComputersRe: Post Your Laptop Problems Here And Get Solution To Fix It Yourself by bovage(m): 6:40pm On Dec 21, 2020
jmanity:
My laptop shows this screen. It doesn't show normal display anymore. Please help me.
Check your boot device priority first! kiss

It might be that the hdd has shifted from its normal position (i.e no longer connected to the motherboard) or you don't have os on it.

Ps: from your first pic the laptop was showing bsod before it now started showing boot device not found it is most likely your hdd has spoilt.

If the hdd is bad
You will have to replace the hdd and install os on it
EducationRe: Is There Anyone Here Who Can Solve This Permutation And Combination Question? by bovage(m): 10:46pm On Dec 11, 2020
11C4 should be the answer
ProgrammingRe: A Thread For Tutorial On Python Programming by bovage(m): 6:29pm On Nov 18, 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)
All of the rows or just one. If just one which one?

If you want to get all of the rows, do this

for row in matrix:
print(row)
ProgrammingRe: Learning Programming. (my Nairaland Journal) by bovage(m): 1:02pm On Nov 09, 2020
Karleb:
Python doesn't increment like that.

Why don't you write it out for the dude. This write up might end up confusing him the more.
It is called augmented expression not increment.
Python doesn't have the incrementing by 1 and decrementing by 1 syntax in javascript.

Javascript supports augmented expression, incrementing by 1 (i++) and decrementing by 1 (i--)
ProgrammingRe: Learning Programming. (my Nairaland Journal) by bovage(m): 12:53pm On Nov 09, 2020
naijasensei:
Hi there, my good friend. Glad to see you are making progress.
For question number 4, I think you misread the question.
1. You see that dot between 47 and 48? It is actually a multiplication operator, not a decimal point. It is placed at a height that is mid height of the two numbers, rather than being placed on the baseline e.g. 47*48 not 47.48 I will apportion some blame to the authors though.
2. We can prove this by manually performing the calculation:
(512 - 282) / (47*48 + 5) = 230/(2256 + 5) = 230/2261 = 0.101724900 = 0.1017 (to 4 decimal places)
Let me just drop a piece of advice which will help you going forward. When you have a problem you are trying to use an algorithm to solve;
understand the problem perfectly, solve it manually to confirm that you know the expected solution. In programing, when programs are tested - you provide known inputs, then you check that the program produces the expected output.
3. You don't need a function or integer division to solve this problem.
4. I also noticed you had some issues with parentheses. In Mathematics there is BODMAS (Brackets Of Division Multiplication Addition and Subtraction) to determine precedence of operations, but in programing we have PEDMAS (Parentheses Exponentiation Division Multiplication Addition Subtraction). To force a certain precedence use parentheses.

//Sample program
result = (512 - 282) / ((47 * 48) + 5)
print(f"The result of the calculation is: {result}" )

Don't give up, you are on the right track.
Naijasensie has said it all.

You can use the round function to approximate it to 4 d.p.

round(number, ndigits)
ProgrammingRe: Learning Programming. (my Nairaland Journal) by bovage(m): 4:16pm 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
Since, you have converted the string (input function returns string value of whatever is been given) to integer.

Your comparison should be
if user != 55:
--snip--

not "55"
ProgrammingRe: CSS Gurus: My Media Query Is Behaving Like An Imbe! by bovage(m): 6:10pm On Oct 27, 2020
Have you checked for typo in your html code first? Maybe you made a mistake in the value of the id attribute.

flex is a shorthand property for flex-grow, flex-shrink and flex-basis in that order.

If you specify one value for the flex property, that means you have specified the same value for flex-grow and flex-shrink, flex-basis will have a value of 0.

By default, flex-grow has a value of 0, flex-shrink has a value of 1.

Note: flex-grow and flex-shrink values are relative to their other flex items

flex-grow is used to specify how the available space (generated as a result of expanding the browser window size) will be shared among the flex-items.

flex-shrink is used to specify rate at which the flex-items size should be decreased when the browser window size is being decreased.

You can think of the flex-grow and shrink values as the sharing ratio.

flex-basis is used to define the base size of the flex item. It can act as the width or height of the items depending on the value of the flex direction. Say the value for the flex direction is column, the flex-basis will act as the height and vice versa.

Note: the flex-direction property is for the flex container


I hope this helps. smiley

emirex50:
Hey geeks, so I've been working one login in page using flexbox to divide the screen into[b]#left[/b] and #right div.

Everything has been going on fine until I used @media query to make the page responsive to device screen size.

Problem:

I gave the right div a flex value of 6 to make it bigger than the left div which I gave a flex value of 4. I.e;
#right{
flex: 6;
}
#left{
flex: 4;
}

Now the browser(chrome) interpreted it the other way around making the left div bigger than the right div.

What could I be doing wrong here?
I would appreciate your solutions please.
Check video tutorial on YouTube for more info
ProgrammingRe: Can Anaconda Studio Crash Operating System? by bovage(m): 11:21am On Oct 21, 2020
What operating system are you using?
ComputersRe: What Do I Do After This? by bovage(m): 12:35am On Aug 04, 2020
Do what the error message suggests you do. Simply head on to control panel > programs > uninstall a program , select Microsoft office suite and click on repair. Have you activated it?
ProgrammingRe: Dear Programmers, How Do You Remember Your Syntax? by bovage(m): 6:34pm On Jul 30, 2020
SUPREMOTM:
That's a dangerously bad practice!

Instead, you code once, create methods, classes and assemblies while at it. Import them and use later or forever!!
Exactly, one of the programming principles talks about this.
DRY (Don't Repeat Yourself)
ProgrammingRe: At 40, Can I Still Learn Programming And Be Good At It? by bovage(m): 5:50pm On Jul 16, 2020
BuddhaPalm:
In your experience, what have you programmed that required all this maths. Or any maths at all?
Seriously. You don't really need advanced math like calculus unless you going for Machine Learning or Data Analysis.
ProgrammingRe: At 40, Can I Still Learn Programming And Be Good At It? by bovage(m): 5:46pm On Jul 16, 2020
Macwrites:
Yes you can. Provided you want to practice it for the next 5 to 10 years.

Anyone can learn programming in a few weeks/months. But it will take months/years to be good at it.


You need a lot of hours to build up, fix bugs and improve your codes to become good.

Yes you can switch at 40. And yes you can turn it to a new career.
100% True. It requires daily practice
Adverts9jabexclusive by bovage(op): 7:22pm On Mar 03, 2018
visit 9jabexclusive. for post,article,note ranging from science to Art to Commercial. This site is owned by Fayemi Boluwatife a.k.a Favictor Bovage.
https://9jabexclusive./

ComputersThe Basis Of Computer File by bovage(op):
A computer file can be defined as a block of arbitrary information or resources used to store information that is available to the computer program which is usually based on some kind of durable storage
Types of Computer File
1.)Data File: It is used to store data
2.)Text File: It is used to store document or text.
3.)Program File: It is used to store computer instruction.
Definition of Terms used in Computer File
1.) Character: This is the smallest element of file which can be either letter,number or special characters.
2.) Field: This is the collection of characters or bytes that makes up a single fact or unit of information called Data Item. It is also known as Data Field.
3.)Record: This can be defined as the collection of related field or data item.
4.)Computer File: This can be defined as the collection of related record.
5.) Database: This is the collection of related file. File are usually integrated in database using database management system e.g Microsoft Access, Oracle etc
5.)Key field:This is used for identify record so that it can locate and process it.
Types of Key field
There are there different types of key field and they are:
i.)Primary key field: This type of field is unique i.e Only one of it exist. It is also known as 10 key field e.g Matric Number , Admission Number, Registration Number of students.
ii.) Secondary Key field: This is also known as 20. Example is Department.
iii.) Tertiary Key field: This is also known as 30. Example is Faculty.
[url] https://9jabexclusive./2018/01/31/the-basics-of-computer-file/[/url]

1 2 (of 2 pages)