Better HN
topnewbestaskshowjobs
Log inSign up

modestygrime

30 karma · joined Dec 26, 2022 (3y ago) · 21 submissions

Submissions

comment 1y ago · link · parent

> MCP allows AI models to dynamically discover and interact with available tools without hard-coded knowledge of each integration

Did they just now discover abstract base classes?

comment 1y ago · link · parent

They can refer to a single person.

comment 2y ago · link · parent

Just reeks of incompetence. Do they not have e2e smoketests of this stuff?

comment 2y ago · link · parent

I'd argue that it is completely useless. They have the actual parser that runs in production and then a separate "test parser" that doesn't actually reflect reality? Why?

comment 2y ago · link · parent

I read that they pushed a new configuration file, so possibly they don't consider that a "software update" and pushed it to everyone. Which is obviously insane. If I am publishing software, it doesn't matter if I've changed a .py file or a .yaml file. A change is a change and it's going to be tagged with a new version.

comment 2y ago · link · parent

So how do people handle this in practice if the users table in this example has a ton of traffic? It might not ever succeed even with exponential backoff. It also seems strange that Postgres would need to lock the entire table just to add a new column.

comment 2y ago · link · parent

I'm in a really similar position to you. I'm currently engineer #1 at a seed stage startup making $155k with 1.5% equity. But a year in I'm realizing I've built their entire product from scratch while they do sales and outreach. Obviously those things are important but I'm a leg of a tripod holding the whole thing up and yet I have a fraction of the equity they have. Makes no sense.

comment 2y ago · link · parent

Oracle Park is kind of uniquely great, though. Amazing views and right next to public transportation. The more typical experience is something like Kauffman Stadium, where the only way to get there is by car and there is nothing to look at other than the game itself.

comment 3y ago · link · parent

I use the same technique to maintain a json file mapping Slack channel names to channel IDs, as Slack for some reason doesn't have an API endpoint for getting a channel ID from its name.

comment 3y ago · link · parent

It has that same problem actually:

https://news.ycombinator.com/item?id=36458300

And according to the article, the issue isn't that TS doesn't realize it's the same object, it's that the object might have more keys than what is declared in your interface.

Perhaps what you meant to say is that you can directly use `val` instead of `obj[key]`.

comment 3y ago · link · parent

Object.entries has the same problem: https://stackoverflow.com/q/60141960

comment 3y ago · link · parent

Of course, but the conversation here is why does macOS not support this natively?

comment 3y ago · link · parent

It's much worse than Ubuntu or Windows though. I just want to snap a window to the sides. The macOS solution forces you to go full screen to snap.

comment 3y ago · link · parent

> The less code you need to solve your problem, the better.

Couldn't agree more. I always reject PRs with dead code in them. The author will argue that they added it for some future use case, but in my opinion it is never acceptable to have dead / unreachable code. It's confusing for future readers of your code and you can always add it later if your imaginary use case ever becomes real.

comment 3y ago · link · parent

But the LLM shouldn't have access / permission to delete emails.

comment 3y ago · link · parent

I'm not sure I understand. What is the purpose of the privileged LLM? Couldn't it be replaced with code written by a developer? And aren't you still passing untrusted content into the function call either way? Perhaps a code example of this dual LLM setup would be helpful. Do you know of any examples?

comment 3y ago · link · parent

Strange. I applied April 6th and still don't have access

comment 3y ago · link · parent

I think they mean using it as a tool at work, not using it in production or as a feature in their application.

comment 3y ago · link · parent

This is not a misspelling. A person who would write this sentence does not know the difference between there and their. They do not think that their is spelt there.

comment 3y ago · link · parent

Someone using to vs too is not misspelling a word; they don't know the difference between two words. That's a grammar mistake. Would you say this is a misspelling?

"I hope they share there food with me."

comment 3y ago · link · parent

> As well, optional generics are trivially achievable in TS via default type parameters, unless I'm not understanding that section of the article.

He links to another post that goes into more detail: https://effectivetypescript.com/2020/12/04/gentips-1-curry/

In particular the question and answer in the comments should make it more clear.