₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,539 members, 8,445,951 topics. Date: Wednesday, 15 July 2026 at 07:45 PM

Toggle theme

Seunthomas's Posts

Nairaland ForumSeunthomas's ProfileSeunthomas's Posts

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

ProgrammingRe: Solving Real Problems by seunthomas(op): 10:39am On Feb 26, 2016
webdevgod:
Redevelop the entire site using AngularJS to make the site dynamic
Nice try but the site is already dynamic. So explain more. The solution should be a seperate system for real time data.
ProgrammingRe: Solving Real Problems by seunthomas(op): 10:26am On Feb 26, 2016
New Problem
How can a site like NL ensure that when we post stuff its realtime or near realtime.
Proposal develop a chat system for NL or websocket based realtime engine for NL. The realtime engine will support like,comments,post and even chat.

Any ideas?
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:23am On Feb 26, 2016
donjayzi:
^^^Only seunthomas does that. . .since he got his phd programming in 1998.
You don start again ohhh. Fight you no wan fight, talk you can talk. I know you have 1000 accounts on NL but try to respect yourself ohhhh....
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:15am On Feb 26, 2016
CodeHouse:
Abi too much noise @OP just dey make noise here, from my own perspective, If OP had solved the proposed problem, it would have been a different case, dem give you work, you no fit do, now he wants to propose his own problem to be solved by dhtml...

From all the talk sef, you would expect OP to solve any problem coming from dhtml, OP sounded as if he could solve all the problem in the world asking anyone who wanted a challenge to speak, who does that?
Have you thrown a question yet oga codehouse? abi which one be your own self.... dhtml is kid na, we are not on the same level. even his so called aliases are just plain rookies. He luckily flipped a javascript issue(which in my opinion ought not to have worked) and now he feels fulfilled, make i fire am one question na maybe he will survive it.....
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:04am On Feb 26, 2016
Oya @airsaylongcon throw the first question..... You must be able to solve it ohhh. No give me something wey dem never fit solve cos you have to provide your solution.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:04am On Feb 26, 2016
mobolaji88:
Abi o. Oga @seuthomas and oga @dhtml18 , you guys should draw the line and start this thing jawe. i believe in actions not talk so do every sensible human being here; all this distracting rant are just immature. There is no shame in a challenge either u win or loose so far you accept it openly and give a fight u will always be remembered to have been strong enough to take on a challenge

**modified : sorry, oga @airsaylongcon , b like say na u go replace dhtml18 , oya do sometin

**back to my gworo and kunu watching in complete silence***
We go start now.
ProgrammingRe: Who Can Help Me Out With This Codes? by seunthomas:
Lexxyfund:
I created a code for like on my website, but when ever anybody likes a comment , the page is totally refresh and it takes the users to the top of the site, but does anyone have idea how nairaland did their likes e.g? www.nairaland.com/do_likepost?session=BBD453600902D4CBAE23FBAA58F25CEB193CFE59E48B17F480E3876BF71443BE&redirect=%2F2957092%2Foliseh-resigns-super-eagles-coach%2343259579&post=43259579
it doesn't reload a page, it act like a button, .. actually am writing with php language,
a. Use ajax. You send the event in the background and update the ui with response from the server.
b. use an iframe. You load the like button in an iframe and when the user clicks it just update with the required image etc.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 8:55am On Feb 26, 2016
airsaylongcon:
You know what? Create a new thread for it. Me and you let's battle. I will drop a programming challenge from Warehouse management. Bring it on
The rule is you drop a challenge and i drop one. Dont be irresponsible like someone who managed to clip a challenge point and runs of feeling like he just nuked Godzilla(gotchilla)....
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 1:10am On Feb 26, 2016
airsaylongcon:
Running away as usual eh! Well it's your style. I'm not surprised. Runs in your family so keep it up. You can ask for the thread to be closed now you hear. All hail champion programmer seunthomas that wants a programming challenge as long as it's not in warehouse management. Well done. You are the best programmer alive

Dhtml18 smacked you down with a full body suplex and broke your neck with a closeline and you say he ran away? If he didn't runaway he would have committed murder. And we all know that murder is a crime in this country. He had pity on your parents cos whatever money they wasted training you could have been put to better use
"IT" just has a way of wearing one out like a nagging woman.....
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 11:46pm On Feb 25, 2016
airsaylongcon:
Hahahahahahahahahaha! Why are you running to a new thread? I dropped the challenge here. Respond here so I can humiliate you in front of everyone here just like dhtml has dragged your sorry add through the mud. And I thought you said I have no clue about Warehousing or Warehouse Management System. Apparently you know better so what's wrong if I throw you a programming question that has to do withe warehouse management. After all I've had to "hack" code together to get some functionality that I need and is not a available in my current WMS solution. As a top notch Badass programmer you should not limit your domain
"IT" please note this thread is for the runaway @dhtml18. There is enough real estate on nairaland to create a seperate thread for "IT"
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 11:38pm On Feb 25, 2016
guru01:
Mouth maker == prolog + project manager of erp.
Dont mind "IT" joor am sure "IT" does not know either of both.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 11:37pm On Feb 25, 2016
airsaylongcon:
PROLOG for hobby, PM for work. Now what is it you said you do again Mr PDO/MySQLi? Or you are just a mere coder. A mechanic talking where a mechanical engineer is talking. A hospital cleaner challenging a DR. Go through my posts I never claimed to be a coder. I manage you types who are really technicians.

I cannot be bamboozled by your high sounding words. One pin and like a balloon you will be deflated. Shall I get in challenge with you?
From all i have seen @guru01 is more intelligent than you. You are just a common agbero am sure u dont even do any prolog or should i quiz you on prolog?
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 11:35pm On Feb 25, 2016
airsaylongcon:
I already dropped a challenge for you. How else can I have refused to enter a challenge?
You want me to create a seperate thread for that? Mind you its programming and not WM.
ProgrammingRe: Solving Real Problems by seunthomas(op): 11:07pm On Feb 25, 2016
omohayek:
You can't really divorce scalability from your choice of platform: for example, given the existence of global interpret locks in both Python (CPython variant) and Ruby, there's only so much you can do concurrency-wise by comparison with Java or C#/.Net, and that's on top of the fact that JVM-optimized code can an order of magnitude faster than interpreted code. Java is no. 1 on the back end for very good reasons.

Now, for some concrete suggestions on scaling the site out:
1. Deploy a distributed in-memory caching system for queries, e.g. Memcached or Redis
2. For storage, use a distributed data store like Amazon DynamoDB or Riak, instead of a traditional RDBMS.
3. Offload serving of images and other such content using Nginx/Varnish - or simply pay Cloudflare to do the same thing for you.

This website doesn't really have any CPU-intensive content, so I'd also rent lots of smaller Amazon/Azure server instances with more memory, instead of 1 bigger one like your original configuration.

Now, I'd like to see your own contribution, instead of just setting others challenges. How exactly would you propose to deploy your platform in a scalable way, across potentially hundreds of servers?
Well i like your contribution so far but me i prefer to save my employers/client on money spent on hardware or vps/cloud servers.
I know we can achieve more with platform but i dont want us to disturb the already existing application. Our solution should just require very little changes to the existing application which is always a preferred way.
a. Instead of using a threaded server use an asynchronous server, this use more cpu cycles but can handle more load than threaded servers like apache. Like you rightly suggested nginx or haproxy with nginx.
b. You are thinking like me on the database level. But assuming Seun does not want to change the application using a key store would be a challenge cos am sure he is using an RDBMS.
c. My best solution would be to use docker on the 32GB server and setup 3-5 haproxy nodes,5> mysql nodes as a cluster and will setup 3-5 nginx instances to serve only static content.
Will elaborate more on this solution.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:56pm On Feb 25, 2016
airsaylongcon:
I've posted and reposted the challenge. But he has mysteriously gone blind when he sees it. His protégé larisoft was given a simple Insertion algorithm to evaluate the speed in big O notation. His dumb fingers typed an answer that wasn't in the options. Na them them dey ask for extra answer sheet for exam when they have been given an answer sheet for multiple choice questions. Dey challenge lecturer say the question no correct. After all them don say browser makers dey make mistake
You refused to enter into a challenge na sissy. Enter and lets us rock and rumble. We need to do this gentlemanly not like agbero.
ProgrammingRe: Solving Real Problems by seunthomas(op): 10:34pm On Feb 25, 2016
omohayek:
When you say that at peak periods nairaland experiences about 10-100k requests, what time frame are you talking about? Per second, minute, hour or day? Without that information it's hard to say anything meaningful about scalability requirements - there are 86,400 seconds in a day, after all.

In addition, a lot more specificity about the technologies used would be helpful. For instance, a Java-based site should be able to handle 3-10 times the load of one written in pure Python or Ruby, and that's even without concurrency considerations.

