senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. 山岸和利 (ykzts@ykzts.technology)'s status on Tuesday, 03-Jul-2018 00:35:19 JST 山岸和利 山岸和利
    • うなすけ

    @unasuke https://github.com/manaelproxy/manael/issues/new

    In conversation Tuesday, 03-Jul-2018 00:35:19 JST from ykzts.technology permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: assets-cdn.github.com
      Build software better, together
      from GitHub
      GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
    • 山岸和利 (ykzts@ykzts.technology)'s status on Tuesday, 03-Jul-2018 16:49:48 JST 山岸和利 山岸和利
      • うなすけ

      @unasuke なんとかなくわかった気がしたのですが、libwebpのバージョン差異によってバイナリのハッシュが違ってしまっているのではないかと思います。

      In conversation Tuesday, 03-Jul-2018 16:49:48 JST permalink
    • 山岸和利 (ykzts@ykzts.technology)'s status on Tuesday, 03-Jul-2018 16:54:58 JST 山岸和利 山岸和利
      • うなすけ

      @unasuke わたしの開発環境もCircleCIもどちらもStretchで0.5.2-1なので、ヒットですね。チェックサムの比較は結構まずそうな気がするのでちょっと変えます。

      In conversation Tuesday, 03-Jul-2018 16:54:58 JST permalink
    • 山岸和利 (ykzts@ykzts.technology)'s status on Tuesday, 03-Jul-2018 18:15:31 JST 山岸和利 山岸和利
      • うなすけ

      @unasuke https://github.com/manaelproxy/manael/pull/111 どうぞ。

      In conversation Tuesday, 03-Jul-2018 18:15:31 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: avatars0.githubusercontent.com
        Use http.DetectContentType (regression from #93) by ykzts · Pull Request #111 · manaelproxy/manael
        from GitHub
        Binary checksum depends on libwebp version.
    • 山岸和利 (ykzts@ykzts.technology)'s status on Tuesday, 03-Jul-2018 18:53:36 JST 山岸和利 山岸和利
      in reply to
      • うなすけ

      @unasuke https://github.com/golang/go/blob/go1.10.3/src/net/http/sniff.go#L54-L152 ちなみにこういうのが回されているのでパフォーマンスはいまひとつです。

      バイナリからフォーマットを取得するのはGoだとimage.DecodeConfigという画像だけに限ったものもあるのですが、ちょっとテストに入れるのはコードが煩雑になってしまうので、今回はさくっと済むhttp.DetectContentTypeを使っています。

      ほかにうまいやり方があるのならPull Requestをもらえたりするとうれしいですね。

      In conversation Tuesday, 03-Jul-2018 18:53:36 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: avatars3.githubusercontent.com
        golang/go
        from GitHub
        go - The Go programming language
    • 山岸和利 (ykzts@ykzts.technology)'s status on Thursday, 05-Jul-2018 00:20:11 JST 山岸和利 山岸和利
      • うなすけ

      @unasuke https://github.com/manaelproxy/manael/pull/118/files image.DecodeConfigが使われるようになったみたいですね。

      In conversation Thursday, 05-Jul-2018 00:20:11 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: avatars0.githubusercontent.com
        Detect format of image in tests by ykzts · Pull Request #118 · manaelproxy/manael
        from GitHub

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.