₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,279 members, 8,444,772 topics. Date: Tuesday, 14 July 2026 at 01:39 AM

Toggle theme

Brukx's Posts

Nairaland ForumBrukx's ProfileBrukx's Posts

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

EducationRe: The medical students and aspirants thread by Brukx(m): 4:42pm On Apr 11, 2021
Charis123:
Hello everyone here. Please I want to enquire on the following about uniport med school. uniport med students should please help me. These questions apply both mbbs and bds

1. School fees
2. Level of passing through 100lvl to final year. Hope it isn't as frustrating as UNN.
3. Standard of living in PH city.
4. School environment.
5. Does BDS have good future prospect?
6. How is uniport dental surgery school. I read in an article that they suffer certain constraint such as no equipment and student source for patients.

That's all I remember for now. Thanks and God bless.
1. Over 100k in year 1 and 45k in subsequent years
2. Pretty straightforward
3. Campus area in PH is very okay asides expensive house rent.
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 3:15pm On Mar 28, 2021
Percival9:
Succession isnt top class


Its boring dark comedy series
From the guy that watches Jane the Virgin cool
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 6:28pm On Mar 27, 2021
Percival9:

Guys PLS SOMEONE SHOULD RECOMMEND SOME TOP CLASS SERIES FOR ME APART FROM

Power
Gomorra
Monarca
Dark desire
Vis a vis
30 coins
Peaky blinders
For life
Banshee
Sex education
The originals
Lucifer
Queen of the south
Breaking bad
Money heist
How to get away with murder


Something entertaining Help a brother

Yellowstone
Succession
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 11:03am On Mar 07, 2021
BigDawsNet:
Debris another Alien series ...very promising
SPOILERS
This is Jonathan Tucker, he plays Loki in American Gods.
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 11:20pm On Feb 22, 2021
rahman8:
how do you know? And what's ur proof
That's what happened in the book. He was talking to Wednesday.
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 9:30am On Feb 21, 2021
American Gods
Season one 8/10
Season two 6/10
Let's see how this third season goes.
BusinessRe: Upwork Thread (Questions/Help/Advice) by Brukx(m): 12:24pm On Feb 19, 2021
obalala:
Hello house glad I stumbled on this thread.. I developed interest in I.T early last year and btw then and now, I have learnt Sql and basics of Powerbi, sometime last month got an MCSA in “developing sql” . The big question is “am I ripe enough to start taking jobs on Upwork “? The big challenge is not having many database files to practice with .
2. Is the data visualization space on Upwork saturated (having too many competition)
3. Should I learn a language I.e python before trying out Upwork..
Would appreciate an answer .. once again really glad I saw this thread
I've seen many questions like this. They all end up ignored. Signing up on upwork and finding out yourself won't be too difficult.
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 12:17pm On Feb 19, 2021
junketer:
People, please did Better Call Saul happen before, during or after Breaking Bad? I am now watching S2 ep3 but I still can't figure out when it happened.
Better Call Saul is a prequel
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 8:15pm On Feb 16, 2021
DandeNumeruno:
When a decent product is lampooned for no good reason, it shows a propensity to act without forethought. It wasn't my objective to be savage, but merely what I felt to be appropriate, owing to the manner in which he put forth his rationale.
I really want to appreciate you for putting him in his place.
ProgrammingRe: What Was Your Experience Going Into Dark Web? by Brukx(m): 8:29am On Feb 15, 2021
Sapeleboy911:
Any thing illegal goes on in the deep web. You can buy ammunition, hard drugs of any type, bank accounts,human bones, paypal, eBay, amazon, porn and all sorts of account. You can buy pirated software's,like windows, random steam keys. Personal documents, like SSN, driving licence with selfies, passports fake dollar, and hacked databases.
You need crypto-curency like bitcoin, monero and others to make payments.You can only access the deepweb with tor or torum browser.
Deepweb and Darkweb are not the same thing. Do not mistake one for the other.
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 7:53am On Feb 14, 2021
amtalkin:
I have watched Blindspot, Designated Survivor, Seal team , The brave, Money heist, billions, Power, VIKINGS, Narcos, Monarca,
Ozark, Breaking bad, better call Saul, HTGAWM.
Pls someone should help me with TV series to download.
Yellow Stone
Succession
God Father of Harlem
His Dark Materials
Lovecraft Country
ProgrammingRe: Rate My Design Using CSS And HTML Only (PICTURE) by Brukx(m): 7:44pm On Feb 10, 2021
SJay7:
I started learning web development a week ago, and i designed this today using CSS and HTML... Rate on a scale of 1-10...
Nice. I'm eager to see how this looks on mobile
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 7:35pm On Feb 09, 2021
Just started American Gods and each episode leaves me like WTF just happened? I'm hyped !!!
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 7:12pm On Feb 08, 2021
Percival9:
GHOSTS NEVER DIE

