Programming › Re: Cool Python Projects by greatface(m): 7:30pm On Apr 09, 2017 |
eugy45: Please what IDE do you use? I'm new to python. I'm a .NET developer, and I'm trying to setup django in sublime. How do I go about that? (Using Python ) In absolute sincerity, i may not be of much help because i have not programmed using computer. i program on android using qpython3 and it comes with idle which i use then but have switched to 920 text editor. google is your best friend. it is all about knowing the right keyword or keyphrase. and your problems are solved. |
Career › Re: 5 Occupations That Receive The Highest Number Of Insults In Nigeria by greatface(m): 1:48pm On Apr 09, 2017 |
PROGRAMMERS: EVERYBODY KEEPS INSULTING YOU FOR SITTING BEFORE THE COMPUTER HOURS DOING WHAT THEY DONT UNDERSTAND. BUT WHEN THEY RUN INTO PROBLEMS, YOU ARE THEIR FIRST AND ONLY CHOICE. ASK DHTML18 |
Literature › Re: NAME the Nairalanders writers And Their Stories That Made U Read All Night by greatface(m): 11:28am On Apr 08, 2017 |
LLEIGH: THE CLUB, AUCTION, THE RIVER (DID SHE CONTINUE THE STORIES?). CREAZA: WLD AND OTHERS. BIBIJAY123 AND THE OTHER BIBI... SKARLET, SHEWRITES AND MANY OTHERS.
I WONT FORGET FIYAH; SILENT SEDUCTION BUT I WAS DISAPPOINTED SEEING IT INCOMPLETE AND WHEN REFFERED TO A BLOG. IT COULDN'T DISPLAY ON MY MOBILE. 1 Like |
Programming › Re: Cool Python Projects by greatface(m): 10:18am On Apr 08, 2017 |
Argonn: Thanks to you all.
Can someone please give me a very simple app to code in python. TODO LIST APP(WEB) AND OR QOUTATION APP(WEB). IMPLIMENT BASIC FUNCTIONS SUCH AS; DISPLAY, ADD, UPDATE, DELETE. ASK QUESTIONS AS YOU GO. |
Programming › Re: Cool Python Projects by greatface(m): 10:08am On Apr 08, 2017 |
Argonn: Please is it possible to code a HTTP server and a HTTP client on the same workstation and run them at the same time? Will they connect?
I tried it and the client failed to connect. Maybe there's some bugs somewhere. Please someone should shed more light on this
Please don't mind my stupid questions. I'm a novice. I HEARD IT IS EASY TO CREATE HTTP SERVER IN PYTHON BUT MYSELF I JUST STARTUP THE INBUILT SERVER AND CONNECT TO ITS OPEN PORT USING COMPACTIBLE BROWSER |
Programming › Re: Cool Python Projects by greatface(m): 9:55am On Apr 08, 2017 |
olamil34: create a simple forum with django THE GUY SAID HE DONT HAVE COMPUTER YET, THEREFORE HE IS USING ANDROID TABLET. UNLESS IF POSSIBLE WITH QPYTHON AND NOT QPYTHON3 HE CANT BE ABLE TO INSTALL DJANGO. HENCE, HIS ONLY OPTION IS BOTTLE MICRO FRAMEWORK. I STAND TO BE CORRECTED. |
Programming › Re: Cool Python Projects by greatface(m): 9:42pm On Apr 07, 2017 |
Argonn: Please how can I install web frameworks/libraries on QPython. i still have not been able to install any external library in qpython3. the qpypi repository is still empty the last time i checked and when i downloaded from pypi i wasnt able to install becuase of dependency libraries not bundled in qpython3. i was stuck with bottle the web micro framework. |
Programming › Re: Cool Python Projects by greatface(m): 7:00pm On Apr 07, 2017 |
Argonn: I do hear about web apps but I don't know excactly what it is. Please guide me on building one for practice. I use QPython on my android tablet as I don't have a laptop. myself am currently learning and building webapp using qpython3 and it's web micro frame. it is not easy though i enjoy every bit of it as i keep learning. |
Business › Re: Anxiety As Withdrawal, Deposit Charges Begin by greatface(m): 8:42am On Apr 03, 2017 |
HOW THESE TAXES ARE TO BE UTILIZED IS WHAT REALLY MATTERS
BECAUSE I DONT TRUST THIS RULERS CALLED LEADERS. |
Politics › Re: Radio Biafra International Broadcasts From America by greatface(m): 6:20pm On Mar 17, 2017 |
farouk0403: I know where you are eyeing in my previous post,
"treachery" right?
you are trying yo tell me that yorubas are traitors, thats the only excuse you igbos have against yoruba's,
but I wont buy it, I am not a yoruba man, but I can say it with confidence that yorubas are not traitors, Awo is protecting the interest of his people, and thats what every leader need to do.
unlike Ojukwu where by he failed to control his people, and he dragged them in to war with a baby country (Nigeria) as of then.
Ojukwu started the war because of ego, he doesnt want to accept the fact that Gowon was the president,
because he was his senior. SO YOU HAVE THE POWER TO READ MINDS AND YOU CANT TAP KNOWLEDGE FROM THE WISE ONES. AM NOT TALKING ABOUT GOWON OR WHATEVER BUT ALWAYS GET YOUR FACTS RIGHT BEFORE YOU PRESENT THEM. YOU CANT BEAT A CHILD AND STILL FORCE HIM NOT TO CRY. |
Politics › Re: Radio Biafra International Broadcasts From America by greatface(m): 5:58pm On Mar 17, 2017 |
farouk0403: ' you guys should Learn from ojukwu, he dropped his biafra agenda in the 70's and he contested for the office of presidency. you are still wrong on this yet you are not talking about what i qouted you for. |
Politics › Re: Radio Biafra International Broadcasts From America by greatface(m): 5:06pm On Mar 17, 2017 |
farouk0403: Lugard, have foreseen a potential in one Nigeria thats why he amalgamated us, and we are doing just fine.
Then the bloodline treachery of igbos decided to betray Nigerians by Massacring of top politicians of the southwest and North, while giving hint Azikiwe to took off. I wasnt planning to say a word until i saw this which is just the direct opposite |
|
Business › Re: Dangote Sets Up Truck Assembly Plant In Lagos, Creates 3,000 Jobs :vanguard by greatface(m): 9:03pm On Jan 16, 2017 |
When It Matures |
Celebrities › Re: Media Entrepreneur, Mo Abudu Shares Selfie With Annie Idibia (photo) by greatface(m): 9:00pm On Jan 16, 2017 |
A |
Literature › Re: Silent Seduction by greatface(m): 10:32pm On Jan 12, 2017 |
I have been reading this interesting story but half way down the path I discovered that some of the posts!updates by the author fiyah has been removed
Do anyone have any explanation to this please.
Fiyah and others please come in for help because the story is interesting and can't risk reading half way. |
Programming › Re: Just Totally Confuse Pls Help A Learner Here by greatface(m): 9:26pm On Jan 05, 2017 |
I think what you need is to locate where that file is saved then right click on it and choose open with python.
But as a learner I will advice you stick to python's inbuilt IDLE until you are familiar with it and how other stuffs work.
Happy learning. |
Events › Re: Happy New Year by greatface(m): 12:13am On Jan 01, 2017 |
Happy New Year Nairalanders. |
Programming › Re: Need Help With Python Server Side Programming by greatface(m): 9:40pm On Dec 12, 2016 |
I bet You are better off with frameworks.
You "may" regret reinventing the wheel unless it is for learning purposes or some other better reasons. |
Programming › Re: Pyqt4 by greatface(m): 9:52pm On Dec 09, 2016 |
|
Programming › Re: Pyqt4 by greatface(m): 9:45pm On Dec 09, 2016 |
kjsunday3: Thanks bro @greatface will do dat It has helped me severally so You are always welcome to try it. |
Programming › Re: Pyqt4 by greatface(m): 8:40pm On Dec 09, 2016 |
kjsunday3: The ones ive searched for on google are mostly for sale,i appreciate Try to type ".pdf" at the end of the search string. As in "pyqt4 tutorial .pdf" instead of pyqt4 tutorial. That way you get access to free ebooks. |
Literature › Re: {Nairaland's Closet Of Secrets}: #NlWriters. by greatface(m): 3:43pm On Nov 28, 2016 |
Horlorlardaey: greatface I will read this from alpha to omega. But am currently busy. Thanks for the mention. |
Programming › Returning Static File Like Image With Bottle In Qpython3. Help Needed Pls. by greatface(op): 8:35pm On Nov 24, 2016 |
Am working on a project with qpython3 on an Android device using the inbuilt bottle framework.
I used the static_file function and was able to return images but when I try to return both images and texts[html] at the same time it fails. I.E. It either returns the image only or the text alone.
Any help would be greatly appreciated geeks.
Thanks in advance. |
Programming › Re: Correct This Registration Form Code Please!!! by greatface(m): 7:39pm On Sep 15, 2016 |
Olumyco: U need to correct this statement - "not all browsers support JavaScript".
U might need to tell us that browser that doesn't support JavaScript.... You should know that all browsers on mobile platform don't support JavaScript. As a matter of fact, many don't. |
Programming › Re: How To Calculate Total Time A User Spent On My Site by greatface(op): 5:09pm On Sep 14, 2016 |
FrankLampard: Sincerely, I no understand one thing that guy say up there.  I believe he is talking about using JavaScript to listen to events and then trigger functions on the backend that do the actual stuff. |
Programming › Re: How To Calculate Total Time A User Spent On My Site by greatface(op): 5:03pm On Sep 14, 2016 |
FrankLampard: Yes, but that is the only way you can get the time spent for unregistered users, but for registered user, simply use that user credentials. Well, I wont be keeping records of unregistered user. At least not much. More thanks. |
Programming › Re: How To Calculate Total Time A User Spent On My Site by greatface(op): 11:26am On Sep 14, 2016 |
DonSegmond: this is garbage, you can't use the time the user leaves the browser window to gauge how long they have been at the site.
i'll double space this reply so you can follow.
if i go to a site, and then leave my browser open, and come back 5 hours later then leave. i haven't spent 5 hours at the site.
if you are not going to use say your apache logs, then you must use javascript and check there is a user activity such as mouse or keyboard actions.
again, this is if you wish to get accurate metrics. if you don't care about correct data, then why even bother?
to the original poster, if this is just a personal challenge, then start with javascript and slowly work it out. if not, piwik, google analytics or any of the other dozen alternatives out there should solve your problem rather easily without you having to code. I have to implement it myself. No wars beautiful minds. Thanks again. |
Programming › Re: How To Calculate Total Time A User Spent On My Site by greatface(op): 11:16am On Sep 14, 2016 |
FrankLampard: The simple Algorithm for this is thus:
Stored the IP address of the user as the user visits your sites.
Create two column in your db table "created_at" and "updated_at" or anything you choose to name it,
When a user visits, store the IP and the created_at column as well as the updated_at column, as the user is leaving make sure you update the updated_at column.
You can use JS for this or during Logout process.
You can get the difference in another column by using MySQL TRIGGER if you are using MySQL or just calculate the difference yourself.
Thank you. Big thanks for helping out. I have thought about the IP method but one problem, I think is that visitors IP do change occasionally. Or am I wrong here? |
Programming › Re: How To Calculate Total Time A User Spent On My Site by greatface(op): 11:09am On Sep 14, 2016 |
DonSegmond: It's diffcult if you don't use javascript. In that case, you will have to store everytime a page is fetched, then crunch that in the backend. That is what analytics are used for. You can just install piwik or google analytics and they do those for you. If you really wanted, you could have a javascript that does an ajax call to a counter on the backend say every 10 second. Then tally up in the backend. If you don't wish to use code, javascript, you could just parse your web server logs, see what time they visited and when they last visited. You can put a timespace so say a user doesn't fetch a link for 1 hr then any link visit after that is regarded as a new visit. Best of luck. Thanks for your help. I really picked up a lot from it. But I need more elaboration on the bolded part. Thanks again. |
Programming › How To Calculate Total Time A User Spent On My Site by greatface(op): 11:24pm On Sep 13, 2016 |
I am building a website with micro framework which doesn't support sessions and am trying to implement one myself.
Am therefore requesting for ideas on how to implement this strategy.
I dont need code samples. All i need is a clue or at most pseudo code.
Many thanks before hand. |
Programming › Re: Correct This Registration Form Code Please!!! by greatface(m): 9:51pm On Sep 10, 2016 |
I think you need to add extra stuff to that form tag to be able to upload that pics in your form.
Am a learner though. |