Find and Fix 10 spelling mistakes in at least 10 different files (#2)BRL-CAD
Status: ClosedTime to complete: 72 hrs Mentors: SeanTags: spell check, text edit, spelling mistakes

BRL-CAD is huge.  Thousands of files spread across 165 directories.  Maintaining a high quality of source code and documentation is a never ending task, but one anyone can help with.

Sound's easy, but you might be surprised because you need to ignore all of the source code and function variables that will easily trip up any automatic spell-check program.  You basically only care about spelling mistakes within comments.  Even for our documentation, much of it is formatted in xml and you have to ignore all of the xml tags.

This task involves finding and fixing simple spelling mistakes.  To complete the task, you need to find 10 or more different spelling mistakes in at least 10 different files.  You have to fix all occurrences of the spelling mistake across all those files.  Make sense?

Remember to check and fix all occurrences of the mistakes in all 10+ files, make and submit it as a patch file.

BE SURE TO HAVE UP-TO-DATE SOURCES!!! We find and fix spelling mistakes on a daily basis and throughout the day.  You have to find mistakes that are not already fixed or reported. 

To clarify:

  • 1 mistake in 7 different files counts as: 1 and 7
  • 20 mistakes in 2 files counts as: 10 and 2
  • 5 mistakes across 20 files counts as: 5 and 10
  • You need to find: =10 mistakes AND =10 files
Uploaded Work
File name/URLFile sizeDate submitted
patches.tar.gz2.9 KBDecember 30 2012 20:24 UTC
10Patches.patch7.1 KBJanuary 06 2013 01:33 UTC
PatchesRevised.patch5.4 KBJanuary 08 2013 05:36 UTC
revisedPatch2.patch7.1 KBJanuary 08 2013 17:53 UTC
Comments
Jjcaon December 20 2012 20:37 UTCTask Claimed

I would like to work on this task.

Jjcaon December 21 2012 00:09 UTCAll documentation?

I've to check all the documentation? 

Sean on December 21 2012 02:35 UTCTask Assigned

This task has been assigned to Jjca. You have 72 hours to complete this task, good luck!

Sean on December 21 2012 02:37 UTCAnywhere

You can check any and all files that belong to us.  That means ignore EVERYTHING in src/other, some of the files the misc/ subdirectory, and a few others spread throughout our tree.

Jjcaon December 21 2012 02:57 UTCDo I Have to register?

If is yes, I can't... The error "lt;minnamelength-errorgt;" always appears.

Jjcaon December 21 2012 03:20 UTCI'm sorry

I really want to help but I can't, maybe the next year... 


I don't want to make more mistakes in the documentation so, I unclaim this task. Because, my English isn't good a lot. Maybe I've mistakes here and I don't know... 

Jjcaon December 21 2012 03:20 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Sean on December 21 2012 05:00 UTCdon't have to register

Hi Jjca, we're also here to help you learn, so there's no need to worry.  I think you misunderstood the task just a little bit because you don't need to register on our website.  This task involved fixing spelling mistakes in our project source files.  See http://brlcad.org/wiki/Deuces to get started.  Basically, you just check out our sources from svn and look for mistakes.


You're welcome to reclaim the task if you want.  Like I said, we're here to help you learn.  Ask questions if you don't understand something.

Jackieon December 22 2012 22:19 UTCTask Claimed

I would like to work on this task.

Sean on December 22 2012 22:27 UTCTask Assigned

This task has been assigned to Jackie. You have 72 hours to complete this task, good luck!

Jackieon December 23 2012 00:43 UTCError While Importing

I get this error when I import BRL-CAD VM:


 


Failed to import appliance C:/Users/Jackie/Desktop/BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726.ova.


Could not create the clone medium 'C:\Users\Jackie\VirtualBox VMs\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726-disk1.vmdk'.


VMDK: Compressed image is corrupted 'C:\Users\Jackie\Desktop\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726-disk1.vmdk' (VERR_ZIP_CORRUPTED).

















Result Code:VBOX_E_FILE_ERROR (0x80BB0004)
Component:Appliance
Interface:IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}

Jackieon December 25 2012 04:58 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Samanthaon December 26 2012 03:06 UTCTask Claimed

I would like to work on this task.

Samanthaon December 26 2012 03:14 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

amit.daBeaston December 27 2012 21:32 UTCTask Claimed

I would like to work on this task.

Harmanpreet Singh on December 28 2012 06:48 UTCTask Assigned

This task has been assigned to amit.daBeast. You have 72 hours to complete this task, good luck!

amit.daBeaston December 28 2012 19:20 UTCError while importing

I keep getting this error whenever I try importing the BRL-CAD


(the error is similiar a comment another person posted)


 


 


 


Failed to import appliance C:/Users/Amit/Desktop/BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726.ova.


 


Could not create the clone medium 'C:\Users\Amit\VirtualBox VMs\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726-disk1.vmdk'.


 


VMDK: Compressed image is corrupted 'C:\Users\Amit\Desktop\BRL-CAD_7.21.0_ubuntu_10.04_LTS_x86_r49726-disk1.vmdk' (VERR_ZIP_CORRUPTED).


 

















