• 1 Post
  • 348 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle


  • Wow - I applaud the effort but that’s… a lot.

    I have frequently used notebooks to sketch out high-level ideas and designs which in itself seems to be a rarity. But at the “It’s detailed enough that someone else could come along and replicate the steps” level is unfathomable to me.

    Having to write out what I’m going to do on a physical medium is orders of magnitude slower than typing it out and would just take ages. Maybe it’s just a lack of discipline thing but for me coding is a ton of trial / error / re-write. I refactor code constantly. But it has inspired me to maybe keep more of a log “generally” for things I’ve been working on. It can be useful to be able to refer back to notes rather than needing to dig through emails or git logs hoping to find some rational for a decision…


  • To create an invite you:

    # drop into mongo shell
    docker compose exec database mongosh
    
    # create the invite
    use revolt
    db.invites.insertOne({ _id: "enter_an_invite_code_here" })
    

    That’s pretty jank.

    Also - I’m getting pretty fed-up with self-hosting documentation that assumes very specific environments and goes into detailed configuration for that environment. Don’t tell me how to setup a server and how to enable/configure SSH and setup UFW as part of setting up your software. Just tell me how to setup your software and what ports it uses.




  • What do you mean by “corporate?”

    You could look at higher education, non-profits, research, etc.

    I don’t want a lot of money

    Do you want to work full time? I’d never hire a programmer who wants to work less than 20 hrs/wk and I’d even be very unlikely to hire anyone for less than full time. It’s a pain to coordinate with somebody on a team who isn’t there most of the time.

    Maybe small non profits would be interested, but

    I’d like to work with REAL programming, not devops, not cloud, not managing containers, I want to write code as a living.

    Small businesses will need someone who is flexible and can “do everything”. Typically only large organizations allow people to specialize.

    Maybe “bug hunting” or contributing to larger oss projects that have budgets to pay for contributions?


  • Having to make a decision isn’t my primary issue here (even though it can also be problematic, when you need to serialize domain-specific data for which you’re no expert). My issue is rather in that you have to write this decision down, so that it can be used for deserializing again. This just makes XML serialization code significantly more complex than JSON serialization code. Both in terms of the code becoming harder to understand, but also just lines of code needed.

    This is, without a doubt, the stupidest argument against XML I’ve ever heard. Nobody has trouble with using attributes vs. tag bodies. Nobody. There are much more credible complaints to be made about parsing performance, memory overhead, extra size, complexity when using things like namespaces, etc.

    I’ve somewhat come to expect less than a handful lines of code for serializing an object from memory into a file. If you do that with XML, it will just slap everything into child nodes, which may be fine, but might also not be.

    No - it is fine to just use tag bodies. You don’t need to ever use attributes if you don’t want to. You’ve never actually used XML have you?

    https://www.baeldung.com/jackson-xml-serialization-and-deserialization










  • …it answers from the attached KBs only. If the fact isn’t there, it tells you - explicitly - instead of winging it.

    So you’ve made a FAQ with a LLM interface? I could see that potentially being useful for cooperate “let our bot answer your questions” tools.

    But the usefulness of AI isn’t just in “tell me a fact”. Like what would your AI give for "what functions would I use in Python to convert a utf16 string to utf8? Would the answer need to be in the KB already?