Skip Navigation
How proficient do you rate yourself in your most coded language?
  • There’s a lot to talk about from this point alone, but I’ll be brief: having gone through university courses on processor design and cutting my teeth on fighting people for a single bit in memory, I’m probably a lot more comfortable with that minutia than most; having written my first few lines of C in 10 years to demo a basic memory safety bug just an hour ago, you’re way way ahead of me.

    There are different ways to learn and gain experience and each path will train us in different skills. Then we build teams around that diversity.

  • What are you working on this week? (Sep. 29, 2024)
  • I threw together a quick image to ASCII conversion project to actually use a couple of concepts.

    Sometime this week I’d like to make it not panic over every little thing. I feel like I should be shifting error handling left, but it’s not very natural for me, just yet.

    I will say, the ergonomics for testing with cargo are excellent.

  • 20 years later, real-time Linux makes it to the kernel - really
  • This is super interesting. I’ll admit I wasn’t even aware of this effort. Even real-time usage of Windows relies on a parallel kernel.

    This sounds like it’ll create a lot of cool opportunities and reduce friction.

  • wtf I hate using AI for programming, but today it was useful for Rust
  • I’m shocked and appalled! Isn’t the whole point of using Rust to prove you’re a better developer by using an extra hard language? At least that’s what I like about it.

    I’m kidding, of course. Whoever has never copied and pasted code they didn’t understand from Stack Overflow can go ahead and complain about using a local LLVM.

    Ultimately, what makes a good developer includes understanding and being really good with the tools they use, but the biggest impact comes from identifying problems and asking the right questions to solve them.

  • wtf I hate using AI for programming, but today it was useful for Rust
  • If you’re interested in learning more about SQL, throwing EXPLAIN at your query and the AI’s version may be really interesting.

    I’m usually perfectly happy trusting my ORM, but even then it’s really helpful to dig a little deeper to figure things out, both in development and in production.

  • What are you working on this week? (June. 23, 2024)
  • I’m working through rust-exercises.com and taking notes on my thoughts. I may or may not want to use it for a short workshop at work - mostly for fun, since I work with a very different stack.

    So far, I don’t know if I like the exercises, because the target audience doesn’t feel like it’s clearly defined: you both solve is_even with an if/else and overflow an i8 to -1. I don’t think I’ve met the person who is that inexperienced and that knowledgeable…

    How are folks liking these exercises?

  • [SQL/MariaDB] How will the YEAR data type transform in the future?
  • To answer the part of your question I think is most fun, there is a standard for SQL. There are many dialects of SQL, but you’ll often hear of “ANSI SQL.” The latest version is SQL:2023.

    Looking at the MySQL manual entry for the YEAR type, I think we can conclude two things:

    1. The developers consider the possibility of deprecating and removing support for time data type features;

    2. They use “reasonable defaults” for conversions of 2 digit years, based on the current year.

    The good news is it sounds like this issue is being taken into account. I’m sure the conversion window will be adjusted in future version and the data type may be changed or deprecated altogether. I wouldn’t be surprised if they added a YEAR2 though. T-SQL has a datetime2, after all.

  • What are you working on this week? (May. 05, 2024)
  • The insert on their Getting Started guide.

    let new_post = NewPost { title, body };
    
    diesel::insert_into(posts::table)
        .values(&new_post)
        .returning(Post::as_returning())
        .get_result(conn)
        .expect("Error saving new post")
    

    Of course the other possibility is this guide is very low on abstractions.

  • What are you working on this week? (May. 05, 2024)
  • Just learning. I threw together a little CRUD API in Rocket the other day.

    Now I’m playing around with Diesel. I don’t love the intermediate New types, coming from EF Core. Is that because Rust ~~~~doesn’t really have constructors?

  • 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/)NE
    nebeker @programming.dev
    Posts 0
    Comments 18