Angel \”Java\” Lopez on Blog

August 20, 2014

Node.Js: Links, News And Resources (28)

Filed under: JavaScript, Links, NodeJs — ajlopez @ 5:10 pm

Previous Post

A Node.js speed dilemma: AJAX or Socket.IO? | Web Builder Zone
http://css.dzone.com/articles/nodejs-speed-dilemma-ajax-or

Nodejs-code | Scoop.it
http://www.scoop.it/t/nodejs-code

niftylettuce/node-google-drive · GitHub
https://github.com/niftylettuce/node-google-drive
Node.js library to access Google Drive’s API

Making an ‘Authorized Request’ to a Google API using node.js (with everyauth authentication) – Stack Overflow
http://stackoverflow.com/questions/12195549/making-an-authorized-request-to-a-google-api-using-node-js-with-everyauth-aut

smurthas/gdata-js · GitHub
https://github.com/smurthas/gdata-js
Simple Google Data API client for OAuth 2.0

bioinformatics – node.js modules
https://nodejsmodules.org/tags/bioinformatics

YOKOFAKUN: Server-side javascript: translating a DNA with Node.js
http://plindenbaum.blogspot.com.ar/2010/12/server-side-javascript-translating-dna.html

rogerwang/node-webkit · GitHub
https://github.com/rogerwang/node-webkit
node-webkit is an app runtime based on Chromium and node.js. You can write native apps in HTML and Javascript with node-webkit

Chris Sainty: Creating desktop apps with NodeJS
http://blog.csainty.com/2012/01/creating-desktop-apps-with-nodejs.html

dominictarr/hipster · GitHub
https://github.com/dominictarr/hipster
Text editor in node.js

Serializing/storing closures – nodejs | Google Groups
https://groups.google.com/group/nodejs/browse_thread/thread/52450ecd51b4d5ab

meelash/Mundlejs · GitHub
https://github.com/meelash/Mundlejs
Client-side module bundler, cacher, loader

medikoo/find-requires · GitHub
https://github.com/medikoo/find-requires
Find all require() calls. Fast and solid implementation backed with direct scanner and esprima ast parser

agrueneberg/Corser · GitHub
https://github.com/agrueneberg/Corser
CORS middleware for Node.js

express.js middleware to support CORS pre-flight requests
https://gist.github.com/2344435

jawerty/Node2Blog · GitHub
https://github.com/jawerty/node2blog
A simple and easy to setup node.js blog template. For the casual blogger.

find
https://github.com/yuanchuan/find
Find files or directories by name

rodent
https://github.com/indabamusic/rodent
npm package to deploy node.js apps

http – Extracting POST data with Express – Stack Overflow
http://stackoverflow.com/questions/11002046/extracting-post-data-with-express/14125262#14125262

My Links
http://delicious.com/ajlopez/nodejs

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

August 19, 2014

Smalltalk: Links, News And Resources (19)

Filed under: Links, Programming Languages, Smalltalk — ajlopez @ 3:33 pm

Previous Post

ESUG: 2014
http://www.esug.org/wiki/pier/Conferences/2014

Pharo Open Source Smalltalk — News
http://www.pharo-project.org/news?dialog=pharo-3-at-fosdem&

mpw/Objective-Smalltalk
https://github.com/mpw/Objective-Smalltalk

Philippe Back Interviews Nicolas Petton on Amber Smalltalk by philippeback on SoundCloud – Hear the world’s sounds
https://soundcloud.com/philippeback/nicolas_petton_on_amber_smalltalk

pharo-project/pharo-vm
https://github.com/pharo-project/pharo-vm

smallworks: Why I’m using git in my Pharo projects
http://smallworks.eu/web/blog/2014-01-16-Why-Im-using-git

Dyla’14 at PLDI, Edinburgh, UK
http://www.lifl.fr/dyla14/

Morphic
http://wiki.squeak.org/squeak/30

docs.selflanguage.org/4.4/pdf/SelfHandbook-Self4.4-R2.pdf
http://docs.selflanguage.org/4.4/pdf/SelfHandbook-Self4.4-R2.pdf

stephane.ducasse.free.fr/FreeBooks/CollectiveNBlueBook/morphic.final.pdf
http://stephane.ducasse.free.fr/FreeBooks/CollectiveNBlueBook/morphic.final.pdf

Self Mallard (4.5.0) released | Self
http://blog.selflanguage.org/2014/01/12/self-mallard-4-5-0-released/

Self | Fun through simplicity
http://blog.selflanguage.org/

