Guess who’s back? Yep, it’s me! I know you’ve been missing these updates like crazy, right? Life took me on a bit of a detour, but here I am, ready to roll out more of these—fingers crossed I keep up! Welcome to the comeback edition, #7. Let’s make it epic! Say a big hello! 🎉
🚀 AI Just Got Real with New Relic
New Relic has released an AI application monitoring platform. If you are building some cool AI-powered things like me, the platform could be a game-changer for you. Check it out here.
🎨 Create Your Own Cartoon with Faces JS
Remember the Nintendo Mii characters? What if you could create your own? Faces JS lets you do just that with a few lines of JavaScript. Why not give it a whirl and show us what you come up with? Check it out here.
Github Workspaces gets a Copilot upgrade
GitHub Copilot Workspace just got a major upgrade! Now, it can analyze your code, understand issues, and suggest a step-by-step solution in simple language. It's like having a coding expert right in your editor. Let me warn you, though: copilot workspaces do struggle with complex problems.
🌟 Shout-Out from Karachi: Introducing 'Karachi Chal'
It's time for some shameless self-promotion. I was in Karachi a few days ago, attending the Build with AI hackathon hosted by GDG Kolachi. I got playing with Google Gemini and ended up building Karachi Chal, an AI-powered Itinerary planner for the city of lights. I blogged about it here.
📲 Say Hello to the Popover API
If you've ever felt like something was missing from your life, rejoice! The popover API is here to fill that void. Now generally available, it’s ready to cram all sorts of content into your web experience—because who doesn’t need more popups in their life, right?
🤖💻 Meet the LLM Chatbot Price Calculator
My co-founder at Botterfly, the ever-inventive Nauroz, has whipped up something pretty cool. It's an LLM Chatbot price calculator! Whether you’re a tech newbie or a savvy developer, this tool is handy.
📚 Become a Tech Guru with Ilya Sutskever’s Reading List
Ilya Sutskever says if you read this stack of research papers, you'll grasp 90% of what's hot in the field right now. So, it's the cheat sheet to sounding super bright in your next tech meetup!
🐞🔧 Code Challenge
Here is a slightly janky MedianFinder Python class. It has a few logic hiccups and issues. Can you fix it?
import heapq
class MedianFinder:
def __init__(self):
self.low = [] # Max heap for the lower half
self.high = [] # Min heap for the upper half
def addNum(self, num):
heapq.heappush(self.low, -num)
if self.low and self.high and (-self.low[0] > self.high[0]):
heapq.heappush(self.high, -heapq.heappop(self.low))
if len(self.low) > len(self.high) + 1:
heapq.heappush(self.high, -heapq.heappop(self.low))
if len(self.high) > len(self.low):
heapq.heappush(self.low, -heapq.heappop(self.high))
def findMedian(self):
if len(self.low) > len(self.high):
return -self.low[0]
else:
return (self.high[0] - self.low[0]) / 2
# Example usage
medianFinder = MedianFinder()
medianFinder.addNum(1)
medianFinder.addNum(2)
print(medianFinder.findMedian()) # Output should be 1.5
medianFinder.addNum(3)
print(medianFinder.findMedian()) # Output should be 2






