Counter example to Zooko’s triangle? [on hold]

So Zokoo’s triangle is a conjecture that is often explained by this trilemma:





pick two

But what if we hash the public key of an user and turn it into a meaningful identifier?

For example, we can use the hash as an input to get an unique profile picture with Gravatar (the default profile picture generator of Stack Exchange). We can also pass the hash as a seed to a neural network that generates profile pictures with people, animals, landscapes, etc.

But that’s not good, we can’t fetch an user identified by their profile picture, so we have to create meaningful character strings. I call it the “exquisite corpse” method: Let’s say the hash contains 6 alphanumerical characters, we can divide it into 3 parts of 2 characters each. The first part identifies an adverb in a dictionary of 3844 words ((26*2+10)²), the second part identifies an adjective is a dictionary of 3844 words and the third part a noun in a dictionary of 3844 words. This way, we obtain usernames like Extremely Metaphorical Chicken.

Maybe you would say that relying on a common arbitrary dictionary of words makes it not distributed, but in this case the arbitrary choice of the hash function would also make it not distributed. The ‘distributed’ criterion means that every peer on the network can do name resolve by themselves, not that we can’t rely on a common standard. Every peer can download the dictionary and/or the Gravatar generator (although I concede installing a whole neural network would be too much).

Is it a proper counter-example to Zooko’s triangle or I am mistaken? If so, should we change “human-meaningful” to “human-choosable”?

Thank you for your help.

Feedback Sought on Java Reflection Factory Example

I set out to create an example or proof of concept of an idea I had and would be interested in receiving constructive feedback on my idea. I needed a Java factory pattern that allowed the end-user of the application to extend it (think add-ons, plug-ins, user contributed content, etc.). So I created a Java factory that uses reflection. While I am doubtful that I am the first to have done this, I have not found [any] examples of it. In my example, I created an abstract class called Vehicle. I then extended Vehicle a number of times (i.e. car, train, boat, airplane, etc.) and placed the subclasses in a separate package. In my example, my factory has a class scanner (does not currently support JAR files) that registers each subclass. Then the factory can be easily called using some class data (i.e. ID, name, whatever) to create a new instance of the subclass. I have included a link to the repo in GitHub (I hope that makes it easier to browse/review). What are your thoughts? Is this practical? Useful? Are there obvious improvements? Easily adapted to support JAR files?

I do want to note that I am aware of Google Guava and the Reflections Library. I wanted to create an example without dependencies on other libraries.

To see the underlying code, please follow link to GitHub repo.


/*   * Create a new instance of the reflection factory by   * passing the package name to the constructor. The class  * scanner will look in this package for classes. All of the  * classes in this package must share the same superclass -  * Vehicle in this case.  */ VehicleFactory vehicleFactory = new VehicleFactory("org.codehamster.vehicles");  /*   * Call the getVehicle() method with the identifier ("name")  * of the class to create a new instance of.  */ Vehicle vehicleOne = vehicleFactory.getVehicle("boat"); Vehicle vehicleTwo = vehicleFactory.getVehicle("train"); Vehicle vehicleThree = vehicleFactory.getVehicle("truck"); Vehicle vehicleFour = vehicleFactory.getVehicle("airplane"); Vehicle vehicleFive = vehicleFactory.getVehicle("car");  /*   * Call each of the new classes with the println() method  * to invoke the toString() method and verify the output  * is correct.  */ System.out.println(vehicleOne); System.out.println(vehicleTwo); System.out.println(vehicleThree); System.out.println(vehicleFour); System.out.println(vehicleFive); 


Vehicle is a boat Vehicle is a train Vehicle is a truck Vehicle is a airplane Vehicle is a car 

Need gateway/router example using systemd-networkd

Is there a good Ubuntu example of gateway/router using systemd-networkd?

I am trying to find an Ubuntu example of a gateway/router where eth0 is the WAN and eth1 … ethN are the LAN using systemd-networkd. I need the gateway/router to act as the DHCP server on the LAN side. I need eth0 to be a DHCP client on the WAN side.

NOTE: I have ufw working, ddclient working, and NTP working. I am using Ubuntu 18.04.2 LTS in a motherboard with 10 eth ports.

Emphasis: systemd-networkd

Example Lateral, Forward & Reverse Navigation in Desktop Applications

I’m researching Material Design in how it’s related to layer based navigation.

Navigational directions Based on your app’s information architecture, a user can move in one of three navigational directions:

Lateral navigation refers to moving between screens at the same level of hierarchy. An app’s primary navigation component should provide access to all destinations at the top level of its hierarchy.

Forward navigation refers to moving between screens at consecutive levels of hierarchy, steps in a flow, or across an app. Forward navigation embeds navigation behavior into containers (such as cards, lists, or images), buttons, links, or by using search.

Reverse navigation refers to moving backwards through screens either chronologically (within one app or across different apps) or hierarchically (within an app). Platform conventions determine the exact behavior of reverse navigation within an app.

Does anyone know of any online examples of a mobile and desktop app that demonstrates this?

We see it in mobile app design everywhere, that’s prolific. But how those layers translate between mobile to desktop layout is what I cannot find examples of.

essay cause and effect example

essay vs research paper format of essays buying an essay online a good hook for a persuasive essay how to start a comparing and contrasting essay effect of stress essay essay on politics random essay
great expectations essay topics…

essay cause and effect example

my family essay example

essays on young goodman brown age of exploration essay energy conservation essay life essay sample of biographical essay essay on affirmative action washington dc essay essay research topics
nurse essays…

my family essay example

hook for essay example

college essay samples persuasive essay on driving age science vs religion essay essays on the merchant of venice essay civil war what is communication essay teenage smoking essay essays about teaching
example of an analysis essay…

hook for essay example

Example of beginner, intermediate, advanced components [on hold]

Similar to this other question An example of a beginner-level Algorithm, intermediate level Algorithm and a complex/expert level Algorithm? What would be examples of beginner, intermediate and advanced components?.

For example implementing a connection pool would be beginner or intermediate? what about implementing a thread executor or a dependency injector? Although these components are very well implemented in libraries, I think the question would be useful for people to know them and get familiar to understand how to use them and what to expect from them.