Giter VIP home page Giter VIP logo

spotipi's Introduction

Hi there! I'm Alyssa. ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป

About Me

  • ๐Ÿ“ก I'm currently a Software Engineer at Booz Allen Hamilton, working in research and development at the intersection of wired/wireless communication and AI/ML.
  • ๐ŸŽ“ I graduated from UCLA with a B.S. in Computer Science and Engineering in June 2024. During my time at UCLA, I was the ACM at UCLA Teach LA Dev Team President.
    • Teach LA pairs UCLA students with schools in Los Angeles to provide free computer science classes. Our goal is to empower all students with the ability to code, and use it to make a difference.
    • Learn more about the Dev Team and the work we do!
  • ๐ŸŽž๏ธ I interned at Paramount Global as a Data and Development Intern working in full-stack engineering on the Data and Decision Science Group
  • ๐Ÿ›ฐ๏ธ I interned at Northrop Grumman as a Software Engineering Intern doing embedded software engineering on the Advanced EHF satellite constellation.

Beyond Computer Science

  • ๐ŸŽจ I attended the Orange County School of the Arts where I was trained in musical theatre, visual arts, creative writing, film and television, and more!
  • โ›ท๏ธ I am an avid skiier, visiting the mountains as often as I can
  • ๐Ÿž๏ธ I love visiting National Parks! My favorites are Zion, Bryce Canyon, and Redwoods National Parks

Contact Me

spotipi's People

Contributors

ajtadeo avatar

Watchers

 avatar  avatar

spotipi's Issues

Undefined `clusters[minIndex]` heisenbug

When running kmeans on a new albumID, the following error message appears randomly on the following code:

TypeError: Cannot read properties of undefined (reading 'push')
    at kmeans (/Users/ajtadeo/GitHub/Spotipi/kmeans.js:128:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchColors (/Users/ajtadeo/GitHub/Spotipi/app.js:70:22)
    at async Request._callback (/Users/ajtadeo/GitHub/Spotipi/app.js:101:30)
// kmeans.js

async function kmeans(albumURL) {
  // ...
  while (true) {
    // for each point, determine euclidean distance to each centroid and add it to the closest centroid cluster
    iters++
    var clusters = [[], [], [], [], []]
    for (var i = 0; i < pixelDataLAB.length; i++) {
      var distances = []
      for (var j = 0; j < 5; j++) {
        distances.push(deltaE(pixelDataLAB[i], centroids[j]))
      }
      var minIndex = distances.indexOf(Math.min(...distances))
      clusters[minIndex].push(pixelDataLAB[i]) // ERROR HERE
    }

// ...

This results in an infinite loop running kmeans and a memory leak:

(node:3756) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Connection]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)

This might be a result of the postgres db code since that was the latest change.

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.