You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
はじめに mongodb×phpでいろいろ集計しているのですがphpにtimeoutでexception吐かれちゃいました的なときの 簡単な調査と対応メモに合わせてindexを貼るのもメモっておきます。 吐かれたエラーはこんな感じ Fatal error: Uncaught exception \'MongoCursorTimeoutException\' with message \'10.2.xx.xx:27017: Read timed out after reading 0 bytes, waited for 30.000000 seconds\' in ・・・省略 まずはexplainの簡単な説明から クエリの調査ってことで鉄板のexplainですがこんな感じで使います db.collection.find().explain() 出力される結果はjson形式ですが各keyの意味
The document provides tips and explanations for various MongoDB commands and operations including explain, hint, setProfilingLevel, currentOp, and mongostat. It discusses using indexes to optimize queries, setting profiling levels to log slow queries, using currentOp to view currently running operations, and using mongostat to view MongoDB server statistics.Read less
F5 Sites DevCentral Connect & learn in our hosted community F5 Labs The latest threat intel and research to help protect your apps MyF5 Your key to everything F5, including support, registration keys, and subscriptions Partner Central Research and support for partners LearnF5 Guidance, insights, and how to use F5 products Contact F5 Contact F5 Sales Talk to an F5 sales representative Contact F5 Su
誰もがそうだと思いますが、私もネタバレが大嫌いなので、映画のことを書くときとても注意しています。そうは言っても、この映画にはタイムトラベルが出てくるとわかるだけで、タイムトラベルがストーリーの後の方に出てくる場合にはネタバレになってしまうことがあります。 今回ご紹介する映画は傑作なので「仕掛けはタイムトラベルだ」ということがバレてしまっても楽しめます。しかし、本気でネタバレが嫌なら、この記事を読むときは気をつけて。予告編を観るときは自己責任でお願いします。 タイムトラベル(時間旅行)は作家にとっては、最も興味深いプロット技法の1つです。タイムループを取り入れたり、過去を変えたり、未来の出来事を防いだり、タイムトラベルはずいぶんいろんなストーリーに使えます。 もちろん、タイムトラベルの要素さえあれば良い映画だと言いたいわけではありません。タイムトラベルを効果的に使うには、コンセプト上で新しい
アカウント登録をすることでGitHub, Qiita, Slideshare, Stack Overflowの情報からスター数を集計します このインタビューでは、Realm社に今年2015年の春から所属する@kishikawakatsumiの住むマンションに伺い、日本で海外のメンバーと仕事をする上でどんな苦労があったり工夫があるのか、入社試験のようなものはどんなものだったのか、Objective-C/Swift/Android Java版の足並みを揃えるためにどういうプロジェクト管理やコミュニケーションを行っているか、について訊いています。 インタビュアーは@ninjinkunと私@yimajoが行いました。 まずRealmとは何か Realmについて説明すると、TightDBというC++で書かれた独自のエンジンを使用したiOS, Android向けのデータベースで、Realm社によって開
色々なものがポータブルになっていく中、パーソナルモビリティまでもがポータブルになってしまいそうだ。 電気自動車の開発に取り組むスタートアップcocoa motorsが、カバンに入れて携帯できる世界最小の電気自動車「WalkCar」を発表した。 ノートPCサイズのポータブルモビリティは、セグウェイのように行きたい方向に体を向けるだけで、自由自在に移動ができるという。 「WalkCar」を開発するcocoa motorsは、2013年に立ち上がったスタートアップ。MOVIDA Seed Acceleration Programの第一期に採択され、その後、Genuine Startups Fund、East Ventures、兵庫ベンダ工業、及び個人投資家から、1,700万円の資金調達を実施し、開発を続けてきた。 「WalkCar」は、2015年10月にKickstarterでプロジェクトを掲載
「クルマを持ち歩けたら」そんなアイデアから生まれた世界最小のポータブルモビリティ。駅からの距離や交通インフラに制限されない暮らしは、ライフスタイルや都市の在り方も変えていく。日本で生まれたWALKCAR(ウォーカー)は、移動の概念を変えるモビリティです。
JavaScript Standard Style Sponsored by English • Español (Latinoamérica) • Français • Bahasa Indonesia • Italiano (Italian) • 日本語 (Japanese) • 한국어 (Korean) • Português (Brasil) • 简体中文 (Simplified Chinese) • 繁體中文 (Taiwanese Mandarin) JavaScript style guide, linter, and formatter This module saves you (and others!) time in three ways: No configuration. The easiest way to enforce code quality in your
If you’ve been following the goings on in the Node community the last few months, you know that a while back some contributors forked the Node code base to work on a project called io.js to maintain technical momentum while the original Node was moving into a foundation. As progress was being made toward launching the Node Foundation, the two projects voted to merge. Progress on Node.js and io.js
Let LoopBack Do It: A Walkthrough of the Node API Framework You've Been Dreaming Of While Ruby has Rails and Python has Django, the dominant application development framework for Node has yet to be established. But, there is a powerful contender gaining steam: LoopBack, an open source API framework built by StrongLoop, the creators of Express. Let’s take a closer look at LoopBack and it’s capabili
A Brand New Core A brand new LoopBack core to deliver great extensibility and flexibility written in TypeScript/ES2017. OpenAPI Spec Driven REST API Create powerful APIs easily with a new creation experience for defining REST API's and handling API requests/responses. Unbelievably Extensible A new, improved programming model with Dependency Injection and new concepts such as Components, Mixins, Re
The io.js project has grown up incredibly fast, invigorating the Node ecosystem. In its short existence, io.js has brought a host of bug fixes, performance enhancements, and new features. If you haven’t kept up with the activity, don’t fear. This article aims to summarize the highlights to get you up to speed. We will tackle features introduced from oldest to newest with examples and relevant docu
はじめに 初めまして。Node.js日本ユーザーグループ代表の古川(@yosuke_furukawa)です。日本ユーザーグループ代表としての活動は二ヶ月に一度開催されるNode学園のオーガナイズと、一年に一度開催されるNode学園祭の開催です。また、io.jsエヴァンジェリストとして、毎週のio.js newsの記述やロードマップの公開等、io.jsを広める活動もしています。このような私が、Node.jsについて普段どんな風に情報収集を行っているかを紹介します。 Node.jsの現在 Node/io.jsは変化が激しいコミュニティであると言われております。一つその例を示すグラフを見てみましょう。 このグラフは、npmと、RubyGemsやPyPI、Mavenといった他のパッケージマネージャのライブラリの登録数を時系列で表したものです。緑のグラフがnpmですが、飛び抜けて増えているのが分かる
Design, develop and organize your code Seneca is a microservices toolkit for Node.js. It helps you write clean, organized code that you can scale and deploy at any time. $ npm install seneca --save Seneca is a microservices toolkit for Node.js. It provides plugins that look after the foundations of your app. This leaves you free to focus on the real, business code. No need to worry about which dat
var bunyan = require('bunyan'); var log = bunyan.createLogger({name: 'myApp'}); module.exports = function (req, res, next) { req.logError = function (error, message) { log.error({ req:req, res:res, error:error }, message); } next(); }; /** * StackTrace APIを利用して呼び出し元を取得する * * @param {Number} stackIndex 取得するstacktraceのindex, デフォルトは1 * @return {Object} { file: 'ファイル名’, line: '行番号', func: '関数名(設定されている
彗星P/10thライブありがとう@SuiseiPこれ、何系の車内かわからんな… http://t.co/yX1KPwuCYj 2015/08/08 00:54:26 なめぬこ 10thお疲れ様でした@ryokuenzaka_62bこれで特定できるんか? http://t.co/urkHH6bm3B 2015/08/08 01:06:35 浅葱ヨル@一日目東へ13a(委託)@ASAGI_yoru@ryokuenzaka_62b 京浜209系が吊革の形・座席・車両を仕切っている扉の窓が一致している気がします。 http://t.co/aDQTRi8fiY 2015/08/08 01:31:32 銭形の玄孫@zenigata1976@ryokuenzaka_62b @nyannyan_unigmo 座席の色から考えると京浜東北線か京葉線かなと。。個人的には画面左の高架橋の壁から京葉線だと思ってま
超魔術師のMr.マリック(66)が7月30日、CSファミリー劇場で26年ぶりにテレビ放送される「Mr.マリック超魔術シリーズ」(日本テレビ制作)の取材会に出席し、「私のハンドパワーを楽しんでほしい」と呼びかけた。Mr.マリックは冒頭、「ごあいさつ代わりに」と語り、「スプーン曲げ」の超魔術を披露。報道陣から大きな拍手が送られるなか質疑応答が始まり、約30年前の異常ともいえるブームも振り返った。取材会での発言は以下の通り。 ◇ まさかこんな日が来るとは思ってませんでした。ちょうど私ね、小学生の孫が3人おりまして、(番組の)VHSテープは保存しているんですが、(再生する)機械がなくて…。孫に見せたくてどうしようかなと思っていたところに、放送していただけることになりました。4世代にわたって私のハンドパワーを楽しんでいただけるのは、本当に幸せでございます。 (『超魔術シリーズ』は)あの当時、ものすご
Authentication is one of the most important parts of any web application. This tutorial discusses token-based authentication systems and how they differ from traditional login systems. At the end of this tutorial, you'll see a fully working demo written in Angular and Node.js. Traditional Authentication Systems Before proceeding with a token-based authentication system, let's have a look at a trad
Making the most of JavaScript’s “future” today with Babel by Marc Harter Jul 30, 2015 / Community, How-To, JavaScript Language From CoffeeScript to ClojureScript to PureScript to CobolScript to DogeScript (woof woof!), JavaScript is the write-once-run-anywhere target for many forms and styles of programming. Yet, its biggest compile-to-language today actually isn’t any of these adaptations; its Ja
Comparing Node.js Promises, Try/Catch, Angular Zone.js and yes, Zone by Alex Gorbatchev Apr 15, 2014 / Community, How-To Handling errors in asynchronous flow In a previous article we talked about managing async flow and escaping the callback hell. The problem Handling errors in synchronous flow is pretty straightforward and easy. Handling errors in asynchronous flow in a clean and easy to follow m
doAsync1(function () { doAsync2(function () { doAsync3(function () { doAsync4(function () { }) }) }) Callback hell is subjective, as heavily nested code can be perfectly fine sometimes. Asynchronous code is hellish when it becomes overly complex to manage the flow. A good question to see how much “hell” you are in is: how much refactoring pain would I endure if doAsync2 happened before doAsync1? T
Nodejitsu has joined GoDaddy We are excited to join GoDaddy to help spearhead their largest Node.js product: Website Builder. Please read our blog post to learn more about customer transition plans and our continued support for Open Source within the node community. Want to know all the details? Read the full blog post or read the GoDaddy Announcement. Other popular posts - Scaling Isomorphic Java
Node.js development is extremely fun and satisfying. There are over 35k modules to choose from, and overall node is very easy to develop a working application that can scale easily. However for developers just starting off with Node.js development, there are a few bumps along the road. In this short post I cover a few of the things I questioned and ran into while learning Node.js. Tip 1: Use nodem
この画像を大きなサイズで見る 生物界における恐るべき「寄生」のメカニズムがまた一つ明らかとなった。宿主を洗脳し生かさず殺さずの状態で一方的に利用し、用済みとなったら殺してしまう寄生生物は数多く存在するが、クモヒメバチの幼虫は、クモの体液を貪りながら成長を続け、殺す直前に自らが安全に蛹になれるよう、強固な網を作らせていたことが判明した。 以下の文章は、この研究論文を発表した研究グループの代表である神戸大学の高須賀圭三博士がカラパイアのお友達の為に特別にわかりやすく書きおろしてくれたものである。 この画像を大きなサイズで見る 昆虫の世界は寄生者であふれている。しかもダニなどの栄養略奪者だけではない。映画のエイリアンと同じく、寄生のあかつきに必ず宿った相手を殺す『捕食寄生者』という恐るべき昆虫が、ハチやハエ類を中心に万種のレベルで地球上を席巻しているのだ。昆虫の世界は、少しでも油断するとやつらの
http://nodeup.com/ 1 comment | 0 points | by WazanovaNews ■ comment by Jshiike | 約6時間前 「[その1] Groupon: 単一のRailsアプリから複数のNode.jsアプリへの移行」で紹介した取組みについて、Grouponの開発チームがその詳細と最新のテクノロジースタックについて語っています。 Grouponのビジネスは店舗での割引のデイリーディールだけでなく、他の形態のサービス提供(物販、コンサートチケット、体験販売など)にも早めに乗り出していて、トラッフィク的にはそれに対応していたので、Railsでスケーラビリティに関しては実現できていた。Railsからの移行は、どちらかと言うとアーキテクチャ的に、単一の大きなアプリであったことが、機能を追加する際にボトルネックとなっていったから。例えば、サイトのビ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く