Ghost is returning to power book 2: GHOST
This is an old picture from a different movie
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 7:10pm On Feb 08, 2021
vosquare:
Please recommend a good law series apart from suits and how to get away with murder
Better Call Saul
ProgrammingRe: Django And Wordpress by Brukx(m): 8:49pm On Feb 06, 2021
Karleb:
It is.

All you need is to copy the landing page, edit it some php for python and put it in your homepage on Django website.
This is like starting over again
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 12:20am On Feb 06, 2021
Exercise
Write a pagination function. This function will convert a 1 dimensional array into a paginated 2 dimensional array. It will take 2 arguments. The first argument is the array to be paginated and the second one is the number of elements per pagination.

Examples
list=[1,2,3,4,5,6,7,8,9,10]

paginate(list, 5) should return
[[1,2,3,4,5], [6,7,8,9,10]]

paginate(list,2) should return
[[1,2], [3,4], [5,6], [7,8], [9,10]]

paginate(list, 3) should return
[[1,2,3], [4,5,6], [7,8,9], [10]]
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 8:56pm On Feb 02, 2021
Tekii:
Rewatching LOST with fresh eyes..
Moving on to succession next
And maybe afterwards go back to finish steinsgate 0.
You will enjoy succession
TV/MoviesRe: What Series Are You Watching Now? Part 2 by Brukx(m): 7:38pm On Jan 26, 2021
DandeNumeruno:
Not bad... not bad, at all.
I enjoyed this series
ProgrammingRe: Why Are Backend Developers Paid More Than Frontend Developers? by Brukx(m): 8:26am On Jan 24, 2021
DualCore1:
In my humble opinion and experience as a fullstack dev, I think a backend dev does more work and a frontend dev does harder work. This is based on my experience and possibly my strengths and many weaknesses.

I'll try to list out the tasks, categorised into the different roles to explain why I think a frontend dev's job is harder.

Backend part
Planning of the business logic, drawing up storyboarding on paper
I have to go back and forth getting feedback and refining the logic
The choice of database technology has to be made, mapping out a db schema and relationships.
The API's structure needs to be planned, i.e the objects that need to be created, the endpoints and routes that need to be created
What stack to use... what technologies to use... what tradeoffs to make (e.g building my own user identity management or using AWS Cognito, using Mysql on an AWS EC2 instance or using AWS RDS, using a node server or going AWS Lambda... the GCP and Azure people, sorry for the Amazon bias)
Then the coding starts by writing out tests for all the planned endpoints, and all the tests should fail initially (TDD).
Then if one is being very righteous, write integration tests for all the objects.
Then import necessary NPM packages, add own packages, write objects or classes (JS doesn't have real classes, I can't argue).
...the bulk of the work is in writing the objects. This is where all the data structures and algos come in. One has to keep refactoring to get the best performance without compromising the beauty and readability of the code.
Then create routes for all the endpoints
Finally run the tests
....and debug until all tests are green.
Then fireup all endpoints on Postman and generate the API documentation.
Git setup ...creating necessary branches
CI/CD setup
Some of these roles are devops/sysops inclined but a backend guy is usually expected to do them, depending on the organisation.
Can you please share more details on the bolded?
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 6:20am On Jan 22, 2021
Deicide:
That's not a number in any programming language I know of.....numbers don't start with zero....if you think am lying create a variable and assign it 09787 and see if it'll compile
It's not an integer, but it's definitely a number.
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 11:08am On Jan 21, 2021
Karleb:
Question. Write a function that determines if a word is a palindrome.

Hint: Palindromes are words that has same spelling backward and forward.

E.g madam, racecar.
def checkpalindrum():
x=input("Enter a word:" )
a=0
b=-1
while x[a]==x[b]:
length=len(x)
a+=1
b-=1
if a==length:
return x+" is a palindrom"

else:
return x+" is not a palindrom"


