HN user

rrampage

4,881 karma
Posts341
Comments54
View on HN
bootlin.com 16d ago

Poison, redzones and shadows: inside KASAN

rrampage
18pts0
goblins.mchen.workers.dev 1mo ago

How to Train Your Goblin

rrampage
4pts0
rfd.shared.oxide.computer 1mo ago

Dealing with cancel safety in async Rust

rrampage
7pts0
papergrep.dev 8mo ago

Academic Research Papers in Open Source Code

rrampage
2pts0
redrays.io 9mo ago

PoC for Critical Lua Engine Vulnerabilities in Redis 7.4.5

rrampage
3pts0
surfingcomplexity.blog 10mo ago

Nothing fails like a history of success

rrampage
1pts0
blog.qwertysecurity.com 10mo ago

When SSRF Is Enough: Full Docker Escape on Windows Docker Desktop(CVE-2025-9074)

rrampage
1pts0
www.mh4ckt3mh4ckt1c4s.xyz 11mo ago

AUR Chaos Malware: An Analysis

rrampage
3pts0
blog.cloudflare.com 11mo ago

Perplexity is using stealth, undeclared crawlers to evade no-crawl directives

rrampage
1315pts748
lists.archlinux.org 1y ago

Firefox-patch-bin, librewolf-fix-bin AUR packages contain malware

rrampage
146pts134
medium.com 1y ago

How I Became the First Linux User in India

rrampage
2pts0
betterexplained.com 1y ago

Understanding Quake's Fast Inverse Square Root

rrampage
2pts0
hornetlabs.ca 1y ago

Pgconf.dev 2025 Wraps Up with Great Success in Montreal

rrampage
1pts0
www.cyberdemon.org 1y ago

A disk is a bunch of bits (2023)

rrampage
38pts6
engineering.atspotify.com 1y ago

Creative usernames and Spotify account hijacking

rrampage
4pts0
www.jsoftware.com 1y ago

An Implementation of J – Roger Hui (1992) [pdf]

rrampage
2pts0
www.lucavall.in 1y ago

A Quick Journey into the Linux Kernel

rrampage
3pts0
lemire.me 1y ago

How fast can you open 1000 files?

rrampage
5pts1
blog.joemag.dev 1y ago

The Trouble with Leader Elections in distributed systems

rrampage
6pts0
developer.nvidia.com 1y ago

Defining LLM Red Teaming

rrampage
1pts0
github.com 1y ago

Cost-efficient and pluggable Infrastructure components for GenAI inference

rrampage
1pts0
cmu-fantastic-bugs.github.io 1y ago

Fantastic Bugs and How to Find Them

rrampage
2pts0
maharshi.bearblog.dev 1y ago

Learning CUDA by optimizing matrix-vector multiplication for cuBLAS-like perf

rrampage
2pts0
sakana.ai 1y ago

AI CUDA Engineer: Agentic CUDA Kernel Discovery, Optimization and Composition

rrampage
3pts0
www.macs.hw.ac.uk 1y ago

An Introduction to Functional Programming Through Lambda Calculus [pdf]

rrampage
1pts0
github.com 1y ago

TinyAPL – a tiny APL dialect and interpreter in Haskell

rrampage
4pts0
muratbuffalo.blogspot.com 1y ago

My Time at MIT

rrampage
181pts78
www.polarsignals.com 1y ago

Fantastic Symbols and Where to Find Them – Part 1

rrampage
1pts0
www.alilleybrinker.com 1y ago

Open Source Software and Corporate Influence

rrampage
64pts25
fosdem.org 1y ago

Implementing a rootless container manager from scratch [video]

rrampage
4pts0

Recurse center is awesome! The community is curious, kind and supportive. I did 2 batches there and each one expanded my horizons as a programmer.

I've been building small programs in Zig, C and ARM64 assembly without relying on libc and only using Linux syscalls directly.

Some examples:

- A minimal C shell with built-ins like cd, pwd, type: https://gist.github.com/rrampage/5046b60ca2d040bcffb49ee38e8...

- Terminal Snake game which fits in a QR code using Linux syscalls for drawing: https://gist.github.com/rrampage/2a781662645dc2fcba45784eb58...

- HTTP server with sendfile support in ARM64 assembly: https://gist.github.com/rrampage/d31e75647a77badb3586ebae1e4...

