Podcast Transcript: Barry Ritholtz and Richard Thaler on Masters in Business

I was pretty excited about Thaler’s podcast because I’m reading his book right now. His writing is a lot more comprehensible than the audio file transcript. And I really hope those dirty words were transcription mistakes.

How is Apple’s speech-to-text conversion so terrible? Somehow it correctly spelled out Amos Tversky but has issues with econ. I can’t believe Siri hasn’t mistakenly directed me off a cliff yet.

Source: MiB: Richard Thaler on the Human Side of Economics –tbp

Podcast Transcript: Barry Ritholtz and Scott Galloway on Masters in Business

Source: MiB: Scott Galloway on Digital-Age Marketing and Branding –tbp

Hi this is Barry Ritholtz You’re listening to the podcast portion of masters in business on Bloomberg Radio. I have a fantastic guest today and I know you guys are tired of hearing me say that each and every week. But when you have a guest who is fantastic. You just have to say this guy’s fantastic. Scott Galloway professor of digital branding and marketing NYU Stern Graduate School of Business.

Podcast Transcripts: Speech-to-Text Conversion

I really like Barry Ritholtz’s Masters in Business podcasts, but I have this medical condition where I can’t sit through 90 minutes of podcast without getting bored.

So I decided to start converting his podcasts into text. Here’s how to do it.

1. Install Soundflower

Soundflower allows applications to pass audio to other applications. We are going to pass audio from iTunes to a text editor.

Screen Shot 2015-06-13 at 6.44.31 PM

2. Apple () > System Preferences > Dictation & Speech

Screen Shot 2015-06-13 at 6.50.30 PM

Select Dictation: On
Select Use Enhanced Dictation. It will need to download a big file to convert speech to text offline.
Under the microphone icon, choose Soundflower (2ch)

3. Choose an audio player. iTunes won’t work, sorry. Audacity works. VLC also works. Both are free.

Whatever player you use just needs to have an option to select Soundflower (2ch) as the audio output.

Screen Shot 2015-06-13 at 8.21.02 PM

4. Open up a text editor. Play Audio.

Start Dictation by pressing Fn (Function) key twice. Now go do something else for a while.

Issues

I have all sorts of malware on my computer, I think. The Dictation stuff kept cutting out after about 30 seconds of audio. It was fixed after I logged out and logged back in as Guest User. Other internet people had to reboot, or switch to Canadian English.

For Windows users I recommend VoiceBase, which is free for 50 hours of audio.

The results were acceptable, not great. Podcast transcripts soon to follow!

OpenBazaar: How Does a Decentralized Marketplace Work?

I love Etsy. Etsy’s great! Except… I just wish it wasn’t so… centralized.

I assume that’s what Andreessen Horowitz and Union Square Ventures were thinking when they invested $1 million into decentralized marketplace OpenBazaar.

Whatever, this is how it works.

BitTorrent, not Blockchain
People call OpenBazaar a Bitcoin company, but it’s not. Not any more than Microsoft is a Bitcoin company for accepting bitcoin payments, anyway. OpenBazaar uses the network structure of BitTorrent.

Bitcoin Network vs BitTorrent Network
A brand-new Bitcoin node discovers other nodes by hitting up a few known seed nodes. The seed nodes return a list of IP addresses for other known nodes. When someone sends a transaction through a node, the node broadcasts it to all of their peers. If the peers consider the transaction valid, they rebroadcast it to all of their peers.

Whereas Bitcoin operates on consensus, BitTorrent operates on discovery. I don’t need to broadcast to the entire network that I’m looking for a pirated copy of Game of Thrones. I just want to find some peers who have the episode.

BitTorrent nodes maintain a distributed hash table (DHT), which is like a location map for all the clients in the network. An infohash of each available torrent is also stored in the table.

If I want to download Game of Thrones, I send a request for the torrent infohash to any known node. That node will reply with the contact information of nodes from its routing table that are closer* to the infohash than itself. I keep querying subsequent nodes, getting closer and closer, until I hit a node that has the infohash. The node with the infohash replies with the contact information of peers who are downloading the Game of Thrones torrent. And I connect to them for my download.

*The distance metric is an XOR function. Not physical distance.

OpenBazaar, the Decentralized Marketplace
The OpenBazaar network operates using the same distributed hash table approach as BitTorrent. Stores are nodes, each running OpenBazaar on a client machine. Each store has a unique GUID.

Assume for a moment that I have the GUID of my friend George’s store. Through the distributed hash table, I locate the store’s IP address and connect to the store. Maybe I see that his store is selling a ziplock bag containing some carpet freshener:

store

The store listing is actually an unsigned Ricardian contract containing a description of the item. No, it’s not a smart contract.

If I want to purchase this bag of carpet freshener, I sign the contract. George signs the contract also, to confirm that we agree on the trade. The contract is sent to a third party. An arbiter, notary, oracle, whatever, someone who agrees to settle any disputes. The arbiter puts a third signature on the contract and sends everyone a copy. A multi-signature bitcoin address is appended to the contract.

This is the escrow address. Outbound transactions require two out of three keys. Me, George, and the arbiter each have a private key. As the buyer, I send a bitcoin deposit to this address and wait for my carpet freshener to arrive in the mail.

My input initiates an unsigned transaction. I set the output to George’s bitcoin address, but without any signatures, the transaction doesn’t do anything. I send the unsigned transaction to George.

If the carpet freshener arrives and I am happy, then I send George my signature, which is generated from my private key and the transaction.

George generates his signature too, because he wants to receive the money. With two signatures, George can send the complete transaction to a Bitcoin node, which will broadcast it to the network for confirmation and settlement.

If the carpet freshener arrives and I discover that the bag actually contains some morally reprehensible substance, I might refuse to sign the transaction. Then the arbiter comes in, and if she agrees that I have been wronged, she doesn’t sign either. The transaction expires without completion and the input deposit is released back to its origination, which is my bitcoin address.

Or maybe I lied, and the arbiter determines that I did in fact receive Grade A pure Colombian carpet freshener. Then she would sign the transaction instead of me, and George uses her signature to get his payment.

Bazaar Bay
How can I discover all the fantastic resources on offer in my BitTorrent network? The Pirate Bay provides a searchable database of torrent infohashes. And of course, someone already set up a Bazaar Bay to search for stores and their associated listings.

Check out Elaine’s store!
I set up a node to run a store on my server. I created a tunnel so that anyone can use my store as a portal to try out OpenBazaar without actually running a node. Try it! You can even sell stuff! Just don’t list anything that would get me thrown in prison, please.

elainestore

References:
1. BitTorrent.org DHT Protocol –bittorrent.org
2. OpenBazaar wiki
3. OpenBazaar Git Repository

How High-Frequency Trading Makes the World a Better Place (part 2)

First see: How High-Frequency Trading Makes the World a Better Place (part 1)

A high-frequency trading story.
by Elaine Ou

Peter was an engineering major at Princeton. Unfailingly polite, he was the type of person who wouldn’t begin eating his meal on an airline flight until everyone was served. Through social graces and a delightful personality he climbed the societal ladder with ease, and by senior year he was dating a lovely Art History major named Svetlana who he met while browsing dating sites for big beautiful women.

Near graduation, Svetlana was awarded a Fulbright Scholarship to travel to Indonesia. Her grant proposed that she apply her Liberal Arts skills toward rebuilding communities in the wake of the South Asian tsunami.

Peter, like all graduates, was entirely confused about his career path. He approached the university career counselor for advice. Steeped in selflessness, he asked if there might be philanthropic opportunities for an engineering major.

Most nonprofit and social service positions are reserved for humanities grads, who have no monetizable job skills, said the guidance counselor. But I do have something that might be appropriate for you.

EWT is a newfangled private investment fund that performs a critical social good. Through electronic trading, they ensure that pension funds, charitable foundations, university endowments, and the general public obtain better prices for the assets they buy and sell.

You might call EWT a “for-profit” charity.

