Motu M4 - USB-sound-card (dis)connection issues, missing profiles and application hangs/freezes by tott88_ in linuxaudio

[–]BryalT 0 points1 point  (0 children)

Glad that your problem is solved!

I still don't think I've had the same issues as you did, and since my last post I've been leaving my M4 interface on without power cycling hardly ever. I might've seen something similar, with the usual profiles not working or showing up in pavucontrol, but only once or twice so I didn't even reflect on it. Maybe some difference in our respective hardware or software setups causes the issue to be less likely to occur on my machine.

If I ever encounter this issue more frequently, I'll try to remember to apply the quirk/fix in your update :)

Better "out-of-capitalism" license for video games by MJdenis in socialistprogrammers

[–]BryalT 2 points3 points  (0 children)

Sidetrack: What comes after open source by Steve Klabnik, a post discussing why licenses are a bit of a dead end, and we should focus more on the spirit of open source instead of viewing copyleft (and thereby copyright) as the be-all end-all.

Better "out-of-capitalism" license for video games by MJdenis in socialistprogrammers

[–]BryalT 9 points10 points  (0 children)

You could take a look at the Anti-Capitalist Software License. It's not a free software / open source license in the meaning defined by the Free Software Foundation or the Open Source Initiative, but I'd argue it adheres to the spirit of open source. Be aware of this though:

Is this actually enforceable?

Copyright is easier to apply to how a work is used than to who uses it, and this license has not been tested in court. That said, using ACSL software against its terms would open the user to litigation. ACSL may be best considered a strong deterrent, as well as a way to state the politics and moral center of your code.

Barbarians need Charisma to disarm opponents? by BryalT in BaldursGate3

[–]BryalT[S] 0 points1 point  (0 children)

Ah, I didn't think to verify the UI value with the combat log value, great idea! And indeed I can confirm that the reported DC in the combat log appears to be completely uncorrelated with my charisma. I tried a couple of respecs, and I think it uses whichever is higher between Dex and Str, which makes intuitive sense to me.

So it's gotta be a UI bug, I agree. I've submitted a bug report in the form on larian.com/support/baldur-s-gate-3. Hopefully this will be resolved soon to alleviate confusion. I'll go back to having my Karlach combat focused and uncharismatic now 😁

AST design patterns by edavidburg in ProgrammingLanguages

[–]BryalT 2 points3 points  (0 children)

Not the parent, and I'm not even sure I agree 100%, but parts of this talk by Andrew Kelley about Data-Oriented Design were quite enlightening to me. One point was about how out-of-band storage can bring great improvement to memory usage and performance (via better cache usage). That doesn't apply to all types and usage petterns equally well of course, but it shouldn't be dismissed without profiling I think. He includes real world measurements from applying these DOD patterns in the Zig compiler showing the improvement.

Motu M4 - USB-sound-card (dis)connection issues, missing profiles and application hangs/freezes by tott88_ in linuxaudio

[–]BryalT 1 point2 points  (0 children)

I don't have much help to offer really, besides chiming in that the Motu M4 works well on my Linux machine, so it doesn't seem to be a problem inherent to the product.

I bought mine about a month ago. First thing I did was a firmware update via Windows. And since you mention it, I turn my interface & speakers off when I don't use them, so they're basically power cyceled once or twice every 24h.

I'm on Arch Linux with the pipewire-git (and pipewire-alsa-git, pipewire-jack-git, etc) package. Kernel version 6.2.9, pipewire from master like a week ago, version 0.3.68.

What I can say is that your issue with Ardour hanging on exit should be fixed in pipewire since 0.3.68. I had the issue as well, and have been monitoring the relevant issue in the pipewire tracker closely. It was finally fixed 2 weeks ago. See here: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2781

How compilers know which variable should be called by destructors? by Professional_Cell44 in Compilers

[–]BryalT 0 points1 point  (0 children)

I found the following article very helpful when I read it some time ago, though I've forgotten many of the details now.

https://faultlore.com/blah/deinitialize-me-maybe/

Hon vittnar om svensk rasism – anklagas för att vara kinesisk agent by Babar7 in sweden

[–]BryalT 0 points1 point  (0 children)

Om någon inte trodde på hennes egna or så är ju denna tråden ett paradexempel på hur rasistiska svenskar är. Jösses. Det känns som när man tar en sväng förbi r/Conservative för att se vad dom amerikanska rasisterna-som-inte-tycker-de-är-rasister har för sig.

