Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:59pm On Feb 26, 2016 |
asalimpo: @Seun Take a deep breathe. Dont feel cornered. Read up on structs (you say you're no novice to c), to refresh your memory. I sense that the strange/ugly syntax (*,->,struct) is getting to you! Na, but it feels very unfair for me to ask a question that i dont know the answer na. I am not computer that should solve his problems na. The object of a challenge is to test the prowess of both of us. Enough talk. If he cant create a struct i will attempt and provide my solution. Mind you am half way already. So many errors.lol |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:58pm On Feb 26, 2016 |
dhtml18: And i still put it to you that you are completely wrong, yet you insist on your foolishness. Luckily, the repositories are for public consumption. The codes are visible to the WWW, let people decide for themselves. A thing is what it is - what you say does not matter.
You are too technically incompetent to decipher the difference between dhtmlsql and zebra_database, and that one is not my fault. I owe you no explanation because you are not smart enough to understand. If you think i have stolen the code, then report to the zebra_database dude, stop making mouth for nothing here. Dont worry i wont dig. I dont like to open skeletons am not meant to see. LOL. I dont mind you digging sha but you can ask me rather than make assumptions. Cause assumptions can create uneccessary wahala. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:55pm On Feb 26, 2016 |
airsaylongcon: I can and I have solved it. Now get to work as time is running. Remember I'm a lowly warehouse rat and you are the big dog well experienced programmer To be sure you know what you asked me to solve and not just checking answers in an online site, create a very simple struct with 2 integer members and a function; |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:51pm On Feb 26, 2016 |
airsaylongcon: I gave you a solution to guru01 code in C and you picked it apart highlighting security errors. That's why I chose a C code for you. To exhibit your skills So you want to ask me a question you cant solve? Really!!!!! The rules for the challenge was that you should also be able to solve it na... Dont get me wrong i will attempt to solve this just want to have some chat fun before digging into it |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:47pm On Feb 26, 2016 |
airsaylongcon: What issues have you got with it? Unlike you, I am willing to explain. You insulted me that we aren't on the same level of understanding when I asked u to further explain your question. But I am willing to explain mine Now you are making me laugh sha. Do you even know c at all?? Or this is just to wind seunthomas up... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:46pm On Feb 26, 2016 |
FincoApps: I guess now you know what we meant when we said you must have a language or 2 that you are better at. Apparently, you don't know C as well as you know Java or Python.
I know a few languages too but I find it easier to solve problems in Java and Javascript compared to others. I hope you understand now...it's all about PREFERENCE I disagree with you. Its just that some languages are harder to do things in. This could be done in python in minutes-1 hour but may take sometime in c for me. It does not mean i dont know or mastered c. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:44pm On Feb 26, 2016 |
asalimpo: ok. Pick your tool and go to work. We are waiting. Here's a chance to prove yourself. I will do it in c but Correct the following code so that it works properly as it will not work in its current state? Means its broken A C program is written to count how many nodes are accessible from any of the nodes in th data structure I assume you want this to be corrected int count(struct t*a) { If (a->m) return 0; return count(a->b) + count(a->d)+1; } and not the struct itself. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:40pm On Feb 26, 2016 |
airsaylongcon: Do I know the answer? Yes Why did I streamline to C? Because you picked my C code apart with security issues. I want you to identify the problem with this one
Was it sourced online? You be the judge of that. Google is your friend First of all the question does not look like its properly presented. I can make assumptions sha... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:36pm On Feb 26, 2016 |
asalimpo: Did i mention your father here? I restricted my comments to you. Keep urs to me and others. Nobody's parent is here observing ur clowning. Then behave yourself na. Its not compulsory you have to talk. Just observe. ok.... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:34pm On Feb 26, 2016 |
I will spend sometime to attempt the question anyway now. But how do i know if the answer is correct?? |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:33pm On Feb 26, 2016 |
asalimpo: I know your type: sold piraded cd's. Graduated to second hand 'puters. Bought a used mini laptop. Gate crashed into web dev (php,mysql). Learnt python ... Added all those years he was around anything related to computers , and claimed 18 years programming experience. Seriously how do you know your life's story so well. lol |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:32pm On Feb 26, 2016 |
airsaylongcon: From a question bank used by a multinational software company in recruiting trainee developers See your life can you solve it? Why ask me what you cant solve and how do i know your answer is correct cos it would seem unfair. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:31pm On Feb 26, 2016 |
airsaylongcon: You will ask questions?! 
I did not ask any one question when you fired your question. Abi u wan Google am? Be my guest. What time tomorrow should I expect your answer tomorrow? First of all, do you know the answer to the question you asked me(Seriously and no fooling around). The challenge was supposed to be generic with a choice to pick a any tool of choice. I know c but i prefer to use python or java for this kind of task. Lastly was this question sourced online because the idea was to test individual skills and not to throw me interview questions from online sources( i may still attempt it but require honesty on that). |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:25pm On Feb 26, 2016 |
asalimpo: If you believe this punks excuse ,you'll believe anything. His question was poorly phrased,misleading and confusing. Trying to cover up with this cheap excuse is donkey-pride at work. Read thru the early pages and you'll see this tactics used time and time again by him. @asalimpo Why you make yourself an agent of confusion, if i start again you go say i dey curse your origin, make you behave ya self na. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:23pm On Feb 26, 2016 |
airsaylongcon: Seunthomas come chop I no fit answer this one tonight ohhh as i don tire na. But i will ask some questions first before going into a solution. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:21pm On Feb 26, 2016 |
After 23 pages, people are getting information. @dhtml18 were you dey na.... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:19pm On Feb 26, 2016 |
asalimpo: 22 pages of noise from a windbag who kept going off in tangents. You want me to remind you of your origin??  |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 11:14pm On Feb 26, 2016 |
mobolaji88: FOA, I didn't expect dis thread t get to 22 pages mehn...u guys are tense.
Second, boss u will be needing some sort of parallel distribution to achieve that sort of feat...or you get a computer with atleast 20 cores (3rd generation cpu atleast).
Even though ur question was valid, it was incomplete. U shld av specified the means of distribution if its shared or independent and if shared, we wuld need knw the number of cpu available and so on. It was complete, because a novice would not know that you cant achieve 100k requests on a single box. The guy no get experience na. Na experience be programming. You cant do it on a shared box or single box (its impossible na). |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:52pm On Feb 26, 2016 |
|
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:46pm On Feb 26, 2016 |
|
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:45pm On Feb 26, 2016 |
@airsaylongcon Na wolfram alpha dey prepare your question? Me i don tire i wan go sleep ohhhhh... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:44pm On Feb 26, 2016 |
FincoApps: hahaha Seriously, I don't think seuunthomas is a kid at all... I think he's a mature man and approaching old age. That's why i watch my words with him He might sound erratic because the thread has gone too long. It happens to different people in different ways. For example if I personally am in a chess game for too long, I start making erratic moves that I never would make normally. So you can play chess. You go teach me. You are right am not a teen but am not old either. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:37pm On Feb 26, 2016 |
dhtml18: That sheds light on a lot of things. . . See person wey dey talk. LOL..... |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:35pm On Feb 26, 2016 |
asalimpo: Yeah. Let's guess. From the way you blab, you could be a transgendered man. From your coding chops, you cudve been a recent programmer (1 - 5yrs experience). From your crudity, a street kid or tout. From your immaturity a teen or tween. You don come back?? I thought you have left us na. Welcome back. Stand for line. lol |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:34pm On Feb 26, 2016 |
airsaylongcon: Tsung can be tweaked to get 100k requests. I am preparing your question. Very funny. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:33pm On Feb 26, 2016 |
dhtml18: You did not ask me, besides the question is not complete - that invalidates and disqualifies the question, you have lost your turn. airsaylongcon, oya, challenge the dude jare. Make him flop again so that i will laff. If i did not ask you then hold your peace na. You just like to jabo. Anyway the solution is simple but not everyone can do it. First of all you need to use a language that supports threads(e.g java,python,etc). Next you need to setup a cluster of machines because 1 machine can not generate that many requests in 1 sec. You will tune each machine to allow maximum file descriptors, When creating multiple threads you will always reach a critical point where the operating system wont allow any more threads, so you need to set the maximum allowed open files to a very high number. You start all your threads on all the machines and they will gradually build up till they get to 100k threads. So no jmeter cant solve this. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:26pm On Feb 26, 2016 |
airsaylongcon: I wouldn't bother my head to write a script. There are loads of tools that can stress test a we server to breaking point
Now you won that one. I can't write the script. Can I ask you my challenge question? Fire away. there is no tool that can do 100k per sec sha. you need to create one. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:23pm On Feb 26, 2016 |
dhtml18: If you do not know that your question is not correct? that is just too bad for you. You shame yourself even more. Are you avoiding the question?? |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:21pm On Feb 26, 2016 |
airsaylongcon: Same thing I thought o! I know he is trying to stress test a web server probably. This xan be done with JMeter or Apache Bench.
Seunthomas can you provide further explanation ? We are simulating 100k users doing what? I forgot we are not on the same level of understanding. lol |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:20pm On Feb 26, 2016 |
dhtml18: simulate 100k users per second? is that even a question? Well, bros @dhtml the target is to test a web application to see if it can handle load. So create 100k users to visit a url in 1 second. You may not need to write the script cos it will take a good programmer a month to do from scratch. I just need to know the pitfalls of such a solution. What problems will likely happen, how your script would be designed etc. An algorithm. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:11pm On Feb 26, 2016 |
dhtml18: That your question ain't complete at all. In fact, it makes no sense to me at all. . . . What is missing?? It cant make sense na. OLODO. |
Programming › Re: The Greatest Programmer On Nairaland by seunthomas(op): 10:11pm On Feb 26, 2016 |
dhtml18: After many posts, he is trying to out-talk himself - as I expected.
If that profile is your boss, then, we could charge you for impersonation/masquerading, deception, fraud and many other crimes - if I publish my full findings here, but i wont do that, it breaks nairaland rules, it is uncalled for, and it does not solve our problem of determining if you code with your hands or your mouth. Ok ohhhhh. Should we go there? |