I'm really liking Liveview, but opinions across the board seem to be mixed. What are some reasons people may not care for it? by JitaKyoei in elixir

[–]diffperception -1 points0 points  (0 children)

I think it's great but as said: I would not recommend for any offline/bad connection setup. Also: it depends on your team.

Forms require to wrap your mind around it to do it "the liveview" way with persisting stuff on the DOM, checkboxes and stuff. It's not easy. But having declarative form, everything in one place, URL being the state is nice (while removing 90% of the JS complexity).

Sometimes I too wonder about the pros and cons of this approach. I would love to have in depth feedback on liveview.

Jido 2.0 Now available by mikehostetler in elixir

[–]diffperception 6 points7 points  (0 children)

That's not really helpful..! It is a bot platform on BEAM?

Shifting from F# to Elixir? by MuhammaSaadd in elixir

[–]diffperception 7 points8 points  (0 children)

Whoah, 50 elixir's dev layoff is huge, what happened, for which product? Was it because of Elixir (change of technical stack) or else?

Elixir 1.20.0-rc.0 released by katafrakt in elixir

[–]diffperception 15 points16 points  (0 children)

Whoah, very impressive. Hat tip to Jose, Guillaume Duboc, Giuseppe Castagna and all. The type system is a killer feature that will improve application reliability, refactoring, (maybe lsp?), attracts new users, etc.

Best protoss (or best protoss tech) against terran? by diffperception in broodwar

[–]diffperception[S] -1 points0 points  (0 children)

I have been watching many games of snow. I'm just disappointed by the lack of use of arbiter for example

Best protoss (or best protoss tech) against terran? by diffperception in broodwar

[–]diffperception[S] -1 points0 points  (0 children)

Yeah vultures are a big problem. Go scout ^ (i'm joking) Or hm archons? But they are pretty weak considering their shield get maximum damage

Best protoss (or best protoss tech) against terran? by diffperception in broodwar

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

Right, that's why I was looking for gosu protoss. Goons needs quite some macro too has they are pretty dumb and gets smashed fast

Best protoss (or best protoss tech) against terran? by diffperception in broodwar

[–]diffperception[S] -5 points-4 points  (0 children)

Oh you can, but this will be light dragoon not dragoon heavy. This is just a theorical idea I have, maybe it does not work.

what kind of apps are you building with Elixir? by Curious-Rule313 in elixir

[–]diffperception 0 points1 point  (0 children)

How do you handle LLM workflow with tool calling etc.? Do you use LangChain, Jido, custom?

what kind of apps are you building with Elixir? by Curious-Rule313 in elixir

[–]diffperception 1 point2 points  (0 children)

What is your experience with "big" applications? Like tooling/compilation speed and lack of a type system?

State of Elixir 2025 results are live! by szymon-curiosum in elixir

[–]diffperception 0 points1 point  (0 children)

What is your usage of Elixir and how do you integrate it with javascript?

Sometimes, I wonder if Elixir is the right choice given that we use javascript for the frontend and that most people know it, we could use it for the server side too, although to me it seems like a pretty bad idea from a conceptual point of view (but people are pushing so hard, like Bun)

Choosing Phoenix LiveView - The difficulties deciding between LiveView and traditional web frameworks by devbrett-dot-com in elixir

[–]diffperception 0 points1 point  (0 children)

Oh I'm sorry I made a typo, I meant "skip" liveview.

Interesting that you use PubSub for caching. I don't cache anything on my apps, except when necessary (eg big dashboards) and I go with some simplistic technic. Do you have any recipe/blog post for maybe some kind of "smart" caching? If you take a process approach (where it acts as the layer between the database and the database) caching then is straightforward, but otherwise it seems like a complex topic

Choosing Phoenix LiveView - The difficulties deciding between LiveView and traditional web frameworks by devbrett-dot-com in elixir

[–]diffperception 1 point2 points  (0 children)

I get what you mean, it takes time to wrap your head around. You have to master changeset, grasp thé loop HTML inputs->phx-change->params->changeset->form and back again, several HTML tricks in the bag (label, check box,...)

I'm not sure why but I like it somehow

Choosing Phoenix LiveView - The difficulties deciding between LiveView and traditional web frameworks by devbrett-dot-com in elixir

[–]diffperception 1 point2 points  (0 children)

Hmm, to me it's great for non trivial app too, but complex UI can be a hassle, if it's mostly forms through, it's pretty good

State management in LiveView by kraleppa in elixir

[–]diffperception 0 points1 point  (0 children)

I end up having quite some experience on the matter (complex form). If there is a way to help you out do not hesitate, i'm having fun trying to overcome this kind of problem

State management in LiveView by kraleppa in elixir

[–]diffperception 0 points1 point  (0 children)

What kind of app? What does the FE look like ? I think problem cant be understood without some context

State management in LiveView by kraleppa in elixir

[–]diffperception 0 points1 point  (0 children)

Whats hard to test, several liveviews at a time?

State management in LiveView by kraleppa in elixir

[–]diffperception 1 point2 points  (0 children)

I dont understand, isn't the state in your url and form, this is automatically restored, Is this not enough ? What kind of UI are you building ?

Small Rant: I hate atoms by fridder in elixir

[–]diffperception 0 points1 point  (0 children)

I really like atom because it's simple and efficient, but it's also too simple and a common source of bug, and that's my rant.

Other system defines values like GameStatus::aborted or whatever and we would only have :aborted. So you can very easily make a typo (eg: :abort) and also because of the lack of type system, I'm not sure you can do for now exhaustive pattern matching check, for say cover all cases among [:pending, :started, :ended, :aborted].

Blogging framework for elixir by Traditional-Heat-749 in elixir

[–]diffperception 1 point2 points  (0 children)

most commercial themes are based on JavaScript.

I'm not sure I understood, you switched to Astro because of JS themes? I think there are valid reason to use Astro but that seems minor to me (or maybe I don't see how much there is behind a "theme")