Jacob05's Posts
Nairaland Forum › Jacob05's Profile › Jacob05's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 (of 37 pages)
Updated: 10/08/2015 11:43 UNDERSTANDING THE PROBLEM : ARITHMETIC OPERATIONS BETWEEN ORDINARY FRACTIONS ADDITION, SUBSTRACTION, AND MULTIPLICATION OPERATIONS [img]http:///a/img673/7564/rV1occ.png[/img] From the Above we can see Similarities between them. Understanding these would aid coding. Division Operations is a little different [img]http:///a/img661/7716/5R1vDr.png[/img] That Understood. We know all we need to begin the Development. So Let’s Get CODING !!! Question: But Oga Jacobu , We’ve not Discussed about mixed fractions how can we begin coding? Answer: According to Agile Practices, You don’t need to know all about your system before you get coding (Water Fall). We just need to know part of the system that is most needed currently and independent of other areas of our project or system not yet implemented. We’d treat that in other next iteration so we log that feature in our iterations backlog . That Said…. LET’S GET THE TESTS ROLLING |
UNDERSTANDING THE PROBLEM : FRACTION ARITHMETIC Before we jump unto our systems and get the test running and the codes rolling we need to understand the problem So what is a fraction ? According to Wiki, hmmm..blah blah Types: Mixed Fractions and Ordinary Fraction [[img]http:///a/img633/1702/Z3CiYM.png[/img] That understood. How are Arithmetic Operations Performed between two fractions ? |
PROGRAM REQUIREMENTS Our Program is to accept as input integers representing values that compose two fractions (Mixed or Ordinary Fraction) and Perform Arithmetic Operations on them. The operations include: Additions Subtractions Multiplication Division Comparisons (Equals and Not Equals) Fractions can also be: Incremented Decremented Outputted in Human Readable form |
POST 2: What’s Test-driven development? TDD , is a disciplined programming technique built around a simple idea: no production code is written before there’s a failing test that justifies the existence of that code. That’s why it’s sometimes referred to as test-first programming. It’s more than that; by writing a test first, you drive your production code toward a design called for by the test. This has the following desirable consequences: Code becomes usable —The design and API of your code are suitable for the kind of scenarios you’re going to use it for. Code becomes lean —The production code only implements what’s required by the scenarios it’s used for. [img] [/img] https://imagizer.imageshack.us/v2/500x450q90/538/0yFkqR.png https://imagizer.imageshack.us/v2/5000x450q90/912/rY6K4k.png The Fundamental Test Life Cycle [size=30pt] The Golden Rule of Test-Driven Development [/size] [size=25pt] Never write new functionality without a failing test. [/size] Won’t be boring you with the jargons of TDD. I’d advise you google Books on it to Learn more. |
Esdb3:yea.. Learn with me !!! |
TOPIC: Tutorial: Building a Simple Fraction Arithmetic Program in C# using TDD Hi, Everyone. I’ve been learning TDD (Test-Driven Development) for a (longggg) while now and I’m revisiting it now for good. I’d like to have firm crisp of it and implement it in my existing projects and new ones. So I’m writing this tutorial to aid my knowledge. Note: This is my first tutorial on any forum. Expect Typos (Lolz) I’m Building a Simple Fraction Arithmetic Program in C# using Test-Driven Development Method. Pls, Creative , criticisms and corrections are strongly welcomed. Peace !!!! Cc: dhtml18 pcguru1 Seun lordZOUGA |
First (obviously) you'd need to learn a programming language... That'd let you know the basics of how programs run, their behaviours and logic... I'd advise you learn Python...or hmmm C++ Then learn how old viruses that made waves were designed and the logic behind them.. Learn debugging....(not saying much) Subscribe to exploits sites too. As they provide info on vulnerable apps..(targets) .. peace |
Sure... You've got experiences with other languages like PHP or Java.. you should be able to.. But it takes more than a Month to master its usages just like any other language. |
Hmmm... ![]() |
Seun:It implements the MARF, The Modular Audio Recognition Framework, to do Training and Recognition http://marf.sourceforge.net/. The MARF comes with a bundle of FEATURE EXtraction Methods to sample audio for "speaker properties" and Classification Methods .. The program stores "speaker properties" analysed using LPC (Linear predictive coding ) and MAHALANOBIS_DISTANCE Classification Method in the DB when a audio file is inputted for training with a default id 0f 1. The MARF recognize method enable input of a sample audio file which is analysed for "speaker properties" using the set FEATURE EXtraction Methods and Classification Method and then matched with "speakers properties" in it repository. MARF would always return a match so the program calculates the probability of the matched id and if it is high enough (used >=0.75) then the speaker is recognized. Note: It is also a fork of a user ucungsr Don't know how to explain much but hope I'm clear enough. |
Seun:Nairaland has a upload restriction.... project file approx 4.1MB |
sleeknick:Hmmmmm
|
I guess 1) String dbURL = "jdbc:mysql://example.com :3306 /my_db_name"; 2) Enable Your Computer as an Access Host By default, all IPs are blocked and must be added to an access list in order to access the server. So, before connecting to MySQL from another computer, the connecting computer must be enabled as an Access Host. Google that |
jacob05:CC: Seun Files shared with you |
Ademat7: |
Yea |
dhtml18:Naaaaaaaaaaaa |
Make E no be like say person no do anything... here is my submission... not promising 90% accuracy though... but i think with the right training file (wav ...Mono 16bit 16000hz) you should get close to that.. Share Project File: https://drive.google.com/open?id=0B5eDDamBqCKsZjFldnlCQzNqb28 Peace !!!
|
Jskelly11: ![]() |
dhtml18:The thing no work jare.... slooooow too much self |
jajad:Voiceid is kinda sloooooooow!!!.. |
dhtml18:exactly my observations too. |
cbtgeek:40k ? Why don't you collect 50k from Oga Seun by submitting ur code to him.. you'd earn 10k more.. |
cbtgeek:bros , write something and stop all these unsolicited lectures... It's getting irritating ![]() |
dhtml18:yes sir... Waiting for NEPA to restore power..I'm using a desktop-Laptop ![]() |
I think MuhammaduBuhari == Dhtml18 |
Sorry.. mistake |
Seun:Noted, sir !!! |
MuhammaduBuhari:[U-Turn] MuhammaduBuhari ![]() |
donjayzi:LOL....[enters MARUWA, Voooooom] |
.. peace


... reserved my comment.