94 karma · joined Jun 18, 2015 (11y ago) · 29 submissions
comment 8mo ago · link · parent
Ash is built on the Endpoint Security and Network Extension APIs. Together, they cover the full gamut of potential sandbox escapes, and it's a simple process to update sandbox rules while the sandboxed process is running.
Claude Code sandbox is built mainly on sandbox-exec, an older macOS sandbox technology. It works for filesystem and IO device control, but it can only filter network requests by IP address. CC uses an application-level network proxy as a workaround, but not every network client respects the HTTP_PROXY env variable it requires. There are other workarounds in CC sandbox for complex use cases (e.g. dangerouslyDisableSandbox) that Ash does not need.
comment 8mo ago · link · parent
Your feedback about permissions is something I'm working on fixing now. Apple requires multiple permissions for Endpoint Security and Network Extension APIs and the current setup process doesn't walk users through that process as elegantly as I would like it to.
comment 8mo ago · link · parent
comment 8mo ago · link · parent
6.
Show HN: Ash, an Agent Sandbox for Mac(ashell.dev ↗)
16 points · by amsha · 8mo ago · 15 comments
comment 1y ago · link · parent
Buses are classified as a “Most Uncompetitive” category. Electricity, whether wired or battery powered, is cheaper and easier to scale for the predicable everyday energy use of a city bus.
comment 4y ago · link · parent
Address lock-in is real but doesn't fully negate the benefits of federation. Even if you don't control your address's domain, you can switch providers without losing the ability to send and receive email. There is extra cost in pointing your bank account to your new address, but it is possible. If your bank communicated to you via a non-federated protocol like WhatsApp, switching would be impossible.
comment 4y ago · link · parent
Without federation, switching means migrating both your host and your network of participants simultaneously. That is a much harder and more expensive coordination problem.
comment 7y ago · link · parent
Regardless of the technology behind a website, online communities without strong moderation tend to die over time as low quality content crowds out everything else.
comment 7y ago · link · parent
This is a major component of software's power – it's a tool for formalizing knowledge and skills permanently and distributing it rapidly at ~0 marginal cost. If a piece of software is both correct and performant, it can last a very, very long time, possibly outliving its creators. And the best software composes, so one program can build on top of another to build up a massive skillset.
comment 7y ago · link · parent
Otherwise, it’s a great language. I’m consistently happy with the decisions that the Erlang and Elixir core teams make, and it’s my go-to language for web development.
comment 8y ago · link · parent
comment 8y ago · link · parent
Is that not the case?
comment 8y ago · link · parent
My hunch is that because CRDTs are so much easier to grok than OT, engineers are empowered to make use case-specific improvements that aren't reflected in academic literature.
For example, the Logoot/LSEQ CRDTs have issues with concurrent insert interleaving; however, this can be solved by dedicating a bit-space in each ID solely for followup inserts. The "Inconsistent-Position-Integer-Ordering" problem is solved by comparing ids level-by-level instead of in one shot.
Fundamentally, CRDTs have strong strategic advantages over OT. Given a document size N and a document edit history H:
* CRDT size is O(N) where OT is O(H)
* CRDT updates are O(log N) where OT is O(H^2)
In any nontrivial document, H ≫ N. This means CRDTs have much better perf than OT. Additionally, the best CRDTs (like Logoot/LSEQ) don't require tombstones, garbage collection, or "quiescence." The complexity burden is far lower.
To top it off, CRDTs are offline-capable by default.
comment 8y ago · link · parent
However, once you need service discovery, secret management, auto scaling, etc k8s is the least bad solution I’ve found. I ended up using GKS but that was before AWS released a competitor.
comment 9y ago · link · parent
A saas that puts a UI on top of kops would be ideal, but that might not exist as a standalone service.
21.
Kubernetes cluster management for AWS?
2 points · by amsha · 9y ago · 4 comments
comment 9y ago · link · parent
The main benefit of Go, I think, is that it can cross-compile builds. Erlang and Elixir don't have any way to do that, so if you develop on Mac and deploy on Linux you'll need to build your release in a VM or on a build server running Linux.
comment 9y ago · link · parent
On 10.12 the original app doesn't work properly, but one of its forks [1] fixes the issue.
comment 10y ago · link · parent
comment 10y ago · link · parent
The four paths I've seen for people who make it in film/tv:
* Have a family member who gets you your first job.
* Have rich parents who completely subsidize your work for a few years and provide anonymous funding for your first feature film.
* Have upper-middle class parents who partially subsidize your work for a few years, and get ready to be an assistant for 3-25 years while you build connections with the business bros that determine your future.
* Have lower-middle class parents. Be extraordinarily driven and ignore all material needs while you win festivals and get noticed.
The lower you are on the list, the more effort it takes to maximize your probability of success. Realistically, almost no one makes it from the bottom category.
comment 10y ago · link · parent
* PubSub, so if you're building a communication-based app your job is automatically easier.
* asynchronous jobs by default (it's a language feature), so if you need background processing your job is automatically easier.
* Rails-like database interactions. I don't know of any framework that makes dealing with the database as simple as Rails, and Phoenix (really Ecto, the ORM it uses) matches that simplicity. Models, validations, transactions, queries, migrations - it all feels very well thought-out. First-class support for PostgreSQL arrays and json(b) are nice-to-have, too.
* Fast templates. Template rendering is one of the biggest performance problems in Rails, and Phoenix solves it with some compile-time tricks.
* Built-in support for multiplexed real-time communication channels. If you need to push data to clients, your job just became easier (notice a trend?). It supports both WebSockets and long-polling so you don't have to make the hard choice about whether that new feature is worth the risk of losing users on outdated browsers.
* Asset building, another built-in goody that very few other frameworks have. The choice to use Brunch (rather than WebPack) is debatable, but I think that having a controversial build tool is 100x better than having no build tool.
* IRC support: If you ask a question, you will get a complete answer without anyone telling you to RTFM. This is both good and necessary because, although the official documentation is pretty good, Phoenix and its dependencies don't have the huge number of blogpost tutorials and StackOverflow answers that make Rails so easy to learn. I suspect this will change over time as the community grows.
* It keeps getting better. This is an outsider's perspective, but after lurking on #elixir-lang, Phoenix-Core, Phoenix-Talk, etc. it's obvious to me that Phoenix and Elixir are going to be better in 2017 than they are in 2016. Its core contributors are knowledgeable and dedicated, and many of them are being paid for their open-source work. That gives me confidence in the future.
comment 11y ago · link · parent
Edit for clarity