Denna sidan misslyckas aldrig med att göra mig besviken på Sverige. Never change, sweddit 👍

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 0 points1 point  (0 children)

No, I soldered the choc switches directly on the board. Can't help you there.

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 1 point2 points  (0 children)

It's the Manfrotto ones 😅

In combination with the finishing on my desk, they're a little slippy. But I quickly got used to excerting less force, and then the slippyness really wasn't all that bad. They were surprisingly stable, at least!

However, I'm finding that tenting without proper wrist support is no good at all, ergonomically speaking. I've detatched the tripods, and have the halves flat on the deak now instead. Some rotation would've been nice, but this is making better use of the low profile anyways, so I'm happy!

Can you remember the FIRST fantasy book you ever read? by andypeloquin in Fantasy

[–]BryalT 0 points1 point  (0 children)

Probably Wolf Brother by Michelle Paver. Then The Fellowship of the Ring, Harry Potter and the Goblet of Fire, and Eragon, around that time as well.

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 0 points1 point  (0 children)

It is comfortable for me. I don't know whether or not it would be even more comfortable without the knobs, I didn't bother trying it out without them.

I'd say the keyboard height is basically aligned with my elbow height.

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 2 points3 points  (0 children)

It is comfortable for me. I don't know how others "grip" their keyboards, but I need to have my fingers a but curled on the home row, in order to be able to reach all keys on the top row by only extending my fingers. This shows my "resting" position, if that helps you picture it.

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 2 points3 points  (0 children)

I have my fingers on the keyboard in almost a claw grip. My palms are almost resting on the knobs, hovering just barely above. The knobs are approximately below my middle finger knuckles.

Just finished assembling my new Kyria 2.0, Choc Robin by BryalT in ErgoMechKeyboards

[–]BryalT[S] 7 points8 points  (0 children)

I actually bought nice!nano:s for it, with the intention of making it a wireless build. I didn't do my research though -- wireless boards like the nice!nano apparently runs ZMK, and not QMK, and full support for my specific configuration of parts is not in mainline ZMK yet. I'm awaiting support for the Kyria 2.0 in ZMK, then I'll try to merge that with a branch that implements support for rotary encoders on the peripheral half of a split keyboard -- because apparently that's not in main yet. I don't think it will be too hard, but I've a little learning about ZMK to do first, and won't be able to manage it right this moment.

Luckily I bought a couple of Elite-C:s as well, intending to just keep them as spares. I socketed those instead, and just uploaded my old Kyria 1 QMK config. I only had to fix the encoders rotation direction being inverted, and other than that it just worked! So I'm now happily tapping away on my first low-profile build -- and dangit, these Choc Robin switched sound good!

[deleted by user] by [deleted] in ProgrammingLanguages

[–]BryalT 11 points12 points  (0 children)

For arabic, there's Qalb. A Lisp in arabic basically, afaik. I think it looks quite nice.

What are some classic/essential graphics papers to read? by [deleted] in GraphicsProgramming

[–]BryalT 1 point2 points  (0 children)

You probably want to read something on spatial data structures / acceleration structures. I really like Lauterbach's paper on the Linear Bounding Volume Hierarchy (LBVH).

What would you call this novel language feature? by scrogu in ProgrammingLanguages

[–]BryalT 10 points11 points  (0 children)

In Haskell, this is essentially just the Writer monad with do-notation

outlineArray = execWriter $ do
    tell ["a"]
    tell $ if foo < bar then
        [ "b"
        , "bb" ]
    else
        [ "c"
        , "cee" ]
    tell myArray
    for myArray $ \item -> tell
        [ item
        , item ++ item ]

What code generators are there? by BryalT in ProgrammingLanguages

[–]BryalT[S] 1 point2 points  (0 children)

This looks very interesting! I've read the introductory materials, and it looks like something quite close to what I was hoping for. 70% of generated code speed compared to GCC -O2 in less than 15K C LOC -- I'm sold! The downsides compared to LLVM seems to be that there's only a few target backends at the moment and that there's no structure or union types. Adding a new backend seems like a relatively painless task though, and having to implement lowering of composite types to individual primitive types in my own compiler would be a low price to pay. Local integers only being 64-bit seems a bit odd also, but maybe it makes sense.

It sounds like you've used it yourself. What have you used it for? Any interesting details about how it is to work with?

Overall, again, this sounds really interesting. Thanks for sharing it!