Finally, I don't see how any site owner that's serious about availability would ever choose to host their site on just a single server, especially one built with the components of a typical gaming rig. All those single points of failure within the machine are just asking for disaster - and that's not even considering the possibility of a failing router or a fire at the hosting center. For reliability reasons, it would even be preferable to spec up several lower-end machines distributed across several regions than to use a single such machine, and renting from Amazon or Heroku isn't that expensive for hosting boxes serving mostly static content.
Thanks for your contribution. The peak requests is measured per second. As for the technology used, it could be any platform(php,python,java,ruby,etc). Scalability is what we are trying to deal with here and i am sure you are aware that would depend on a lot of factors. But so as not to go to far off, lets stick to the itemized points.

a. How can we ensure nairaland serves requests faster(from a web server or application server point of view)
b. what solution for faster database application response
c. any other cool idea to scale this site
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:19pm On Feb 25, 2016
donjayzi:
People who dont want me to kill the OP.
Your Father. You cant kill a fowl.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:12pm On Feb 25, 2016
CodeHouse:
My brother... I see you are trying to make a point but i really do not see any reason for this long thread... Because some are silent does not mean you or dhtml are better coders, the more reason why such topics just turn me off, when one person start challenging others, ufffffffff! well as the topic says, it is an issue with you and dhtml and I see you weren't expecting the "punch" to come in that manner.
I see you are dhtml support trying to play liberal...
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:11pm On Feb 25, 2016
donjayzi:
Everyone saw me give you S.M.A.C.K D.O.W.N in javaScript. I dont need to kill you all over again now?
Please do, am begging for it. Lets get this over with. No more hide, just the raw deal. I am preparing my question.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:10pm On Feb 25, 2016
donjayzi:
After i have whooped your ass in the world-wide-web, and exposed you that you no sabi javaScript eh?

If you cannot defeat me, then you are not worthy of challenging the almighty dhtml18!


After you have already lost.
How could i have lost. There was no equity. You scored a point and did not allow me to present my own challenge task.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:07pm On Feb 25, 2016
donjayzi:
After i have whooped your ass in the world-wide-web, and exposed you that you no sabi javaScript eh?
Man you are just rubbing your wounded ego. Like i said, one more word from you and i will show you am BOSS.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:05pm On Feb 25, 2016
donjayzi:
dhtml18 has been banned, that is why i am under the hood. . .
I might be able to unban if you want to reenter the challenge.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:03pm On Feb 25, 2016
guru01:
@seunthomas can you pls end this challenge since @dhtml18 is no where to be found. Very unlike him.
After a simple comparison of dhtmlsql with zebra database, he went dark.
@dhtml18 you are no longer the open source driver on nl. You are now a conductor.
bro am sure he will come out. He cant hide for long. I give him till tommorrow and if he does not show up i will force him out.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:02pm On Feb 25, 2016
asalimpo:
seun, dont tell us you still want to fight!
Was just warming up. At least i have moved from assumed programmer to a contender na. So am waiting for the real dhtml18 to post so i can send him a simple task.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:54pm On Feb 25, 2016
CodeHouse:
Dhtml abeg come out of the hood o... challenge don finish
Which challenge?? He threw the first punch and its my turn to send him his own question. So he has 1 point na(on the house).
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:48pm On Feb 25, 2016
donjayzi:
Dont mind him jare, he did not know that donjayzi and dhtml18 are the same person, so he fell right into my trap - and got caught with his pants down!
Dude dont vex me. The last guy who did that with my one of my alias, i showed him who was boss. You can ask @slyrox, at least he was a good contender and i respect him for that.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:31pm On Feb 25, 2016
guru01:
You are no match for me since you are called a project manager.
Go and play with your erp.
No mind them jare. They sha one prove say dem dey. Company of olodo's.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:30pm On Feb 25, 2016
donjayzi:
Let me give you the full java version - in fact, let me stick it down your throat:


Now tell me that does not work again?
You are donkey. You changed the single quotes to double quotes.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:29pm On Feb 25, 2016
Please make una check the other thread na. https://www.nairaland.com/2956759/solving-real-problems
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:28pm On Feb 25, 2016
asalimpo:
Go and sleep and rest from the bruises you gained from trying to force your foolish ignorant opinions on others.
Am not forcing my opinion on others but you. You be retard na any day anytime. LOL.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:26pm On Feb 25, 2016
I think i have showed maturity by admitting i was wrong. That shows am human ohhh and not like some people wey believe say dem code be perfect coder na.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 9:24pm On Feb 25, 2016
asalimpo:
the dude is a big clown. What do you expect from a person, who says native infinite loops are recursive. Then challenges you to a duel when corrected?
Mr non programmer face your Warehouse(wey you no even sabi well).

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