Readit News logoReadit News
awbraunstein commented on AGENTS.md – Open format for guiding coding agents   agents.md/... · Posted by u/ghuntley
CharlesW · 6 days ago
This should've been an .agents¹ with an index.md.

For tiny, throwaway projects, a monolithic .md file is fine. A folder allows more complex projects to use "just enough hierarchy" to provide structure, with index.md as the entry point. Along with top-level universal guidance, it can include an organization guide (easily maintained with the help of LLMs).

  index.md
  ├── auth.md
  ├── performance.md
  ├── code_quality
  ├── data_layer
  ├── testing
  └── etc
In my experience, this works loads better than the "one giant file" method. It lets LLMs/agents add relevant context without wasting tokens on unrelated context, reduces noise/improves response accuracy, and is easier to maintain for both humans and LLMs alike.

¹ Ideally with a better name than ".agents", like ".codebots" or ".context".

awbraunstein · 5 days ago
You can have multiple AGENTS.md files in your codebase and tooling will look at both the one in the current directory as well as in the root of the codebase. This way you can sort of do what you're suggesting but simultaneously keep the information closer to the code that it is describing.
awbraunstein commented on Demystifying the (Shebang): Kernel Adventures   crocidb.com/post/kernel-a... · Posted by u/thunderbong
lelandfe · 4 months ago
> Since I never remember which one is which, a good way to check is using the utility `file`: `file $(which useradd)`

While we're here, can someone explain why `which` prints some locations, and for others the whole darn file? Like `which npm` prints the location; `which nvm` prints the whole darn file.

awbraunstein · 4 months ago
`nvm` isn't a file, it is a bash function defined in some file (likely ~/.nvm/nvm.sh). So when you say `which nvm` it prints out the definition of the `nvm` function. This is setup when you added something like:

    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
    [ -s "$NVM_DIR/bash_completion" ] && \. 
 "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
to your bashrc.

awbraunstein commented on Someone stole my car and now I own hundreds of vinyl records   mkaic.substack.com/p/some... · Posted by u/mkaic
awbraunstein · 3 years ago
My van was stolen outside my apartment in Oakland a few years ago. I called in to report it had been stolen and got a call back less than 5 minutes later by an officer who was with my van in another part of town about to have it towed. It was just parked in the middle of the road.

When I got there to pick it up, I found other people's stolen mail, hundreds of feet of speaker wire, a car stereo, and a lunchbox full of hundreds of house keys among other items. It was as if they used it as a heistmobile. Unfortunately, a lot of my stuff was stolen like a camera and some clothing, but they didn't touch the thousands of dollars worth of climbing and snowboarding gear. It was almost as if they didn't even know what it was.

awbraunstein commented on Show HN: Val Town – A Cloud Scripting Site   val.town/... · Posted by u/stevekrouse
awbraunstein · 3 years ago
This is so awesome. Congrats Steve and team on this launch!

I'm excited to see what people build here.

awbraunstein commented on Ask HN: Best Way to Contact YouTube    · Posted by u/S_A_P
logicalmonster · 4 years ago
I feel for you and you have my upvote for the signal, but good luck getting any action unless this goes sufficiently viral.

I've had this discussion with Googlers here before and this is apparently what they actually believe.

* They're content with algorithmic approaches to spam prevention and other moderation that results in numerous false positives and don't see the problem with that.

* They think their support channels are more than adequate.

* They think their bans result solely in bad actors being harmed and don't realize that shady businesses that actually do spam have endless fake companies at their disposal to keep on trucking.

awbraunstein · 4 years ago
As someone who worked at YouTube for some time, I'd actually say that this isn't an accurate assessment. Most of my former coworkers were disheartened at these stories. Some individuals actually were very active on the r/youtube subreddit and worked to handle individual cases that came up like this one. I think many are just resigned (but not content) to the fact that unless Google decides pump lots of money into human moderation, we are stuck with the algorithmic moderation that is responsible for many of these issues. And unfortunately, that isn't a problem that can be simply solved with code.
awbraunstein commented on GitHub, fuck your name change   mooseyanon.medium.com/git... · Posted by u/leontrolski
brodouevencode · 4 years ago
As a WASP, also from the south (the deep south, below the Gnat Line), I'm constantly reminded that I have an implicit bias however I've never seen nor heard of how to identify or measure such. It's really just that 'if you think this way then you have it', which is overwhelmingly unsatisfactory if it's indeed a problem I should solve. I should have awareness of what the conditions are measurements are so that I can address them appropriately. For instance if/when my doctor tells me to lose weight I need to know how much.

