Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hansonkd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
151.
▲
by
hansonkd
2y ago
It's astonishing to me that people do not see the correlation between AI and as you call it "bureaucratic collective action". I have considered corporations, nation states, etc as forms of artificial intelligence that long pr
152.
▲
by
hansonkd
2y ago
I think seeing the prompt that makes it even worse for me. that prompt could have been caught by even a regex on the user input for "secret" would have been a good first layer. TBH, this product would be better served as an LLM th
153.
▲
by
hansonkd
2y ago
You're right, that is the hard part of LLMs and why LLMs aren't catching on broadly as a UI alternative beyond tech demos. Probably the only true alternative is to limit user input to something structured and verified. Until LLMs
154.
▲
by
hansonkd
2y ago
A %0.05 failure rate on something that is supposed to be protecting secrets is pretty terrible. That is just protecting a super basic phrase. That should be the easiest to detect. How on earth do you ethically sell this product to not give
155.
▲
by
hansonkd
2y ago
I hope I'm not overstepping my bounds by I am just really trying to understand this product better because it is trying to address a core deficiency of AI, however what you have presented I don't see how it solves the problem. You
156.
▲
by
hansonkd
2y ago
Am I misunderstanding this? > If you're the first to crack it, you can email us the phrase and win a bounty. Maitai is used to make sure the bot always adheres to our expectations, and thus never gives up the secret phrase. You are
157.
▲
by
hansonkd
2y ago
Isn't that almost the opposite? In a Co-op you put up your own money to buy into a co-op. This is the opposite of VC where an external party joins your org with money. So a co-op model would only help to serve the already wealthy. Howe
158.
▲
by
hansonkd
2y ago
That sucks to hear. Sorry about that. > it doesn't really matter what I say. Someone will imply pretty abhorrent motives to it. Just a bit of feedback though. You wrote a complaint that was affecting you and you didn't understa
159.
▲
by
hansonkd
2y ago
OK, I am agreeing with you that in practice you probably didn't follow these priorities. Your original complaint was "But mentioning that, tends to draw real scorn, from today's tech folks. Not exactly sure what it is, they w
160.
▲
by
hansonkd
2y ago
> #1 was always keeping the company's interests in mind While I understand your intent on saying this, I think the reaction you get is because that is essentially a Sycophant which historically for the past known duration of human h
161.
▲
by
hansonkd
2y ago
Also the flip side that a lot of people miss: You can be right about the big picture/abstraction and wrong about a specific. Just because you argued or proved part of an argument wrong doesn't make the whole thing wrong.
162.
▲
by
hansonkd
2y ago
I find that extroverts try to get in "slam dunks" that attempt to shake your logic with zingy type of folk knowledge. "Well nobody knows nothing anyways" etc. Or they will confidently repeat what they hear on the news wi
163.
▲
by
hansonkd
2y ago
Its a logical fallacy to compare a current technological innovation to a past technological revolution. "Bitcoin is like the internet in the 90s", etc.
164.
▲
by
hansonkd
2y ago
> Need a peak detection algorithm I think thats all you need. ;) In realiity, trading is hard because it requires 2 points where you have to get the timing right. First you have buy the position at a time when it is favorable. Then you h
165.
▲
by
hansonkd
2y ago
An experience engineer knows that a change that takes hour turns to days when a team is running at scale and needs to have CI approvals etc. Why waste any time? > And GraphQL isn't free either; you need to actually implement that Re
166.
▲
by
hansonkd
2y ago
You are bouncing back between it is ony for startups and it requires enterprise level maintenance. It can be used easily for both. > It still comes down to, if you can achieve 99% of the same thing with autogenerated REST apis and a coup
167.
▲
by
hansonkd
2y ago
Actually deleting happens rather rarely compared to adding. Its much easier to trace and debug what teams are using GQL fields than REST. What if one team is piggy backing on another teams exising rest endpoint and you dont know? same probl
168.
▲
by
hansonkd
2y ago
You said > The database will already have its own API Where is this API coming from? You have to build it. I'm saying you should make those APIs graphql apis though a language framework and not REST apis because GQL consuming GQL is
169.
▲
by
hansonkd
2y ago
The point is GQL is currently the standard for querying dynamic nested data shapes not that it is the first or was the first. Look at OData download stats on Pypi it had 2 downlaods the last day. Graphql-core for python? 624,201. that is no
170.
▲
by
hansonkd
2y ago
What? Its a method per collection you want to return. or else it is a type annotation. Exactly as complex as FastAPI or any other typed system.
171.
▲
by
hansonkd
2y ago
GQL you would only care about if someone removed a field not if someone added a field. How would adding a field change existing GQL calls return? Doesn't make sense. Also, Its about 1 line to set up CI to extract all GQL queries from a
172.
▲
by
hansonkd
2y ago
Because exposing your Database to the outside world is asinine. GQL sits between letting the frontend query semi-customizable queries and not having any customizability to select related resources.
173.
▲
by
hansonkd
2y ago
The Language Libs like Strawberry implement what he is describing by intermediate application code. It doesn't map directly to a database. GQL implementations don't map to the database but to application code.
174.
▲
by
hansonkd
2y ago
> pile into the definitions That is how REST works but is the opposite of the way GQL works. You don't pile into existing defintions but extend the current definitions out. A team needing new data doesn't affect the consumptio
175.
▲
by
hansonkd
2y ago
> more complex, more expensive to maintain, consuming more resources, Idk. Strawberry GQL and most GQL libraries are maybe equally as complex as the REST libraries for the same language. Strawberry and FastAPI I would say are equal in co
176.
▲
by
hansonkd
2y ago
? why do you need a REST endpoint with GraphQL? Nearly every language has a GraphQL engine that integrated directly with the database and exposed functions as GQL directly without REST at all.
177.
▲
by
hansonkd
2y ago
Typically libraries use a Dataloader + ORM to implement this which gets you pretty far, outside of that some libs like Strawberry with automatically optimize your queries for you if you return Django ORM Querysets. Any query you were going
178.
▲
by
hansonkd
2y ago
Every GQL implementation I have seen explicitly has a way to avoid n+1 queries.
179.
▲
by
hansonkd
2y ago
> This is akin to saying that "directly exposing the database is easier Far from it actually. I am saying that in practice the data and queries that you perform on your Database actually tend to stabilize and you add less and less a
180.
▲
by
hansonkd
2y ago
> It ensures that the endpoints are maintainable and future-proof when people are working on different features How does GQL prohibit this? It encourages it by focusing on 1 stable API for everyone instead of a custom API endpoint for ea
More ›