Peter interviewed at EWT and accepted an offer. Graduation came and went, Peter and Svetlana vowed to maintain their long-distance relationship. They promised to write each other every day, but neither ever did. Soon, memories of college were far in the past; Svetlana was hard at work teaching Art History to tsunami victims, and Peter was increasing market liquidity to ensure peace and prosperity for all.

After returning from South Asia and recovering from a bout of hepatitis, Svetlana had long forgotten Peter. She met a schoolteacher named Brad on OKCupid, and they married and moved to Madison to be closer to Svetlana’s elderly parents. In time, Brad and Svetlana had three beautiful children and one ginger one, and although Brad suspected that the last kid wasn’t his, he loved Svetlana far too much to ever let her know.

Brad had a secret too. He had tucked away a tidy sum from his middle school teacher salary, and enjoyed day trading during the last market hour of the day after the students went home. Brad was a few years older than Svetlana. He remembered the markets of last decade, when prices were denominated in fractions and the minimum spread was 6.25 cents. Brad shuddered to recall crossing that massive spread. So many times he had clung to losing positions, unwilling to unload them for fear of price impact!

Svetlana still had no marketable skills aside from a vague ability to discuss Neoclassical art. However, because it was now six times cheaper to buy and sell shares thanks to electronic trading, Brad could afford to have Svetlana prioritize family over career and be a stay-at-home mother.

Like all relationships, Brad and Svetlana’s marriage eventually deteriorated. No one really knew why the marriage deteriorated, but it was probably the kids. The fights grew more frequent, more contemptuous, and one day Svetlana simply packed the children and moved out.

Brad was at work when Svetlana left for good, and came home to find a break-up post-it on his computer monitor. Goodbye, she wrote. I don’t want you no more. He wasn’t the man she was looking for, but just the man she found.

Brad was so heartbroken that he had a massive stroke. With no one else in the house, he lay on the floor, half-paralyzed and unable to reach the phone.

Several months earlier, Svetlana had reconnected with her college flame on Facebook. She and Peter exchanged flirtatious messages with varying levels of seriousness all through the beginning of the year. The messages became increasingly suggestive until Peter professed his undying love and Svetlana booked the next flight to LA.

Svetlana showed up at Peter’s door and they collapsed in a fit of passion in the grand foyer. Peter looked much the same as he had a decade earlier. His hairline wasn’t quite where it used to be, but Svetlana had also chunked up a bit after four kids so whatever. Speaking of the kids, it was only then that Svetlana remembered she had left them in the rental car outside. Come on, you can’t leave kids in the car in LA, they fry in like ten minutes.

Svetlana remarried. The kids loved their charming new daddy. Peter still spent his days making markets more efficient and fair, and volunteered at the local Veterans Affairs hospital after work. On weekends, he coached his adopted son’s little league team and took the family out on the yacht he kept in Newport Beach.

Peter’s employer was later acquired by Virtu Financial, leaving everyone with a generous payout. Svetlana hired a British au pair to look after the children, so that she could consider returning to her career. After doing a lot of considering, she decided to remain at home.

Sadly, it was not until two days following Svetlana’s departure that one of Brad’s students passed by and peered in his window. Seeing Brad’s motionless body on the living room floor, the student called for help and an ambulance arrived. By then, Brad had suffered substantial brain death and entered a persistent vegetative state.

Brad’s savings, which he worked to accumulate through years of diligent day trading, were seized in the divorce settlement. Svetlana didn’t need the money, of course, but women always turn vindictive in a divorce, particularly when children are involved. And divorce courts always side with the woman. There wasn’t much Brad could do to protect himself anyway, because he was in a persistent vegetative state.

The Wisconsin Teachers’ Union Pension Fund had compounded unquantifiable-but-significant cost savings thanks to high-frequency market-makers. Because trading costs were so low, Brad’s pension afforded him benefits that yielded the finest in basic health care.

Brad lived out his vegetative days in a government-subsidized nursing home. Peter and Svetlana and the kids took lavish European holidays when not throwing charity galas. And everyone lived happily ever after.

Disclosure: I am long $VIRT but may not remain so.