₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,014 members, 8,429,033 topics. Date: Thursday, 18 June 2026 at 11:00 AM

Toggle theme

Silento's Posts

Nairaland ForumSilento's ProfileSilento's Posts

1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 27 (of 39 pages)

RomanceRe: Texting Tips For Long Distance Relationships. by silento(m): 10:27am On Apr 29, 2020
Long distance relationship is good when u are good at cheating , coz u will have enough time to knack other girls
RomanceRe: See What My Ex To Be Claims She Is Right Doing For A While Now by silento(m): 10:19am On Apr 29, 2020
liquidfaya:
so it's okay for his heart to be broken?
Not what I mean , sha
ProgrammingRe: I'm Addicted To Nairaland. by silento(m): 10:18am On Apr 29, 2020
What makes nairaland to load fast is not seo as you claim , the technology used and template , believe this or not nairaland was found during the time of 2g network seun creating nairaland from scratch put that in consideration and made the site to be lite , if nairaland should upgrade its ui believe me u will hate this site ,

Load page with or thread with 10 images then u will understand that nairaland is a bit slow but
So my point is that with the modern technology we have nairaland will load extremely fast , because of the underlying code and design not seo
ProgrammingRe: I Need Your Recommendation On This Project by silento(m): 1:32am On Apr 29, 2020
The vr for something like jiji is stupid ideal , his ideal about likes of Facebook and etc is right
RomanceRe: See What My Ex To Be Claims She Is Right Doing For A While Now by silento(m): 1:26am On Apr 29, 2020
Ubunja trained this one wella ride on and Break more hearts on your mission
Forum GamesRe: Nairaland Crossword Quiz 2 by silento(m): 9:45pm On Apr 28, 2020
Seun worst enemy dhtml18
ProgrammingRe: Can Someone Help Me With A Solution To This Python Problem by silento(m): 10:20am On Apr 28, 2020
scarplanet:
1. Line 3 is not necessary. Memory space is being wasted initializing largenum = 0.

2. Your code will yield no result If num1 is larger. tongue tongue
U seems to know too much about python , instead of correcting someone you are mocking them , don't forget python is not the only programming language someone that has good background from c or c++ will always write his code like that ,
ProgrammingRe: Can Someone Help Me With A Solution To This Python Problem by silento(m): 12:41am On Apr 28, 2020
scarplanet:
First, your code is 95% correct. However Like you have been already told, variable names are case sensitive. You started with Num1 and Num2; then i switched to num1 and num2. Red flag!

Secondly, python builtin functions always start in lower case... have that imprinted at the back of your mind. Therefore "if" and "else" should start in lower case, "print" also.

Third, I have seen a lot of young programmers use int() with the input() function. That is TOTALLY WRONG. Let me tell you why. If in this your code you are to find the larger number between 20.2 and 20.3. When you use int() with input(), then both values will be rounded to the nearest integer and 20 will be returned. You see, the goal is defeated. I have also seen some people say you can use float() with input() if you want to enter a floating number. However, remember that you don't write a code for your own use, it is for others to use and maybe reproduce. So in a case where u have used float() and a user of your code enters 20 in the input, it is automatically converted into 20.0 float value. This alone is enough to distort the final result. Note that in programming, 20 and 20.0 are not thesame!
So then, what should you use? Well not many person might know, but whenever you want to return a non-string value with the input() function, the best function to use is eval(). To be used as eval(input("say something" )).

