Code Monkey home page Code Monkey logo

hochwasser's People

Contributors

6543 avatar noerw avatar speckij avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

hochwasser's Issues

Feature request: Offset abuse, stripped hex

Offset abuse

Most servers (pixel, pixelflut-server-dotnet, shoreline...) support
OFFSET <x> <y>

Depending on the screen size, abuse of OFFSET yields a significant efficiency increase in efficiency.
By splitting the image into blocks (e.g. 100x100 or 10x10), prepending each block with an offset command and sending relative coordinates the amount of bytes sent can be reduced.

For a 1280x720 full hex image, a block size of 100x100 yields a 12% reduction in bytes to be transmitted.
A block size of 10x10 yields a 22% reduction.
Potential efficiency gain scales with canvas size.
The theoretical maximum is yet to be determined, and further optimization is possible by dynamically adjusting block size.

When using a fixed number of connections/threads with multiple blocks being handled by one connection, the blocks need to be sent sequentially and ideally as a concatenated byte stream.

Stripped hex

When sending hex values with less than 6 digits, servers seem to behave the same and add leading zeroes. All hex values can be optimized by stripping up to 5 zeroes from the left.

[bug] align command line arguments with REPL functionality

Currently the command line does not support all functionality the REPL offers. Especially for automated deployments it would be useful to align both options into a central struct.

Currently missing from CLI:

  • metrics
  • offset rand
  • rgbsplit
  • txt
  • rotation
  • scale

Missing from REPL:

  • cpuprofile not trivial nor meaningful to add

[feature] quiet/verbose toggle

The REPL can get pretty spammy with "No connection"/"attempt failed" messages (e.g. when getting locked out because of BBR fun).

Toggling all error messages off would be quite useful else the REPL is practically unusable.

Example:
spammy

[feature] bomb preview

Currently when connecting to a rán c&c a client has no idea of knowing what is currently being pushed.

It would be cool to see a preview of what is currently pushed by a specific machine, especially when pushing with multiple people in different physical locations. Else only the human using the c&c REPL knows.

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.