Gopal Sharma

@gp5
36 Followers
115 Following
132 Posts
CEO, @suryadigital. Previously: Apple, Qualcomm, University of Michigan.
Websitehttps://bohr.dev
Removed the Amazon affiliate links from this page. It just felt kind of gross. I'm always torn about that stuff even if I always disclose it in an obvious way. But in the end I really only make a couple bucks and that just doesn't seem worth having that icky feeling over. 😅

Building High-Performance Native iOS Components in React Native

Need true power for platform-specific APIs (ARKit, Core ML) or heavy calculations? Native code is your answer.

Ananth from our team detailed the Old Architecture, where the asynchronous bridge dictates all returns must be handled via Callbacks or Promises.

Read Part 1 here: https://surya-digital.com/blog/2025-12-16/building-native-ios-components-in-react-native

Up Next: Part 2 will dive into the future with the New Architecture!

#React Native #iOS #MobileDev #Swift

Surya Digital - Building Native iOS Components in React Native - Part 1 (Old Architecture)

This guide walks through how to build native iOS components for React Native using the older architecture. It explains when and why you might need to write native code, like when you need access to iOS-specific features, better performance, or existing native libraries. It also breaks down the differences between the old bridge-based approach and the newer JSI-based setup. Along the way, you’ll learn how to create native modules and UI components step by step, with clear examples in Objective-C and Swift. Important basics like common React Native macros and ways for JavaScript and native code to talk to each other—using callbacks, promises, and events—are covered in a straightforward way.

Apple CEO Tim Cook isn’t retiring imminently, with recent reports on him stepping down in the first half of next year simply being premature. Here are the facts in the latest Power On: https://www.bloomberg.com/news/newsletters/2025-11-23/apple-ios-27-snow-leopard-like-quality-focus-ai-features-tim-cook-retirement-mibq7jv8?srnd=undefined

RE: https://mastodon.social/@suryadigital/115524344998017469

I recently wrote about our stance on AI, specifically for junior software engineers.

Hot take / TL;DR version: No AI.

For the nuanced version see https://surya-digital.com/blog/2025-10-17/ai-for-software-engineers

Sometimes, the simplest tools: pen & paper — spark the best ideas.

In his latest blog, Sai shares how sketching and writing things down can boost clarity, creativity & problem-solving.

Read the full blog here 👉 https://surya-digital.com/blog/2025-10-08/sketching-and-writing-things-down

#Design #UX #SuryaDigital #ProductDesign #Innovation

Surya Digital - Sketching & Writing Things Down Reduce My Anxiety as a Product Designer

This is more opinionated view of how sketching and writing things down has reduced my anxiety, and made me work in a structured way as a product designer.

Libghostty is coming. 👻 The first library will be libghostty-vt: a zero-dependency (not even libc!) library that provides an API for parsing terminal sequences and maintaining terminal state, extracted directly from Ghostty's real-world proven core. https://mitchellh.com/writing/libghostty-is-coming
Libghostty Is Coming

Mitchell Hashimoto

Our Tech Lead, Sahil, just published a new blog on how to build a scalable theme system in React that keeps your UI consistent, flexible, and easy to maintain as your product grows.

If you’re working with React and design systems, this post is a must-read: https://surya-digital.com/blog/2025-09-23/building-a-scalable-theme-in-react

Let us know your thoughts in the comments below!

#React #SoftwareDevelopment #UI #DesignSystem #Software #SuryaDigital

Surya Digital - Building a Scalable Theme System in React

Building scalable theming in React involves treating themes as centralized configuration objects rather than scattered CSS hacks. This post guides you through designing flexible, maintainable, and portable theme systems using React Context, inline styles, and sound architecture. It covers common pitfalls, project scaling, and UI library integration.

Curious about how PostgreSQL manages concurrent transactions?

Here is a blog post that breaks down the crucial concept of transaction isolation levels in PostgreSQL. It explains the different levels—`READ COMMITTED`, `REPEATABLE READ`, and `SERIALIZABLE` and the specific anomalies (like dirty reads and phantom reads) each one prevents.

Read the full blog here: https://surya-digital.com/blog/2025-09-03/transaction-isolation-level-in-postgre-sql

#PostgreSQL #Database #TechBlog #SoftwareDevelopment

Surya Digital - Transaction Isolation Level In PostgreSQL

Most developers assume they know what `READ COMMITTED`, `REPEATABLE READ`, and `SERIALIZABLE` really mean, but PostgreSQL’s MVCC engine has a few surprises in store. This blog unpacks the real behavior behind each isolation level, exposes the anomalies they allow (and why), and shows how PostgreSQL bends the classic SQL-92 model in clever, performance-conscious ways. If you care about data consistency, concurrent transactions, or why `SERIALIZABLE` isn’t just a buzzword, this is the deep dive you didn’t know you needed.

We built a custom document search engine with AI capabilities, challenging the one-size-fits-all approach of tools like #ChatGPT & #Perplexity

The key? Acknowledging that complex PDFs with handwritten notes and diagrams need more than a simple text extraction.

This hybrid approach to RAG isn't just a tech project; it's a solution to a real-world problem of information loss.

Get the full story on how we did it: https://surya-digital.com/blog/2025-08-13/rag-powered-search-index

#AI #ChatGPT #OpenAI #Perplexity #SearchEngine

Surya Digital - Building a Hybrid Document Search Engine with Typesense and LLMs

Building an effective document search system requires more than basic PDF parsing. This comprehensive guide demonstrates how to create a hybrid RAG-powered search engine using [Typesense](https://typesense.org)’s dual indexing capabilities, custom PDF processing for mixed content types, and AI-driven visual context preservation. Learn how to handle complex documents with handwritten annotations, extract structured data from tables, and deliver accurate results by combining traditional text search with modern vector embeddings and LLM integration.

https://simonwillison.net/2025/Aug/5/gpt-oss/

Looks promising, waiting to see how well the tool calling works.

OpenAI’s new open weight (Apache 2) models are really good

The long promised OpenAI open weight models are here, and they are very impressive. They’re available under proper open source licenses—Apache 2.0—and come in two sizes, 120B and 20B. OpenAI’s …

Simon Willison’s Weblog