gdamore / gomatrix Goto Github PK
View Code? Open in Web Editor NEWThis project forked from geertjohan/gomatrix
Displays "The Matrix" in a terminal
License: BSD 2-Clause "Simplified" License
This project forked from geertjohan/gomatrix
Displays "The Matrix" in a terminal
License: BSD 2-Clause "Simplified" License
2015/10/29 20:09:27 -------------
2015/10/29 20:09:27 Starting gomatrix. This logfile is for development/debug purposes.
2015/10/29 20:09:27 Cannot start gomatrix, screen.Init() gave an error:
invalid argument
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.
No reason this should not work nicely in GB18030
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.