from An Open Letter

I weirdly don’t feel much of an urge to talk about my birthday, which I guess is a good sign. For once I didn’t get violently depressed for it which is huge! I ate the cookie that A got me and I didn’t want it to end even though it wasn’t like delicious or anything. There’s also the fridge magnet that she gave me that says “You are beautiful” and she wanted me to actually put it on my fridge, almost like an affirmation. I also keep seeing the flower bouquet S got me on my bookshelf, and I weirdly feel kinda overwhelmed by it all. Part of me just thinks that I don’t deserve it. It’s a weird little voice in my head that keeps saying that, and I feel like it’s just some part of my mind trying to keep things as status quo to avoid the unknown. But I think the unknown, in this case, is much better, I’m starting to finally feel like I’m someone that can be liked/loved. I think the big thing that made it click for me was realizing that I don’t need to constantly be doing something or actively trying to provide ‘value’ to be lovable. Even in a fully selfish way, sometimes it’s more than enough to just have someone make some time and space for you to exist. I’m grateful to have F as a friend since he actually helps me understand myself a lot better. He’s got a lot of problems and isn’t a great friend by normal standards, but he reaches out to me and makes time just to be in the same space together which is something that means a lot to me. It’s nice to have someone you can just relax around and not be alone with. And that’s enough for me to love him. It really is that easy.

 
Read more...

from Dio Writes

This girl in the mirror

Holding herself to these

Impossible standards, the

Expectation of perfection

She'd never ask of others

Knowing it unreasonable

And doing it nonetheless

#poetry #writing

 
Read more... Discuss...

from unmasked

Is anyone still reading this failed experiment?

So here’s what happened – I essentially had a mental breakdown. Well, “having” is a better word. I feel some respite and relief in this particular moment but it is very touch and go.

Here are the highlights:

  • Something happened, part of a pattern in which people I believed I was very close to decide I’m intolerable / rude / insensitive / a bad friend or person, feel that way secretly, then share it with me under circumstances that devastate me existentially.

  • I was too strung out to weather this blow. I am still unable to weather it or even deal with it beyond redirecting myself away from it.

  • In fact, I immediately started preparing to flee Atlanta for a few months because I knew that if I stayed in that environment my life would be at risk. When I have the suicidal feelings I cannot get them to go away, and I cannot get myself to not act on them… I can only redirect them to a less permanent escape. (Note: The reasons I have told people I moved out of Atlanta are true, they are just not the whole story.)

  • I quit my synagogue job. I wound down my in-house secondment (the term was up anyway). I told all my law firm colleagues that I was going to live from New York for a few months to try to determine if this fee-sharing model was going to work for me.

  • I decided to get a neurospychiatric assessment; I had wondered about autism occasionally but had largely been dismissive of it for various reasons, various things I didn’t think fit. But I was desperate enough at that moment to throw myself over to experts.

  • It came back with an autism diagnosis.

(Note: part of me thought it would come back confirming whatever I asked them to evaluate, because people who pay for neuropsychiatric evaluations are expecting that, right? Kind of like when you ask your doctor about reasonable accommodations? But part of me … really didn’t, after I took the test, and after I asked my dad to be the “informant” and he did it, but said he didn’t feel qualified to do it and also that I didn’t read to him as autistic.

I think I figured the test would confirm ADHD (which I was diagnosed with at around 30), and maybe rule out autism? I don’t know what I was expecting. All I can say is that when they gave me the debrief and said that my evaluation confirmed autism but not ADHD (the initial eval said that my exec function deficits were part of the autism), I felt sort of like I felt after the first time Trump was elected. Yeah, I went into that election thinking it was going to happen when most other people didn’t! but still wasn’t prepared emotionally for it to be true.

Then again… as I learn about autism more… it’s cracking me up to look at two paragraphs of me struggling to describe my own emotions (an autistic trait).)

  • Now I’m in New York trying to (1) make sense of all of this (2) turn it into some kind of a boot camp experience where I can go back to my family a functional person who suffers less (3) also get my splinteered career back on track.

The past several weeks have been some of the most challenging of my life, and honestly this past year has been challenging but I at least believed I knew who I was and had gotten past the worst of my existential crises. I made the right call to get the F out of Atlanta, I’ve been dealing with having gotten this diagnosis and the diagnosis not resonating / clicking fully with me. I met with a therapist who specializes in adult neurodivergence today, though, and for the first time I felt like maybe it’s starting to click, maybe this is what’s been going on the whole time. I finally feel (am allowing myself to feel?) a tiny bit of that relief and validation that “late diagnosed” autistic individuals talk about. The therapist I met with today gave me hope that maybe there is an explanation… an understanding what is going on with me that I have never felt before.

