59naga (@horse_n_deer) 's Twitter Profile
59naga

@horse_n_deer

ID: 1444494680

linkhttps://github.com/59naga calendar_today20-05-2013 18:49:43

4,4K Tweet

90 Followers

122 Following

59naga (@horse_n_deer) 's Twitter Profile Photo

flow-typedでinstallしたmochaが一生[email protected]に認識されないバグが起こったけどsubmoduleせずにcloneした別の.gitフォルダrmしたら直った。しかもcheckoutでrm差し戻したらバグが再現しないし謎である

Teppei Sato (@teppeis) 's Twitter Profile Photo

eslint-scopeが何者かによって不正にnpm publishされた。pastebinのコードをevalするらしい。これを依存に持つwebpack, eslint@4, babel-eslint, eslint-plugin… htn.to/xMttbd

59naga (@horse_n_deer) 's Twitter Profile Photo

あー、小説家になろうのスクレイピングサーバー立てようと思ったけど、海外からのアクセス禁止してるんですね。herokuもnowも403で弾かれた

59naga (@horse_n_deer) 's Twitter Profile Photo

giitlabよさそう、masterブランチで`git commit —amend && git push —force`しようとしたら弾かれる(developブランチ作って試したら通った)し、foolproof的な仕掛けがあって嬉しい

59naga (@horse_n_deer) 's Twitter Profile Photo

dynamic import文拡張してimport(‘lodash’, ‘default’)とかやりたいけどbabylon7のparserでコケるからplugin.preとかでハック出来ないな……

59naga (@horse_n_deer) 's Twitter Profile Photo

関数ベースのものはもう作った( github.com/59naga/named-i… )んだけど、これだとwebpackでcode-splittingできない

59naga (@horse_n_deer) 's Twitter Profile Photo

で、namedImportとか予約語を作ってimport().then(module => module.default)に変換するプラグインを作ろうと思ったけど、この方法だとeslintにnamedImportを無視させないといけなくて微妙だ……うーん

59naga (@horse_n_deer) 's Twitter Profile Photo

socket.io-clientのextraHeader、nodeJs上でテスト書くとき最高に快適でニコニコしてたんだけど、nuxtからブラウザ上で同じように使おうとすると、どう頑張ってもset-cookie送れなくて半日潰してイライラしてた

59naga (@horse_n_deer) 's Twitter Profile Photo

js-cookieでdocument.cookie焼こうがtransportOptions.polling.extraHeaders書こうがchromeでunsafe header出てきてその前の行辺りのsetDisableHeaderCheck無視されてて悲しい気持ちになった

59naga (@horse_n_deer) 's Twitter Profile Photo

express + pm2 + socket.io + redis で作ったクラスタリングしようとしたらsocket.ioのhandshakeでコケるのは以前も経験あるけど、ここのissueのコメントどおり引数増やすだけで直る。pollingを明示的に指定しないとhandshakeできないんだろうか github.com/Unitech/pm2/is…

59naga (@horse_n_deer) 's Twitter Profile Photo

もう日付変わっちゃいますけど、あけおめです。今年はもう少し生産的に、githubの放置してるissuesとかはぼちぼち手を付けていこうと思います(たぶん)

あんどう@AI開発者 (@t_andou) 's Twitter Profile Photo

やります #はてなブログ 24時間生放送をし続ける人工知能youtuberを作る その1 - ニートの言葉 blog.takuya-andou.com/entry/24_youtu…

59naga (@horse_n_deer) 's Twitter Profile Photo

Infinite scrollで最後まで小説を読める、小説家になろうの縦読みWebアプリ「Narou Endless Reader」をリリースしました。無職転生アニメ化ということで、原作小説も口開けっ放しで読めます narou.now.sh