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. 14

    This weekend, I’m finishing up my entry for the No Budget Film Contest … the deadline is July 4th, there’s only one entry so far, and with a grand prize of $5, I gotta try!

    1. 1

      Cool. What is your film about?

      1. 2

        surrealism

    2. 8

      I got my assembler to the point where I could print “hello world”. It feels kind of cool making a program using your own code. I’m going to see if I can automate adding more instructions this weekend. This is for a compiler so I’m also starting to think about the IR and the language itself. I think I’d like to make a bare-metal language with dependent types, but I don’t think I’m smart enough for that. I’d like a type system that is at least as capable as Rust’s, but even that seems difficult.

      1. 1

        Which machine language are you targeting? x86-64?

        1. 1

          Yes I’m targeting AMD64. If this compiler takes off I’d like to target other architectures but I think that would be wasted effort until the compiler is self-hosting. It would be really nice to target something straightforward but AMD64 is what I use for development so anything else would just be annoying.

          1. 1

            That’s ambitious! One of these days I should take a look at a few existing code generators for AMD64. Things like register allocation are still a mystery to me.

        2. 1

          but I don’t think I’m smart enough for that

          Judging by what you’ve done so far, you definitely are smart enough to do that.

          1. 3

            I appreciate it, but I don’t think writing an assembler takes a genius. It’s sort of hard to figure out all of the corner cases for instruction encoding but it just takes time. Meanwhile I’ve been trying to understand dependent types for 6 months now and I still don’t get it. I’ll try to experiment a bit again, maybe it’ll click.

            1. 2

              Yeah, sometimes understanding a concept really requires implementing it.

              1. 1

                When you figure out dependent types, please explain it, with a language other than Haskell :)…

                Sometimes I think terms like “Dependent Types” and “Monads” are just because Haskell folks refuse to admit that their ideas might be simple enough to explain with simple off the shelf words. :)

          2. 7

            For the first time since I can remember, I have nothing planned, so I think me and my kids are gonna finish our Super Metroid run.

            1. 6

              save the frames. kill the animals.

              1. 5

                True LOL there.

                I think we’re at something like 10 hours already and we haven’t even fought Draygon yet. My copilots are 8 and 4, so there’s a lot of “scan every single part of every single room with the X-Ray Scope,” “bomb that thing that absolutely is not bomb-able just in case,” and “wait, do the Shinespark again!”

              2. 1

                Nice! Are you playing it on an original SNES?

                1. 4

                  SNES Classic. A year or so ago my older son was looking at games at Target and we just bought it on impulse. It’s been a great bonding experience; the three of us (my two sons and I) have played through Mega Man X, Super Mario RPG, EarthBound, A Link to the Past, and are working through Super Metroid.

                  (Nevermind the nostalgia for me. In college years ago a good friend of mine had an SNES and I spent far more time playing these games in his dorm room than I should have given school and work demands.)

                  My four-year-old especially is very proud of us. He was talking to someone at a birthday party the other day about how good his dad is at Mega Man. He also went around for a month of so after Super Mario RPG telling every stranger who’d listen that we’d “beat Sniffy” (Smithy).

              3. 5

                Technical review of a book about machine learning in rust

                1. 2

                  Interesting. I do most of my ML at work with Python (and R on occasion since it’s mostly bio). How is Rust for ML?

                  1. 2

                    It looks okey, some libraries are good, others a bit rough, and others not actively maintained, but at least the examples in the book works. For now, I don’t think I would replace Python for Rust in ML.

                    It would be interesting to have a benchmark between some Python and Rust.

                    PS: I’m by no means an ML expert, this technical review is more of checking that the code compiles, run, and gives the expected output.

                2. 5

                  I’m stuck in a weird loop where I want to work on more code/projects on the side, but I’m not sure if it’ll just be another false start that I abandon. So I’ll contemplate that.

                  1. 3

                    I meditated and I think the reason is that:

                    1. I’ve worked for a long time (up to 5 years in some cases) on my existing open source projects
                    2. Therefore, they look polished (compared to their initial state) - unit/integration tests, good README, docs, performance optimizations
                    3. When I start a brand new project, naturally after just the initial handful of commits, is an unpolished PoC
                    4. I feel like they’re bad projects, especially compared to the old ones
                    5. I abandon them

                    I might need to release something that looks hacky, and just persist in committing to it and letting it evolve over time.

                    1. 2

                      Really feel this.. I’ve been stricter on myself the last two years or so, not giving in to as many whimsical projects. At the same time, I’ve both enjoyed working on and learned a lot from false starts in the past. My thinking is stuck in this jamb where on the one hand I want to work on things to completion and to do things that seem “important” - but on the other hand, if I get joy in the moment from some random rabbit hole, is that so bad?

                    2. 5

                      I will be attempting to build two 8’x2’x6’ shelves for my storage locker.

                      I’ve conscripted my six year-old to help. I’m really proud of him for being materially helpful: if I draw a line on a plank and tell him to cut down the line, I can work on something else and he’ll come back in a bit with two new, shorter planks. Hardware-enabled multi-threading is magic!

                      1. 1

                        The kid only helped for a little while and spent his time constructing a two foot tall Christian cross out of wood. ¯\_(ツ)_/¯ I guess there’s only so many shapes you can make nailing two boards together!

                        The shelf project is less than 50% done. I made three of these sub-frames. I spent a loooong time figuring out how to make two boards that are two feet apart be both parallel with one another and flush with an imaginary flat floor. (The real ground wasn’t flat.) I do own a carpenter’s square, but it’s in my buddy’s basement.

                      2. 4

                        Flying to Breckenridge, CO for family vacation!

                        On the plane, I’ll likely continue working on my browser-based multiplayer snake game, https://alpha.sneakysnake.io! Next steps are adding a score board and customizable player names.

                        Also, I just ordered the “Tap” input device to the vacation house and am excited to try it out and see if it’s a practical replacement for a keyboard and mouse. If it is, then all I’ll need for truly mobile computing is a retinal display! (I’ll be holding my breath :-)

                        1. 2

                          I approve of both of these things.

                          Would love to read your review of the Tap.

                        2. 4

                          Heads down sock knitting for a competition I signed up for. I’m past the heel, so with three days on the clock I gotta hustle!

                          1. 3

                            Working on https://gitlab.gnome.org/NoraCode/gDiceRoller which, while it’s not much in and of itself, acts as a repository of knowledge on how to package a modern Rust application for the GNOME desktop. I’m gotten Flatpak working; now to set up cargo-deb and try to return to Snap and RPM packaging.

                            1. 3

                              Attending a music festival Tinderbox and I attended the Graduation ceremony for the Software Engineers at the local University where I teach.

                              1. 3

                                More work - maybe another release - on my multi-platform service manager / init, “Dinit” (https://github.com/davmac314/dinit). Things have been moving slowly as I’m busy with a new job, but I’m plodding ever on towards a 1.0 release. There’s not actually a huge amount left to do - mostly some user-friendliness functionality (warnings when certain actions might have undesired consequences), and I think better support for logging process output in different ways.

                                It recently made it in to the OpenBSD ports tree, and I’ve had a pull request opened, so I know that one or two people other than myself are actually using it or at least trying it, and that helps with the motivation to get it finished (or at least to 1.0 - I have plans beyond that, as well…).

                                1. 3

                                  Makin some circuitboards/breakouts and experimenting with automated 2D and 3D printing of said PCBs/components for verification.

                                  1. 3

                                    Mowing the lawn.

                                    1. 3

                                      Its Canada Day Long Weekend and I’m kicking it off with some Karaoke, then relaxing all weekend until Monday when I have to record a podcast and get to a meeting with my co-producer for our next few comedy shows.

                                      1. 1

                                        What’s your podcast? (If you’re afraid of seeming spammy, you can DM me.)

                                        1. 2

                                          The only one that’s current is a Comedy/Baseball podcast called Kevy’s Country Breakfast. Its on iTunes and Google Play. I have another called Mr. Rewatch which recaps Mr. Robot as it airs (its coming back this autumn!)

                                      2. 2

                                        I’m attending a 4th of July party, finishing Neal Stephenson’s new book, getting through a backlog of movies, & maybe writing an essay or two.

                                        1. 2

                                          Some small things Saturday morning (fixing snooker cue, checking car/bike over for problems), before heading to the Sailing Club for a weekend campover.

                                          Saturday is aimed at the youth members, with a fun packed afternoon. Not sure how much I’ll join in with that as I have some maintenance to do on the IT systems in the clubhouse, but the kids should enjoy that. Then it’s BBQ, Controlled Burn of Rubbish (aka, campfire), and hopefully a midnight sail with everyone which should be fun. Sunday is then the Flying Fifteen fleet day (that’s the fleet my dinghy is in!) which looks like it’ll four decently long races for us, and hopefully a good turnout of the fleet/club on the water. Not going in expecting to place anywhere in the races, but to have lots of fun.

                                          1. 4

                                            What type of maintenance do you need to do to a cue? I’ve inherited responsibility for some communal billiards supplies and am reasonably clueless.

                                            1. 5

                                              IanPaul, so glad you asked. Most people in charge of billiards/pool equipment simply ignore it forever.

                                              First, some vocabulary: https://www.pooldawg.com/article/pooldawg-library/anatomy-of-a-pool-cue

                                              Here’s my list of maintenance items, higher priorities towards the top.

                                              1. cracks in the shaft? put the bumper of the queue against the ground, hold the shaft with one hand (about 3/4 of the way up) and with the other hand grasp the ferrule and gently try to “fold it over” in each of the cardinal directions. Any cracks will reveal themselves in this way.

                                              2. The tip assembly

                                              • Is the tip missing?
                                              • Try to pull the ferrule off of the shaft by both pulling and twisting. It should not come off nor indeed have any give to it at all–it should be married to the shaft.
                                              • The tip should have radial symmetry.
                                              • The tip should be free from burrs. (There exists a special rasp or file for removing burrs.)
                                              • The tip should not be too worn down. (Ask more than one of your players–opinions vary!)
                                              1. The cue should not make any sounds when you hold it in the middle and shake it. There are weights hidden inside the handle.. if they are rattling around, consider getting glue inside there.
                                              • I’ve seen cues with missing weights.
                                              1. The cue should not wobble or jump when you lay it flat on the billiards table and roll it–though it will necessarily take a curved path, an orbit around some point beyond the tip..
                                              2. The bumper should be secure.

                                              You’ll note that my list doesn’t mention the ‘joint’.. The cues I shoot with don’t have that part–the shaft and handle are all one piece. I speculate that this ‘joint’ should be solid–that is, functionally invisible–while the cue is in use!

                                              (EDIT: fix outline)

                                              1. 1

                                                Cor! Super useful stuff there. I’m only just starting out in the world of maintenance with them, having owned them for about a decade and played regularly for 3-4 years of that.

                                                In my case we’re just retipping them, albeit not very successfully given the tip flew off second game after replacement. Also been shaping them with sandpaper but think I need a proper rasp for it possibly, getting some burrs left behind and also shaping it freehand is quite the knack it turns out.

                                          2. 2

                                            Mainly just a short overnight trip on my bike. We’re starting the Colorado trail on the 5th, so I have just enough time to pick up any last minute gear or supplies I’m missing.

                                            When I get back Sunday I want to work a little more on my project to generate sorting networks using genetic algorithms. The networks it generates right now are slow and only roughly sort data, but I have some ideas for improvement.

                                            1. 2

                                              I’ve gotta wake up for cleaning duty in my dorm on Saturday, and then Saturday night I’m going to a dance performance. Sunday, I’ll help my friend with his essay, work on my own annotated bibliography, and then hopefully (finally) get some rest.

                                              1. 2

                                                Finishing off the baseboards in my bedroom and dining room (just replaced the carpet with wood laminate). Small roof repair. Taking my wife and kids to visit my parents out on the coast tomorrow. Inlaws on Sunday.

                                                1. 1
                                                  • had laser eye surgery for a retina hole Tuesday. The eye patch scratched my eye, after suffering all night Tuesday they gave me a corneal bandage lens (contact lens) Weds and it was removed Friday at lunch. ….. Hoping to relax and get ready for work next week. It’s been a rough tossing and turning week with little rest full of complications.
                                                  1. 1

                                                    Thinking about writing some Nim and Erlang. If anyone has any weekend project ideas, comment below

                                                    1. 2

                                                      Erlang is very suitable for databases. You can try to write a small one. I tried to do this a few times in the past. I think I have always failed but I learned a lot of things.

                                                      1. 2

                                                        thanks for the idea. I did have a simple KV store in mind

                                                    2. 1

                                                      Thinking about writing some Nim and Erlang. If anyone has any weekend project ideas, comment below

                                                      1. 1

                                                        Just finished a blog post about Full Automation, probably I will do some more bugfixing on gambe.ro this afternoon.

                                                        1. 1

                                                          Do you have a link? I’d love to read the post!

                                                          1. 1

                                                            I do but it’s in italian: https://write.as/chobeat/la-piena-automazione-spiegata-al-mio-microonde

                                                            I might translate to English though, it’s very short.

                                                        2. 1

                                                          Tutoring three kids in elementary courses. Concluding quarantine for youngest child’s stomach virus. Yard and house maintenance. First session of lego robot season for oldest child.

                                                          Stretch goal: write first draft of a review of Three Body Problem trilogy.

                                                          1. 1

                                                            Programming wise, filling in some gaps in Python knowledge. We want to try to get our dev teams proficient with it to help us write better AWS lambdas and ‘DevOps’ code. C#, Java, Kotlin, Swift and JavaScript are our main language otherwise.

                                                            Recommendations on resources welcome. We will get people to dive in ‘on the job’ of course, too.

                                                            1. 1

                                                              Struggling with the Python decorator problem in 100 days of code in python day 24.

                                                              Kinda brain bending my decorator works great when it’s used once, but if you stack two decorators onto the same function (an inherently supported behavior) you get totally wrong results because for some reason the function being wrapped is getting an escaped string representation of the **kwargs being passed in.