Writing

Test new blog

Apr 8, 2025 · 2 min read

varanasi ghats from ascii.rest

This is a sample post about arriving in Tokyo. lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

js
const simulateScramble = (pedestrians) => {
return pedestrians.map(p => ({
...p,
x: p.x + Math.random() _ 2 - 1,
y: p.y + Math.random() _ 2 - 1
}));
};

let crowd = Array.from({ length: 1000 }, () => ({ x: 0, y: 0 }));
setInterval(() => {
crowd = simulateScramble(crowd);
}, 100);

Gastronomic Adventures: Ramen and Beyond

Tokyo is a paradise for food lovers. My first stop was a small ramen shop in an underground station. The process is fascinating: you select your meal at a vending machine, take a ticket, and hand it to the chef. Within minutes, a steaming bowl of tonkotsu ramen appears in front of you.

I started a small log of the best spots I've visited:

json
{
  "restaurants": [
    {
      "name": "Ichiran Shinjuku",
      "specialty": "Tonkotsu Ramen",
      "rating": 4.8,
      "price_range": "¥1,000 - ¥2,000"
    },
    {
      "name": "Sukiyabashi Jiro",
      "specialty": "Sushi",
      "rating": 5.0,
      "price_range": "¥30,000+"
    }
  ]
}

The Architecture of Minato

Walking through Minato, you see the Tokyo Tower standing tall against the skyline. It’s inspired by the Eiffel Tower but painted in international orange to comply with aviation safety regulations. The blend of sleek skyscrapers and traditional temples in the same neighborhood is a recurring theme here.

I wrote a simple CSS snippet to capture the glow of the Tokyo Tower at night:

css
.tokyo-tower {
  width: 100px;
  height: 300px;
  background: linear-gradient(to top, #ff4e00, #ff8c00);
  box-shadow: 0 0 20px rgba(255, 78, 0, 0.8);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

Akihabara's Electric Soul

Akihabara, or "Akiba," is the epicenter of tech and otaku culture. From multi-story arcades to shops selling individual capacitors and resistors, it’s a tinkerer's dream. I found myself lost in the aisles of Yodobashi Camera, marveling at the floor-to-ceiling displays of every gadget imaginable.

I even found some vintage hardware that inspired me to write a basic assembly-like interpreter:

python
class TinyCPU:
    def __init__(self):
        self.registers = [0] * 4
        self.pc = 0

    def execute(self, instructions):
        while self.pc < len(instructions):
            op, reg, val = instructions[self.pc]
            if op == "MOV":
                self.registers[reg] = val
            elif op == "ADD":
                self.registers[reg] += val
            self.pc += 1
        return self.registers

cpu = TinyCPU()
print(cpu.execute([("MOV", 0, 10), ("ADD", 0, 5)]))

Reflections on Zen Gardens

Visiting the Imperial Palace East Garden provides a necessary break from the city's intensity. The meticulously manicured trees and still ponds reflect a philosophy of balance. It’s a place where time seems to slow down, allowing for a moment of introspection amidst a busy itinerary.

Future Plans

There is still so much to see. From the fish markets of Tsukiji to the fashion boutiques of Harajuku, Tokyo is a city that requires multiple lifetimes to fully explore. For now, I'm just enjoying the ride, one train station at a time.

bash
# Tracking my steps across the city
mkdir -p tokyo-trip/logs
echo "Day 1: 15,432 steps" >> tokyo-trip/logs/activity.log
echo "Day 2: 18,901 steps" >> tokyo-trip/logs/activity.log
cat tokyo-trip/logs/activity.log

Here is some code:

js
console.log("Hello Tokyo");
Shishir JhaDeveloper · Creator · Learner

Newsletter signup will open soon.