Anyway. That’s what happened to the 5 am club. I suppose it turned into a “join Equinox and get a personal trainer plus a LOT of therapists in hopes that I can tolerate one of them” club. And luckily the therapist I met today seems promising.

I want to write about all this, but maybe not here… because this blog is still called “5amclub” and that feels stupid? And because this doesn’t allow for comment posting, so I am probably going to go back to blogger. I already wrote one blogger post but it is just SO absurd I don’t want to share it with anyone. Maybe I’ll keep writing on top of that one and then eventually post the whole thing. I don’t know. Or maybe I’ll just keep writing here.

 
Read more... Discuss...

from Roscoe's Story

Prayers, etc.: * 05:00 – Prayer to St. Michael the Archangel * 06:00 – praying The Angelus * 06:40 – praying the Sorrowful Mysteries of the Holy Rosary, followed by the Memorare. * 07:00 – Thought for today from Archbishop Lefebvre: Why has the Church arranged the liturgical cycle in that manner? It is to make us contemplate all of the mysteries of our Lord. Ultimately, it is our Credo which is being presented to us over the course of the year and on which we are called to meditate in a very special way.

The proper texts of the Seasons, prayers, prefaces and so on, are so well chosen, so beautiful that they raise us up, allow us to deepen our faith and increase our charity. * 09:25 – Readings from today's Mass include – Epistle: Ecclus 45:1-6 and Gospel Matt 19:27-29. * 10:50 – Praying to Atone for Rome's 2025 Jubilee Mascot * 12:00 – praying The Angelus * 15:50 – prayerfully reading The Athanasian Creed, followed by today's Daily Meditation found in Benedictus Magazine. * 18:00 – praying The Angelus * 19:20 – praying the hour of Compline for tonight according to the Traditional Pre-Vatican II Divine Office, followed by Fr. Chad Ripperger's Prayer of Command to protect my family, my sons, my daughter and her family, my granddaughters and their families, my great grandchildren, and everyone for whom I have responsibility from any demonic activity. – And that followed by the Tuesday Prayers of the Association of the Auxilium Christianorum.

Health Metrics: * bw= 215.06 lbs. * bp= 148/70 (71)

Diet: * 06:30 – toast & butter, little cookies, pizza * 12:30 – applesauce, steamed rice, fried eggs, sausages * 14:00 – snacking on little chocolates through the afternoon

Chores, etc.: * 06:00 – monitored bank accounts activity * 11:00 – listening to relaxing music, and leisure reading * 12:30 – watch old game shows and eat lunch at home with Sylvia * 13:30 – tuned into the Louisina Tech Bulldogs Sports Network ahead of their afternoon men's basketball game vs the Richmond Spiders * 14:05 – Now tuned into the Clemson vs Penn St. men's college basketball game * 17:05 – listening to relaxing music, leisure reading

Chess: * 08:50 – moved in all pending CC games

posted Tuesday, 2024-11-26 ~19:50 #DLNOV2024

 
Read more...

from Roscoe's Quick Notes

As the furnace kicks in just now, I'm reminded that at no time during the day did my air conditioning turn on. And as I look at the local weather forecast for the next 10 days, I see we're not supposed to have any days coming up where the highs reach into the 70s. So ... the seasons have finally turned.

posted Tuesday, Nov 26, 2024 at ~7:36 PM #QNNOV2024

 
Read more...

from Tales From Progress City

A more detailed look at one of the neighborhoods in my fictitious US Midwestern city, one that combines many of my favorite things—real-life Chicago’s Wicker Park in the early 1990s, the cyberpunks of the late 1980s, the beginning of the Dot Com age, and the messy history of urban gentrification

#jasonpettus #experimental #literary #mediamedia #project #storytelling #citybuilding #universebuilding #cityplanner #metafiction #fictitious #city #metropolis #usa #us #america #midwest #winnemac #sinclairlewis #ai #image #generator #troutalley #gentrification #victorianage #fishery #industry #dockside #warehouses #abandoned #postwar #whiteflight #cyberpunk #larp #raves #underground #indierock #hipsters #coders #startups #tech #industry #dotcomboom #neptune

