• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: March 24th, 2024

help-circle
rss



  • Mmm it sounds like you’re using it in a very different way to me; by the time I’m using an LLM, I generally have way more than a general feel for what I’m looking for. People rag on ai for being a “fancy autocomplete”, but that’s literally what I like to use it for. I’ll feed it a detailed spec for what I need, give it a skeleton function with type definitions, and tell the ai to fill it in. It generally fills in basic functions pretty well with that level of definition (ymmv depending on the scope of the function).

    This lets me focus more on the code design/structure and validation, while the ai handles a decent amount of grunt work. And if it does a bad job, I would have written the spec and skeleton anyways, so it’s more like bonus if it works. It’s also very good at imitation, so it can help to avoid double-work with similar functionalities.

    Kind of shortened/naive example of how I use:

    /* Example of another db update function within the app */
    /* UnifiedEventUpdate and UnifiedEvent type definitions */
    

    Help me fill in this function

    /// Updates event properties, and children:
    ///   - If `event.updated` is newer than existing, update as normal
    ///   - If `event.updated` is older than existing, error
    ///   - If no `event.updated` is provided, assume updated to be now()
    /// For updating Content(s):
    ///   - If `content.id` exists, update the existing content
    ///   - If `content.id` does not exist, create a new content
    ///   - If an existing content isn't present, delete the content
    pub fn update_event(
        conn: &mut Conn,
        event: UnifiedEventUpdate,
    ) -> Result<UnifiedEvent, Error> {
    

  • 100%. As a solo dev who used to work corporate, I compare it to having a jr engineer who completes every task instantly. If you give it something well-documented and not too complex, it’ll be perfect. If you give it something more complex or newer tech, it could work, but may have some mistakes or unadvised shortcuts.

    I’ve also found it pretty good for when a dependency I’m evaluating has shit documentation. Not always correct, but sometimes it’ll spit out some apis I didn’t notice.

    Edit: Oh also I should mention, I’ve found TDD is pretty good with ai. Since I’m building the tests anyways, it can often give the ai a good description of what you’re looking for, and save some time.


  • fyi you can also purchase music from the qobuz website, and they let you stream/download purchased music from their app without a subscription. So if you only want to support certain artists, that could be a way? I think they don’t have as much niche content as bandcamp, though; the way they populate their content is much more akin to the other mainstream streaming services, so it’s not quite as easy/direct for artists to add content.


  • Reminds me, Malcom Gladwell’s “Outliers” book had a section about his interesting observation that pro hockey players’ birthdays are skewed to the earlier months of the year. He attributed that to a kind of butterfly effect:

    1. Youth hockey leagues set league cutoffs by age, and mostly all start at the same time.
    2. The early month kids are slightly older, bigger, and stronger
    3. Since they are better at the very beginning, they get more playing time, more encouragement, maybe visit more “all-star” events, where they might get extra coaching, etc.
    4. eventually those kids actually just become better, because they had a better environment to grow.

    I mean idk how accurate this exact instance is, but I feel it’s a good thought experiment in thinking of how seemingly insignificant parts of the environment (like when in the year all the youth hockey leagues start) can impact whatever talent is. The whole nature vs nurture thing.







  • Huh really? I haven’t had that issue. But we might be totally different use-cases; If I’m routing, I’m usually in major cities mapping a route via public transit. I quite like OrganicMaps for this, because it’s still quite stable in underground subways when internet is sus.

    edit: To be clear, I haven’t noticed issues when I map for driving either, but I’m admittedly not driving a crazy amount.



  • Yo so question for y’alls: what’s your opinion on using custom domain (for portability) vs masked emails?

    Rn I have my main emails on my personal domain, and then I have masked emails going through xxx@fastmail.com for more anonymity + segmenting (err i mean just being able to disable a certain address individually) . But watching all this reminded me that if I decided to move away from fastmail, i’m much more locked-in this way. Do y’alls use a custom domain for masked email as well? The one thing I don’t like about that is that it’d be so easy to connect multiple accounts based on domain, so anonymity is probably kinda broken.





  • Fwiw, on my m3 + max ram, I also was recording 1080p 30-ish minute obs videos for a while running large Ableton Live project playback + a facecam, and (while I don’t remember specs specifics) I didn’t find it to be unstable. I don’t do heavy video editing, so I’m not sure about the requirements, but for obs in 1080, it felt fine for me. I think I also exported some edited 4k footage at one point though, and I seem to remember rendering that one took a solid amount of time, so if you think you might move to 4k, pro might be more appropriate.

    But I remember having specs reservations when getting my air, and I have not regretted it at all. Especially when I see my friends lug around their monster of a laptop. Those pro machines are thicc