-
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)}
-
Reverse Engineering Code Art - Part 5
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,'')))
-
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.
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 worksFor this I’m going to use three
Hello World
binaries, one made fromC
, one fromGO
and one fromRust
compiled in theMach 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