(Right-click on any image and choose “open image in new tab” to see the full-sized version.)

One of my points of this Progress storytelling project is to take a look at the real history of Chicago, where I’ve lived the last 30 years, only to do it as a “funhouse mirror” reflection of the city as it might’ve existed in an alternative reality. For me as someone who moved here in the early 1990s, Wicker Park is a prime example of something interesting to be examined through the funhouse mirror of the Progressverse, because there’s lots of fascinating things to look at there and unpack and more deeply examine, when it comes to such varied subjects as gentrification, the corporatization of hipsterness, how and why an artists’ neighborhood transforms into an “artsy” neighborhood in the first place, why this is both good and bad for both preserving historic architecture and for building cutting-edge new spaces, and more.

1850s image of Trout Alley from the fictitious US Midwestern city of Progress, where supposedly the city's first major industry cropped up soon after its founding, a thriving fishing industry spearheaded by Scandinavian immigrants, in an image generated by AI.

In my universe, for example, there’s a neighborhood called Trout Alley that goes back almost to the city’s founding in 1845. It is in fact the home of the very first industry that becomes a huge, roaring success in Progress, the fishing industry, which catches on right at the same time that meatpacking starts catching on at its partner in the “Lake Michigan Sister Cities,” (real-life) Chicago. That means that instead of the first generation of millionaire immigrants being Germans and Poles like in real-life Chicago, Progress’s version is the Scandinavians (mostly Swedish) who founded and owned the fisheries. There were vast docks for these endless boats throughout the second half of the Victorian Age; then next door was the neighborhood where all the working-class Swedes who actually worked the warehouses lived.

(And yes, as mentioned yesterday, Progress also had a smaller meatpacking industry in these same years, in a similar neighborhood called Slaughterhouse Row; in my universe, Chicago continued to be a hugely dominant force in that industry at first, until their famous real-life Great Fire of 1871, at which point much of the business switched over to the Progress side of Lake Michigan. But still, Chicago recovered quickly, and neither city ever managed to do greater than a 50/50 split of the industry again with the other, yet another thing that’s led to them being [unofficially] called the “Lake Michigan Sister Cities” for over 200 years now.)

Trout Alley, formerly the site of a large fishery industry in the Victorian Age, now just abandoned and crumbling warehouses in the 1970s, within the fictitious US Midwestern city of Progress, in an image generated by AI.

In good news for the industry, but bad news for the neighborhood, starting in the 1950s and concluding in the ‘70s, a far northern fishing wharf at the edge of the metropolitan area started getting rapidly upgraded with post-war technology; first a high-volume cargo train depot, then a highway truckstop to interact with it, then a cargo airport, and finally a heavy-duty intermodal cargo container industrial ship dock, the whole campus’s infrastructure tied together and now called the McKinley Wharf Seafaring Complex. Over these three decades, then, all the old fishery companies of the 1800s moved out of Trout Alley and up to these modern facilities; and of course many of the immigrant families who lived next door were abandoning the neighborhood in these decades too, the so-called “white flight” to the suburbs that happened after World War Two. By the late ‘70s, it left the neighborhood an abandoned, empty shell, which the city government couldn’t deal with because they had their hands full with the riots over in Slaughterhouse Row (see yesterday’s entry for more), a favorite destination for local authors to set the climax of their gritty crime drama, an elegantly decaying part of the city that time had apparently forgot.

1989 illegal rave held by cyberpunks in the abandoned Trout Alley neighborhood of the fictitious US Midwestern city of Progress, in an image generated by AI.

But here’s where I get to combine some of my favorite activities and subjects of my youth all together into one uber-Mary Sue way (by which I mean I really, really wish the following had been true in real life and a place where I had actually lived); for in the Progressverse, a big initial wave of late-1980s cyberpunk people start interacting with the computer hackers, live action role players (or LARPers), and indie rockers (called “college rockers” in my universe) within these abandoned warehouses, for things like illegal raves where everyone is on Ecstasy, or LARP nights where everyone wears their best Mondo 2000 costume and run around the neighborhood shooting at each other with bright neon lasertag guns. That was my complete vibe back in the actual ‘80s and ‘90s, first in Missouri in college and then in Chicago, so I absolutely love bringing this aspect to my big open fictional universe and the city I’m building from scratch there.

