• My first dwitter

    Finally my first dwitter

    Remix of this dwitter by sandromiccoli

    
    for(i=0;i<88*(t%9);i++){p=t/10+i,s=(t%4.735)*100,x.fillStyle=R(0,p%255,s%255,t%0.04),x.fillRect(635+C(p)*S(t)*s,540+S(p)*C(t)*s,5,5)}
    
    

    First Dwitter

  • Reverse Engineering Code Art - Part 5

    This dwitter by cantelope

    I absolutely love this one visually. It is based on the tessellation Rhombille tiling with stellations The math behind it is awesome and I had to revisit it to write this.

    
    
    eval(unescape(escape`𤐽𬐽🡸𛡬𪑮𩑔𫰨𞀸𚱘𛱱𚠵𜀬𝐰𚱙𛱱𚠵𜀩𒡦𫱲𚁦🐱𝰬𪐽𨰮𭱩𩁴𪀽𜐷𝐬𫠽𤰨𭀩𞱩𛐭𞱸𛡳𭁲𫱫𩐨𚐩𩡯𬠨𮀮𨡥𩱩𫡐𨑴𪀨𪠽𝠩𞱪𛐭𞱑𚀲𛑮𚐩𦀽𚁩𛑴𙐱𚐥𩠪𛠹𚰨𨠽𪐯𩡼𜀩𙐲𚠮𝀴𛐸𛁙🐨𨠫𫠥𜠥𩠭𝀩𚠳𛰴𛁑𚀲𚐬𦀫👓𚁰👪𛰮𞐵𚐯𜠬𦐫👃𚁰𚐯𜠻`.replace(/u../g,'')))
    
    
    

    Code Art 5-2

    Code Art 5-1

  • A bare minimal http server

    Now how did we get here?

    Some time back I noticed that you can’t run a Spring Boot starter with Hibernate in a container with 200M memory.

    StackOverflow on this

    
    The bare minimum you'll get away with is around 72M total memory on the simplest of  
    Spring Boot applications with a single controller and embedded Tomcat
    
    

    Now this just for including the JARs, throw in a couple of endpoints and entities and now your infra is struggling to keep 5 microservices running and you still have a pathetic response time

    Ok, so what?

    I run a server in my Raspberry Pi which serves files and some endpoints. So now the problem statement is What’s the bare minimum http usable server?.

  • Reverse Engineering binary executables - Part 1

    This is my attempt at trying to reverse engineer and understand binaries with hexdump, otool and try to understand how things works

    For this I’m going to use three Hello World binaries, one made from C, one from GO and one from Rust compiled in the Mach Kernel with a MacBook Pro

    
    #include <stdio.h>
    
    int main(int argc, char** argv) {
      printf("Hello World");
      return 0;
    }
    
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("Hello World")
    }
    
    
    fn main() {
      println!("Hello World!");
    }
    

    I’m going in blind with this, let’s see what we find.

  • Setting up a distributed in-memory cache in Spring with Hazelcast

    The whole source code can be found here

    Architecture

    Spring Hazelcast