HackerTrans
TopNewTrendsCommentsPastAskShowJobs

baskind

143 karmajoined há 13 anos

Submissions

New Heroku Postgres Essential Plans Built on Amazon Aurora

blog.heroku.com
3 points·by baskind·há 2 anos·0 comments

The Disappearing Computer: Exclusive Preview of Humane’s Screenless Tech

youtube.com
4 points·by baskind·há 3 anos·0 comments

Building for Web and Native with Elixir LiveView Native

natetodd.com
3 points·by baskind·há 4 anos·0 comments

Milkweed Butterflies Are More Murderous Than They Look

nytimes.com
1 points·by baskind·há 5 anos·1 comments

comments

baskind
·há 2 anos·discuss
Here you go. Opens end of the week and over the weekend: https://maps.app.goo.gl/v3HFoRTtUPoug8yq8?g_st=com.google.ma...
baskind
·há 2 anos·discuss
I have the same view of an app implemented with Rails+Turbo and a duplicate in Elixir+LiveView.

Performance is comparable when I am close to the server (elixir is slightly faster), but when on another continent any content changes/navigation over websockets suddenly feel very laggy, while navigation over HTTP in the supposedly slower Ruby+Rails is actually consistently fast.

I’ve only recently discovered this as I went travelling to another continent, so will do more perf testing.

But the nature of the always-connected websockets hasn’t been a pleasurable one for me: for instance, a LiveView process crashes and you lose all the data in a big form, unless you write glue code for it to restore. And the experience of seeing the topbar getting stuck in the loading state the second your internet connection is spotty or if you are offline just gives me anxiety as a user.
baskind
·há 2 anos·discuss
Nice solution!

In my app, I use reusable Stimulus controllers alongside LiveView, and it works seamlessly as well.

On a general note, while it's a pleasure to build with LiveView, the more I use it in real-life scenarios, the more I realize the benefits of stateless HTTP frameworks like Hotwire, which feel more performant and resilient to reconnections, and avoid the need to place more servers close to users for stability.
baskind
·há 3 anos·discuss
Buying books doesn’t imply reading them (talking from personal experience)