Postcard for an underground cyberpunk LARP group in the late 1980s who meet on Saturday nights to play outdoor laser tag in the abandoned industrial neighborhood of Trout Alley, within the fictitious US Midwestern city of Progress, in an image generated by AI.

Postcard for an underground cyberpunk LARP group in the late 1980s who meet on Saturday nights to play outdoor laser tag in the abandoned industrial neighborhood of Trout Alley, within the fictitious US Midwestern city of Progress, in an image generated by AI.

Of course, this was before the web, so the way info got spread back then about underground events was often through postcard-sized flyers, which starting in the late ‘80s got cheap enough to do in full color for the first time; in the images here above, for example, I’m envisioning such glossy postcard flyers that would get passed around about the LARP group that plays out cyberpunk storylines on Saturday nights in Trout Alley using lasertag guns. You’d be able to find these flyers at your local record store, skateboard shop, drug paraphernalia store, weekly poetry slam, daily coffeehouse, being used to chop up cocaine at a warehouse party, etc etc.

The former fishery headquarters known as Trout Alley, whose brick warehouses have now all been turned into high-end tech company offices and overpriced coffeehouses, within the fictitious US Midwestern city of Progress, in an image generated by AI.

But especially with the coders and hackers being involved in this scene, that brought the very first wave of tech startup companies to Trout Alley too, starting right after the turn of 1990. And those places found that the old owners of all those buildings, who had long ago stopped trying to lease them, were suddenly ecstatic about having a clean new company moving into one of the spaces, and paying primo dollars to get the space back up to code. Although all the nerds and hipsters and skateboarders were still there, the space became cleaner and brighter and most importantly safer, and started getting populated more and more by the first wave of big tech companies that occurred during the Dot Com age. Don’t forget, in my universe, Progress had just as many successes in the early Dot Com years as northern California did, leading to the common cultural phrase “Silicon Valley and Trout Alley” to describe the synergy between the two areas in these years; so Trout Alley was filled at the time with what would become the Web’s first Yahoos and MySpaces and those types of companies.

The now fully gentrified Trout Alley neighborhood of our own times, once a fishery industry headquarters in the 1800s that now headquarters the city's tech industry, within the fictitious US Midwestern city of Progress, in an image generated by AI.

The now fully gentrified Trout Alley neighborhood of our own times, once a fishery industry headquarters in the 1800s that now headquarters the city's tech industry, within the fictitious US Midwestern city of Progress, in an image generated by AI.

Although the Progress storytelling project is purportedly telling the history of the first 200 years of the city, those exact years are actually 1845 to 2045, which gives me a chance to do a little fortune telling and imagine what will happen in the city in the near future. So “these days” (the 2040s, according to the wiki), space within the actual old 1800s warehouses (what few are left, at least) are scarcer and pricier than ever, and to be honest can really only be afforded anymore by big restaurants and tourist stores; all the tech companies have now moved to cutting-edge skyscrapers right next door, a neighborhood surprisingly enough called “Trout Alley East.” It’s a major center of wealth in the city, and much of what makes our modern world work anymore can be found headquartered here.

The 1996 offices of the then small tech startup Neptune, which would eventually become a trillion-dollar company within the fictitious US Midwestern city of Progress, in an image generated by AI.

The "Megascraper," the new global headquarters of the trillion-dollar Neptune Corporation, located on the rural outskirts of the fictitious US Midwestern city Progress, in an image generated by AI.

The Lake Winnemac blimp public transit station, technically for the public but that just happens to have been built by the Neptune Corporation and it being next-door to a rural planned community just for Neptune executives, within the fictitious US Midwestern city of Progress, in an image generated by AI.

Of course, let’s not forget, like I mentioned yesterday, Neptune was one of these small startups found in Trout Alley in the Dot Com age, which was doing just fine and making lots of money; but then the idiosyncratic founder, Jasper Quinn, is going to start getting obsessed with something that I haven’t made up my mind yet about, but it will be a big pivot into something that has the capacity to make them a trillion-dollar company by the 2010s like Apple or Microsoft. Maybe…chips? Maybe they’ll be my universe’s version of Intel? After years of having offices scattered throughout the world, Quinn decides in 2016 to consolidate everyone into a brand-new facility that seems out of science-fiction, the so-called “Megascraper” that very easily becomes the tallest structure the human race has ever made, but then surrounded by thousands of acres of wildlife that the company owns and is choosing to remain untouched. No cars allowed, even electric ones; everyone parks in a guarded lot miles away, then takes either a monorail or a blimp in. They’re a huge and mysterious company who do lots of weird things, like buy an entire giant parcel of land out in the unincorporated woods in order to build a private planned community of homes for all their executives, next door to a special blimp public transit station built just for their employees, that will shuttle them directly over the city to their office in a matter of minutes. But we’ll finally be talking about all that in more detail in tomorrow’s entry.

 
Read more... Discuss...

