HNHacker News
TopNewBestAskShowJobs

chana_masala

550 karma · joined July 7, 2021

submissionscomments
chana_masala··on Where in the world are Trader Joe’s warehouses? (2015)
I really enjoy this site's design. At first I thought that LocalCDN was blocking some CSS/JS but to my surprise, no - it just looks that way. I like it.
chana_masala··on What the Omicron wave is revealing about human immunity
I'm glad I found this thread and thank you for not self censoring this time. I've very often done the same. And yes, the vBulletin style forums is something I really miss.
chana_masala··on I used indie hacking to sponsor my own green card
Why the downvotes? I am a Hindu and this is a sincere answer and actual way of having influence on where you're born. Any other ideas?
chana_masala··on I used indie hacking to sponsor my own green card
> If only one could control the place of birth…

Puny aur punarjanm

chana_masala··on How we bootstrapped our SaaS to $1M ARR
> I fail to see the benefit of subscribing to a viewpoint that is so black and white, and why definition that allows for no exception is necessary.

Maybe look at it in a different situation. Imagine someone punched you in the face and when you confront them about it they saying that you're holding to silly semantics about what it means or does not mean to get punched in the face.

chana_masala··on Mississippi is 37th state to legalize medical marijuana
Probably the time investment. It takes a lot longer for trees to be ready for harvest.
chana_masala··on Singapore prime minister Lee Hsien Loong’s Sudoku solver (2018)
Eh... The moderator transparency here is very low. Even reddit has moderation logs.
chana_masala··on Reduced-hours software development engineer position at Amazon
I'd say it's evidence based skepticism
chana_masala··on Singapore prime minister Lee Hsien Loong’s Sudoku solver (2018)
Why didn't you restore the original comment? It doesn't seem to break any rules. The most frustrating aspect of HN is that there is no easy way to have meta discussion about the rules or the actions of users.
chana_masala··on An introduction to type programming in TypeScript
Here's an implementation of a prime finding algorithm in pure (only type-level) Typescript.

    type IsPrime<
      MaybePrime extends number,
      NumAsTuple extends unknown[] = [],
      RemainderAsTuple extends unknown[] = NumAsTuple,
    > =
      MaybePrime extends NumAsTuple["length"]
        ? NumAsTuple["length"] extends RemainderAsTuple["length"]
          ? NumAsTuple["length"] extends (1 | 2 | 3 | 4 | 5 | 6)
            ? NumAsTuple["length"] extends (1 | 2 | 3 | 5)
              ? true
              : false
            : NumAsTuple extends [infer _, infer _, infer _, infer _, infer _, infer _, ...infer Rest]
              ? IsPrime<MaybePrime, NumAsTuple, Rest>
              : false
          : RemainderAsTuple["length"] extends (1 | 2 | 3 | 4 | 5 | 6)
            ? RemainderAsTuple["length"] extends (1 | 5)
              ? true
              : false
            : RemainderAsTuple extends [infer _, infer _, infer _, infer _, infer _, infer _, ...infer Rest]
              ? IsPrime<MaybePrime, NumAsTuple, Rest>
              : false
        : IsPrime<MaybePrime, [...NumAsTuple, 1]>;
chana_masala··on I reversed a Node.js malware and found the author
Which game? bzflag is the only one that comes to mind, but I am not a gamer.
chana_masala··on The unreasonable effectiveness of one-on-ones
> I don't "schedule" deep work

You should try it!

chana_masala··on Career advice nobody gave me: Never ignore a recruiter
I legally changed my name two years ago and I still get recruiting emails addressed to my old name. It hasn't been on LinkedIn for equally as long, so I can only anticipate that my data was sold and my old name is cached in some database.
chana_masala··on Framework Raises $18M Series A
Well, repairable is a spectrum and for someone inexperienced it sounds quite daunting to repair their fridge's power supply. However the repairability that e.g. a Framework laptop has (swapping out new parts) is much simpler and requires little expertise.
chana_masala··on If everyone were vegan, only a quarter of current farmland would be needed
Yeah, surprised it's not flagged. I am vegan but arguing about it online just isn't worth it, so I'll grab some (vegan) popcorn with you.
chana_masala··on Royal Society cautions against censorship of scientific misinformation online
You open the newspaper to an article on some subject you know well. In Murray’s case, physics. In mine, show business. You read the article and see the journalist has absolutely no understanding of either the facts or the issues. Often, the article is so wrong it actually presents the story backward—reversing cause and effect. I call these the “wet streets cause rain” stories. Paper’s full of them.

