Coder Social home page Coder Social logo

entente's People

Contributors

grdryn avatar helio-frota avatar lance avatar lholmquist avatar tapppi avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

entente's Issues

Node Core Module Exploration

This is an idea i had for a blog series. It is sort of a reference for me since there are some modules that i am not to familiar with.

This also goes along with the talk i submitted for Empirenode about "The node core modules less traveled"

i'm basically going to go straight down the list on the docs page:

https://nodejs.org/dist/latest-v6.x/docs/api/

Current Post

Assert - http://blog.lholmquist.org/node-core-modules-exploration/
Buffers - http://blog.lholmquist.org/node-core-modules-exploration-buffers/

Empire Node 2016 Conference Proposal - AsyncWrap

Tracing Asynchronous Operations with Node's AsyncWrap API

This is not the exact title and description, because I submitted through a Google
form and didn't save a copy of what I wrote. ๐Ÿ‘Ž

Tracing asynchronous code paths in Node.js is notoriously difficult, making
it very hard to understand what is going wrong when your application blows up.
Since Node.js version 4.0, however, Node has included an as-yet undocumented,
and still in progress feature known as AsyncWrap. In this talk you will learn
about the upcoming AsyncWrap API and how you can use it to to gain a better
understanding of what went wrong when your application fails, and where
potential asynchronous processing bottlenecks are lurking.

Additional Notes

I will be presenting the AsyncWrap API in an overview format, with some
discussion of the potential usages of the API in user applications and
custom frameworks. I will review some existing packages that provide an
abstraction layer over this low-level API, learn where unexpected gotchas
lay in wait, and finally demonstrate the development of a simple package,
making use of the new AsyncWrap API.

Speaker

Lance Ball (@lanceball), Senior Software Engineer, Red Hat, Inc.

http://lanceball.com

Lance Ball is a part of the JBoss division of Red Hat, working on a team
known as project:odd. Lance and his cohorts are tasked with researching and
prototyping new software which may or may not ever see the light of day.
He is an active open source contributor, an author of several NPM modules,
and a Core committer for the Node.js project. In addition to Node.js, you'll
find his contributions in many other well-known open source projects
including Wildfly Swarm, Vert.x, DynJS, and Torquebox.

Previous Speaking Engagements

  • Microservices in a Java EE World - Red Hat Microservices Architecture Day 2015
  • Process Bindings: How to do Node.js on the JVM - CodeMash 2015
  • Vert.x: Async Data From Cluster to Browser - DataIO 2013
  • Vert.x - Bringing the Browser to the Cluster - DevIgnition 2013
  • Complex Made Simple: Sleep Better with TorqueBox - RailsConf 2012
  • Simple Scalability With TorqueBox - Ruby Hoedown 2012
  • DataMapper on Infinispan: Clustered NoSQL - StrangeLoop 2012

npm-init.js should be smarter about the github username

My original suggestion was to use $USER, but that wasn't ideal because it's just the username on your local machine which may not match your github username.

Then @helio-frota suggested using git config user.name which is a good start, but also not ideal for the same reason, and also because in most git documentation, the user.name configuration value is a full name, like "Lance Ball".

Keycloak Hapi.js plugin

Similiar to the connect/express middleware, but for the Hapi framwork.

Hapi calls middleware Plugins

Nodevember 2016 conference proposal

Tracing Asynchronous Operations with Node's AsyncWrap API

Tracing asynchronous code paths in Node.js is notoriously difficult, making
it very hard to understand what is going wrong when your application blows up.
Since Node.js version 4.0, however, Node has included an as-yet undocumented,
and still in progress feature known as AsyncWrap. In this talk you will learn
about the upcoming AsyncWrap API and how you can use it to to gain a better
understanding of what went wrong when your application fails, and where
potential asynchronous processing bottlenecks are lurking.

Additional Notes

I will be presenting the AsyncWrap API in an overview format, with some
discussion of the potential usages of the API in user applications and
custom frameworks. I will review some existing packages that provide an
abstraction layer over this low-level API, learn where unexpected gotchas
lay in wait, and finally demonstrate the development of a simple package,
making use of the new AsyncWrap API.

Speaker

Lance Ball (@lanceball), Senior Software Engineer, Red Hat, Inc.

http://lanceball.com

Lance Ball is a part of the JBoss division of Red Hat, working on a team
known as project:odd. Lance and his cohorts are tasked with researching and
prototyping new software which may or may not ever see the light of day.
He is an active open source contributor, an author of several NPM modules,
and a Core committer for the Node.js project. In addition to Node.js, you'll
find his contributions in many other well-known open source projects
including Wildfly Swarm, Vert.x, DynJS, and Torquebox.

Previous Speaking Engagements

  • Microservices in a Java EE World - Red Hat Microservices Architecture Day 2015
  • Process Bindings: How to do Node.js on the JVM - CodeMash 2015
  • Vert.x: Async Data From Cluster to Browser - DataIO 2013
  • Vert.x - Bringing the Browser to the Cluster - DevIgnition 2013
  • Complex Made Simple: Sleep Better with TorqueBox - RailsConf 2012
  • Simple Scalability With TorqueBox - Ruby Hoedown 2012
  • DataMapper on Infinispan: Clustered NoSQL - StrangeLoop 2012

Review jvm-npm per B/G guidelines and bring into compliance

The package is here. https://www.npmjs.com/package/jvm-npm
The repo is here. https://github.com/nodyn/jvm-npm

