the_eggwhite: (Default)
It's taken me the better part of the week, but I've now got this little turd of a Java voice synthesizer to work, and this time it works stand free. Of course the whole project has mutated so much that I now may as well have done the whole thing in C or C++ from the start, which would probably have been easier and definately would have been quicker and less troublesome.

Still, even using Java, I am victorious. Now the only things which will stand in my way are file permissions that I don't have the necessary permissions to change!
the_eggwhite: (Default)
[WARNING: Work related computer geekery follows.]

I've just had a revelatory experience. Well, sort of. I've been trying to work out how to make a bit of JAVA code work for ages, and it turned out that what I really needed to do was look for updated versions of some of the custom classes I'm using. Sneaky buggers released a new version whilst I wasn't looking, and it included a few improvements as well as fixing the bug that was preventing my code from working.

Once of these improvements was a nice little "combine al these useful widgets into one and do the legwork for you" method which has reduced the volume of code required to do some of the stuff I needed by about 90% and means I only need to import one class instead of about 9. Unfortuantely they did this *after* I'd spend bloody ages writing code to do it myself, and almost as long fathoming out which classes I needed to import and which ones I could succesfully ignore.

Bastards.

Oh well... it cuts down my future workload, I suppose.
the_eggwhite: (Default)
Checklist of stuff I can make work:

Things in JAVA: "yup"
Speech synthesis in JAVA: works for a while, then says "yup"
Speech synthesis in JAVA that works in an applet: "hnnng!" (flops over in state of advanced death).

This is proving to be somewhat troublesome...
the_eggwhite: (Default)
Ack.

I was doing fine.

Working through my Javascript tutorials, all was going well. I've basically sat here going "same as in C/C++", "same as in C/C++ but without data types", "same as in C/C++ but simpler".

Then I met this little thing called eval() that appears to be specifically designed to break my head. I've found two different definitions of it so far, and it seems like a stupendously confusing concept.

The idea is this (I think): take a variable and turn it into a bit of code. In other words, if you fill a string up with code and eval() it, it will basically pull the quotes off the string and treat it as if it was a bit of code instead.

AaaaaAaaaAaaaaaAgaahaagh!

My brain hurts.

March 2018

M T W T F S S
   1234
567891011
12131415161718
19202122232425
2627 28293031 

Most Popular Tags

Expand Cut Tags

No cut tags