• 0 Posts
  • 123 Comments
Joined 1 year ago
cake
Cake day: August 21st, 2023

help-circle



  • HTML is pretty straightforward so just understanding the very basic stuff is probably all you need. CSS is where html gets any challenge it might have.

    CSS is weird because it’s very “easy” so “real developers” kind of object to learning it, but the truth is, if you gave any of them a layout design, they probably couldn’t build it. There are tools like tailwind to help, but, IMO, tailwind just helps you avoid learning css’s vocabulary, but you just replace it with having to learn tailwind’s vocabulary.

    JavaScript on the other hand is a “real” programming language, though decidedly quick-n-dirtier than other languages. It lets you be a lot more sloppy. (Tbh it’s a lot more forgiving than css!). As a result, it lacks the elegance and control that “real developers” like – and, as most people’s first language, it lets newcomers get into bad habits. For these reasons, JavaScript is a bit derided – but, unlike CSS, most developers can’t avoid it.

    There are a few key ideas in JavaScript that, once you understand them, things make a lot more sense. (I won’t get into them now, since it doesn’t sound like you’re at the point where that kind of clarity would help, but, when you are, come on back here and make a post!)

    TLDR: HTML is definitely something you can just pick up along the way. JavaScript is a real language that will take a little while to feel comfortable with, and it will take a career to master. CSS will never be easy, so don’t let it hold you back.


  • Hi everyone, JP here. This person is making a reference to the Weird Al biopic, and if you haven’t seen it, you should.

    Weird Al is an incredible person and has been through so much. I had no idea what a roller coaster his life has been! I always knew he was talented but i definitely didn’t know how strong he is.

    His autobiography will go down in history as one of the most powerful and compelling and honest stories ever told. If you haven’t seen it, you really, really should.

    ITT NO SPOILERS PLS


  • I guess my question is, why would anyone continue to “consume” – or create – real csam? If fake and real are both illegal, but one involves minimal risk and 0 children, the only reason to create real csam is for the cruelty – and while I’m sure there’s a market for that, it’s got to be a much smaller market. My guess is the vast majority of “consumers” of this content would opt for the fake stuff if it took some of the risk off the table.

    I can’t imagine a world where we didn’t ban ai generated csam, like, imagine being a politician and explaining that policy to your constituents. It’s just not happening. And i get the core point of that kind of legislation – the whole concept of csam needs the aura of prosecution to keep it from being normalized – and normalization would embolden worse crimes. But imagine if ai made real csam too much trouble to produce.

    AI generated csam could put real csam out of business. If possession of fake csam had a lesser penalty than the real thing, the real stuff would be much harder to share, much less monetize. I don’t think we have the data to confirm this but my guess is that most pedophiles aren’t sociopaths and recognize their desires are wrong, and if you gave them a way to deal with it that didn’t actually hurt chicken, that would be huge. And you could seriously throw the book at anyone still going after the real thing when ai content exists.

    Obviously that was supposed to be children not chicken but my phone preferred chicken and I’m leaving it.


  • Follow up question – I’m not OP but I’m another not-really-new developer (5 years professional xp) that has 0 experience working with others:

    I have trouble understanding where to go on the spectrum of “light touch” and “doing a really good job”. (Tldr) How should a contributor gauge whether to make big changes to “do it right” or to do it a little hacky just to get the job done?

    For example, I wanted to make a dark mode for a site i use, so i pulled the sites’s repo down and got into it.

    The CSS was a mess. I’ve done dark modes for a bunch of my own projects, and I basically just assign variables (–foreground-color, --background-color), and then swap their assignments by the presence or absence of a “.dark-mode” class in the body tag.

    But the site had like 30 shades of every color, like, imperceptibly different shades of red or green. My guess was the person used a color picker and just eyeballed it.

    If the site was mine, I would normalize them all but there was such a range – some being more than 10-15% different from each other – so i tried to strike a balance in my normalization. I felt unsure whether this was done by someone who just doesn’t give a crap about color/CSS or if it was carefully considered color selection.

    My PR wasn’t accepted (though the devs had said in discord that i could/should submit a PR for it). I don’t mind that it wasn’t accepted, but i just don’t know why. I don’t want to accidentally step on toes or to violate dev culture norms.


  • Lol you just provided the simplest counter to the most common capitalist argument.

    “You don’t understand capitalism, bro. The problem isn’t capitalism, it’s the regulation on capitalism. Under a true capitalist system, there can’t be monopolies because capitalism rewards competition.”

    Ok so what happened to all the reddit apps


    Edit: I really like the reddit app example because it’s simple: no regulation or anti-capitalist force made them to that, it was literally just a capitalist decision.

    But regulatory capture is an important part of capitalism, and no matter how many ancap bullshit artists say otherwise, government is absolutely part of the capitalist plan. Giving the workers a “say” (or the illusion of one) keeps them a bit quieter, but more importantly, having a government outsources a lot of crap they would otherwise have to pay for, like infrastructure, which would be a huge strain on profits.

    In fact, the ancap bullshit idea that unregulated markets would improve things is an artificial limitation on capitalist power. Total lack of regulation is a restriction on capitalism.





  • Copy designs you like, and keep a couple of CSS files +/- web components that you can carry along with you from project to project. Tweak then as you go.

    Like everything else, getting good at making designs that you like will take time and effort, so if you want you get good at it, do it! I find it fun, and my designs aren’t to everyone’s taste (I too like black tshirts), but whatever.

    Plus, getting good at making designs that i like has made me better at making designs clients/projects will like, so, win/win.





  • Edit: tldr: I think I probably could’ve saved myself a lot of time by just saying that discord is like slack but for friends/fun.


    I didn’t think people use it like lemmy/Reddit. People use it like IRC. That’s the analogous tech. IRC is better in almost every way, but not in the most important ways: ease of use, and voice chat.

    I know only a handful of people who could set up a server for IRC, but in discord, it’s a one-button process. Sure, you can use a public IRC server, but then your channels are harder to organize and you don’t have as much moderation control. I dn’t think

    I would vastly prefer IRC, but even if it was easy to set up, I would still need something for voice chat, and, sure, there are plenty of voice chat tools, but not ones that integrate with text chat so well.

    I think a lot of people like the API and the bots built from it, tho personally that’s not something I use much.

    I’m in probably ~50 servers: groups of friends, video game guilds, tech chat (eg HTMX, Lit, Svelte), random interests (eg mechanical keyboards), and community servers for video games (eg a couple of LFG servers, a couple servers where I can ask questions to tryhards, streamers’ communities, etc).

    I would vastly prefer to use something FOSS, but there just isn’t something that does it so well and so easily – and even then, I’d probably have to use discord for a bunch of these things.


  • We don’t do it for the purpose of increasing responsibility. I mean , I didn’t, maybe other people do. I just really wanted a couple little mini monsters following me around.

    When I was like 30, I was out hiking and I saw some guy with three little kids, the kids were hopping from rock to rock, and the littlest one ran up past the siblings to hold the dad’s hand. It was super cute. My parents were kinda uninterested and afk, so I haven’t seen a lot of examples of dads just having fun with their kids.

    That little family was inspiring, in the sense that it opened my mind to a new way of thinking, but also in the sense of taking in breath, it felt like I had been holding my breath and finally stopped. I realized I didn’t necessarily have to be like them, I could use their bad/mediocre parenting as a “what not to do” list, and still do some of the things that they did that were good. I could go hiking with my kids, I could teach them how to build a campsite out of nothing, or how to build a server, or how to put your thumb on the end of a house so it sprays really far.

    Sure it’s more responsibility but it’s also really fun.

    And, tbh, all the nice things in life are even nicer if you can share it with people. That goes double for kids, because they don’t know how shitty the world is. You just gotta make sure they understand and appreciate the fun stuff and don’t get spoiled.


  • This is the core issue with the traditional dead man’s “switch” – it doesn’t require death to go off, just letting go of it, and there are other reasons why that might happen. By extension, a switch that requires you to log into something periodically might be problematic if you’re predisposed. Personally I’d just set a longer timer, a month is probably fine and, unless your “exposure” is extremely time sensitive, a month won’t matter once you’re dead.