soulmachine.me
Deserialize a JSON String to a Binary Tree - soulmachine
http://www.soulmachine.me/blog/2015/06/22/deserialize-a-json-string-to-a-binary-tree
Deserialize a JSON String to a Binary Tree. We know that Jackson is very convenient to deserialize a JSON string into a. But how to deserialize a JSON String to a binary tree? The definition of binary tree node is as follows:. The JSON String is as follows:. Value": 2, "left": { "value": 1, "left": null, "right": null }, "right": { "value": 10, "left": { "value": 5, "left": null, "right": null }, "right": null } }. The above JSON string represents a binary tree as the following:. Value : 2, n. Left : { n.
soulmachine.me
Calling C Code From Java Using JNI - soulmachine
http://www.soulmachine.me/blog/2015/07/23/calling-c-code-from-java-using-jni
Calling C Code From Java Using JNI. This blog is a fork of http:/ stuf.ro/calling-c-code-from-java-using-jni. With some errors fixed and C support added. In this tutorial we’ll be creating a Java application calling code from a native library. We’ll have a Java application called. Which will call the function. From a shared library named. Using Java Native Interface. First off, we’ll create a file named. Make the JVM aware of a function defined externally, named. Load an external library called. Alright,...
soulmachine.me
About - soulmachine
http://www.soulmachine.me/about
Frank, Dai Born. 201109 — 2014.06, Master, Tsinghua University. 200807 — 2009.08, Kingsoft Security. 200801 — 2008.04, Taobao. Intern at search engine team. 200409 — 2008.07, Bachelor, Computer Science and Technology, Whuhan University. Machine Learning, Spark. Our team’s weibo group is 程序员北美求职. 新浪微群 http:/ q.weibo.com/1644133. Spark, Machine Learning, Scala, more. Calling C Code From Java Using JNI. Compile and Run Java Source Code in Memory. Deserialize a JSON String to a Binary Tree.
soulmachine.me
Category: Compiler - soulmachine
http://www.soulmachine.me/blog/categories/compiler
Compile and Run Java Source Code in Memory. Spark, Machine Learning, Scala, more. Calling C Code From Java Using JNI. Compile and Run Java Source Code in Memory. Deserialize a JSON String to a Binary Tree. Deserialize a JSON Array to a Singly Linked List. Debug Hadoop Applications With IntelliJ.
soulmachine.me
Category: Hadoop - soulmachine
http://www.soulmachine.me/blog/categories/hadoop
Debug Hadoop Applications With IntelliJ. Create a Hadoop Compilation and Development Environment. Spark, Machine Learning, Scala, more. Calling C Code From Java Using JNI. Compile and Run Java Source Code in Memory. Deserialize a JSON String to a Binary Tree. Deserialize a JSON Array to a Singly Linked List. Debug Hadoop Applications With IntelliJ.
soulmachine.me
Restore Octopress at a New Computer - soulmachine
http://www.soulmachine.me/blog/2014/01/28/restore-octopress-at-a-new-computer
Restore Octopress at a New Computer. OS: Ubuntu 12.04 64-bit. 11 Install ruby via RVM. Curl -sSL https:/ get.rvm.io bash -s stable - ruby. 12 Integrating RVM with gnome-terminal. Are for login shell, and. Is for interactive shell, and RVM’s path is added to. So you need to set the shell as a login shell. 13 Give it a try. Exit current shell, and open a new shell,. You have successfully installed ruby. Sudo apt-get install -y python. Syntax highlighting needs Python. 3 Clone your blog to the new machine.
soulmachine.me
Category: Jackson - soulmachine
http://www.soulmachine.me/blog/categories/jackson
Deserialize a JSON String to a Binary Tree. Deserialize a JSON Array to a Singly Linked List. Spark, Machine Learning, Scala, more. Calling C Code From Java Using JNI. Compile and Run Java Source Code in Memory. Deserialize a JSON String to a Binary Tree. Deserialize a JSON Array to a Singly Linked List. Debug Hadoop Applications With IntelliJ.
soulmachine.me
Create a Hadoop Compilation and Development Environment - soulmachine
http://www.soulmachine.me/blog/2015/01/29/create-a-hadoop-compilation-and-development-environment
Create a Hadoop Compilation and Development Environment. If you want to read the source code of Hadoop and dig into the internals of Hadoop, then you need to know how to compile the source code and use IDEs (such as Eclipse or IntelliJ Idea) to open the projects. This blog will introduce you how to create a Hadoop build and development environment. CentOS 6.6, Oracle JDK 1.7.0 75. 1 Install Oracle JDK 7. Download jdk-7u75-linux-x64.rpm sudo yum localinstall -y ./jdk-7u75-linux-x64.rpm. If you want to run.
soulmachine.me
Compile and Run Java Source Code in Memory - soulmachine
http://www.soulmachine.me/blog/2015/07/22/compile-and-run-java-source-code-in-memory
Compile and Run Java Source Code in Memory. In this blog I will show you how to compile and run Java source code on the fly in memory. In other words, use Java as a script language. Here are the three source code files. Simple interface to Java compiler using JSR 199 Compiler API. Could not get Java compiler. Please, ensure that JDK is used instead of JRE. Compile a single static method. Compile given String source and return bytecodes as a Map. Param source Java source as String. To save the compiled.
soulmachine.me
Debug Hadoop Applications With IntelliJ - soulmachine
http://www.soulmachine.me/blog/2015/01/30/debug-hadoop-applications-with-intellij
Debug Hadoop Applications With IntelliJ. In my previous blog, I explained how to Create a Hadoop Compilation and Development Environment. So that you can build the Hadoop source code you get from the Apache Hadoop git repository. However, not everyone need to dig into the source code, normally more people will just call the Hadoop APIs to write a MapReduce program. When you write a MapReduce program, you rarely get it right for one time, then you need to debug your code. 1 Create a MapReduce Maven project.