by JimDabell
7 subcomments
- ColdFusion used to work this way:
https://en.wikipedia.org/wiki/Adobe_ColdFusion
What surprised me is that when I went to look at the Wikipedia page for CF, apparently its latest release was this year! I haven’t heard anybody mention it in a very long time.
- It's superficially tailwind-y, but in fact a sort of stenographic subset of SQL:
db-{table}-{column}-where-{field}-{value}-limit-{n}-orderby-{field}-{asc|desc}
db-users →
SELECT * FROM users
db-users-name →
SELECT name FROM users
db-users-where-id-1 →
SELECT * FROM users WHERE id = 1
db-posts-title-limit-10 →
SELECT title FROM posts LIMIT 10
db-products-orderby-price-desc →
SELECT * FROM products ORDER BY price DESC
Certainly can result in some terribly inefficient access patterns, as there's no obvious syntax for joins. But enough for a toy project, and enough to hit the HN front page %)
by victorbjorklund
2 subcomments
- We have strayed far from God.
/jk. Cool project even if I wouldn’t touch this with a pole.
by ricardonunez
3 subcomments
- This hilarious. Some people wouldn't know a good joke if it mugged them in an alley.
by johnhamlin
1 subcomments
- Reminds me of the query methods in Spring Data JPA:
https://docs.spring.io/spring-data/jpa/reference/jpa/query-m...
by kachapopopow
1 subcomments
- hopefully I never have to review someone unironically using something similar in production code since I don't think I'll be able to stop myself from dropping a slur or two.
- The actual disturbing thing is that given Next‘s track record of questionable security architecture, the author felt compelled to make the joke explicit.
by _the_inflator
0 subcomment
- I lost it when looking at the commit message(s) which scored an all time record maximum on the notorious WTF/minute scale - preemptively, by maxing out the ratio.
This is a brilliantly clever homage to the WTF/Minute concept as proxy for code quality metrics and therefore is used among others as an indicator for maintainability where a high count inevitably leads to frustration and bugs.
Hilariously and awesomely executed.
- everyday there is a new `insert something related to react` framework.
Everyday we stray further from the simplicity god.
by stanfordkid
1 subcomments
- Just because it uses the className attribute doesn't really mean it is "like tailwind"... SQL is not anything like CSS classes and cannot be composed in the same manner. It's basically just using className as a data attribute. You might as well just stick raw SQL in there and parse it... what is the point of the weird hyphenated pseudo dialect?
- From the site: "For fun only - don't use in production"
by JodieBenitez
0 subcomment
- It's the circle of life©
https://www.spip.net/en_article2042.html
by tacker2000
1 subcomments
- Wow holy abstraction!
Weird stuff, seems to be vibe-coded using cursor and also the github issues are full of spam.
by yousif_123123
1 subcomments
- License disallows production use
MIT - Do whatever you want with it (except deploy to production )
by Starlevel004
1 subcomments
- It's not really very fun when these joke projects are built by AI.
- Like Tailwind isn't really a sales pitch for many of us.
by postepowanieadm
0 subcomment
- There was something like that in Firefox in the age of websqlite(yes, that long ago) - I can't recall it's name but it seemed like a neat idea.
by moron4hire
0 subcomment
- You can't make jokes like this! Someone is going to take you seriously! Just like what happened with TailwindCSS in the first place!
by geekjeremy
0 subcomment
- Absurd. Thank you, you shouldn't have. I need it. I logged in for the first time in a long time just to upvote this.
- Looks nice but is it vulnerable to injection attacks?
- No LLM Prompts support in className? Useless.
- This gives me Tom's a genius vibes
- And we wonder why the web keeps breaking...
- Next up TailwindSyscall!
- I love how utterly insane this idea is. Sometimes thinking outside the box like this can yield results.
- https://github.com/mmarinovic/tailwindsql/blob/main/.cursor/...
You can't make this up.
- I didn't look to see if this is a joke, but seriously, is SQL still a big thing in web dev these days? Feels like it isn't. GraphQL is a thing.
by usernamed7
0 subcomment
- "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should"
-Dr. Ian Malcolm