But this escapes me and no one seems to have a good answer. Until then I have to categorize it as an emotional response and handle it in the same way, which is basically just empathizing, consoling, and not necessarily fixing the root of the problem. I need to know what to measure and how to fix it: I've been through the corporate unconscious bias training a couple of times and it did none of that. Until then I'm a skeptic.

awbraunstein · 4 years ago
If you're interested in measuring your implicit bias, this site has a lot of interesting tests you can take https://implicit.harvard.edu/implicit/takeatest.html

I was shocked with my own results from the gender/career bias test.

At the end of the day, the test doesn't tell you how to fix it, it shows you that these patterns of thought are deeply ingrained in how we think and the way to "fix" it is to actively go against the biases we have been trained on. There is are some good resources here as well. https://implicit.harvard.edu/implicit/faqs.html#faq14

awbraunstein commented on A bit on scaling chess.com's database   unstructed.tech/2021/01/1... · Posted by u/ikonic89
dontbesquare · 5 years ago
I was in the Phish vs. phans chess.com match on NYE. I was wondering how this is handled. Fascinating! Thanks for sharing.
awbraunstein · 5 years ago
I was also there, and when it wasn't working at first I assumed the DB was totally overloaded. Glad you got it working in the end!
awbraunstein commented on The missing semester of CS education   missing.csail.mit.edu/... · Posted by u/anishathalye
xzel · 6 years ago
I took a Unix half credit course randomly where you basically did bash scripting, a huge bunch of command line tools and then eventually use all that to build your own linux distribution. I swear I learned more in the half credit class, and way more if you try to count it as useful information, than 90% of my other CS courses.

Edit: And since this got some traction, here is the current version of the class: https://www.cis.upenn.edu/~cis191/ it looks pretty similar to what I took but they added a little bit of Python.

awbraunstein · 6 years ago
I took this class as well and agree that it was the most useful course I took at Penn. I still use all of the things that I learned in this class every day (especially emacs). Luckily, I took it early in school and it made subsequent classes so much easier. Thank you Perry Metzger!
awbraunstein commented on Conversations with a six-year-old on functional programming   byorgey.wordpress.com/201... · Posted by u/weatherlight
zwass · 7 years ago
Brent is one of the greatest teachers I've ever experienced. I used to take classes from him (and TA some others he taught) and was consistently blown away by his enthusiasm and capacity for sharing concepts. He has a great essay on pedagogy as well (https://byorgey.wordpress.com/2009/01/12/abstraction-intuiti...)

If you're interested in learning some of the beautiful foundations of functional programming, I highly recommend checking out the lecture notes and assignments from his Penn CIS 194 class (http://www.cis.upenn.edu/~cis194/spring13/lectures.html)

awbraunstein · 7 years ago
I'll third this! Brent's class on the art of recursion really taught me quite a lot about how to think about problems in a different way.

http://www.cis.upenn.edu/~cis39903

awbraunstein commented on Meet the ‘worst’ 8th grade math teacher in NYC   washingtonpost.com/blogs/... · Posted by u/pstuart
awbraunstein · 13 years ago
This is what happens when education law is created by politicians. Politicians who get their information from lobbyists lobbying on behalf of the test makers. They believe that more testing is good, mostly because it means more money for them. In NY, the ELA is mandatory for students in grades 1-10 iirc. And these are the scores we are judging teachers on. There are many teachers in schools who are given classrooms of students who need more attention and won't perform as well on exams.

We need to seriously rethink education and how we are testing students and teachers.

u/awbraunstein

KarmaCake day58March 16, 2011
About
[ my public key: https://keybase.io/awbraunstein; my proof: https://keybase.io/awbraunstein/sigs/VQ1jrfuP5Yj1SNzlyRA9zbL7fDmqo8onJ7G_PRE5NfM ]
View Original