Show more

How to stop me trying your new programming language. 

> If you haven't already, please join the channel on Slack. Once you're logged in, this Slack post gives the (very brief and simple) install instructions.

Anyone in the Netherlands like or dislike their internet service provider?

(I'm moving house and trying to choose a provider.) I'm currently thinking xs4all.

Had a problem with the resin getting stuck and curing between the supports. Nothing that can't be fixed with sanding.
I'll space them a bit more next time to allow it to flow out.

Needs some sanding to get it all to fit, but seems like it will actually be sturdy enough to work.

day_09

Sometimes the instructions are really unclear / open to interpretation, but you need to follow the precise behavior to get the right output.

All my tests passed on this one, but my input failed, and it took me ages to figure out why. Even when I figured it out, and read all previous days instructions, I couldn't really see why it should be that way..

Oh well.

I also spent a while moving my intcode computer into a library:

git.sr.ht/~george_/advent_of_c

day 07

Wasted a lot of time trying to shoe-horn a solution into my previous looping api. Managed to get part 1 to work with it, but things went a lot smoother after I abandoned it for part 2.

git.sr.ht/~george_/advent_of_c

Day 05

Playing catch up today, as I was tired or busy the last couple of evenings.

My over-complication of day 2 spilled over into this one:

git.sr.ht/~george_/advent_of_c

IntCodeComputer::boot(&instructions)
.on(Event::ChangeValue, |c| {
if let Some(v) = c.value {
println!("Output: {}", v)
}
})
.loop_for(vec![1, 5])
.execute()
.run();

Day 4 of #AdventOfCode (spoilers) 

I spent the evening trying to implement an overlapping .chunks(n), but gave up and just made an overlapping .chunks(2). I was over it at this point so in part 2 I just phoned it in. (I'm mostly trying to learn better, rather than just solve the puzzles)

git.sr.ht/~george_/advent_of_c

Looking at @wezm 's solution, I learnt about doc.rust-lang.org/std/primitiv . I'll probably go look at the implementation tomorrow to see where I was going wrong.

day 3

git.sr.ht/~george_/advent_of_c

Not much to say about this one, except I over engineered it again. Think I'll try and pair it back tomorrow.

My day 2 is rather over-engineered, and I just brute-forced part 2.

git.sr.ht/~george_/advent_of_c

I'd love a critique from anyone who actually knows .

Looking forward to looking at other peoples solutions / seeing what the non-brute-forced solution is.

George boosted

Anyone here into automating food production? I just finished up a practical 3D printed prototype of a mediumless microgreen grow bed. It’s all open source and up at bit.ly/2qMu6OM and I could use help. I am getting ready to scale things up.

A handy usage of this

Go to video site -> ctrl+l -> mod+shift+l -> mod+shift+space

Quick pip!

Show thread

I added a couple new commands to my config today, that allows me to launch a copied or selected url as a chromium app:

bindsym $mod+l exec --no-startup-id chromium --app="$(wl-paste)"

bindsym $mod+Shift+l exec --no-startup-id chromium --app="$(wl-paste -p)"

I hadn't really thought about using the clipboard / selection in commands before. Wonder what else it could be used for. Maybe note taking.

Okay, beefed up a few measurements and added more supports. Hopefully this one will go better.

Show thread

Well that print failed entirely. Might as well test out my new curing lamp. Back to the CAD.

Show thread
Show more
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.