home.social

#lark — Public Fediverse posts

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

  1. Western Meadowlark (Sturnella neglecta) at Salt Plains National Wildlife Refuge in Alfalfa County, Oklahoma, United States on November 25, 2025

    Some of the camera settings I used to make this photo are at: rsok.com/~jrm/2025Nov25_Salt_P

    #birds #lark #meadowlark #saltplainsNWR #wildlife #wildlifephotography #Oklahoma #photography

  2. Despite its name, the Western Meadowlark isn't actually a #lark, but a type of blackbird.
    32x32px, EDG32 palette
    @pixel_dailies #pixel_dailies #pixelart #ドット絵

  3. "Công ty Stripe, OpenAI, Lark đang thêm builder workflow像 Zapier. Core Soleild Việt là công nghệ chung (ReactFlow)? Bloat & khórolifer. Ai k用户y đang dựa流量 trên công cụ nào? #WorkflowBuilder #Zapier #Stripe #OpenAI #Lark #SaaS #ReactFlow #TechTrends"

    reddit.com/r/SaaS/comments/1o8

  4. Okay, I think I'm done with the `dice-roller` code for the time being. It now supports two different "methods" for weighting dice, and I even documented all of the methods. Lot of fun to write, and it should make it into the `pathfinder2e-tui` program over the next week.

    Also, very certain this is technically a dice rolling language at this point.

    codeberg.org/JamesTheBard/dice

    #python #lark #dice #programming

  5. Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.

    The code lives here: codeberg.org/JamesTheBard/dice

    #python #lark #parser #ttrpg #diceroller #programming

  6. Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.

    The code lives here: codeberg.org/JamesTheBard/dice

    #python #lark #parser #ttrpg #diceroller #programming

  7. Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.

    The code lives here: codeberg.org/JamesTheBard/dice

    #python #lark #parser #ttrpg #diceroller #programming

  8. Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.

    The code lives here: codeberg.org/JamesTheBard/dice

    #python #lark #parser #ttrpg #diceroller #programming

  9. Okay, added a few more features and I'm really liking the results. I added the `-` operator for `dice_groups` which was a bit more tricky than I thought it'd be. I also added the ability to roll a dice group multiple times via a `x`|`*` operator. I removed the requirement that a dice group has to have a damage type associated with it since the only way you can roll something like `1d4-1` is in a dice group since there is a minimum value of 1 associated with it.

    The code lives here: codeberg.org/JamesTheBard/dice

    #python #lark #parser #ttrpg #diceroller #programming

  10. Okay, _now_ I'm done. Fixed a few parser errors and implemented a skew option (the `^` value) that will push the average value towards either 1 or the maximum of the dice. I like that once you get the parser up and running that it's easy to add stuff to it. I now am the official owner of a completely overkill dice running program.

    For the example below, the skew is `2.0`. The random value is raised to the `1/skew` power before being multiplied by the number of sides of the die. If skew goes up, so do the results. If skew goes down, well, so do the results.

    ```
    $ python main.py "^2 (2d6+2d8+12)[fire]+1d8[piercing]" | jq .
    {
    "results": {
    "fire": 37,
    "piercing": 7
    }
    }
    ```

    #python #statistics #ttrpgs #dice #lark #parser

  11. So, I think I'm done for the evening. Managed to get the dice roller working as intended with the `lark` parser which is a Christmas miracle. I'll clean it up tomorrow and make it look a bit better code-wise, but I'm pretty happy it does what it says it does. I'll probably roll this into the Pathfinder 2E TUI character sheet.

    ```
    $ python main.py
    Roll to parse: (3d8+2d6+15)[lightning]+(4d10)[piercing]+3d8
    ===============================================
    {'lightning': 34, 'piercing': 16, None: 12}
    ```

    #python #lark #programming #ttrpg #pathfinder2e

  12. Time to write a dice roller...gonna use `lark` to parse the string so I can just type out the roll and add tags for the damage types and let it do the math. Is it overkill? Yes. Does it work? No, not yet...but that's the fun part.

    #python #lark #ttrpgs

  13. Apple、アメリカでTikTok(#TikTok#CapCut#Lemon8#Lark など)が使用できなくなる件に関してサポート情報を公開:Mac OTAKARA
    macotakara.jp/etc/support/entr

    『今後、TikTokアプリと #ByteDance Ltd.のアプリは米国で利用できなくなり、米国への訪問時は機能へのアクセスが制限される可能性があると説明』

    『1月19日以降、米国内のユーザは、ByteDance Ltd.およびその子会社が開発したアプリ(TikTok、CapCut、Lemon8など)をApp Storeでダウンロードすることもアップデートすることもできなくなる』

    Tiktok だけでなく。Byte Dance のアプリ全部?が対象なのね。結構数ある。

  14. Bitcoin.Review @npub1qdcakl75gd7wv0nqmmwrz09ddm5tzl7xj8lq2gclng2qzd8up5yqjpzclt@momostr.pink ·
    Different hardware wallets, radically different protocols.

    #Lark, built to replace Python-based HWI, ensures better integration and user experience for Sparrow Wallet.

    @npub1hea99yd4xt5tjx8jmjvpfz2g5v7nurdqw7ydwst0ww6vw520prnq6fg9v2@momostr.pink talks learnings and insights in BR089.
  15. More progress, now learning the importance of exclamation marks and what really happens to things in quotes without it. #python #lark #parser

  16. A recommendation for using for designing language grammars in EBNF in . Yet another animal-themed project name :)

    lark-parser.readthedocs.io/en/

  17. One thing to be careful is how to name the rules. Need to keep similar rules together, and sometimes even if they seem easier to put together, keeping them separate is needed to make translating easier.

    Just had to move one part of one rule to it's own rule so that I can translate it easier instead of having to write ugly code.

    #Python #lark

  18. Using lark to do some parsing, and I forgot just how EASY it is to use and transform with it.

    You write a BNF like gramar using regexs and literals as needed, and then when you do transforms, you subclass, and name the methods the same name as the name in your BNF and return it.

    Don't have to worry about lex (tokenizing) vs yacc (grammar), it's all in one place.

    #Python #lark

  19. A Horned Lark, one of several seen this morning on the beach at Sandy Point State Reservation on Plum Island, Mass.
    #birds #birdphotography #NaturePhotography #lark #PlumIslandMA

  20. In der Schule sagte man uns, Frösche würden nur sehen was sich bewegt. Das fand ich eine komische Vorstellung.

    Heute suchte ich Feldlerchen und stellte fest: Auch ich sehe nur was sich bewegt.
    Diese hier hab ich kräftig mit "Unscharf maskieren" in GIMP bearbeitet, damit man sie auch als Standbild erkennt.

    #Vogel #Feldlerche #Lerche #birds #skylark #lark #wildlife #BirdPhotography

  21. Überhaupt... mehr Feldlerchen!

    Leider werden sie immer weniger, die Art gilt als gefährdet. Auf intensiv bewirtschafteten Feldern haben ihre Küken kaum eine Chance.

    #Feldlerche #Lerche #Vogel #birds #skylark #lark
    nabu.de/tiere-und-pflanzen/voe

  22. Die Feldlerchen sind wieder da. 🎶 Noch steht das Getreide so niedrig, dass man sie bei der Landung beobachten kann und dann kurz Boden herumlaufen sieht, bevor sie zwischen den Halmen abtauchen.
    Heute hatte ich zum ersten Mal die Ruhe, ihnen vom Feldweg aus aufzulauern.
    #Feldlerche #Lerche #Vogel #birds #bird #skylark #lark #nature #BirdPhotography

  23. Greater Hoopoe Lark ..... Is a passerine bird which is a breeding resident of the uae, lives in the desert & semi-desert , these photos were taken on a windy day
    #bird #birds #uae #Mastadonnaturecommunity
    #lark #photography #canon #nuts_about_birds #nature #wildlife

  24. #December 5, 1830
    #OTD Christina Rossetti, English #Poet, is born.

    Her #Poem, Shut Out, is #Poignant for #Lost Gardens due to moving, illness, or time.

    The door was shut. I looked between
    Pied w/ all #Flowers bedewed & green:
    From bough 2 bough, the songbirds crossed,
    It had been mine, & it was lost.

    A #Violet bed is budding near,
    Wherein a #Lark has made her #Nest:
    & good they are, but not the best;
    & #Dear they are, but not so dear.

    #Gardening #Garden #Gardener #GardenersofMastodon #Poetry

  25. Alternative a Microsoft Teams

    Quante alternative a Microsoft Teams esistono? Ne abbiamo provate diverse per voi, riuscirete a trovare quella che fa per voi?

    LINK --> lealternative.net/2021/09/01/a

    #OltreGoogle #bigbluebutton #element #lark #mattermost #microsoft #rocket.chat #slack #teams #twake #twist #zulip