This documentation site is Open Source. The README in our Git repository explains how to contribute. Travis CI relies on Open Source licensing information. Note that Debug builds are not currently supported on Windows. If you are having trouble resolving complex build errors, or you suspect there are significant differences between your local development environment and the Travis CI build environ
VISUAL REGRESSION TESTING SUIT reg-viz provides regression testing tools. Getting Started Compare Images reg-suit is inspired by snapshot testing. It compares the current images with the previous images, creates an HTML report for their differences. All you need is to give images to assert. Store Snapshot reg-suit automatically stores snapshot images to external cloud storage(e.g. AWS S3, GCS). Yo
クライアントエンジニアの子安です。 Cocos2d-x というフレームワークを使って C++ で Xcode 上でアプリ開発をしています。 今回は Xcode のブレークポイントの機能とそれに関連した機能をいくつか紹介して、こんなこともできるんだと思ってもらえればと思います。 なお、Xcode のバージョンは 8.3.1 です。 今回紹介するやつ ブレーク中の基本的な機能 Console で vector の要素を見るときはちょっとやっかい 止まらないブレークポイント “Action” を設定してみよう ログ出力できるよ ブレーク中の基本的な機能 ブレークポイントで処理を止めている時の基本的な機能についてです。 画面下のウィンドウ(”Debug Area” って呼びます)の左側部分(”Variables View” って呼びます)にて、処理が止まっている場所のスコープで参照できる変数が並ん
Elixir v1.5 includes new features, enhancements, and bug fixes. While Elixir v1.4 focused on tools for concurrency and scalability, Elixir v1.5 brings many improvements to the developer experience and quality of life. As we will see, many of those are powered by the latest Erlang/OTP 20. This is also the last Elixir release that supports Erlang/OTP 18. Note: this announcement contains asciinema sn
void Update () { // スペースキーを押したら話しかける if (Input.GetKeyDown("tab")) { Debug.Log("Inputed"); if(isTalkEnabled == true && isPlayerAlive == true) { // 話しかけられる状態かつプレイヤーが生きていたら話しかける Talk(GetTalkableObject()); } } } isTalkEnabledでプレイヤーが話しかけられる状態かをチェックしています。 話しかけ中は他の人に話しかけてしまうと面倒なので、falseにします。 (話しかけ中も他の人に話しかけられるようにするとクロノトリガーっぽくなりますね) isPlayerAliveでプレイヤーが生きているかをチェックします。 「死んでるなら話しかけられなくて当たり前じゃーん」って割と思うんですが、意
以前、メインで関わっていないリリース中のプロジェクトでボトルネックになっている箇所を見つけるために「Xdebug + Webgrind」を使った時の経験談になります。 最初にやったこと プロファイリングする箇所を決める 全ての箇所をプロファイリングしていると時間がかかるので、メインで担当しているエンジニアや運用担当者にボトルネックになっていそうな箇所を聞く。 キャッシュの有無 DBの結果をMemcachedなどに保存しているのでキャッシュの有り無しでプロファイリングをしてみる プロファイリングした結果を見る webgrindのshowを「100%」にして「milliseconds」で見る 表示するのに時間はかかるが100%にしておくと、メソッドが省略されないのでこの状態で見ていく。 メソッドの呼び出し回数と時間を見る 基本的にメソッドの呼び出し回数とそのメソッドの時間の数値が高いものがボト
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Xamarin はクロスプラットフォームアプリ開発ツールで、しかも「ネイティブAPI をラップするだけ」のタイプなので、トラブルの解決方法は、ネイティブアプリ開発の情報やノウハウの中にある場合が多いです。 私が Xamarin.Forms でアプリ開発をしていて、書いたコードが期待通り動作しない場合、以下のような手順で問題解決を試みていますよーというのを紹介します(環境面のトラブルではなく書いたコードの問題についてです)。 ひとつ最初に言いたいのは、問題が発生したときにまず行うことは、 問題が発生する最小の環境を作り出す ことです。修正
“Prefer composition over inheritance” is a popular saying amongst programmers. In this article, I want to demonstrate what that looks like. We’re going to refactor some Rails classes from inheritance to composition. Then we’ll refactor again from composition to something even better: data. Inheritance (The Original Code) In an attempt to show “real” code, I’ve taken this example from the Rails cod
Talked at Shibuya.apk #16 on Jun 22, 2017. First part is just joking :)
I recently released an early alpha of ElixirLS, an IDE “smartness” server for Elixir. It powers an associated VS Code plugin and includes debugger integration. More on that here. Debugging in Elixir or Erlang is a little different than in other languages, so there are a few things you should know. You need Erlang >= OTP 19As mentioned in this post, you’re going to need Erlang version OTP 19 or hig
Gratuitous ARP Gratuitous ARP (RFC 5227) could mean both gratuitous ARP request or gratuitous ARP reply. Gratuitous in this case means a request/reply that is not normally needed according to the ARP specification (RFC 826) but could be used in some cases. A gratuitous ARP request is an AddressResolutionProtocol request packet where the source and destination IP are both set to the IP of the machi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く