Coder Social home page Coder Social logo

appleiibot's Issues

Character encoding limitations of Pyton

Somewhere in the execution chain (I suspect when opening a text file) data is being forced to ASCII and otherwise useful characters (upper-ascii, unicode, etc) are discarded. Because of this, it is not possible to post pre-tokenized or other kinds of encoded data and we have a pretty hard limitation of 140 characters to get past this. If this bot is using Python 2, then it is very likely that the default behavior of Python is responsible for this, as it assumes Ascii in a lot of places. If the bot is Python 3, then I don't have a reasonable explanation since I don't see normalize being called explicitly anywhere in the bot or the tokenizer code. At any rate, explicitly specifying UTF-8 as the encoding type when opening text files could be one possible way to solve this limitation. It is possible that the tokenizer would also need to be updated to truncate hi-bytes or do something else clever with them. Also, using unicode symbols could reduce the number of characters needed for commands, e.g. 🟒 for green, 🟠 for amber,
🐒for logo, etc. Of course if raw binary were also possible then maybe βŠ› for assembled data?

readme.md copy-paste error

Wonderful project Kay. I don't want to sully it with my name from a pull request for something so dinky: The readme says it is an "Atari 8-bit Twitter bot".

Migrate to Mastodon

I am aware of how Elon blew up Twitter, so I totally agree the bot there stopped.

A long term feature request (in the sense "in case anyone ever sends a pull request or you find time to investigate how this can be done") is to migrate this bot to Mastodon.

Since this bot was inspired by the BBC Micro one which already has migrated to Mastodon here is a link to its repository: https://github.com/8bitkick/BBCMicroBot

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.