home.social

#halogen — Public Fediverse posts

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

fetched live
  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. #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)
    }
    ```

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

    *230V

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

    *230V

  5. 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.

  6. 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.

  7. Damit euch nie das Licht ausgeht: Ein Transformator für Niedervolt-Halogenlampen.
    Tech-Fingerfood

    Fotos unter w.wiki/GFm9

    #raystechnikFotos #halogen #Elektronik

  8. Here's a riddle for any electrically-minded folks; why do my formerly #Halogen G9-bulb #Lighting keep burning out G9 #LED bulbs. They're not so hot you can't touch them while they're running.

    When I switch the lamp on (or plug in a bulb when it's switched off), it causes a mouse a metre away to power / wake up. The mouse is on a powered USB hub, which is plugged into a powerboard, plugged into a UPS, on a different powerpoint. I can only assume it's an EM burst. Halogen bulbs don't do it.

  9. #halogen
    #Writing #SmallPoem #Poetry #Fiction #MicroFiction #SmallStories #mastoprompt
    #SciFi
    They call them SevenA17. The Corpos hire them when they need unmentionable shit sorting. Fast, expensive, no fuss.

    (1/2)

  10. #halogen
    #Writing #SmallPoem #Poetry #Fiction #MicroFiction #SmallStories #mastoprompt
    #SciFi
    They call them SevenA17. The Corpos hire them when they need unmentionable shit sorting. Fast, expensive, no fuss.

    (1/2)

  11. Cat Lady's Reward

    #Mastoprompt #Vss366

    Blinding #halogen lights flashed on as the loudspeakers blared, “Five minutes to your favorite episode of ‘Blue’s Clues.’” Then static and feedback.

    “It was my favorite at age five, for heaven’s sake,” she muttered, but not low enough. “Do Bee” heard. “Don’t be a Don’t Bee,” screamed the speakers.

    Another night of endless Blue’s Clues and now punishment for mentioning that other place.

    The image played back of that Joe Namath look-alike, saying, “This is your ‘reward’ for failing to be a meek, mild, childbearing, Christian woman.”

    The #point(less) end to an independent life as a childless cat lady. Amen.

    Blame @tobadzistsini for this one. I take no responsibility. (The story, not the YouTube clip. That is my Don’t Bee deed of the day.)

    youtube.com/watch?v=gtI1t_3wWLM

    #NMPP #NMPrompts #NMMP #NMv366 #Drabble #MicroFiction #TootFic
    #Political #Satire #PoliticalSatire

  12. 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.

  13. 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.

  14. I got around to adding bounds-checking to my interactive lambda-calculus toy: bss03.gitlab.io/halogen-lambda

    I need to change the bounds-checking component to use an AST next.

    Then, step-wise evaluation, if bounds-checking passes.

    I really like the #purescript #halogen framework for SPAs.

  15. I got around to adding bounds-checking to my interactive lambda-calculus toy: bss03.gitlab.io/halogen-lambda

    I need to change the bounds-checking component to use an AST next.

    Then, step-wise evaluation, if bounds-checking passes.

    I really like the #purescript #halogen framework for SPAs.

  16. What's the easiest way to put my #purescript #halogen application on my #apache website? Even better if I can easily install it as a sub-site?

    My current method is barely remembered, haphazard, and also breaks as soon as I put it not at the root (can't find CSS / JS, I think?).

    Alternatively, I'd also be open to using #gitlab pages; the main repository is already hosted there.

  17. What's the easiest way to put my #purescript #halogen application on my #apache website? Even better if I can easily install it as a sub-site?

    My current method is barely remembered, haphazard, and also breaks as soon as I put it not at the root (can't find CSS / JS, I think?).

    Alternatively, I'd also be open to using #gitlab pages; the main repository is already hosted there.

  18. @polotek I'm full-stack and a big fan of static analysis via types, so I prefer #Purescript #Halogen for the front end and #Haskell for the backend.

    Though, eventually I'd like to replace them both with a #GRTT (Graded Modal Dependent Type Theory) based language for multiple reasons.

  19. @polotek I'm full-stack and a big fan of static analysis via types, so I prefer #Purescript #Halogen for the front end and #Haskell for the backend.

    Though, eventually I'd like to replace them both with a #GRTT (Graded Modal Dependent Type Theory) based language for multiple reasons.

  20. I have been experimenting with #PureScript and #Halogen and something interesting is emerging.

    On other web frameworks, I'd just start creating components and start putting them together. The #FunctionalProgramming approach keeps taking me to places where I say "this is just passing through stuff, I don't need a separate component", or "this should just be a function".

    I'm very interested to see where I can take this.

    #dev #coding

  21. Our halogen oven stopped working last week and I want to replace it. But the question is should we go for another halogen oven or swap to an air fryer!

    We use the halogen for most things that can go in a normal oven or grill - sausage rolls, sausages, chicken, cheese on toast!! There seem to be a load more options for Air Fryers than our humble Halogen so a bit confused!!

    #halogen vs #airfryer

  22. I'm still holding out against my desire to visit Reddit. But, the #haskell and #purescript and #halogen tags are pretty bare in my Mastodon network, and I'm really missing just seeing what comments and posts are new.

    I know the "real" solution is to generate more ActivityPub content instead of just consuming, but I generate for work, and I go to reddit to get away from that responsibility for a few minutes.

    I am encouraged at the front page of kbin.social, but haven't signed up, yet.

  23. I'm still holding out against my desire to visit Reddit. But, the #haskell and #purescript and #halogen tags are pretty bare in my Mastodon network, and I'm really missing just seeing what comments and posts are new.

    I know the "real" solution is to generate more ActivityPub content instead of just consuming, but I generate for work, and I go to reddit to get away from that responsibility for a few minutes.

    I am encouraged at the front page of kbin.social, but haven't signed up, yet.

  24. heise-Angebot: Grundlagen: Digital filtern und oszillieren

    Signalverarbeitung kann herausfordernd sein. Wie man Filter und Oszillatoren mit wenig Code in eigene Projekte einbindet, beschreiben wir in der Make 6/22.
    Grundlagen: Digital filtern und oszillieren
  25. heise-Angebot: Grundlagen: Digital filtern und oszillieren

    Signalverarbeitung kann herausfordernd sein. Wie man Filter und Oszillatoren mit wenig Code in eigene Projekte einbindet, beschreiben wir in der Make 6/22.
    Grundlagen: Digital filtern und oszillieren
  26. My 2022 :

    - out, in 🦣
    - out, in 📧
    - out, thin client in 🖥️
    - in :steamdeck:
    - out, in 💡
    - out, in 👾
    - out, in 🫖
    - out 👋
    - in 💪

  27. My #Recap 2022 :

    - #Twitter out, #Mastodon in 🦣
    - #Gmail out, #MXroute in 📧
    - #RaspberryBye out, #ThinkCentre thin client in 🖥️
    - #SteamDeck in :steamdeck:
    - #halogen out, #Hue in 💡
    - #FormalShirts out, #FunnyTshirts in 👾
    - #soda out, #tea in 🫖
    - #sugar out 👋
    - #protein in 💪

  28. heise-Angebot: Math-O-Mat: Erst rechnen, dann naschen

    Taschenrechner weg, jetzt ist Kopfrechnen angesagt. Dafür gibt es Süßes vom Math-O-Mat, einem Trainingsgerät der anderen Art. Jetzt in der Make 6/22.
    Math-O-Mat: Erst rechnen, dann naschen
  29. heise-Angebot: Math-O-Mat: Erst rechnen, dann naschen

    Taschenrechner weg, jetzt ist Kopfrechnen angesagt. Dafür gibt es Süßes vom Math-O-Mat, einem Trainingsgerät der anderen Art. Jetzt in der Make 6/22.
    Math-O-Mat: Erst rechnen, dann naschen
  30. 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