Getting ready for a week-long vacation in Singapore. I can’t stand European winter anymore and I need to disconnect from all work-related stuff for a bit.
Yes, it just so happens it’s pretty warm over here this week, but it won’t stay like this for much longer, we’re going back to under-10C temperatures from Monday. No thank you, I’ll just switch continents, even for just one week. It also helps that I have 5 unused vacation days from last year, I’m so not going to allow them to expire.
Writing a demo nix lexer and parser in Rust, which will be fully compatible with Nix syntax.
I tried to use logos, but it isn’t great for this job since regex can’t parse string interpolations like "${"a"}" properly.
Maybe too far fetched, but I would really like to make it a drop in replacement for (only non-legacy) Nix. The current Nix code is a horrible mess of C++ and self implemented cgroups, namespaces and other things’ abstractions.
I want to add runtime checked optional typing too, because nobody likes Nix errors.
Are you aware of tvix? There’s also a bunch Nix parsers written in Rust out there, and at least one of them is being used by the currently recommended Nix formatter.
I’ve been wanting to get more hands on with Rust, and I’ve wanted to make a game for a long time but have always put it off because I’ve been “too busy”.
What a coincidence, I also started poking around with Rust and roguelikes.
I wasn’t sure I wanted to use the ECS that bracket-lib uses and started poking at the crossterm documentation so I could implement something else myself. It might make it harder to have a roguelike at the end, but I’ll be writing Rust either way, so I still get the main goal out of it.
Nice! I also had the same thought as you, but I think I’ll be more likely to see this through to the end if I just stick with the tutorial and use bracket-lib. Then if I want to get away from bracket-lib, I’ll try to apply what I have learned on the next project.
Do you have prior experience with Rust and/or roguelikes? I’m fairly new to both.
My copy of Shift Happens arrived on Thursday, so for the foreseeable future, I will spend every night trying to put the book down and going to sleep. Varying success so far, and I expect it’s going to get worse over the weekend.
My weekend got a slightly more interesting start than I’d hoped for - I was rushed to the hospital with a bad gallbladder attack yesterday. I’m home on temporary leave now because there’s not much to do before they can take further tests tomorrow - and then I’ll know if I have to have surgery.
0/10, can’t recommend.
Currently reading: Ben Hutchinson’s “On Purpose”.
I finished up re-reading the last of Weizenbaum’s 1976 “Computer Power and Human Reason” earlier this week; reading the last few chapters in 2024 feels sort of like “non-fiction horror”.
Update: Released from the hospital for now. I’ve been given some painkillers to keep the pain in check, but the infection itself has subsided enough that I’m not in any danger.
The gallbladder has to come out, but it’s not an emergency, so I’ll be slotted in the queue for non-emergency surgery in probably around a month or so. Until then, I have to eat a very-low-fat diet. The pain I’m currently in should subside over the next few days.
Visiting a friend for the weekend, no doubt we’ll get to talking/debugging some JS/Ruby stuff from side projects as we normally do. Got two dogs that need walking, in-between the rain showers. Hopefully get across to the coast too as it’s not far.
lld s390x patch. The documentation is difficult to find. I am currently reading “The z/Architecture Principles of Operation” (strange name for ISA manual) and “ELF Application Binary Interface s390x Supplement”
I was going to continue learning OCaml, and getting started on the two projects I want to try in that language (A JPEG XL parser and exploration tool, and a simple C compiler for demonstrating proposed features for C2y). But I’ve gotten sick, so that may have to wait until next week, and this weekend may have to be dedicated to chicken soup and movie marathons.
On Saturday, I’m going to make up for some hours at work I’ll lose due to some home repairs needing to happen today.
I’m also hoping to get an OS deployed on the new StarFive VisionFive2 board that came in this week. Gonna start with the official Debian image, then try FreeBSD. If I can get FreeBSD booting, I’ll try HardenedBSD.
I’m sick, so warm food, infusions with lots of honey, Dragon’s Dogma, and movies. Had some nice plans for the weekend and they all fell through, bugger.
I’m also trying to move my gaming PC to NixOS. Unfortunately Steam does not like the combination of wlroots and an nvidia GPU one bit, so I might have to use X11 again. Maybe I’ll spend some time tinkering with some X11 wm.
Getting ready for a week-long vacation in Singapore. I can’t stand European winter anymore and I need to disconnect from all work-related stuff for a bit.
Europe has lots of variation during winter, it barely rains in southern Europe anymore!
Yes, it just so happens it’s pretty warm over here this week, but it won’t stay like this for much longer, we’re going back to under-10C temperatures from Monday. No thank you, I’ll just switch continents, even for just one week. It also helps that I have 5 unused vacation days from last year, I’m so not going to allow them to expire.
Writing a demo nix lexer and parser in Rust, which will be fully compatible with Nix syntax.
I tried to use logos, but it isn’t great for this job since regex can’t parse string interpolations like
"${"a"}"
properly.Maybe too far fetched, but I would really like to make it a drop in replacement for (only non-legacy) Nix. The current Nix code is a horrible mess of C++ and self implemented cgroups, namespaces and other things’ abstractions.
I want to add runtime checked optional typing too, because nobody likes Nix errors.
Are you aware of tvix? There’s also a bunch Nix parsers written in Rust out there, and at least one of them is being used by the currently recommended Nix formatter.
I did not. Actually not even suprised someone started to rewrite it in Rust before me xD
Thanks for the links, I’ll look into them
Gonna work on making a roguelike following this tutorial: http://bfnightly.bracketproductions.com/
I’ve been wanting to get more hands on with Rust, and I’ve wanted to make a game for a long time but have always put it off because I’ve been “too busy”.
What a coincidence, I also started poking around with Rust and roguelikes.
I wasn’t sure I wanted to use the ECS that
bracket-lib
uses and started poking at thecrossterm
documentation so I could implement something else myself. It might make it harder to have a roguelike at the end, but I’ll be writing Rust either way, so I still get the main goal out of it.Nice! I also had the same thought as you, but I think I’ll be more likely to see this through to the end if I just stick with the tutorial and use bracket-lib. Then if I want to get away from bracket-lib, I’ll try to apply what I have learned on the next project.
Do you have prior experience with Rust and/or roguelikes? I’m fairly new to both.
Very little Rust experience; no roguelike experience, but I did do a lot of hobby game programming a few years back.
My copy of Shift Happens arrived on Thursday, so for the foreseeable future, I will spend every night trying to put the book down and going to sleep. Varying success so far, and I expect it’s going to get worse over the weekend.
My weekend got a slightly more interesting start than I’d hoped for - I was rushed to the hospital with a bad gallbladder attack yesterday. I’m home on temporary leave now because there’s not much to do before they can take further tests tomorrow - and then I’ll know if I have to have surgery.
0/10, can’t recommend.
Currently reading: Ben Hutchinson’s “On Purpose”.
I finished up re-reading the last of Weizenbaum’s 1976 “Computer Power and Human Reason” earlier this week; reading the last few chapters in 2024 feels sort of like “non-fiction horror”.
Yikes, that’s scary! Best wishes for a speedy and complete treatment and recovery!
Update: Released from the hospital for now. I’ve been given some painkillers to keep the pain in check, but the infection itself has subsided enough that I’m not in any danger.
The gallbladder has to come out, but it’s not an emergency, so I’ll be slotted in the queue for non-emergency surgery in probably around a month or so. Until then, I have to eat a very-low-fat diet. The pain I’m currently in should subside over the next few days.
Building a Flarum forum browser into elinks using the Python script support.
Visiting a friend for the weekend, no doubt we’ll get to talking/debugging some JS/Ruby stuff from side projects as we normally do. Got two dogs that need walking, in-between the rain showers. Hopefully get across to the coast too as it’s not far.
I need to study some ABI stuff and review some lld patches.
I was going to continue learning OCaml, and getting started on the two projects I want to try in that language (A JPEG XL parser and exploration tool, and a simple C compiler for demonstrating proposed features for C2y). But I’ve gotten sick, so that may have to wait until next week, and this weekend may have to be dedicated to chicken soup and movie marathons.
On Saturday, I’m going to make up for some hours at work I’ll lose due to some home repairs needing to happen today.
I’m also hoping to get an OS deployed on the new StarFive VisionFive2 board that came in this week. Gonna start with the official Debian image, then try FreeBSD. If I can get FreeBSD booting, I’ll try HardenedBSD.
I’m sick, so warm food, infusions with lots of honey, Dragon’s Dogma, and movies. Had some nice plans for the weekend and they all fell through, bugger.
I’m also trying to move my gaming PC to NixOS. Unfortunately Steam does not like the combination of wlroots and an nvidia GPU one bit, so I might have to use X11 again. Maybe I’ll spend some time tinkering with some X11 wm.
I’m going to debug why the NVidia kernel module stopped loading on my Macbook after it’s last kernel upgrade.
I also might try writing a Pente game in Common Lisp.
Hammering away at some songs in FamiStudio. I’m a bit ahead on some projects, so I might rest a little this weekend. Revision 2024 is close at hand…..
Carnival.
[Comment removed by author]