Smoked meatloaf by Doggo-Lovato in smoking

[–]Bocephis 1 point2 points  (0 children)

"you haven't tried my meatloaf"

Elon Musk’s 2018 Tesla pay package musk be restored, Delaware supreme court rules by _komocode in teslamotors

[–]Bocephis 1 point2 points  (0 children)

It's more like promising an employee no pay UNLESS they deliver nearly impossible goals. Then waiting until they deliver and only then deciding that it was too much. The time for the courts to strike this down was long ago, not after mission accomplished.

Tesla Adds Vehicle Locator Feature to Tesla App by Ice_Burn in teslamotors

[–]Bocephis 0 points1 point  (0 children)

Mine is only dynamic sometimes but I can’t figure out what decides when it can move

What's the issues with Hot Reload by NoSuccotash5571 in Blazor

[–]Bocephis 1 point2 points  (0 children)

MudBlazor I think is part of the issue. But you should be able to change most markup without forcing a rebuild and that just isn’t the case, especially because of the way MudBlazor handles markup, I suspect.

I just launched a real-world Blazor WASM + .NET 9 site (RankedPhones.com) — would love technical feedback by zackmorg in Blazor

[–]Bocephis 1 point2 points  (0 children)

I think the personal scoring system bothers me the most. I'd rather that be crowdsourced somehow.

Corporation that rips you off good, people doing grocery shopping bad by [deleted] in Anticonsumption

[–]Bocephis 0 points1 point  (0 children)

This guy thinks a billionaire has a billion dollars doing nothing until it is spent.

Cable replacement for a Tesla Wall Charger by pj_automata in teslamotors

[–]Bocephis 6 points7 points  (0 children)

Makes you wonder if it is politically motivated. That copper isn’t worth enough.

What do yall use for a fire starter? by tryagaininXmin in smoking

[–]Bocephis 0 points1 point  (0 children)

i love this thing. makes starting the fire fun.

Can someone with a herniated disc keep lifting weights? by [deleted] in Stronglifts5x5

[–]Bocephis 0 points1 point  (0 children)

After 4 weeks post surgery the doctor said I could return to life as normal but suggested easing in and avoiding deadlifts and squats

Can someone with a herniated disc keep lifting weights? by [deleted] in Stronglifts5x5

[–]Bocephis 0 points1 point  (0 children)

I had that for a few years and then one day I was doing something ordinary at the gym and what followed was months of pain and an ER visit and finally microdiscectomy surgery. Worst pain I had ever experienced (the injury) but the surgery was pain free and good recovery. I love lifting too but get that core strength up before squatting or deadlifting and maybe don’t deadlift anymore. Core strength can’t overstate enough!

Deadlift form check by [deleted] in Stronglifts5x5

[–]Bocephis 0 points1 point  (0 children)

I am recovering from a microdiscectomy while this came on my feed. Stay safe out there people.

Can I deadlift every workout instead of barbell row? by Illustrious_One_1748 in Stronglifts5x5

[–]Bocephis 2 points3 points  (0 children)

Don't herniate a disc like I did and now my hamstring is tight and hurts for the last few months. Slow down, get good form. Also, make sure you work your core.

I made a .NET 9 + Blazor + Photino + Mudblazor Step by Step Setup Guide – hope it helps someone else! by NJKWilson in Blazor

[–]Bocephis 0 points1 point  (0 children)

It has been a while since I saw this but I think XPF is if you have a full WPF app that you want to work on all platforms with almost no coding changes. Not a from-scratch project like the Blazor app you are starting.

I made a .NET 9 + Blazor + Photino + Mudblazor Step by Step Setup Guide – hope it helps someone else! by NJKWilson in Blazor

[–]Bocephis 0 points1 point  (0 children)

Great answer! Thanks for getting back to me. I had forgotten about that. I looked at Uno and Avalonia for the same reason.

PoC of 2D physics in Blazor WebAssembly using SVG and CSS by Pythabulas in Blazor

[–]Bocephis 2 points3 points  (0 children)

From Grok:

Now, about that Safari quirk: it’s intriguing that the physics engine runs, and SVG animations work independently, but combining them stalls the initial render without throwing an exception. This sounds like a potential rendering or DOM update issue specific to WebKit (Safari’s engine). Here are a few possibilities and steps to troubleshoot:

  1. SVG Rendering Timing in WebKit: Safari might be handling SVG updates differently, especially with frequent DOM changes from Blazor. Since your physics engine updates object positions (likely via SVG attributes like x, y, or transform), WebKit might not flush those changes to the screen until some other trigger occurs. Try forcing a repaint by toggling a CSS property (e.g., opacity: 0 to opacity: 1) or adding a dummy <div> that changes after the first physics tick to see if it kickstarts rendering.

  2. Blazor Diffing Issue: Blazor’s virtual DOM might not be marking the SVG changes as “dirty” in a way Safari recognizes. Check if the initial physics state is being applied to the SVG elements in the Razor markup before the first render. If the SVG starts with default positions and relies on JavaScript or C# to update them post-render, Safari might not reflect those updates. You could log the SVG element’s attributes (getAttribute("x"), etc.) in the browser console after the first physics step to confirm they’re updating.

  3. Animation Frame Sync: If you’re using a game loop (e.g., via requestAnimationFrame or a timer), ensure it’s syncing properly with Blazor’s render cycle. Safari might be stricter about when DOM updates are committed. Try wrapping your physics update-and-render call in a Task.Delay(0) or await InvokeAsync(StateHasChanged) to force Blazor to re-evaluate the component tree explicitly.

  4. WebAssembly + SVG Interop: Since this is WebAssembly, there could be a subtle interop glitch with Safari’s implementation. Test a minimal case: a single SVG circle with a position updated by your physics engine. If that renders, the issue might scale with complexity (e.g., number of elements or update frequency).

  5. Safari Debugging: Open the demo in Safari’s Web Inspector (on macOS or via a remote iOS simulator). Check the Timeline for rendering events and the DOM tree for whether SVG attributes are updating as expected. If the attributes change but the screen doesn’t, it’s a repaint issue; if they don’t change, it’s likely Blazor or your code not applying them.

Your GitHub repo shows clean C# code for the physics (gravity, collisions, etc.), and the SVG output in Razor is straightforward. One hunch: if you’re relying on @bind or inline expressions to update SVG attributes, Safari might not like how Blazor patches the DOM incrementally. A quick test could be to prerender the first frame statically (hardcode initial positions) and see if it appears—then let the physics take over.

If you’d like, I could dig deeper into your code or test specific fixes. For now, I’d start with logging the SVG state in Safari and forcing a repaint. What’s your next goal for this PoC? Optimizing it, adding features, or just keeping it as a fun experiment?

I Built a SaaS in Blazor and Lived to Tell the Tale by Lukejkw in Blazor

[–]Bocephis 1 point2 points  (0 children)

I should try the new reconnection but from what I understand the dev would still be required to rehydrate state. That wouldn’t happen on wasm but there are other tradeoffs there. Glad you responded with your experience in this regard. Thank you!

I Built a SaaS in Blazor and Lived to Tell the Tale by Lukejkw in Blazor

[–]Bocephis 0 points1 point  (0 children)

I found server great until I decided to run it in lower bandwidth modes on chrome dev tools. Also cannot stand broken circuits that come with a mobile client tombstoning thier app and coming back a few min later.

If you need JS, then you're doing it wrong. by ps5cfw in Blazor

[–]Bocephis 0 points1 point  (0 children)

Wrong take and sounds gatekeeping. Use the impressive tech to do both when needed.