IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
![Efficient data transfer through zero copy](https://cdn-ak-scissors.b.st-hatena.com/image/square/976d6b25b135fedb9c2be132b02244d48574a5af/height=288;version=1;width=512/http%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fi%2Fdw-social-201508.png)
Node は簡単に HTTP サーバが立ち上げられるので、Express などでちゃんとしたアプリを組む以外にも、ちょっとした HTML + JS のサンプルコードを書くときに、簡易HTTPサーバとして使っています。 connect を事前にインストールしておく必要がありますが、ワンライナーで書けるので、シェルスクリプトとして登録しておくと便利です。 connect のインストール npm install connect -g 作業フォルダに移動して、一度だけ npm link npm link connect HTTPサーバを起動するワンライナー node -e "require.paths.push('./node_modules'); var connect=require('connect'); connect(connect.static(__dirname+'/public')
At Plurk we process many millions of comet notifications pr. day and so far we have processed billions of them. It's comet at a very large scale and I think we are one of the biggest users of comet technology on the Internet. We use comet to deliver realtime updates to the users so they can plurk in realtime with their friends. Scaling this has been a challenge and we have tried many different sol
こんにちは。先日のブログで以下のような発言をしたイッシーです。(●´ω`●) 僕は生産設備を持っていませんので食料をはじめとした物流における支援は難しいのかもしれません。しかしながらシステムエンジニアとして間接的な支援や情報における支援はできます。僕は、天災における「破壊」を修復するのは人々の「生産」と考えるとともに、その「生産」の一部分を担う者として頑張っていきたいと思います。 有言実行ということで緊急地震速報をお知らせするChrome用の拡張機能を作ってみました。そこで今回は技術的な部分をまとめておきます。 ■仕様 クライアント側 Web Notifications お知らせを表示する小窓です。一番はじめのブログの題材にしました。 WebSocket 双方向通信の規格。これを使うとサーバ側から情報をプッシュできます。 Audio API お知らせ音を鳴らす際に使用しました。 サーバ側
「緊急地震速報 by Extension」を作って経験したことなどをまとめました。今回は後編です。前編は会社のブログに書きました。 僕は生産設備を持っていませんので食料をはじめとした物流における支援は難しいのかもしれません。しかしながらシステムエンジニアとして間接的な支援や情報における支援はできます。僕は、天災における「破壊」を修復するのは人々の「生産」と考えるとともに、その「生産」の一部分を担う者として頑張っていきたいと思います。 東北地方太平洋沖地震の後、余震が頻発し緊急地震速報の警告音も頻繁に耳にするようになりました。警告音に焦らされる一方で、本当は落ち着いて揺れに対処しなければならないと思っていました。そこで緊迫感を与えないような緊急地震速報を出せないものかと今回の制作にいたりました。(なので初期バージョンには音がなかったのです) また、本当は「緊急地震速報 by Chrome E
このウェブサイトは販売用です! mihswat.com は、あなたがお探しの情報の全ての最新かつ最適なソースです。一般トピックからここから検索できる内容は、mihswat.comが全てとなります。あなたがお探しの内容が見つかることを願っています!
HEADS UP! This article was written for an older version of node. More up-to-date information may be available elsewhere. UPDATE: This article was written for Node v0.4.1 and is no longer applicable. As of node.js 0.6.3 NPM comes pre-installed. These are some basic steps for writing a NodeJS module. Most of the suggestions in this document are optional. You can definitely write your program however
UPDATE – For the fun of it, here is the demo code hosted on a Joyent no.de smart machine: http://fzysqr.no.de:8000/ . Have fun. Beware. Sorry folks. I know it has been awhile since I have posted anything. Even longer since I have posted something worth reading. Life, busy, etc. No excuses. I’ll be better from now on, I promise. To start, here is something so cool it hurts my brain. I present nodec
Panorama Gallery Here: The 360 Gallery A few weeks ago I started see http://occip.it/ links in my twitter stream. I always clicked on the links when I saw a new one and thought that there were some very interesting photos being posted. But that was it, I only got to look through a few that were in my stream, and perhaps if I remembered to run a search on twitter once in a while I would see a few m
paynode Paynode is the new superset payment gateway module that will provide nodejs adapters for various payment gateways. This is all a rapid rework of my exisiting paypal-payflowpro module so expect some API changes to happen quite rapidly. Supported Gateways Paypal Payflow Pro Authorize.net (AIM only) Braintree Chargify more to come! Installation This has been published as an npm package, meani
You can follow @astro1138 on Twitter. E-mail detailed problem descriptions to astro@spaceboyz.net. Why? There are dropboxen and share hosters, but often, you'll want to share files only once, temporarily, with a limited set of recipients. That's what noatta.ch is made for: just point your browser at http://noatta.ch/ and pass the the new URL to the people you want to share with. How? The server si
I’ve been actively doing node.js coding for about 4 months now. I’m working with a couple of others on a suite of mobile apps and my time has been split between building the Android client (one of my partners drew the long straw and got ios for this round) and building out the node.js based backend. It’s currently a Node.js + CouchDB + Redis server that combines user auth/account management with r
bittered, the r/node moderator, requested I do a Q&A when this group reaches 1000 readers.
はじめに 毎年サーバーサイドJavaScriptが流行ると言ってるみなさんこんにちはダニーです。 ということで、node.jsをはじめてみました。 Twitter Streaming APIで取得したデーターをWebSocketで 接続したクライアントに出力するデモを作成したので紹介したいと思います。 今回のデモについて 今回作成したデモは node.jsのHttpClinetでTwtter Streaming APIでTwtterからデータを取得して、 node.jsのWebSocket Serverでそのデータを接続してきたWebSocket対応ブラウザに送信するということを やっています。 Twitter Streaming APIで取得できるようにする。 動かすのにhttp-basic-authが必要です。 npm install http-basic-auth streaming
Since testing web applications is a non-trivial task, testing nodejs based web applications is harder to test because of its asynchronous nature. Here today, i’ll introduce you ‘nodeunit’ unit testing library developed by the wise guy Caolan McMahon and its ‘httptool’ extension to write down unit test cases for web applications also the ones those use web frameworks such Express and Meryl. ‘httpto
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く