Git Product home page Git Product logo

the's Introduction

the's People

Contributors

dependabot[bot] avatar fujiharuka avatar okunishinishi avatar takuto-y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

the's Issues

Image type

How I can specify the type of image I want to produce?

Currently a png is created and I want to create an jpg

Toastのmessage更新に対する処理がおかしい

Toastのmessageを追加すると追加前の要素が消えなくなる

悪さをしていると思われるのは以下の部分で、

useEffect(() => {
reserveClearings()
return () => {
for (const name of Object.keys(_clearTimers)) {
clearTimeout(_clearTimers[name])
}
}
}, [_clearTimers, messages])

少なくとも

     for (const name of Object.keys(_clearTimers)) { 
       clearTimeout(_clearTimers[name])
       delete _clearTimers[name]
     } 

としなければならないが、この場合はすべてが同時に消えるようになるので、
message更新時に破棄するのは、消えた要素のみにするのが良いと思われる

  useEffect(() => {
    for (const name of Object.keys(_clearTimers)) {
      if (!messages.includes(name))
        clearTimeout(_clearTimers[name])
        delete _clearTimers[name]
    }
    reserveClearings()
  }, [_clearTimers, messages])

isUrlの仕様

  • http://example.com https://example.jp
  • http://example.com を開く
    isUrltrueになってしまうため、

const PATTERNS = [/^https?:\S+$/, /^data?:\S+$/]

へ変更して問題なければ、変更したいです。

また、dat:(Dat Protocol Foundation)は受け付けない/^data:/が正しいですか?

Janus core が作られている。

janus core.
多分ビルドした時に発生した。
Screen Shot 2020-09-15 at 19 35 13

docker-compose.yml に volume 入れてから見えてきた。
多分、core 自体はコンパイルされて janus だから変わることはないので、.gitignore に追加するだけで済むとは思う。

@the-/serverのsocket.ioメジャーバージョンを上げる

socket.io 3系がリリースされていた。

https://github.com/socketio/socket.io/releases

$ cd pacakges/server
$ npm outdated
Package           Current   Wanted  Latest  Location
@msgpack/msgpack   1.12.2   1.12.2   2.3.0  @the-/server
@the-/pack        16.2.15  16.2.15  17.0.0  @the-/server
debug               4.2.0    4.3.1   4.3.1  @the-/server
react             16.13.1  16.14.0  17.0.1  @the-/server
react-dom         16.13.1  16.14.0  17.0.1  @the-/server
socket.io           2.3.0    2.3.0   3.0.3  @the-/server
socket.io-client    2.3.1    2.3.1   3.0.3  @the-/server
socket.io-redis     5.4.0    5.4.0   6.0.1  @the-/server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.