Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,330 members, 7,954,337 topics. Date: Friday, 20 September 2024 at 04:57 PM |
Nairaland Forum / Jacob05's Profile / Jacob05's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 37 pages)
Business / Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by jacob05(m): 7:18pm On Jan 10, 2017 |
bdavis:Birthday Gift Card Code? |
Business / Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by jacob05(m): 6:10pm On Dec 16, 2016 |
Big-ups to @bdavis for the awesome transaction. bdavis helped out with the ordering of my Monitor with Gift card on Amazon. Highly recommending bdavis.
|
Business / Re: ➜ ➜ ➜Currency/E-currency Market Deals➜ ➜ ➜ by jacob05(m): 8:33pm On Dec 07, 2016 |
I need $581 worth of amazon gift card. Kindly reach out on 0,8,1, 63949712. Thanks |
Programming / Re: Jquery Plugin For Nigeria States And Corresponding Lga by jacob05(m): 9:23pm On Sep 04, 2016 |
dhtml18: Baba, send PR to the main repo. |
Programming / Re: Php Micro Framework by jacob05(m): 10:13pm On Aug 07, 2016 |
Lumen or Slim http://www.slimframework.com/ 1 Like |
Programming / Re: Laravel Issue by jacob05(m): 4:12pm On Jul 18, 2016 |
1). Are you sure you're amending the currently used php.ini file use the below to check >php --ini 2). Is the Uwamp server compiled with the Openssl included? |
Programming / Re: Andela Will Empower Africa's Next Generation Of Great Technical Leaders by jacob05(m): 5:24pm On Jun 21, 2016 |
Nmeri17:butthurt Naaa... any reason to be I asked because I'm curious to know the standard of the place you work for you to say such. ¯\_(ツ)_/¯ |
Programming / Re: Andela Will Empower Africa's Next Generation Of Great Technical Leaders by jacob05(m): 10:47am On Jun 21, 2016 |
dhtml18: |
Programming / Re: Andela Will Empower Africa's Next Generation Of Great Technical Leaders by jacob05(m): 9:49am On Jun 21, 2016 |
Nmeri17:Where do you work pls? |
Programming / Re: Andela Will Empower Africa's Next Generation Of Great Technical Leaders by jacob05(m): 4:28pm On Jun 19, 2016 |
Passing by. mrdcai: You seem to know a lot.
|
Programming / Re: Phpsocket.io-Real-time Chat Engine With HTML & Android Client Support [Updated] by jacob05(m): 5:45pm On Jun 01, 2016 |
dhtml18:Any plans towards refactoring the code, writing tests and breaking the classes into files? |
Programming / Re: Simple Factorial Challenge by jacob05(m): 11:25am On Jun 01, 2016 |
xrange would be better though... performance wise. ... But It won't kill for now.. |
Programming / Re: Simple Factorial Challenge by jacob05(m): 11:23am On Jun 01, 2016 |
slysoft: x^2 + (5/3)x^3 + (23/12)x^4 + (119/60)x^5 ... + (2*[5000!-1]/[5000!])x^5000 The power starts from 2 to 5000... range( 2, 5001 ) generates a sequence from 2 to 5001 - 1 (5000).. |
Programming / Re: Simple Factorial Challenge by jacob05(m): 5:07am On Jun 01, 2016 |
slysoft: And that is still naive and the wrong way of solving the problem (Although it gives you the correct answer ). The organizers of code competitions knows the easy, and mostly expensive, way of solving the problem and they most times set that trap for you. (Learnt the Hard way in the Google Code Jam 2016). Always avoid factorial loops that move towards 1000 ... It's a trap !!!... Finding factorial is an expensive runtime operation.(Especially one that tends towards 1000) Quote me if I'm wrong. 2:
Funny enough, It's relatively the same script I posted!!!. The issue with previous was with my use of float for x.. (floats are mostly not accurate) and this beginH = Decimal(1.0). The issue with the above is that 1.0 is a floating point value .. which is not exactly 1.0 when converted into decimal...(don't blame me.. ). Just had to put single quotes... beginH = Decimal('1.0')... Did the same for the rest... lobatan... 3. Yes but I did not use the expensive factorial method to calculate the result. |
Programming / Re: I Want To Learn Programming. Which Language Should I Start With? by jacob05(m): 11:50am On May 28, 2016 |
Python... !!! |
Programming / Re: Simple Factorial Challenge by jacob05(m): 7:19pm On May 27, 2016 |
olyjosh:Hmmm. Thanks |
Programming / Re: Simple Factorial Challenge by jacob05(m): 7:20am On May 27, 2016 |
dozies1:Don't use factorial.. Simple |
Programming / Re: Programming Interview Test by jacob05(m): 9:03pm On May 26, 2016 |
crotonite:Nice. In Python
|
Programming / Re: Simple Factorial Challenge by jacob05(m): 6:07pm On May 26, 2016 |
dozies1:Because you're finding and summing the factorial of numbers from 1 to 5000 : which is quite computation intensive. |
Programming / Re: Programming Interview Test by jacob05(m): 10:43am On May 26, 2016 |
Febup: It's just an implementation of crotonite's solution in Python ... not entirely mine... |
Programming / Re: Help Recommend Good Php Books by jacob05(m): 10:40am On May 26, 2016 |
mbatuku2:academics hmm.. not sure of that... But you can checkout Programming PHP 3rd Edition [url=http://www.amazon.com/Modern-PHP-Features-Good-Practices/dp/1491905018/ref=pd_sim_14_2?ie=UTF8&dpID=51fIuBswbgL&dpSrc=sims&preST=_AC_UL160_SR122%2C160_&refRID=1SZDDA5TG0X2EHRNACKX]Modern PHP: New Features and Good Practices[/url] PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition) You can also try [url=http://www.amazon.com/Objects-Patterns-Practice-Matt-Zandstra/dp/1430260319/ref=pd_sim_14_4?ie=UTF8&dpID=51OQucxkv%2BL&dpSrc=sims&preST=_AC_UL160_SR130%2C160_&refRID=1WAMQ9TRFXHM11Z8SDHK] PHP Objects, Patterns, and Practice 4th ed. 2013 Edition [/url] PHP and MySQL Web Development (4th Edition) |
Programming / Re: Programming Interview Test by jacob05(m): 10:16am On May 26, 2016 |
Febup: use .. Repl.it - Python 2 |
Programming / Re: Programming Interview Test by jacob05(m): 9:57am On May 26, 2016 |
jacob05: Febup: Attention to details ... It's in Python 2 |
Programming / Re: Programming Interview Test by jacob05(m): 11:46pm On May 25, 2016 |
crotonite: In Python
|
Programming / Re: Programming Interview Test by jacob05(m): 11:51am On May 25, 2016 |
I guess they grow "linearly" the same way.. so the solution might be valid. |
Programming / Re: Programming Interview Test by jacob05(m): 11:46am On May 25, 2016 |
crotonite: Is the function solution not running at O(2n) cc dhtml18 Febup. |
Programming / Re: Programming Interview Test by jacob05(m): 3:51pm On May 24, 2016 |
larisoft:Can someone explain how this runs in O(n) cc Febup |
Programming / Re: Can I Learn Python On My Own? Even With No Previous Knowledge In Programming by jacob05(m): 4:10pm On May 23, 2016 |
eNelo: 2 Likes |
Programming / Re: Simple Factorial Challenge by jacob05(m): 3:25pm On May 23, 2016 |
cc: Yemoll Slyr0x: I think your solution or your friend's isn't quite it... Firstly, using a factorial finding function to solve this problem is wrong and naive. e.g I believe $yyy increases linearly with loop and its factorial gets calculated as the $ii increase to 5000.. try finding the factorial of 5000.. without //bcscale(25); Lastly, bcscale(25) ; , makes the solution very likely to be inaccurate as the result of all bc functions are trimmed or scaled to 25. I'm not saying mine is correct or is not ... ... You judge... I'm just making my point.. |
Programming / Re: Simple Factorial Challenge by jacob05(m): 11:56am On May 23, 2016 |
Slyr0x: Thanks |
Programming / Re: Simple Factorial Challenge by jacob05(m): 8:03am On May 23, 2016 |
olyjosh: https://ideone.com/DSusUY |
Programming / Re: Simple Factorial Challenge by jacob05(m): 4:34pm On May 20, 2016 |
Slyr0x: Guess my solution is correct then. |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 37 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 57 |