Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TE
Posts
0
Comments
683
Joined
2 yr. ago

  • This advice mostly applies to people who are less experienced and less familiar with just how complex HTML can be. As for other languages - if you're doing regex on markdown, you'll probably be fine (but you should verify if you're writing something for the general case that must not fail). But in HTML's case:

    • You have nested languages (CSS and JS)
    • You have tag-specific rules (img and link end in />, but div must end in a separate closing tag)
    • Browsers use error correction to try to make sense of invalid HTML, like inserting missing tags. Many websites rely on this behavior.

    If you're trying to use Regex to parse a specific website's HTML, you'll be able to get what you want eventually, but as a general HTML parser, there will always be some website that breaks your assumptions.

  • If you're writing C#, you could take a look into Source Generators. They're supported directly by Roslyn I believe, and are pure C# instead of t4's syntax. They're often used with attributes to augment types, but I believe they can be used to generate sources on their own, and even read from a config file if you want to (or maybe even query the DB, if that's something you want to do at build time for some reason, though I've never tried this).

  • I suspect the main reason so many establishment politicians are terrified of it is because of how it suggest content.

    I'm not convinced the politicians even have a clue what the app is, let alone how it serves content. To me, it seems like they really just want to keep data out of the hands of the CCP. The bill itself doesn't state that TikTok is banned - only that ByteDance needs to divest it to keep operating it in the US.

  • I also enjoyed Zola. Ended up switching off of it, but I think it's a great way to directly jump into writing content. The only reason I switched off was because I wanted more control than it would provide, but for most cases, I think it's completely fine.

  • Framework-wise, I really like Astro. They have some themes you can explore here.

    I'm not sure if any themes support charts, graphs, and diagrams out of the box, but they use remark and rehype to convert markdown to html, so you could look for a rehype plugin to do it and add it to your config if you want. For example, you could try using rehype-mermaid to generate diagrams using mermaid.

  • Maybe it's just me, but the majority of programmers I've worked with don't even know how to quit vim, let alone use it for programming. I wonder if the demographic who completed the survey accurately represents all the people who use Rust, or only those most passionate about the language. It's also possible that ~30% of Rust programmers do actually use vim (and friends) and represent a different group of programmers than the ones I've worked with (who use more traditional programming languages).

    Nothing against vim of course. vim is a great editor.

  • If thousands of people contribute to it, even if it is insider trading, can it be reasonably investigated and prosecuted?

    But more seriously, not a lawyer, but no I don't think so. The users don't know any non-public business information about future Reddit business decisions (i would assume) and compete fairly with other potential shareholders. It's not like other shareholders couldn't do the same thing, after all.

  • If you're looking to contribute to the standardization process for web standards and propose a new idea, you could try looking into discussion channels for W3C. From my understanding, they are the ones who maintain the ActivityPub/ActivityStreams standards, though I'll admit I don't know much about the process. IETF also seems to be responsible for the WebDAV RFC. You could try reaching out to them to see if they still have interest in it or a place to discuss it.

    Otherwise, I don't know of any communities specific to that topic, but you could always build your own extension to WebDAV anyway. Things are created when people build them, so be the one to do it and popularize it!

  • Building off your last point, with AI models, bias can come in ways you might not expect. For example, I once saw a model that was trained with diversity in mind, but then only ever output Asian people with a high bias towards women. It seems to me like diversity is something that is difficult to train into a model since it'd be really difficult not to overfit it on a specific demographic.

    It might be interesting to see if a random input into the model could be used to increase the diversity of the model outputs. This doesn't really help with resume screening tools though (which are probably classifiers), only really generative models.

  • Automated resume screening tools have always been harmful, and have been employed for years now in a lot of companies. The issue comes down to how to filter applications in a scalable manner, but this seems paradoxical since those same companies then complain about a lack of qualified candidates after rejecting them all, leading those candidates to then apply elsewhere. If these companies hired less-than-perfect candidates instead of being so trigger happy with their rejections, there'd probably be far fewer applications to review in the first place, making these automated screening tools less necessary.

    The bias question is more relevant now that companies are using more complex AIs. I'm glad the article brought it up since it's difficult to quantify how biased a model is towards some groups and against others, and where in the model that bias comes from.

  • Anecdotally, I've been hearing from someone who works there that they've been doing some blatently illegal things with regards to RTO enforcement and reasons for dismissal in general, including threatening employees who take time off for not "badgeing in" while on vacation. I'm hoping we see some huge fines in the near future on them, as employees raise complaints and even sue them for their practices.

    1. If you’re a man and that O.P. is a woman, her facts are feelings and your feelings are facts, and those forty-seven increasingly lengthy responses you fired off were clearly a rational reaction. If she reacted negatively to them, do not forget to rebuke her for being emotional.

    I take issue with this point. It builds on the basis that there are women on the internet, which we know is factually not true. There are only men and, in some communities, squeaky teenagers. (/s)

    I'm bookmarking this article. It'll definitely be useful at several points in the future when I need to rebuke someone's rebuke.

  • Might just be my inexperience with the library, but every time I end up with a pandas dataframe, I spend the next 4 hours trying to figure out the right sequence of index statements and function calls to get the data in the order I want. It always ends up feeling like I'm doing something wrong, and the only way to really tell is to run the code as far as I can tell. I don't use dataframes very often though, and I'm sure it gets easier with experience.

  • I don't know what it is about Teslas, but everytime my wife and I get in one, we start feeling carsick after a while. It's only with Teslas too.

    Still, as much as I'd never buy a Tesla, it is a functional car for the most part, and worst case you turn on the hazards and pull over (if the car doesn't actively try to kill you). A brain implant sounds like an absurdly horrible idea. What's the best outcome of one of these anyway? Ads playing in your thoughts?