Eazyd's Posts
Nairaland Forum › Eazyd's Profile › Eazyd's Posts
Javanian: Game Programming, Game and Graph theories.what kind of games are you working on, i am currently looking for a game programmer for a project. |
Javanian all the way again! |
Javanian all the way! |
@eazyd1 |
Javanian: Am FlatteredAs usual, you delivered promptly! |
solution- public class ConstantValue { public static void main (String [] args) { // declare data; double e; double k; double denom; double term; // initialize the data; e = 1; k = 0; denom = 1; do { k++; denom*= k; term = 1/denom; e += term; System.out.println("The value of constant e = "+e); } while (term >= 1E-04); } } |
Specially for @Javanian - love the way you code! ![]() |
Estimate and print the mathematical constant e (equal to 2.71828). You can estimate its value using the formula: e = 1 + 1/1! + 1/2! + 1/3! +1/4! + ....+ 1/k! + ... Quit looping when the term 1/k! becomes less than 1E-04. |
Psuedocode is a simple step you would take to achieve your aim in your program..if you can't write a psuedocode, how would you write your program? |
Seun: They unveiled both.. Don4life: cant wait to get the ipad mini...luvin it alreadyWell i'm so buying the mini as soon as its ready to ship, wanted to place an order today but it doesn't ship yet |
Apple unveiled an Ipad mini today--where the heck do you get your gist from ![]()
|
Treehouse’s “scholarship program” offered 2,500 free “Gold” accounts to college students in the U.S. for a full two years( i got one). To participate, you had to be able to prove you’re actually a college student, like having a valid “.edu” email address, for example. As Gold plans are $50/month, it worked out to $3 million-worth of free Treehouse — the equivalent of what they’d collectively have to pay out of pocket. On its blog yesterday, Treehouse officially announced Round 2, saying that the demand “from across the pond, down under and all across the globe” was so strong that it’s now offering 5,000 two-year Gold accounts. This time, the scholarship is open to students around the world of any age — as long as you’re currently a student or graduated within the last year (and you’re not a current Treehouse student). To apply click the link and submit the form http://blog.teamtreehouse.com/6-million-treehouse-scholarship-for-students-worldwide I'm a current Treehouse scholarship student and can testify of the greatness of having to learn for free, develop a skill that's so dear to my heart. If you have any questions about the application, qualification, when the results will be announced, your chances of winning- drop a comment and i'll sure assist the best i can. Stay Tuned! |
Do what you love and you will never have to work a day in your life. Programmers live a simple and modest life, they ride bicycles to work that cost way more than $20k. Reference : http://www.nytimes.com/2012/05/18/technology/a-start-up-is-gold-for-facebooks-new-millionaires.html?pagewanted=all&_r=0 |
Israelie: xup guys, wat is d coursera al abt...can u explain more abt it pls..Go to https://www.coursera.org/ |
@Seun can you make the ads open target = "new" |
Great. The lecture starts today! I have a very busy schedule too but i'll try to follow the class up, i got the book from amazon and its a wonderful course just to make you think mathematically. ![]() |
cool..how has your experience been so far? |
I don't know if this is the right section to post this topic but how many people on NL is participating in Introduction to Mathematical Thinking by Stanford on https://www.coursera.org/ . 50,000 students signed on, just wondering if anyone on NL did so we can collaborate during the class. It starts tomorrow, Sep 17th 2012 (7 weeks long). |
i jst did tho and yea i know pastebin bt i dont click on links like that..you shoulda stated the question on pastebin before posting the code.Nice job! |
sandy0000: I am using the code below to insert adsense code into my joomla modules. The ctr for these is so good. I would like to edit the code to display 2 more ads on the 8th and 12th count. Please how can I insert additional banners :One open short tag should work fine, just like the above. |
funny bt interesting topic ![]() |
Javanian: http://pastebin.com/q4zJuReywhy this links? well still working on my code in php, will post in a few. |
become an interpreter or get interpretations on http://babelverse.com/ |
Test your skills- use your fav language. Facebook Programming Challenge Back to Question List Time Remaining: 01:42:32 Question 1 / 1 Mastermind is a game of two players. In the beginning, first player decides a secret key, which is a sequence (s1,s2,...sk) where 0 < si <= n, Then second player makes guesses in rounds, where each guess is of form (g1,g2, ...gk), and after each guess first player calculates the score for the guess. Score for a guess is equal to number of i's for which we have gi = si. For example if the secret key is (4,2,5,3,1) and the guess is (1,2,3,7,1),then the score is 2, because g2 = s2 and g5 = s5. Given a sequence of guesses, and scores for each guess, your program must decide if there exists at least one secret key that generates those exact scores. Input First line of input contains a single integer C (1 <=C <= 100). C test-cases follow. First line of each test-case contains three integers n,k and q. (1 <=n,k <=11, 1<=q<=8 ). Next q lines contain the guesses. Each guess consists of k integers gi,1, gi,2,....gi,k separated by a single space, followed by the score for the guess bi (1 <= gi,j <=n for all 1 <=i <=q, 1 <=j <=k; and 0 <= bi <=k ) Output For each test-case, output "Yes" (without quotes), if there exists at least a secret key which generates those exact scores, otherwise output "No". Sample Input 2 4 4 2 2 1 2 2 0 2 2 1 1 1 4 4 2 1 2 3 4 4 4 3 2 1 1 Sample Output Yes No |
myviewr: if it was a full time job that would be understandable, lets even be honest that nearly half a million naira a month for an which is highly unlikely which you know its true now this is, a freelance job where all you have to do is make a simple website just with the features of groups and events no chats no forums. he is likely going to use a cms. Now lets say he uses a cms he being a nigerian he would probably us wordpress and get a free buddy press and install it to the wordpress so really all he is doing is setting up the wordpress for me at 472,476 lets be honest is that reasonable. Now lets say he uses joomla and buys jomsocial which retails for 150 pounds which is nearly 25,000 naira that is still no where close to 472,476. This is the problem with NIgerians you never think ahead, just what can i eat now, how can i get this person to pay me this so i can take an extra 5 naira, Imagine nigerian would want you to pay before a work starts, you haven't done anything, but you want money your customer satisfaction rate is at -100. They drive of potential customers with their greed of just stealing 5,000 instead of them to be thinking if . Do this thing for one person and he is happy about it, nice rate he would recommend me to a friend. This is the part that annoys me the most, after doing all of that to their customers and they don't return, they start saying somebody is destroying their business. When they started doing it from the start they are took SELFISH everything they do is whats in it for me such a bad way of LIFE. LIKE IT OR NOT THIS IS THE BITTER TRUTHcan you help me buy a car and ship it to Nigeria, when i receive it, i will pay u. ![]() |
myviewr: Eazyd email me so we can discusscheck your email. |
myviewr: why are nigerians so money orientated $100 a day he is working with 4 other programmers on the back end of the web site and to doing it from scratch. This is why they find it hard to progress. with this kind of review i would tell my friends not to go there, they just work for money now and not even thinking about bringing in more customers forgetting word of mouth advertisement is the best #we need to changeWhat is your budget for the project and how soon do you want it developed. There are so many open source out there that can get your project live in a matter of days if you get in touch with the right person. Your budget can even be cut half and the rest used in marketing. The main issue is to get a MVP (minimal viable product) and see how users respond to it, you might get the buzz to continue or reconsider. |
download a copy of this book "Thinking Like a Computer Scientist for Python". using this link http://www.greenteapress.com/thinkpython/thinkCSpy/thinkCSpy.pdf |
There are so many online resources that will help you learn programming, i suggest you start with python. download a copy of this book "Thinking Like a Computer Scientist for Python". using this link http://www.greenteapress.com/thinkpython/thinkCSpy/thinkCSpy.pdf Happy Coding! |
i guess the 35k is just for hosting ![]() |
internetpo: Hi!Rather than accessing the $_GET and $_POST superglobals directly, you can make use of PHP functions like filter_input() and filter_input_array(). for example <?php $my_string = filter_input(INPUT_GET, ‘my_string’, FILTER_SANITIZE_STRING); ?> The code above is roughly the equivalent of retrieving $_GET[‘my_string’] and then running it through some sort of filter that strips HTML and other undesirable characters. This represents data sanitization, one of the two things that the filtering system can do. |