from stackdump

Pflow’s workflow implementation simplifies and extends WF-net ideas for practical, real-world systems by:

  1. Adding retry and reentry mechanisms (allow_reentry).

  2. Restricting state behaviors to enforce runtime constraints.

  3. Focusing on execution rather than pre-runtime verification.

WF-nets remain a formal and abstract framework for analyzing workflows, often requiring specialized tooling and theoretical grounding. Pflow’s workflow model aligns more with runtime task automation and system engineering.

 
Read more... Discuss...

from Enjoy the detours!

I've decided to get back on this series and rename it to just #links

Refactoring absolute paths to relative ones: This is an example in VScode. While refactoring some code in my current Project, this was helpful. Link: https://dev.to/fes300/refactoring-absolute-paths-to-relative-ones-in-vscode-3iaj

Be findable: I like what Thorsten wrote or refers to. Also, the quote of Steve Martin here is a thing, everybody should have as a Mantra. Link: https://registerspill.thorstenball.com/p/be-findable

Local, first, forever: Local-First is something I always wanted to implement in my projects and also something at least every app should do. Link: https://tonsky.me/blog/crdt-filesync/

Writing HTML by hand is easier than debugging your static site generator Link: https://logicgrimoire.wordpress.com/2024/07/01/writing-html-by-hand-is-easier-than-debugging-your-static-site-generator/


40 of #100DaysToOffload

#log #links

 
Weiterlesen... Discuss...

from brendan halpin

Being Broke

Because I was a broke kid who went to rich people’s schools, I wound up with a kind of complicated class identity. There have been times when I’ve had money and there have been times where I was broke. And it’s become apparent to me recently that a lot of people who are not broke have no idea what this reality is like and how it affects people. So I’m writing this not because all of it is my experience (though some if it definitely is) but because I really don’t think middle class people with money who hang out with other middle class people with money have any idea of what being broke is like.

Your parents can’t help you. Let’s start with that. There is no familial safety net. There are no assets which will pass to you on their deaths and there is no pile of money earmarked to get you out of trouble. Hell, there may not even be a bedroom for you in their house if it comes to that. You are completely on your own.

When you wake up in the morning, you think about money. You think about money all day long. Sometimes you can’t fall asleep or stay asleep because you’re thinking about money. You feel like you’re constantly on a precipice about to topple into the abyss. You work full time and you work hard, and so does your spouse or partner, and you still can’t cover the bills every month.

As the Wu-Tang Clan said, cash rules everything around you. You cannot stop thinking about money. Not ever. It makes every setback worse, because not only do you have to, for example, get a root canal, but you have to find a way to pay two thousand dollars for it. If you’re lucky enough to have dental insurance. Otherwise it’ll be more. Should you just have the tooth pulled? It would be much, much cheaper. But will having a big gap in your smile mean you have even fewer prospects for employment and promotion?

Money taints every moment of joy in your life. Christmas becomes a nightmare. You want to give things to your children, give experiences to your children, but you can’t really afford to do that. But how can you send your children back to school to listen to everyone else talking about what they got? If you’re lucky, you can get a credit card and borrow the money you need to buy Christmas presents at 22% interest. You’ll love to see their faces light up at Christmas, but there will be a sour stone of dread lodged in your stomach as you realize what this is going to mean for your finances. Maybe you can get your tax refund soon enough to pay it back. Assuming nothing goes wrong for the next three months.

But something always goes wrong. Because it’s life. And so paying the bills then becomes not a routine chore but an incredibly stressful juggling act. The water and sewer bill came in a red envelope this month, so you have to pay that. Electric bill is overdue, but they’re not threatening to cut you off yet, so you can let that slide. Of course, paying the past due amount on the water bill means that you won’t have enough money to do preventative maintenance on the car that one of you uses to get to work. So every time you get in the car, that little red maintenance light on the dashboard will be reminding you that you’re not taking proper care of the car. Which means eventually something expensive is going to break and you’re going to have to come up with thousands of dollars to fix it. Or maybe it will break while your kids are in the car and then something horrible will happen to you and it will be all your fault.

Well, that’s a problem for future you. You’ve got enough to worry about getting through your work day, where you work very hard for far less money than people you know do less work than you. Maybe you can pick up a second job to make some more money, just until the current crisis passes. You think this to yourself because it’s the only way to get through because you know that crisis mode never ends. You simply move from one crisis to the next.

And if you have children, who’s going to take care of them while you’re working a second job? Who’s going to parent them when you’re too exhausted to move after 12 to 16 hours of work every day? Better pass on that second job.

But that means there’s no hope of getting out of this, of getting ahead. All you can do is hope to slow the pace at which you’re falling behind. So yeah, you spend two bucks on a lottery ticket every week. You know the odds. You know you’d be better off doing almost anything else with that money, but it’s literally the only thing you can buy that gives you hope. In the moments before the numbers are pulled, you can have hope that your life will change.

And it can change, but only for the worse. You get injured in an accident—not your fault, but you’ve got to spend 6 months out of work. You’re one of the lucky few who has long-term disability insurance...but that only pays half your salary. You think about this a lot. That we live in a country that punishes you for the crime of getting injured.

But maybe you’ll find a way through that crisis. Maybe friends or family can pull some money they don’t really have together to help out. Or maybe you’ve got a teenage kid who will have to quit the extracurricular activity they love, the thing that keeps them invested in school, because you need them to bring in money. You think about being an adult depending on financial support from your teenage child, and you feel ashamed. None of this is your fault, but you feel ashamed anyway.

You have to keep most of this stuff to yourself because there is nothing Americans hate as much as a poor person. They’ll have a lot of reasons why this is your fault: why didn’t you learn to code? Why did you get coffee from a coffee shop? Why didn’t you take time and money you don’t have to go back and get an additional credential?

You know they blame you because if it’s not your fault, then it must be at least partly theirs. It must be that a system that allows them to have hundreds of thousands of dollars in savings while you have 74 dollars and 37 cents is fair, and you deserve what you have, because otherwise it’s unfair, which means they don’t deserve what they have.

This is what it’s like to be broke. Some people have it better than this, and some have it worse, but this is the experience of tens of millions of people in this country. I’m not suggesting that broke people who shot themselves in the junk by voting for a fascist government that will only increase their misery made a defensible decision. But I guess I would say this: if your whole pitch is that we need to save the system, you can see how a person who lives like this might ask, “why?”

 
Read more... Discuss...

from MakingOne

Jonathan G. Cannon November 2024

Lord, Lord let us live in peace, Keep want and fear away, Keep our walls strong, preserve Your own Until the coming day.

How will I know you love Me? There is no secret code. I told you once, I told you twice, Every time you asked.

You were starving, in Egypt they welcomed you in—- Strangers in a strange land. Then you fled to Canaan with honey and milk, And found your promised land.

Welcome the strangers among you, now, In the land you call your own—- You will be My people.

You fled poverty, prison, and wars of kings To be strangers in a strange land. You sent them your gold as you scraped in the soil For a chance to start free at last.

The Samaritan put his hands in the blood And the dirt to lift you up. He didn't know Me, but loved Me the same.

You were driven from Plymouth, from Kirtland, Nauvoo, To be strangers in a strange land. You took a home in the mountaintops Where none hurt or make afraid.

To the least of these, Benjamin said, That is how I know. That is how I know.

 
Read more... Discuss...

from stackdump

I recently attended an Austin hackathon oriented around the latest open source models from Meta. https://lu.ma/atx-llama-hackathon.

As the main sponsor, representatives from Meta are spreading the word about their impact grant program. https://www.llama.com/llama-impact-grants/

I got to work with some great tools from these additional sponsors:

Pflow-prompt

During this hackathon, I decided to try to test the ability for for Llama to generate petri-nets using the pflow.xyz notation.

I’ve been interested in trying to use LLMs to convert code into equivalent petri-net models. So, I started with a program written in a state-machine style in BASH.

I then provided it as user input, alongside a system prompt:

Output models:

Remarks

I’m pretty impressed with how well OpenAI 4o performed. The LLM correctly intuited that we’d like to use the state and action names as labels.

It also seemed to do a good job laying out the objects, and using the playground feature, I was even able to prompt another time to ask it to “add more space between the elements” – with consistent results.

