This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Bcoin | |
:: | |
:: > xpub | |
:: 'tpubD6NzVbkrYhZ4XnhCewQV4KAr7up7HhgQUEbjFYyiBde3Uau2G3zx25wJchZi9Wubh538fyaXsrQZ2pHj8XzyDZpG3PbXG2vv8b6UtkoVaJ3' | |
:: > bcoin.HDPublicKey.fromBase58(xpub).publicKey.toString('hex') | |
:: '02c46113c5dde7134fd1f2b80c0ca977db61053d6eeac486672aaac2f4fc0c5481' | |
:: > bcoin.HDPublicKey.fromBase58(xpub).derive(0).derive(0).publicKey.toString('hex') | |
:: '03e1bf9d8e246d1dbe44b4c790fe7f28d09069264f134ef577311cf88c2fd2e923' | |
:: > new bcoin.KeyRing(bcoin.HDPublicKey.fromBase58(xpub).derive(0).derive(0)).getAddress('string', 'regtest') | |
:: 'mn8xJjYWUAPGrnFCDgTtARWsajjPLZgzEt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
work: (1)| core: 120315 | |
lmdb: write failed: MDB_MAP_FULL: Environment mapsize limit reached | |
Assertion '0' failed in noun/retrieve.c:1527 | |
bail: oops | |
bailing out | |
address 0x8 out of loom! | |
loom: [0x36000000 : 0xb6000000) | |
Assertion '0' failed in noun/events.c:129 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Hoon School 101! I'm your instructor ~rapfyr-diglyt. Each week we'll have a reading, a walkthrough, and an assignment. Please be sure to ask questions in ~bolbex-fogdys/hoon-school We're very happy to have you! | |
Turn your homework in with this [form](https://forms.gle/aCwiWL6dYtJq1dTf9) | |
Reading | |
Booting a fakezod: https://urbit.org/docs/using/creating-a-development-ship/ | |
Intro to Dojo: https://urbit.org/docs/using/shell/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: %hook app | |
:: | |
... | |
++ poke-atom | |
|= a=@ | |
^- (quip move _this) | |
~& .^(@ud %gx /=btc-node-store=/n-wallets/noun) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Sticky Notes | |
:: | |
/- sole | |
/+ sole, *server | |
:: | |
:: This imports the tile's JS file from the file system as a variable. | |
:: | |
/= tile-js | |
/^ octs | |
/; as-octs:mimes:html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Sticky Notes | |
:: | |
/- sole | |
/+ sole, *server | |
:: | |
:: This imports the tile's JS file from the file system as a variable. | |
:: | |
/= tile-js | |
/^ octs | |
/; as-octs:mimes:html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Week 6: | |
:: Write a test suite for either your card library or your depth first tree search | |
:: | |
/+ *test, playing-cards, poker, hands | |
:: | |
=, poker | |
=, playing-cards | |
=, hands | |
:: | |
|% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Week 5: | |
:: Build a gall app that queries a json API of your choosing | |
:: (or https://pokeapi.co/ if you don't want to pick) and maintains a | |
:: local copy for any queried data. | |
:: | |
:: Queries the Poke API with Pokemons and | |
:: stores them in you Pokedex | |
:: | |
:: Usage: | |
:: * Print Pokedex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Week 4: | |
:: Set a reminder: Extension of the egg timer. | |
:: Instead of giving it a time to go off, give it a time stamp. | |
:: | |
!: | |
:: | |
|% | |
+$ effect (pair bone syscall) | |
+$ syscall | |
$% [%wait path @da] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Week 3: | |
:: Write “+turn” w/o stdlib | |
:: | |
:: Tests are included in the generator for easier checking the correctness | |
:: behavior of the assignment. If all tests pass, not output will be displayed. | |
:: Failing tests will show an output of the format: | |
:: | |
:: > +week3 | |
:: expected: [i=3 t=[i=7 t=[i=9 t=[i=13 t=[i=0 t=~]]]]] | |
:: actual: ~[3 7 9 13] |
NewerOlder