Tuesday, June 16, 2015

REACT-NODE-MONGODB

Facebook React Tutorial in GitHub
https://facebook.github.io/react/docs/tutorial.html

10 Things I Regret About Node.js - Ryan Dahl - JSConf EU 2018
Ryan Dahl
https://www.youtube.com/watch?v=M3BM9TB-8yA

ARTICLES TAGGED "JAVASCRIPT"


React JS and a browserify workflow
http://christianalfoni.github.io/javascript/2014/08/15/react-js-workflow.html

9 Best NodeJS Frameworks for Developers
https://codebrahma.com/9-best-node-js-frameworks-developers/

Express, Koa, Meteor, Sails.js: Four Frameworks Of The Apocalypse
https://www.toptal.com/nodejs/nodejs-frameworks-comparison

https://nathanleclaire.com/blog/2013/12/28/the-good-the-bad-and-the-ugly-of-sails-dot-js-realtime-javascript-mvc-framework/

Wes Bos
https://wesbos.com/
https://wesbos.com/courses/
https://wesbos.com/speaking-training/
https://wesbos.com/blog/

Brad Traversy
https://github.com/bradtraversy
full stack web developer
WEB DEVELOPMENT TUTORIALS & COURSES

Academind
React JS Tutorial | ReactJS Crash Course - Maximilian Schwarzmuller
Adding User Signup | Creating a REST API with Node.js
https://www.youtube.com/watch?v=_EP2qCmLzSE

Adding User Signup | Creating a REST API with Node.js
https://www.youtube.com/watch?v=_EP2qCmLzSE

handling errors
https://www.sitepoint.com/proper-error-handling-javascript/

storing passwords

https://security.stackexchange.com/questions/4781/do-any-security-experts-recommend-bcrypt-for-password-storage
https://en.wikipedia.org/wiki/Argon2
http://dustwell.com/how-to-handle-passwords-bcrypt.html
https://en.wikipedia.org/wiki/Bcrypt


Thursday, June 11, 2015

David Pollak, "Scala and Clojure: Playing Well Together"



Scala Bay Meetup
http://www.meetup.com/Scala-Bay/events/222841619/

Title: David Pollak, "Scala and Clojure: playing well together"
Description:
Scala and Clojure are both alternative JVM languages. They are both functional languages. But can both languages play well together? Yes, they can. David Pollak, founder of the Lift Web Framework Project and author of Beginning Scala, shows how it's easy and fun to integrate Scala and Clojure. David will demonstrate a ClojureScript front end to a Lift web tier to a Clojure backend... all exchanging data... but more importantly... semantically aligned. Because Scala Seq and Clojure lazy sequences translate to each other and Actors and core.async translate to each other and many of the other idiomatic Scala and Clojure-isms are mirrored in the other language.

Monday, June 1, 2015

Field Experts



WEB DESIGN
Estelle Weyl

@estellevw


Reborn web developer. Follower of specs. WWW3CD? Judging your source code since 1999.

On a couch, with a computer. · standardista.com




Business, Cloud, AI

Mike Mian




Algos, Distributed reliable service

Dmitriy Lyubimov

RESTful NLP Analysis Service


AILabs.io


Irene Rusman - Founder and Chief Scientist


AI Labs is specializing in advanced, semantically sophisticated NLP applications

1. What properties of a product people discuss and judge in product review.
  • what is the common theme across all reviews? (Topics extraction? )
  • the product is such and such (common description), it has such and such (most important and valuable properties)...

2. Credibility of publications
  • web postings
  • research papers
3. Sys log categorization
  • build and test logs
  • production run time logs
4. NLI - Natural Language Inference
Can recursive neural tensor networks learn logical reasoning?
http://web.stanford.edu/~sbowman/arxiv_submission.pdf

5. Utilizing NLP to Detect Advanced Persistent Attack (APT) in DNS
https://labs.opendns.com/2015/03/05/nlp-apt-dns/
https://www.opendns.com/

6. Affective Computing - Emotion Analytics

multi-year collected libraries for deep learning of
intonations
facial muscles
gestures
targets: market research, advertising, entertainment, user experience design, and product testing

field participants:
http://www.fastforwardlabs.com/
https://www.metamind.io/
https://www.relateiq.com/technology

website
needs hosting on Amazon
https://aws.amazon.com/websites/
needs to use AngularJS with ng-controller
needs to choose a server side for ML, heavy computation with REST API
http://stackoverflow.com/questions/17947084/how-to-host-an-angularjs-app-in-domain
http://www.bennadel.com/blog/2450-using-ngcontroller-with-ngrepeat-in-angularjs.htm
http://www.quora.com/Angular-js-is-the-hottest-JavaScript-client-side-framework-What-server-side-back-end-web-technology-goes-best-with-Angular





