1. 18

What are you doing this week? Feel free to share!

Keep in mind it’s OK to do nothing at all, too.

  1. 6

    Over the weekend i finished integrating CoreData with a reminder/todo app I am writing for myself.

    This week I’ll try to add reminders support to the app.

    side note: learning iOS development with Swift UI is pretty painful, the docs are incomplete, all the posts are from different versions of the API and i don’t have the patience sit and read all docs to find what I need.

    1. 2

      CoreData, although very versatile and powerful, seems overly complex for simple apps that just need a basic, secure data store. Especially if you’re building an Apple Watch app. Actually was very discouraging when I was trying to whip up a quick PoC of an idea a few weeks ago. What’s your take?

      Also, I loved Swift when it first came out. But after revisiting it years later…has it become a bloated language or what. So many decorations and ways to do the same thing…I feel like I’m in a Party City (I don’t like shopping for party stuff).

      1. 2

        I agree with both of your points, CoreData is complicated but the value it provided me is high. I think once i had the Objective-C style delegate listening for updates, then i didn’t have to touch it again.

        Swift is too bloated or Swift UI uses too much, i was confused with @State, @StateObject and the million combine annotations.

        I am more of a Go style engineer, i like thing simple and my brain can’t handle too much bloat. Minor things like trying to discover which package provides which struct is a PITA. (is @Published from SwiftUI import or Combine…)

        But after a day and a half of struggling, looking for examples, i think i finally get it enough to not want to rm -rf the project and move on. I might spend a few days lightly reading the docs for both swift ui & combine after finishing the project if they are not deprecated by then….. feels like i am in js land all over again.

        1. 3

          As a go engineer who has tried a few weekends of swift, my experience was very similar. Especially about incomplete docs and outdated examples. I really feel like the barrier to becoming fluent & productive is unnecessarily high, perhaps if i could dedicate a few weeks to nothing but iOS dev i could get somewhere.

    2. 4

      During the weekend I finished the object system for my implementation of Self. This week I plan on getting very basic programs running and then slowly improving the runtime by adding necessary primitives and then start building the basic Self world. I will post something about the progress but I don’t plan on submitting it to Lobsters because it most likely won’t be interesting. I do have an idea for something which might be interesting but it needs a little bit more research.

      Hope everybody’s having a good week.

      1. 4

        During the day, I’m working on my dayjob. At nights, I’m working on adding peripherals to my fantasy emulator, starting with ideas for how I want sound to work.

        1. 4

          I’ll be working on some compiler optimizations for me day job and hopefully racking the cider in a couple days if it’s ready.

          1. 3

            Partly, in my best possible orc peon voice: “werk, werk!”

            For !$werk: learning C++ and more Unity for game dev shenanigans. Still undecided about learning Rust for gamedev as I’m weary from past projects where I spent all my WeirdBudget on a ‘not quite there language/ecosystem’. :<

            1. 3

              There is nothing like C++ and Unity in the Rust realm currently. If that’s your intent, just learn modern C++, and ignore Rust for now. Transitioning to Rust will not be so bad if you learn modern C++ constructs.

              1. 1

                This is true, I’ve already started down the modern C++ path, but still wonder occasionally.

                1. 2

                  Learning Rust after having used modern C++ is fairly simple. I wouldn’t worry about it.

              2. 1

                I use a part of the Rust game-dev ecosystem in my full-time role, and I love it! I’d strongly recommend taking a look into some of the recent Bevy tutorials to see how it feels. It depends on your goals (learning, career, the kind of game) to whether you should learn Rust and build more tools for yourself or stick with the larger languages and ecosystems.

              3. 3

                I shut down my blog last year because I wasn’t actively writing any longer. Recently a friend of mine starting blogging and it inspired me to start again.

                I’m going to add a blog implementation to my website and write my first post this week about a file sharing software I’m developing for myself.

                1. 3

                  EMC testing three our new products in a lab near Oslo. I had to be onsite, but with new COVID restrictions have to manage it over the phone. Fortunately our Jr. EE got there before the new regulation, otherwise the whole two-month buildup would have been ruined.

                  1. 3

                    Despite the day job, I’ll go on working on https://sr.ht/~koehr/k0r. There is still quite some work to do to make it to something I’d qualify as beta.

                    1. 3

                      Changing from i3 to bspwm, it’s been too long and I’m already noticing that bspwm is faster, it’s kind of insane. I am also thinking about moving my whole system to nixos, probably unsurprisingly because of the posts here. I’ve actually installed it on my laptop and its that good that it’s making me consider it.

                      I’m also getting bored of the fact that I’ve never programmed anything good, so I want to try and think of something useful to make.

                      1. 3

                        I’ve streamed myself coding five days in a row and I’m really enjoying it — especially interacting with the chat. So I’m looking to keep that up and maybe work on some blog drafts.

                        Otherwise, building furniture, staying inside, running at night to avoid people.

                        1. 2

                          Do you find streaming changes your coding profile? Like time spent thinking versus trying stuff?

                          1. 2

                            I’ve found that I run my code less and describe what I think is happening more. Whenever I run my code, I explain what I expect to happen this time as opposed to before the change I’ve just made. I find that I catch more errors before executing my code.

                            It also keeps me on task. With people holding me accountable I want to follow through to the goal I set at the start of the stream. The programs I’ve been working on are small chunks that can be done in a setting and are good content for beginner coders e.g. a dead link crawler using just the Python standard library.

                        2. 3

                          Lots of Janet work! I’ve been on an accidental 8-day commit streak with it. It’s proved to be just about the perfect dynamic language for the sorts of things I want to do. (And macros mean I can sand the edges much easier than I could in, say, Python or Ruby)

                          1. 2

                            Refactoring legacy code! Lots of anti-patterns and poorly documented .NET code. I’m not a .NET developer so getting used to using VS and how these applications were built is quite the trip.

                            1. 2

                              Continuing to work on a pretty significant refactor, from YAML blobs (in a database) to several normalised tables, and a re-work of how the app renders embedded ‘variable’ strings in the values from each blob/row (i.e. templated strings)

                              1. 2

                                I have four hobby software projects past the proof-of-concept phase, which I haven’t finished. I have trouble defining what “done” is, and even after taking a break from coding outside of work for about a month, I’m to the point I don’t want to do hobby work anymore, and I don’t like that. So, I’m trying to figure out what to do.