@martijnbraam@fosstodon.org
@martijnbraam@fosstodon.org avatar

martijnbraam

@martijnbraam@fosstodon.org

Opensource software developer for OpenSwitcher. Sometimes makes some random hardware.

Slowly getting closer to being a full time FOSS developer :D

This profile is from a federated server and may be incomplete. Browse more on the original instance.

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

Writing kernel drivers is fun, I've never had to reboot my machine this often while programming...

martijnbraam,
@martijnbraam@fosstodon.org avatar

@thomas it depends on what driver you're working on I guess. Some stuff just doesn't really work with virtual machines.

you get there most of the way with modprobe/rmmod but if you cause the wrong errors in the kernel it's rebooting time anyway.

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

SCTP is HTTP2 but in the right layer of the OSI model

martijnbraam,
@martijnbraam@fosstodon.org avatar

@cobratbq we should've just put sctp in udp instead

martijnbraam,
@martijnbraam@fosstodon.org avatar

@cobratbq why not, you just slap a few bytes in front

martijnbraam,
@martijnbraam@fosstodon.org avatar
martijnbraam, to random
@martijnbraam@fosstodon.org avatar

\o/ got the USB protocol for the Blackmagic Design ATEM mini series working with the 8.6+ firmware now. For some reason they re-invented the protocol without it adding even any significant improvements...

I can now also connect to both 8.5 and 8.6 firmware devices in my software without re-installing so another point where the FOSS solution is better than the original one :D

awai, to linux
@awai@fosstodon.org avatar

Just got this little thing in the mail 😀️ (courtesy of the @risc_v DevBoard Program).

I guess I have some more upstreaming work ahead 😉️ :linux: :riscv:

#Linux #DevBoard #RISCV

martijnbraam,
@martijnbraam@fosstodon.org avatar

@awai @risc_v Powerful RISC-V SBC ever!

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

The first ThinkLight was added only 3 years after the invention of white LEDs

linmob, to linuxphones
@linmob@fosstodon.org avatar
martijnbraam,
@martijnbraam@fosstodon.org avatar

@linmob \o/

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

When you don't have the exact same build of kicad 8...

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

How to shut down Linux: run poweroff and start holding the power button at the same time to give systemd a tight deadline.

martijnbraam,
@martijnbraam@fosstodon.org avatar

@craftyguy I'm actually pretty sure it's the firmware on my laptop hanging

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

Well that took two hours... but now there's a blog post on how to create Alpine Linux installations without superuser privileges :D

https://blog.brixit.nl/bootstrapping-alpine-linux-without-root/

martijnbraam,
@martijnbraam@fosstodon.org avatar

@whynothugo oh yeah that works. That at least changes it into a one-time setup thing.

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

After a lot of debugging and testing and debugging I've managed to bootstrap and chroot into an Alpine Linux installation without the need of superuser privileges :D Now I just need to figure out how to create an ext4 filesystem without superuser privileges and put the files in it.

martijnbraam,
@martijnbraam@fosstodon.org avatar

@drewdevault I'm hoping I can get away with creating and mounting a filesystem with enough of the linux namespaces so I don't depend on a single filesystem, also to maybe get luks working. All the userspace filesystem things I've seen are pretty basic and I'm not sure if they can produce a bootable Linux system with all the metadata in the filesystem intact

martijnbraam,
@martijnbraam@fosstodon.org avatar

@hexaheximal heh no, I just want a nicer way to deploy Alpine and modifying pmbootstrap to do this trick is really hard.

martijnbraam,
@martijnbraam@fosstodon.org avatar
martijnbraam,
@martijnbraam@fosstodon.org avatar

@jakub yep, quite annoying but at least that can be automatically configured once with sudo in the tool or just preconfigured by a package manager.

There's a slight possibility that you can skip subuid/subgid by using a fuse filesystem in a mount namespace that deals with the permissions. But that is way more complex and probably has a lot worse performance.

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

Is there a good microcontroller that supports SGMII ethernet that's not an STM32?

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

Always fun when you need to drill holes in a PCB after doing all the layout... :D

quaff, to random
@quaff@mastodon.social avatar

Been evaluating , and noticed that the service uses git send-email rather than pull requests like other git services. I’m reading why this article by @martijnbraam

https://blog.brixit.nl/git-email-flow-versus-github-flow/

I’m seeing talk of force-pushing after opening a PR. Why force-push after a PR is opened? Are y’all trying to undo/edit commits? Cause that seems like just bad practice to me. If so, why aren’t you just squash merging? Maybe I’m missing something here.

martijnbraam,
@martijnbraam@fosstodon.org avatar

@quaff you squash before pushing so the commit set you're putting in the PR is exactly how it would be merged, instead of letting the code forge squash it. Code forge squashing is the most brute force just-get-my-code-in functionality there is, a lot of the time my code ends up as multiple commits in the PR that should stay seperated.

martijnbraam, to random
@martijnbraam@fosstodon.org avatar

Creating chroots without root is pretty hard

martijnbraam,
@martijnbraam@fosstodon.org avatar

@binaryphile seems like their examples conveniently skip over how /mnt/slackware-8.0 is created. Since you need device nodes in /dev in the chroot and those require root to create (before starting the chroot)

whynothugo, to random
@whynothugo@fosstodon.org avatar

@martijnbraam While discussing the slowness of pkgs.alpinelinux.org today, I remembered pkgs.postmarketos.org (which is actually a lot faster). Did you write apkbrowser just to deal with performance? I'm trying to get a clearer picture of where each one stands.

martijnbraam,
@martijnbraam@fosstodon.org avatar

@psykose @whynothugo ah yeah found the specific issue now https://gitlab.alpinelinux.org/alpine/infra/aports-turbo/-/issues/41

One day to fix, has been in the queue for more than 2 years and at the moment I asked about it in alpine-devel nobody knew a path forward.

Turns out it was 3.11 instead of 3.8 :P

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • DreamBathrooms
  • provamag3
  • modclub
  • mdbf
  • normalnudes
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • tester
  • anitta
  • cisconetworking
  • Leos
  • JUstTest
  • All magazines