Result Code:VBOX_E_FILE_ERROR (0x80BB0004)
Component:Appliance
Interface:

IAppliance {3059cf9e-25c7-4f0b-9fa5-3c42e441670b}


 


 


 



 

amit.daBeaston December 28 2012 22:43 UTCError Fixed

Never Mind, I've must have downloaded the wrong BRL-Cad file, I redownloaded BRL-Cad file and i dont get any problems with importing it

amit.daBeaston December 28 2012 23:19 UTCPatch File

I've read on how to create and submit an patch file, but I'm unsure on what to do with it.  If I find a mispelled coment, should copy all the contents in the file and paste into the patch file?  Or is the patch file a place where i can put other files which I've corrected?


-Amit

Sean on December 29 2012 06:13 UTCpatches

Amit, you just submit your patch file.  You'll edit the typos you find, create a patch file with Subversion, and submit that file here.  See http://brlcad.org/wiki/Patches for help if you haven't read that already.


 

amit.daBeaston December 29 2012 06:38 UTCpatches

yes, I read that that page on patches, but what I'm confused on is should I copy and paste the whole file which i made the changes to.  Or do you want me just copy 1 line of code(for each file) containing the edited typos.  I am kind of confused on how your patch file system worked so i just made 10 different patch files for each edited file   

amit.daBeaston December 29 2012 06:45 UTCpatches

also, im trying to upload all my patch files, although i get errors when i try to  put the files in my USB and then tranfer them to my actual comp. desktop.  So... this is becoming tediuos and i dont want to be a pain so yeah ill just unclaim

amit.daBeaston December 29 2012 06:45 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Sean on December 29 2012 06:54 UTCnot the whole file