stic13 – YouTube
http://www.youtube.com/playlist?list=PL8aumV3VUz66Rs8-xcD8V57ZTBNYPlzmj

(349) Programming Languages: Why create any more programming languages? – Quora
http://www.quora.com/Programming-Languages/Why-create-any-more-programming-languages

Anyone interested in smalltalk? : learnprogramming
http://www.reddit.com/r/learnprogramming/comments/1to0wm/anyone_interested_in_smalltalk/

ST 4U 510: Dynamic Code Generation in Pharo
http://www.jarober.com/blog/blogView?entry=3565419024

Was Alan Kay wrong? And why does that matter?
http://braythwayt.com/2013/12/22/wrong.html

Smalltalk on Raspberry Pi | a blog on Smalltalk on the Raspberry Pi
http://pismalltalk.wordpress.com/

My Links
http://delicious.com/ajlopez/smalltalk

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez
http://github.com/ajlopez

August 14, 2014

Node.Js: Links, News And Resources (27)

Filed under: JavaScript, Links, NodeJs — ajlopez @ 3:10 pm

Previous Post 
Next Post

Links from my collection. Recent links at http://delicious.com/ajlopez/nodejs

creationix/uvrun · GitHub
https://github.com/creationix/uvrun

emitter-in-stream
https://npmjs.org/package/emitter-in-stream#readme

javascript events – Filtering Stream object in node.js – Stack Overflow
http://stackoverflow.com/questions/6944319/filtering-stream-object-in-node-js

node.js – custom stream object? (nodejs) – Stack Overflow
http://stackoverflow.com/questions/7412479/custom-stream-object-nodejs

How to Use Buffers in Node.js – docs.nodejitsu.com
http://docs.nodejitsu.com/articles/advanced/buffers/how-to-use-buffers

How I move files on node.js – Stack Overflow
http://stackoverflow.com/questions/8579055/how-i-move-files-on-node-js

node.js – What is the difference between util.pump(streamA, streamB) and streamA.pipe(streamB)? – Stack Overflow
http://stackoverflow.com/questions/9726507/what-is-the-difference-between-util-pumpstreama-streamb-and-streama-pipestre

json rpc – What’s the best way to make one node.js server “talk” to another? – Stack Overflow
http://stackoverflow.com/questions/5010814/whats-the-best-way-to-make-one-node-js-server-talk-to-another

boxed-emitter
https://npmjs.org/package/boxed-emitter#readme

duplex-emitter
https://npmjs.org/package/duplex-emitter#readme

Joey Nelson: Node.js for noobs: Grabbing POST content
http://jnjnjn.com/113/node-js-for-noobs-grabbing-post-content/

node.js Extracting POST data – Stack Overflow
http://stackoverflow.com/questions/4295782/node-js-extracting-post-data

Accessing the HTTP message body (e.g. POST data) in node.js | Frank Grimm
http://blog.frankgrimm.net/2010/11/howto-access-http-message-body-post-data-in-node-js/

express.io – realtime-web framework for nodejs
http://express-io.org/

How to exit in Node.JS – Stack Overflow
http://stackoverflow.com/questions/5266152/how-to-exit-in-node-js

eldargab/make-flow · GitHub
https://github.com/eldargab/make-flow

circuit/README.md at master · tatumizer/circuit · GitHub
https://github.com/tatumizer/circuit/blob/master/README.md

jrcryer/phpunit-watchr · GitHub
https://github.com/jrcryer/phpunit-watchr

node_modules in git
http://www.mikealrogers.com/posts/nodemodules-in-git.html

My Links
http://delicious.com/ajlopez/nodejs

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

August 10, 2014

New Month’s Resolutions: August 2014

Filed under: .NET, C Sharp, JavaScript, Open Source Projects — ajlopez @ 5:59 pm

Time to write new resolutions, and to review July 2014 ones:

- Improve AjGenesisNode code generation for Express [complete] see repo
- Improve AjGenesisNode code generation for Sinatra [partial] see repo
- First AjGenesisNode code generation for Laravel [pending]
- Module loading, export review in Mass Language [pending]
- Continue with SharpBus [complete] see repo
- Continue with Dynamic Site [pending]
- Give a talk about Node.js/Express [complete]
- Improve my personal site code [complete] see repo
- Write TDD Post [pending]
- Write C# Posts [complete] see posts
- Distributed use using Aktores [pending]
- Review, refactor and continue RustScript implementation [complete] see repo

Additionally, I worked on:

