Zarar's blog

https://zarar.dev/ (RSS)
visit blog
How I Lost $210 to a Stripe Dispute Despite Proof
12 Nov 2024 | original ↗

Note: This one has an HN thread. I lost a Stripe dispute of USD $210 because the customer that purchased tickets from my site used an email that he claimed to his bank was not his. Stripe and the bank asked me to provide evidence that this wasn't fraudulent and I sent them: The invoice sent to the email the customer entered The actual tickets...

The Wealth Transfer Nobody Talks About
10 Nov 2024 | original ↗

American people don’t seem to see what’s right in front of them. In this short post I’ll tackle one glaring phenomenon that gets zero air time from any of the Western media, be it the traditional propagandists like CNN, Fox and MSNBC to the more progressive style of outlets. It is this: the continuous wealth transfer that is happening from the...

Closing the Raptors Republic chapter of my life
30 Oct 2024 | original ↗

Raptors Republic was acquired by Better Collective last week marking an end to my involvement with the company I founded in 2008 alongside Sam Holako, Brandon Larabie, Scott Phillips (rest in peace) and Josh Budd. The decision to sell the company was a culmination of a few things: Our expenses (primarily salary) were too high and we simply didn't...

Working around Postgres forcing DISTINCT fields to also be ORDER BY fields
21 Oct 2024 | original ↗

I've been using Flop for pagination in my Elixir app and learned that anytime a DISTINCT clause is used in Ecto when using Postgres, the columns in the clause are prepended to any ORDER BY clauses in the query. This was causing a lot of problems for Flop since it uses specific columns for cursor-based pagination and doing a DISTINCT product.id...

Excited about Zero Sync
12 Oct 2024 | original ↗

I followed the announcement of onestack.dev which is embracing what I think of as the idea of a "complete stack", a singular project for all your data services, iOS/Android apps, and web. It's an ambitious project which uses Tamagui for styling and zerosync.dev for data retrieval and caching. This is the first time I'm introduced to an idea like...

Early thoughts on React Native/Expo decision
2 Oct 2024 | original ↗

I have to make an iPhone app for ticket scanning at the door and chose React Native/Expo as the stack. I had implemented this feature on the web using QR Code scanning libraries and things more or less worked fine. The main issues were the camera feeling a little clunky, especially when the browser tab went into the background, the constant asks...

Good software development habits
5 Sept 2024 | original ↗

This post is not advice, it's what's working for me. It's easy to pick up bad habits and hard to create good ones. Writing down what's working for me helps me maintain any good habits I've worked hard to develop. Here's an unordered list of 10 things that have helped me increase speed and maintain a respectable level of quality in the product I'm...

Symptoms of a System in Stasis
26 Aug 2024 | original ↗

Here's an unordered list of symptoms that might indicate more profound issues with an organizational culture - one that's preventing it from delivering on its true potential. You're "doing agile" by using some sort of iterative development pattern, and have gained enough efficiencies compared to any other way of working that you've ceased trying...

Tailwind balances abstraction and transparency
21 Aug 2024 | original ↗

.blink_me { animation: blinker 3s linear infinite; } @keyframes blinker { 50% { opacity: 0; } } I remember writing my first CSS file in Dreamweaver (still around) and it blew my mind that I no longer needed to use font, center, b, i, s, u and blink. The idea of separation of concerns between content and design was revolutionary (or at...

The anatomy of a 2AM mental breakdown
20 Aug 2024 | original ↗

Note: this made it on HN somehow. Around 2AM this morning I had a realization that this was the most stressed I have ever been. On verge of a complete breakdown. Why? Because I noticed around 10PM that jumpcomedy.com was entirely broken with all HTTP POST calls made by RTK Query failing. Nothing worked and though I had deployed recent changes,...

↑ these items are from RSS. Visit the blog itself at https://zarar.dev/ to find other articles and to appreciate the author's digital home.