Moved to http://kodfabrik.com/journal/i-ve-just-liberated-my-modules. “I’ve Just Liberated My Modules” is published by Azer Koçulu.
Whether you’re interested in soccer or cricket, you may have wondered at some point, how do these scores get updated almost instantly? We will learn exactly how to do this kind of thing by using something called sockets, which can be done without refreshing the page. It is because they help in enabling Real-Time communication between the Server and Client without continuously making requests/refre
node.JS + nginx - ¿Y ahora? Preguntado el 15 de Febrero, 2011 Cuando se hizo la pregunta 123758 visitas Cuantas visitas ha tenido la pregunta 5 Respuestas Cuantas respuestas ha tenido la pregunta Resuelta Estado actual de la pregunta He configurado node.JS y nginx en mi servidor. Ahora quiero usarlo, pero, antes de empezar hay 2 preguntas: ¿Cómo deben trabajar juntos? ¿Cómo debo gestionar las soli
Share: Node.js design best practices Node.js is JavaScript, so everything you already know about JavaScript applies to your Node.js application as well. The patterns you use to write your front-end client code work when writing your server-side application logic. Node.js does not use any JavaScript language extensions or modifications to accomplish its goal of server-side JavaScript. There are, ho
実際運用で、興味ない商品なんてどうやって取得するんだよ!って思いますが、dislikeデータは入れなくてもスコアリングはできるので、試しに入れてみます。 データ挿入はこんな感じ var raccoon = require('raccoon'); raccoon.connect(6379, '127.0.0.1'); raccoon.config.nearestNeighbors = 5; raccoon.config.className = 'item'; raccoon.config.numOfRecsStore = 30; raccoon.config.factorLeastSimilarLeastLiked = false; raccoon.liked('1', '20', function(){}); raccoon.liked('1', '11', function(){});
In my old post I wrote of the same topic using shims. But here I would like to demonstrate many ES6 (harmony) features using raw node.js Let the code do the talking! Node version : v0.11.6 Let's grep some harm ;) : $ node --v8-options | grep harm --harmony_typeof (enable harmony semantics for typeof) --harmony_scoping (enable harmony block scoping) --harmony_modules (enable harmony modules (implie
Koa is a new application framework for Node.js. Its whole point is to eliminate the callback madness that plagues many Node.js apps. It achieves this previously-impossible feat by using the powerful generators feature which is new in JavaScript ES6. Koa is built by the same people who created Express, the best-known Node.js application framework, so it’s at least worth a look. Published Dec 21, 20
In goes content, out comes a website, ready to deploy. Get started with Nikola » Learn about Nikola features » Nikola is written in Python 3 (3.8+). Free open-source software under the MIT license. Host anywhere. Static websites are safer, use fewer resources, and avoid vendor and platform lock-in. You can host a Nikola website on any web server, big or small. It’s just a bunch of HTML files and a
Node は起動時に色々オプションをつけることができます。 面白いもの、有益なものあるんですが、あまり言及されてないので、 ちょっと紹介してみようかと思ってます。 最後の npm start の話は、それ単体で書いても良いかと思っていたんですが、 関連するし良い機会なので書きます。 そして、オプション周り興味がない方も、Node やってる方は最後の npm start の話だけでも、 読んでいただけるとと思ったりします。(知らない方が多いようなので) ここで紹介している Node のバージョンは v0.7.7 です。しかし v0.6.x あたりでは、 v8 のバージョンが古く、オプションが微妙に違います。そこは v0.6.12 での結果を載せている場合もあります。 -h まあ、とりあえず全ては -h から始まる。ということで、実行すると以下が出ます。 Usage: node [option
調べたインスタンス まず解凍・・・ tar m1.xlarge m1.large m1.small t1.micro real 0m0.851s 0m1.034s 0m3.999s 0m1.286s user 0m0.680s 0m0.736s 0m1.712s 0m0.560s sys 0m0.496s 0m0.504s 0m1.660s 0m0.420s コンパイル時間 make m1.xlarge m1.large m1.small t1.micro real 6m16.558s 6m14.260s 13m45.992s 39m51.288s user 4m54.962s 4m52.074s 10m48.917s 29m23.018s sys 0m46.923s 0m46.819s 2m15.564s 6m20.580s t1.microはキツイですね。 せっかくなので、node.j
I am trying to support CORS in my Node.js application that uses the Express.js web framework. I have read a Google group discussion about how to handle this, and read a few articles about how CORS works. First, I did this (code is written in CoffeeScript syntax): app.options "*", (req, res) -> res.header 'Access-Control-Allow-Origin', '*' res.header 'Access-Control-Allow-Credentials', true # try:
1. はじめに、 昨年6月末に node-v0.8がリリースされて8か月半ほど経って node-v0.10 がリリースされました。私もいくつかパッチがこのリリースに採用されていまして、ちょっと感慨深いです。 当初1月末のリリース予定でしたが、やっぱり今日まで延びました。安定版リリース直前のゴタゴタはもうNodeの風物詩なんですね。 今回、Node-v0.10のリリースにあたり、 isaacs から次のリリース文 http://blog.nodejs.org/2013/03/11/node-v0-10-0-stable/ がポストされています。英語かつ長文なので内容をちゃんと読み切れな方もいらっしゃるかと思いますので、リリース文の項目にあわせて私の視点で簡単な解説と感想などを書いてみます。(ちゃんとリリース文を理解された方はわざわざお読みにならなくても大丈夫です。) 尚、このリリースはこれ以
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く