139 karma · joined May 2, 2023 (3y ago) · 64 submissions
1.
ClankTalk – Sandboxed Scripting for Agents(clank.talk ↗)
2 points · by renerick · 1w ago · discuss
comment 6mo ago · link · parent
Sun rises and downs is not affected by satellites, due to overwhelming brightness difference. For casual stargazers, light pollution is much more of an obstacle than the satellites. Plus, for half a day on average, the stars not available at all, unlike Starlink or other satellite services
I'm not a Starlink user either, I do like to look at the sky with naked eyes and telescopes, but I do not share the sentiment that it's imperative to keep it "pure" for the sake of whatever. Also, a personal anecdote, satellite spotting is quite fun :)
comment 7mo ago · link · parent
comment 11mo ago · link · parent
I get very strong "E = mc^2 + AI" vibes from it, just shoehorning the coveted letters everywhere
comment 1y ago · link · parent
comment 1y ago · link · parent
- the vertical ruler between the sidebar and the content is gone, making page structure less pronounced - the redesigned dropdown menu has no borders or shadows and blends with the primary background - the redesigned dropdown menu lost the little dot which highlighted currently selected option, replacing it with a folder icon, but now it's not useful, because it's the same folder icon for each option - the old design had really nice and noticeable "Add URL" button. I suppose, it was removed in favor of the "plus" button in the sidebar, but it's not nearly as noticeable and without the label it's not clear what it actually does
Sure, the issues in the old version are valid, but I think the redesign introduced more severe usability issues instead of mostly aesthetic issues
comment 1y ago · link · parent
comment 1y ago · link · parent
> As such, JSON driven APIs can't be REST
I made it sound like JSON APIs can't be REST in principle, which is of course not true. If someone were to create hypermedia control specification for JSON and implement hypermedia client for it, it would of course would match the definition. But since we don't have such specification and compliant client at this time, we can't do REST as it is defined
comment 1y ago · link · parent
As such, JSON driven APIs can't be REST, since there is no common format for representing hypermedia controls, which means that there's no way to implement hypermedia client which can present those controls to the user and facilitate interactions. Is there such implmentation? Yes, HTML is the hypermedia, <input>s and <button>s are controls and browsers are the clients. REST and HATEOAS is designed for the humans, and trying to somehow combine it with machine-to-machine interaction results in awkward implementations, blurry definitions and overcomplication.
Richardson maturity model is a clear indication of those problems, I see it as an admission of "well, there isn't much practicality in doing proper REST for machine-to-machine comms, but that's fine, you can only do some parts of it and it's still counts". I'm not saying we shouldn't use its ideas, resource-based URLs are nice, using feature of HTTP is reasonable, but under the name REST it leads to constant arguments between the "dissertation" crowd and "the industry has moved on" crowd. The worst/best part is both those crowds are totally right and this argument will continue for as long as we use HTTP
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
I'm curious to learn how it worked.
The way I see it, the key word here is "programmed". Sure, you read the links from responses and eliminated the need to hardcode API routes in the system, but what would happen if a new link is created or old link is unexpectedly removed? Unless an app somehow presents to the user all available actions generated from those links, it would have to be modified every time to take advantage of newly added links. It would also need a rigorous existence checking for every used link, otherwise the system would break if a link is suddenly removed. You could argue that it would not happen, but now it's just regular old API coupling with backward compatibility concerns.
Building on my previous example of hn comments, if hn decides to add another action, for example "preview", the browser would present it to the user just fine, and the user would be able to immediately use it. They could also remove the "reply" button, and again, nothing would break. That would render the form somewhat useless of course, but that's the product question at this point
comment 1y ago · link · parent
Further reading:
- https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...
comment 1y ago · link · parent
https://en.wikipedia.org/wiki/Soviet_atomic_bomb_project#Log...
comment 1y ago · link · parent
comment 1y ago · link · parent
> That's very subjective
I was expressing my opinion of this argument which absolutely is subjective
> You don't know how the brain works.
Neither does grandparent comment's author, didn't stop them from making much bolder claims.
comment 1y ago · link · parent
comment 1y ago · link · parent
Maps and filters also require understanding of higher order functions and the very idea of passing function around as a value. I would argue that implementing map/filter with a loop and then demonstrating how this pattern is generalized as .map()/.filter() functions is better and more accessible