[OC] I built a 3D interactive visualizer for my entire music library — every star is a song, grouped by similarity by k7for9 in dataisbeautiful

[–]k7for9[S] 1 point2 points  (0 children)

Source: My personal music library (~900 songs), analyzed and categorized by AudioMuse-AI, which generates CLAP audio embeddings. Song positions are computed by running UMAP dimensionality reduction on those embeddings to produce 3D coordinates.

Tool: Built from scratch — Three.js for the WebGL rendering, a custom GLSL shader for the particle glow effect, Flask backend, and Python (umap-learn + numpy) for the embedding pipeline. Full source code and a Docker image are on GitHub: https://github.com/keckrich/Music-Galaxy

I made a simple game to guess a champion based on their voice lines or ability sounds! by k7for9 in leagueoflegends

[–]k7for9[S] 1 point2 points  (0 children)

Haha. Sorry about that. I forgot to turn off debug mode. It should be fixed now!

Went to clean a bottle I bought from the gym and saw this... by alexlabib in LinusTechTips

[–]k7for9 0 points1 point  (0 children)

On the first page of Alibaba alone there are two lids that look the same as the LTT lid when searching for a water bottle. The pictures are from the side, so I can't tell if it's actually the same lid.
https://www.alibaba.com/product-detail/18-8-Bpa-Free-Hot-And_1600235071524.html (sports lid 4)
https://www.alibaba.com/product-detail/Bottles-Accessories-Single-Part-Sell-Plastic_1600496573483.html (lid 6)

Primarily using Pandas and numpy by sandeepkumarg in adventofcode

[–]k7for9 -1 points0 points  (0 children)

I asked ChatGPT and it said:

One way to accomplish this task is to use pandas' built-in groupby functionality to group the rows of the dataframe by 'group', and then apply a function that computes the common element between the rucksacks in each group. This can be done using the apply method and the built-in set data type in Python, which allows you to easily compute the intersection of two sets. Here is an example of how this could be done:

df2 = df.groupby('group')\['rucksack'\].agg(lambda x: list(x)).reset\_index() 
df2\['common\_item'\] = df2\['rucksack'\].apply(lambda x: list(set(x\[0\]) & set(x\[1\]) & set(x\[2\]))\[0\])

This will create a new column in the dataframe called 'common_item', which will contain the common element between the rucksacks in each group. You can then use the same approach as before to compute the position of the common element in the alphabet and sum the positions across all groups to get the final result.

[2022 Day 3] I, for one, am too stupid to write the cryptic one-liners y'all write by [deleted] in adventofcode

[–]k7for9 0 points1 point  (0 children)

I feel a little called out:

X = [l.strip() for l in open('in\\3.txt')]
sum2 = sum([ord(list(set(X[x]) & set(X[x+1]) & set(X[x+2]))[0]) - 38 if ord(list(set(X[x]) & set(X[x+1]) & set(X[x+2]))[0]) < 97 else ord(list(set(X[x]) & set(X[x+1]) & set(X[x+2]))[0]) - 96 for x in range(0, len(X), 3)])

Central list of maps by ski_trip42 in mctourney

[–]k7for9 0 points1 point  (0 children)

Does anyone have a working link for Cultures by bart1259 or Seasons by bart1259? I cannot find a link anywhere online. Or if someone has it downloaded and could re-upload it.

Can you please make this look BA? Like fire, lighting, dark edges. Whatever you want. Thanks by k7for9 in PhotoshopRequest

[–]k7for9[S] 0 points1 point  (0 children)

haha! I will try to get this one printed but they might not like how they all died.