RSILT Feb 1
RSILT
Feb 1, I decided I was going to keep track of what I learned. Looking back I was surprised.
Does that happen every day?
I have another blog, called Random Shit I learned today. I’m cross posting there and I’ll post future ones there.
Jack Kornfield
On my morning walk I listed to a conversation between Sam Harris (Wikipedia) and Jack Kornfield (Wikipedia) on the Waking Up course about their experiences in practice.
I wrote a post about it: 70 Years Old. WTF!: Is that boulder heavy?
Random
I got an email from someone I met at the library and remembered that someone had mentioned one of the teachers at GSA who was encouraging kids to get into PioneerPrize;
Our School / Anya Antonovych
Somewhere I found this product called Nexmo. What is it? Who knows?
Nexmo Dashboard
Pop up previews
I did some research about pop-up link previews Show post excerpts with thumbnail on your blog
These are used by Gwern and by Lesswrong. I’d lilke to have them on my blog.
Trip to West Coast
Researched travel to the West Coast. In the AM considered stopping in Albuquerque
Boston, MA to Albuquerque, NM - Google Maps
Salt Lake City, UT to Alameda, CA - Google Maps
Kaj Sotala
Kay Sotala is a finish AI researcher who has written some outstanding posts. I spent some timer reading his stuff,
18-month follow-up on my self-concept work | Kaj Sotala
The Brain as a Universal Learning Machine - LessWrong 2.0
Learning polish
A while back I read some stuff about learning language that said that learng the way kids learn was effective. You listen to the language spoken as someone reads a book and you get the meaning by reading the text in your native language. Somehow your brain puts the stream of sound together with the stream of meaning and you learn.
So I goit an audiobook version of first Harry Potter book in Polish and an eBook in English and set to it.
It kind-of worked, very slowly. Little by little my brain would decode a word or two. That word is “drill.” That one is “cape.” But progress was very slow.
I did another experiement where I played the audiobook and had the Google Translate App translate it in real time. That provided me with some more insight, but was very labor intensive.
Today I tried again.
I got a Polish eBook version, and found a way that I could call on Google Translate from a Google Sheets script. So the idea was: copy polish test into a spreadsheet. Break it down with each sentence in a cell in a column. Then use Google Translate to put the English tranlation in a cell in the next column.
Then I decided to write a script so that I could put the whole chapter in one cell and the script would turn it into a column of sentences with adjoining tranlations.
Then I decided to go one better: I’d build a webapp that took in the following:
An MP3 of the chapter read in Polish
Text of the chapter in Polish
A table with timestamps for the start of each sentence or phrase, and the offset in the text of the corresponding translation.
This could probably be automated, but it’s probably easier to just play the audio and have the user hit the space key at the start of each sentence. Or possibly the , to indicate the end of a phrase and . to indicate the end of a sentence.
Once i had that, I could play the audio and have either the Polish text or the English translation, or both pop up. Then add some controls to move back and forwarard, and I’ve got a pretty good tool.
So I learned:
Where I could copy/past the English text of a book from Your Kindle highlights and notes are now easier to access
Where I could get a Polish text format for Harry Potter.
The text was in .epub format, so I also needed an ePub reader I found this one: EPUBReader - Chrome Web Store
I needed a way to select a chapter in the ePub reader so that I could copy it and paste it into other tools.
I found this English to Polis pop-up translator: Smart Translate – translator, dictionary - Chrome Web Store
I made an experimental Google Doc to work out my vision. Harry Potter - Google Docs
I found a way to spit a page of text into sentences in adjoining cells in a speadsheet Experimental Polish Spreadsheet - Google Sheets. (Horizontal)
I found a way to transform from horizontal to vertical
I learned that I had to get rid of all the accounts on my machine to come up with the right ownership for Scraping code
I created a Apps Script function that could translate text from Polish to English.How to Use the Google Translate API for Free - Digital Inspiration
I modified it so I could put it in a series of cells.
I created an Apps Script function that would parse a body of text into sentences.
I did some research on Cloud Text-to-Speech - Speech Synthesis | Google Cloud
I decided that doing it in a spreadsheet was the wrong idea, and I could control the audio in a Web App. So:
I found an React Widget that could play media hosted on varios media services. (react-player - npm)
I created a clone of a demo app React Player - CodeSandbox
I tested it using content from YouTube and Soundcloud
10.I found an app that would record an MP3 for me.I played the first chapter of the book in Polish and used the App to record an MP3.
I uploaded the MP3 to SoundCloud (after some false starts)
I tested to make sure that I could play it back in my app. I could.
I found a way to copy/paste an entire chapter of the book in Polish into a string in my program.
I installed Material-UI and found the widget that I needed to present the text in the browser (Material-UI Typography)
I found a callback so that as the media is playing that I could get the current location.
I started writing a design doc for that.
17.
Fixing touchpad sensitivity
I don’t like the way that my new Windows machine’s touchpad works. I spent a bunch of time working on adjusting paramaters.
I found this 2 Ways to Change Touchpad Sensitivity in Windows 10 | Password Recovery which did not work.
Finally found and then found out it was a common problem that needed new drivers. Finallly found these * How to customize ‘Precision Touchpad’ settings on Windows 10 | Windows Central
Research for Bobbi
I found Roberts Road where she used to live Roberts Rd - Google Maps
I found how to turn Google Maps into a 3D ariel view:
a. Switch to Earth view
b. Switch to 3D mode
c. Zoom around
That was a pretty full day.
Click here to subscribe to 70 Years Old. WTF! by Email