Codebites is an actively maintained collection of bite-sized pieces of code. It contains how-tos, small scripts, and quick start templates.
Reading in a language you’re learning is a great way to build your vocabulary and increase your familiarity with the language. It is also tedious, frustrating, and boring. You constantly stop to look up words you don’t know. You lose your place in paragraphs because you keep looking away. You read the same sentences over and over again trying to regain your focus. If you’re not doing this, you’ve chosen a text that’s easy to read, easy to understand, and utterly unexciting.
Read better with Foreword. Foreword is a web app that makes reading Swedish more approachable and enjoyable. It prescreens an article you want to read and curates keywords, a synopsis, and a customized vocabulary list. This overview helps you focus on the text and better understand it.
How it works:
Foreword retrieves the article you request. It automatically sorts the words in the article into lists of known words and unknown words based on the master lists of known words and unknown words you configure. It then asks you to choose the words you know from the words that could not be automatically sorted. Finally, it parses the article and for keywords and a synopsis, defines the words you don’t know, generates lists of your new known words and unknown words from the words you manually sorted, and presents your vocabulary words in a Memrise bulk-add friendly format. This makes it easy for you to update your master wordlists and to make flashcards of your vocabulary words.
The backend is built with Python, flask, nltk, newspaper, and pyphen. The frontend uses an image and content from the prescreened article. The example above uses a Forskning & Framsteg article on supernovas.
Playlist Maker is a web app that lets you make a Spotify playlist full of songs by your favorite artist and artists similar to them. It’s incredibly easy to use. Just enter the name of a musician or band you like, wait a few seconds, and rock on!
I started working on Playlist Maker at Flawless Hacks, a hackathon for women hosted at Spotify. I wanted to practice integrating an API and to learn about OAuth, so the decision to build something using Spotify was an easy one.
How it works:
Playlist Maker searches Spotify for the artist you request. It chooses the first result returned, as you’re most likely looking for the most popular artist who matches your search. Next, it selects the first ten “related artists”, the musicians that Spotify identifies as being most similar to your artist. Finally, it builds a tracklist by taking up to five “popular songs” for each artist, and it adds the tracks to the playlist.