# Grayhat Blog Tag: Tech > Expanded public blog context for posts tagged Tech. ## Page - [Tech Tag](https://grayhat.studio/blog/tag/tech) - [Tech Tag LLM Context](https://grayhat.studio/blog/tag/tech/llms.txt) - [Root LLM Context](https://grayhat.studio/blog/llms.txt) - [Root Full LLM Context](https://grayhat.studio/blog/llms-full.txt) - [Tag API](https://grayhat.studio/blog/api/public/v1/tags/tech) ## Tag Details - Slug: `tech` - Description: Not provided - Post count in current snapshot: 4 ## Current Posts - ["The lines are blurred"](https://grayhat.studio/blog/the-lines-are-blurred) - Ouzair, senior Product Designer at Spotify, shares his workflows and experiences solving problems from scratch, such as Spotify for Airlines. - [We've open-sourced VidXP](https://grayhat.studio/blog/vidxp-launch) - Searching through your videos has never been easier, safer and cheaper. - [The world in 2036](https://grayhat.studio/blog/the-world-in-2036) - Everyone’s betting on AI. I think cheap, abundant energy is the real force reshaping the next decade… and I’ve got the receipts. - [Secure your ship](https://grayhat.studio/blog/secure-your-ship) - In the fast-paced world of modern web development, where tools like Vercel, Checkly, Mixpanel, and Hotjar have revolutionized workflows, it's easy to focus on the efficiency gains these platforms bring while inadvertently neglecting a critical aspect—security. As development teams expand and diversify their skill sets, the boundaries of projects expand exponentially. With more contributors, integrations, and code to manage, the attack surface grows significantly, amplifying the potential risks. ## Child Route Content ### ["The lines are blurred"](https://grayhat.studio/blog/the-lines-are-blurred) - Slug: `the-lines-are-blurred` - Published: 2026-10-20T21:19:28.000+05:00 - Updated: 2026-10-21T17:22:44.000+05:00 - Reading time: 13 min - Tags: Events, Design, Design Tools, Innovation, Tech - Authors: Saad Bazaz - Visibility: public Ouzair Hafeez has spent his career working across different stages of product development, from an extremely small yet ambitious startup in Pakistan, to Telenor, and eventually to established technology companies in Sweden... Klarna. He then joined Spotify, where he has spent the past four and a half years working across several product teams. His experience spans fintech, consumer software, connected devices, and entirely new product experiences. At Spotify, he's worked on widgets, CarPlay and Android Auto, the smartwatch experience, and Spotify for Airlines. This was Ouzair's second visit to Grayhat. He first visited two years ago, and his return offered an opportunity to revisit the conversation with a different perspective: what it takes to build products in large technology companies, how their working methods translate to smaller teams, and what separates someone who can execute a task from someone who can question whether the task is worth doing in the first place. ## Building from scratch at Spotify One of the most interesting parts of Ouzair's experience at Spotify was building a product for an entirely new environment. Spotify already worked across mobile devices, cars, TVs, and smartwatches, but airline entertainment systems (In-Flight Entertainment Systems) presented a different opportunity. The initial opportunity came from Spotify's business development team. Spotify didn't have a very strong customer-facing presence during flights. Improvements in in-flight connectivity, including the arrival of Starlink-enabled Wi-Fi, opened up the possibility of a streaming experience directly on the screens in front of passengers. Spotify Takes In-Flight Entertainment to the Skies With New United Airlines Partnership — SpotifySpotify and United are teaming up to deliver an even more entertaining in-flight travel experience. Starting today, more than 450 hours of Spotify-curated playlists, podcasts, and audiobooks can be enjoyed for free from over 130,000+ seatback screens, many of which offer stunning 4K quality and Bluetooth audio compatibility. This marks the first time we’ve offered…*Spotify*The first challenge was not designing the interface. It was convincing the organisation that the opportunity was worth pursuing. The design team explored an opportunity to connect it to broader product principles: **"The user should be able to seamlessly transition from one device to another - what we call a 'seamless ecosystem' at Spotify."i.e. someone listening to music in a car should be able to continue listening on their headphones at the airport and then move to the entertainment screen on an aircraft. The exchange illustrates an important aspect of senior product design. Designers cannot assume that leadership will immediately recognise the value of an idea. They need to articulate the underlying product principle, connect it to business strategy, and explain why a seemingly unconventional opportunity belongs within the company's broader direction. ### Research, a wider funnel, and a major design pivot United Airlines provided an initial opportunity to assess the potential audience. A study amongst the audience examined how different traveler segments individuals, families, and adult groups use Spotify, revealing distinct usage patterns, account structures, and user expectations across each category. But this study changed the scope of the problem. The initial idea had focused primarily on engagement: how to bring an existing Spotify experience onto an airline screen. But if more than half the audience did not use Spotify, simply improving engagement would leave a substantial part of the opportunity untouched. The team reframed the experience around the wider funnel: awareness, activation, engagement, retention, and re-engagement. *The important distinction was between designing a screen and designing an acquisition and retention experience. A passenger who already had Spotify needed a straightforward way to access an account. Someone unfamiliar with the service needed to understand what it was, why it was available, and how to begin using it. These were different user journeys, even though they ended on the same screen. The implementation appeared straightforward until they unboxed the actual hardware in their device test-bench. The actual aircraft screens had remote controls, which meant D-pad navigation in addition to touch gestures. This changed how users moved through the interface, located controls, and selected content. Also, after thorough testing, the team also encountered readability problems for business-class passengers sitting farther away from their screens, as well as layout issues caused by translating a tablet experience into a landscape display. Ouzair emphasised that these were not cosmetic problems. Navigation is fundamental to media applications, where users expect to find and play content without unnecessary effort. An interface that works well on a touchscreen does not automatically work well with a remote control. The team therefore audited available framework options, and pivoted towards a different native architecture that addressed the experience related issues in better way. *The Spotify for TV experience turns out to be closer to an IFE, than a tablet, since an IFE would have a remote control with a D-pad.The team updated the design, prototyped it, and explained the problems with the original approach, and showed why the a "TV-like" experience better matched the hardware and the research. The prototype helped make the argument tangible. Leadership could experience the navigation problems and understand why the proposed alternative was more appropriate. The pivot was not a change of taste. It was a response to evidence. **"We moved away from the tablet."*The final experience used QR codes for sign-in and onboarding, allowing passengers to pair their Spotify accounts with the in-flight screen. Privacy was a key constraint, requiring a solution that automatically cleared user data before departure. Ultimately, the team delivered the product and established a long-term roadmap that met the launch timelines. ## Vision and design A recurring theme in Ouzair's talk was the distinction between a product vision and an MVP. At Spotify, a vision describes a longer-term direction for a product or ecosystem, while an MVP identifies what can realistically be delivered to test or establish the experience. For an established product, designers can build on an existing foundation. They can explore how the product might evolve over the next five or six years, establish a direction, and then reduce that vision into phases of implementation. The vision is not supposed to be a detailed specification of every interaction. It establishes what the experience could become. He explained that the Spotify app team usually developed visions for 2026, 2028, and 2030, using them to communicate how the experience might evolve over time. The later vision, he said, was deliberately more ambitious than the product that could be shipped immediately. **"It's basically for the VPs to know [...] what our North Star is."The North Star provides a shared direction for product, design, engineering, and leadership. It also gives teams a way to evaluate individual features against a larger goal, rather than treating every request as an isolated addition. One might be able to run design execution and keeping a vision, at the same time. Ouzair, however, described it as one of the most difficult parts of his design career because the two activities required different kinds of thinking. **"I wouldn't recommend it."His advice was to establish the vision first and then work backwards towards the deliverable scope. For the airline project, the team eventually separated requirements into three categories: must-haves for the MVP, should-haves if time permitted, and could-haves that belonged in the longer-term vision. This is a familiar prioritisation technique, but its value depends on the discipline behind it. Without a clear distinction between the desired future and the immediate deliverable, teams can end up compromising the vision while still trying to ship everything at once. A good vision gives the team a direction; a good MVP makes a deliberate trade-off about what is necessary now. During the Q&A, an audience member asked how a vision survives changes in research, implementation, and stakeholder feedback. Ouzair explained that the vision should not be tied to small implementation details. Whether a device uses touch gestures or a D-pad, for example, should not fundamentally determine the long-term vision. Those are implementation constraints that the design must accommodate. He also explained that Spotify's established product development cycle begins after the initial opportunity assessment. The process then moves through research, design, and development, with reassessment when new evidence requires a change in direction. Senior designers and engineers are expected to define a better path when the standard process no longer fits. The process provides consistency, not an excuse to stop thinking. Even at Spotify, following the established cycle does not mean remaining inside it when the circumstances change. ## Spotify vs a four-person startup An audience member posed a practical question: if Ouzair joined a startup with four people, consisting of two designers and two engineers, how much of Spotify's process would he retain? *His answer was direct. **"I wouldn't implement the Spotify ways of working in a startup because they have money to burn, to be honest."Spotify can invest months in research, maintain established product development cycles, and allocate specialised people to different stages of a project. A four-person startup usually cannot afford the same overhead. Its needs, resources, and pace are different. Ouzair's recommendation was not to abandon process, but to retain the useful parts and make them lighter. He would bring over the distinction between vision and MVP, along with a clear approach to design iteration. These practices help small teams make decisions without losing sight of where the product is heading. What he would not bring over wholesale was a rigid sequence of activities that prevents people from moving forward until someone else has finished their part. In a small team, designers and engineers need to work across boundaries and respond to problems as they emerge. He used Lovable as an example of a more compact, flat structure. In his recent discussions with Lovable's cofounder, he learned that team members are responsible for the success of the product rather than only the tasks assigned to their role. A junior designer does not necessarily wait for a senior designer to finish something before contributing. They work proactively and pass their work into the product. **"Everybody is responsible for everything."This is a different operating model from a traditional hierarchy in which responsibilities are divided by seniority and discipline. In a small startup, a designer may need to identify an engineering issue, and an engineer may need to propose a design improvement. The boundaries still exist, but they are more permeable. Design is not an isolated discipline that engineers need to sit through passively. The two increasingly overlap, particularly in startups where people have to make decisions quickly and understand the whole product. With AI, the lines blur even further. His advice was to keep the process lean and agile, avoiding dependencies that unnecessarily block progress. A small team still needs research, prioritisation, and a longer-term direction, but it must apply them in proportion to the problem and the resources available. ## Developing critical thinking skills The conversation then moved from design process to a broader question about hiring and professional development. With AI increasingly capable of generating code and producing solutions, what distinguishes a strong engineer or designer from someone who can simply execute a task? Ouzair described a shift in the kinds of capabilities companies look for. Rather than hiring only for expertise in a particular framework, such as React or JavaScript, teams increasingly value people who can move between technologies, understand unfamiliar systems, and resolve problems independently. At Spotify, he explained, engineers do not necessarily wait for a manager to assign every task. They may identify work during a designated internal hackweek, take initiative on a problem, or move between frontend and backend work when the team's workload allows it. This is not the same as abandoning roadmaps or accountability. It means that the roadmap is not the only source of useful work. Employees are expected to recognise problems and take responsibility for addressing them. Ouzair also challenged the classification of communication, problem-solving, and critical thinking as merely soft skills. **"It's not a skill that you can easily learn. It takes quite some time."He argued that critical thinking develops through experience and cannot reasonably be expected to appear overnight. He even described disagreements with HR over how Spotify assesses junior designers: expecting someone who is 20 or 21 to demonstrate the same level of critical thinking as a much more experienced professional risks confusing potential with accumulated experience. For him, the challenge is to assess how someone reasons, not just whether they arrive at an impressive answer. That distinction was also present in his account of interviews at Intercom, Meta, Google, and Lovable. In the design interviews he described, interviewers were interested in the thinking behind a solution, how candidates responded to challenges, and whether they could explain their decisions. At Spotify, he said, interviewers receive two to three days of training, and the process includes structured note-taking and review. The point is not that the finished solution is irrelevant. It is that a polished output alone does not reveal how a candidate arrived there, whether they understood the problem, or how they would respond when their assumptions proved wrong. ### Start with the problem, not the solution When an audience member asked how to build critical thinking skills while working with AI, Ouzair offered a simple starting point: resist the urge to jump immediately into solution mode. **"You need to think about why does this problem exist in the first place, why does it matter, why should I solve it."This is especially relevant when using AI tools. A person can receive an apparently convincing answer to a poorly framed question without ever examining whether the question was worth asking. Ouzair gave an example of someone taking a screenshot of a manager's message in Slack, sending it to Claude, and forwarding the generated response back to the manager. The person had obtained an answer, but the process revealed little evidence of independent reasoning. His recommendation was to deliberately step back when approaching a problem. Ask why it exists, what caused it, why it matters, and whether it needs to be solved at all. Only then should the work move towards a solution. This is a small change in working method, but it affects the entire development process. Instead of treating a task as an instruction to execute, the individual begins to investigate the assumptions behind it. The same approach applies to product design, engineering, and business decisions. For Ouzair, being senior is less about title or years of experience and more about taking ownership, exercising judgment, and thinking beyond the task at hand. At Spotify, he described a working culture where engineers proactively pick up work, sometimes move beyond their own specialisation, and take responsibility for the product rather than waiting for someone senior to tell them what to do. Critical thinking is a big part of this: understanding why a problem exists, whether it is worth solving, and whether the proposed solution actually addresses it. Seniority also means being able to explain and defend your decisions, even when challenging people above you in the hierarchy. The goal is not to follow a process blindly or to prove you are right, but to make better decisions and help the team build the right thing. ### Look beneath the surface Ouzair illustrated this with a story from his previous visit to Pakistan, two years earlier. He and a friend, who runs the Pakistan Literary Society and helps children access education, had met a confident, outspoken boy. The child appeared enthusiastic and comfortable speaking with adults. Ouzair's friend helped him obtain a place at a government school. Two years later, Ouzair learned that the boy had left school and begun working with his father. At first, the explanation appeared straightforward: the child simply did not enjoy studying. But his friend continued asking questions. Why did he not enjoy it? Because studying was difficult. Why was it difficult? Because he could not understand the material. Why could he not understand it? He tried, but the teacher became angry with him. As his friend investigated further, another possibility emerged. The child had been confident and outspoken before entering school, but his confidence had diminished. "When you start unveiling things, like, if you start looking at things not just on a surface level," Ouzair says, "... it's critical thinking," suggesting that repeated reprimands may have made the child fearful and suppressed the personality that had initially made him so comfortable speaking with others. For Ouzair, the same reasoning applies to products. A user may say they dislike an application, struggle with onboarding, or abandon a feature. Treating the statement as the entire problem can lead to a superficial fix. Investigating the underlying causes may reveal that the real issue is comprehension, confidence, context, or an assumption the team never tested. Critical thinking, in this sense, is not about being contrarian or making every decision unnecessarily complicated. It is the discipline of questioning the first explanation, connecting evidence, and remaining open to a more accurate understanding of the problem. Ouzair was clear that this capacity develops over time. It requires repeatedly looking beyond the obvious, in professional work and in everyday life. AI can accelerate parts of the process, but it cannot remove the need to decide what matters, which assumptions deserve scrutiny, and whether a proposed answer actually addresses the underlying problem. ## A different way of working Across the session, Ouzair returned to a common distinction: following a process and exercising judgement are not the same thing. Spotify provides established cycles, research capabilities, product frameworks, and a shared understanding of how teams operate. Those systems help a large organisation coordinate work across many disciplines. But the airline project still required the team to challenge leadership, rethink its technical approach, and revise its scope when the evidence changed. At the other end of the spectrum, a four-person startup cannot reproduce Spotify's full process. It needs people who can work across disciplines, make decisions without waiting for permission at every step, and take responsibility for the product beyond their individual tasks. The connective tissue between the two environments is not a particular design methodology. It is the ability to understand the problem, justify decisions, adapt when new information emerges, and distinguish the long-term direction from the next deliverable. For Grayhat, the discussion was a reminder that mature working practices are worth learning from, but they should never be adopted without understanding why they exist. The goal is not to make a small team operate like Spotify. It is to develop the judgement that allows a team of any size to build the right thing, challenge its assumptions, and keep moving when the original plan no longer works. * ### [We've open-sourced VidXP](https://grayhat.studio/blog/vidxp-launch) - Slug: `vidxp-launch` - Published: 2026-08-06T15:14:58.000+05:00 - Updated: 2026-08-12T00:05:00.000+05:00 - Reading time: 4 min - Tags: Open Source, Developer Tools, AI, Agents, Artificial Intelligence, Design Tools, Adobe, Development, LLMs, Software Engineering, Tech - Authors: Saad Bazaz - Visibility: public **Grayhat is an AI software engineering company advancing next-gen tech. Previously, we researched for 2 years and open-sourced **deepdub****.** We aim to make a big impact in future tech (yes, big dreams!) and are figuring things out as we go. Most of our work is building products in Silicon Valley, and researching in next-gen technologies.Today we're open-sourcing **VidXP**, a toolkit for indexing, understanding, and searching video collections using modern multimodal AI–after two years of research and development. Videos contain an enormous amount of information, but finding the exact moment you need is still surprisingly difficult. VidXP automatically extracting transcripts, understanding scenes, generating embeddings, and making every frame searchable through natural language. While technology like this has existed before (e.g. **YouTube** transcripts, **Google Photos** search, and **Microsoft Video Indexer**), and great strides have been made in research in video indexing and retrieval (like Google's **VideoPrism**, **VideoCLIP**, and **InternVideo**), the race towards private and decentralized AI motivated us to build tech like VidXP for the average consumer. Whether you're working with research datasets, security footage, recorded meetings, educational content, podcasts, or personal archives, VidXP helps transform raw video into a searchable knowledge base. ## Built for local-first AI workflows Unlike many cloud-based video analysis platforms, VidXP is designed to run locally. Your videos remain under your control while leveraging state-of-the-art open models for speech recognition, semantic understanding, and retrieval. The project can be used as: - A Python library - A command-line interface - A REST API - An MCP server for AI assistants This makes it easy to integrate into existing applications or use directly from developer tools like Claude Desktop, Cursor, or any MCP-compatible client. *## Spare the gibberish... What can VidXP do? *VidXP combines multiple AI capabilities into a single indexing pipeline.* What does this mean? First, it processes your video (yes, that may take a while). Then, you can start searching within those videos. For example, you can simply ask: **"Find where a red car appears."or **"Show me where the presenter explains vector databases."VidXP returns the most relevant moments, as timestamps within that video. (For nerds) How does VidXP do all the above? During processing, it will: - Extract accurate transcripts - Generate semantic embeddings - Perform natural-language search across videos - Retrieve precise timestamps for matching moments - Index large video collections - Serve search results through an API or CLI ## Designed for... ### Humans and AI VidXP is available as a desktop app and an MCP Server for AI Agents (*What is an MCP Server?*). Some people have used it to find certain events in their wedding videos, while others use it in their daily video editing workflow. Do let us know what use cases you come up with! **We're planning to release a Premiere Pro plugin based on VidXP. If you're interested, comment "Premiere Pro plz".### Developers VidXP is intentionally modular. You can embed it into your own applications, automate indexing pipelines, integrate it with retrieval systems, or expose your media archive to LLM-powered agents. Because it supports multiple interfaces, the same indexing engine can power local scripts, backend services, desktop tools, and AI workflows. You can pick and choose the modules (we call them "collectors"), and can choose to plug your own SLM (Small Language Model) instead of the one we use. Whether you're building media management software, research tooling, enterprise knowledge systems, or personal archives, VidXP provides the foundation for semantic video retrieval. ## Standing on the shoulders of giants VidXP wouldn't exist without the incredible open-source ecosystem that came before it. Rather than reinventing foundational AI models, we focused on building the glue that brings them together into a seamless developer experience. Under the hood, VidXP builds upon state-of-the-art work from organizations including **OpenAI**, **Anthropic**, **Google DeepMind**, **Microsoft**, **Meta AI**, **Alibaba**, **Nomic AI**, **BAAI**, **Hugging Face**, and the countless researchers and open-source contributors who continue advancing machine learning. Depending on your configuration, VidXP leverages technologies such as: - **Whisper** and **WhisperX** for speech recognition and word-level alignment. - **PySceneDetect** for automatic scene detection. - **OpenCV** and **FFmpeg** for video processing. - **CLIP**, **OpenCLIP**, and **SigLIP** for multimodal vision-language understanding. - **BGE** and **Nomic Embed** for semantic embeddings. - **Sentence Transformers** for embedding pipelines. - **Transformers** for running modern multimodal models. - **FAISS** and **Chroma** for vector search and retrieval. Our goal has never been to replace these incredible projects. Instead, VidXP aims to make them easier to combine, deploy, and use together—whether from a Python library, CLI, REST API, or MCP server. If VidXP saves you hours of engineering, it's because thousands of researchers, engineers, and open-source contributors spent years building the technologies it stands upon. This project was built in Grayhat's collaboration with NED University of Engineering & Technology, under Grayhat's Student Research program, supervised by Dr Shahab Tahzeeb, and executed by students Muhammad Haroon, Sarah Jawaid, Talha Ahmed, and Abdullah Mansoor. To everyone behind these models, libraries, datasets, and frameworks: **thank you**. ❤️ ## Available today VidXP is available now, here: GitHub - grayhatdevelopers/vidxp: VidXP (Video eXPlain) - Video Indexing Engine. Search in videos in natural language. 👀 Connect your Hermes / Claude / OpenClaw agents, allow them to understand videos with low token cost.VidXP (Video eXPlain) - Video Indexing Engine. Search in videos in natural language. 👀 Connect your Hermes / Claude / OpenClaw agents, allow them to understand videos with low token cost. - grayhat…*GitHubgrayhatdevelopers*(you can download the desktop app from our Releases page) If you've ever wished you could search your videos as easily as searching documents, give it a try—we're excited to see what you build with it. ### [The world in 2036](https://grayhat.studio/blog/the-world-in-2036) - Slug: `the-world-in-2036` - Published: 2026-07-31T13:09:21.000+05:00 - Updated: 2026-07-31T13:13:07.000+05:00 - Reading time: 13 min - Tags: AI, Infrastructure, Tech, Renewable Energy, Vertical Farming, Electric Vehicles, Climate Change, Futuristic - Authors: Ramiz Sami - Visibility: public **This piece was originally published on Medium, and is posted here as a collaboration.Let me ask you a question. When you imagine the world in 2036, what do you see? Do you see AI assistants doing most of our work? Robots walking around our homes? Many of you probably believe that the biggest transformation of the next decade will come from artificial intelligence. You could be right, or it could just be a bubble. But frankly, I believe the real transformation will come from something else. It is not AI. It is the thing that will power AI, along with almost everything else around us. **Electricity.** More specifically, cheap, clean and abundant electricity. Many might not realise this, but we are now entering a new age of energy abundance like never before. It happened because humanity got serious, properly serious, about harnessing renewable resources. And in doing that, we slowly made renewables cheaper than they have ever been. And cheaper than all other forms of power generation in human history. *Rooftop Solar Panels in Dera Ismail Khan, a small city in PakistanNow, I can already hear you. “But Ramiz, the sun doesn’t always shine. The wind doesn’t always blow. Renewables are unreliable.” You’re right. But wind and sun usually complement each other. So the solution is to use both of them. And there’s a second wave coming right behind this one: Battery Storage. Costs are already falling. And they’re about to fall a lot further, thanks to better battery tech and newer, cheaper, more reliable chemistries such as sodium-ion batteries. Right now, anywhere on this planet, generating power is the cheapest via solar and/or wind. This chart shows how the prices of solar and wind generation have dropped since 2009. *Power generation cost as mentioned in the latest report by LazardThe data says solar prices bottomed out in 2021 and have crept up slightly since. But let me tell you what actually happened to me. I installed my first solar panels in July 2024. I added more in April 2025. In that window of less than a year, the price of solar panels in Pakistan dropped by a third. A third. In under a year. And it doesn’t stop there. In that same stretch, the price of a 5kWh Lithium Iron Phosphate battery halved. Halved. I believe over the next five to ten years, we’re going to watch batteries do exactly what solar panels did through the 2010s: collapse in price, and this time it won’t just be households and grids pulling that price down. It’ll be EVs too. I’m telling you all of this through the lens of solar because I live in Pakistan, where the sun doesn’t just shine; it punishes you. And electricity prices here are brutal. So switching to solar wasn’t some green awakening for me. It was survival math. I’m one of millions of Pakistanis who made the same call, for the same two reasons: cost, and a Grid you simply cannot rely on. Don’t believe me? Pull up Google Maps. Pick almost any settlement in this country, zoom in, and you’ll find rooftops dark with solar panels, street after street. The first satellite image in this story shows a comparatively small Pakistani city. Dera Ismail Khan is only the country’s **46th-largest city**, according to the population estimates from 2023. Yet even there, in a town most of the world has never heard about and probably never will, the rooftops are already changing. Now let me bring you closer. Down to street level. This is my own city, Islamabad, on an ordinary afternoon. I took these photos myself, fifteen minutes drive from my home. Trees, houses, mountains in the haze, and if you look past the branches, rooftop after rooftop quietly glinting with panels. This isn’t a special neighbourhood. This is just what Islamabad looks like now. *A typical Islamabad neighborhood showing the proliferation of rooftop solar*A typical house in islamabad with solar panels covering its rooftop## What changed in my own house Let me take you inside. Two years ago, I put panels on my roof. Here’s what happened next. One air conditioner became three. The water heater that used to burn gas got an electric heating filament to complement it. The gas stoves were joined by three electric ones. And I want to be honest with you; I didn’t do any of this because I woke up one day worried about the planet. I do care about clean tech, don’t get me wrong. But the real reason was simpler than that; it made economic sense to stop burning things to do the same jobs electricity could now do for free. **And then the war in Iran started.** I could no longer rely entirely on oil for my daily commute, and having abundant and effectively free electricity during the daytime made an electric vehicle a sensible choice. Now, before you imagine me driving around Islamabad in some expensive luxury EV, let me show you what I actually bought. *me and my wife, riding double, on a small electric scooter which happens to be our first electric vehicleIt’s just a scooter, because that’s what I could afford with the cash I had at the time. But since I got it, I keep reaching for it, more and more. It’s swallowed up commutes I used to do in my car, or on my petrol bike. Today, it handles more than half of my commuting. And once the upfront cost of the scooter and the panels is paid off? It costs nothing to run. Nothing. ## The war, and the country that quietly filled the gap Now here’s where it gets much bigger than my rooftop. When Iran blocked the Strait of Hormuz, the world braced for an oil shock. And it came. But someone else softened the blow, and almost nobody is talking about it. China, the world’s largest oil importer, was able to cut its oil imports by 5 million barrels a day. Let that sink in. That’s more than 40% of China’s total oil imports. That’s bigger than the entire oil release from the US national reserves and all of its allies, combined. How? A lot of people will tell you China simply drained its own strategic reserves. Maybe. The data isn’t public. But I believe most of it came from somewhere else entirely: from the enormous strides China has made in renewable energy. In May 2025, China reached a point where it was installing approximately three gigawatts of solar panels every day. Every day. That is roughly equivalent to bringing a large coal-fired power plant online every eight hours. Pause there for a second. Imagine constructing a large power station. Now imagine doing the equivalent of that three times every day for a whole month, but using solar panels. China still has “excess capacity” in all of clean energy tech from solar panels and wind turbines to batteries and electric vehicles. And that’s where our solar panels also came from. Since the Iran war started, more countries, especially in Southeast Asia, have started importing Chinese clean energy tech, and China’s exports of solar panels have more than doubled. After all, it is “excess capacity” until the world needs it. ## Energy security in appliance form The best part about solar panels and wind turbines is that they are essentially appliances. You purchase them. You install them. And they begin producing energy. Once installed, another country cannot stop your sunlight. It cannot block your wind. It cannot cut off your electricity by choking a narrow waterway such as the Strait of Hormuz or Bab al-Mandeb. This is one reason Pakistan was able to manage the oil and gas crisis better than much of the rest of South Asia. And it was partially made possible by a brilliant piece of government policy: Net Metering. A policy that let people sell their extra daytime electricity back to the grid, and then buy it back at night using those very same credits, thus removing the need to install expensive batteries and lowering the barrier to entry. But here’s the twist nobody saw coming. The policy worked too well. One of my friends, who works in the government sector on power policy in Pakistan, put it to me: **In the last three years, allowing more net metering connections was like force-feeding somebody who was already full.Now the grid can’t handle it. There’s too much excess electricity flooding in during the day, so much that entire power plants have to shut down, and then the exact opposite problem shows up at night — too much stress on a grid that suddenly has nothing left to give. So the policy has shifted to something called “Net Billing”. Fancy term. Simple idea: drastically cut the rate at which solar consumers sell electricity back, and raise the rate at which they buy it. The real goal underneath all of that? Push people to install batteries, so they stop dumping so much power into the grid during the day, and stop starving it at night. ## Where do we stand So who’s actually moving? Right now, there is no economy on this planet increasing its carbon emissions, except one: The United States. And you can thank American climate politics for that. Even the oil-rich Gulf Arab countries aren’t doing it anymore. The rest of the world, especially Asia… 60% of humanity, let that number sit with you… is racing toward this new age of energy abundance. Europe is making real progress too, but it’s tangled in trade disputes with China, and its red tape is keeping it from its true potential. Strip that away, and Europe would be the fastest-adapting region on Earth. Meanwhile, across Pakistan and most of Asia, putting solar on your roof has become as casual as buying a fridge. You call a guy. He shows up the next day to survey your roof. The day after that, he’s bolting panels to your roof. ## Where this leaves us, you and me? So here’s what I’ve learned from living all of this, first-hand, on my own roof, in my own city. If I’ve learned anything, it’s this: once energy stops being scarce, everything that was ever bottlenecked by it starts to move. That’s where I believe we’re going to see the next decade’s biggest job growth, and job loss. Let me walk you through where. ### Desalination, on a massive scale: Right now, only the rich Gulf Arab states really lean on desalination, because it’s expensive, and they don’t have another way to get the water that they need. And why is it expensive? One word: electricity. Take that cost away, or shrink it, and within a few decades, coastal regions all over the world are going to start depending on desalination. Not because it’s trendy, but because it will simply make economic sense. ### Electric Vehicles: This one’s a no-brainer. I don’t even need to convince you. We’re going to see a lot more EVs on the road, because they’re already cheaper to run than their combustion-engine cousins, and they’re only going to get cheaper to own as battery costs keep sliding. ### ICE to EV kits: But here’s a question you might be sitting with right now: what happens to the millions, if not billions, of cars already on the road, the ones burning petrol and diesel today? Do we just scrap them all? No. I don’t think we do. I believe some creative entrepreneurs, or the old automakers themselves, are going to start selling kits that convert popular ICE cars into EVs. And here’s the thing: building an EV isn’t as complicated as people assume. Swap the engine for an electric motor. Replace the fuel tank with batteries. That’s most of the job done. It’s already happening. Companies like Retro Electric are taking old classic cars and giving them a second life with an electric motor, a battery pack, a controller, and that old car drives again, except now it’s silent. But I believe this is going to stop being a niche hobby for classic car lovers. I think it’s going to happen at scale, with everyday, common car models like your old Toyotas and Hondas and Suzukis, and I think it’s going to happen a lot more in developing countries, where a new EV is a luxury, but a conversion kit for the car you already own is just a better economic decision. ### Freight movement on land: Here’s one most people aren’t talking about yet: a return to the old ways. Ships carrying most of the world’s goods? That’s actually a fairly recent chapter in human history. For most of it, more trade moved over land than over sea. And I believe we’re about to watch the old Silk Route-like corridors across Eurasia come back to life. I’ve got two reasons for saying that. One: water is getting insecure. It used to be that only the United States had the kind of navy that could monopolise a waterway blockade. Not anymore. Cheap kamikaze drones mean even a ragtag militia like Yemen’s Houthis, for instance, can pull off what used to take a superpower. Don’t even get me started on a country like Iran. Two: the most mature electric vehicle on this planet isn’t a Tesla. It’s a train. Trains already haul enormous amounts of freight, cheaply. As electricity gets more abundant, they get even more affordable to run, and they don’t even need giant battery packs, because the power line is always right there waiting for them. Add in the fact that freight trains are simply faster than ships, and land starts looking very attractive again. ### Reduction in overall freight transport: Nearly 40% of all global maritime shipping tonnage is dedicated to transporting fossil fuels (oil, coal, and gas). In a world where fossil fuels won’t be comparatively economically viable, a major portion of this 40% shipping tonnage will disappear (or perhaps be replaced by more clean-tech freight?). ### Vertical farming: Until now, humanity has thrown two things at the problem of growing food: land, and water. Lots of both. I believe that era is ending, and colossal vertical farms are going to be the reason why. *Photo by Petr on UnsplashPicture it. Floor after floor of plants stacked indoors, glowing under coloured light, roots fed by water instead of soil. Vertical farming already produces significantly higher crop yields per square foot than open fields. It uses up to 95% less water through hydroponics. It doesn’t care what the weather is doing outside. And because it’s grown in a controlled environment, it barely needs pesticides, and you can build it right inside a city, which slashes the emissions and the costs it takes to get food from farm to plate. So if it’s this good, why isn’t it everywhere already? One word again: electricity. Vertical farms are hungry for it. And as I’ve told you throughout this entire story, that hunger is exactly what cheap, clean, abundant electricity is about to satisfy. ### Mining the sea water and deep earth: Right now, mining companies only target “high-grade” ore because processing vast amounts of rock to extract a tiny amount of useful material costs too much in diesel and electricity. With an abundance of electricity, we could mine ultra-low-grade ores or even extract trace elements (like uranium, lithium, and gold) directly from seawater. Another thing that will change would be more processing of energy-intensive materials (for example, magnesium), which won’t be so expensive anymore and would find more uses in different industries. ### Cleaner data centers: You’ve probably heard the headlines by now: data centres draining freshwater dry. It’s true. They use freshwater to cool themselves down. But here’s what those headlines leave out: water isn’t the only way to cool a data centre. It’s just the cheapest, easiest way to do it today. As the public pushback grows, and as electricity gets cheaper, I expect data centres to shift toward more sophisticated, energy-hungry cooling methods that don’t use a lot of water. That’s a big enough topic on its own, one I plan to write about properly soon. Consider this your preview. ### Off-grid households and industries Solar panels and batteries are the components that enable true independence from the electric grid. There are already success stories of remote villages and places that never had electricity finally getting it, thanks to these two things. So I foresee a time when many households and industries won’t be connected to the grid at all, and will sustain themselves on their own, cheaply. This would be more pronounced in developing countries like mine, where grid electricity is very expensive and unreliable. In fact, some industries might go even further. As my friend Saad Bazaz suggests, there would be industries generating their own renewable electricity, with self-hosted software and on-premise 3D printing using their own raw materials, creating new kinds of infrastructure for themselves and for the market. This would be the topic of a future story that we hope to co-author. ### Recycling solar panels Another question a friend of mine put in front of me: what’s going to happen to all these solar panels once they complete their lifespan? We don’t have many processes for this right now. But in the future, I foresee a time when new recycling industries will step up to recycle things like solar panels, and many other materials that currently aren’t recycled. They’ll probably be able to do that because of energy abundance. So that’s the tour. Just you and me, from my rooftop in Islamabad, to a scooter ride with my wife on a quiet mountain road, through a war that quietly rerouted oil flows on the other side of the planet, and out into deserts turning into farms, oceans getting a little quieter, and cars that refuse to die. Everyone keeps telling you 2036 belongs to AI. I think it belongs to the electron. **I am* *Ramiz Sami. I climb mountains, lift heavy weights, build* *WebGIS solutions* *and recently, I have also started to* *print custom maps* *on things like wood, metal, mugs and travel mugs. ### [Secure your ship](https://grayhat.studio/blog/secure-your-ship) - Slug: `secure-your-ship` - Published: 2023-10-25T15:36:00.000+05:00 - Updated: 2024-05-10T13:49:03.000+05:00 - Reading time: 3 min - Tags: Supply Chain Security, NPM, Open Source, Open Source Community, JavaScript, Typescript, Vercel, Innovation, Tech - Authors: Asfand Yar - Visibility: public *In the fast-paced world of modern web development, where tools like Vercel, Checkly, Mixpanel, and Hotjar have revolutionized workflows, it's easy to focus on the efficiency gains these platforms bring while inadvertently neglecting a critical aspect—security. As development teams expand and diversify their skill sets, the boundaries of projects expand exponentially. With more contributors, integrations, and code to manage, the attack surface grows significantly, amplifying the potential risks. Real-world incidents serve as stark reminders of the impact of security vulnerabilities. The Equifax breach in 2017 exposed sensitive data from 147 million individuals due to unpatched software, and the Colonial Pipeline ransomware attack in 2021 disrupted critical fuel supplies. Security lapses have even derailed major mergers and acquisitions, as seen in the delayed acquisition of Yahoo by Verizon following data breach revelations. The SolarWinds exploit underscored the risks associated with unlicensed software, affecting numerous networks. ### AI & Blockchain bring more security concerns than before. Supply chain challenges wield a profound impact on the growth trajectory of today's AI and blockchain startups. In the AI realm, dependencies on open-source libraries and frameworks make startups vulnerable to security breaches and compromised model outputs, disrupting development timelines and compromising data integrity. Likewise, in the blockchain space, vulnerabilities in smart contract frameworks and consensus mechanisms due to supply chain issues can undermine the trustworthiness of distributed ledgers, leading to compliance issues and investor concerns. These vulnerabilities often arise from various sources such as unpatched software, misconfigurations, and human error. The complexity introduced by open-source components and third-party integrations necessitates thorough vetting and monitoring to counter potential threats. ### Enter SecOps. Integrating Supply Chain Security and Security Operations (SecOps) into development cycles becomes imperative for proactively addressing vulnerabilities. However, current security solutions often suffer from alert fatigue, overwhelming users and diluting the impact of critical notifications. Enter listen.dev, a new player in the dynamic landscape of web development challenges, offering a fresh perspective on fortifying security measures seamlessly. ### Make Security Actionable. If you've used dependabot before, you'll immediately know what the term "alert fatigue" means even if you've never read about it before. Basically, when you receive a flood of notifications and alerts but don't have an action item for them, and they keep piling up, you eventually start ignoring the notifications. That's deadly for security; you start ignoring once, and it goes permanently under the rug **until it's too late.** We've had some insider conversations with listen.dev, and according to their claims, security is no longer an afterthought. It's gotta be part of the SDLC (Software Development Life Cycle). What does that mean for devs? Just like how Vercel plugs themselves right into the everyday DX (Developer Experience) of a developer with their GitHub integration, listen.dev also has a GitHub integration which gives you 1) Actionable insights, 2) A "Security Review" mechanism (Yes, it works exactly as it sounds like. It's a security approval for each PR which has security vulnerabilities). On the side, Listen features the standard: **Real-time Security Scans:** By embedding real-time security scans into each pull request, listen.dev facilitates early identification and resolution of vulnerabilities during code integration. **DNS Profiling:** A standout feature, listen.dev's DNS profiling provides proactive alerts for potential malicious attacks, acting as a shield against looming threats. **User-Friendly Interface:** listen.dev distinguishes itself by offering a user-friendly interface focusing highly on its DX (taking inspiration from Vercel), making security measures not only effective but also accessible. **High Customization:** The platform's high level of customization caters to diverse user needs, ensuring improved security and ease of use with tailor-made solutions adaptable to specific requirements. In the ever-evolving digital landscape, listen.dev emerges as a promising contender, offering robust security enhancements alongside a user-centric approach. Its suite of features designed for practical usability and adaptability signals a potential shift towards more secure and personalized web development practices. The key is not just about adopting new tools but integrating security seamlessly into the development workflow. It's necessary now more than ever before to be proactive than reactive - a supply chain vulnerability or hack could mean life or death for a company in today's privacy-savvy world. At Grayhat, we bring impossible to life, and challenge tech to its very extreme. A team of ragtag hackers, with a thirst for innovation, we don't shy from taking on early-stage design and development challenges which define the gray line which sits between the possible and impossible. Interested in working with us? Drop us an email at sales@grayhat.com.pk Author: Asfand Yar Aftab