Git Product home page Git Product logo

gomatrix's People

Contributors

akavel avatar anacrolix avatar gdamore avatar geertjohan avatar raff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gomatrix's Issues

Add other glyphs

It would be nice to add some mixed glyphs - e.g. box drawing characters, Cyrillic, make sense, and probably look as nice as kanji. Especially we should offer a superset of mixed glyphs.

Even better, when we know whether tcell can display a glyph or not, we can restrict the display to just those glyphs that tcell can display. That would be really really cool.

Data race

Repro:

go build -race github.com/gdamore/gomatrix
./gomatrics 2>/tmp/t

Contents of /tmp/t

==================
WARNING: DATA RACE
Read at 0x00000084f0e8 by goroutine 277:
  main.(*Stream).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:52 +0x534

Previous write at 0x00000084f0e8 by main goroutine:
  main.main()
      /home/dfc/src/github.com/gdamore/gomatrix/main.go:72 +0xf83

Goroutine 277 (running) created at:
  main.(*StreamDisplay).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
==================
WARNING: DATA RACE
Write at 0x00c4204929f0 by goroutine 274:
  runtime.mapassign_fast64()
      /home/dfc/go/src/runtime/hashmap_fast.go:512 +0x0
  main.(*StreamDisplay).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:128 +0x220

Previous write at 0x00c4204929f0 by goroutine 289:
  runtime.mapdelete_fast64()
      /home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
  main.(*Stream).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464

Goroutine 274 (running) created at:
  main.main.func1()
      /home/dfc/src/github.com/gdamore/gomatrix/main.go:184 +0x671

Goroutine 289 (finished) created at:
  main.(*StreamDisplay).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
==================
WARNING: DATA RACE
Write at 0x00c420086780 by goroutine 365:
  runtime.mapdelete_fast64()
      /home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
  main.(*Stream).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464

Previous write at 0x00c420086780 by goroutine 294:
  runtime.mapdelete_fast64()
      /home/dfc/go/src/runtime/hashmap_fast.go:748 +0x0
  main.(*Stream).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:80 +0x464

Goroutine 365 (running) created at:
  main.(*StreamDisplay).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260

Goroutine 294 (finished) created at:
  main.(*StreamDisplay).run()
      /home/dfc/src/github.com/gdamore/gomatrix/stream.go:131 +0x260
==================
Found 3 data race(s)

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.