HNHacker News
TopNewBestAskShowJobs

munawwar

36 karma · joined March 31, 2016

submissionscomments
munawwar··on Show HN: Nue – Apps lighter than a React button
BTW preact + hooks + router (preact-iso) is 10 kb. It's a good starting point.

And SVG icons should use svg `<use>` tag and shouldn't be counted in code size.

munawwar··on Show HN: Cross platform binary to launch native binary using Cosmopolitan Libc
Yes. In the case mentioned binaries written in Go (goaws). I can add all the goaws binaries into my git repo, and have a single cross platform entry point devs can call without figuring out which one is for their OS.
munawwar··on How to Escape a Container
AWS lambda and fly.io uses firecracker VMs internally. So I think it can replace containers to some extent.
munawwar··on New UUID Formats
I took a shot at the math behind this at https://www.codepasta.com/databases/2020/09/10/shorter-uniqu...

Using the equation listed in the article I couldn't generate a collision so far. Yet, I still check (in code) for id collision, and pick new id, just to be 100% sure.

munawwar··on Why Jony Ive left Apple to the ‘accountants’
It does, but at the most inconvenient time always :D
munawwar··on Why Jony Ive left Apple to the ‘accountants’
Its battery lasts for several weeks. So I never realize it's battery hitting close to zero. And unluckily its hit bottom several times at the beginning of a work day. It wouldn't have hurt if they made the thing useable while plugged in.
munawwar··on Ask HN: Beyond AWS/Azure/GCP, what cloud providers should I know more about?
planetscale (if I need rdbms) or firestore or dynamodb (if I need just document). I checked latency of planetscale and dynamodb from frankfurt,paris,singapore from DO/linode/scaleway to db in same region; these are low latency (mostly single digit).

For single server, I'd just use sqlite.

munawwar··on Ask HN: How do you accept your place in the world?
There is always places people can contribute. Look at some terrible softwares.. medical, insurance, 3pl logistics etc.. they don't need extraordinary brilliance to improve.. just UX, better systems, process and lots of area to cover.

If you can improve one industry a bit more than it is today, isn't that a sufficient place in the world?

munawwar··on Science is needed to find how sars-cov2 reached humans
Was it linked to this one? https://www.vanityfair.com/news/2021/06/the-lab-leak-theory-...
munawwar··on Matrix has become the messaging app of choice for top-secret communications
Wonder what people here think of signal. I find it more user friendly than matrix. Any info about it's security vs matrix?
munawwar··on Show HN: The simplest React state manager now at stable release
The simplicity goes away when supporting SSR. You have to depend on multiple stores (one per request) being injected "from the top" (e.g via Context Provider).

This is my take on the problem -> https://github.com/Munawwar/react-global-states/tree/ssr

munawwar··on Ask HN: Interesting problems to solve for Shopify merchants?
There are so many other real problems

- starting out, not knowing what carriers available in your target area and their real performance/SLA, until you try them out. This info is critical to do business.

- for merchants with lots of products the photo sessions + touch up takes a lot of time. Any way that can speed up the process would be helpful.

- large catalogs can't manage their SEO without some automation. Shopify doesn't give this out of the box. There are apps in this space though thankfully.

- merchendizers managing large catalogs can make many mistakes when adding product to website. There's got to be a customizable "checker" that could check if mandatory fields are filled, spell check etc.

- let's say you want to slash a collection's price by 10% for a sale. This can't be done easily without manually changing each product. (coupons not a solution, as price has to reflect on ad channels). Any way to do bulk actions like these faster?

- lots of customers enter in wrong email or phone number or don't respond.. is there a way to add optional OTP entry step after order placement?

- shopify (and most themes) don't give customers ability to request and manage returns. Their option is contacting customer support.

I guess you get where I am going with this.. look at the operational issues businesses face, there are opportunities there.

munawwar··on The architecture behind a one-person tech startup
Hetzner, Scaleway..
munawwar··on Actually Portable Executables
So it's like a compatibly layer like wine except built into the binary. Does this bloat the binary as well?
munawwar··on Losing faith in UX
lol similar to the blog, I just got tricked into a prime membership. I'd swear that I didn't click the button in their full screen "upsell" page in the middle of the checkout process.. but yet money gone and only half refund. Their customer contact details is hidden so deep, that it took me 10 minutes to find out. Finally contacted them and got the remaining amount as store credit. Experiences like these puts me further of amazon. Now think about the definition of good UX.
munawwar··on Rollerball Pens of 2021
no one in here tried uniball laknock?

