This commit is contained in:
Jeremy Kauffman 2017-04-18 18:40:03 -04:00
commit 524e93be05
12 changed files with 67 additions and 11 deletions

View file

@ -9,7 +9,16 @@ It's very easy to have lbry.io running locally:
- Install PHP7
- Checkout the project
- Run `./dev.sh` from the project root
- Access `localhost:8000` in your browser
- Access [localhost:8000](http://localhost:8000) in your browser
You can also run the development server using docker:
- Install Docker
- Checkout the project
- Run `./dev-docker.sh` from the project root
- Access [localhost:8000](http://localhost:8000) in your browser
Both the `dev.sh` and `dev-docker.sh` scripts will initialise a configuration based on `data/config.php.example` if `data/config.php` does not exist.
To run remotely, simply install PHP and configure Apache or your server of choice to serve `web/index.php`.

View file

@ -1,7 +1,7 @@
---
name: Alex Grintsvayg
role: Founder, Chief Technical Officer
email: grin@lbry.io
email: alex@lbry.io
---
One of Alex's job titles is Wizard, so named because he can seemingly understand and utilize new technologies faster than they can be created.

View file

@ -0,0 +1,18 @@
---
author: reilly
title: 'He Did The Math'
date: '2017-04-13 00:20:00'
cover: 'mattsokol-banner.jpg'
---
Math and art allegedly dont go together.
[Slack](http://slack.lbry.io/) regular Matt Sokol begs to differ. One of the first musicians on the LBRY scene, Mr. Sokols dream beats and math rock background feel right at home on LBRY.
![SLUG by Matt Sokol](/img/news/mattsokol-inline.png)
A music industry veteran of ten years, Sokol shares an inspiring vision for the future of musicians on LBRY--one much more profitable for the artist than YouTube, Soundcloud or Spotify. Hes played the role of frantic shred-drummer in the math rock bands Good Citizens, MEGA SHRUB, and Oculesics.
His chopped up vocals, abstract drum beats, and soothing guitars from his upcoming solo debut will be rolling onto his LBRY channel lbry://@heymattsokol as soon as he finishes doing the math for it.
**Not on LBRY yet?** [Get an invite here](https://lbry.io/get). Musician looking for a way to avoid being shafted by The Man? Email reilly@lbry.io to actually make money on your music.

View file

14
data/config.php.example Normal file
View file

@ -0,0 +1,14 @@
<?php
$config = [];
// $config['github_key'] = '';
// $config['github_developer_credits_client_id'] = '';
// $config['github_developer_credits_client_secret'] = '';
// $config['lbry_api_server'] = '';
// $config['mailchimp_key'] = '';
// $config['prefinery_key'] = '';
// $config['asana_key'] = '';
// $config['aws_log_access_key'] = '';
// $config['aws_log_secret_key'] = '';
return $config;

11
dev-docker.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
source dev-prepare.sh
docker run --rm -it --name "dev.lbry.io" \
-v "$(readlink -f .):/usr/src/lbry.io" \
-w "/usr/src/lbry.io" \
-p "127.0.0.1:8000:8000" \
-u "$(id -u):$(id -g)" \
php:7-alpine \
php --server "0.0.0.0:8000" --docroot "web/" "web/index.php"

3
dev-prepare.sh Normal file
View file

@ -0,0 +1,3 @@
if [ ! -e "data/config.php" ]; then
cp "data/config.php.example" "data/config.php"
fi

2
dev.sh
View file

@ -1,3 +1,5 @@
#!/bin/bash
source dev-prepare.sh
php7.0 --server localhost:8000 --docroot web/ web/index.php

View file

@ -9,9 +9,8 @@
<?php $rowCount = 0 ?>
<?php foreach([
['jeremy-kauffman', 'alex-grintsvayg'],
['josh-finer', 'job-evers-meltzer'],
['jack-robison', 'alex-liebowitz', 'jimmy-kiselak'],
['kay-kurokawa', 'reilly-smith', 'you']
['josh-finer', 'kay-kurokawa',],
['jack-robison', 'alex-liebowitz', 'reilly-smith']
] as $bioRow): ?>
<div class="row-fluid">
<?php ++$rowCount ?>

View file

@ -111,7 +111,7 @@
}</code>
<div class="meta text-center content-inset"><p>A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.</p></div>
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. Weve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for offchain settlement.</p>
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. Weve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for off-chain settlement.</p>
<p>The LBRY blockchain simply maintains LBC balances and a content namespace/catalogue. The next part, LBRYnet, specifies what to do with this data. To compare to the existing web, the blockchain is like the domain system (it maintains a listing of what is available), while the next piece makes it possible to actually fetch and pay for content.</p>
<footer> If youre a Bitcoiner wondering why we dont use the Bitcoin blockchain, you can read a detailed answer to that question <a href="/news/why-doesnt-lbry-just-use-bitcoin">here</a>.</footer>
@ -164,7 +164,7 @@
<p>Additionally, the market mechanisms of LBRY create a strong incentive for efficient distribution, which will save the costs of producers and ISPs alike. These properties, along with LBRYs infringement disincentivizing properties, make LBRY an appealing technology for large existing data or content distributors.</p>
<h4>Transaction Settlement</h4>
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of offchain settlement.</p>
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of off-chain settlement.</p>
<p>Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.</p>
</section>
@ -183,7 +183,7 @@
</section>
<section>
<h2 id="combatting-the-ugly">Combatting The Ugly</h2>
<h2 id="combatting-the-ugly">Combating The Ugly</h2>
<p>As neither naïfs nor knaves, we acknowledge that LBRY can be used for bad ends. Technology is frequently this way. Encryption protects our privacy -- as well as that of terrorists. Cars allow us to travel marvelous distances -- and kill millions per year.</p>
<p>The downside to LBRY is that it can be used to exchange illegal content. However, several factors of LBRY make illicit usage less likely than it may seem at first consideration. On the whole, as with the car and encryption, the benefits of LBRY clearly outweigh nefarious uses.</p>
@ -196,7 +196,7 @@
<li><strong>Stiffer penalties. </strong>Penalties for profiting off of infringement are far stronger and can involve jail time, while infringement without profit only results in statutory damages. This serves as a far stronger deterrent for all infringing uses than BitTorrent provides.</li>
<li><strong>Expensive or impossible. </strong>Offchain settlement will be a requirement for efficient purchases at any significant network size. Settlement providers, ourselves included, will be able to block purchases for infringing content. At significant traffic volume, if infringing content cant be outright removed or blocked, transaction fees will make it prohibitively expensive.</li>
<li><strong>Expensive or impossible. </strong>Off-chain settlement will be a requirement for efficient purchases at any significant network size. Settlement providers, ourselves included, will be able to block purchases for infringing content. At significant traffic volume, if infringing content cant be outright removed or blocked, transaction fees will make it prohibitively expensive.</li>
</ol>
<p>And of course, lets not forget that LBRY users are still subject to the DMCA and other laws governing intellectual property. Users who publishing infringing content are still subject to penalties for doing so in exactly the same way they would be via BitTorrent. LBRY only adds to the suite of options available. This makes LBRY a strict improvement over BitTorrent with regards to illegal usages, which provides none of the mechanisms listed.</p>
</section>
@ -260,7 +260,7 @@
</div>
<div class="meta text-center content-inset"><p>A slightly simplified sample entry of metadata in the LBRY blockchain. Whichever party or parties bid the most in an ongoing auction control what a name returns.</p></div>
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. Weve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for offchain settlement.</p>
<p>Other than the usage of the LBRY blockchain to store names and metadata, there are only minor differences between the blockchains of LBRY and Bitcoin, and the changes are generally consensus improvements. Weve buffed the hashing algorithm, smoothed the block reward function, increased the block size, increased the total number of credits, and prepared for off-chain settlement.</p>
<p>The LBRY blockchain simply maintains LBC balances and a content namespace/catalogue. The next part, LBRYnet, specifies what to do with this data. To compare to the existing web, the blockchain is like the domain system (it maintains a listing of what is available), while the next piece makes it possible to actually fetch and pay for content.</p>
<footer> If youre a Bitcoiner wondering why we dont use the Bitcoin blockchain, you can read a detailed answer to that question <a href="/news/why-doesnt-lbry-just-use-bitcoin/">here</a>.</footer>
@ -313,7 +313,7 @@
<p>Additionally, the market mechanisms of LBRY create a strong incentive for efficient distribution, which will save the costs of producers and ISPs alike. These properties, along with LBRYs infringement disincentivizing properties, make LBRY an appealing technology for large existing data or content distributors.</p>
<h4>Transaction Settlement</h4>
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of offchain settlement.</p>
<p>While payments can be issued directly on the LBRY blockchain, the LBRY protocol encourages a volume of transactions that will not scale without usage of off-chain settlement.</p>
<p>Essentially, rather than issue a transaction to the core blockchain, transactions are issued to a 3rd-party provider. These providers have a substantial number of coins which are used to maintain balances internally and settle a smaller number of transactions to the core chain. In exchange, these providers earn a small fee, less than the fee required to issue the transaction directly to the blockchain.</p>*
*/ ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB