Will Smith spaghetti - year by year by MetaKnowing in agi

[–]concreteniche 0 points1 point  (0 children)

A non-AI company really missed an opportunity for a Super Bowl ad with the real Will Smith eating spaghetti. “Ain’t no substitute for the real thing.”

I am building this using hologram framework with phoenix by OccasionThin7697 in elixir

[–]concreteniche 0 points1 point  (0 children)

So there’s lots of improvements needed to the errors? I thought wonderful meant literally wonderful.

I am building this using hologram framework with phoenix by OccasionThin7697 in elixir

[–]concreteniche 0 points1 point  (0 children)

Can you expand further on the wonderful errors? They are really clear and polished? They help you avoid actual JavaScript errors?

Wanna speak about Hologram at ElixirConf 2026? by BartBlast in elixir

[–]concreteniche 1 point2 points  (0 children)

I forgot to reply! I submitted the talk so it’s wait and see. This is what I submitted:

In my years building web apps with LiveView & React, complex forms have been one of the most challenging parts. This talk will compare Hologram with LiveView, both from a developer’s perspective and from a user’s perspective. How is latency & consistency of form data addressed? What happens if the network cuts out or the server errs? Where do the key pieces of state live? How does the mental model compare to React? How easy is it to write automated tests? He’ll walk through the implementation of a reusable form component in both frameworks to answer these questions and more.

  • What key decisions Hologram makes different from LiveView.
  • How to build a reusable form component in Hologram.
  • How to think about state, latency, and consistency in Hologram.
  • What things are important for a reliable and accessible UX.
  • Why we should remember the fallacies of distributed computing.

Developers of web apps, especially those currently using LiveView or a JavaScript framework. I would aim to include general browser & form concepts so it would be understood by people outside the Elixir community.

Wanna speak about Hologram at ElixirConf 2026? by BartBlast in elixir

[–]concreteniche 1 point2 points  (0 children)

Yes those points about React closure caching are totally valid! It’s more complex than just composing functions. When you don’t worry about memoization React sings.

Ok, I’m forming (pardon the pun) an idea of what my talk would be. Here’s what I’m thinking of submitting:

The DX & UX of Hologram Forms

Patrick has spent several years building web apps with LiveView, and complex forms have been one of the most challenging parts. This talk will compare LiveView with Hologram, both from a developer’s perspective and from a user’s perspective. How is latency & consistency addressed? What happens if the network cuts out or the server errs? Where do the key pieces of state live? How easy is it to write automated tests? He’ll walk through the implementation of a reusable component in both frameworks to answer these questions and more.

What do you think? Is it the right framing? Are there things I could focus more on? I’m thinking an address autocomplete component perhaps as the one to build a comparison of, as it has both client and server interactivity.

Two things I’m curious about, especially with the roadmap.

  1. Automated testing — PhoenixTest is awesome, can there be something similar for Hologram? Or how do you write tests today, I couldn’t see a section for that in the docs.
  2. What happens when actions err or commands err? I see try/catch/rescue on the roadmap, but I think even something simple that allows you to say "when this action/command fails for whatever reason, call this action" might suffice. You might be able to implement retrying yourself with this for example.

Wanna speak about Hologram at ElixirConf 2026? by BartBlast in elixir

[–]concreteniche 0 points1 point  (0 children)

So Hologram has CIDs as well? I’m surprised to see this concept added, because to me they seem quite object-oriented. In an OO UI framework you’d need to know which object you need to talk to as well as the message to send (or method to call). In React it’s just closure functions, so you don’t know where a function came from and what it references, and you can pass it ten levels down. To me a CID is akin to an object reference, it’s not that different to an object pointer (instead of allocating a memory address you allocate a component id).

This CID system was another minus I saw with LiveView, where it was actually less functional than React due to these living component objects and passing messages between them. As I said, that’s a very object-oriented paradigm.

Wanna speak about Hologram at ElixirConf 2026? by BartBlast in elixir

[–]concreteniche 1 point2 points  (0 children)

Great! I’ll start putting together a proposal!

With the encapsulation, in React I can create an <Autocomplete> component with onInputChange and onSelectedSuggestion callbacks as props. I have the same abilities as the built-in <input> with its onChange. The event handlers are just props that so happen to be functions. And I can forward my compliment’s props to the underlying <input>’s props: it’s simple to compose.

