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
launcher.ks.js �Q�] U ���\ U // Info var PLUGIN_INFO = <KeySnailPlugin> <name>launcher</name> <description>Application launcher</description> <description lang="ja">アプリケーションを起動</description> <updateURL>https://gist.github.com/958/3608000/raw/launcher.ks.js</updateURL> <author>958</author> <version>0.0.2</version> <license>MIT</license> <minVersion>1.8.0</minVersion> <include>main</include> <detail
I have recently been working on a couple of full-stack JavaScript (MEAN) applications. One of the first projects did not have a well-tested API. Eventually, it turned out the data it returned was not always correct. This shows the importance of testing your APIs. The great news? Testing your Node.JS API is actually quite easy. In this post we will be building a simple RESTful JSON API through test
More than 5,000 organizations count on our digital courses and more to help their teams learn the tools and technologies that drive business outcomes. We can help yours too. New AI policy for O’Reilly authors and talent O’Reilly president Laura Baldwin shares the company’s ethical approach to leveraging GenAI tools and ensuring O’Reilly experts are compensated for their work. Read it now It’s time
中心がずれた円グラフとか、胸に迫る3Dグラフなど素敵な可視化が巷に溢れている昨今、皆さん客観性を保つ可視化リテラシーとはなにかということについて頭を悩まされていると思いますがそんな現状に鉄槌を下す素敵なパッケージがあります。その名はxkcd。 もとは以下のstackoverflowに寄せられた質問から。 http://stackoverflow.com/questions/12675147/how-can-we-make-xkcd-style-graphs-in-r xkcdは主に棒人間が活躍するwebコミックで作者はNASAで働いてたとのこと。 http://xkcd.com/ xkcdパッケージはその味わい深いwebコミックのテイストをRのグラフ上で再現できます。素晴らしいですね。 ということで以下棒人間を描くまでの手順。 詳しい話はVignette参照のこと。 http://cran
XKCD-style plots in Javascript using D3 Inspired by this blog post and Mike Bostock's comment on this HN thread, I decided to make an XKCD-style plot in Javascript using D3 with a custom interpolation function. I also tried to use the "reusable chart" paradigm. You should really check out the source. Here's an example...
Any problem in computer science can be solved with another level of indirection. --- David Wheeler The React library from Facebook makes DOM programming functional by using a Virtual DOM. The Virtual DOM is an indirection mechanism that solves the difficult problem of DOM programming: how to deal with incremental changes to a stateful tree structure. By abstracting away the statefulness, the Virtu
どんな時に必要? CocoaPodsベースのプロジェクトでアプリケーションを開発している時で、特に自前のモジュールもpodでパッケージングしている場合に必要になる事があります。 僕の場合は、pod化した自前モジュールをUnitTestしたい時でした。 ビルド方法によってPreprocessor Macroを切り替えたい サーバサイドのAPIラッパモジュールを例にとって考えてみたいと思います。 サーバサイドには、ステージング環境や本番環境の切り替えが必要な事がよくあります。 また、その切り替え方法にはPreprocessor Macrosを使用するのが一般的だと思います。 達成したい要件は、以下のようにビルド方法によって環境を切り替える事です: UnitTestの時は必ずステージング環境でコンパイル このモジュールを使用するアプリケーションのワーキングスペースorプロジェクトでは、各ターゲッ
今回の記事は AdventCalendar ということもあり、実用的な内容ではなくちょっとしたお遊びです。 マクロ Objective-C では C のマクロを利用することができます。これを利用してシンタックスシュガーっぽいものを作ってみたいと思います。 パターンマッチ 今回は、パターンマッチのようなものを無理矢理作ります。さすがに汎用的に作るのはハードルが高いので、今回は比較的簡単な Maybe のみを処理できるものにします。 満たすべき条件は下記の通りとします。 式であること Just が内包する値を束縛できること コンパイラによって網羅性チェックが行われること なお、Maybe は、値を返さないかもしれない値を表すために Haskell で使われている型です。Scala では同様のものが Option 型として標準ライブラリで提供されています。Foundation.framework
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く