Hacker Newsnew | past | comments | ask | show | jobs | submit | rob-olmos's commentslogin

"- cursor position marked as ${CURSOR_TAG}: Indicates where the developer's cursor is currently located, which can be crucial for understanding what part of the code they are focusing on."

I was not aware that was a thing and useful to know. Thanks!


Interesting to hear how others use these tools. I often phrase things as “this line/method” which implies the tool knows where my cursor is.


I use the in-line prompt when I’m talking about a specific area. In the chat I always explained in words what part of the code I’m talking about. This tidbit of information will change how I use chat.


Isn't that needed for the tab completion?


I assumed they had this already, but I began to suspect it didn't actually exist. Disappointed to learn I was right bc half the time copilot pretends it can't read my code and at all asks me to go look for stuff in the code.


Anthropic employees Sholto Douglas & Trenton Bricken did an interview recently with Dwarkesh Patel, pieces here and there was about the circuit tracing insights.

https://www.dwarkesh.com/p/sholto-trenton-2 -- search the transcript for "circuit" for the quick bits.

Eg, "If you look at the circuit, you can see that it's not actually doing any of the math, it's paying attention to that you think the answer's four and then it's reasoning backwards about how it can manipulate the intermediate computation to give you an answer of four."

https://transformer-circuits.pub/


Adding to the GP & sibling: Even in Los Angeles with some of the bigger libraries the IT/programming books were on the older (outdated?) side.. The more modern material was at the book stores like Barnes, Borders, or another one at the mall (I don't remember if it was B Dalton, Walden, or something else).. thankfully I could skateboard there after school or work and read them there for the evening since I couldn't afford them. Getting the internet and SNR of content back then was a game changer to me too.


I think it's fair to say that, particularly through the '80s and '90s, the IT/programming books were outliers in how fast they became outdated, because the field was just moving so very quickly. (It still is, to a large extent, but now we have the internet to disseminate that information.)

For research on most topics, from history to social sciences to particle physics, the books at the library (or available through interlibrary loan) would be plenty recent enough for anyone not already specializing in the field, and such people would likely already have access to at least a college/university library, and likely a variety of academic journal subscriptions (often through said college/university library).


Yup, I had no free resources on programming anything more complex than BASIC until I had reliable internet. I bought my first copy of Linux and a beginner's guide at B&N, for example.


Is this subject purposely spelled Aidemos somewhere like the HN title says instead of AI Demos?


HN automatically recapitalizes words in submission titles so I think it’s possible this could have been submitted as “AIDemos by Meta”.


Ahh I see. Thanks for the info!


At least it's not AI Demons


Aidemos... the greek god... of intelligence...?


Fixed.


Thanks for linking the list! I'm seeing "Sangoma U.S., Inc." in it, which might apply to quite a few people & companies.


Reminder to anyone if DKIM keys haven't been rotated in a while they might still be 1024. Eg., Google Workspace but new keys are 2048 now.


Since php 7.4 there's been opcache preload to keep a lot of the framework instantiated, in php 8.1 opcache inheritance cache covered some ground with preload.

Some frameworks like symfony considered removing preload support but they were still seeing benchmarks of 10% better performance with it so it was kept.

The biggest pain point with preload IMO is it's global, not per pool, and php-fpm needs to be restarted to update the preload script.


Relatedly the movie "The Fountain" they combined chemicals and bacteria to create some of the visual effects instead of CG. The DVD has an extra of "Peter Parks Bonus - Macro Photography Loop".


Recent question I haven't look much into yet: Is there a way to limit the number of simultaneous http2/3 streams from an IP address with Caddy?


You can rate limit HTTP requests (agnostic of specific HTTP versions): https://github.com/mholt/caddy-ratelimit


Related: ACIDRain for the repeatable read without explicit "select .. for update" locking gotcha gift that still keeps on giving: https://news.ycombinator.com/item?id=20027532


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

Search: