spiral6 / ircbot Goto Github PK
View Code? Open in Web Editor NEWControls CSGO and other games with Twitch IRC
License: Other
Controls CSGO and other games with Twitch IRC
License: Other
Update the dependency list to include links for dependencies.
An issue with SWT is that other threads/stuff (such as CurrencyThread) running outside of the main Thread (in this case, InitGUI/InitJSON --> ConnectIRC) cannot modify SWT stuff, afaik.
Doing so will result in an invalid thread exception. Not really sure how to fix this issue... according to online, attempting to run CurrencyThread asynchronously with the Display will result in nothing being done, due to the main thread hanging on something unknown, or it being stupid. (probably the latter) Running it synchronously makes it freeze, or just flat out doesn't work. Results vary.
However, if this issue isn't fixed, the entire program adds on CurrencyThread to the main thread, allowing CurrencyThread to pause execution of other stuff in the main thread, such as IRC connections and GUI closing and stuff. This isn't good... by then the entire main thread depends on one class that should be separate anyways.
According to the documentation, SWT is single-threaded and therefore, programs should be laid out like this:
This means that CurrencyThread shouldn't handle/create any UI stuff, and instead, just update the UI with stuff like outputs/SQL updates/etc.
I believe that the name of the repository should be changed to better reflect what the project does.
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.