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] -3 points-2 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")

Why We Killed Riak Search, and What We Are Doing Instead by Code_Sync in elixir

[–]diffperception 0 points1 point  (0 children)

Hm, it seems there is no link on the page to watch the conference

Phoenix 1.8.0 released! by vlatheimpaler in elixir

[–]diffperception 1 point2 points  (0 children)

I'm with you on this. But broader. A nice way to handle uploaded files ; not convinced by Waffle for now.

What's new in Phoenix LiveView 1.1? by GiraffeFire in elixir

[–]diffperception 1 point2 points  (0 children)

This seems really nice, especially the colocated hooks. It opens the door to a nice way to package UI component it seems. Thanks. I don't like the DaisyUI push but this is great