yo this test by jam
Advertaise here at, https://billboard.jam06452.uk
yo this test by jam
Advertaise here at, https://billboard.jam06452.uk
https://stardance.hackclub.com/projects/8100
Do you want to know how computers actually work? Do you want to remove the wool placed over your eyes by modern languages? Abstraction breeds ambiguity! Crawssembly is the first step to seeing clearly. The only assembly langiage made for education. (Now as fast as native C!)
Advertaise here at, https://billboard.jam06452.uk
like @sebashtioon said “I want to cheese”
This is a completely cheesed devlog this should NOT be number one.
While yall are here checkout https://url.jam06452.uk
Shoutout to @jam06452 they made peak projects. @vejas cause im nice. @kingvon cause idk, @Keyboard1000n17 for making OSPedia, @SeradedStripes cause why not. and maybe @Rupnil
PS I love nachos but after I found out how they are made I might not eat them anymore.
like @sebashtioon said “I want to cheese”
This is a completely cheesed devlog this should NOT be number one.
While yall are here checkout https://url.jam06452.uk
Shoutout to @jam06452 they made peak projects. @vejas cause im nice. @kingvon cause idk, @Keyboard1000n17 for making OSPedia, @SeradedStripes cause why not. and maybe @Rupnil
PS I love nachos but after I found out how they are made I might not eat them anymore.
lowk I stopped devlogging idk why but probs since im submitting ts to
macondo. If yall want more devlogs just lemme know and I will 
So whats changed? 
So umm added flavortown V1 endpoint design so it perfectly integrates
into old apps that use the flavortown endpoint, returns the same
information and data.
Added a V2 endpoint which is V1 + more. So like umm, the score for
example. I made my own custom rating algorithm for rating, devlogs and
projects for a leaderboard function later on. I MIGHT make stardance
project database.
Added an AMAZING new interface, the lander allows you to signin and
“endorse” this project, which you totally should
I used my own custom OAuth library for this.
Added comprehensive testing and fixed endpoints failing some tests. Tests are ran via mix test
Fixed “/projects/:id/devlogs/:id” returning 404 if the project is not scraped. It now starts the project scraping workflow. Also added docs being on “/” and not the default phoenix lander
If a record has not been updated within the past 12h it rescrapes it to keep data updated every 12h, this can be increased or decreased easily. Also added an entrypoint.sh script so ecto migrations are applied automatically when started.
Added a “/projects/:id/devlogs/:id” endpoint like what flavortown had for backwards compatibility.
After like an hour of trying to fix deployment its finally deployed. V0.000000000000000001 done
It took me ages cause the DB was bugging so I had to change owner to postgres and stuff and finally got it working
Finally got the project API working from the DB. I forgot to include the user ID so it would not save, then I had issues where it could not find @jam06452 for example in the db so it tried to write jam06452 without the @ leading to it always breaking. I fixed all of this. I am free
Added writing to database to store requests so I do not need to scrape SD every time a user makes a request.
Added return json from an API endpoint following the flavortown spec. 
Added core tables for ecto in postgres so data can be stored so I won’t fetch the stardance pages evertime otherwise they may not be happy 
Added a way of fetching and parsing projects and users and returns them as a map. I will return them as json from a url soon, just getting the core internal services setup. Me rn
This was originally for macondo, but I may as well add it on here for tracking devlogs etc. In this first devlog I added User Authentication using my own custom Authentication Library within elixir called Amur. This handles all the callbacks and requests for OAuth2 providers, I piped what this returned to save within a postresql database and saved a cookie into the user browser. I was getting annoyed that when I visit the lander for on cloudflare for example, I would have to signin again. On this app I decided that if you have the cookie it attempts to signin. The cookie is encrypted and signed via phoenix. I then made a simple liveview dashboard written in elixir, the frontend uses tailwindcss and HEEX. This allows me to use hooks to use serverside rendering instead of javascript so it is a lot nicer. I then started making a UUID as a Service API. I could have made a uuid when the user requests one, but that is slow and inefficient, so I decided on bulk making UUIDv7s and inserting them into PG, when one is called, the “claimed” flag in the database turns from false into true, and my counter in my genserver decrements. If the counter gets below 250 UUIDs left I make another 1000. You might be thinking “What happens when two users request a UUID at the exact same time?”
I am using “SELECT FOR UPDATE SKIP LOCKED” in postgres so when two users request a record, the first user gets it and the second user skips that record instead of waiting to read it to see if it is claimed. This is a lot faster and better for concurrent systems like this one.
Claude made the CSS look nicer, Added FFMPEG for videos.
FINALLY, finished making a deployment workflow on GH Actions with a dockerfile & caching. I had so much issues with UV, snex, and python running properly with elixir. FFMPEG and avconv isnt found but that is not important since its pulled pydub for the markitdown lib. May need to fix for videos
Added markdown & Image support. You can now input an image and markdown is returned depending on the image. This helps to further save AI Token usage.
Added a Copy button to this, this uses 5 lines of JS. I am doing as much without JS as I can via hooks with Phoenix Liveview. The real styling is yet to come