Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

silas, to webdev in FOSS alternative to google analytics
@silas@programming.dev avatar

Umami is actually pretty great for simple analytics, has 3 websites in their free cloud plan, and is self-hostable. Plausible is also self-hostable. You can host them easily on your own machine with EasyPanel, CapRover, or Coolify

silas, to programming in What's the latest project you discovered that made you go "wow"?
@silas@programming.dev avatar

Codeium for VSCode. Free alternative for GitHub Copilot and it works surprisingly well

silas, to programming in How do you feel about TypeScript?
@silas@programming.dev avatar

I’d still have to do some refactoring in and around my classes though. There’s some syntax that is TypeScript-only, including things like extended classes.

silas, to programming in What's the dumbest thing you've shipped?
@silas@programming.dev avatar

Next time keep it on a leash so it doesn’t run away

silas, to webdev in Adding "flashlight effect" but with white "darkness"
@silas@programming.dev avatar

I would look into a circular/radial CSS background gradient on a fixed-position fullscreen div with pointer-events set to none. You can make the center transparent and the rest whatever color/transparency you want. Then, use JS to set the circular gradient’s position relative to the cursor (use CSS variables if necessary)

silas, (edited ) to webdev in Framework of Your choice and why
@silas@programming.dev avatar

I went from React → Vue → Svelte

Svelte/SvelteKit is just so simple to use and feels closer to vanilla JS/HTML/CSS that I find myself missing it when I use the others. SvelteKit supports SSR, so if you’d like you can build out your whole backend API as well.

Svelte has an awesome interactive tutorial you can jump into right away

Come hang out at !sveltejs if you have any questions!

silas, to programmerhumor in reject modernity embrace htmx
@silas@programming.dev avatar

!sveltejs

There’s quite a few of us :) Looking forward to Svelte 5.

silas, to lemmy_support in When sharing a post, or comment from lemmy, which link should you share?
@silas@programming.dev avatar

I’m trying to make this simpler with !lemmynade. Sharing a post, thread, or single comment will always share the original link (canonical link) from the original instance, that way it is the most up-to-date version

silas, to lemmy_support in Lemmy hot sort
@silas@programming.dev avatar

Hot is likely just a blend between Active and New to give you a good balance of popular content and encourage engagement with posts that were just posted. The algorithm could definitely be improved, but I’d bet as Lemmy grows in content and content creators Hot sorting will get better too

silas, to lemmy_support in certain phrases preventing posting?
@silas@programming.dev avatar

Each instance has different word filters, thus each community has different filters depending on the instance it’s on. What community were you trying to post on?

For example, you can find the word filter that lemmy.ml uses somewhere on this page here: lemmy.ml/api/v3/site

It’s kinda messy, but it’s after/under “slur_filter_regex” and it’s written in a format called RegEx

silas, to lemmy_support in Some images not loading, some threads not scrolling. Is it the site or the app (Connect)?
@silas@programming.dev avatar

There have been some users maliciously posting illegal images to target certain communities recently, thus some instances have removed recent image uploads or have disabled image features in some way. This attack was happening on lemmy.world, but other instances have taken action too. That at least could explain why you’re not seeing some images.

silas, to webdev in What are some good web analytics
@silas@programming.dev avatar

I’d recommend umami. It’s privacy-focused, you don’t need to put up a cookie notice, and it’s got a good free plan. You can always self-host too. Plausible is comparable, but doesn’t have a free plan unless you self-host

silas, to lemmy_support in How do I stop this?
@silas@programming.dev avatar

If you have language settings or are not showing bot accounts, those comments will be hidden too but the comment count still includes them

silas, to lemmy_support in How do I make a web request to get new posts from a Lemmy community?
@silas@programming.dev avatar

<span style="color:#323232;">curl --request GET 
</span><span style="color:#323232;">     --url 'https://lemmy.world/api/v3/post/list?type_=All&amp;sort=New&amp;community_name=memes%2540lemmy.ml' 
</span><span style="color:#323232;">     --header 'accept: application/json'
</span>
silas, to asklemmy in Anyone else feel that Lemmy just *isn't* addictive?
@silas@programming.dev avatar

There is less content here than Reddit because there are less users here—less users creating content each day. Each of our comments and posts have far more weight and impact on the Fediverse because of this. The more we push ourselves to engage, create posts, or moderate communities when we normally wouldn’t before, the faster we will see Lemmy grow!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines