@marak voted I would like to not create any new modules on npmjs.com, to incentivize mys
@marak in #ssbc
Log level: notice
OpenError: IO error: lock /Users/a/.ssb/db/LOCK: Resource temporarily unavailable
    at /Users/a/dev/lolashare/node_modules/levelup/lib/levelup.js:117:34
    at /Users/a/dev/lolashare/node_modules/abstract-leveldown/abstract-leveldown.js:39:16

I'm seeing this by running two versions of patchwork side by side using separate configs. I'm assuming I missed a config somewhere causing the conflict, or is that db folder always going to be shared?

@marak in #ssbc

Mastadon appears to be getting some following. Haven't checked on it in a while, but it came up again today.

https://github.com/tootsuite/mastodon

@Dominic what are your thoughts on their protocol stack? They are saying, ActivityStreams, Webfinger, WebSub and Salmon.

@marak voted I am wondering if we can have a shared standard for viewing patch* pages? I
@marak in #lolashare

Been in the hospital for the past couple of days ( still there now ) for family issue, but will getting back to pushing commits tonight / tomorrow.

Was able to do a bit of work on building simple code examples for working with SSB and Lola.

I think we'll offer a few utility scripts as part of Lola to let users interact with the network outside of the GUI itself. Will be useful for testing and open up the possibility for other developers to easily build CLI tools or other scripts.

@marak sent a private message
@marak sent a private message
@marak in #bitcoin
Re: %UnjnI5E/j

@Richard D. Bartlett localbitcoins.com is the easiest way I think.

Just meet the person face to face for cash and do a hand off with escrow and SMS codes. Make sure to follow the escrow process and you should be fine. Meet in a public place.

@marak in #bitcoin

checks the price of BTC today

Remembers all the whole BTC coins I gave away to friends for free.

OOPS :smiley:

@marak sent a private message
@marak sent a private message
@marak
Re: %8JFWNynst

Wow! It's 1999 all over again, this is awesome.

I wonder if they have support from any major real-estate associations. These organizations are like mafia. They protect their listings heavily. I wrote some "cutting edge" MLS software back in 2001.

@marak sent a private message
@marak

@Dominic I was able to spawn a child process.

@marak in #cooperative
Re: %dyUd760fz

@kas did you make it to the sandbox at the end? You can adjust the rewards parameters of the game including the payouts.

@marak voted # more ssb stickers! ![more-ssb-stickers.jpg](&YZ334B3exOQ2oLw7bFL5/pV4zwa
@marak in #soundcloud
Re: %VStrS5HvT

I've had the same issue a couple of times with nested threads. I think it's being worked on.

