Readit News logoReadit News
aadhavans commented on A list is a monad   alexyorke.github.io//2025... · Posted by u/polygot
gr4vityWall · 2 months ago
I think the most intuitive description for a monad I've ever seen is 'flatMappable'.

Context: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Usually articles that describe them in a very Math-y way go above my head. But the definition above was immediately clear (I saw it on HN).

I think this article is a bit more approachable than others I've read, but it still gets very confusing near the end.

aadhavans · 2 months ago
Could you elaborate on that? What does 'flatMappable' mean in this context?
aadhavans commented on NYC's Upset Election Was Drawn Along an Odd Line: Car Ownership   jalopnik.com/1895759/nyc-... · Posted by u/rntn
aadhavans · 2 months ago
Interesting news, but the source seems blatantly partisan.
aadhavans commented on Third places and neighborhood entrepreneurship (2024)   nber.org/papers/w32604... · Posted by u/WasimBhai
b0a04gl · 2 months ago
i remember koramangala, 5th block specifically, mid 2023. that blue tokai outlet next to roastery was ground zero. half of early stage bangalore was working from there. two pm to six pm you'd overhear: investor calls, pitch deck review, even product teardown with some YC alum. no seats inside so i parked at the outside bench near the window. wifi barely reached there. next to me this guy's debugging something on a steamdeck looking devkit. i half glance over and ask if it's AWS creds, he goes 'nah, it's some edge TPU , google keeps timing out cold starts'. we start chatting.

turns out he's building vision for offline-first retail. he's got no frontend, just a python backend. i scribble something on a napkin about fast-booting wasm modules from disk cache. 3 weeks later he pings me on telegram saying they got boot time down from 14s to 2.8s using a variant of that.

never met him again. never even learned his startup's name. but that entire bottleneck cleared because two people overheard a swear word near a bad socket.

we maynot recreate that on a discord channel. there's no incentive to overshare when you're not spatially co-located. bangalore 2023 worked because entropy was high and friction was low

aadhavans · 2 months ago
I grew up ~20 minutes from the place you're describing, and you just made me very nostalgic :D
aadhavans commented on Radio Garden   radio.garden/?2025... · Posted by u/LeoPanthera
wonger_ · 2 months ago
I've been enjoying Punnagai radio for a few months: https://radio.garden/listen/punnagai-radio/WU8eJqek

I don't know much about Indian/Tamil music, but it's catchy.

aadhavans · 2 months ago
I was fully expecting a radio station in Tamil Nadu, but this one's in Sri Lanka. I know there's a lot of Tamil people in Sri Lanka, but that's still pretty interesting!
aadhavans commented on Destination: Jupiter   clarkesworldmagazine.com/... · Posted by u/AndrewLiptak
ednite · 3 months ago
It is always fascinating to see how much influence authors and scientists have had on each other throughout history.

You sometimes see clear examples of how fiction fuels technology, and sometimes technology inspires fiction.

As a writer who hasn’t been published yet, I find that most of my stories start by imagining where today’s science might take us next, though every now and then, I catch a glimpse of something that feels truly original.

I'm curious if others here feel the same. Is the future mostly written by visionaries in fiction, or by the engineers and scientists bringing it to life? Or maybe it’s a union, intended or not, between both sides.

aadhavans · 3 months ago
I feel the same way, although I think technology's inspiration on fiction is stronger. Today's fiction, as you said, is simply tomorrow's science.
aadhavans commented on Ask HN: What are you working on? (April 2025)    · Posted by u/david927
akprasad · 4 months ago
As a side project, I'm creating resources for learning Tamil, my parents' native language:

https://akprasad.github.io/tamil/

It's been a lot of fun getting the basic tools going: transliterators, morphological generators and analyzers, and some other things on top. But the main goal is to improve fluency as quickly and efficiently as possible.

aadhavans · 4 months ago
As another Tamilian, thank you for making this! I'm fluent in spoken Tamil from my parents and I've learned to read and write at a basic level, but I'd never formally learned the language.
aadhavans commented on Ask HN: What are you working on? (April 2025)    · Posted by u/david927
aadhavans · 4 months ago
https://indiantranslate.com

It's a translation map of Indian languages - type in a word, see the translations across 22 languages.

I was inspired by this HN post (https://news.ycombinator.com/item?id=43152587), and wanted to make something similar for India (which has similar linguistic diversity). Translations are fetched with Google Translate, but I also display 'romanizations' (transliterated into Latin script), which are generated with a local ML model.

Now that it's done, I've mostly been working on a little Markdown-to-HTML parser in Haskell.

aadhavans commented on People say they’ll pay more for “made in the USA” so we ran a test   afina.com/blogs/news/made... · Posted by u/ericzawo
manmal · 4 months ago
> Nearly half (48%) say they’d be willing to pay around 10–20% more.

$110-120 for a $100 item, no?

aadhavans · 4 months ago
I believe they meant an additional $110, which would be a 110% markup.
aadhavans commented on Regex Isn't Hard (2023)   timkellogg.me/blog/2023/0... · Posted by u/asicsp
michaelt · 4 months ago
> e.g. This pattern ([0-9][0-9]?[0-9]][.])+ matches one, two or three digits followed by a . and also matches repeated patterns of this. This wold match an IP address (albeit not strictly).

I love regular expressions but one thing I've learned over the years is the syntax is dense enough that even people who are confident enough to start writing regex tutorials often can't write a regex that matches an IP address.

aadhavans · 4 months ago
Shameless plug: My Regex engine (https://pkg.go.dev/gitea.twomorecents.org/Rockingcool/kleing...) has dedicated syntax for this kind of task.

  <0-255>\.<0-255>\.<0-255>\.<0-255>
will only match full IPv4 addresses, but is a lot stricter than the one in the article.

EDIT: formatting

aadhavans commented on Fifty Years of Open Source Software Supply Chain Security   queue.acm.org/detail.cfm?... · Posted by u/yarapavan
aadhavans · 5 months ago
A very well-written piece. The section on funding open source is as relevant as it's ever been, and I don't think we've learnt much since last year.

As the proportion of younger engineers contributing to open-source decreases (a reasonable choice, given the state of the economy), I see only two future possibilities:

1. Big corporations take ownership of key open-source libraries in an effort to continue their development.

2. Said key open-source libraries die, and corporations develop proprietary replacements for their own use. The open source scene remains alive, but with a much smaller influence.

u/aadhavans

KarmaCake day64June 13, 2024
About
Studying Computer Engineering at Purdue University. Personal website: https://twomorecents.org
View Original