<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=12994943&amp;blogName=Josiah+International&amp;publishMode=PUBLISH_MODE_BLOGSPOT&amp;navbarType=SILVER&amp;layoutType=CLASSIC&amp;searchRoot=http%3A%2F%2Fjosiahinternational.blogspot.com%2Fsearch&amp;blogLocale=en_US&amp;homepageUrl=http%3A%2F%2Fjosiahinternational.blogspot.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>

Sunday, August 21, 2005

speech-recognition is an interesting application

So I am writing this entry using Dragon NaturallySpeaking, it is a pretty good program, it naturally has its quirks, but like it.
For those of you who don't know what speech-recognition is, I'm currently talking into a microphone connected to my computer. Everything you're reading is not being typed by hand, but is being spoken by my voice and interpreted into the computer by this software.

So yeah, it's pretty handy.

At any rate, I have some other things to get to, so I will be back later.

12 Comments:

At 6:05 PM, Anonymous Grace said...

Whoe! =D That's awesome! You're brilliant. lol.

 
At 8:32 PM, Anonymous Shambleyqueen said...

I need that!!!!!!!!!!

 
At 8:36 PM, Anonymous Shambleyqueen said...

You still need to correct its punctuation....(incorrect comma usage) ;)

 
At 7:32 AM, Anonymous sammi said...

Gee, I thought that's what my mom was for at the church office?! :-p

That must be fun to play around with...either that, or just a big hassle!

 
At 4:20 PM, Anonymous Zak said...

I tried using that crap before... I didn't have much luck. :(

-Zak

 
At 4:29 PM, Blogger busyHSmom said...

All I've got to say is the next time you get something like this, please let me know so that I don't get freaked out when I see you talking, but there is nobody there!! I thought maybe you had actually gone over the edge this time!
--Mom

 
At 7:13 PM, Anonymous Peebles said...

WOAH! cool. whats up man?

 
At 3:07 PM, Anonymous jordan said...

Wow...
technology...
craziness it is...

Lol... I would have thought the same thing your mum did... haha

<3 jordan

 
At 2:20 PM, Anonymous Anonymous said...

:-O woooowwww......

::giggles::

+hanan+
:-D

 
At 10:28 PM, Anonymous skythrock said...

I appreciate your standing behind me, brother. There are few who do.

Pray. And pray hard.

 
At 4:28 PM, Anonymous Sammi said...

PLEASE update? =( I think I could speak for everyone in saying that we all want you to do so! ;-)

 
At 1:45 AM, Anonymous Leslie said...

acctually, it was a quote.

 

Post a Comment

<< Home

Sunday, August 14, 2005

Meet the new kid...


My new computer. Plus junk on my desk.

You can't really tell in this picture, but there are neons in the case, one(blue) vertically along the back of the computer, and one(red) running horizontally along the top.

--


A (rather blurry) look inside the new case, you can see the lit fans pretty well in this one. :-)

Specs on the machine:
AMD Athlon 64 3200+ overclocked to 2.03GHZ
1GB Corsair RAM
Dual 120GB hard drives (one came in the computer, I added a second.)
Radeon 9600 with 128MB of DDR on-board
8x DVD+/-RW (Dual Layer)
52x CD-ROM

I guess those are the basics, if you have other questions, ask the.
Also: I'll sell it to you if you make a decent offer, so feel free to do so.

8 Comments:

At 11:26 PM, Anonymous Sammi said...

cool lights! ^_^

 
At 1:54 PM, Anonymous Shambleyqueen said...

Oooooooo

Ahhhhhhh

 
At 3:44 PM, Anonymous lydia said...

Hey Siah. You need to ummm update.

 
At 3:45 PM, Anonymous Grace said...

*Waves!*
Hiya new kid! :-P

 
At 7:21 PM, Anonymous Anonymous said...

Hey hun! how are you doing? i just thought i would say hey and se how you were doing! call me sometime. i would give you my cell number but i dont want a bunch of random people calling me but i will tell you sometime!

 
At 7:21 PM, Anonymous smilingsun7 said...

oh that comment before was from me.

 
At 11:13 PM, Blogger lucyalexander48757966 said...

This post has been removed by a blog administrator.

 
At 9:17 PM, Anonymous Mrs A said...

cool lights ... is that one of those alienware ones?

 

Post a Comment

<< Home

Saturday, August 06, 2005

I'm still alive!

… or something like that.

Wow! It’s been a long time since I updated here. I AM alive.. I’ve just been very busy with a lot of stuff for the last month.

Since I last updated I have been doing a lot of work at my new job plus finishing up the summer semester at the community college, yeah, I’ve been busy.

When not working or studying, I can generally be found somewhere around town with some friends and a Frisbee. Try it, guaranteed fun time had by all. :-)

I’ve tried to take some pictures of the (damaged) Powerbook, but because of the shiny/reflective titanium surface, lighting that doesn’t go totally whack when you take a picture is hard to get. I will keep trying, but my first attempts haven’t gone so well.

Mrs A: Read your comment on my mom’s site, I’ll email you directly as soon as I’ve completed this. :-)

Ok, to segue back into school-related stuff. (Non-geeks can tune out now, if you wish.) I’ve had to/had the opportunity to (depends on how you look at it, I suppose.) write some (I think) pretty cool code recently.

I took a class this summer on Visual Basic .NET, there were 8 assignments total for the semester, plus mid-term and final. The first 6 assignments were pretty simple, just read the corresponding chapter(s) in the book and do some basic coding, not mindless, still mentally stimulating, but not too challenging. Well, the last two assignments changed that, completely. He introduced code requirements that were totally outside anything in the course material thus far, I was left floundering trying to guess how to perform some necessary functions to complete the code.

Thankfully, he(my instructor) called a meeting on campus and explained some concepts needed for the two assignments, this helped a lot, and I coded up both of them in an afternoon.

I think I’m going to insert some screenshots of the programs and explain what they do, I don’t know how interesting this will be to any of you, but here goes:

The first, DollarAmount, takes a word that the user inputs and calculates the dollar amount of that word, the dollar amount is calculated by taking A=1, B=2, C=3… Z=26 and adding the value of the letters together.

(Pardon the poor screenshot quality, silly JPEGs.)

 

Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click

' setup the necessary variables...

Dim strWord As String = txtWord.Text ' send the value of our TextBox to a string

Dim intCounter As Integer = 1 ' initiate a counter for our loop count

Dim intValue As Integer ' initiate a variable to hold the 'value' of the user's word

' the real 'meat' of the code, does the actual work...

For intCounter = 1 To Len(strWord) ' loop for each letter in the word..

intValue += Asc(UCase(Mid(strWord, intCounter, 1))) - 64 ' add up intValue

Next ' loop...

lblAmount.Text = intValue ' set the text of our output label to the value of the word

End Sub ' btCalc_Click

 

(Pardon the poor indentation, the code I turned in was correct, this blog-post editor isn’t very good.)

(Anyone here know why when that loop repeats, it automatically increments intCounter +1? I can’t figure out why VB .NET does… *shrug* Microsoft is weird.)

The concept behind this application seemed impossible, at first. Well, not impossible, but like I would have to write dozens or hundreds of lines of code, with many, many nested If statements. Not fun. However, a nifty trick about ASCII text was brought to my attention. That ‘nifty trick’ is this… a capital ‘a’ is given the value 65 on the ASCII table, capital ‘b’ is 66, and so forth, on to capital ‘z’ is 90, so, what happens if you subtract 64 everytime? A=1, B=2… Z=26. :-D

So, in one line of code, I could write a function that would get the ASCII value of the uppercase version of the given letter, subtract 64, and *bing* I was in business.

Sorry if I didn’t make all of this very clear, I’m just randomly spouting what’s on my mind. (Yeah, bad idea, I know, sorry!)

The second application: FileIO – works with input and output to/from files.

I’m not going to post up the code for this one, but I will include some screenshots and explain how it functions. This assignment built on the DollarAmount application with some added functionality and a different focus, as you shall see.

Load up the application and click ‘Click Me’, (I write for function, not aesthetics, sorry.) this File Open dialog presents itself:

(Click for larger view.)

 

Click on ‘Open’ and the application parses the file and throws back all kinds of entertaining output:

On the right side we have a box that lists all “Dollar Words” the value of these words has been determined to be ‘one dollar’ (By using the formula demonstrated in the code in DollarAmount)

This application also ouputs how many words it read, how many ‘dollar words’ were found, the average value of all the words, the longest word found (Yes, it’s running OUT of that textbox..), the value of said longest word, and the text and value of the shortest word found. (This last function is obviously kind of broken, because any single letter is going to be a very short word. This is not a bug however, the code is working as designed, if someone passed a file without short words, it would still list the shortest word amongst them.)

At any rate, I got an ‘A’ in the class. :-)

Ok, I think that may be about it for this (long overdue) update. Have a good night all. 

5 Comments:

At 9:15 PM, Anonymous Sammi said...

Glad to hear that you're still alive and that you're doing so well in school! Those pictures you provided were great visuals for what you were working with/on. (wow..ended that in a preposition) : (
Nice to know you've got an "A" average, too! : )

 
At 1:30 AM, Anonymous Shambleyqueen said...

I read every single line of this post. :P I understood 3/4 of it anyways...;)

Word props for the usage of "segue" btw.

You're pretty brill 'n stuff.

 
At 10:43 PM, Anonymous Gracie said...

Glad to hear Josiah is still alive! :-P lol. Also glad to hear about the A! You ARE brilliant. *No dodging comment compliments! Haha.* Anywho, as for the majority of the post... didn't understand a word... but that was to be expected. ;-) Have a great week! :-D

 
At 2:27 AM, Anonymous Shambleyqueen said...

A dumb mum is wondering why her profile pic is not displaying in Firefox...? *scratches head, dumbfounded*

Tech support says...?

 
At 12:24 PM, Anonymous Zak said...

Sounds like some fun programming. Keep up the good work.

-Zak

 

Post a Comment

<< Home