@marak voted Oh, woops the above two messages are me saying the same thing twice - didn'
@marak voted sure, in the [source code](https://github.com/ssbc/scuttlebot/blob/cb6eb732
@marak in #ssbc
Re: %m6UVcLmK/

Nice! @dinosaur, is the temp property documented anywhere?

@marak voted example: [scuttlebot/test/block.js](https://github.com/ssbc/scuttlebot/blob
@marak in #new-people
Re: %UifFuSClH

Welcome! Dumb questions are the best kind of questions. Please let us know.

@marak in #scuttlebot
Re: %JJUYz5Ngm

Thanks @cel!

I dug around a bit and found https://github.com/ssbc/ssb-example-pm to be a decent guide.

I'm going to see if I can take a few of these example scripts and put them in a single place.

@marak sent a private message
@marak in #scuttlebot
Re: %JJUYz5Ngm

I think I found it in the docs, sbot.private.unbox, going to try now.

@marak
{
  "type": "/lola/audio",
  "private": true,
  "text": "2 - this is a private /lola/audio track"
}
@marak
{
  "type": "/lola/audio",
  "text": "this is a private /lola/audio track"
}
@marak in #ssbc

Is there any concept of a testnet for SSB development?

I'm sending a few ( not that many ) test messages in the development of an app and writing some examples.

Is it bad etiquette if I am publishing these messages to pubs I don't run? The type of message will be name-spaced into a new name-space that other apps won't be looking for.

Trying to understand best practice for development.

@marak in #scuttlebot

Okay, I got another question.

I'm pulling down messages, but it seems the private ones are coming up as encrypted? That makes sense, I think? How can I easily view the encrypted content locally, is it because I'm not authenticated, or do I need to manually de-crypt locally?

  // get all messages that match the type '/lola/audio'
  pull(
    sbot.messagesByType({ type:'/lola/audio' }),
    pull.collect(function (err, messages) {
      if (err) {
        throw err;
      }
      messages.forEach(function(message){
        // if the message is public, message.value.content will be in plaintext ?
        // if the message is private, message.value.content will be encrypted hash ?
        console.log('message content', message.value.content);
      })
    })
  )
@marak in #cooperative

Having fun playing this game on trust. I think it was posted before. Posting again just in case.

http://ncase.me/trust/

@marak in #ethereum
Re: %fc0ZWZA9D

@amnovak this is really interesting.

I've skimmed your materials and white paper ( have not done an in-depth analysis ).

I can't figure out what actual value this project would create. Why do I need a blockchain / smart contract / distributed computer in order to generate procedural content?

Isn't this something that a single JavaScript or Python script could easily do? What is the value here?

@marak sent a private message
@marak in #scuttlebot
Re: %/UUfzsvoB

Awesome! Thank you.

I will see what I can do about creating code examples for basic API usage.

https://ssbc.github.io/docs/scuttlebot/tutorial.html is a good place to start. Has been very helpful.

I know for my own learning style it's much easier to have runnable code examples as a reference, so I will try to help in making those.

@marak sent a private message
@marak in #scuttlebot
Re: %/UUfzsvoB

That was it, thanks @Dominic !

I thought it might be, but was struggling to find example code.

I'm starting to put together a set of examples / granular CLI tools to assist with Lola development.

Would you accept a PR to https://github.com/ssbc/scuttlebot to add an ./examples folder for doing basic operations?

@marak in #scuttlebot
Re: %/UUfzsvoB

Any idea why this would hang, but other API methods are working?

  sbot.messagesByType({ type: 'post' }, function (err ,cb) {
    console.log('back from get')
    console.log(err, cb)
  });
@marak
{
  "type": "/lola/audio",
  "text": "hello, world. testing a new publish type"
}
@marak

hello, world. testing sbot

@marak in #new-people
Re: %sSXyENqfj

Greetings. Welcome. You've stumbled upon the future. Glad to have you.

@marak sent a private message
@marak sent a private message
@marak subscribed to channel #scuttlebot
@marak in #scuttlebot

Is it possible to pull a feed that is filtered by message type from the server?

Or do I have to pull all messages and filter on the client?

@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak in #lolashare
Re: %5wFY/nBS+

I've got the v0.7.0 branch working now with a port from Patchwork

https://github.com/LolaShare/LolaShare/tree/v0.7.0

I just added the form for uploading audio, I'll do it's backend next. Feel free to start poking around with the layout and UI in this branch.

@marak

Slowly porting over the functionality of Ferment Alpha into the new patchwork fork.

Rigging up the add audio button now.

@marak sent a private message
@marak in #lolashare
Re: %5wFY/nBS+

It's still local, I need a few days. I'll try to push a new branch tonight to get started. I was able to make a few important design decisions after talking with Matt.

If you are itching to get started you should start reviewing the patchwork code and existing lola code.

You should also review https://github.com/ipfs/js-ipfs, because I believe we will be ripping out Torrent layer in favor of IPFS.

@marak in #lolashare
Re: %5wFY/nBS+

I've started on porting Patchwork, but we'll still take some of the code from Ferment and then add new code. It's all fairly modular.

@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak voted # Loop Drop Live Stream: First attempt! For those who don't know, besides
@marak in #ssbc
Re: %u4YBs7lDy

@Dominic I'm sure they are. They seem behind SSB at the moment on certain things. IPFS JS implementations are depending on a bunch of your projects.

@marak in #ssbc
Re: %u4YBs7lDy

It looks like the pubsub was recently introduced into IPFS. Reading a post from pgte here https://ipfs.io/blog/29-js-ipfs-pubsub/, and also https://github.com/libp2p/js-libp2p-floodsub

The thing is Protocol Labs just raised a ton of money, about to raise an insane amount more with Filecoin

Akasaha seems doomed to fail. What doesn't seemed doomed to fail is pubsub + IPFS. They appear to currently be behind SSB. They are using something called floodsub, which seems primitive. see: https://github.com/libp2p/js-libp2p-floodsub

@marak in #ssbc
Re: %u4YBs7lDy

There is also apparently PubSub support in IPFS now.

https://github.com/libp2p/research-pubsub
https://github.com/ipfs-shipyard/ipfs-pubsub-room

This feels like a competitor for what SSB is trying to do? What's the difference? It looks like they are using some of the same dependency tree as SSB.

@marak sent a private message
@marak in #ssbc

@Dominic have you looked into https://github.com/libp2p/libp2p at all?

@marak in #lolashare
Re: %fXXZgQrwn

Updating to latest OSX and XCode seemed to work. Running patchwork from src now.

@marak in #lolashare
Re: %fXXZgQrwn

Updating operating system. If you never see me again it's been real. Thanks for all the fish.

@marak in #lolashare
Re: %fXXZgQrwn

I may have to update my OS and Xcode...

@marak in #lolashare
Re: %fXXZgQrwn

@dinosaur I pasted here, https://github.com/ssbc/patchwork/issues/469#issuecomment-320487788

Appears to be hunspell. I'm sure I'm just doing something stupid at this point. It's the same issue I hit a few weeks ago.

@marak in #lolashare
Re: %fXXZgQrwn

It's pretty much impossible for me to contribute or fork patchwork on this computer. I have no idea what else I could try to do to fix this. I've nuked node and npm a few times. Obviously there is something wrong with my env that npm doesn't like.

@marak in #lolashare
Re: %fXXZgQrwn

Basically if I comment out the spellcheck dependency, I'm able to install and start the app. It just crashes the moment it can't find the spellchecker.

@marak in #lolashare
Re: %fXXZgQrwn

I'm on MacOS. The main issue is the custom addon required for electron-spellchecker.

@marak in #lolashare
Re: %fXXZgQrwn

It's still the same issue with the electron-spellchecker. I can't figure out a way to get around it.

@marak in #lolashare
Re: %fXXZgQrwn

I'm rolling back to node 6x and npm 3x to see if that helps.

@marak in #lolashare

NPM is like ridiculously broken. It's impossible for me to install patchwork from source. I'm going to nuke my entire node and npm and rebuild from scratch to hope to fix this.

I'm getting so many errors related to NPM. Maybe it's because I'm also using NVM. Going to uninstall NVM as well.

@marak in #lolashare
Re: %8fgGKzLlG

@mix are you "larpanet" on freenode? I just got a similar message from what you posted here.

@marak in #lolashare
Re: %8fgGKzLlG

Yes. A remix platform is an awesome idea. I think this was being discussed before in here.

It's not in the scope of replicating the SoundCloud experience. I'd love to add it, but I'm afraid it would add an entire level of complexity that would distract from the core features.

Having a "fork" button on a track would be super cool. You could trace the history of a song as it evolves.

@marak in #lolashare
Re: %8fgGKzLlG

I think I understand. Without FileCoin, you have to make sure you have peers on the network available to host your files.

@marak in #lolashare
Re: %8fgGKzLlG

@dinosaur very interesting read.

I'm still trying to understand one thing. If we start uploading files to IPFS or DAT, it's free right? It's also free to download the file.

How is something like FileCoin going to make any money? Who will be accepting or paying with FileCoins? Where is the reward for people who put a lot of HDs onto the network if it's already free to upload and download files?

@marak in #lolashare
Re: %8fgGKzLlG

@dinosaur the thing is, there are some key differences which would really affect how Lola would work.

I'll paste a quote I found:

The two systems also have a number of differences. Dat keeps a secure version log of changes to a dataset over time which allows Dat to act as a version control tool. The type of Merkle tree used by Dat lets peers compare which pieces of a specific version of a dataset they each have and efficiently exchange the deltas to complete a full sync. It is not possible to synchronize or version a dataset in this way in IPFS without implementing such functionality yourself, as IPFS provides a CDN and/or filesystem interface but not a synchronization mechanism. In short, IPFS provides distribution of objects, Dat provides synchronization of datasets.

We don't really care about how a file changes over time. We are more concerned with the CDN / filesystem interface. If this was a collaboration platform for editing music ( like a Github for audio production), DAT would be a more appealing solution.

@marak in #lolashare
Re: %8fgGKzLlG

My thoughts exactly. SSB would provide a social layer on top of IPFS specifically for music.

I feel like this is where the future is heading. Building social networks on top of distributed hash tables of binary data.

@marak in #lolashare
Re: %8fgGKzLlG

From what I'm reading, there are several advantages to using IPFS over torrents. The main advantage is the fact that there is only a single massive swarm, where anybody can give a block to everybody.

For torrent, there is essentially a separate swarm for every torrent.

I'd recommend looking into IPFS a bit @Matt. It's gaining mass adoption and has a lot of funding now.

@marak in #lolashare
Re: %8fgGKzLlG

Okay. Ignoring de-duplication, there is still the question of availability.

Wouldn't a track on IPFS be more available than a track seeded as a Webtorrent?

Based on the research I'm doing, DAT doesn't seem like a good choice. It's features are geared more towards revision history / version control. We don't really care about those features when it comes to sharing music.

@marak in #lolashare
Re: %8fgGKzLlG

@Dominic which problem will that cause for real-world usage?

I'm trying to understand how it would affect user experience. I think Lola is currently doing a torrent per track file already...

@marak sent a private message
@marak sent a private message
@marak in #lolashare

It might make more sense to swap out the Webtorrent layer with IPFS. This seems like it could help in de-duplication and availability of tracks.

@marak sent a private message
@marak sent a private message
@marak sent a private message
@marak voted this
@marak in #lolashare

Congats to @wilson for landing his first Pull Request ever on Github.

Go open-source!

@marak in #ssbc

We should be seeing some new users join the network today. I've been posting a bit on two music related subreddits. Getting a good amount of interest.

@marak in #lolashare
Re: %uEx2pg8Vn

Thanks for the information, this is making it a bit more clear.

I'm curious to what @Dominic thinks about leveraging existing infrastructure versus a separate network of pubs.

It might not be the worst idea to create a new network just for Lola. We could in theory merge them back in at a later date.

@marak voted > Primarily we need the SEO. Yeah, I suspected as much. > WebRTC DHT I'
@marak in #lolashare
Re: %gfPYgyHFa

@Matt have you seen any of the work being done for WebRTC DHT? I linked some of the issues.

I feel like that is an important issue we'll have to tackle to get this working correctly? Is that correct?

@marak in #lolashare
Re: %gfPYgyHFa

Was already planning on shortening to just "Lola" and keeping the domain.

Primarily we need the SEO.

I checked 100s of names. Everything good and music related is taken by some 3-5 year old defunct app that was not a good idea and eventually died. Would have taken one of those but they all still exist on the App store ( which would have caused tons of issues ).

It was already obvious to me why the old name was Ferment. I really wanted "TuneShare", but it's taken by some old defunct app which still has a registered LLC in Texas.

@marak in #lolashare
Re: %gfPYgyHFa

I know, except it's been several people. Unless there is a compelling suggestion with a free domain I'm not changing anything until there is a fully functional release.

@marak in #lolashare

Been putting out posts on social media, got a couple of people saying that aren't found of the name.

I'm not too concerned with the name of the project at this stage, but we may want to drop it to just "Lola", or perhaps something else in the future.

Right now it's more important we focus on releasing the Beta.

@marak sent a private message
@marak sent a private message
@marak in #lolashare

Currently digging into WebRTC DHT for Webtorrent

https://github.com/nazar-pc/webtorrent-dht
https://github.com/webtorrent/webtorrent/issues/288
https://github.com/webtorrent/webtorrent/issues/1152

cc @Matt @ev