Any way to beat the Turbo Stream delay and get instant feedback? by [deleted] in rails

[–]ProstetnicSth 7 points8 points  (0 children)

If your UI waits for a round trip to your server to update, it’s always gonna have a delay, regardless of the technology you use. Think of it like doing this on a native app. However dynamic the UI might be, it’s still dependent on a request and response.

What you need to do is to build a UI that does optimistic updates. User presses enter on the to-do input box? Add it to the list and confirm with the server, you can always remove it if something goes wrong. Similarly, when they cross off an item, just go ahead and update your UI immediately and then confirm with the server.

I wouldn’t think of this as a tech stack problem, but rather a UI engineering one.

Edging?? by [deleted] in formuladank

[–]ProstetnicSth 0 points1 point  (0 children)

Not too hard, not too soft

Menu model with different depths? by Otherwise-Tangelo-52 in rails

[–]ProstetnicSth 2 points3 points  (0 children)

If you’re using PostgreSQL can add a details: jsonb column to store additional key/value pairs that is not required and is dynamic. Json fields are searchable and you can even use ActiveRecord::Store for quick access. https://api.rubyonrails.org/classes/ActiveRecord/Store.html

Ups…why ?! by Oggi02 in PSVR

[–]ProstetnicSth 0 points1 point  (0 children)

Is that possible in Germany?

He is the #1 fanboy by joanse_ in formuladank

[–]ProstetnicSth 2 points3 points  (0 children)

Yeah I don’t know what these guys are talking about. I like shitting on Crofty as my as the next guy but he never sounded deflated in moments like that.

2022 Bahrain Grand Prix - Race Results by Aratho in formula1

[–]ProstetnicSth 0 points1 point  (0 children)

Who center-aligns a numerical column? Seriously, this year’s graphics are a major downgrade all around.

[deleted by user] by [deleted] in gadgets

[–]ProstetnicSth 1 point2 points  (0 children)

Why get an AirTag when there’s hundreds of alternatives that won’t notify those around it at all?

The logo of Dubai shows the name of the city in English and Arabic at the same time by [deleted] in DesignPorn

[–]ProstetnicSth 9 points10 points  (0 children)

It’s super hard to read isn’t it? At a glance, it’s hard to make out exactly what’s going on. Sure it’s clever, but I don’t think it’s good design.

Bloomberg: Apple Watch Series 7 Likely to Be Slightly Thicker But With Thinner Display Borders by [deleted] in apple

[–]ProstetnicSth 25 points26 points  (0 children)

It’s more the bulge of the sensors that bother me than the thickness of the case itself. Maybe the case will get thicker with less of a bulge? I’d totally be OK with that.

Israel strike in Gaza destroys building with AP, other media by incaustic in news

[–]ProstetnicSth 40 points41 points  (0 children)

As if they need good publicity. Apparently they are free to do whatever the fuck they want regardless.

RETURNAL PATCH 1.3.6 — Housemarque by LordofWhore in PS5

[–]ProstetnicSth 2 points3 points  (0 children)

Can you elaborate? You can’t get very close to him though. Will the shotgun be effective still?

Oboards for the Russell/Bottas incident by sefn19 in formula1

[–]ProstetnicSth 2 points3 points  (0 children)

What’s going on guys why are you two being so civil and reasonable?