• 0 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: May 2nd, 2023

help-circle











  • A bit late to the party, but here is my take.

    Generated it in ChatGPT with the following prompt:

    Generate a photorealistic picture of a man clothed in rags in a run-down room, holding hands with a small child clothed in rags looking forlorn out of the dirty window at the glittering futuristic city, insanely wealthy city in the distance behind a slight layer of dust behind the slum which is visible from the window.

    which led to the image prompt:

    A photorealistic image of a man and a small child, both dressed in rags, in a run-down room. The man is holding hands with the child, who looks forlorn out of a dirty window. Outside the window, there’s a view of a glittering, futuristic, and wealthy city in the distance, partially obscured by a slight layer of dust and the visible slum. The contrast between the impoverished interior and the opulent cityscape outside is striking.






  • The way I perceive PRQL is somewhat like SQLAlchemy-Core (the SQL expression layer, not the ORM). Almost a 1:1 mapping to SQL but softening the rough edges in SQL when constructing more complex queries dynamically, in particular: no function calls, no real variables, only string concatenation. While SQLAlchemy-Core lets you even extract sub-queries into variables, I don’t know about how powerful PRQL is in this regard.

    From what I see from the docs I’m rather hopeful though.