Hacker Newsnew | past | comments | ask | show | jobs | submit | anandchowdhary's commentslogin

Nah - as you'll see from my work from a pre-coding agents age, I like emoji :)

Here are receipts some from 2020: - https://github.com/AnandChowdhary/bsc-thesis - https://github.com/AnandChowdhary/slack-netlify-trigger - https://github.com/AnandChowdhary/analytics-icons


LLMs had to learn where to use emoji from somewhere, now we know who to blame ;)


I don't know if this is true.

For example, you can spend a few hours writing a really good set of initial tests that cover 10% of your codebase, and another few hours with an AGENTS.md that gives the LLM enough context about the rest of the codebase. But after that, there's a free* lunch because the agent can write all the other tests for you using that initial set and the context.

This also works with "here's how I created the Slack API integration, please create the Teams integration now" because it has enough to learn from, so that's free* too. This kind of pattern recognition means that prompting is O(1) but the model can do O(n) from that (I know, terrible analogy).

*Also literally becomes free as the cost of tokens approaches zero


A neat part of this is it mimics how people get onboarded onto codebases. People usually aren't figuring out how to write tests from scratch; they look at the current best practices for similar functionality in the codebase and start there. And then as they continue to work there they try to influence new best practices.


Indeed the case - luckily my codebase had some tests already and a pretty decent CLAUDE.md file so I got results I’m happy with.


No, you're right. It was a pretty collaborative effort with me and Claude!


FYI, you're missing two patterns that allow the `--key=value` admirers and the `-alltheshortopsinasinglestring` spacebar savers among us to be happy (for the otherwise excellent options parsing code).

   shopt -s extglob
   case "$1"
     # Flag support - allow -xyz z-takes-params
     -@(a|b|c)*) _flag=${1:1:1}; _rest=${1:2}; shift; set -- "-$_flag" "-$_rest" "$@";;
     # Param=Value support
     -?(-)*=*) _key=${1%%=*}; _value=${1#*=}; shift; set -- "${_key}" "$_value" "$@";;
   esac


For letting me know! Would you like to create a PR? Otherwise I'll add you as a Co-Authored-By!


Co-authored is fine, thanks for asking!


Gesundheit


It sends a flag that dangerously allows Claude to just do whatever it wants and only give us the final answer. It doesn't do the back-and-forth or ask questions.


The `--dangerously-skip-permissions` flag (a.k.a. "YOLO mode") does do the back-and-forth and asks questions, so this is a bit more than that.


Yes. I did not look but most probably the non interactive mode flag is used (-p)


It does `claude -p "This is the prompt" --dangerously-skip-permissions --output-format json`


Oh! TIL, thank you.


Iteratively working is a MUST for more than trivial fixes. This continuous loop could work for trivial refactorings / maintenance tasks.


Looks great! My website has a /life page (https://anandchowdhary.com/life) where I track all my life & health data, including:

  - yearly themes and quarterly personal OKRs
  - my live location (yes, really)
  - books I read, music I listen to
  - biomarkers, health and fitness data, sleep records
They are all tracked on GitHub as open source JSON APIs: https://github.com/AnandChowdhary/life and built using GitHub Actions.


Cool page! Maybe you can ask some data brokers what interoperability standards they use so you can provide the correct file to them, perhaps even negotiate a good price for the data ;)


Haha indeed... if it helps, I built https://stethoscope.js.org where I used official & unofficial APIs and takeout exports to compile everything in one place.


This looks cool! I'll have to look into it :)


> quarterly personal OKRs

Good grief, what happens when you don't meet them? Do you put yourself on a PIP?


This is really cool! I hope to get to something that looks like this one day. Love how your 'Move in to new house' KPI is at 119%

You've got a pretty awesome website! Is this made using NextJS?



Indeed! I redesign my personal website every few years (https://anandchowdhary.com/about/versions) and use a different stack every time.


Haha the OKR progress is also dependent on how far we are in the quarter, so if I do something too quickly, it has the tendency to go above 100%.


For location, I don’t see a pin but see a window centered on an area in Utrecht. Is the centerpoint supposed to be cords of your location?

Cool idea!


I only store the geolocation up to 2 decimal places so it's rounded a little to not expose my precise-precise location, but more of a city-level location (source: https://github.com/AnandChowdhary/location/blob/d82432169621...).


This data is super dangerous to reveal. Unless you provide fake data to fool strangers deliberately.


Which parts are dangerous to the average chum with no enemies?


Live location


I don't think knowing what city he's in is particularly dangerous.


He got a new house (likely with new furniture and appliances). Best time to rob the house is when he is in a different city.


Haha that's true. I do only store the geolocation up to 2 decimal places so it's rounded a little, but people do find out when I leave town. Luckily I have camera/alarm systems/etc. but maybe my insurance will tell me I brought this on myself. I even had https://x.com/anandstalker live-tweeting it before Twitter made their API too expensive.


The overwhelming majority of burglars are not doing online reconnaissance to establish where one person might be, when you can just drive by and see if there are cars parked there, or just kick in the door and see if anyone yells.


maybe I do... we'd never know!


You have an eye for beautiful design


Thank you, kind stranger. :)


I love this! Nice work!


Yes and no. It’s indeed a playground to test out various models and gives you an endpoint to play with it, but it’s not that developers can upload their own custom models. Instead, it’s currently only a curated library of certain popular models like those from OpenAI, Microsoft, and Meta.

(I don’t work at GitHub but was quoted in the article).


Growing up in India, we learned that the four pillars of democracy are the Legislature, the Executive, the Judiciary and the Media. The nonprofit presumably is saying that they/nonprofits are the fifth pillar.



https://anandchowdhary.com has 10+ years of my words and work.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: