Posts

Showing posts from 2026

Working together with Chery Commercial Vehicles in Wuhu, China together with Make My Day

Image
  Driving the Future of Electric Fleets: Make My Day Partnering with Chery Commercial Vehicles As commercial fleets around the world transition toward electrification, the challenge is no longer just about deploying electric vehicles; it is about managing them efficiently at scale. Nisan Katz and I recently returned from a productive visit to Wuhu, China , where we met directly with our counterparts at Chery Commercial Vehicle . Chery Commercial Vehicle is a global powerhouse in the automotive space, and working alongside their engineering and strategy teams confirmed a shared vision: the next phase of commercial fleet electrification depends heavily on intelligent software integrations. During our strategic discussions in Wuhu, we focused on aligning Make My Day’s smart EV fleet management and route optimization algorithms directly into Chery’s growing commercial ecosystem. Why This Collaboration Matters Transitioning commercial fleets to EVs introduces operational variables that...

New: How to connect to mysql database from go - correct way

  The dbconnect.go Architecture In Go, sql.Open doesn't actually connect to the database—it initializes a Pool . This pool is a manager that sits between your code and the database, handing out "check-out" tickets for connections. 1. The Connection (The "Dial") The DSN string defines the network path. By adding parameters like timeout=30s , you tell the driver how long to wait for the initial handshake before giving up. 2. The Pooling (The "Manager") By setting SetMaxOpenConns , you create a hard ceiling. If you set it to 10, Go will never attempt an 11th connection. Instead, it makes the next request wait in a queue. SetConnMaxLifetime ensures that old, "stale" connections are killed off before the server (DreamHost) forcibly drops them. 3. The Context (The "Stopwatch") Using context.WithTimeout is how you control that queue. Without a context, a query might wait forever for a free connection. With a context, you say: "I ...