I learned to handcraft a static ELF binary using just GNU assembler (no linker): https://gist.github.com/rrampage/74586d0a0a451f43b546b169d46... . Trying to see if I can craft a small assembler in ARM64

  Location: Mumbai, India
  Remote: Preferred
  Willing to relocate: Yes, within India
  Technologies: Java, Golang, Python, WebAssembly, Linux, SQL, Kubernetes, AWS, GCP, Ruby on Rails
  Résumé/CV: https://www.linkedin.com/in/raunak1/
  Email: raunak1001 (at) outlook (dot) com
- Principal Software Engineer with 11 years experience.

- Have predominantly worked in scaling out backend services with a focus on building search, analytics and recommendation systems, refactoring monoliths, optimizing cloud costs.

- Have done minimal downtime migrations of infrastructure for AWS and GCP.

As a side project, I have been building a WebAssembly interpreter from scratch at https://github.com/rrampage/wart . It can run Doom and boot Linux!

  Location: Mumbai, India
  Remote: Preferred
  Willing to relocate: Yes, within India
  Technologies: Java, Golang, Python, WebAssembly, Linux, SQL, Kubernetes, AWS, GCP, Ruby on Rails
  Résumé/CV: https://www.linkedin.com/in/raunak1/
  Email: raunak1001 (at) outlook (dot) com
- Principal Software Engineer with 11 years experience.

- Have predominantly worked in scaling out backend services with a focus on building search, analytics and recommendation systems, refactoring monoliths, optimizing cloud costs.

- Have done minimal downtime migrations of infrastructure for AWS and GCP.

As a side project, I have been building a WebAssembly interpreter from scratch at https://github.com/rrampage/wart . It can run Doom!

This is a simple Pong-like I've written in Raylib compiled to WASM - https://wasm-stuff.netlify.app/pong

Source code is here: https://github.com/rrampage/skitter/tree/master/pong-raylib

It is fairly straightforward to get Raylib running in the browser. I used @flohofwoe's HTML shell file ( https://github.com/floooh/sokol-samples/blob/master/webpage/... ).

Compilation is something like: emcc -o target/pong.html -Wall -Wextra -std=c99 pong-raylib/pong.c lib/libraylibweb.a -I ./include -sUSE_GLFW=3 -sSINGLE_FILE -Oz --closure 1 -sFILESYSTEM=0 --shell-file pong-raylib/shell.html

Building your own DDOS protection and CDN will involve a lot of devops bandwidth in ensuring both low latency and high availability. You may need to negotiate good rates with your ISP/VPS/Cloud for network bandwidth. It will also involve keeping in sync with security fixes and the state of the art in terms of bot protection, etc. If this use case is not a core part of your business, it will be better to bite the bullet and go ahead with a 3rd party solution like Cloudflare / AWS Cloudfront + WAF + Route 53 / Google Cloud Armor / Fastly

Openresty with a few Nginx modules and Lua scripts can go a long way for many use-cases mentioned:

- ModSecurity for WAF: https://github.com/SpiderLabs/ModSecurity

- L7 Rate limiting: https://github.com/openresty/lua-resty-limit-traffic

- Cache: https://github.com/ledgetech/ledge . Or use varnish which gives you VCL for high configurability

- Load balancing: https://github.com/openresty/lua-resty-balancer

- CDN: https://github.com/taythebot/lightpath . This project seems to be a WIP which you can use as a starting point for your needs. You will also need to find good enough "edge" locations for your CDN.

Similarly, HAProxy does a lot of stuff with the correct config and is also extensible using Lua:

- Some basic DOS protection: https://www.sysbee.net/blog/haproxy-sysadmins-swiss-army-kni...

- L7 DDoS protection: https://github.com/mora9715/haproxy_ddos_protector

You can run your own authoritative DNS server using either djbdns or nsd. Or use AWS Route 53.

Ultimately, it will involve (a lot of) glue code/config depending on what solution you go ahead with.

It depends a lot on the backend architecture. Number of DB requests per web request can also be high due to the pathological cases in some ORMs which can result in N+1 query problems or eagerly fetching entire object hierarchies. Such problems in application code can get brushed under the carpet due to "magical" autoscaling (be it RDS or K8s). There can also be fanout to async services/job queues which will in turn run even more DB queries.