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
株式会社ヤザワ 代表取締役、グレープシティ株式会社 アドバイザリースタッフ。パッケージソフトの開発と販売に従事しつつ、執筆活動と講演活動も精力的にこなす、自称「ソフトウェア芸人」である。 高橋征義 高橋: はい。そのへんの工夫を最初にしたのが、『やさしいJava』と、結城さんの『Java言語プログラミングレッスン』の2冊だったわけです。2000年ごろに、これらの本でいろんな工夫があって、それが実際に成功した感じです。 遠藤: 2000年ごろまでは、こういう入門書は、少なくともJavaの本では存在しなかったんだ。 鹿野: アプリケーション解説書だと「できる」シリーズ編集注1とかがありましたよね。ひょっとしたら、「できる」シリーズの作り込みの発想をプログラミング言語の本にも取り入れたのが、このへんのゼロ年代の入門書なのかも。 矢澤: こう見ていくと、入門書の変化の歴史ってのは意外に新しいんだな
React Meetup #4 でのLT資料です。
This week I attended my first TC-39 meeting. For those unaware, TC-39 is the designator of the ECMA working group that defines the ECMAScript Language (or “JavaScript” as it is more commonly known). It is the forum where all of the various nuances and details of the JavaScript language are hammered out (often painfully) and worked through in order to ensure that the JavaScript programming language
レスポンシブデザインのために CSS メディアクエリを使うことが多いと思います。 CSS 側だけで完結したらいいのですが、JavaScript 側でも画面サイズの変更を検知したかったり、画面サイズ以外のメディアクエリ相当のことをしたくなったりすることはありますよね。 画面サイズの変更自体は window に発生する resize イベント (window.onresize イベントハンドラ) で検知できますが、CSS メディアクエリとこれを組み合わせてレスポンシブ対応しようとすると以下の問題がでてきます。 ウィンドウサイズ変更時に resize イベントが高頻度で発生するので、resize イベントのリスナでコストのかかる処理を行うのはよくないとされる。 (Throttling することが推奨される。) 参考 : resize | MDN CSS メディアクエリと完全に対応するものではない
フレーム描画のタイミング制御モデル 今更 requestAnimationFrame() だなんて Can I use を見ても IE 10 ですら実装していて、世界の 9 割以上で動作しうるカバレッジなわけですが改めて setTimeout() との違いを表現しうるサンプルをこさえてました。 それぞれの仕様の詳細や挙動についてはそれこそ今更なのでググっていただくとして、この記事ではサンプルについて曖昧な説明を添えていきます。 CodePen - setTimeout vs requestAnimationFrame (with CSS Transitions) See the Pen setTimeout vs requestAnimationFrame (with CSS Transitions) by Ayumu Sato (@ahomu) on CodePen. 比較のポイントとシ
Warning: This blog post is outdated. Instead, read section “globalThis” in “JavaScript for impatient programmers”. The ECMAScript proposal “global” by Jordan Harband is currently at stage 3. It provides a new standard way of accessing the global object. Referring to the global object # The following are a few popular ways of referring to the global object: Global variables: Global variable window
Electron, the technology that powers Avocode among many other apps, allows you to get a cross-platform desktop application up and running very quickly. If you don’t pay attention you will quickly end up in the uncanny valley of apps, though. Apps that don’t feel quite in place among your other apps. This is a transcript of presentation I gave in May 2016 at the Electron Meetup in Amsterdam, update
Update 2018-01-25: This proposal has reached stage 4 and will be part of ECMAScript 2018. The ECMAScript proposal “Rest/Spread Properties” by Sebastian Markbåge enables: The rest operator (...) in object destructuring. At the moment, this operator only works for Array destructuring and in parameter definitions. The spread operator (...) in object literals. At the moment, this operator only works i
Trying to understand React (ES6) component lifecycles? Here are some help. You can find more info on Facebooks own documentation, for instance here: ht...
タイトルに惹かれ、Amazonのレビューを眺めても悪くなさそうだったので読んでみたら、めちゃくちゃ良書だったので誰かに紹介せずにはいられないので紹介エントリ書きます。研究の副読本はいままでもたくさん出ていて何冊か読んでますが、過去読んだ中でベストと言えるくらいオススメ。どちらも2016年7月に発売された新しい本で、著者は東大医学部附属病院の講師の方です。なので例文には医学・生理学系の内容が多く用いられていますが、研究に関わる人なら分野は関係なく誰にでも読めるようになっています。 それぞれ40ずつのトピックが設けられ、1つのトピックが2〜3ページに簡潔にまとまっていて、とても読みやすいです。トピックの最初に「Question」、最後には「Message」という要約が大きなフォントで書かれていて、これを見るだけでも大まかな内容がつかめ、あとで読み返す時のラベルにもなります。一気に読まなくても、
に置き換えているだけです. 多分 !function(){}() というコードは後ろの } まで到達しないと関数定義式かどうかが分からないため,関数のボディがデカくなるとトラックバックしてしまってパースに時間がかかるとかなんだろうなと思います.(ひどい話ですね…)どうやら関数をその場で呼び出すイディオム として(function(){})() と !function(){}() がメジャーであり,後者がやばいということらしいです. リポジトリ author の主張によるとベンチマークで Chrome ではなんと 52% も高速化しているとのこと. 手元のリポジトリ内の node_modules ディレクトリに grep をかけてみると !function(){}() というイディオムはそこそこ多用されていたので,試しに optimize-js を使ってみることにしました. browseri
LINE Developer Meetup in Fukuoka #16 http://connpass.com/event/38413/
Highlights This is a summary of the major changes you need to know about for this version of ESLint. Though it’s a smaller release, it does include the ability to autofix a number of rules! Autofixing In addition to linting code, many of the rules can automatically fix errors using the --fix flag. This can be a huge time saver for developers using ESLint on a pre-existing codebase! The following r
Node.js debugging with Chrome DevTools (in parallel with browser JavaScript) Serg Hospodarets Blog Recently Paul Irish described how you can debug Node.js applications with Chrome DevTools. Since that time Chrome DevTools have evolved and the step, where you had to open the separate page with a specific URL to debug the Node.js code, was removed. It means, today you can debug your browser JavaScri
Accessible Rich Internet Applications (WAI-ARIA) 1.1 W3C Recommendation 14 December 2017 This version: https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/ Latest published version: https://www.w3.org/TR/wai-aria-1.1/ Latest editor's draft: https://w3c.github.io/aria/ Implementation report: https://w3c.github.io/test-results/wai-aria/ Previous version: https://www.w3.org/TR/2017/PR-wai-aria-1.1-2
HistoryAlmost two years ago, March 10 2015, I released the first version of FRZR, a tiny view library. The API has changed a lot since that and even the name changed to RE:DOM. It has been a long journey, I’ve learned a lot and it’s awesome to finally be at the version 1.0! RE:DOM is definitely more than ready for production with 100 % test coverage. PerformanceRE:DOM is one of the fastest view li
業務でドキュメントを作成するケースは多々ある 例:仕様書・設計書・提案書・メール・障害票... ここでは各ドキュメント共通してありがちなアンチパターンをまとめてみました。 1. 表記がバイト表示・マイクロ秒表示 プログラムが出した数値をありのままに表示するパターン ファイルサイズが100MB, 1GBあろうと、バイト表示にする 桁数が多い数値に、桁区切り(,)を入れない 時間を何でもマイクロ秒・ミリ秒にする(1/100万秒までの精度が必要?体感で分かる?) 桁数が多い=精度が高い=良い文書、ではなく、見る人が必要とする精度に切り上げることが重要(売上で1円単位まで出すことが無いのと同様) 悪い例 No ファイル名 ファイルサイズ(byte) 処理時間(秒)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く