1. 19

Feel free to tell what you plan on doing this weekend and even ask for help or feedback.

Please keep in mind it’s more than OK to do nothing at all too!

  1.  

  2. 18

    Going to try to cut off of screens for a full 48 hours. Unless I get paged (´・ω・`)

    1. 2

      Good luck!

    2. 10

      2D C99 game engine work, around 2200 LOC now. I made the animation loop system generic last night from its prototype, so I’m tagging on image rendering, and should have inefficient but working looping animations done by the end of the weekend (no texture atlases yet). I think that’s the start point to actually try to put together some Atari or NES-style demo games. I have this idea in my head that I’m going to have cancellable animations for in-game, but I don’t want to go down that rabbit hole right now even though I have a prototype of that working.

      1. 1

        Is it going to be open source / do you have a link to a public repository for it? This sounds like a cool project and I would love to check it out.

        1. 1
      2. 8

        Working on some better representation for text in a programming language I’m working on.

        Core idea is to have a clean separation between

        • String which is the workhorse for moving data around, and
        • Text which contains a string and an associated locale.

        The idea is that all locale-sensitive operations like casing, counting, etc. only exist on Text and not on String. Instances of text can be concatenated, but it is checked whether they both have the same locale.

        1. 3

          What are you doing about encodings? UTF-8 is very popular but then you always have Windows OS APIs lurking in the background :(

          1. 2

            I have some old path experiment that I’m probably resurrecting to enforce a sane subset for path names.

            For the encoding I’m considering an approach similar to Rust.

            Edit: Wasn’t Windows adding UTF8 support to APIs a while ago? Do you know by chance if this doesn’t apply to the filesystem APIs?

        2. 7

          Sleep!

          1. 6

            I’m still thinking about going to fosdem. It’s probably going to be packed again and I don’t like those big crowds so I’ll see how I feel tomorrow.

            I’m going to re-install my laptop as the current install is a xubuntu install, but I only use herbstluftwm. So I’ll probably start from the cli install and just fetch what I need. I’m also planning to do the full thing in ansible and I’m really going to try to not install/configure any packages manually. I spent some time trying to install a vm with a nix desktop to see if I could create something I can use, but I always end up giving up and going back to *buntu.

            I’m also trying out an electric bike and see it it suits me. I’m loosing weight and would like to do some (daily) exercise without resorting to going to the gym as I’ll probably give that up due to no time/other plans/some other excuse/…

            1. 2

              I’m also trying out an electric bike and see it it suits me. I’m loosing weight and would like to do some (daily) exercise without resorting to going to the gym as I’ll probably give that up due to no time/other plans/some other excuse/…

              Just wanna say good for you! Specifically the part where you’re realizing that going to the gym is way beyond your activation threshold and thus Just Doesn’t Work for you in your routine.

              My life got orders of magnitude healthier when I came to a similar conclusion: If I can’t roll out of bed, throw on work out clothes, put podcasts in my ears and just CHUG at whatever workout it’s gonna be (eliptical for me lately) it’s Just Not Gonna Happen :)

              I hope it works out for you!

            2. 6

              Was planing to go to FOSDEM, but have to finish writing a linux file system for university and have to study for my drivers license exam (the latter which I have been delaying up until this least convenient moment).

              Hope everyone with a better schedule has fun at FOSDEM though, hope to be there next year.

              1. 6

                Saturday I’m heading up to New Hampshire to learn about motorcycle suspension.

                1. 2

                  Did you ever read Trevitt’s book?

                2. 6

                  Get some good work done on OpenParlour.

                  I’ve decided to use TinyDB as the storage layer. The whole point of this is to be a small, downscale community so I love the idea of keeping it to something that has zero external dependencies and has an interface I really like.

                  Part of what I’m really enjoying about working on this is that I can take the time to really understand things.

                  For instance I wasn’t clear on exactly what Flask was doing with request.get_json and jsonify() and the like, so I was able to write some code to see what’s coming into the route / API endpoint I have defined and play with curl until I really grokked it.

                  As I said at the outset, nobody may ever want to run one of these, but I’m learning a ton and keeping my head immersed in code so it’s all good no matter what in my book.

                  1. 2

                    Hey ! As I understand reading TinyDB documentation it is not suited for concurrent access. I am curious about the way you plan to deal with it in OpenParlour ? :o

                    1. 1

                      Hi thanks for asking!

                      I’m thinking that synchronous operations should be fine for this use case, as most traditional Python servers use WSGI which is a synchronous paradigm.

                      So, I don’t think concurrency comes into play here, since we don’t need async and one of the main points behind Open Parlous is to enable individual users with whatever hardware they happen to have on hand to create small, narrow band communities.

                      1. 3

                        most traditional Python servers use WSGI which is a synchronous paradigm.

                        Most people setup their servers so there are multiple WSGI threads / processes (this is the first thing the uwsgi quickstart recommends doing), so you still end up with concurrency. Maybe you won’t do that, but if you don’t you really will only be able to serve a single HTTP request at a time. Perhaps this fits your definition of narrow band :) If so, I’d recommend at least serving static assets in a different, concurrent way.

                        Also, as someone who maintains a production Mongo database I’ll throw in my usual recommendation to avoid non-relational / schemaless databases for anything but throwaway of projects. There’s some extra initial overhead to setting up Sqlite with SqlAlchemy but I think it’s worth it.

                        1. 1

                          Thank you very much for the advice. You’re right. My initial rationale was “Well some high profile projects like Quokka use it. How did they get around that?”

                          Turns out they didn’t. They use the TinyDB MongoDB compat layer so you can transparently switch to MongoDB if you need the capability for multiple users accessing the admin UI at once.

                          Back to sqlite and SQLAlchemy :) I appreciate learning about this now before I got too far along.

                  2. 5

                    Saturday: FOSDEM! I’ve been hoping to visit for some time now, but never quite managed it. This year, I’m lucky enough in that work has taken me to less than an hours drive, so I really have no excuse. I’m surprised there’s no thread to discuss it.

                    Sunday: Sadly, same work also has me leaving the country Sunday, where I’ll be off to plan some disaster recovery with another office :(

                    1. 5

                      Attending Fosdem in Brussels, wheeee!

                      1. 5

                        I am learning Rust, so I am porting a cross-platform framework in C that I have for creating windows and exposing GL/D3D. Let’s see how it goes. I want to write a little too, so I can post my 1-month experience.

                        1. 5

                          I’m thinking of working on OpenClaw (https://github.com/pjasicek/OpenClaw). Specifically to see if I can implement xbrz scaling.

                          1. 5

                            Going to swim “lessons” with my 8 month old son. Thinking of checking out night of ideas at the SF library.

                            1. 1

                              Night of ideas? Sounds fascinating!

                            2. 4

                              Continue coding AdventofCode on PicoLisp, Intcode-only tasks this year.

                              1. 4

                                I’m planning on moving my website from its French server to one in the Netherlands (I use Scaleway and read during the week that their NL instances were lower latency). I’d also like to get a blog post about Thea’s performance written.

                                1. 4

                                  More playing around with Beetle, my programming language. I decided at the beginning of the Rust port to track my time spent on the project (using Toggl) and so far I’ve spent about 33 hours on it.

                                  The language’s grammar is rather complex (indentation-sensitive, macros, customisable control structures, arbitrary nesting of IS and non-IS constructs inside each other) so I’m pretty happy with this, as I’ve almost completed the parser.

                                  1. 3

                                    As little as possible, while simultaneously doing a few things each days.

                                    I’m off to a concert tomorrow, hopefully with a friend - gonna go for Aphyxion, which is in the melodic metal genre.

                                    It’s Super Bowl(R) Sunday, so I’ll go to watch it with a few friends and play some board games before on sunday - I’ll bake a banana bread and an apple pie to bring.

                                    1. 3

                                      Classwork but also my home team is going to the super bowl for the first time in 50 years so that’ll be fun or extremely not fun to watch

                                      1. 3

                                        I noticed that all of my API servers share 80% of their code so I’m gonna create a module to have a single place to provide updates.

                                        I’m also gonna research ways to package web apps into executables without nw.js/Electron. Idk if this is possible but if someone knows a way, I’d love to hear it!

                                        1. 3

                                          I’ll be going to Fosdem on Sunday. Meeting up with a lot of people I didn’t see for a while. Maybe @kamme?

                                          I wanted to practice for the Cycling Vlaanderen test with my oldest son today, but the weather is not allowing it, unfortunately. I’ll have to take some time off during the week.

                                          I guess for today I’ll just pay the bills, play with the kids and end it with a birthday party this evening.

                                          1. 2

                                            Finalize the public archive for our functional programming community on Zulip: https://funprog.zulipchat.com/

                                            1. 2

                                              It’s the first weekend of February so I am at FOSDEM, for the 10th year in a row.

                                              1. 2

                                                Going to my first FOSDEM, will have a short talk there tomorrow. Excited and nervous rsrsrs

                                                1. 2

                                                  Getting invited to lobsters.

                                                  1. 1

                                                    Catch up on all the life stuff that I’ve been putting off during a busy work week, hang out at the hackerspace I help run, maybe work on text support for ggez’s new graphics engines.

                                                    1. 1

                                                      Unplanned.

                                                      Things on the list that I need to do at some point:

                                                      • Look at race management system, specifically functionality around letting people enter a race on the day
                                                      • Build a new bookcase, cascade a couple of others around to end up with a small bookcase leaving the house
                                                      • Go visit a local canal where the locks have been drained for maintenance, Canal & Rivers Trust is doing tours of the empty locks this weekend.
                                                      1. 1

                                                        Super bowl party on Sunday (Go Niners!)

                                                        Also want to work on my project web site’s design a bit more. I’ve got a skeleton setup with Pelican, but I want to continue developing my own theme and layout.

                                                        I also have a desire to play with Express JS more? I think it’s time I learned JS properly.

                                                        1. 1

                                                          While visiting Slovenia, I continue to work on a HTTP/2 frame library for Nim (Hydra). First time I read and implement an RFC and it’s quiet fun :)

                                                          1. 1

                                                            I’m in Denver on work business, but spending the weekend in the mountains/walking around town and meeting people.

                                                            1. 1

                                                              Messing around with dataflow and FRP. I implemented something that resembles Arrows in Python based on a paper that implemented them in JavaScript. I like how they can compose, but I have a feeling I can find something simpler in Python that’s easier to maintain (due to Python’s dynamic types). Mypy didn’t help me much… I think Arrow types are too complicated for it.