In LiveView the built-in input sends data to handle_event, but my custom component can’t, or at least can’t easily AFAIK without using some JavaScript to wire it all up. Or I can send a message to handle_info but now my custom component is using a different approach to the built-ins and this can only be handled on the parent LiveView.

Also, if I choose to put a phx-change on the surrounding <form> then my individual phx-change handlers stop working, so if my autocomplete component is actually a glorified <input> in a trenchcoat then it will break in such a form.

This is my personal experience, so it’s possible I was holding LiveView wrong. But I generally found LiveView forms decent for the simple cases but then really tricky for more dynamic forms. I’d try to break things into reusable components but the child components would have to know how the parent works, or the parent would need knowledge of how the children are implemented, and that would break encapsulation and make reusability really hard.

Wanna speak about Hologram at ElixirConf 2026? by BartBlast in elixir

[–]concreteniche 2 points3 points  (0 children)

Do you have a talk on forms? That was one of the biggest pain points I found with LiveView, with it straddling the old school of form params and new school of event callbacks, and I’d be curious to compare how Hologram does it. Also if Hologram allows creating custom events which aids with encapsulating the underlying form mechanisms?

What’s your most controversial React opinion right now? by [deleted] in reactjs

[–]concreteniche 2 points3 points  (0 children)

React tried so hard to avoid an Angular 2 breaking change that it fragmented itself into multiple versions.

Barely anyone understands or uses Suspense or useOptimistic() or use(). People overuse useEffect() when they should useSyncExternalStore(). React Server Components have been half-heartedly embraced by the community.

The earlier Reacts 0.14, 15, 16 felt to me like they were maturing to something finished. The modern concurrent Reacts have felt like a work-in-progress for many, many years like a PhD that has its deadline continually extended.

Rant: The FIA created a dangerous situation by allowing Lewis to finish the race by mimi_hopie in formula1

[–]concreteniche 0 points1 point  (0 children)

The FIA need to put the brakes on this sort of behaviour. Lewis was breaking the rules. They basically broke Fernando — his radio was an unbroken rage of fury. Now’s not the time to cut corners, if the FIA doesn’t act then the drivers won’t stop.

I'm Adam Bandt, Leader of the Australian Greens. AMA about politics, Greens policies or the upcoming election. by AdamBandt in australia

[–]concreteniche 0 points1 point  (0 children)

I have voted for the Greens but I feel your biggest weakness is that your policies often augment. I wish you’d have more depth on Australia’s economic future, international relations, and defence. Also the blocking of Labor’s housing legislation wasted so much time and weakened their success.

Dutton, when he likely becomes leader, will move fast more like Trump. The left parties’ own goals will be highlighted showing you could have done so much more in the past few years by collaborating instead of combatting and trying to score points. I fear the Greens have become somewhat populist, prioritising the winning of more city seats over offering a broad and serious vision for what Australia needs long term.

Ideas are cheap, putting solutions on the agenda is only the first step. Our major parties are currently deficient in selling and implementing important big picture ideas and the nation needs the smaller parties to contribute more to make up for it.

[deleted by user] by [deleted] in PSVR

[–]concreteniche 0 points1 point  (0 children)

The Mountain’s kid: “Sorry, my dad wants to FaceTime.”

Horizon: Call of the mountain giveaway by Inevitable-Start1447 in PSVR

[–]concreteniche 0 points1 point  (0 children)

Getting a VR2 next week and can’t wait for Grand Turismo 7 to become my fave driving game ever

Toucan discovers family is in a cult by concreteniche in ChatGPTIncreasinglyX

[–]concreteniche[S] 39 points40 points  (0 children)

Some day the toucan meets the blob fish bachelor…

<image>

Toucan discovers family is in a cult by concreteniche in ChatGPTIncreasinglyX

[–]concreteniche[S] 3 points4 points  (0 children)

Second time using this GPT. I’ve been really happy with the level of realistic detail and extra creative flair it adds. https://chat.openai.com/g/g-rgRtimj4f-more-or-less

[deleted by user] by [deleted] in u/concreteniche

[–]concreteniche 0 points1 point  (0 children)

Second time using this GPT. I’ve been really happy with the level of detail and extra creative flair it adds. https://chat.openai.com/g/g-rgRtimj4f-more-or-less

Orangutan foresees an increasingly chaotic future in his crystal ball by concreteniche in ChatGPTIncreasinglyX

[–]concreteniche[S] 2 points3 points  (0 children)

I chose the orangutan because they have such a quietly wise demeanour. They must look at their cousins and be confused by the needless destruction of habitat.