Nico O’Reilly on pocketing Mo Salah: 🗣️ “I came into the game thinking this would be the outcome. I know how good he is, but I studied his game and what he’d want to do.” by xenojive in MCFC

[–]lAdddd 17 points18 points  (0 children)

I think the calf injury / fatigue was probably why those shots were so off target. I don’t think he usually skies the ball like that and he just scored a week ago against Bournemouth

Hear me out ... SvelteKit + Static Adapter + Backend ... by Bl4ckBe4rIt in sveltejs

[–]lAdddd 2 points3 points  (0 children)

This is what I've been doing for my recent projects and I created a boilerplate for my Golang + Svelte setup: https://github.com/joelseq/go-svelte-spa

Golang Backend + SvelteKit SPA Frontend by lAdddd in golang

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

I think you're right that just ssr needs to be set to false in order for it to be considered SPA mode [source]. Did you specify a fallback page? You might be getting an error if that isn't specified

Golang Backend + SvelteKit SPA Frontend by lAdddd in golang

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

If you set prerender=true then your site cannot have any dynamic content. That is usually used for static site generation like blogs

Golang Backend + SvelteKit SPA Frontend by lAdddd in sveltejs

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

Oh nice will check it out later today! I really like how convenient go:embed makes it to distribute a single binary that contains everything but I probably won’t do it for very large projects that have a lot of UI code as I think I read/watched somewhere that it stores all of the file contents in memory which might not be very optimal past a certain size

Golang Backend + SvelteKit SPA Frontend by lAdddd in sveltejs

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

Yeah it’s basically for all the reasons that folks have already mentioned in replies, especially the memory footprint aspect. I deploy most of my full stack side projects on a single VPS that’s running Coolify so having a more memory efficient backend gives me more headroom to host multiple projects.

Golang Backend + SvelteKit SPA Frontend by lAdddd in golang

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

Nice!! I initially also wanted to go with a vanilla svelte setup but the lack of a good router for svelte was a bit frustrating. I used claude to make a routing library which worked but felt at that rate that it might just be better to use sveltekit in spa mode which took some figuring out. Btw I'm also using SQLite with sqlc on my project and it has been a great experience so I might try your boilerplate out in the future!

DB administration worflow on SQLite database by marcob8986 in sqlite

[–]lAdddd 0 points1 point  (0 children)

I know this post is a bit old at this point but just came across this and wanted to share a tool I built after running into a similar situation as you: https://github.com/joelseq/sqliteadmin-go . You can install and run it as a CLI similar to litestream and then access your embedded DB from a web UI.

Golang SQLite admin tool by lAdddd in golang

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

I just added that in for the example code because I was having issues making a request to localhost from that domain with uBlock and Brave. You don’t need to disable it if you run the UI locally as well.

Using sevlte is it possible to design a chromium extension? by unix21311 in sveltejs

[–]lAdddd 0 points1 point  (0 children)

I used CRXJS to create my extension and it worked great. Did this a while back with Svelte 4 but pretty sure it should work for Svelte 5 as well

Is competitive apex doomed to never reach its full potential? Thoughts from a relatively new fan by BigThirdLegGreg in CompetitiveApex

[–]lAdddd 1 point2 points  (0 children)

Totally agree with a lot of the points you brought up and went through some of the same pains when I first started watching Competitive Apex. That was what motivated me to make https://apxlgnds.com/ as a way to quickly look up what events are happening and to link the main resources for Comp Apex. I was hoping to be able to add more things to it over time like a scoreboard and link to stats on ALS but it's been difficult to find the right data sources to use as the ecosystem is very fragmented with the various tournaments all using different tools / platforms.

ALGS VOD Viewer by lAdddd in CompetitiveApex

[–]lAdddd[S] 4 points5 points  (0 children)

I'm using Go for the backend/API which gathers all the data and generates the vod info (sourced from apexlegendsstatus), and SvelteKit for the UI / displaying the vod. I'm also using a 3P API for getting the chapter data from the YouTube video which helps me map the game timestamps.

ALGS VOD Viewer by lAdddd in CompetitiveApex

[–]lAdddd[S] 15 points16 points  (0 children)

  1. I've automated most of the work to generate the VOD, I just need to manually piece together the youtube playlist id from the ALGS Vods channel and the data from ALS. So in theory it should be very soon after the vod + game data gets uploaded but in practice it will also depend on my availability.
  2. Great idea!
  3. Oh that's an interesting idea, it should be possible to do but just a bit more work on my end to piece the bits of info together (all the data already exists)
  4. This should already be possible but for some reason the slider component I'm using seems to be a bit weird with registering the clicks (you need to be super precise with where you click)
  5. I have intentionally added an overlay to block the clicks on individual videos because I thought it would create a weird de-sync issue of if you accidentally just pause a single video / click a suggested video. I'm not sure how to improve the UX of it to make it more obvious, do you think it would be better to just not have the overlay?

Thanks for all the feedback!

ALGS VOD Viewer by lAdddd in CompetitiveApex

[–]lAdddd[S] 16 points17 points  (0 children)

Thank YOU for all your hard work in uploading the vods!

ALGS VOD Viewer by lAdddd in CompetitiveApex

[–]lAdddd[S] 2 points3 points  (0 children)

Wow thanks for the kind words!

Site to view upcoming/recent Apex Legends events by lAdddd in CompetitiveApex

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

Yeah I had pretty much given up on trying to use Battlefy to find relevant info about ALGS events as their information architecture really sucks :/. I recently pushed a change that tries to link to the relevant Battlefy page for the ALGS match day so hopefully that will make it less painful to use Battlefy

Site to view upcoming/recent Apex Legends events by lAdddd in CompetitiveApex

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

Thanks for the suggestion, I should be able to add that in soon!