- Started SimpleList [complete] see repo
- Started SimpleJQuery [complete] see repo
- Improve SimpleMule [complete] see repo
- Started SharpGD, Graph Database in C# [complete] see repo
- Improve SimpleBus [complete] see repo
- Improve SharpGo [complete] see repo
- Improve ExpressSamples [complete] see repo
- Minor improvements in ScaScript [complete] see repo
- Improve ScalaSharp [complete] see repo
- Write Friends sample for JavaScriptSamples [complete] see repo
- Write Angular examples [complete] see repo
- Add remove method to OStore [complete] see repo
- Collaborate with Liqueed project [complete] see repo

New resolutons for August 2014:

- Write jQuery mock to be used in console tests/Node.js
- Write simple functions in JavaScript for array manipulation
- Continue with Liqueed project
- Start with Distributed Aktores
- Startwith Distributed AjErl

Also, I worked for thread count is 3.

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com

July 31, 2014

Node.Js: Links, News And Resources (26)

Filed under: JavaScript, Links, NodeJs — ajlopez @ 6:51 pm

Previous Post 
Next Post

Links from my collection. Recent links at http://delicious.com/ajlopez/nodejs

Managing Node.js Dependencies with Shrinkwrap
http://blog.nodejs.org/2012/02/27/managing-node-js-dependencies-with-shrinkwrap/

Yammer Engineering – Managing Node.js Dependencies and Deployments at Yammer
http://eng.yammer.com/managing-node-js-dependencies-and-deployments-at-yammer/

reid/node-jslint · GitHub
https://github.com/reid/node-jslint
The JavaScript Code Quality Tool — for Node.js

Getting Started with Node.js on Heroku | Heroku Dev Center
https://devcenter.heroku.com/articles/nodejs

felixge/node-mysql · GitHub
https://github.com/felixge/node-mysql
A pure node.js JavaScript Client implementing the MySql protocol

How to “Ping” from a Node.js app? – Stack Overflow
http://stackoverflow.com/questions/4737130/how-to-ping-from-a-node-js-app

javascript – In Node.js, how do I “include” functions from my other files? – Stack Overflow
http://stackoverflow.com/questions/5797852/in-node-js-how-do-i-include-functions-from-my-other-files

Script.runInNewContext and global objects – nodejs | Google Groups
https://groups.google.com/group/nodejs/browse_thread/thread/86a76fbc14758290

Simple Chat – Node.js + WebSockets | Switch on the Code
http://www.switchonthecode.com/tutorials/simple-chat-nodejs-plus-websockets

Introduction to Node.js – Online Training Course for .NET Developers
http://pluralsight.com/training/Courses/TableOfContents/node-intro

chriso/node.io · GitHub
https://github.com/chriso/node.io
A data scraping and processing framework http://node.io/

Experimenting with Node.js – Jeff Kreeftmeijer
http://jeffkreeftmeijer.com/2010/experimenting-with-node-js/

Meteor
http://meteor.com/authcast

Official NodeJS Binaries on Heroku – Arunoda Susiripala – Web Geek
http://arunoda.me/blog/official-nodejs-binaries-on-heroku.html

You work for me, Computer: The Node.js REPL is Broken
http://blog.brandonbloom.name/2012/12/the-nodejs-repl-is-broken.html

1602/compound · GitHub
https://github.com/1602/compound
MVC framework. Built on Node.JS. Works on server and browser

A New Streaming API for Node v0.10
http://blog.nodejs.org/2012/12/21/streams2/

coopernurse/node-pool · GitHub
https://github.com/coopernurse/node-pool

Object Modeling in Node.js with Mongoose | Heroku Dev Center
https://devcenter.heroku.com/articles/nodejs-mongoose

Raynos/levelidb · GitHub
https://github.com/Raynos/levelidb

shtylman/balabolka · GitHub
https://github.com/shtylman/balabolka
Dead simple hosted chat for your website

NetEase/chatofpomelo · GitHub
https://github.com/NetEase/chatofpomelo
Chat application of pomelo

My Links
http://delicious.com/ajlopez/nodejs

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 30, 2014

Node.Js: Links, News And Resources (25)

Filed under: JavaScript, Links, NodeJs — ajlopez @ 10:52 am

Previous Post
Next Post

Links from my collection. Recent links at http://delicious.com/ajlopez/nodejs

qooxdoo » Home
http://qooxdoo.org/
A universal JavaScript framework

Developing a complete client-server application with qooxdoo on Cloud9IDE. Part 1: Application architecture « Panyasan’s Random Musings
http://panyasan.wordpress.com/2012/07/29/developing-a-complete-client-server-application-with-qooxdoo-and-node-on-cloud9ide-part-1-application-architecture/