It has only ever been released once, but there are people using it. Let's make it live up to the bucharest-standards, eh?

After applying at a minimum the following items from our guidelines doc, we should publish a new release.

  • Continuous integration with Travis-CI
  • package.json files property
  • Code-style/linting

This is a bit of a strange case, because it's meant to run on a JVM Javascript runtime - e.g. nashorn, rhino and dynjs. So with the exception of npm publish the build is actually maven.

Look at semistandard plugins for eslint

Eslint is a more full featured tool than semistandard. We could get semstandard style enforcement using plugins on eslint. Let's figure out the best way to do this.

Add szero check on projects

We have a tool that breaks the build when unused dependencies are found.
So is interesting to add this on the projects.

Empire Node Conference Proposal

Node Core Modules Less Traveled

The basic concept of the talk is taking a look at some of the lesser known "Core" modules. Everyone knows what the http module does, but what is the zlib module or punycode?

note: couldn't find the abstract i wrote

Additional Notes

Speaker

Lucas Holmquist (@Sienaluke) Senior Software Engineer, Red Hat, Inc.

lholmquist.org

Previous Speaking Engagements

JUDCon 2013 - Apache Cordova Talk
JUDCon 2013 - Push Talk
Mobile Week 2014 - UnifiedPush Server
jQuery Conf Chicago 2014 - Chromecast: Beyond Streaming Media
Devnation 2015 - Push the future with Webpush, the IoT, embedded, & industry standards

Consuming Java API's using node.js

Ella

Just working in this Node.js native plugin done in C++11 that allows you to load and run Java classes in Javascript, enabling you for example to use Java libraries (PDFBox, Lucene, etc..) in your Node.js code.

Features

  • You can create Java classes.
  • Send any Java method call to a background thread and handle the response with a JS callback.
  • It detect method overloading, you can target various method signature.
  • JVM to JS exception handling.
  • Fast, It cache native reference, saving some JVM lookup time.

Need to be done.

  • Non-empty constructor.
  • Static class support.

For now i have test this plugin successfully with JDK 1.7 and JDK 8. If you want to give it a try just go to this repo.

CDK and Openshift

  • Setup
  • Openshift Origin
  • Explore [overview] REST API
  • How much control did you have over the version of node you used?
  • What about ongoing development?
  • What is the workflow like?
  • What is required to see and test changes locally?

Take a look at snyk.io

They are a commercial company but provide some open source tools that perform static code analysis in order to identify known security vulnerabilities. Currently we recommend using [nsp](https://github.com/bucharest-gold/entente/blob/master/GUIDELINES.md#security) for this. We should determine if there is any reason to consider snyk over our current process.

Snyk has an open source component: https://github.com/Snyk/snyk
Vulnerabilities DB: https://github.com/Snyk/vulndb

Create a custom template for npm init

When npm init is run, it is possible to use a custom script to prompt the user and supply defaults. First, users will need to set this value.

$ npm config set init-module ~/.npm-init.js

The .npm-init.js script might look something like this.

var cp = require('child_process');  
var priv;

var USER = process.env.GITHUB_USERNAME || 'YOUR_GITHUB_USERNAME';

module.exports = {

  name: prompt('name', basename || package.name),

  version: '0.0.1',

  private: prompt('private', 'true', function(val){
    return priv = (typeof val === 'boolean') ? val : !!val.match('true')
  }),

  create: prompt('create github repo', 'yes', function(val){
    val = val.indexOf('y') !== -1 ? true : false;

    if(val){
      console.log('enter github password:');
      cp.execSync("curl -u '"+USER+"' https://api.github.com/user/repos -d " +
        "'{\"name\": \""+basename+"\", \"private\": "+ ((priv) ? 'true' : 'false')  +"}' ");
      cp.execSync('git remote add origin '+ 'https://github.com/'+USER+'/' + basename + '.git');
    }

    return undefined;
  }),

  main: prompt('entry point', 'index.js'),

  repository: {
    type: 'git',
    url: 'git://github.com/'+USER+'/' + basename + '.git' },

  bugs: { url: 'https://github.com/'+USER'/' + basename + '/issues' },

  homepage: "https://github.com/"+USER+"/" + basename,

  keywords: prompt(function (s) { return s.split(/\s+/) }),

  license: 'MIT',

  cleanup: function(cb){

    cb(null, undefined)
  }

}

See: https://nodesource.com/blog/eleven-npm-tricks-that-will-knock-your-wombat-socks-off/

Test keycloak docker image

  • Simplifies a bit our start-stop bash scripts.
  • If we delete the project directory no need download keycloak again.

NodeConf Budapest 2017 Proposal

A View Into the Vortex, or Tracing Asynchronous Operations in Node

Description

Tracing asynchronous code paths in Node.js is really hard. This makes it difficult to understand what is going wrong when your application blows up. Since Node.js version 4.0, however, Node has included the AsyncWrap API. In this talk you will learn how you can use the API to to gain a better understanding of what went wrong when your application fails, and where potential asynchronous processing bottlenecks are lurking.

Learning objectives

I will be presenting the AsyncWrap API in an overview format, with some discussion of the potential usages of the API in user applications and custom frameworks. I will review some existing modules that provide an abstraction layer over this low-level API, and demonstrate the development of a long stack trace module, making use of the API.

City of residence

Asheville, North Carolina, USA

Publish a blog on szero

Include those sexy screenshots and how others could use the tool to check their own dependencies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.