https://iwantmyname.com/dashboard/apps/featured/ailabs.io
https://login.mailchimp.com/signup?afl=1&aid=bdb368b9a389b010c19dbcd54


Saturday, May 30, 2015

REST Platform Development for Java and C++ Backend



Web Site Development

Java 8, Tomcat 8, and RESTEasy on Mac OS X
IntelliJ
Remote deployment on Linux server from IntelliJ with Tomcat extras

REST with Java (JAX-RS) using Jersey - Tutorial
http://www.vogella.com/tutorials/REST/article.html
eclipse web development
http://www.vogella.com/tutorials/EclipseWTP/article.html
ubuntu Tomcat installation and configuration
http://www.vogella.com/tutorials/ApacheTomcat/article.html

angularJS calling jersey servlet
Jersey Core Server » 2.17 installation
http://mvnrepository.com/artifact/org.glassfish.jersey.core/jersey-server/2.17
Jersey Servlet Container
https://jersey.java.net/apidocs/latest/jersey/org/glassfish/jersey/servlet/ServletContainer.html

Jersey 2.17 User Guide
https://jersey.java.net/documentation/latest/index.html

Client APIs
https://jersey.java.net/documentation/latest/client.html

AngularJS Example Using a Java RESTful Web Service
http://draptik.github.io/blog/2013/07/13/angularjs-example-using-a-java-restful-web-service/

example demonstrates JAX-RS 2.0 asynchronous API, both on the client and
server side
https://github.com/jersey/jersey/tree/master/examples/server-async-standalone

Eclipse Luna works with Tomcat 8
http://stackoverflow.com/questions/17868232/how-to-use-tomcat-8-in-eclipse
download eclipse
https://www.eclipse.org/downloads/?osType=macosx
extensions, including maven plugin
https://www.eclipse.org/users/
installation on mac osx
http://www.cs.dartmouth.edu/~cs5/install/eclipse-osx/

Real-Time Messaging
metamind.io uses python version of socket.io (originated from Node.js)
Atmosphere 2.0 is natively supported by Jersey server
Cross-Framework and Cross-Browser Asynchronous Framework for Real Time Applications on the JVMhttp://async-io.org/release.html
Examples of Jersey with Atmosphere
https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-the-samples
contains:
runtime: server side components for Servlet based framework.
javascript: client side library for Atmosphere
wAsync: Java client side library for Atmosphere

Links for java version of socket.io
Getting Started with Socket.IO
This blog introduces Socket.IO for the JVM, or how to write Socket.IO applications running on the JVM, using the Atmosphere Framework!
https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-Socket.IO

JSONP for cross-domain calls
http://stackoverflow.com/questions/2067472/what-is-jsonp-all-about

How to avoid OutOfMemoryError when uploading a large file using Jersey client
http://stackoverflow.com/questions/10326460/how-to-avoid-outofmemoryerror-when-uploading-a-large-file-using-jersey-client
In order for your code not to depend on the size of the uploaded file, you need:
  1. Use streams
  2. Define the chunk size of the jersey client. For example: client.setChunkedEncodingSize(1024);
Server:
    @POST
    @Path("/upload/{attachmentName}")
    @Consumes(MediaType.APPLICATION_OCTET_STREAM)
    public void uploadAttachment(@PathParam("attachmentName") String attachmentName, InputStream attachmentInputStream) {
        // do something with the input stream
    }
Client:
    ...
    client.setChunkedEncodingSize(1024);
    WebResource rootResource = client.resource("your-server-base-url");
    File file = new File("your-file-path");
    InputStream fileInStream = new FileInputStream(file);
    String contentDisposition = "attachment; filename=\"" + file.getName() + "\"";
    ClientResponse response = rootResource.path("attachment").path("upload").path("your-file-name")
            .type(MediaType.APPLICATION_OCTET_STREAM).header("Content-Disposition", contentDisposition)
            .post(ClientResponse.class, fileInStream);
JETTY

This tutorial will walk you through how to download, install and run Jetty – a 100 % Java HTTP and Servlet Container.
https://dzone.com/articles/installing-and-running-jetty

RESTful web services with jetty and jersey
http://jlunaquiroga.blogspot.com/2014/01/restful-web-services-with-jetty-and.html

Friday, May 29, 2015

AngularJS and HTML5

AngularJS Tutorial

