Use Apex without DataTorrent RTS - apache-apex

Is it possible to use Apache Apex without DataTorrent RTS? It seems possible, but I couldn't find any tutorial about installing own build of apex sources(to run, you need at leas apex binary). I see that Apex CLI is available after build in ./engine/src/main/scripts/apex but maybe there is some easier way than build it piece by piece.

Yes, it is possible to use Apex without DataTorrent RTS. You refer to the video https://www.youtube.com/watch?v=LwRWBudOjg4 if you need step by step instructions.
You can also refer to the beginners guide: http://docs.datatorrent.com/beginner/

Apex is also part of Apache Bigtop and there is a docker image available as well:
http://apex.apache.org/downloads.html

There are self-paced online courses too.
https://www.datatorrent.com/university/self-paced-online-courses/

Related

How do I convert adobe xd to html css (vue)?

I want to make a single page application using vue.js. I get a reference like this https://coreui.io/vue/ to make it. my colleague has made a prototype using adobe xd. and my job is to convert it to html css and it will make it functional and connect to api. Can I convert it automatically? or do I have to convert it manually. if it's not possible to convert it automatically, is there a template that can help me to convert to html css? i am weak in css. so i need a reference. so I can convert quickly
please help me several options. thanks
I think you would have to convert manually
However, the export to HTML/CSS/JS feature has been asked before by the community many times and the Adobe team is currently working on it (check this and this).
Also I think you can also use a plugin called "Web Export."
In order to use the plugin,
Make sure you have the latest version of XD
Go to Plugins
Discover Plugins
Search "Web Export"
Click "Install"
The most straight forward option is to write the html/css by hand and then manually integrate it with vue components.
But since you said you are not that proficient at css, you can use Desech Studio to import the AdobeXD file, then make some adjustments, install the vue plugin in Desech Studio and then it will integrate your html/css code with vue directly.
Check the github repo at https://github.com/desech/studio-vue to see tips and the limitations of the plugin.

Most reliable JSON viewer/editor module for AngularJS

I now need to add a feature on the app I'm building a json editor. I would like to know which module have you tried before that you think is stable and worked really well.
The source data is already in json format which I receive from an API call. I already have a button which will call $scope.viewJson() but I'm still missing which json editor module I should use. I saw this today but not sure if there is another few ones that are better - https://github.com/rodikh/angular-json-editor
I'm the author of https://github.com/rodikh/angular-json-editor.
It's basically a directive wrapper for jdorn's json-editor. His project is very popular and in active development. Both it, and my wrapper are safe to use.
If you have any feature requests or issues with my wrapper, feel free to submit an issue on github and I'll try my best to resolve them.
The best one (to my mind, but anyone is free to disagree my opinion) is formly
formly site
formly github
formly documentation
PROS :
complete (you can make beautiful and unique forms : templates are some kind like unlimited)
well documented
easy to implement
CONS :
you have to design your own builder (it is not a problem to my mind)
i know this question is old.. but i was looking for this for quite for some time.
and i found this editor 's tutorial: Ace builds
Ace builds tutorial
i found maximum above editor unmaintained.
you can check its github repo here
ace build GitHub repo
i hope it saves someone's time.

Standalone actionscript interpreter?

I want to to play around with Actionscript, mostly to compare the language with Javascript (I'm interested in the type system). Is there a straightforward way to do that or do I need to also install Flash or something similar? I'd prefer something that works on Linux but Windows-only is fine too.
Basically, I want to know if there is something for Actionscript that is analogous to v8/NodeJS or Rhino for Javascript, where you can run JS scripts directly (using console.log for output) without having to use a browser, create an HTML page, etc.
There is an amazing online tool capable of compiling Actionscript 3.0, this will aid your investigation of the language!
http://wonderfl.net/
As3Eval also is a good tool. Play around with the demo to get a feel for it.
It's windows only, but download Java, then install FlashDevelop : http://www.flashdevelop.org/
It'll download the flex sdk and everything you'll need to get started.
You'll need flash player to see your tests, and normally the debug player (take the standalone), which you can download here: http://www.adobe.com/support/flash player/downloads.html
As #neil says, you can also use wonderfl to test directly online, though obviously the experience won't be the same as a full ide.
You should be able to develop on Linux directly if you want to install flash builder (eclipse) but it's not free

alternative to opengrok

I am using for an alternative to OpenGrok. I can't configure it properly. What I want is to browse to the code, like I would be in Visual Studio. I'd like to have a menu with a minimum option of Go To Definition, find references etc. How can that be achieved ?
I suggest to have a look at the Woboq Code Browser.
It works like a compile step and dynamically analyzes the code and how symbols are linked to each other.
Did you have problems configuring it on Windows?
OpenGrok works best through a web-server. You might find it easier to rent some cheap VPS box, and configure OpenGrok remotely on such server (instead of trying to configure it locally on a Windows box), and then use your web-browser to access the remotely-running OpenGrok instance through the web-interface.
I've once tried using OpenGrok locally on a Windows machine, and even though it worked, I was not happy that the non-web version didn't have any syntax highlighting, and was overall just way too awkward to be of any real use.
There's Text-Sherlock. And the github project. It can use either Whoosh or Xapian as its backend.
I would recommend Codatlas. It has features such as jump-to-definition and cross-reference and poly-glot support such as C/C++, Java, Python, Scala etc.

Starting up a node.js project

I'm about to start a project that's going to be a web site for storing photos. The method for uploading shall be drag and drop (from the desktop, same as Imgur), and it shall be possible to rate the photos as well commenting them.
For the project I'm going to use Node.js as well as HTML5, CSS3 and jQuery. The thing is that I'm a total newbie on Node.js and really could use some help regarding getting started. For the project I will of course need a database, and I have understood that MongoDB is a good choice. Is there any templates for this combination, so that I don't need to start from scratch?
I have installed Node.js and followed some tutorials but I really feel that I want to a template if there is one.
Thanks in advance!
As you said you are a beginner you can take the best independent modules for your project and start using. Instead of having a pre-defined package of necessary components as a single module. Problem is you may end up not understanding the whole pack and become more biased.
So,
I would suggest to use Expressjs (Best Choice) for url routing as mentioned above.
And,
File upload management:
formidable - a high performance file upload server with file parts reading and progress notifiers etc.
Template Engine (Markup libs for your custom htmls):
Jade
coffeekup
And consider Bootstrap as well for prebuilt templates if in case you need it.
Mongo - Good choice.
Mongo Modules
These libs should help.
Take a look at HTML5 Boilerplate + Express.js
As a basic starting point, this is a popular framework:
http://expressjs.com/
Here you will find some links to example applications:
Node.js Web Application examples/tutorials
https://github.com/heroku/facebook-template-nodejs
Open Source Node.js (and Express) projects
Express JS is good but I would recommend you have a look at Railway JS as well.
It is based on Express with support for numerous template engines and database adapters (including MongoDB). It is a lot more modular so you should not have much trouble working with it (in my opinion).
Check out: Uploading images using Node.js, Express, and Mongoose too.
Here is a list of resources that I have compiled using themeefy to start a node.js project http://www.themeefy.com/AvinashEga2/nodejs
I think Tower.js is something like what you're after.