home.social

#twig — Public Fediverse posts

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

  1. A new chapter of This Week in GNOME has been published!

    Read the latest about Glycin, new desktop applications for managing and listening to local music collections, and much more!

    #248 Tracking Performance

    thisweek.gnome.org/posts/2026/

    #ThisWeekInGNOME #GNOME #TWIG

  2. New GTK4/Libadwaita git client Gitte, Newsflash can now swipe between articles, new Parabolic release and much more in This Week in GNOME!

    #247 International Workers' Day

    thisweek.gnome.org/posts/2026/

    #ThisWeekInGNOME #GNOME #TWIG

  3. Libadwaita demo app on Android, new update for Goblint, a linter for C GObject codebases, Java/Kotlin library for interacting with XDG Desktop Portal and much more in This Week in GNOME!

    #246 Offline Dictionaries
    thisweek.gnome.org/posts/2026/

    #ThisWeekInGNOME #GNOME #TWIG

  4. A new issue of #ThisWeekInGNOME is now online!

    New Graphs release, new linter for C codebases — Goblin, improving UX for neurodivergent folks and much more!

    #245 Infinite Ranges
    thisweek.gnome.org/posts/2026/

    #GNOME #TWIG

  5. europesays.com/britain/16291/ AI firms pioneering drug discovery, cheaper supercomputing and more get first backing through UK’s Sovereign AI | Department for Science, Innovation & Technology #ai #AIRR #Britain #british #Callosum #CANOPY #CEO #Cosine #Cursive #deepmind #Doubleword #Founder #Fund #Mente #Prima #research #Sovereign #Twig #UK #Unit

  6. I have no idea what to do with this pull request that I got from a coworker. It has variable setting and checks for null values that would absolutely be needed if you were writing #PHP code, but are completely superfluous when writing #Twig for #Drupal. If you access a null value, null happens.

    Should we be encouraging formal programming practices in twig, or boil all of those lines of code down to just this?

    {% set para_id = title|first['#object'].id() %}

  7. I have no idea what to do with this pull request that I got from a coworker. It has variable setting and checks for null values that would absolutely be needed if you were writing #PHP code, but are completely superfluous when writing #Twig for #Drupal. If you access a null value, null happens.

    Should we be encouraging formal programming practices in twig, or boil all of those lines of code down to just this?

    {% set para_id = title|first['#object'].id() %}

  8. I have no idea what to do with this pull request that I got from a coworker. It has variable setting and checks for null values that would absolutely be needed if you were writing #PHP code, but are completely superfluous when writing #Twig for #Drupal. If you access a null value, null happens.

    Should we be encouraging formal programming practices in twig, or boil all of those lines of code down to just this?

    {% set para_id = title|first['#object'].id() %}

  9. I have no idea what to do with this pull request that I got from a coworker. It has variable setting and checks for null values that would absolutely be needed if you were writing #PHP code, but are completely superfluous when writing #Twig for #Drupal. If you access a null value, null happens.

    Should we be encouraging formal programming practices in twig, or boil all of those lines of code down to just this?

    {% set para_id = title|first['#object'].id() %}

  10. I have no idea what to do with this pull request that I got from a coworker. It has variable setting and checks for null values that would absolutely be needed if you were writing #PHP code, but are completely superfluous when writing #Twig for #Drupal. If you access a null value, null happens.

    Should we be encouraging formal programming practices in twig, or boil all of those lines of code down to just this?

    {% set para_id = title|first['#object'].id() %}

  11. So, ich muss mal wieder schauen, dass ich mit der neuen Website unseres Familienverbandes weiterkomme, um meinen Entwurf mit Hilfe von twig-Templates auf das verwendete CMS "Typemill" zu bekommen.

    Dabei habe ich keine Ahnung von twig (ein "vereinfachtes PHP") und kam da kürzlich schon mal nicht so richtig weiter ...

    #Typemill #twig #Template #WebDev
  12. Great discussion on #TWiG 862 this wk

    Really enjoyed guest Rumman Chowdury Could have listened to another hour or two of that discussion

    Great to hear @PadreSJ this wk Deeply appreciate your perspective & focus on humanity in AI discussions Congrats on final vows!

    Also congrats to @jeffjarvis on editing new book series Look forward to it but I fear publishing timeline is too long for content to remain relevant

  13. One of the best thing about #Drupal's implementation of #Twig for templating is that it is so forgiving of things like type mismatches and non-existent array keys, except apparently if you try to run |clean_id on an array, where it behaves like the rest of modern engineer-focused Drupal and whitescreens the entire page out of principle.

  14. This Week in Data: There’s No Such Thing as a Normal Month

    (“This Week in Data” is a series of blog posts that the Data Team at Mozilla is using to communicate about our work. Posts in this series could be release notes, documentation, hopes, dreams, or whatever: so long as it’s about data.)

    At the risk of reminding you of a Nickleback song, look at this graph:

    I’ve erased the y-axis because the absolute values don’t actually matter for this discussion, but this is basically a sparkline plot of active users of Firefox Desktop for 2025. The line starts and ends basically at the same height but wow does it have a lot of ups and downs between.

    I went looking at this shape recently while trying to estimate the costs of continuing to collect Legacy Telemetry in Firefox Desktop. We’re at the point in our migration to Glean where you really ought to start removing your Legacy Telemetry probes unless you have some ongoing analyses that depend on them. I was working out a way to get a back-of-the-envelope dollar figure to scare teams into prioritizing such removals to be conducted sooner rather than later.

    Our ingestion metadata (how many bytes were processed by which pieces of the pipeline) only goes back sixty days, and I was worried that basing my cost estimate on numbers from December 2025 would make them unusually low compared to “a normal month”.

    But what’s “normal”? Which of these months could be considered “normal” by any measure? I mean:

    • January: Beginning-of-year holiday slump
    • February: Only twenty-eight days long
    • March: Easter (sometimes), DST begins
    • April: Easter (sometimes), something that really starts suppressing activity
    • May: What’s with that big rebound in the second half?
    • June: Last day of school
    • July: School’s out, Northern Hemisphere Summer means less time on the ‘net and more time touching grass
    • August: Typical month for vacations in Europe
    • September: Back-to-school
    • October: Maybe “normal”?
    • November: US Thanksgiving
    • December: End-of-year holiday slump

    October and maybe May are perhaps the closest things we have to “normal” months, and by being the only “normal”-ish months that makes them rather abnormal, don’t you think?

    Now, I’ve been lying to you with data visualization here. If you’re exceedingly clever you’ll notice that, in the sparkline plot above, not only did I take the y-axis labels off, I didn’t start the y-axis at 0 (we had far more than zero active users of Firefox Desktop at the end of August, after all). I chose this to be illustrative of the differences from month to month, exaggerating them for effect. But if you look at, say, the Monthly Active Users (now combined Mobile + Desktop) on data.firefox.com it paints a rather more sedate picture, doesn’t it:

    This isn’t a 100% fair comparison as data.firefox.com goes back years, and I stretched 2025 to be the same width, above… but you see what data visualization choices can do to help or hinder the story you’re hoping to tell.

    At any rate, I hope you found it as interesting as I did to learn that December’s abnormality makes it just as “normal” as the rest of the months for my cost estimation purposes.

    :chutten

    #countingIsHarderThanItLooks #data #dataScience #mozilla #telemetry #thisWeekInData #thisWeekInGlean #twid #twig #work

  15. Bon j'en ai marre d'Hugo !

    J'ai envie d'un générateur de site statique que je comprenne un minimum (voir pourquoi pas auquel je puisse contribuer). Après avoir étudié la question et espionné les conversations de @progi1984 et @arnaud Cecil semble une bonne option avec ses templates #twig ...

    Je me lance donc là-dessus !
    (bon pour l'instant je galère à lui faire accepter Tailwind)

    #StaticWebsites #hugo #cecilapp

  16. [Перевод] Введение в Advanced Views Framework

    Advanced Views — это специализированный WordPress фреймворк, который предлагает улучшенный способ запроса и отображения контента. Его основная цель - ускорить и упростить создание качественного фронтенда для WordPress. Если вы привыкли думать, что WordPress - это только про page builders и что быстрое создание качественного фронтенда здесь априори невозможно, то Advanced Views вас приятно удивит: модульный подход, Twig шаблоны, Just-in-Time assets, BEM из коробки, поддержка Tailwind и WordPress Interactivity API - в общем все что нужно для того, чтобы быстро и качественно отобразить контент на любом WordPress сайте.

    habr.com/ru/articles/823742/

    #framework #Twig #bem #tailwind #bootstrap #wordpress_interactivity_api #wordpress #advanced_custom_fields #modern_tools

  17. @leo and @jeffjarvis got all nostalgic today on #twig (ep 738) about the "days when you bought software in a shrink-wrapped box" and made me climb up into my attic to dig out some relics from my past. We didn't actually wrap #SpySweeper, but the #Telix boxes we stuffed and blow dried ourselves.

  18. Winter's here and #Rivers #Freeze
    As I #Walk, I see the #Trees,

    Wherein the #Pretty #Squirrels #Sleep,
    All standing in the snow so deep,

    & Every #Twig, however #Small,
    Is #Blossomed #White and #Beautiful.

    Then #Welcome, #Winter, with thy #Power
    To make this tree a big white #Flower ;

    To make this #Tree a #Lovely sight,
    With #Fifty #Brown arms draped in white,

    While #Thousands of small #Fingers show
    In #Soft white #Gloves of purest #Snow.

    - WH Davies, #Welsh #Poet and #Writer

  19. Where #Roses bloomed, the drifts lie deep.
    The #Hollyhocks are fast asleep.

    The #Cedars green are wearing white
    Like rich men's wives on #Opera night.

    The #Elm #Tree strangely seems to throw
    A lean, gaunt #Shadow on the snow.

    The last brown #leaves of #Twig & #Stem
    Have found the storms too much for them.

    Winter, the tyrant of the #Land,
    Once more is in supreme command.

    - Edgar Guest, British-American #Poet, #Winter in the #Garden

    #Gardening #Gardener #GardenersofMastodon #Nature #Flowers

  20. Where #Roses bloomed, the drifts lie deep.
    The #Hollyhocks are fast asleep.

    The #Cedars green are wearing white
    Like rich men's wives on #Opera night.

    The #Elm #Tree strangely seems to throw
    A lean, gaunt #Shadow on the snow.

    The last brown #leaves of #Twig & #Stem
    Have found the storms too much for them.

    Winter, the tyrant of the #Land,
    Once more is in supreme command.

    - Edgar Guest, British-American #Poet, #Winter in the #Garden

    #Gardening #Gardener #GardenersofMastodon #Nature #Flowers

  21. Where #Roses bloomed, the drifts lie deep.
    The #Hollyhocks are fast asleep.

    The #Cedars green are wearing white
    Like rich men's wives on #Opera night.

    The #Elm #Tree strangely seems to throw
    A lean, gaunt #Shadow on the snow.

    The last brown #leaves of #Twig & #Stem
    Have found the storms too much for them.

    Winter, the tyrant of the #Land,
    Once more is in supreme command.

    - Edgar Guest, British-American #Poet, #Winter in the #Garden

    #Gardening #Gardener #GardenersofMastodon #Nature #Flowers