Hacker News new | past | comments | ask | show | jobs | submit | bkyan's comments login

The thing I still find weird about Container Queries is that there doesn't appear to be a way to distinguish between different containers based on class, as @container applies to any parent container. So, a <p> inside of a card with class .card-with-blue-background would get the same styles as a <p> inside of a card with class .card-with-red-background, since there isn't an easy way (as far as I could tell) to distinguish between the two scenarios within the Container Query, itself.


Oh, just figured out that there is a field for this → container-name


On the pricing page, there is a highlighted bullet point for "Private generations" under the Pro tier. How does that differ from the other tiers?


Hey thanks for asking, we should make that more clear. Generations that aren't private may be featured in our public, community catalog here https://www.magicpatterns.com/catalog


How do you save your changes with this?


You could potentially use document.querySelector('html').outerHTML and POST it somewhere


And listen for changes with a MutationObserver


Got it!


Thanks!


Is there anything in the tech stack that make this app specific to Macs, or are you simply rolling this out to Macs, first?


We're rolling out to Macs first since that is what our development environment has been, though nothing is stopping us from supporting Linux or Windows once we have those environments properly set up. It is on the near-term road map!


Is there an opportunity to bring something like this online using wasm?


In my experience, the revision system in WordPress is not performant. The more revisions there are for a given page, the longer it takes to publish that page, eventually leading page publish requests to time out. I usually have to limit the number of per-page revisions to keep, to prevent that from happening.


Most Wordpress sites can go static (like using WP2Static), so the HTML online is always fast.


The performance bottleneck with regards to revisions is on write, rather than on read.


Only if you avoid common plugins that need some server-side interaction, for instance Gravity Forms.

(Probably _unless_ you use some custom rewrite rules, but then you're walking on less-trodden paths)



I use consumables like toothpaste as top-up items to get past the minimum threshold to qualify for free shipping at Amazon and Walmart. This implicitly triggers a mental check to see if I'm running low on anything.


Right, so you’re using toothpaste as padding to align your shopping basket struct.


Exactly!


Reid Hoffman provided some clear (at least to me) evidence for Mira's non-involvement → https://youtu.be/IgcUOOI-egk?si=FiSPt87v3pM3lfKt&t=851


Someone just above posted this, which shows that she did reach out to the board with concerns about his leadership style prior to the ouster: https://www.nytimes.com/2024/03/07/technology/openai-executi...


Are you planning to keep this webapp ad supported, or will there be a premium "pro" version with additional features in the (near) future?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: