Well, this time it took 4 minutes and produced 10MB of error output, so I think that means I fixed my bug but have one more. What a slow iteration speed.
It's giving C++ a solid run for its money here. I didn't even have to use templates or metaprogramming or whatever, just passed an int to a function that takes a string
I'll try to actually use some types and contracts for later ones. I haven't written any nickel at all before. This is an excuse to learn nickel. I should try and make myself learn the actually interesting features of nickel
I've been saying I'll do advent of code in nickel this year. We'll see if I actually manage all the days.
Anyway, day1 is a gimme:
https://github.com/euank/advent-of-nickel-2022/blob/a78077f5/day01/default.ncl
Learnings so far:
1. Using the nickel in nixpkgs gave me an 'array.sort' that did not in fact sort arrays. nickel built from master solved that
2. sorting ~240 numbers takes nickel 2s (>100s before updating)... this does not bode well for nickel being able to do the later numerical problems.
Looking at the list of prohibited items this moving company sent me:
> Items that cannot be shipped
> Documents/Books - Pornography and Political Documents
No political books, I bet that's easy to determine.
> Others - ... • Drugs • Large quantities of drugs
Seems redundant to have both those bullet points, but at least that seems easier to define.
mildly indecent language
also, I uh.. I did not expect an example sentence like this from such a totally innocent google search. The result at the bottom of the image.
> Cruces, the formal plural of crux
https://en.wikipedia.org/wiki/Cruces
... sorry, what, _formal_ plural?
Like if you're at a fancy party you have to say "You see, the cruces of the matter are X and Y", but on the street you can just say "The cruxes are.."?
It's been another 6 months, the intervals are getting shorter!
I might actually be back for real!
Except also my life is going to be hectic with moving for the next ~month-ish. Does that mean no time to post? Does that mean stress-posting? Dear follower, if you don't click the unfollow button, we can find out together
I can't decide if I want to write down this thing that isn't on the internet for all to share in, or pass it along by word of mouth only for as long as possible.
Both seem appropriate.
I played a card game with my family called "Sergeant Major" growing up. Years later, I've finally googled this game, and there's definitely a game by that name, but what we played is *not that*.
I could not google-fu my way to a single card game that matches what we played.
I find it so cool and weird that I know a card game rare enough I can't find it online.
Wobscale.social had a redis aof file corruption, which also brought down sidekiq. Your timeline might be missing some things while sidekiq catches up.
tbqh, I'm not sure if it will result in anything being missed or not.
I apologize for the issues, and intend to dig a bit more into how the initial corruption happened.
This is the weirdest pkg-config invocation I've seen: https://github.com/dgrunwald/rust-cpython/blob/0.1.0/python3-sys/build.rs#L278-L282
Yes, I'm reading that code because it didn't work in some case