Cheers
It is never wrong to use int with input , it depends on the problem at hand
ProgrammingRe: Get This Module Done And Get Paid by silento(m): 5:22pm On Apr 27, 2020
Can get this done for you for just 10k that's what I charge per page with back end call
ProgrammingRe: Can Someone Help Me With A Solution To This Python Problem by silento(m): 5:17pm On Apr 27, 2020
num1 = int(input("Enter number one "wink)
num2 = int(input("Enter number two "wink)

largenum = 0

If(num1 >= num2):
largenum = num1

else:
largenum = num2

Print(largenum," is the large number"wink
WebmastersRe: See What I Made After My Mvc Lessons by silento(op): 10:42am On Apr 25, 2020
Yes bro but it was a lot cooler doing it in.mvc and also it made my code more neat
WebmastersSee What I Made After My Mvc Lessons by silento(op): 11:45pm On Apr 24, 2020
After learning mvc concept
During the second week of lock down i decided to make small web app with it ,
[url]xposer.[/url]

RomanceDo You Think You Know Yourself ! Play This Game And Find Out by silento(op): 8:08pm On Apr 24, 2020
Visit enter your details and share screenshot
[url]xposer.[/url]

ProgrammingRe: PHP MVC Model Is Complete Garbage by silento(m): 11:59pm On Apr 23, 2020
lovely cakephp
ProgrammingRe: PHP MVC Model Is Complete Garbage by silento(m): 11:56pm On Apr 23, 2020
I have been coding with php for 5years now but learning mvc concept just few days have made me believe how stupid I was for not giving mvc concept a trial since

Mvc is the best thing that can happen to any php developer who want to make money and enjoy building website

Mvc is the future

At first everything will be like magic but once u understand the concept bro u will enjoy it die


Neat syntax , reusable function , easy call to database , in fact mvc made it more easy to expose ur variables from models to views

Easy reusable template and fast coming up with website design

Mvc is the way and future

If u can't do mvc just know that web programming is not for u in coming years

Mvc that made php easy as python u are here bashing , na people like u that pointer in c language will frustrate and u will call the language rubbish forgetting that it is the mother of all most higher languages

Beat your self and learn mvc concept you will thank yourself in near future when u complete full functional website in a day
RomanceRe: Ok by silento(m):
u better break up with such girl , she has another guy you are just second option my bro am talking from experience
i once had a girl you cant correct her on her action or most thing she post on socail media and etc she hardly chat with me and when i complain she is always ready to say i act childish or threaten to break up long story short i got extra two new girl friend after i discovered she was also doing her own stuff i hacked her whatsapp via installing a spying app now i dont complain again i only chop her she show i have moved on to someone who valued me and my time ,
note : when a girl loves you , hot temper and yeye stunt you will hardly see she her display them for your side
any girl that threaten to break up with you never value you and she is just dating you for financial benefits
RomanceRe: How Whatsapp Stickers Is Helping Bring Back Lost Thrill In My Relationship by silento(m): 10:28am On Apr 21, 2020
you are single my man that first love is dead she is using u to kill boredom when lockdown is over you will come here on nl to talk how she do u this do you that
RomanceRe: How Do You Feel Dating A Woman You Dont Love... by silento(m): 10:22am On Apr 21, 2020
true love on long distance relationship not dey work talk more of person u no love abeg leave and save your self the regrets and time to be wasted
ProgrammingRe: Mlm Website Needed, Come In If You Can Develop One For Me by silento(m): 9:07pm On Apr 17, 2020
If u are still in need holla me 3hours and it is ready
ProgrammingRe: DJANGO Payment Solutions by silento(m): 10:23am On Apr 15, 2020
Playforkeeps:
Just to clear a few misconceptions, you can't just access an API's endpoints in any language/library you want. API's are designed and optimised for specific usage on specific platforrms. Yes, Computers are about 0's and 1's, but that doesnt mean i can just implement any library i want because that is what im comfortable with, all languages are not built equal and the backend may implement some type of auth that just doenst have a mature counterpart in another language if it isnt supported by the target platform, thats like trying to deploy a web page in a language not supported by Browsers.
Paystack supports PHP natively so everything is abstracted at the backend into the API for the developer to use, so it would be impossible to reimplement a codebase that you cant even understand what the native code does at the server-side. The best thing for OP is to write a wrapper around the Php API in Python, but that seems wasteful. The best thing is to learn a new Language/framework if you intend to interact with API's across the web on a consistent basis. I would recommend you sharpen your Node/JS skills.
Even jQuery $.post can do the job here the api in particular is not language dependent any language that can do http request can call to paystack api
ProgrammingRe: DJANGO Payment Solutions by silento(m): 12:37am On Apr 14, 2020
See what I was trying to make u understand is that every thing in programming is 0s 1s not a magical files or jargons

Most api calls are like normal http request you do like visiting nairaland with your browser but this time around with small flavours that's the header

And instead of get mostly is post method


For example a php example of haystack


$curl = curl_init() here library that do the http is fired up

$email = "your@email.com";
$amount = 30000; //the amount in kobo. This value is actually NGN 300

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.paystack.co/transaction/initialize",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amount'=>$amount,
'email'=>$email,
]),
CURLOPT_HTTPHEADER => [
"authorization: Bearer sk_test_36658e3260b1d1668b563e6d8268e46ad6da3273", //replace this with your own test key
"content-type: application/json",
"cache-control: no-cache"
],
));

