DEV Community

nczapracka for Scramjet

Posted on

Does your company offer Fruity Thursdays?

Does your company offer Fruity Thursdays? You see, fresh fruit in the office on Thursdays is considered one of the standard corporate benefits in Poland ;) so we just wanted to say we have them too, well - sort of have them…

First, we take a stream of text, and using Scramjet Framework, we change the ‚f’s’ and ‚v’s’ into random fruits and vegetables. Then, continuing to use Scramjet, we pipe it to another stream which filters it for solely fruits or veggies and sends them in 3-byte packages via TCP, one per second.

Image description
Screen 1: code which creates the stream. Apart from the TCP server everything here is handled by Scramjet Framework.
Image description
Screen 2: the stream of fruits and veggies in 3-byte buffers.

Scramjet Framework is a powerful tool, it can manage many workloads which require separate programing with current solutions.
It can apply logic to your data and perform operations on them in real time, giving you the results in an efficient way.

Image description
Screen 3: code which opens up TCP connection to your server, reads the bytes, combines them into valid unicode characters and provides the result.

Again, apart from the TCP connection formed, everything is handled by Scramjet Framework.

Imagine a developer tool that enables you to save your precious time by handling entire workflows in your tasks, that’s exactly what we’re building… and we’re intending to make it extremely easy to use.

Image description
Screen 4: dump of incoming 3-byte packets that are converted back to emoji, with a reaction once a complete fruit is received, and a menu of all fruits are available today in the end.

If you want to know more about our work, visit our website https://scramjet.org and GitHub https://github.com/scramjetorg

Top comments (0)