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
Surge 2014: From Clouds to Roots: root cause performance analysis at Netflix. Brendan Gregg. At Netflix, high scale and fast deployment rule. The possibilities for failure are endless, and the environment excels at handling this, regularly tested and exercised by the simian army. But, when this environment automatically works around systemic issues that aren’t root-caused, they can grow over time.
元ネタ: [JavaScriptの問題] var a = 0.3 - 0.2; var b = 0.2 - 0.1; var c = a==b; cの中身はどれ? — RAO(らお)@けもケP-31 (@RIORAO) 2017年10月24日 正確な実数計算をやらされるJavaScriptくん #擬竜戯画 pic.twitter.com/ipE56C2YbV — RAO(らお)@けもケP-31 (@RIORAO) 2017年10月26日 コンピューターで浮動小数点数を扱ったことのある人なら一度は経験する、 数学上の計算とコンピューター上の計算が合わない計算の一例ですね。 この件に関して、Go言語では正しく(=数学的な結果と同じように)計算できるとの情報が。 おそらくGoはコンパイラがa=0.1とb=0.1に変換していると思われます。 添付した画像のコードだとtrueになりますが、const
NewRelic / Elasticsearch ではじめるSREに必要な性能監視入門 https://supporterzcolab.com/event/177/ にて話した資料です!
This guest post is an interview that Ivo Balbaert had with Peter Schols from Diploid about their Crystal in Production story. This interview will also be part of the Programming Crystal book that Ivo is writting - and we can’t wait to read! We’d like to thank both of them for taking the time to share their experience, and to invite any other companies or individuals using Crystal in a production e
基本的に変更されないデータ 例えば都道府県名一覧だとか、カテゴリだとかそういうものを扱いたいときって悩みますよね DBに保存しちゃえば早いし楽だけど明らかに保存する必要のないデータですし かといってヘルパーとかにザーッと書いちゃうのもMVCの観点からあまり褒められたものじゃありませんし そういう時に妥協案としてenumを使う時があるのですがそれはそれで単純に文字列を1対1にするだけなので使いづらかったりします(郵便番号とかもたせられない じゃあ定数でやるか?というのも見通しが悪くなるし非常に便利なActiverecordに乗せて使えないのでおすすめできません TODOHUKEN = [ 1: {name: :北海道, location: [12.323245, 102.3231231]}, . . . ] ということでそういう悩みはactive_hashを使って解決しましょう github
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く