Today, Shanghai Security Index (000001.SS) touched 2100, and, from my previous neural network research on 0000001.SS, about 4 months passed. In that blog, I placed a prediction picture, and now, here it's a verification picture of the actual price trends comparing to the prediction: The Blue line i ...
Updated Oct 16: After testing my code on different machines, I found that disk/io performed varyingly, for some very large files, reading file in parallel may cause longer elapsed time (typically on non-server machine, which is not equipped for fast disk/io). So, I added another version tbray4b.erl ...
Playing with Tim's Erlang Exercise is so much fun. I've been coding in Erlang about 6 months as a newbie, in most cases, I do parsing on string (or list what ever) with no need of regular expressions, since Erlang's pattern match can usaully solve most problems straightforward. Tim's log file is al ...
My first solution for Tim's exercise tried to read file in parallel, but I just realized by reading file module's source code, that file:open(FileName, Options) will return a process instead of IO device. Well, this means a lot: It's a process, so, when you request more data on it, you actually se ...
Updated Oct 09: Added more benchmark results under linux on other machines. Updated Oct 07: More concise code. Updated Oct 06: Fixed bugs: 1. Match "GET /ongoing/When/" instead of "/ongoing/When/"; 2. split_on_last_newline should not reverse Tail. Backed from a short vacation, and sit down in fron ...
I will be there, Sun Tech Days, Seattle, Sep 6, 2006. As I'm now in Vancouver, it's about 2 or 3 hours trip to Seattle. I'm glad to have a chance to meet those great guys who develop NetBeans IDE and Platform. As you know, the AIOTrade (formerly Humai Trader) is built on NetBeans Platform using Net ...
As NetBeans IDE 6.0M7 released, I tried the Ruby module for it, and it's almost useful now. To get and install, 1. Downloand NetBeans IDE 6.0M7 from: http://www.netbeans.info/downloads/dev.php Select 'Q-Build' and download the newest M7 2. Update Ruby modules: 1) [Tools] -> [Update Center] 2) ...
Update - Mar 29,2007: If you got exception: java.lang.reflect.InvocationTargetException when try completion, please check the version number of your "Generic Languages Framework" module (Tools -> Module Manager -> Language Support), if the version number is less than 1.70, you can go to http ...
I've got "Go to declaration of function call and var" if the declarations are in the same module file, and "Highlighting for function call/function arguments" working. To go to the declaration of function call or var, just press down "Ctrl", and put cursor on the function call or var name's position ...
Bellow are some issues that I met when upgraded from rails 1.1.6 to 1.2.x: 1.About enrivonment.rb Make sure your application configuration behind: Rails::Initializer.run do |config| ... end I met this issue when I put following code: require 'environments/localization_environment' require ' ...
I did some work to get Erlang editor supported on NetBeans. As the Schliemann project (Generic Language Framework) is still under developing, I just got simple syntax coloring, indentation, code folding etc. working. I'll contribute it to NetBeans Community when it's stable enough. Here is a snapsh ...
Geertjan from NetBeans took three interviews with language programmers for NetBeans, one of them is me, where I talked about ErlyBird - Erlang Editor for NetBeans and AIOTrade (formly HumaiTrader) which are all based on NetBeans Platform. About AIOTrade, in the interview, I said: "I'm going to spli ...
I've got the initial Erlang project management supported in ErlyBird, where the Erlang project tree can be newly created and managed by NetBeans. The code is ported from Tor's work for Ruby in NetBeans, and I'll try to sync my work with his work. The Erlang interactive console does not truly work ...
Updated Apr 11: copy/paste can be done via Ctrl+C/Ctrl+V. The Erlang Shell console finally works on NetBeans, it works as same as on the shell/dos environment with historical commands feature. It still lacks copy/paste feature. And ErlyBird supported Emakefile based project build. In the output w ...
ErlyBird now support completion for remote function call. And, if you click on the name of a remote function call, ErlyBird will open the remote module source file, and jump to the position of declaration. (Only OTP modules are supported currently) The screenshot shows the popup with candidate funct ...
I sold out all my hold on Stock Exchange of China this morning, and will take a break until end of this year. Wow, what a year.
Updated Oct 10: pread_file/5 should open a new FIle process each cycle Updated Oct 05: Wrote a new version, which is more parallelized-likeness. Updated Sep 27: Per Gustafsson gave a better solution, it took 5.155 seconds on my computer, with all record maching tasks done. And, get all lines ready ...
dcaoyuan
搜索本博客
最近加入圈子
存档
最新评论