cre-ne-jp / mcinch Goto Github PK
View Code? Open in Web Editor NEWA Cinch fork for easy embedding into another application
License: MIT License
A Cinch fork for easy embedding into another application
License: MIT License
A GUI program using Cinch should show connection established/error messages to the user. But Cinch has no mechanism to notify events about connection. If it exists, it will be useful.
The reference implementation: bcdice/bcdice-irc@cb965a2#diff-a2c0e56343700be5e4608706740d72bd
Many warnings occur!
A Cinch bot configured to use dummy encoding (e.g. ISO-2022-JP) doesn't work due to Encoding::CompatibilityError. The root cause is that Cinch::Utilities::Encoding.#encode_incoming doesn't encode the given string to UTF-8 (Cinch's internal encoding).
Cinch::IRC#connect may log the SocketError that occurred on a connection.
In a non-English Windows environment, the message of that exception has the ASCII-8BIT encoding which causes an Encoding::CompatibilityError on encoding it to UTF-8.
I confirmed it on Ubuntu 18.04 running in VirtualBox on a Windows host.
begin
# ...
rescue SocketError => e
e.message.force_encoding(Encoding.default_external)
end
I merged cinchrb/cinch#195 into master.
It introduced the quit thread, but the thread uses a busy loop.
The thread should sleep until needed, so it is preferable to use a condition variable.
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.