percolator.js
http://percolatorjs.com/
Create JSON APIs

Why we need a NodeJS application server or: writing boilerplate code considered harmful « Panyasan’s Random Musings
http://panyasan.wordpress.com/2012/12/10/why-we-need-a-nodejs-application-server-or-writing-boilerplate-considered-harmful/

blog.izs.me
http://blog.izs.me/

On “Reserving” Package Names – nodejs | Google Groups
https://groups.google.com/group/nodejs/browse_thread/thread/a1d1307c1a31c32e

Felix’s Node.js Guide
http://nodeguide.com/index.html

Felix’s Node.js Style Guide
http://nodeguide.com/style.html

substack/stream-handbook · GitHub
https://github.com/substack/stream-handbook
How to write node programs with streams

Chris Granger – Anatomy of a knockout
http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/

ci.testling.com
http://ci.testling.com/

NetEase/lordofpomelo · GitHub
https://github.com/NetEase/lordofpomelo
A browser-based MMORPG

instructure/canvas-lms · GitHub
https://github.com/instructure/canvas-lms
Learning management systems

mem-memov/blackboard · GitHub
https://github.com/mem-memov/blackboard/
Online blackboard

lloyd/node-compute-cluster
https://github.com/lloyd/node-compute-cluster

luismreis.github.com/node-bindings-guide/
http://luismreis.github.com/node-bindings-guide/

javascript – How to decide when to use NodeJS? – Stack Overflow
http://stackoverflow.com/questions/5062614/how-to-decide-when-to-use-nodejs

Introducing pkgcloudblog.nodejitsu.com – scaling node.js applications one callback at a time.
http://blog.nodejitsu.com/introducing-pkgcloud

RedVentures/workforce
https://github.com/RedVentures/workforce

Express.js by Dan Zajdband – Comunidad Nodejs Argentina – YouTube
http://www.youtube.com/watch?feature=player_embedded&v=Uw46_Mub6t8

Roll your own PubSub with DNode :: The Universe of Discord
http://substack.net/posts/9bac3e/Roll-your-own-PubSub-with-DNode

Tracking Down Memory Leaks in Node.js – A Node.JS Holiday Season ✩ Mozilla Hacks – the Web developer blog
https://hacks.mozilla.org/2012/11/tracking-down-memory-leaks-in-node-js-a-node-js-holiday-season/

<The client side of the moon />: Chat Evolution — Node.js and Socket.IO
http://udidu.blogspot.co.il/2012/11/chat-evolution-nodejs-and-socketio.html

My Links
http://delicious.com/ajlopez/nodejs

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 29, 2014

SharpStorm Implementing Storm in C# (1) Initial Project

Filed under: .NET, C Sharp, Open Source Projects, SharpStorm, Storm — ajlopez @ 12:44 pm

