HNHacker News
TopNewBestAskShowJobs

ankitml

382 karma · joined December 29, 2012

submissionscomments
ankitml··on The only scalable delete in Postgres is DROP TABLE
This is directionally correct approach. Deleting a large chunk of rows, in a large table does lead to unpredictable-bad behaviour for a while until those dead tuples are handled.

I have used a very similar strategy by forking repack client https://github.com/reorg/pg_repack/pull/326 This works out of the box with rds/cloudsql etc.

ankitml··on New quantum state of matter found at interface of exotic materials
So your claim is spin ice as a concept doesnt exist in particle physics and would not be discussed outside solid state?
ankitml··on Gemini 2.5 Deep Think
I have ultra. Will not be renewing it. Useless, at least have global limits and let people decide how they want to use it. If I have tokens left, why can't I use it for code assist?
ankitml··on Photon transport through the entire adult human head
Hypothetically my ancestors were cheetah and not hominoid apes. One needs to prove foundational hypothesis before larger claims that can be built on top of those.
ankitml··on Photon transport through the entire adult human head
Teleport is not a thing a photon can do. Leave alone across brain
ankitml··on US Streetlights Are Turning Purple
Design choices must include failure modes. IMHO, utterly stupid to only consider happy path.
ankitml··on Watching AI drive Microsoft employees insane
GitHub is not the place to write code. IDE is the place. Along with pre CI checks, some tests, coverage etc. they should get some PM before making decisions..
ankitml··on Haskelling My Python
It is possible to test the chaining though, if you know your data well. If not, those edge cases in the data quality can throw things off balance very easily.
ankitml··on Dead trees keep surprisingly large amounts of carbon out of atmosphere
Dead trees can exist as furniture, flooring and buildings too. Stored carbon with ancillary usage.
ankitml··on Google is publishing the home addresses of developers without their consent
Amazon did that to a physical product my wife is selling. I was very annoyed. But it ended up being a configuration but default being `show address` state is definitely annoying.
ankitml··on I tried making artificial sunlight at home
you do you. NIR is the part of sunlight that makes you "feel" good or alive or whatever nice thing you are looking from being outside.. Ill stick with NIR is essential component for calling stream of photons as sun-like.. or not sun-like.
ankitml··on I tried making artificial sunlight at home
Yep, that was my first assessment. Cant call it sun without NIR.
ankitml··on Sharding Pgvector
Well, I have a brute force strategy for pgvector working reasonably well. Individual, partial indexes. It works for all those queries with category_id=<> clauses. You only need an index for larger categories, for categories with rows below a threshold you dont need index a KNN/dot product would work.
ankitml··on Sharding Pgvector
Depends on the hardware, sharding layout, bulk/individual insert and table bloat. Looks like you are missing pg_repack..
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
get a broad spectrum red light bulb, that is most well understood and is least risky. Cons is the targetted spectrum would be only a small portion of it but good thing is it is a 4$ cheap test. It worked for me for smaller issues, like minor burns, cuts etc.
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
Vitamin D is not an outcome of standing by fire. It is from UV spectrum which is entirely absent from fires. It needs high temperature fire like fusion to be emitted. Totally doable by sun but not by your campfire.
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
Morning and evening is entirely infrared (80-90 percent with rest of it visible). No UV.
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
i dont know what you mean by science. There are literally 1000s of research papers showing mitochondrial "horsepower" with red light on every type of tissue. Cells heal themselves as first thing when they get extra energy. Do you want your neighborhood clinic to validate before trying some light samples out?
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
skepticism without homework is stupidity. The above snark demonstrates effectively.
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
infrared, yes. Although depends on skin colour wrapping the skull. Melanin absorbs everything under the sun. It has very high absorption of UV but somewhat absorbs infrared too in this range of frequencies. Darker the color of skin, higher the melanin and higher the absorption by skin.
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
whats the pulse frequency you use?
ankitml··on 670nm red light exposure improved aged mitochondrial function, colour vision
There are more than 1000 similar papers on red and near infrared. All pointing to its impact on mitochondria. Near Infrared (NIR) penetrates few cm, leading to its mitochondrial impact in muscle cells too.

https://scholar.google.com/scholar?hl=en&as_sdt=0,5&q=near+i...

ankitml··on Amazon and iRobot call off their planned acquisition
My roomba was cleaning much better 4 years ago than last 2 years, their app was slick 4 years ago and clunky in last 2 years. Random Product innovations degraded the core product. They did get complacent.
ankitml··on Ask HN: What is one thing that has improved your energy the most?
I am eating lots of plants along with meat, but I would say my 75% calories now come from meat. I dont have stomach acidity (i used to have it since grade 4), frequent migraines, IBS. I have increased mental clarity, better focus, better sleep.

I would attribute most of these changes to grains/gluten reduction than meat adoption.

ankitml··on Ask HN: What is one thing that has improved your energy the most?
Worth trying and testing. After 32 years of eating vegetarian, this radical change was worth every penny.
ankitml··on Ask HN: What is one thing that has improved your energy the most?
Switching to a mainly meat based diet, increasing protein and reducing industrially produced foods.
ankitml··on Light can make water evaporate without heat
Quantum effects can change thermodynamic parameters. If something seems bizzare in thermodynamic models, next step is to understand quantum physics. This includes modification of energy needed for reaction to phase change energy needs.
ankitml··on Pg_bm25: Rust-based full text search engine in Postgres
Thanks, this is interesting. Are you considering WAND support too in this?

https://www.elastic.co/blog/faster-retrieval-of-top-hits-in-...

ankitml··on Ask HN: What are interesting new developments in databases related fields?
Doing more math in databases. eg. PostGIS, vector math, ML type workloads supported by declarative SQL.
ankitml··on India’s largest bank SBI leaked account data on millions of customers
Cant use password manager either for most of them. example ICICI (one of the biggest private bank) doesnt allow you to paste passwords either. Only way to use password manager is to meddle with view source to allow pasting.
Page 1 of 9Next →