@dentangle@chaos.social
@dentangle@chaos.social avatar

dentangle

@dentangle@chaos.social

#FOSS hacker. Founder of the #Librecast Project, working on improving #privacy and #decentralizing the Internet with #multicast.

Also, tractors. Has a language habit.

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

dentangle, to programming
@dentangle@chaos.social avatar

What a frustrating little bug! ๐Ÿž Fine on Linux, FreeBSD and OpenBSD - failing on NetBSD only.

I was convinced it was some weird memory ordering bug or perhaps something to do with NetBSD using gcc instead of clang. After digging through the asm and finding nothing I was tearing my beard out.

The actual problem? A usleep() in a test.

On the argument to usleep() must be less than 1,000,000ยตs. It was, in fact, exactly 1,000,000 == 1sec.

Argh!

#C

dentangle, to random
@dentangle@chaos.social avatar

Headline: "Nicola Sturgeon speaks out after Peter Murrell charged by police"

What she actually said:

"There is absolutely nothing I can say given the circumstances. I'm now going to go a walk if that alright with you. I know youโ€™ve got jobs to do but can I ask you to maybe give my neighbours some peace. There is nothing going to be happening here."

Thank goodness they bothered to report on that.

https://www.thenational.scot/news/24264987.nicola-sturgeon-speaks-following-peter-murrells-charge/

dentangle, to programming
@dentangle@chaos.social avatar

Modern Stoneage Debugging

Debuggers are great and they have their place, but never underestimate the power of simply printing "Barney was here" when tracing code.

Barney often needs some help from Wilma and Betty and his mate Fred, but if you have to bring out Dino and Bam Bam it's probably gone wrong. Maybe you should put the Flintstones away and break out that debugger now. ๐Ÿ˜‰

Important: don't forget to remove them before deploying into production.

๐Ÿฆ– + ๐Ÿง‘โ€๐Ÿ’ป => ๐Ÿ˜€

slothrop, to random
@slothrop@chaos.social avatar

