on 3da1007 help sign in
urbit.org/main/posts/objections.md
737 lines 33 kB history raw
1---
2sort: 9
3type: post
4title: Common objections to Urbit
5author: Curtis Yarvin
6preview: Some common objections to Urbit, discussed.
7image: http://media.urbit.org/site/blog-9.jpg
8layout: urbit,post
9footer: true
10comments: true
11navmode: navbar
12navdpad: false
13navselect: posts
14navpath: /
15navhome: /
16navclass: urbit
17---
19We love crowdsourced criticism. We've heard a lot of great
20objections to Urbit. Surely there's more out there! If so,
21comments are open at the bottom of the page. We'll revise this
22document to include anything new and interesting.
24Here's our list right now:
26- [Urbit is not ready for prime time.](#prime)
27- [Nock jets are a total hoax.](#jets)
28- [Urbit needs an infinitely extending packet/event log.](#log)
29- [Urbit is a total scamcoin. It's 100% premined.](#scam)
30- [Urbit isn't even really decentralized! It has a government!](#gov)
31- [{Sandstorm, IPFS, Ethereum, ...} is way ahead of Urbit.](#sand)
32- [Urbit doesn't have enough planets for every human being.](#planet)
33- [Cloud computing is inherently non-private.](#pwned)
34- [Urbit will never be able to call any existing code.](#code)
35- [Hoon is too weird. No one will be able to program in it.](#program)
36- [Urbit programmers are stuck with Hoon.](#stuck)
37- [Ordinary users will never be able to manage an Urbit server.](#user)
38- [Urbit has no killer app.](#killer)
39- [Urbit is sniffed at by Houyhnhyms.](#horse)
41*"We choose to go to the moon, not because it is easy, but because it is hard."*
42— [John F. Kennedy](https://www.youtube.com/watch?v=g25G1M4EXrQ)
44<h2 id="prime">Urbit is not ready for prime time.</h2>
46**TLDR**: we agree.
48Urbit right now is a fun toy. It is fun to learn Hoon. It is
49even fun and quite practical to make actual contributions.
50(Hoon's IEEE floating-point was written by someone we've never
51met: `~nym`, formerly `~nodpet-rinned`.) In fact, we have never
52seen anyone *not* have fun with Urbit.
54But there is all kinds of stuff wrong with the codebase. Urbit's
55documentation is much improved, but remains incredibly weak --
56Arvo is almost totally undocumented. Scaling is poor at best.
57Urbit's reliability is dubious. Its security is nil.
59Urbit is feature-frozen. The only thing we're working on now,
60and for the rest of 2016, is doc, debugging and and self-hosting.
61In that order of importance -- teaching Urbit is more important
62than fixing it, which is more important than making it useful.
63But we're quite confident that these are all solvable problems.
65The most important milestone about Urbit today is that it's ready
66for technical decisions to be made collectively. A system like
67Urbit can only be invented by a mad auteur. It can't be
68maintained or stabilized by a mad auteur. Our primary goal today
69is expanding the number of people who understand Urbit, and we
70expect these pioneers to participate in technical governance.
72<h2 id="jets">Nock jets are a total hoax.</h2>
74**TLDR**: all of computing is a hoax. You can't compare a hoax
75to nothing. You can only compare it to all the other hoaxes.
77A "jet" is a sort of software device driver in Urbit. Urbit is
78precisely defined in terms of an interpreter that fits on a
79T-shirt, Nock. But a naive implementation of Nock is nowhere
80near practical, because Nock has only one integer operation:
81increment. For example, to decrement a number in Nock, you
82increment a counter up to the number under it.
84The only way an efficient Nock interpreter can work is to
85recognize algorithms like decrement, and implement them
86non-naively. By far the easiest way to do this is not to analyze
87arbitrary code as it's being executed, but to register and match
88well-known implementations in the standard library. No one
89should be writing their own decrement.
91But the semantics of the interpreter, *so long as the jet and the
92jet harness are defined correctly*, are exactly those of Nock.
93We are not extending or changing Nock in any way. We are just
94taking a shortcut in certain cases we understand perfectly.
96It's not at all unprecedented to have implementations much more
97complex than the corresponding specification. The x86
98instruction set is relatively simple; the complexity of its
99decoding and execution path in a modern CPU is enormous. This
100path may well have "peephole optimizations" that replace matched
101algorithms, and if it doesn't the modern compiler does. People,
102*bad* people, use "jets" to cheat on benchmarks all the time.
104Nock is designed as a standard. It's built like a standard.
105Typically what causes real problems in standards is ambiguity.
106Two implementations are incompatible, but each swears it has the
107right interpretation of the natural-language spec. This simply
108cannot happen in the Nock world. If two implementations
109disagree, at least one of them is incorrect. This puts us firmly
110in "with enough eyeballs, all bugs are shallow" territory.
112The fact remains, however, that a Nock interpreter without jets
113is completely useless. And there is not even an informal
114document that tells you what jets you need for a reasonably
115efficient Urbit. (There should be such a document.)
117The correct way to think about jets is not to compare them to a
118perfect interpreter created by unicorns. Jets are a combined
119replacement for two other techniques in language implementation:
120intrinsics and a foreign-function interface.
122Compared to both intrinsics and an FFI, your jets have one key
123disadvantage: they need to be specified in pure code. You may
124not have this executable specification, which means you need to
125write it. Is this really so bad for your development process?
126An executable specification? Which can be trivially tested
127against the efficient implementation?
129Compared to intrinsics, jets give you true separation between
130mechanism and policy; only the interpreter, not the programmer
131and not the compiler, needs to know what's accelerated.
133Compared to an FFI, jets preclude I/O, so can be trivially
134sandboxed. Except that the programmer needs to mark routines
135which may benefit from optimization with a hint, here too we
136separate mechanism (efficient implementation) from policy.
138Yes, formal verification of jet equivalence is desirable.
139However, in the real world, many specifications, including quite
140complex ones, are tested into equivalence by brute force.
142Urbit has some jet abuses. The equivalence between our markdown
143parser in Hoon and the CommonMark C library is super dubious. It
144should be revisited.
146But the miscomputation resulting from a minor jet discrepancy is
147not a security hole or even fatal. It effectively means the
148event history, computed correctly, does not match the current
149state. The way to resolve this conflict is for the current state
150to win, and the event history to be discarded -- not abnormal
151anyway. See the next question.
153<h2 id="log">Urbit needs an infinitely extending packet/event
154log.</h2>
156**TLDR**: no, it doesn't. Urbit can prune the log.
158We can prune the event log because the Urbit transition function
159doesn't have any access to the event history -- just the current
160state and the current event.
162Urbit defines the semantics of a complete event log. It doesn't
163and can't require an implementation to maintain the whole log.
164It can maintain a checkpoint and the log since that checkpoint.
165The current implementation of Urbit maintains
167However, any practical urbit maintains a periodically updated
168checkpoint. Our present implementation doesn't provide a way to
169prune the event log. But that's just a missing feature. We have
170one or two of those!
172<h2 id="scam">Urbit is a total scamcoin. It's 100% premined</h2>
174**TLDR**: yeah. But at least it's not the DAO.
176Like a cryptocurrency, Urbit is a digital title. But Urbit is
177digital land, not digital money. If you assess it as a currency,
178it's a lousy currency. If you assess a cat as a dog, it's a
179lousy dog.
181In real-world economics, the crucial distinction between land and
182money is that land (a) has intrinsic utility and (b) is
183non-fungible.
185Because of (b) alone, frictionless transactions in land are
186impossible. A blockchain is only needed to ensure zero-cost
187high-frequency transactions. So digital land doesn't need a
188blockchain. Which means it doesn't need mining.
190Of course, just because a digital title system doesn't need
191mining, doesn't mean it can't distribute an initial allocation by
192proof-of-work -- or by any other arbitrary method which is
193careful not to benefit the system's own developers. Could we
194give away the Urbit address space randomly? Sure. But why?
196Probably the purest design is the "proof-of-burn" initial
197allocation used by some coins. By any standard, proof-of-burn is
198technically beautiful and results in an extraordinary level of
199ethical independence. We can't help but admire it.
201But any altcoin or metacoin is just way less work than Urbit. An
202altcoin can afford to burn even its creation energy, capturing no
203value at all from its seigniorage. Your altcoin doesn't have a
204clean-slate system software stack to drive. If your rocket has
205to go to the moon, it's going to leave a little bit of smoke in
206the air.
208Ethically, what makes "premining" feel wrong is that the creators
209of the currency are rewarded disproportionately for their effort.
210The scamcoin is a get-rich-quick scheme, vaguely pyramid-shaped.
211Nothing about Urbit matches this pattern at all.
213Curtis invented Urbit. So by the [homestead
214principle](https://en.wikipedia.org/wiki/Homestead_principle), he
215started out owning all of it. But by now, Urbit's 8-bit galaxies
216have already been distributed among [57 separate individuals]().
217Curtis owns 4 -- or 24, counting his whole family. (Some of whom
218he still owes money.)
220Tlon, the corporation which still runs Urbit development, has 95.
221(Without Tlon, there is basically no Arvo.) 50 are reserved for
222a hypothetical Urbit Foundation. Tlon employees have another 16.
224The rest of the galaxies belong to donors, investors,
225contributors, contest winners, and just random people who were in
226the right place at the right time. One is a Silicon Valley
227tycoon. Another is an Orthodox nun in a monastery in Greece. A
228couple are ex-Tlon employees who might totally hate us. There is
229nothing they all have in common, which is sort of the point.
231This property distribution looks a lot like land ownership in the
232real world -- complex and asymmetrical. That's no accident. If
233you have a problem living in New York because New York's real
234estate is not distributed equally among its residents, you may
235have a similar problem with Urbit. The reality is that Urbit,
236like New York, wasn't born yesterday and comes with a complex
237ownership history which we couldn't possibly change, even if we
238wanted to.
240Decentralization is hard. The only real goal of a property
241system in address space is to create and maintain
242decentralization. The whole network has to exhibit centrifugal
243force, not centripetal force. Proof-of-work systems certainly
244seem to have unexpected centripetal qualities, producing
245unanticipated concentrations of centralized hashpower. See the
246next objection.
248<h2 id="gov">Urbit isn't even really decentralized! It has a
249government!</h2>
251**TLDR**: it's technically impossible for Urbit to be
252decentralized at this stage of its life. Urbit is designed to
253achieve decentralization, not be born with it.
255A young network can't afford to be decentralized. It has to act
256as a unit. Because it has no network effect, it needs every
257scrap of efficiency it can get.
259A decentralized general-purpose computing network like Urbit can
260*only* be bootstrapped by a central government. For example, by
261default your urbit upgrades its OS automatically (like an
262"evergreen" browser) with signed network updates. Whoever signs
263these updates is a government by definition.
265When it's impossible to eliminate centralized power, it becomes
266necessary to tame, stabilize, and limit it. This should not be
267surprising to anyone living under a constitutional government.
269As we found out with the DAO, if a network isn't ready to be
270decentralized, its developers shouldn't even try. If Ethereum is
271hard-forked to roll back the DAO (which looks like the most
272probable result), it acknowledges that it both has a central
273government, and needs a central government. Decentralization is
274good. Pretend decentralization -- "decentralization theater" --
275is harmful, and not a effective path to actual decentralization.
277A key test of a free software project's health is whether it can
278fork. So long as the unity of the public-key hierarchy and the
279network protocol is maintained, the Arvo kernel and Urbit system
280can fork in all kinds of ways without disrupting the network.
281Any stress will fragment the "government" that develops the
282kernel, and as it fragments it grows more limited and stable.
284Urbit is designed to govern itself collectively by address space
285ownership -- effectively, "proof of stake." Any arbitrary power,
286will tend to fracture along these property lines. For instance,
287our hot updates are sent through the galaxy hierarchy; in a
288development fork, active galaxies would pick upstream sources.
289Two implementations of a standard are better than one.
291And by fragmenting the galaxy space into 57 separate partitions,
292we've created a global property map which is much more likely to
293splinter further, than reunite.
295In the long run, every galaxy should have a separate owner, who
296is a human being rather than a corporation. Combining galaxy
297holdings will damage the reputation of both galaxies. The only
298reason to merge ownership is to move toward incipient monopoly.
299Whether a galaxy admits this openly or denies it dishonestly, its
300reputation will suffer.
302The technical goal of Urbit is to create a network which, *if it
303actually takes over the world*, inevitably becomes decentralized.
304Even if Urbit takes over the world, no individual or coherent
305organization takes over the world. There is nothing even close
306to a single point of failure in a mature, successful Urbit.
308This is the goal of all the new "web3" decentralized systems. If
309IPFS, Sandstorm or Ethereum takes over the world, nobody takes
310over the world. (The same is almost true of the Internet --
311though it wouldn't be that surprising if a time traveler from
3122116 revealed that ICANN had become a planetary government.)
314Urbit, by starting out as a centralized network, just reduces the
315technical problem to match the actual goal. Only long-term
316decentralization matters.
318It's very important that Urbit in 2116 be fully decentralized.
319For Urbit in 2016, pretending to be decentralized would be a joke
320at best, and a hoax at worst. And of course, no one can DAO us
321-- since the property system is still just a central registry.
322Among other things, we check it into Github. Github is not a
323blockchain -- but still, good luck with that.
325<h2 id="sand">{Sandstorm, IPFS, Ethereum, ...} is way ahead of
326Urbit.</h2>
328In general, web3 (next distributed web) solutions don't compete
329with each other. They support each other. Concretely, they are
330all part of each others' network effect.
332IPFS, Sandstorm, Ethereum, and Urbit can all take over the world
333at the same time. None of them competes with the others. They
334enable each other.
336For instance, IPFS and Urbit are both global immutable
337namespaces. IPFS is a chord-routed, content-addressed namespace.
338Urbit is a direct-routed, identity-addressed namespace. Urbit is
339a typed revision-control system; IPFS is a blob store. IPFS
340isn't a computer; the work hasn't been done, but Urbit can easily
341mount the IPFS namespace and compute functionally against it.
343So the better IPFS does, the less Urbit needs to struggle against
344its lack of network effect. The better Urbit does, the easier it
345is for IPFS to point to a functional language that can actually
346use its referential transparency directly. So their relationship
347is symbiotic, not competitive at all.
349The closest thing to a general-purpose competitor that Urbit has
350is Sandstorm. Sandstorm, which by the way rocks, is also a
351personal server built around a network protocol.
353But Sandstorm and Urbit compete in the way that, on the PC, the
354OS and the browser compete. In theory, the OS could solve the
355problems that the browser solves; or the browser could be the OS.
356In practice, Windows is a great OS to run a browser on.
358Similarly, a world in which Sandstorm takes off is an awesome
359world for Urbit, because everyone who has a Sandstorm instance
360has a great platform for running Urbit on. Urbit on Sandstorm
361will be a sort of "double-hulled" personal server, safer and more
362friendly than either system alone.
364Sandstorm and Urbit have very different approaches to network
365identification; Sandstorm uses capabilities, Urbit identity.
366Broadly speaking, we believe, capabilities are optimal for
367expressive power; but identity is optimal for the UI of the
368common case. We'd need to see the Powerbox, Sandstorm's UI, more
369fully fleshed out to understand its UI approach better.
371<h2 id="planet">Urbit doesn't have enough planets for every human
372being.</h2>
374A 32-bit planet is a tool, not a toy. Like a car, it's a device
375for a responsible and independent adult. There aren't 4 billion
376cars in the world, nor 4 billion independent adults.
378If you aren't an independent adult, and you don't need or even
379shouldn't have unconditional digital freedom (no one's 8-year-old
380daughter needs unconditional digital freedom), a moon from
381someone else's planet is fine. (Even most of today's independent
382adults don't complain enough about being Facebook's moons.)
384And limiting the supply of anything doesn't create a shortage.
385It sets a price. Ideally, in the long run, we think a planet
386should cost about $10. This could be off by an order of
387magnitude either way, and it wouldn't be the end of the world.
389If a planet costs $10, that means you paid $10 to get a planet.
390A planet with no reputation has a positive reputation, because
391someone paid $10 for it and hasn't yet done anything wrong.
392Positive default reputation is the single quality that makes a
393social network social.
395There is always a tradeoff between free speech and free beer.
396Urbit will always choose free speech.
398<h2 id="pwned">Cloud computing is inherently non-private.</h2>
400**TLDR**: a general-purpose cloud computer is much, much more
401private than a special-purpose cloud computer. In general, a
402cloud VM is secure against corporations but not governments.
403With a global adversary, compute in your closet -- or even on
404your body.
406One reason we want the decentralized Internet is that we're tired
407of giant corporations spying on us. Think about it this way:
408Amazon is Netflix's main competitor. And yet, Netflix runs its
409whole operation on AWS. Why is Netflix sure that Amazon won't
410spy on it?
412A general-purpose virtual machine is special from a privacy
413standpoint, just because it's commercially realistic to design
414terms of service that prevent the host from peeking and poking at
415the customer's machine. Crossing this moat is technically
416nontrivial and can't possibly happen by any reasonable accident.
417No hosting contract could contemplate it.
419Whereas when your cloud computer is a special-purpose machine --
420just a database row on some corporation's mainframe -- there is
421no way these services can promise not to handle your data.
422Handling your data is *what they do*. On a special-purpose
423server, the concept of privacy is not even defined.
425Where even a general-purpose server falls down is where the user
426has a sovereign adversary, which can secretly violate explicit or
427implicit hosting contracts. Users with a sovereign adversary
428must rely only on their own physical security.
430However, most users don't have a sovereign adversary. And those
431who do maximize their "herd immunity" if they can use the same
432protocols as those who don't. Otherwise, the adversary could
433simply focus on everyone who uses the secure protocols.
435Also, the portability of a cloud server image is critical. Of
436course, since Urbit is formally specified, it's trivially
437portable. In fact, one strategy against sovereign adversaries
438may be continuous rotation between hosts, like an MX missile.
440<h2 id="code">Urbit will never be able to call any existing
441code.</h2>
443**TLDR**: neither will Javascript. And dear Unix, the browser
444does not miss interacting with your `$LD_LIBRARY_PATH` at all.
446You can't talk to the OS or use system libraries from Javascript.
447Therefore, there is no point in having any kind of gateway,
448compatibility bridge, native methods, or other interface between
449Javascript and C.
451When in doubt, remember that Urbit is "the browser for the server
452side." It plays by the same general rules. Isolation means
453isolation.
455<h2 id="weird">There's no way Urbit will ever be
456adopted. It's too weird.</h2>
458**TLDR**: Urbit adoption is designed to be driven by ordinary end
459users. Urbit isn't ready for ordinary end users yet. We're
460working on it -- come help.
462Right now, Urbit is a developer tool. Or rather, a developer toy
463-- since the only thing it's useful for is developing Urbit. It
464also could be a much better toy. We're working on that too.
466But it's absolutely wrong to think of Urbit being adopted as a
467developer tool in the conventional sense. If you think this is
468almost impossible, you're right.
470If we look at the way most successful platforms are adopted,
471they're not adopted for their own virtues. They're adopted
472because they're part of a larger solution. It's very hard to
473displace a native component of an existing platform. Urbit is
474not trying to do this.
476C is a better language than Pascal, but it didn't beat Pascal
477because it's a better language. C beat Pascal because C was the
478native language of Unix, and people wanted to program in Unix.
479People don't use Javascript because Javascript is a great
480language, but because it's the native language of the browser.
481Replacing the native language of a platform may be doable -- but
482it's incredibly hard.
484Hoon is not competing with C, or even Haskell, as a Unix
485programming language. The only reason to program in Hoon is that
486it's the native language of Urbit. Urbit is not competing with
487node.js or Rails as a Web backend. The only reason to run Urbit
488is to run a personal server.
490Nock is cool, but it only gets adopted if Hoon gets adopted.
491Hoon is cool, but it only gets adopted if Urbit gets adopted.
492Urbit only gets adopted if it's useful as a personal server for
493human beings -- most of whom won't be Hoon programmers, or
494programmers at all.
496<h2 id="program">Hoon is too weird. No one will be able to
497program in it.</h2>
499**TLDR**: Hoon is ridiculously simple. Our documentation and
500tooling are just immature.
502It's pretty fair to assume that (a) functional programming is
503hard and weird, (b) Hoon is weird even for a functional language,
504so (c) Hoon must be hard-squared.
506Actually, Hoon is weird even for a functional language because
507it's an attempt to remove the hardest things about functional
508programming: category theory, lazy evaluation, and gratuitous
509abstraction. To know a language is to know what the compiler is
510doing; all the semantics of the Hoon compiler fit in 2000 lines
511of code.
513It's too easy for us to wind up living in Isaac Asimov's Trantor,
514a world in which everything got invented thousands of years ago
515and the idea of new technology is just weird and scary. History
516isn't over yet, and nor is technical history.
518New things are harder to learn than old things. We ask smart
519high-school students to learn calculus. Think about how much
520harder it was for Newton and Leibniz to invent calculus, or for
521their first students to pick it up. Hoon is nowhere near as hard
522as calculus.
524Most of the difference is just the collective certainty that our
525society conveys to a high-school student that calculus is
526learnable. When you're learning Urbit, you don't have this
527collective knowledge; so you don't have the confidence that the
528problem is solvable. Confidence makes a huge difference.
529Moreover, any bug or glitch in the developer experience destroys
530this confidence and takes a long time to heal.
532Yes, we know: Hoon remains quite hard to learn. Again, we have
533no reason to think this problem isn't solvable. Public
534enlightenment remains our main priority.
536<h2 id="stuck">Urbit programmers are stuck with Hoon.</h2>
538**TLDR**: patience, grasshopper.
540There's quite a straightforward way to implement any perfectly
541specified language with a reliable interpreter in Hoon. First,
542write an interpreter for that language in Hoon. Second, jet that
543intepreter function with the existing implementation.
545It is not clear that Javascript is *quite* well-defined enough
546for this treatment. But Lua probably is.
548<h2 id="user">Ordinary users will never be able to manage an
549Urbit server.</h2>
551**TLDR**: Urbit's technical simplicity has always been designed
552to drive human usability. But the polish is the last thing that
553goes on. So we can't evaluate this claim right now.
555Right now, Urbit is only for geeks. You already need to be able
556to wrangle a Unix machine to run it. What's the point?
558This Urbit isn't the real Urbit. It's an early milestone on the
559way to the real Urbit.
561The real Urbit -- for normal human beings -- is a hosted service.
562Getting a planet is as easy as signing up for Facebook. Probably
563many users will think of it as another web account. They might
564not even know it can run more apps than the ones they use.
566A deterministic, persistent cloud computer is something different
567from a traditional server. Normally when we think of a server in
568the cloud, we think of it like a live animal -- a creature that
569needs to be cared for, fed, and herded. A file in the cloud is
570more like a rock -- you can forget about it for ten years.
572An urbit is a general-purpose computer, but it doesn't even have
573the concept of a reboot. It upgrades itself. If you don't feed
574it any packets for ten years, then turn it back on, it will spend
575a day or two upgrading itself, then be back to normal. Maybe
576it's something in between a rock and an animal -- a cactus?
578Another huge difference versus an Internet server is that we're
579confident that Urbit's limited supply of identities will make it
580easy to keep abusers off the network. So far, so good -- but of
581course, no one abuses a young network.
583The bottom line is that managing your urbit has to be as easy as
584managing your iPhone. Normally, it consists of deciding what
585apps you want to be running, and how much you trust them.
586Resources can't be free, so sometimes you have to play memory
587police. Humans have shown that they can handle these tasks.
589Our '70s OSes and networks, which were great designs in their day
590and have matured into excellent industrial tools, give us a
591totally misleading impression of how hard it should be to manage
592a general-purpose computer. Computing isn't scary or dangerous.
593Unix and the Internet are scary and dangerous. That's fine for
594an industrial tool, but not a personal tool.
596<h2 id="killer">Urbit has no killer app.</h2>
598**TLDR**: the killer app is personal API aggregation.
600It's a truism that any new platform has to be fundamentally much
601better at solving some problem than the mature platform it seeks
602to replace.
604We can look at Urbit's killer app from two perspectives: as a
605developer, and as a user.
607From the developer's perspective, Urbit's advantage is that it's
608a network stack which provides exactly-once delivery of typed,
609validated, transactional, encrypted and authenticated messages.
610The difference between an Urbit API and a REST API is like the
611difference between a paved road and a dirt road. On the other
612hand, you do need to learn a new functional language.
614From the user's perspective, there's one task that any personal
615server can perform, that can't be performed by any Web service:
616unrestricted API aggregation.
618Well before Urbit is ready to *replace* any conventional web
619services, it should be ready to *command* them in place by API.
620(Or if needed, by scraping.) If all you care about is being in
621control of your own data, it's fine to leave it in the hands of
622these services, as you have the API secrets to get it out.
624Managing a set of security connections to your existing services
625is one of the first important tasks of a modern personal server.
626This is a stateful task that typically requires both a durable
627API key and a temporary OAuth token. APIs change all the time,
628so connection maintenance also requires evergreen updates.
630The origin of this API key will vary, but usually the best way to
631set it is BYOK: the user registers their own urbit as an "app."
632And the neat thing about having your own API keys, for multiple
633services, on a single general-purpose computer, is that none of
634these services really has any practical way to control what you
635do with your own data.
637Terms of service which constrain the use of data (as opposed to
638the abuse of the service) simply aren't realistic and will no
639longer apply. This enables a variety of novel user experiences
640which aren't implementable as traditional web services, and also
641aren't available via conventional third-party API aggregators.
643Also, since Urbit is after all quite immature, it doesn't make
644much sense to restrict this security state to code within Urbit.
645The Urbit interpreter `vere` runs as a Unix daemon that
646implements the FUSE user-level filesystem protocol, and maps the
647data on your services into the Unix filesystem. For example, one
648of our demos lets you `ls` your Github issues.
650So it's straightforward to build, for instance, a Python app that
651uses Urbit as a gateway to mash up a bunch of web services. As a
652Unix programmer, you might even just regard Urbit as a generic
653Web API gateway daemon, without worrying about its internals.
655We have other ideas for initial killer apps. But this, we feel,
656is the best one. API libraries for `npm` et al abound.
657Stateful, self-updating, generic API aggregators with FUSE
658integration, also integrated with a reactive web server, are
659rarer.
661<h2 id="horse">Urbit is sniffed at by Houyhnhyms.</h2>
663It's difficult to categorize [this awesome
664essay](http://ngnghm.github.io/blog/2016/06/11/chapter-10-houyhnhnms-vs-martians/)
665a single bullet point. So I've saved it for last.
667When reading this essay, it's important not to forget the amazing
668absence of genuine, mutually critical discourse in computer
669science (as in most sciences today). You never hear what Swift's
670designers think of Go, or vice versa. And critical public
671discourse decreases, not increases, with increasing academic
672legitimacy.
674The basic test of any field purportedly scientific in nature is
675whether its researchers are genuinely interested in each others'
676work, and willing to share these genuine responses publicly. If
677this practice does not exist, the field may still be useful
678and/or interesting. But it is not science.
680What's awesome about Fare's essay is that he's *doing it right*.
681All the actual details are irrelevant. And mostly wrong. But
682that's of very little importance compared to *doing it right*.
684Anyway, we've already addressed the idea that jets are a sham.
685Some other points:
687### Event-sourcing and/or caching is a pattern, not a layer
689Fare' is perfectly right that "one size does not fit all" in
690persistence. Generally, Urbit uses event-sourced persistence.
692But it has multiple layers of event-sourcing: in the definition
693of Urbit itself; in the application sandbox vane (Gall), and in
694the application itself. Urbit also has a completely orthogonal
695revision control system (Clay).
697And there is not a single cache across the whole system, though
698arguably there should be; for instance, the functional build
699system (Ford, which Fare' the master of build systems might
700appreciate) has its own internal cache.
702It is a common mistake to confuse a design pattern with a layer
703or feature, and equally fatal whichever direction you fail.
705### Let's be clear about why DSLs suck
707DSLs suck not because they are difficult to newbies in the base
708language. DSLs suck because every time a programmer, even one
709*experienced* in the base language, comes into a new codebase or
710project, she has to learn a new custom language.
712You need enormous wins to justify this cost. It's the goal of
713the base language designer to preempt these wins, creating a
714language which is almost never so tiresome and full of
715boilerplate that it requires a DSL or template layer.
717Hoon is almost entirely made of macros -- but they are internal,
718fixed, built-in macros (with no gensyms). This fixed set of
719macros is essentially enough. Occasionally we want to add one or
720two. But we never, ever pine for context-dependent macros.
722### Determinism is not consensus, and is not constraining
724Fare' is totally right that an urbit's data is meant for itself
725alone. In fact, an urbit has the right to compute incorrectly if
726it wants. We go to considerable lengths to ensure that you can't
727gain any particular advantage by incorrect computing.
729The whole point of Nock is that it's so low-level that there is
730no conceivable advantage in upgrading it. Divergence is just
731pointless. This is not a question of network integrity, just of
732practical standardization.
734This consistency stops at Nock. Without anyone violating the
735correctness of their lifecycle functions, anyone or everyone in
736Urbit could replace Hoon with Javascript. Determinism does not
737cramp Urbit's semantic style in any way, shape or form.