George boosted
Question for the hardware folks around here: what's the correct term for these kinds of rigid-but-bent PCBs? Any good link/reference about those?

How do you manufacture them?
bent-rigid-pcb.jpg
George boosted

Does anyone know about network cables?

I want to move my router to the other side of my flat so I'd like to run a cable (about 25m) through the walls and move the access point.

I'm having trouble figuring out what type of cable it is.

It seems to have 5 strands and go to the DSL port on the router.

Looking at "DSL" cable online, it only has 4 strands. But looking at ethernet cable, it seems to have 8 strands. Maybe the gray strand isn't needed?

What kind of cable should I buy?

Managed to fix it by telling Firefox to use Wayland. (MOZ_ENABLE_WAYLAND=1).

Still no idea why plugging a screen in cause it to happen in the first place.

Show thread

More details:

Arch Linux (all up to date)
Sway 1.4 (Wayland)
Firefox 72.0.2
Intel onboard graphics

-------

Firefox is backed by XWayland

-------

It's not just video that has the issue, scrolling a fullscreened Firefox also has artifacts.

Show thread

I have an odd issue.

I recently bought a new monitor, and plugged my laptop into it. I played a video in full screen, and got some glitches. It's a pretty big, so I thought the onboard graphics couldn't handle it.

However, having detached from the screen, I still get graphical issues (on the built in panel). It only seems to effect full screen Firefox. VLC and chromium are unaffected, and not full screen videos are fine.

I've no idea how to fix this. Any ideas?

How to stop me trying your new programming language. 

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) 

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.

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.