Most of the other submissions made use of natural language translation and auto-classification.

Upon reflection: I could have applied the RAG approach using tools provided by Datastax, or built a tool using lang-graph, or even tried model refinement to get the results I wanted from Llama.

In the end, because OpenAI 4o worked with a single prompt I didn’t see any benefit to try to use Llama.

While developing this experiment I used the API https://platform.openai.com/ and only spent $.06 !!

Conclusion:

For now, I’ll be using 4o as I add LLM support to pflow.xyz.

Going forward, my sense is that various refinement approaches will become less relevant as better LLMs are developed, and for now the cost seems to be right for this application.

 
Read more... Discuss...

from Telmina's notes

年末恒例、ヨドバシ.comの「2025年 夢のお年玉箱」、自分が受けた印象とは裏腹に、今年も大盛況であるようです。

 昨日、自分はこんなことを述べておりました。

 個人的に少し興味があるのが、「夢のお年玉箱2025 XboxシリーズXの夢」なのですが、ただ、これにしても、自分がXboxのゲームで興味を持っているものが皆無であり、ハードウェア的に興味があっても自分では確実に使いこなせないため、自分は応募しないことにします。

 前言撤回します。

 応募してしまいました(ぉぃ)。

  • 夢のお年玉箱2025 XboxシリーズXの夢

夢のお年玉箱2025、XboxシリーズX含め3点応募

 まあ、応募した時点で当選倍率が37倍ありますので、そう簡単には当たらないでしょう。

 しかし、本当に今回は、これと昨日応募した2点以外に自分が買いたいと思えたものが皆無でした。特に一眼カメラのラインナップがなくなっているのが痛手です。

 あとはこのまま、12月3日(火)の当選発表を待つのみとなります。まあ、過度の期待は抱かないことにします(抱けないけど)。

#2024年 #2024年11月 #2024年11月27日 #ヨドバシカメラ #ヨドバシドットコム #夢のお年玉箱 #お買い物 #モバイルプロジェクター #ウェアラブルネックスピーカー #Xbox #デジタルカメラ

 
もっと読む…

from stackdump

1. PetriNet

  • General Behavior: Petri nets allow the most general and flexible state transitions, supporting multiple states being active at once and various roles or conditions for enabling transitions.
  • Fire Method: petri_net_fire
    • Transitions update states based on their delta values.
    • Guards are applied to inhibit transitions if conditions are not met.
    • The result includes flags for overflow, underflow, and whether the transition was inhibited.
    • Supports full vector addition for state changes, with capacity checks.
  • Key Features:
    • Most complex and capable model.
    • Can handle arbitrary guard conditions and multiple active states.

2. Elementary

  • General Behavior: Simplifies the Petri net model, restricting the number of active states post-transition to one. This ensures clear, single-state progression.
  • Fire Method: elementary_fire
    • Works similarly to petri_net_fire, but includes an additional check to ensure only one state is active (output_state_count == 1).
    • Transitions are inhibited if multiple states are active after firing.
  • Key Features:
    • Simplifies state behavior by enforcing single-state transitions.
    • Suitable for workflows where transitions must always result in a single active state.

3. Workflow

  • General Behavior: A further simplification of the Elementary model, explicitly designed for workflows with retry and reentry behavior. Allows more leniency in retrying failed transitions while enforcing constraints on state updates.
  • Fire Method: workflow_fire
    • States are constrained to values 0, 1, or 2:
    • 0 or -1: Inactive states or retryable errors.
    • 1: Active state.
    • 2: Overflow; mapped to 1 for retry or inhibited transitions.
    • Enforces single active state but introduces retry behavior.
    • Allows transitions with specific conditions (e.g., allow_reentry).
  • Key Features:
    • Designed for task flows or processes with explicit reentry behavior.
    • Introduces stricter constraints but enables retry loops for overflow states.

Comparison


Practical Applications:

  1. PetriNet: Use for complex, concurrent systems where multiple states must interact or coexist.

  2. Elementary: Apply to simpler decision trees or systems that require deterministic, single-state outputs.

  3. Workflow: Ideal for workflows or task management systems where retry and fail-safe mechanisms are essential.

This framework allows flexible modeling based on system requirements, enabling efficient and accurate representation of different operational paradigms.

Review the Rust code on used to compare these algorithms on github.

 
Read more... Discuss...

Join the writers on Write.as.

Start writing or create a blog