In any case, you read with exasperation or amusement the multiple errors in a story, and then turn the page to national or international affairs, and read as if the rest of the newspaper was somehow more accurate about Palestine than the baloney you just read. You turn the page, and forget what you know.

– Michael Crichton

chana_masala··on Beancount: Double-entry accounting from text files
...and? How is that directly relevant?
chana_masala··on Beancount: Double-entry accounting from text files
Wow, I can't believe I haven't heard of Homebank [1] before. This looks very much like what I've been wanting. Thank you for the recommendation.

[1] http://homebank.free.fr/en/index.php

chana_masala··on Would you take free land in rural America?
Can you even really blame the consumers? That's like blaming the birds who eat at bird feeders instead of the people who put out bird feeders in cities [1]. Blame the corporations and builders.

[1] Bird feeders can contribute to the decline of native plants when birds who disperse the seeds in their scat feed at the feeders, their scat often lands somewhere where the seeds have no chance at germinating (sidewalk, mowed lawn etc)

chana_masala··on A pipe operator for JavaScript: introduction and use cases
I like the analogy your comment has inspired: JS is the Excel of programming.
chana_masala··on A pipe operator for JavaScript: introduction and use cases
This is a well reasoned perspective. After async/await I stopped obsessively keeping up with new JS features. The biggest thorns were gone.

Regarding classes, intuitively I agree, but I'm curious about your reasoning.

chana_masala··on Latin as she is spoke: How classicists tricked themselves (2019)
What I got from it is that Mary Bears assumes or implies that everyone has this struggle.
chana_masala··on Zim – A Desktop Wiki
Syncthing
chana_masala··on Two weeks later David Bennett is alive, his pig’s heart beating soundly
I was hospitalised for a month and didn't ask any questions, because I couldn't - I was dying. But if I had more capacity I would have requested vegan options. Once I came to I did refused any non vegan hospital food - which meant I only ate plain boiled potatoes.

So I was grateful for the medicines I received then that may have been tested on animals or may have had animal ingredients. But I still advocate and prefer medicines to not be tested on animals and to not contain animal ingredients. I think we have a vast amount of untapped technology that could avoid that.

chana_masala··on Two weeks later David Bennett is alive, his pig’s heart beating soundly
Am I reading this wrong? Isn't this how you'd do it?

> As of 2018, the most common procedure is to take a functioning heart, with or without both lungs, from a recently deceased organ donor (brain death is the standard) and implant it into the patient. [1]

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

chana_masala··on Two weeks later David Bennett is alive, his pig’s heart beating soundly
Maybe you could at least address the points I gave instead of plainly ignoring them and repeating the same argument? I already addressed this - we aren't in tribal times. We can even grow organs in the lab. We can also coordinate complex routes to securing organ donations. There are so many available options. And again, if a heart from a pig that died naturally could be found, I'd be all for it. I think it adds a more to control than already a trans species heart, but that'd be my ideal.
chana_masala··on Two weeks later David Bennett is alive, his pig’s heart beating soundly
Maybe I can add some nuance as a vegan (I'm vegan btw, and I use Arch btw). I think that it's amazing that this is possible, but where it seems unethical to me is that there still are many other ways we could route heart transplants from willing humans. I think the only way I'd find this ethical is if the pig died from natural causes. But that probably complicates using the heart. If a pig is killed for food and then the heart is used for this, it still wouldn't be ethical to me, because it's plainly not ethical to kill another being for one's benefit in a situation that is not purely for survival (everyone's favorite deserted island). A heart transplant is a situation of survival, but again - we should continue to explore human donors first.
chana_masala··on Deno in 2021
I had a weird experience on Libera.chat #node - I asked if anyone knew of an official #deno channel and ljharb's [1] reply was (something like) "deno is repeating all of the mistakes that JS has made in the browser" and the sentiment was that "deno sucks." I found it to be a strange comment.

[1] https://github.com/ljharb

chana_masala··on Deno in 2021
From the last I saw, coc is still more feature rich than native LSP in Neovim.
chana_masala··on Everything must be paid for twice
That's a ridiculously pedantic extension of what should be a common sense (I guess it's not so common) understanding.
Page 1 of 11Next →