In the last two years I was exploring the ideas of Storm (see https://storm.incubator.apache.org/), implementing a local topology Node.js. It’s time to practice more C # and TDD (Test-Driven Development), with:

https://github.com/ajlopez/SharpStorm

Current status of the project:

The idea is to implement Bolt, Spout and a TopologyBilder. See

https://storm.incubator.apache.org/about/simple-api.html

There are just three abstractions in Storm: spouts, bolts, and topologies. A spout is a source of streams in a computation. Typically a spout reads from a queueing broker such as Kestrel, RabbitMQ, or Kafka, but a spout can also generate its own stream or read from somewhere like the Twitter streaming API. Spout implementations already exist for most queueing systems.

A bolt processes any number of input streams and produces any number of new output streams. Most of the logic of a computation goes into bolts, such as functions, filters, streaming joins, streaming aggregations, talking to databases, and so on.

A topology is a network of spouts and bolts, with each edge in the network representing a bolt subscribing to the output stream of some other spout or bolt. A topology is an arbitrarily complex multi-stage stream computation. Topologies run indefinitely when deployed.

In the project are now defined interfaces, to have bolts and spouts, and topology builder to build a topology. For now, I want a local implementation (without distributed processing). Then, I hope to implement ACK algorithm that has original Storm, which lets you know when an incoming message was completely processed (including processes messages that occurred in the middle of the process).

Upcoming topics: discuss ISpout, iBOLT, and topology implementation.

Stay tuned

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 28, 2014

SharpDoop Implementing Map Reduce in C# (1) The Project

Filed under: .NET, C Sharp, MapReduce, Open Source Projects, SharpDoop — ajlopez @ 4:51 pm

I was experimenting with map-reduce in Node.js / JavaScript. But it is also something interesting to implement the algorithm in C #, to practice TDD (Test-Driven Development) and to learn more about what it takes to implement the algorithm. The project that I started is:

https://github.com/ajlopez/SharpDoop

The current status:

It has a class library project and the test project. I came to think of something not yet distributed. All I want for now is to specify the map/reduce algorithm map, and run it in the same process.

See that there is then a MapReduceJob. The base class that is responsible for running a map (lambda function) and reduce (takes a key,  a list of values for that key, and output the result). With C #, these two operations can be expressed as lambdas or delegate methods inside a more complex object. For now, I pose the simple cases in the tests, and all them are running.

I also put together a MapProcessJob, which is a variant of map / reduce to discuss. Instead of processing all keys first, then roll them into the reduce phase, try to do everything together. In some use cases it may be more efficient, but is an issue to discuss in more detail.

Upcoming topics: more in-depth review and implementation ideas, such as map / process.

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 27, 2014

AjTalk Implementing Smalltalk In C# (4) The Project

Filed under: .NET, AjTalk, C Sharp, Programming Languages, Smalltalk — ajlopez @ 5:48 pm

Previous Post

Year and a half since I didn’t write about this project in C #, but I was working on it, and the parallel implementation I have in JavaScript (in fact, I introduced some concepts of both the Smalltalks 2013 conference, Rosario, Argentina).

The project is at:

https://github.com/ajlopez/AjTalk

Current structure:

The projects are:

AjTalk: class library, with a compiler to bytecodes implementation. There is a compiler to JavaScript too. There is an interpreter of those bytecodes.

AjTalk.Compiler: a console project that uses the compiler to JavaScript.

AjTalk.Console: a simple REPL (Read Eval Print Loop)

AjTalk.Gui: a work-in-progress example using windows

AjTalk.Tests: the test I wrote, followin TDD (Test-Driven Development) flow.

I guess now I don’t need the compiler to JavaScript, because I have a native JavaScript implementation at:

https://github.com/ajlopez/AjTalkJs

It can compile to bytecodes or to JavaScript. The project is written in JavaScript.

The window implementation is very primitive. I plan to replace it for direct AjTalk program using .NET types and object.

One point that I find very interesting (in both projects, C # and JavaScript) is to have a modular implementation: instead of loading an image yet defined, my plan is to define modules to load, as happens in the Node.js environment . The modules would be published in the NPM (Node Package Manager’s), and each could indicate which modules need in your program instead of lifting all Smalltalk.

Another topic in this C # project I have implemented that can run more than one AjTalk machine at the same time. And I can even make a machine “help” to the other. For example, if the machine does not have to compile methods to new methods, machine B can go to his aid. Thus, A machine (and his image, I’m already recording binary image) can be kept small.

Another feature that I have implemented: the ability to send a message to an object, without waiting for a response, a “fire and forget”. And that the target object can attend ONE OF those messages as models of actors.

I have to review the implementation of remote objects (now based on the old Remoting. NET). But I think it is an important feature to maintain and explore.

Well, you see, many issues remain for other posts, such as implementation details Smalltalk concepts such as Object, Class, ClassDescription, Behavior, MetaClass, etc..

Nos leemos!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 26, 2014

AjKeyvs Implementing Key-Value Store in C# (1) The Project

Filed under: .NET, AjKeyvs, C Sharp, No, NoSQL, Open Source Projects, Test-Driven Development — ajlopez @ 6:40 pm

I want to implement a key-value store (as Redis) in C#, play with data structures, and practice TDD (Test-Driven Development). I started:

https://github.com/ajlopez/AjKeyvs

The current structure:

There is a class library project, AjKeyvs, that contains the collections in an in-memory repository. The interesting part of this projects is to implement arrays and sets that can be sparse, having different keys. Example, having a key 1 (one) and a key 1000000 (one million) does not imply to have an array with one million positions. At the same, I want to have a good access and update time. In other use cases, I will have string keys, like “user”, “user:1”, “user:1:email”, etc. There are use cases that need the use of sets, with union, intersection, difference, etc… For integer keys, I jave a set where a could turn a bit on or off, for the presence or absense of an element. More implementation details in upcoming post.

The library can be used in-process, but I added a server and a client program. The server listen commands sent by the clientes. All collections reside in memory. Persistence is something orthogonal to the implemented use cases. I should decide if add the persistence into the command processing, or is something to be implemented outside the project.

As usual, I followed TDD workflow.

Next topics: data structures, collections, commands, concurrency, etc.

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

Older Posts »

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 66 other followers