home.social

#halogen — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #halogen, aggregated by home.social.

  1. #PureScript / #Halogen question, is there a way to compare HTML / VDom values for equality? I want to write some checks for some helper functions that have HTML results.

    I started trying to write my own, but it sort of looks like I'd need to bind JS's (===) :: Foreign -> Foreign -> Boolean to deal with some of the internals.

    Alternatively, how would you test
    `flowTree :: forall a w i. (a -> HtmlTreeF w i a) -> a -> HTML w i`
    given
    ```
    newtype HtmlTreeF w i a = MkTreeF
    { rootContent :: Array (HTML w i)
    , links :: Array (Tuple (Maybe (Array (HTML w i))) a)
    }
    ```

  2. Bin ich jetzt #prepper, weil ich in einer Schublade ein E14-Leuchtmittel gefunden hab;
    Mit Hochvolt* #halogen - "Brenner"

    *230V

  3. A novel "Gas-Liquid-Solid" (GLS) synthesis strategy enables the production of #MXenes with unprecedented purity and precisely controlled #halogen surface terminations.
    #MaterialScience #Nanotechnology #sflorg
    sflorg.com/2026/02/ms02092601.

  4. Is there a way to have #PureScript call DOM functions on #Halogen elements?

    It _feels_ like re-rendering to VDOM would be wasteful, and there's already an event that will be triggered by my DOM calls.

    In particular, I'd like like to use the existing browser/DOM state for a textarea (or some other form elements) rather than having to write a component that mimics what the browser is doing.

    But, maybe I'm overthinking it, for now.

  5. With PowerCore and FluxLamp, Reflow Is Possible - [nathan] sends in this combo of projects which combine to make a very interesting reflow oven.
    First... more: hackaday.com/2019/12/10/with-p #2019hackadayprize #thehackadayprize #esp8366 #halogen #reflow #oven