[過去ログ] 【node.js】サーバサイドjavascript 2【Rhino】 (983レス)
前次1-
抽出解除 レス栞

このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
176: 2013/06/16(日)23:33:04.18 AAS
そろそろHTML/CSS/JavaScript全部スクラップにして
第二のウェブを作ることを考え始めてもいい頃合いではないかと思う。
野心ある人はもう取り組んでいるかもしれん。

のごころですね
249: 2013/09/09(月)09:19:44.18 AAS
Math.floor((0.7+0.1)*10)
昔から分かってることだけど、やっぱ面倒くさいなあ。
423: 2013/11/01(金)19:44:06.18 AAS
moongiftにかみついてるひといてわろす
647
(2): 2014/04/13(日)23:46:09.18 ID:nk9dwJ1r(1)調 AAS
audioタグで再生するには、サーバー側はファイルを部分的に取得するリクエストに対応する必要があるのでは?
http://blog.geta6.net/post/47327301419/connect-stream
http://pedromtavares.wordpress.com/2012/12/28/streaming-audio-on-the-web-with-nodejs/
655
(1): 2014/04/21(月)00:45:05.18 ID:O81By8cn(1)調 AAS
サーバーサイド=CLIって意味だよ。
685
(2): 2014/04/27(日)18:04:00.18 ID:lsyfz5Zx(1/3)調 AAS
fs.readFileで読み込んだファイルをsocket.emitで送って、createObjectURLでsrc属性にあてることは可能ですか
745: 2014/06/21(土)13:02:38.18 ID:JYbWtnYr(2/2)調 AAS
*/
JconvStream.prototype._processJconv = function (chunk) {
var buf = chunk;
try{
if(this._from == this._to){
this.push( this._rawbuf );
}else{
var buf3 = jconv.convert( this._rawbuf , this._from, this._to );
var str1 = jconv.decode( jconv.convert( Buffer.concat([this._rawbuf, buf]) , this._from, this._to ), this._to );
var str2 = jconv.decode( buf3, this._to );
while( str1.substr(str2.length-1,1) != str2.substr(str2.length-1,1) ){
buf3 = jconv.convert( Buffer.concat([this._rawbuf, buf.slice(0, 1)]) , this._from, this._to );
str2 = jconv.decode( buf3, this._to );
buf = buf.slice(1);
}
this.push( buf3 );
}
}catch(e){
this.push( this._rawbuf );
}
this._rawbuf = buf;
}
JconvStream.prototype._transform = function (chunk, enc, callback) {
this._processJconv(chunk);
callback();
}
JconvStream.prototype._flush = function (callback) {
this._processJconv(Buffer(""));
this._rawbuf = this._from = this._to = null;
callback();
}
module.exports = JconvStream;
961: 2014/12/22(月)19:43:17.18 ID:rhMqiI3Q(1/2)調 AAS
>>957
美人が故に指導教官の目を曇らせ
美人が故に足を引っ張られた
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.046s