If you look at about incomplete code u will see that
The url was visited
https://api.paystack.co/transaction/initialize
But instead as get now as post and post data was supplied which is the amount etc

Then header with auth and other was also supplied once the api verify the auth it will go to post data and perform what's it is supposed to do


Now to reimplement this in python http request library is what you need if u are good with python finding such library in standard lib won't be difficult for you
ProgrammingRe: DJANGO Payment Solutions by silento(m): 10:49am On Apr 13, 2020
EngtTemmy:
If they don't support it, there is no way one can implement it. For example, to implement stripe or PayPal with Django, you have to import from stripe or PayPal module in your code.
Talk about things you know any language that can do http request like post and get can implement almost all payment I know all they do is do http post request with auth headers then get respond as Json or text or etc
ProgrammingRe: DJANGO Payment Solutions by silento(m): 11:50am On Apr 12, 2020
Some people sef read their documentation be it js,php,python or any language u can implement your own payment system unless u are not a programmer , coz I don't understand why a programmer will asking for already made code on ordinary put,get http requests
ProgrammingRe: Net Framework Issue by silento(m): 7:54am On Apr 04, 2020
Find ur window 10 disc install the dot net 3.5 after install 4.6 and 4.8

Make sure your window 10 build is from August 2019 up if u don't want stories during installation
CelebritiesRe: Salawa Abeni: Nude Photos And Why I Helped The Blackmailer Release Them by silento(m): 7:49am On Apr 04, 2020
Worst nude of the decade a nude person can't get a hard on from it that one na nude? undecided
CrimeRe: Delta Lockdown: Soldier Shoots Man Dead In Warri - Mr Jollof (Graphic Photos) by silento(m): 11:26am On Apr 02, 2020
Na startment be this more dead body go soon surface
ProgrammingRe: Please advice me by silento(m): 9:49am On Mar 30, 2020
RemiAbdulSamad:
Install Ubuntu as a newbie programmerhuh This your advice sef
I said kubuntu , even if it ubuntu trust me Linux is not that complicated to use like before

Ubuntu and ubuntu folks 18.Bleep
Are very easy to use and set up

I have a newbie that am teaching what he is using is ubuntu trust me he hardly boots into windows , as a programmer ubuntu has almost all you need just xampp and sublime text , other stuff are already there he should install kubuntu
ProgrammingRe: Where Can I Buy An Investment Script Compatible With Wordpress by silento(m): 4:28am On Mar 30, 2020
I don't have wordpress but I have working gold coders , rock hyip , kingsoftware hyip , onlinetrade hyip aka forex and also other two that u haven't heard of but new in the market

If u need it my number 08161392463

Contact for price
ProgrammingRe: Please advice me by silento(m): 4:24am On Mar 30, 2020
This baby will serve u well at this stage when u get more money then go for full powered lappi

ProgrammingRe: Please advice me by silento(m): 4:22am On Mar 30, 2020
What u need new comer is just a laptop with up to 14inches screen wide , up to 80GB hard drive and 2GB of ram

Install it Linux kubuntu

It will handle

Html,php,c,c++,python,java,JavaScript,python
And many more

Something like hp compaq 6910p will do the job and u can get it with that amount
ProgrammingRe: I Need An E-commerce Website Just Like JIJI by silento(m): 4:14am On Mar 30, 2020
Am from Anambra state , over 6years plus experience on web development

Php,css,js

For a project like this

I will charge you a total of six hundred thousand naira, 600,000

Which u will be paying 50k per month


Contact : 08161392463

I have team of two people a graphic designer and a social media marketeer

They work remotely not always around with me but they will deliver the best for you
ProgrammingRe: A Programmer Is Actually Milking Me. by silento(m): 7:45pm On Mar 27, 2020
I have worked over on 15 hyip site , cloned , installed script and worked 3 from scratch

If u really have the $250 and know exactly what u needed contact me and I will give u fresh website working with no error but my terms I will set up ur website for you with no errors not to come and be teaching you how to be using every dam function to work with me u also need to be smart , not in the middle of mid u will call me to ask me how to login in to ur web mail when u have password and username

1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 27 (of 39 pages)