Home
Maheep Kumar's Webspace
Cancel

Nothing to display

This week, nothing happened. Cuz, I accidentally damaged my MacBook Pro’s display when the lid snappily closed on the dangling charging cable while lifting it (found another use of type-C cable ...

Converting SF Symbols to shapes

Introduction This Diwali, I came across a festive-themed Apple icon on Apple India’s website, and set out to recreate it. Here’s the original look for reference: Enter SF Symbols SF symbols is a...

SweetieTestBrowser: A simple browser for the ages

My recent adventures with a job search led me to Kagi Inc. where I was asked to create a simple web browser that worked on macOS 10.14+ and had the Compact Tabs functionality similar to (but differ...

Generating permutations of a string in Swift

This post is a presentation of my attempt to create an iterative way to generate permutations of a string in Swift, similar to C++ STL’s next_permutation function. I got the idea to solve this prob...

MK Downloader progress log - Part 2

Most of this week was spent studying the innards of URLSession downloadTask API and some of its pitfalls. To recap, I had planned to migrate my download code from using the new async/await bytes A...

MK Downloader progress log - Part 1

This is the first in a series of planned logs of my current project MK Downloader, that I’ve begun this week. I’ve spent roughly 2 hours a day writing code for this project (and almost an equal amo...

Early troubles with Heterogeneous Computing

A very interesting article on macOS’s M1-CPU core management made the front page of HackerNews today. For those who are wondering what heterogeneous computing is, here’s an intro from the article i...

Detect app launch at login on macOS

WARNING: This post is no longer relevant for macOS 13 “Ventura” and later versions, since Apple has made changes to how login items are registered. Be careful. The Problem While working on KiW...

On USB-C Port

USB-C is now powering almost all of my mobile devices, except my oldest device, the 2017 iPad Pro 10.5-inch, which still rocks. Lately, it seems my OnePlus 6’s USB-C port is loosening and seems to...

macOS Software Checklist

TextSniper: OCR any printed text on your screen. Swish: The application site claims it as the missing gesture layer for macOS. Its a whole bunch of useful gestures that have made my life easie...