• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle
  • That’s because it makes sense when dynamically creating HTML. HTML is not a programming language, it’s simply markup - so if you want to generate some block of HTML in a loop and later access that block of HTML in JS (e.g. to interact with the UI separate from creating it in the first place), it’s a completely reasonable thing to do.






  • It entirely depends on the culture around it. Is everyone expected to model underwear for their store? If someone doesn’t want to - is the culture supportive, neutral, dismissive, or antagonistic? Are they expected to do it but just allowed to choose not to? Or is there no expectation to do it, but volunteers are welcomed?

    I can’t imagine anyone is being forced to, but it wouldn’t surprise me if the company culture is dismissive or demeaning of people who would rather not.


  • GitHub Copilot is just intellisense that can complete longer code blocks.

    I’ve found that it can somewhat regularly predict a couple lines of code that generally resemble what I was going to type, but it very rarely gives me correct completions. By a fairly wide margin, I end up needing to correct a piece or two. To your point, it can absolutely be detrimental to juniors or new learners by introducing bugs that are sometimes nastily subtle. I also find it getting in the way only a bit less frequently than it helps.

    I do recommend that experienced developers give it a shot because it has been a helpful tool. But to be clear - it’s really only a tool that helps me type faster. By no means does it help me produce better code, and I don’t ever see it full on replacing developers like the doomsayers like to preach. That being said, I think it’s $20 well spent for a company in that it easily saves more than $20 worth of time from my salary each month.



  • What bike do you use and would you recommend it? I’ve been looking for an e-bike recently since I work so close to home, but I haven’t found any that seem reputable and a good value. I’m definitely looking for one that’s easily repairable and not paired to a specific brand’s software or proprietary parts.

    Granted, I’ve only been passively looking (I.e. when I see an ad or doing a quick google search sometimes), but from what I can tell most of the advertised bikes are just the same handful of models with a different logo slapped on it and dubious claims about its performance.



  • There’s nothing to stop an admin from hosting a static front end for their Lemmy instance if they’d rather, but it’s clear that SSR is a goal here - and I think the default UI for Lemmy really should include SSR for plenty of reasons. And, if you’re already hosting a Lemmy instance, you definitely already have a host that can support Rust (at the very least, in a container).


  • I don’t agree - while you could copy it, if an instance gathered a large user base and had some well-implemented quality of life features, there’s nothing stopping them from putting ads on it and I’d guess that most users would continue to use that instance. If it has quality content, they already have an account, and it has compelling improvements over other instances, I can’t imagine that some unobtrusive ads would bother people enough to go to a clone of that instance and create another account.

    Sure, it could be done, and ad blockers are common enough, but I don’t think well-placed ads would cause some mass exodus. I’d even be okay with it if it’s in the name of paying the server bills for such an instance.