Skip to content

Instantly share code, notes, and snippets.

View tyrchen's full-sized avatar

Tyr Chen tyrchen

View GitHub Profile
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
##### main base config options #####
# TCP or UNIX socket address of the ABCI application,
# or the name of an ABCI application compiled in with the Tendermint binary
proxy_app = "tcp://127.0.0.1:26658"
# A custom human readable name for this node
{
"genesis_time": "2018-11-05T19:22:08.938749Z",
"chain_id": "final-chapter",
"consensus_params": {
"block_size": {
"max_bytes": "22020096",
"max_gas": "-1"
},
"evidence": {
"max_age": "100000"
[{"title":"Joe","image":"http://images.adrise.tv/JkC_Cw7UD2jcJtmg7dAAArPGXiE=/214x306/smart/img.adrise.tv/d57031bb-61c9-499e-bb7a-4461e76db235.jpg","id":"369854"},{"title":"Man On A Ledge","image":"http://images.adrise.tv/q4v7JUQPPHqn8nTmYiudW6l8w_0=/214x306/smart/img.adrise.tv/1c31dfce-5338-4a09-bcb0-f68789153f33.png","id":"302437"},{"title":"The Hunted","image":"http://images.adrise.tv/0K0omTIr4w7jyjK5I18cvW5ljWg=/214x306/smart/img.adrise.tv/c79d639a-de5f-44d4-86d9-40e5a892551e.png","id":"307852"},{"title":"Igor","image":"http://images.adrise.tv/mLPoP2m45bK3Rpa92yXQL6anRf8=/214x306/smart/img.adrise.tv/a04564c2-ddd7-4d3a-bcb5-8b1b07317683.jpg","id":"334155"},{"title":"Teeth","image":"http://images.adrise.tv/WMI7_mLShEgyngHjnrk2rGZWGnw=/214x306/smart/img.adrise.tv/ac8b5a44-072f-4eca-b9d5-ad708c43b880.jpg","id":"376133"},{"title":"The Town That Dreaded Sundown","image":"http://images.adrise.tv/vzLhWbZFqKMNZRK6mKRxSUSwUNg=/0x0:800x1143/214x306/smart/img.adrise.tv/d177a000-89bc-4ebc-9d90-e401c37f1161.jpg","id":"
@tyrchen
tyrchen / Rust vs. Swift.md
Created June 26, 2021 20:44 — forked from GeorgeLyon/Rust vs. Swift.md
A list of advantages Swift has over Rust

Note This is a little out of date. Rust has made some progress on some points, however many points still apply.

Philosophy

Progressive disclosure

Swift shares Rust's enthusiasm for zero-cost abstractions, but also emphasizes progressive disclosure. Progressive disclosure requires that language features should be added in a way that doesn't complicate the rest of the language. This means that Swift aims to be simple for simple tasks, and only as complex as needed for complex tasks.

The compiler works for you