Upload your patch files and we can see.  You certainly don't upload the entire edited file -- that's the point of patch files.  They contain the changes you made and enough context so we know where you made those changes.  You're welcome to reclaim the task -- we're glad to help you learn (you're not yet being a pain).


Know that you're helping us improve too and your improvements will be enjoyed by thousands of others.


 

amit.daBeaston December 29 2012 19:24 UTCTask Claimed

I would like to work on this task.

Sean on December 29 2012 19:49 UTCTask Assigned

This task has been assigned to amit.daBeast. You have 72 hours to complete this task, good luck!

amit.daBeaston December 30 2012 20:26 UTCpatches

i uploaded the patches.  I will admit that two of the patches aren't exactly "spelling mistakes" so i will fiind more mistakes if you want me to. But thanks for helping me


-Amit

Sean on December 31 2012 05:43 UTCpatch format

Amit, those aren't proper patch files.  Patch files have a specific format and done properly will be only one text file.  See http://brlcad.org/wiki/Patches for help but the basic idea is that you need an SVN checkout of our sources and then you'll just run "svn diff" to get your patch file.

amit.daBeaston December 31 2012 19:57 UTCpatches

i read the patches site, but it doesnt describe on  how to get a SVN checkout and whenever i make a patch file it says its not a working copy (but it still makes the patch file anyways)

Melange on January 1 2013 19:49 UTCInitial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Sean on January 1 2013 21:17 UTCtutorials

Amit, there are a thousand tutorials around the web on how to obtain an SVN checkout (and our http://brlcad.org/wiki/Compiling page covers it as well).  Do you need more time?


 

amit.daBeaston January 2 2013 18:25 UTCnot working

i read the compiling page, but as everytime i finish with all the steps and run the quick test, it opens up the mged modeler thing and says it is a read only copy, and when i make a patch file it still says the patch file is not a working copy.  I am trying the compliling steps 1 more time, and maybe it will work...

amit.daBeaston January 2 2013 19:21 UTC???

its  never works for me???, always getting      svn: '.' is not a working copy

amit.daBeaston January 2 2013 19:21 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Sean on January 3 2013 06:04 UTCwelcome to reclaim

Amit, you're welcome to reclaim the task and we'll help you learn how to make a patch so you can get credit for your work.  Making patches are a fundamental skill that can be confusing at first, but is really very simple.  If you need assistance, ask a question on something that is confusing you or a specific question on what you're trying to accomplish so we can help you. We want you to learn and enjoy working your tasks. ;)

Thiloon January 3 2013 16:26 UTCIRC

Hi sean,


Do you have an IRC chat?

Thiloon January 3 2013 16:41 UTCTask Claimed

I would like to work on this task.

Thiloon January 3 2013 17:05 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

amit.daBeaston January 5 2013 23:33 UTCTask Claimed

I would like to work on this task.

amit.daBeaston January 5 2013 23:40 UTCpatch file

i figured out on how to make a patch file

Andrei Popescu on January 5 2013 23:43 UTCTask Assigned

This task has been assigned to amit.daBeast. You have 72 hours to complete this task, good luck!

Andrei Popescu on January 5 2013 23:47 UTCCommunication

Hello,


I strongly encourage you to join our IRC channel ( #brlcad on irc.freenode.net) and ask any question that you have as we will be able to help you faster and more than we can here.


 


Also, it is really important to keep up to date sources. Join us on IRC and ask issue or curiosity that you have. We'll be glad to help !


 


Good luck,


Andrei

amit.daBeaston January 6 2013 01:33 UTCReady for review

The work on this task is ready to be reviewed.

amit.daBeaston January 6 2013 01:41 UTCpatches

i figured out how to make the patch files, but all the spelling mistakes I did previously have already been corrected by other people.  So i've tried searching for new spelling mistakes but they are becoming pretty rare.  So anyways some of the mistakes i've recorded aren't exactly actual spelling mistakes, but i've made sure that i didn't accidently change any purposely mispelled words representing variables and file names.


 


-amit

Sean on January 6 2013 04:57 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on January 6 2013 05:07 UTCsorry

Sorry, Amit, but the changes you made are not sufficient.  BRL-CAD literally has millions of words so you should be able to find many (hundreds) mistakes if you look hard enough and in the right places.


As for your patch, several of the changes you made aren't even right.  Minima is not a mispelling of minimal; same goes for sane vs same.  Expanding intentional abbreviations is also not useful as that does nothing to improve our quality.


I suggest sticking to spelling mistakes.  You may be able to review previous spelling corrections that have been made and find more occurrences.  Or search the web for commonly mispelled words and see if you can find any in our files.


 

amit.daBeaston January 6 2013 05:32 UTCspelling mistakes

so am i only supposed to find spelling mistakes in the src folder, becuase all of your source codes seem to have already been edited.  You said i should be able to find 100's of spelling mistakes yet in the last 6 hours the best "spelling mistakes" i can come up with is changing high-res to high-resolution

Sean on January 6 2013 15:08 UTCnot limited to src

You're not limited to the src folder -- any file that is *ours* to change is fair game.  That mostly means ignore src/other, some files in misc, and some e-mail files in doc.


If you're not finding any spelling mistakes, then your search method sounds like it needs to be changed.  I hope you're not just looking through lines of code trying to find something.  That would be time-consuming and unlikely be very helpful to you.

amit.daBeaston January 6 2013 17:52 UTC?

then what do you suggest my search method be? I try to find files which have spelling mistakes and if i do then i search all files in that directory because they have probobably not been previously proofread.  the only problem is none of the files have spelling mistakes so i dont know where to start

amit.daBeaston January 6 2013 22:55 UTCactually...

actually i think i figured out an efficient method for searching for mistakes.  ALthough is it ok if i find mistakes like "then vs than" , and "their vs there"

amit.daBeaston January 8 2013 04:40 UTCone more thing

are you ok with spelling mistakes such as "writeout", and "inorder" ("write out" and        "in order" are actually 2 seperate words)


                                                                        

amit.daBeaston January 8 2013 05:37 UTCReady for review

The work on this task is ready to be reviewed.

amit.daBeaston January 8 2013 05:38 UTCrevised patch file

this is the new patch copy, for a couple files i changed the "their and there" and also "than and then"


there is also a sentence containing a word called "normalward", i think he was referring to the normal axis so i modified the sentence to make more sense

Sean on January 8 2013 08:27 UTCglad

Glad to see that you left "inorder" alone as that is correct as-is ( see http://en.wikipedia.org/wiki/Tree_traversal ), but the rest looks good.  You got to 10 files, BUT, I only count 8 unique mistakes:


then, shtuff, doe, normalward, facetted, writeout, there, Modurn


You need 2 more.

Sean on January 8 2013 08:27 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on January 8 2013 08:27 UTCDeadline extended

The deadline of the task has been extended with 1 days and 0 hours.

amit.daBeaston January 8 2013 17:03 UTCok...

so is it ok if i use "then" or "there" 1 more time or is that type of mistake is already taken

amit.daBeaston January 8 2013 17:53 UTCReady for review

The work on this task is ready to be reviewed.

Sean on January 8 2013 18:43 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on January 8 2013 18:45 UTCnicely done!

Now I take it you see why I said there are hundreds and they should be rather easy to find (with the right process).  You can't have a million lines of code and not end up with hundreds of spelling mistakes.


If you provide your full name, we'll credit you with special thanks in our project documentation.

Sean on January 8 2013 18:50 UTCcommitted

Patch applied in r54143.

amit.daBeaston January 8 2013 23:14 UTCthanks

my name is Amit Saxena and thanks for helping me through this assignment

Sean on January 14 2013 15:22 UTCthank you

As GCI comes to a close, we wanted to take the time to say THANK YOU for all your efforts.  This comment interface closes after GCI is over, so you're encouraged to join our mailing list where we'll be announcing contributions from GCI participants like yourelf over the upcoming months: 


https://lists.sourceforge.net/lists/listinfo/brlcad-news


If you've provided your full name, we'll be sure to credit you in our authorship documentation and you'll see your name in a future announcement.  If you contact us at devs@brlcad.org or via IRC, we'll even let you know when your work is integrated and follow up with updates.  You're welcome and encouraged to contact us any time, especially if you have a question about how to continue participating in Open Source after GCI is over, but even if just to keep in touch.  Note that ongoing participation in Open Source is one of the most impressive skills to have on your resumé.  Take care, be well, and thank you again!