- 1コンテナにつき1プロセス
- Immutable Infrastructureなイメージにする
- 軽量なDockerイメージにする
- yumやaptでパッケージをインストールした後のキャッシュファイルやリポジトリのパッケージリストなどの削除
- Alpine Linuxなど軽量なディストリビューションを利用する
- 実行ユーザをroot以外にする
SCNNode node1 = SCNNode() | |
SCNNode node2 = SCNNode() | |
SCNNode node3 = SCNNode() | |
node1.renderingOrder = 100 // 1番目 | |
node2.renderingOrder = 300 // 3番目 | |
node3.renderingOrder = 200 // 2番目 |
import UIKit | |
import GoogleMaps | |
class DemoViewController:UIViewController { | |
override func loadView() { | |
let camera = GMSCameraPosition.camera(withLatitude:1.285, longitude:103.848, zoom:12) | |
let mapView = GMSMapView.map(withFrame: .zero, camera: camera) | |
self.view = mapView | |
} | |
} |
Ethereumは、今最もDapps開発で利用されているプラットフォームです。Dappsとは分散型アプリケーションの略称で、ブロックチェーン上にアプリケーションを配置する(デプロイする)ことで、中央管理者が不要なシステム構築を可能にしています。例えば、"トークン"と呼ばれる仮想通貨は、Ethereum上のDappsとして作成されているケースが多いです。
なぜEthereum上のDappsで多くの通貨が作成されているのでしょうか。それは、ERCと呼ばれる共通規格が他のプラットフォームに先んじて整備されていることが理由の1つでしょう。
ERCとはEthereum Request for Commentsの略称で、Ethereumに関連する技術仕様の提案書を指します。Ethereumのコミュニティは他のブロックチェーンコミュニティに比べ活発であるため、現在までに多くのERCが議論されています。
WebAssembly is at best when considered as a supplement to JavaScript - filling in when JavaScript isn't quite performant enough.
WebAssembly can be used to write entire web applications or to replace small bits of existing applications that might not be performant enough with something that runs at near native speed.
These languages(C#,Go) have large runtimes that must be included in the WebAssembly binary, they're only really practical for greenfield projects.
※the smallest achievable binary size uncompressed is around 2MB; this mirrors what I've seen. For Rust, which ships with an extremely minimal runtime (basically just an allocator), the "hello, world" example compiles to 1.6KB
- If you want to reset previous commit, then
> git reset --soft HEAD^
https://qiita.com/shuntaro_tamura/items/06281261d893acf049ed
Build a smart contract that allows creators to register their projects. Other people can contribute ETH to that project. Once the goal has been met, the creators can withdraw the funds. When someone contributes 1 ETH, they receive a contributor badge NFT, which is tradable.
- Anyone can launch a project to raise funds by ETH.
- cannot be funded with any ERC20s.
- can launch projects multiple times as another project.
- Anyone can pay ETH to any projects.