print(checkpalindrum())
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 9:47pm On Jan 20, 2021
Deicide:
The method used, though language used also play an important role.....You could also use module arithmetic to solve this, I think that's the fastest way to solve this.
Let's see your solution.
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 1:01pm On Jan 20, 2021
naijasensei:
my_input = input("Enter a number, either 4 or 7: "wink

my_output = {'4': 7, '7': 4}

def is_it_4_or_7(my_var):
return my_output.get(my_var)

print(is_it_4_or_7(my_input))
cool
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 7:23am On Jan 20, 2021
JFOD:
Yes, it is . However it's not going to do anything

Maybe I don't really understand, what should happen if something other than 4 or 7 is passed?
The function should not run if 4 or 7 is passed.

user_input = input()

paired_num = {'7':4, '4':7}
#checks if the number is 7, returns True if it is
def is_7(y):
return '7'==y

def is_4(y):
return '4'==y

seven = is_7(user_input)
four = is_4(user_input)
def main_func(x):
return paired_num[x]

while seven or four:
print(main_func(user_input))
break


This will not return None if another number is passed as an argument
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 1:12am On Jan 20, 2021
JFOD:
user_input = input()

paired_num = {'7':4, '4':7}
#checks if the number is 7, returns True if it is
def is_7(y):
return '7'==y

def is_4(y):
return '4'==y

def main_func(x):
seven = is_7(x)
four = is_4(x)
while seven or four:
return paired_num[x]
break

print(main_func(user_input))

Note: I worked with strings because python takes user input as strings and I don't want to do type conversion cox that will break it if a non digit character is passed.

What do you think? Good enough?

Modified

I skipped the user input part in the first post because I felt it wasn't necessary
Almost complete but the main function is accepting arguments outside 4 and 7
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 12:27am On Jan 20, 2021
JFOD:
Create a dictionary/object
Use 7 as a key and 4 has a value (vice versa)
Create a function that will take one argument
Return the dictionary index using the argument that was passed.

Python implementation

Unamed_variable= {7:4,4:7}

def dont_use_if(x):
return Unamed_variable[x]

This should work

Modified:

Some measures are not put in place
Example: it should only accept either 4 or 7

While loop comes to mind but I feel that's not a good idea.

def is_7(y):
return y == 7


def is_4(y):
return y == 4

Then add this to the first function

a = is_7(x)
b = is_4(x)

while a or b:
return unamed_variabele[x]
break

This should work fine
I'm seeing 3 functions here. Where is the main function ? I'm also not seeing any point where user input is requested.
ProgrammingRe: Thread For Nairaland Algorithm Questions by Brukx(m): 9:58pm On Jan 19, 2021
Lemme just drop this here

Question
Write a function that takes user input. The input must be either 7 or 4. If the input is 4, the function should return 7. If the input is 7, the function should return 4. Do not use if or else statements. Do not use exceptions.
ProgrammingRe: Why Are Backend Developers Paid More Than Frontend Developers? by Brukx(m): 9:44pm On Jan 19, 2021
When you have sat down on the toilet for 24 hours debugging your code, you will know which one is more difficult.There are many drag and drop tools that has made life easier for GUI designers. Even the front end tools are powered by backend technologies. If you ask this question in stackoverflow, it will be deleted instantly.
EducationRe: Delta State University (DELSU), Abraka Thread by Brukx(m): 9:22pm On Jan 19, 2021
Brachy:
. Pls what department are you , why didn't you do your result verification before your clearance and what year did you do your clearance
The post you quoted is 2 years old. That was when I did my clearance
EducationRe: The medical students and aspirants thread by Brukx(m): 2:23pm On Jan 18, 2021
You really feel indifferent about medicine and you spend every second of your time on the medical thread seeking the slightest opportunity to pour negativity and fustration on aspirants, using same fustration in giving prejudiced advise? This is a new kind of obsession. This thread is losing it's purpose.
ProgrammingRe: Javascript by Brukx(m): 4:19pm On Jan 16, 2021
manando1:
Hi can someone please help me with JavaScript that do the following , For Example: If User clicked the button one time, the value should increase from 0 to 1 and then if clicked again, then the value should be 1 to 2. And the greatest amount of numbers be placed on top of the table automatically . My current code isn't functioning accordingly

Thanks
What's the output your code gives? Check if you are doing the type conversations properly. I don't understand the table aspect by check the script below

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