Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
?
I'm a 29 year old Software Engineer. I primarily work in Java. I also used to teach programming classes at ITT Tech. My main area of interest is machine learning and artificial intelligence.
Recover data from old mysql data dir.?
My laptop is running Windows 7 Pro and I have a data directory for an old MySQL5.1 installation that has tables and information that I need. I just installed MySQL 5.5 onto my machine and would like to get the data from the old directory into the new installation. I changed my my.ini to point at the old directory, but when I went to restart MySQL it wouldn't start. Any suggestions?
2 AnswersProgramming & Design1 decade agoHow do I get a list of sites registered with a DNS Name Server?
I am trying to get some information from a specific dns server. Specifically, I need a list of the ip addresses for sites registered with that dns server.
Also, a way to programatically access that information would be nice, as I am working on a program in Java that will be using the information.
Thanks in advance.
Mike
1 AnswerComputer Networking1 decade agoCall c Program With Java?
I have a project in Java, but would like to use FFTW ( a C implementation of the fast fourier transform). (Download page here: http://www.fftw.org/download.html) Its been years since I messed with C or C++. The download page contains a section for calling FFTW from other languages, including java.
The download for calling FFTW from java contains some java source files, as well as a .h and a .c that corresponds to each of the class files in java (or the other way around).
The download of the actual FFTW library, contains a .dll, a .def, and a .h file (and a .f, no idea what that is).
I am using MyEclipse as my ide (just installed the c/c++ capabilities for eclipse), on a 32 bit windows vista machine.
I've never done anything with jni or any of that. I tried googling how to get all this to work together, but haven't quite figured it out yet. How do I get all of this to work together so I can call it from java, and how should I structure my source files with all the c stuff in it?
2 AnswersProgramming & Design1 decade agoFourier Transform & Waves Question?
I'm working with a 1 dimensional set of real valued data with length N. In this case N is the number of data points, one data point per day. Is it possible to use the Fourier Transform to predict the value of that data at time N + d where 0 < d < ~5 ?
Say for example I have a signal defined by the following 9 values ( 9 days):
[ 1.2, 2.2, 3.4, 2.9 2.1, .9, 3, 4, 7]
I'm trying to use the FFT to predict the values of the signal for 3-4 days after the end of the signal.
If I understand correctly the FFT will give me "how much" of each frequency from 1-N is present. In othe words, if I'm understanding it correctly, I get the amplitude for frequencies 1-N? How can I use this information to predict those values?
Also, since my data is one data point / day, does that mean the N frequencies returned by the FFT are in days? (for example, I know if you use the FFT on a discrete music signal, like an mp3, the frequencies returned don't exactly match the hertz for the song, you have to use the sampling rate to convert to the real world frequencies in hertz).
Thanks in advance
Mike
1 AnswerEngineering1 decade agoGood Financial News Sites to Follow for Trading Stocks?
Hello,
I am a software engineer and am in the initial design phase of a stock-bot (i.e. automated trading system using machine learning and lots of other math/science/statistical techniques).
One of the things I would like to be able to do is gather financial news articles relating to the market on a daily bases, and process those. I have found a few (hopefully) good sources of finance news like Yahoo Finance and CNN Money, but I'd just like to know what news sites the experienced traders out there like to get their news from?
Also, if any of you are familiar with building stock bots, any useful input would be appreciated. On the flip side if your answer to this post is that it is impossible or stupid thing to build, please include an intelligent justification for that kind of response (simply just saying it is a bad idea is neither useful nor informative).
Thanks in advance
Mike
PS. All negative responses (i.e. don't try to build a stock-bot responses) that don't contain an intelligent justification for why not (as asked previously) will be assumed to have come from unintelligent people and disregarded :)
3 AnswersInvesting1 decade agoProve or Disprove Assumption?
I am writing a Q learning algorithm that will learn Tic Tac Toe by plyaing the game (against itself or people).
If you are familiar with Q Learning, you will know that the fewer state action pairs you have, the quicker it can learn. So, I've written an algorithm to convert a single state into all of its logical equivalents and after many runs with hand made and random board configurations, it appears to be creating valid logically equivalent states, but I can't seem to prove to my self or disprove that this works for all states.
Here is the algorithm:
1. If it is O's turn, swap all O's for X's and visa versa. That way we can always assume it's X's turn. (reduces states by 1/2)
2. Rotate the board to the right 3 times
3. Flip board horizontally
4. Rotate horizontally flipped board 3 times to right.
5. Flip board vertically
6. Rotate vertically flipped board to right 3 times..
The algorithm is based on the following assumptions, if any are false then I need to change the algorithm:
1. Swapping X's for O'x and visa versa to control who's turn it is still creates the same game.
2. Rotating the board is a valid operation.
3. Flipping horizontally or vertically are both valid.
4. If flipping and rotating are both valid, rotating a flipped version of the state is still valid.
Here is one example of the algorithm running with a random board where it starts out as O's turn:
In this case it yields 8 logically equivilent states... (*this particular configuration isn't possible in tic tac toe, but all i'm worried about right now is the conversion to equivalent states).
o o
o o x
o x
Turn: O
o o
x x
x x x
Turn: X
x x
o x x
o x
Turn: X
o x
o x x
x x
Turn: X
o o
x x
x x x
Turn: X
x o
x x o
x x
Turn: X
x x
x x o
x o
Turn: X
x x x
x x
o o
Turn: X
x x x
x x
o o
Turn: X
2 AnswersProgramming & Design1 decade agoCountry Chrismas Music?
My mom asked me to put together a cd of country music christmas songs. I'm not sure what songs to put on it. Any ideas?
8 AnswersCountry1 decade agoReally a conflict between Christian Creatinism & Evolution?
This is a question that I don't quite understand about Christians (I happen to be one) and the contradiction between Creationism and Evolution.
Macro Evolution, as described by Darwin requires the birth and death of individuals in a species to occur. Also, the Bible states that God created the earth in 6 days (rested the 7th), and many Bible scholars believe the term days in this instance to mean "periods". Now in that regards I don't see the contradiction between Darwinism and Christianity, because the Bible DOES NOT state "how" God created the world. What if he did so by influencing natural processes? i.e. Is it not possible that God created all species throught the process of Evolution? So where does the contradiction between Creationism and Evolution?
22 AnswersReligion & Spirituality1 decade ago