deleted_by_author

  • Loading...
  • dentangle,
    @dentangle@chaos.social avatar

    @slothrop No, the code is the easy bit. The challenge is to shave enough yaks to be permitted to actually write some.

    dentangle, to FreeBSD
    @dentangle@chaos.social avatar

    Cool. recvmmsg() used to be Linux-only, but now appears to be available on all the *BSDs.

    Arrived in 7.2 (Oct 2022), and has been in since 11.0 and 7.0.

    That is going to make this next bit of code easier.

    dentangle, to random
    @dentangle@chaos.social avatar

    The Librarian has arrived...

    Warm weather. It always comes now. With the windows open to let in some air, in comes The Librarian - a wasp that first circles my head when I'm working, then spends the next 20 minutes checking out the colourful books on our shelves, before finally exiting.

    If left alone it will start building a nest behind a picture frame, or on a box and bring friends. Every year it tries.

    There's usually a hornet that comes in late afternoon too. Haven't seen it yet. ๐Ÿ

    dentangle, to random
    @dentangle@chaos.social avatar

    I keep trying to type butterfly* ๐Ÿฆ‹ and EVERY SINGLE TIME I type "buttery" instead. I think I must be missing rolls.

    • as in butterfly network - working on some router topology setup code

    https://en.wikipedia.org/wiki/Linear_network_coding#The_Butterfly_Network

    dentangle,
    @dentangle@chaos.social avatar

    I suppose I could make some. I have a tractor...

    https://www.youtube.com/watch?v=WxdIZ9IeRuk

    dentangle, to random
    @dentangle@chaos.social avatar

    Let's do it!

    dentangle,
    @dentangle@chaos.social avatar

    Let's do it!
    Let's do it,
    Do it till our hearts go boom!
    Go native,
    Creative
    Living in the living room.

    This folly
    Is jolly.
    Bend me over backwards on me Hostess trolley.
    Let's do it!
    Let's do it tonight!

    https://www.youtube.com/watch?v=uSBuPTLh8BE

    dentangle, to random
    @dentangle@chaos.social avatar

    Having now cancelled all of our streaming services, we watched something locally last night.

    No ads.

    No nagging to install updates*

    No fighting with the interface to select language and subtitles.

    No random buffering issues.

    No random disappearing of content that was available minutes before on the same IP.

    We just... watched a thing, and went to bed. ๐Ÿฝ๏ธ + ๐Ÿ“บ + ๐Ÿ›๏ธ

    Bliss.

    dentangle,
    @dentangle@chaos.social avatar
    • seriously, Amazon was getting ridiculous. It would wait until we started, then interupt the program and destroy the buffering to prompt for an update. In one show it did this 3 times. Updates to Amazon's app take at least 20 minutes.

    This has meant at least twice on a pizza night where we bake pizzas and sit down to watch a film, sitting eating for 20-30 minutes while watching an update happen.

    Never again Amazon. I'd rather sit in a darkened room than use your streaming service again.

    dentangle,
    @dentangle@chaos.social avatar

    @julian Agreed. The day we saw our first ad was the day we cancelled our subscription.

    The UX has a lot of other issues too. When a company with that much money gets it that wrong it has to be deliberate. I don't understand why they want to maximally irritate their customers or how that benefits them, but it must do. No one is that incompetent.

    dentangle, to random
    @dentangle@chaos.social avatar

    Multicast is, essentially, networking with consent.

    Only traffic that we consent to receive will be sent to us, and we can revoke that consent at any time. Multicast is opt-in.

    Conversely, unicast traffic is opt-out. We can only block unicast traffic with something like a packet filtering firewall.

    I'm trying to explain what we mean by in the @librecast project in plain language. ๐Ÿค”

    dentangle,
    @dentangle@chaos.social avatar

    @jgoerzen @librecast Our next release is coming with automatic transitional tunnelling and peer discovery, so an IPv6 connection will no longer be required. Watch this space! ๐Ÿ˜‰

    onepict, to random
    @onepict@chaos.social avatar

    @mozilla

    When will you enable full access for developers to the webcodecs API?

    I ask because this functionality has been available in chrome for years.

    We really need it, because we managed to do live streaming in the browser. Rather than having to use OBS

    Sadly it was a chrome browser.

    I'd prefer it if we could do it from Firefox.

    https://caniuse.com/webcodecs

    https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

    dentangle,
    @dentangle@chaos.social avatar

    @onepict @mozilla That will be very cool when it lands. It's always astonished me that these codecs have been in the browser for years, but inaccessible to developers, who end up reimplementing them in js or wasm

    dentangle, to FreeBSD
    @dentangle@chaos.social avatar

    After our main router/firewall died at Easter (sadly, it did not rise again), we threw a Debian laptop with an extra NIC in its place and carried on. This meant, as I hadn't spent any time configuring it, we were using our French ISP's DNS resolver.

    That lasted until I tried to access , which is apparently bloquรฉ en France! I've always run my own resolvers, so I've never come across this kind of censorship before.

    New firewall deployed with an resolver. Shields up!

    dentangle,
    @dentangle@chaos.social avatar

    Depuis le 7 mars 2021, apparement est bloquรฉ par , , et par ordre du TGI:

    https://www.whatsupdoc-lemag.fr/article/sci-hub-bloque-en-france-sur-decision-de-justice

    dentangle, to television
    @dentangle@chaos.social avatar

    Amazon Prime now putting ads in the middle of shows.

    Subscription cancelled.

    dentangle, to random
    @dentangle@chaos.social avatar

    Yak-shaving cannot, by definition, be parallelized. I forgot this, and now I'm surrounded by half a dozen half-shaved and very grumpy yaks.

    dentangle, to opensource
    @dentangle@chaos.social avatar

    Discourse
    Rhymes with Open Source
    Discord Doesn't

    Just in case, like me, you can never remember which one is

    C19LAP, to random
    @C19LAP@mastodon.world avatar

    Are you looking for a safer, collaborative, private community space for ? Please consider joining our main FB group or one of our 60 chapters, all private groups with protections and moderators to ensure a safe, accurate, supportive environment.

    https://docs.google.com/document/d/1JKlXnjp55dxnqqa6ZPjvJTf4oZxLwjv5wC_jdWCIYNY/mobilebasic

    dentangle,
    @dentangle@chaos.social avatar

    @C19LAP Promoting Facebook as a safe environment to discuss personal health is deeply irresponsible.

    FB's real name policy, combined with their long history of abusing and selling personal data (including to health insurers) puts people at risk.

    FB may be an easy place to set up a group, but it is the wrong place.

    holsta, to random
    @holsta@helvede.net avatar

    Are there any people who can tell me why mempcpy is used over, say, memcpy?

    $ ./configure --without-blake3 --without-mld
    [..]
    checking for mempcpy... no
    configure: error: required function missing

    It seems to be used in canonpath.c (grep -Rc mempcpy src).

    Are there other GNU libc dependencies (I'm porting librecast to OpenBSD) or would I be better off patching this one out?

    I'm always keen to cut down on dependencies, but oddly enough, extra so right now.

    dentangle,
    @dentangle@chaos.social avatar

    @holsta canonpath.c is derived from glibc's realpath(3) - that's the only reason. We don't use mempcpy anywhere else.

    dentangle,
    @dentangle@chaos.social avatar
    dentangle, to random
    @dentangle@chaos.social avatar

    Just declined an invitation to speak at a conference that, upon inquiry, has neither a nor a

    I'm sure they'll have no trouble filling their quota of white CIS beardy males without me.

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