HN user

simonair

22 karma
Posts0
Comments13
View on HN
No posts found.

Not who you asked but I have made similar experiences with Claude Code. For example I might have asked it to “commit the changes” and be surprised that it did not use the skill `committing-changes`.

Now if I ask “why did you not use the skill”, the answer typically starts with an apology, the insight which skill it should have used, and it will proceed using the skill.

In contrast, asking “what can we change in the skill description so you use it next time I ask you to commit”, it will typically explain how it selects skills and how to modify the skill in question’s description so it would pick it on its own.

I got tired of brittle literals like `http://localhost:3000` and `postgres://…@127.0.0.1/...` creeping into my code, so I wrote a few ESLint rules that detect “hardcoded infrastructure” strings and ask the agent to find the constant in the codebase — not by guessing its name but by `grep`-ing for its value.

The detection is based on dumb string literal heuristics, but has proven rather effective. Example patterns:

const hardcodedInfrastructure = { url: /^https?:\/\/(localhost|127\.0\.0\.1|192\.168\.\d+\.\d+|10\.\d+\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+)(:\d+)?/i, dbUrl: /^(postgresql|postgres|mysql|mongodb):\/\/.*@(localhost|127\.0\.0\.1|192\.168\.\d+\.\d+|10\.\d+\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+)/i, localhost: /^localhost$/i, localhostPort: /^localhost:\d+$/i, };

For anyone who cares about zsh startup performance, `zsh4humans` by `romkatv` (author of powerlevel10k) is worth a look: https://github.com/romkatv/zsh4humans

It achieves instant startup by rendering the prompt before the full shell initializes. Since adopting it, I am done fiddling with my shell config and the fact that `zsh4humans` is in maintenance-mode is actually an advantage as it keeps me from wasting time refactoring `zshrc`.

OKRs Are Bullshit 2 years ago

Performance reviews should be kept separate from OKRs. I view these two concepts as follows: 1. Performance reviews or performance management are tied zo an individual, their role and their career. 2. OKRs are Independent of the individual as they are driven by the company’s strategic and operational goals. While every KR is owned by an individual, this individual is responsible only for managing the measurement, coordinating collaboration and escalating to superior Objective or Key Result owners as soon as the Key Result is no longer on track.

This implies that if you were replaced by someone else, they would inherit your OKRs but not your performance management including your performance reviews, personal development goals and career aspirations.

One way to do this is by rating performance based on both contributions to OKRs owned by the individual as well as those of others and rating performance as high only if both are exceptional.

Are you tapping the keys or swiping over those that make up the word you want to type? In my experience, tapping has always been and remained poor but swiping is getting better and better with every iOS version.

Congrats on a great idea well executed!

In my mind, the gold standard for engaging summaries is Seeking Alpha. As a random example, see https://seekingalpha.com/article/4633758-sell-amazon-before-...

If you could train the model to come up with well structured bullet points, the summaries would be amenable to scanning before committing to fully engage. This is just an idea, I am not sure what fraction of your readers would prefer bullet points.

Thanks for your investigation. Regarding the proprietary mode Apple claims to be required, I guess this mode allows an AirDrop link to be established without disassociating from the (infrastructure mode) WiFi base station by switching between the two links quickly enough. Obviously Ethernet has no such limitation. Indeed, in my opinion, AirDrop is more useful over Ethernet than WiFi.

An activation corresponds to either the first activation after a sale, or the activation following a "Reset to factory settings" of an Android device. How activations are split between these two is anyone's guess.

By jailbreaking iOS, one can significantly improve the notification experience by installing LockInfo and enabling its InfoShade option. Obviously this is far from a perfect or complete solution, but it's a step forward in the right direction.