WHATWGのHTML Living Standardと、W3CのHTML5.2を見比べつつ、たまにMDNをながめながら書いていますが、少し感情的な部分も混じっています。 <article>と<section> A section forms part of something else. An article is its own thing. But how does one know which is which? Mostly the real answer is "it depends on author intent" 4.3.12.1 Article or section? | HTML Standard 実装する人の意図によるよ!ってそれを言っちゃおしまいですよ。気持ちはわかるけども。 <article> in principle, independently distri
0. お気持ち 毎回同じようなことをやっているのでまとめておくことにした。 現状、prettier の実行方法は、eslint --fix に hook させる方法と、prettier-eslint-cli から実行する方法の2種類がメジャーだと思う。 自分は prettier-eslint-cli から実行する方法を採用している。 これは 「Linter は Linter、Formatter は Formatter であってほしい」みたいな気持ちからそうしている。 ちなみに、git commit するときに、husky で prettier を実行する系のアレは、git add -p に対応していないという理由から設定していない。 詳細は Add better support for partially staged files · Issue #62 · okonet/lint-sta
Learn Docker With My Newest Course Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker → Updated on June 19th, 2018 in #docker Best Practices When It Comes to Writing Docker Related FilesHere's a few patterns and little things I've picked up after using Docker since 2014. These he
Did you know that gRPC Java now has out of box support for Kotlin projects built with Gradle? Kotlin is a modern, statically typed language developed by JetBrains that targets the JVM and Android. It is generally easy for Kotlin programs to interoperate with existing Java libraries. To improve this experience further, we have added support to the protobuf-gradle-plugin so that the generated Java l
MicroServices、コンテナオーケストレーションなどが花盛りですが、そこに本格的に踏み出すにはまだ若干の時間が必要なように思います。 とはいえ、サーバの動的な構成変更への対応はいくらでも出てくるので、サービスディスカバリと、サーバのステータスをトリガにしたアクションには興味がありました。 そういうわけで、まずは Consul by HashiCorp の機能を試してみたいと思います。 まずは Consul とは何か アーキテクチャ クラスタを構成する Dockerfile docker-compose.yaml クラスタをあげる DNS Interface HTTP API ノードの死に対する耐性 Service Discovery K/V Store 最後に まずは Consul とは何か Consul は、以下の機能を持ったツールです。 サービスディスカバリ ヘルスチェック K
対象読者 JavaScriptとWeb開発の基礎に理解がある方 Reactに興味/関心があり、これから学び始める方 前提環境 筆者の検証環境は以下の通りです。 macOS High Sierra 10.13.3 Node.js v8.9.4/npm 5.6.0 React 16.3.1 redux 3.7.2 react-redux 5.0.7 redux-thunk 2.2.0 非同期処理とRedux 本格的なGUIアプリケーションを開発する上で、避けては通れないのが非同期処理です。非同期処理はネットワークやデータベースなどの時間がかかる処理を扱う場合によく用いられる手法で、GUIアプリケーションが外の世界にアクセスしようとする場合には、ほぼ必須となる概念です。 非同期処理についておさらい まずは、非同期処理について簡単におさらいしておきましょう。「非」同期的な処理であると言うからには、
Today’s bug: I tried to store a UTF-8 string in a MariaDB “utf8”-encoded database, and Rails raised a bizarre error: Incorrect string value: ‘\xF0\x9F\x98\x83 <…’ for column ‘summary’ at row 1This is a UTF-8 client and a UTF-8 server, in a UTF-8 database with a UTF-8 collation. The string, “😃 <…”, is valid UTF-8. But here’s the rub: MySQL’s “utf8” isn’t UTF-8. The “utf8” encoding only supports th
Ukraine has the right to return to all occupied territories and be reimbursed for all harm done by the invader. Help Ukraine to build fleet of Naval and Aerial drone with official President of Ukraine initiative ⇢ Ukraine has the right to return to all occupied territories and be reimbursed for all harm done by the invader. Help Ukraine to build fleet of Naval and Aerial drone with official Presid
はじめに Applibotで内定者アルバイトをしている18卒の杉浦です。 今回、Applibotの基盤制作チーム A.R.T.(Applibot Root Technologies)でのタスクとして、Java (Kotlin)におけるgRPCライブラリの選定と、gRPCと既存の運用でよく使われているシリアライズフォーマットであるJSONを用いたAPIとの速度比較をしたのでその結果を書きます。 今回の検証は、Kotlinを用いて行いましたが、同様の方法でJavaでも動作すると思います。 gRPCやProtocolBufferに詳しい方、間違っている点や改善点があれば教えてください。 検証の際に利用したサーバーサイドのプロジェクトはこちら、クライアントサイドのプロジェクトはこちらです。 gRPCとは 公式サイトで、 gRPC is a modern open source high perfo
2018/05/26(土) JJUG CCC Spring 2018 での発表資料です。
スマートニュース株式会社の瀬良(@seratch) と申します。 5/26(土)、ベルサール新宿グランドにて JJUG CCC 2018 Spring が開催されました。JJUG CCC は、日本Javaユーザグループ(JJUG)主催で年に 2 回定期開催されている大規模な Java 関連技術のコミュニティイベントです。 私自身もちょうど 2 年前の JJUG CCC 2016 Spring で登壇させていただきました。 今回、弊社からは過去最多の 3 名のエンジニアが登壇しました。どれも非常に充実した内容の発表となっております。以下のその内容をまとめましたので、ぜひスライドをご覧ください。 なお、発表内容についての発表者自身から後日ブログ記事を公開予定とのことです。内容の詳細に興味を持たれた方はそちらをお待ちいただければと思います。 収益を支える中規模アプリケーション開発奮闘記 @tam
All slide content and descriptions are owned by their creators.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く