http://www.w3schools.com/angular/
How to call a Java controller class from angularjs
http://stackoverflow.com/questions/27921957/how-to-call-a-java-controller-class-from-angularjs

GUI Libraries for Angular Javascript Framework
Angular JavaScript Framework: Interacting with Java Servlet Backend
http://www.doublecloud.org/2013/09/angular-javascript-framework-interacting-with-java-servlet-backend/

Allow streaming upload as opposed to multipart upload
https://github.com/nervgh/angular-file-upload/pull/38

Angular File Upload is a module for the AngularJS framework. Supports drag-n-drop upload, upload progress, validation filters and a file upload queue. It supports native HTML5 uploads, but degrades to a legacy iframe upload method for older browsers. Works with any server side platform which supports standard HTML form uploads.

When files are selected or dropped into the component, one or more filters are applied. Files which pass all filters are added to the queue. When file is added to the queue, for him is created instance of{FileItem} and uploader options are copied into this object. After, items in the queue (FileItems) are ready for uploading.

You could find this module in bower like angular file upload.

https://github.com/nervgh/angular-file-upload

File Uploading and Streaming with BinaryJS
http://www.olindata.com/blog/2014/01/file-uploading-and-streaming-binaryjs

angular-file-upload
Lightweight Angular JS directive to upload files using input type file or drag&drop with ajax call.
  • file upload for both html5 and non-html5 browsers with $http()
  • upload progress
  • file drag and drop.
  • abort/cancel upload
For non HTML5 browsers it uses FileAPI polyfill.
Please visit the project on GitHub for guides and more information


java - execute a command in linux
http://stackoverflow.com/questions/4264857/java-execute-a-command-in-linux
Mockup Frameworks:
Balsamiq Mockups 3
http://www.filehorse.com/download-balsamiq-mockups/
Balsamiq Mockups is a rapid wireframing tool that helps you Work Faster & Smarter. It reproduces the experience of sketching on a whiteboard, but using a computer. Making mockups is fast. You'll generate more ideas, so you can throw out the bad ones and discover the best solutions.

Using Mockups feels like drawing, but because it's digital, you can tweak and rearrange easily. Teams can come up with a design and iterate over it in real-time in the course of a meeting. Sketchy, low-fidelity wireframes let you focus design conversations on functionality.Linking lets you generate click-through prototypes for demos & usability testing. Seamless integration with all versions of Mockups, for when you're back online. Interfaces with drag and drop components-anyone can use it.Create templates, masters, and re-usable component libraries. Mockups is designed to help you and your team or clients iterate on wireframes as early in the process as possible, when it's cheapest to do so.

Balsamiq Mockups Features:

Sketchy Wireframes
Low-fidelity wireframes let you focus discussion on functionality.

Drag & Drop Simplicity
Create user interfaces with drag and drop components—anyone can use it.

Quick Add for Speed
Lets you build wireframes using your keyboard.

Re-usable Symbols
Create templates, masters, and re-usable component libraries.

UI Components & Icons
Lots of built-in user interface controls and icons, plus many community-generated symbols.

Click-Through Prototypes
Linking lets you generate click-through prototypes for demos & usability testing.

Export to PNG or PDF
Share or present mockups with embedded links using PDF export, or use a 3rd party tool to export to code.

Keyboard Shortcuts
Go really, really fast. and many more.

Note: The trial is fully functional for 30 days. Balsamiq Mockups for Desktop requiresAdobe Air to run.

Also Available: Download Balsamiq Mockups for Mac







Tuesday, May 19, 2015

NLI - Natural Language Inference


Can recursive neural tensor networks learn logical reasoning?

 Samuel R. Bowman NLP Group, Dept. of Linguistics Stanford University Stanford, CA 94305-2150 sbowman@stanford.edu
 Abstract
 Recursive neural network models and their accompanying vector representations for words have seen success in an array of increasingly semantically sophisticated tasks, but almost nothing is known about their ability to accurately capture the aspects of linguistic meaning that are necessary for interpretation or reasoning. To evaluate this, I train a recursive model on a new corpus of constructed examples of logical reasoning in short sentences, like the inference of some animal walks from some dog walks or some cat walks, given that dogs and cats are animals. This model learns representations that generalize well to new types of reasoning pattern in all but a few cases, a result which is promising for the ability of learned representation models to capture logical reasoning.


http://web.stanford.edu/~sbowman/arxiv_submission.pdf

depends on coreference resolution
http://nlp.stanford.edu/projects/coref.shtml

Natural Language Processing for the rest of us.

Opinions, Entities and Sentiments in 6 languages