Giter Site home page Giter Site logo

turingfy's Introduction

Turingfy - Proof of concept

Ever thought of Spotify playlist's as Turing Machines?

Imagine the songs in your favorite playlist become the symbols on a tape, and the order of those songs becomes a series of instructions. In this intriguing concept, each song in the playlist represents a unique symbol or instruction that the Turingfy Interpreter reads and processes.

Just like a traditional Turing Machine, this musical variant would have a tape, a head that scans the symbols (Playlist's description), and a set of rules (Songs) dictating how to interpret and manipulate the symbols. As the playlist plays, the "head" moves through the songs, following the rules encoded in the playlist, and executing operations accordingly.

By carefully crafting the sequence of songs, one can think of playlist as programs that that solves specific problems, all while enjoying a curated musical experience.

Example Set of Instructions

https://open.spotify.com/playlist/59UpsSIbeT9j7lKDiTy7aT?si=41eacf416f4248a2

Program Example n1: Binary Palindrome Checker

https://open.spotify.com/playlist/1TGnAeGRWCVZsYxdBPjStO?si=cd10444be59f478d

Spotify API

Write a set-env.sh file with:

export SPOTIPY_CLIENT_ID=<YOUR SPOTIPY_CLIENT_ID>
export SPOTIPY_CLIENT_SECRET=<YOUR SPOTIPY_CLIENT_SECRET>
export SPOTIPY_REDIRECT_URI=<YOUR SPOTIPY_REDIRECT_URI>

Execute

$ source set-env.sh

turingfy's People

Contributors

eigenric avatar

Watchers

 avatar

turingfy's Issues

Manage project versioning

Use bump2version and/or setuptools-scm?

What about pyproject.toml, setup.cfg, setup.py?

Use conventional commits to generate version number?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.