1. 14

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

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

  1.  

  2. 18

    Finding the will to continue in quarantine.

    1. 3

      One thing I do every morning is take a picture of myself in the mirror, with my made bed in the background, and sending it to Boss as a Service, with the subject line “I live in the best of all possible worlds. Everything I do today, I choose to do”. I think it really helps me out to start the day well and to explicitly place myself in a well of positive thinking no matter the actual circumstances.

      1. 2

        Never heard of BaaS.

        Sounds cool.

      2. 2

        Start each day remembering the good stuff you experienced, the good stuff you have, and the good stuff you might still do or experience. On the last one, include some things you can do or experience in quarantine. Then try to take action on those each day. Then, they eventually join the list of good things you’ve done or experienced to motivate you towards the next set.

        This is part of my morning routine. How well it goes varies day by day. It helps most days, though. Hope it helps you. :)

      3. 15

        I’ve been really sick for most of this past week, possibly with COVID-19, so if I actually get out of bed…

        • Finish up https://git.qtp2t.club/hazel/lake and hopefully get a 1.0. Pretty much all that needs to happen in my mind is to automatically create directories if they don’t already exist.
        • Rebase https://github.com/gnotclub/xst on st 0.8.2. This is annoying because Suckless moved all of their Xorg stuff to x.c, which is a worthwhile improvement, but makes maintaining a fork hard. I’m making progress, though, albeit none of it’s committed yet.
        • Compartmentalize my custom design for FRC 868’s robot code into a library, because I’m graduating this year so I can’t explain my logic to everybody anymore. This unfortunately means that I have to actually write Java.
        • Read more of The Little Typer.

        If I don’t get out of bed…

        • Animal Crossing: New Horizons
        • Coughing
        1. 4

          Sending (virtual) hugs from an Internet stranger.

          1. 3

            This sounds rough. Take care of yourself.

            1. 1

              Be well - good luck this week!

              1. 1

                I remember seeing lake on unixporn maybe like a week ago, and thought it looked super cool! definitely going to be keeping an eye on that.

                (ps your website is really nice looking)

              2. 7

                I am now on day 24 of my “do 100 pushups every day for 30 days” challenge. I haven’t missed a single day, though I’ll admit that I have a problem with procrastination and this means there have been many nights where I am doing pushups at 02:00 in the morning. So this week: more pushups.

                Also Haskell, Elm, etc.

                1. 1

                  Late to respond, but remember that resting time is when your exercise pays off. If you want to build muscle you should probably alternate days to give yourself time to recover and build mass. Maybe start by doing upper- and lower-body exercises on alternate days.

                  1. 1

                    Yes, thanks, I know :)

                    The point of the exercise for me was to prove to myself that I could stick to a plan and be consistent with something. I wanted to set a goal, and not give up half way through.

                  2. 1

                    How have the pushups gone so far? Do you find it a little easier to do each day?

                    1. 1

                      I don’t feel that the progression has been linear and it doesn’t feel easier each day. The progression comes in larger jumps. Some days I just felt a good deal stronger. After about a week I started adding weight, so now most of the time I’m doing them with 7kg of weight in a backpack.

                      When my fitness friends heard that I was doing this, they started getting nerd-sniped and over-enthusiastic about it like anyone on this website might do about programming. I started hearing suggestions for different variations and different workout programs. I actually found that really annoying. I just want to keep it simple and get the job done, and actually see this challenge out to the end.

                  3. 6

                    Helping my team migrate many Postgres databases into RDS. Each of these databases average around 1,300 schemas. This also includes an upgrade from 9.4 to 11.6. And some interesting performance challenges to work out, but it’s also forcing our hand at reviewing the queries and indexing.

                    1. 2

                      This is the sort of un-flashy work that pays dividends for so long!

                    2. 5

                      Found a monstrosity of a shell script full of shellcheck errors in my environment. How’d this get here?

                      git blame

                      Oh (mirror)

                      1. 5

                        I’ve decided that having React on user-facing site is wrong, so I’m experimenting with migration to intercooler - it’s moving, but slower than I’d like. Forms and analytics turned out to be especially hard to do…

                        1. 2

                          I haven’t used Intercooler, but I really like the idea of it!

                          What kinds of forms are you finding hard to migrate?

                          1. 2

                            Yeah, intercooler is pretty cool. I was really hesitating to migrate off React since the main reason we’re using it is to compose all the frontend stuff - and I really don’t want to go back to that jQuery mess. But intercooler makes all the “moving” parts colocated to HTML which generates all that movement, which makes me excited to see how it turns out in practice. :)

                            All kind of forms suck though! Because they were done in onclicks in React and there is no way to trigger them on server (our server is API and server-side rendering for React app, so no user-facing form processing before now), so I have to rewrite every damn form. Also nobody paid attention to separation of logic and markup, so some parts are a little bit involved.

                            I mostly did not touch front end of our app for some years and I find myself in a bit of despair at times. :-) I’ll push it through though, ultimately I think we will become much better for our visitors. :-)

                        2. 4

                          CodeMirror? Ace? No, thanks. (Just kidding)

                          I’m working on embeddable code editor for the web – https://medv.io/codejar/ Main features: smallest size + any highlighting library.

                          1. 2

                            Looks good. Responds well on a phone too. Well done.

                            1. 2

                              Awesome, that looks like exactly what I need for the browser extension I’m working on! I need a simple code editor for the settings, and Codemirror takes up most of my extension size, feels pretty wrong.

                              Thanks, I’ll give it a try. Also, cool logo!

                              1. 1

                                Thanks 😊

                            2. 4

                              Hoping to finish the first draft of the Alloy documentation! Just passed 11,000 words.

                              1. 4

                                2D C99 Game Engine. Finishing up some things with the helper build tool to improve builds on my home CI.

                                My primary development environment, a Linux running HP Envy 13t (less than a year old!) broke hinges and the screws on the bottom near the display won’t back out so I’ll need to get it professionally fixed, but we just instituted stay-at-home due to coronavirus. Opening the screen pops open the back corners and black plastic shards are coming out. Apparently this is a common issue, I really like using that laptop, it’d be sad if this made me get one from a different company next time. I’ll do my best working on my 2016ish Windows laptop to keep moving.

                                1. 3

                                  Since every uni is online now, I’ve got a load of free time to work on all my overdue projects! #1 on that list is my programming language Alox. I haven’t touched it all year and I’m hoping to get an alpha release within the coming months. The tagline is “GPU Accelerated, Distributed, Actor Model Language”.

                                  Currently, the compiler contains lexing, parsing to an AST, translating the AST to an IR, and the beginnings of a backend using CraneLift. I just wrote up a blog post detailing my designs for the language, and what big changes I’m going to make to the compiler. In this post, I explain the struggles I’ve been having with the Rust implementation and thoughts on switching to a Zig implementation. I’m not exactly sure if this is the direction I want to go considering Zig is so young but I’m till rattling the idea around in my head. Either that or I refactor the Rust codebase a lot.

                                  1. 2

                                    That sounds really interesting. If you want some inspiration, you might want to look at parallel languages Chapel by Cray, ParaSail by Taft, and Pony. They might have things you can copy and/or improve on.

                                    Regarding Rust vs Zig, I warn about trying to build a language on top of experimenting with an experimental language or one with limited, tool support. You might be doubling the work for yourself in a way that negatively impacts Alox. If people want to actually deliver, I usually recommend them picking a mature language with lots of tools, libraries, and docs. If not that, then just pick one to play with, stick with it, and use it in a way that reduces obstacles.

                                    Personal example: I recently had to ditch a nice language for Python in some projects just because my velocity in Python would be so much greater due to existing IDE tools, libraries, and docs. Choosing the niche language would’ve required clean-slating too much. However, I am writing straight-forward code that some automatic translator could port to a better language later. py2nim is an example path I could take.

                                    1. 2

                                      I’ve been studying Pony heavily since it models what I want to do so well. Chapel I’ve seen around but ParaSail looks new to me, I’ll look into them!

                                      And speak of the devil, I instantly ran into compiler bugs when doing basic things. I decided to majorly refactor the IR to be more idiomatic, making the code a lot cleaner. I had to use two IDEs to do this: rust-analyzer in VSCode and the Rust IntelliJ plugin show different errors at different times which made for some interesting debugging. I guess I’ll be sticking with Rust!

                                      1. 2

                                        Boom! There it is. Good that you figured it out before cranking out tons of code. You got lucky. :)

                                  2. 3

                                    Apart from $work, i am going to continue reading Crafting Interpreters already half way through and am really enjoying it.

                                    1. 1

                                      It’s an excellent book. I’ve already cribbed his ideas with using stack-allocated values vs. having all values be allocated on the heap. Are you following it exactly and making a version of Lox?

                                      1. 2

                                        I am not implementing the ast based interpreter since I’ve built a quite a few of those already. Learning the byte code vm instead.

                                    2. 3

                                      This week I’m not planning on doing anything. I’m allowing what I’m “doing” this week to be organic and simply what I’m in the mood for.

                                      Although, I’ll probably still be making a point to practice guitar a bunch.

                                      1. 3

                                        Got separate namespaces merged in the language I’m working on, such that

                                        @test fun test() { test() ... }
                                        

                                        is allowed now (@test is an annotation, which is a type; test is a function, which is a term).

                                        Next up, modules. Old:

                                        class Array[T](size: Int) {
                                          @static fun new(...) -> ...
                                          ...
                                        }
                                        

                                        New:

                                        class Array[T](size: Int) {
                                          ...
                                        }
                                        module Array {
                                          fun new(...) -> ...
                                        }
                                        
                                        1. 3

                                          Getting more to grips with NixOS on my new desktop: I have my vim plugins+config mostly working, and now I’m switching into exploring lorri+direnv for project management. Next is writing a custom derivation for a missing python library.

                                          I also need to MacGyver a Pi0 into an AP/extender, as the major US ISPs “dropping” bandwidth caps means that wifi is now borderline unusable across my apartment during the day.

                                          1. 1

                                            I recently used lorri and direnv – it’s pretty nice, because most editors have a direnv plugin, so you can sync the state of say, emacs or VSCode with your dev shell.nix.

                                          2. 2

                                            The recent drastic shortening of my daily commute has given me more free time, so I’m dusting off my pet language, hopefully in time to release something cool for its 13 month anniversary.

                                            I’m adding a language on top which should help ease the difficulty I’ve been having in creating a language while also trying to learn it.

                                            1. 2

                                              Working on a fork-less worker implementation for Qless-php, plus various other job-queue related enhancements for $client’s site.

                                              Hopefully catching and disposing of the giant gecko that’s taken up residence on our house.

                                              1. 2

                                                I’m planning to continue working on a small project that I started over the weekend. It allows users to get email/text notifications on Delivery Time windows availability Instacart so that one doesn’t have to keep checking for times to place the order.

                                                P.S: I’m a newbie here. I did try to submit this as a story but got an error saying the domain is unknown (.guide). If anyone can help me posting this on Lobsters that will be great. Thank you!

                                                1. 2

                                                  Other than work I’ll likely try to:

                                                  1. play some virtual board games with friends, using Tabletop Simulator
                                                  2. work on my new “experimental error return tracing for Rust” crate ertrace
                                                  1. 2
                                                    • Finally getting around to updating my fm radio rtl_sdr plugin for VCVRack 1.X.
                                                    • Reading Naomi Klein’s The Shock Doctrine for my video book club.
                                                    • Figuring out how to integrate my home monitor setup with my work laptop, more dongles hooray!
                                                    1. 2

                                                      Working on https://wordflow.dev (generate and summarize news articles with AI).

                                                      Going to start posting some blog posts about how we run AI models at scale (here: https://sdan.io/wfblog) and also going to go through logs and contact potential customers / talk to current leads.

                                                      Also I just realized its Monday.

                                                      1. 2

                                                        Working on a small C Project to test some stuff at work. Taking an opportunity to write a full C program that will actually be used.

                                                        Also, working on my first website project with Lua Lapis.

                                                        1. 2

                                                          Flailing against the battle of institutional inertia at work, apparently.

                                                          1. 2

                                                            Improving Jenkins at work

                                                            1. 1

                                                              At $WORK, I’ve been having a tough time acclimating to working from home. I’m pretty likely to get distracted if there’s not a person right there all the time. Otherwise, I’m working on the least novel of all projects: a scheme interpreter. I’ve just now got GC working well enough, and my next steps are to write some more aggressive test cases to really exercise everything.

                                                              1. 1

                                                                Kafka, everyday, every night