0.7 and 1.0 gives nice writing experience. doesn't spread ink around or to underneath paper. ink doesn't jam (once? in last 5 years..) doesn't get damaged on light/few falls (on heavier falls the retractable action could get damaged).

overall lasts long for the price tag (the one I am using now is close to 1 year old, still writing well)

munawwar··on Geometrize: Turn Images into Geometric Primitives
I tried this recently:

https://gist.github.com/Munawwar/6ac51e33e901d89750ee61319d0...

The challenge is making it look pretty and at same time have a small svg output and at the same time not taking forever to generate (it's perf gets exponentialy slow). Took some time to tweak it to the settings I used.

It looks nicer than blurhash.. however blurhash is way smaller and might be more practical alternative

munawwar··on Cydia, the original app store, sues Apple on antitrust grounds
If there is enough incentive, OSS devs would create some libraries with common interface across stores.. but there is no incentive, as android's main store is google's.
munawwar··on Spiders Can Fly Hundreds of Miles Using Electricity
please put 2018 into the title
munawwar··on New for AWS Lambda – Container Image Support
Would this end up cheaper than fargate spot pricing?
munawwar··on Roblox pays 26% of its revenue to Apple/Google for payment processing
More importantly, Apple doesn't allow using any other payment processor other that their own.

Even if the product/service you are selling is mostly outside of apple ecosystem (like email or cloud storage or something like that, where web users pay only 2-3% payment processor fee), Apple won't allow you to use your existing payment processor via a link to your website. If that's not anti competitive behaviour then what is?

Hope EU legislators take action soon.

munawwar··on Apple Announces App Store Small Business Program
Most payment processors take like 2% to 3.5% of payment amount for example. This should be the range for IAP. And payment processors are rich just with this %. But if that's not enough, apple already charges $99/year/developer for access to the store.

Some may disagree, saying "bringing in customers is worth more than that". Regardless of that discussion, the anti competitive move is that there are no alternative app stores on iOS. Also, no alternative payment processor in the apple store.

munawwar··on Python overtakes Java to become the second-most popular programming language
IMO I doubt switching language would help. It's the same for any language. You can learn to code easy, but learning to write good code/architecture + working together in a large team is really hard.. takes lots of experience and time till the team can come together.
munawwar··on Introduction to Google Cloud Functions
Does anyone feel like cloud functions are much more expensive than aws lambda + api gateway? I think so..
munawwar··on Google is testing smart speakers feature that would remove wake word requirement
This sounds scary. AFAIK wake word activates the advanced speech recognition. Wake word speech recognizer is a more "primitive" speech recognition model, which can't understand anything other than the words it was trained for (like "Hey Google" or "Alexa").

So, now, removing it means the advanced speech recognition runs all the time? Which is always 'on' and can understand everything spoken? Sounds like potential privacy invasion.

munawwar··on Apple Does Not Need to Return Fortnite to App Store, Judge Rules
Apple will only change course if devs start pulling off their apps from their store. Till then, I don't think anything significant would happen.
munawwar··on Understanding How UUIDs Are Generated
Don't know about the OP, but there are some rarer cases, like dynamodb, where more indexes means more $, you can avoid creating a timestamp column & new index by having a sortable id column.

But even without the need to sort by id, one of the advantage is that sequential ids makes it easier for databases to fetch data, as data stored ends up being more sequential in disk as well.

More reading on that:

- https://eager.io/blog/how-long-does-an-id-need-to-be/#locali...

- https://www.percona.com/blog/2019/11/22/uuids-are-popular-bu...

munawwar··on Understanding How UUIDs Are Generated
base58 avoids 0 as it looks similar to capital O in some fonts. Seems more reasonable than U.
munawwar··on Indian robot climbs trees to harvest coconuts
Also, remind me.. the pricing of coconuts are low as well right? so the labor costs needs to be capped for profitability. But overall it's still odd..
munawwar··on Programming Sucks
lol.. what's MOD-L language? The only reference I can find is that it's part of some simulation software named ExtendSIM
Page 1 of 2Next →