HNHacker News
TopNewBestAskShowJobs

srathi

2,124 karma · joined August 6, 2012

https://www.linkedin.com/in/ssrathi/

SDM @AWS LakeFormation (Palo Alto, CA)

submissionscomments
srathi··on Is my blue your blue?
If you want to explore it further, look up the philosophical aspects of the hard problem of consciousness. [1]

[1] https://en.wikipedia.org/wiki/Hard_problem_of_consciousness

srathi··on Home Depot GitHub token exposed for a year, granted access to internal systems
Not as bad as Costco. Their app and website are still stuck in 90s.
srathi··on <dialog>: The Dialog Element
Ublock origin is not able to filter out <dialog> elements without breaking scrolling and other buttons in most cases (depending on how the site is implemented). Is there a generic way to disable these without affecting the rest of the site?
srathi··on In a Git repository, where do your files live?
It is fun to explore the Git internals! Some time back, I used it to learn Golang [1]. Two birds with one stone!

[1] https://github.com/ssrathi/gogit

srathi··on DoorDash lays off 1250 employees
Dubai has almost 90% of population as immigrants! TIL.
srathi··on Git’s database internals I: packed object store
Shameless plug: I gave a tech talk on this at my last company, and implemented some of these in Golang as a learning exercise [0]. While it is not mandatory to know the internals, but doing so helps a lot when you occasionally encounter a git-gotcha!

[0] https://github.com/ssrathi/gogit

srathi··on Beej updated the classic Linux network programming guide
> fork() takes no arguments, and CreateProcess() takes about 48 billion arguments.

I chuckled!

srathi··on NPM security update: Attack campaign using stolen OAuth tokens
Shameless plug: I created a Golang utility to scrub passwords from a deeply nested struct, before logging, at Nutanix some time back [0][1]. We also run an automated test to try out all operations with a known password, and then ensuring that it is not present in any of the log files.

[0] https://github.com/ssrathi/go-scrub [1] https://www.nutanix.dev/2022/04/22/golang-the-art-of-reflect...

srathi··on GitHub saved plaintext passwords of NPM users in log files, post mortem reveals
Shameless plug: I created a Golang utility to scrub passwords from a deeply nested struct at Nutanix some time back [0]. A post describing it in detail [1].

[0] https://github.com/ssrathi/go-scrub [1] https://www.nutanix.dev/2022/04/22/golang-the-art-of-reflect...

srathi··on Ask HN: Any recommendation for a good History of Science book?
Quantum - by Manjit Kumar, is a very accessible book covering the history of quantum mechanics.
srathi··on New credit card rules in India: recurring card payments to be affected
Willow.tv is a major culprit here. There is no cancellation button on the website, and you are required to email a support person multiple times (back and forth with retention offers) for cancellation. They are in violation of CA law that prohibits this behavior.
srathi··on The Golden Age of Quantum Physics
Quantum by Manjit Kumar is my favorite. It is a novel like walkthrough of quantum development over the years.
srathi··on Google's New AI Photo Upscaling Tech Is Jaw-Dropping
CSI: NY was way ahead of its time! :-)
srathi··on Welcome to Nestflix
https://nestflix.fun/titanic-ii/

This one had me dying with laughter! I read the punchline in Richard Attenborough's voice.

srathi··on Show HN: Inflation-adjusted Hacker News
https://redditsearch.io may help a bit with these types of queries. Bummer that there is no native way to do so.
srathi··on Gitlet.js – Git implemented in 1k lines of JavaScript (2015)
Shameless similar plug: I recently implemented parts of git in Golang as a learning exercise.

https://github.com/ssrathi/gogit

srathi··on TLS Mastery
I recommend this blog post as a good primer for TLS.

http://www.moserware.com/2009/06/first-few-milliseconds-of-h...

srathi··on Show HN: Places to watch ducks if you're sick of everything
Awesome. Just submitted Sunnyvale Community Center location, which has a pond with a lot of ducks.
srathi··on Show HN: Golang library to act on structure fields at runtime
Golang library to act on structure fields at runtime. Similar to Python getattr(), setattr(), hasattr() APIs.

This package provides user friendly helper APIs built on top of the Golang "reflect" library. Reflect library is tricky to use due to its low level nature and results in a panic if an incorrect input is provided. This package provides high level abstractions on such tricky APIs in a user friendly manner.

srathi··on Four-day week means 'I don't waste holidays on chores'
Is the 4th off day separate for everyone, or is it Friday all the time? If everyone takes Friday off, then we end up in the same situation as before where no chores are possible on Friday. Can one pick any day from Mon-Fri as the off day.
srathi··on Some Git internals
Good intro.

Shameless plug: I recently picked up Golang and used it to implement a mini version of Git CLI using these internals [1].

[1] https://github.com/ssrathi/gogit

srathi··on After centuries, a seemingly simple math problem gets an exact solution
First, imagine a spherical cow!
srathi··on Facebook Container for Firefox
Do the containers and their settings sync across devices as part of Firefox Sync? Last time I tried them, I had to recreate them on each device.
srathi··on How Many Decimals of Pi Do We Really Need? (2016)
I assume the later part of you comment refers to the (in)famous attempt by the Indiana state assembly to legalize Pi to be exactly equal to 3.
srathi··on Show HN: ugit – Learn Git Internals by Building Git in Python
Awesome. I did the same while learning both Golang and git, and implemented parts of git in Golang. [0]

[0] https://github.com/ssrathi/gogit

srathi··on How to escape from an erupting volcano
And yet protagonists survive after going through a pyroclastic flow routinely in the movies, such as Jurassic World: FK and 2012. It is a recurring trope in movies!
srathi··on Buying a single character domain – and 3 character FQDN – for £15
This is already not an issue. Unicode doesn't assign a separate codepoint to any flag. Each flag is represented by a two character ISO code using regional indicator symbols (such as IN for Indian flag).

https://en.wikipedia.org/wiki/Regional_Indicator_Symbol

srathi··on Where do argc and argv come from?
I thought the same. Now I think it is simply argument-count and argument-values. Not sure if that is correct!
srathi··on Ask HN: What's the worst piece of software you use everyday?
Proofpoint spam filter! Drives me nuts!
srathi··on Santa Cruz, California bans predictive policing in U.S. first
Funny, I just rewatched Minority Report last night! I had no idea that precrime was an actual thing.
Page 1 of 5Next →