5 ms·
TailwindSQL – Like TailwindCSS, but for SQL queries in React Server components
- geekjeremy 10mo agoAbsurd. Thank you, you shouldn't have. I need it. I logged in for the first time in a long time just to upvote this.
- sixtyj 10mo agoFrom the site: "For fun only - don't use in production"
- deleted 10mo ago[deleted]
- JimDabell 10mo agoColdFusion used to work this way: https://en.wikipedia.org/wiki/Adobe_ColdFusion 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.
- CPLX 10mo agoApparently some here are quite active with it: https://news.ycombinator.com/item?id=46211559 https://news.ycombinator.com/item?id=46211559 Also longtime internet celebrity and occasional HN poster Pud built the wildly successful Distrokid service with it.
- freedomben 10mo agoWith how deeply embedded cold fusion was in many gigantic corporations I've worked with, I would not be surprised if it stays alive for decades to come because nobody ever can port off of it.
- bdcravens 10mo agoDon't remember the full context, but I heard a few years ago from Adobe that they could never sell another license to the private sector and government licenses would be self-sustaining.
- bdcravens 10mo agoI was active in the ColdFusion/CFML community for a long time, and still run some production code in it. It certainly isn't popular, but just carries on quietly, powering a lot of internal applications you'll never hear about. Many run the open source version of it (Lucee).
- tootubular 10mo agoIndeed it does. I maintain one such application while an in-progress rewrite develops. Gotta say, it's not been that bad and the Lucee docs have served me well, but for whatever reason I tend to be pleased/impressed by all kinds of tech, even when popular opinion is negative about it.
- lisbbb 10mo agoI worked at a major university that used ColdFusion. They had one guy furiously writing all these websites that were total one-offs. They didn't use source control. Every project was a copy of his original. If there was a bug, he had to update dozens of projects instead of maintaining common source across those dozens of sites. He was totally insane and making bank.
- conception 10mo agoLucee took over and is still active (ish).
- pjmlp 10mo agoSame with Dreamweaver, many aren't aware it is still around. https://www.adobe.com/products/dreamweaver.html https://www.adobe.com/products/dreamweaver.html
- Tostino 10mo agoThe company which bought my last startup, their main product (Trade Promotion Management tool) was in CF. Definitely a little talked about language, but it does get some use.
- feketegy 10mo agoAdobe has a whole lineup of enterprise products that people don't really read about. CF is deeply integrated into these products as well as other 3rd party enterprise products.
- Yokohiii 10mo agoNext up TailwindSyscall!
- olcarl75 10mo agoeveryday there is a new `insert something related to react` framework. Everyday we stray further from the simplicity god.
- valiant55 10mo agoComplexity demon everywhere.
- mdasen 10mo agoHaving clicked on the link, it's one commit with the commit message "wtf" The README also says "License: MIT - Do whatever you want with it (except deploy to production )" It's that perfect level of absurdity that captures so much of the terrible complexity that often happens.
- valiant55 10mo agoThere's a guy complaining that the creator is poisoning the collective code used to train LLMs. If that's all it takes we have a moral responsibility to flood GitHub with garbage.
- pennomi 10mo agoSurely a simple filter by number of stars on a project would improve the quality of code LLMs ingest.
- stefanfisk 10mo agoYou just convinced me to star it. ”I’m doing my part!”
- johnhamlin 10mo agoReminds me of the query methods in Spring Data JPA: https://docs.spring.io/spring-data/jpa/reference/jpa/query-methods.html https://docs.spring.io/spring-data/jpa/reference/jpa/query-m...
- t0mas88 10mo agoExcept that those are serious and work well for a lot of basic queries.
- rglover 10mo agoAnd we wonder why the web keeps breaking...
- gedy 10mo agoI think it's a joke proof of concept
- usernamed7 10mo ago"Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should" -Dr. Ian Malcolm
- kachapopopow 10mo agohopefully 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.
- esafak 10mo agoThe author is on point: "Making AI and blockchain accessible for founders who want to ship fast."
- kachapopopow 10mo agoLuckily this entire thing is a joke.
- bakugo 10mo agohttps://github.com/mmarinovic/tailwindsql/blob/main/.cursor/commands/remove-code-slop.md https://github.com/mmarinovic/tailwindsql/blob/main/.cursor/... You can't make this up.
- crazygringo 10mo agoThat's the funniest thing I've seen this week.
- yousif_123123 10mo agoLicense disallows production use MIT - Do whatever you want with it (except deploy to production )
- crazygringo 10mo agoIt's a joke. The entire thing is a joke :)
- kykeonaut 10mo agoNo no, let him deploy to production.
- postepowanieadm 10mo agoThere 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.
- tacker2000 10mo agoWow holy abstraction! Weird stuff, seems to be vibe-coded using cursor and also the github issues are full of spam.
- deleted 10mo ago[deleted]
- nehalem 10mo agoThe actual disturbing thing is that given Next‘s track record of questionable security architecture, the author felt compelled to make the joke explicit.
- ranza 10mo agoThis gives me Tom's a genius vibes
- ricardonunez 10mo agoThis hilarious. Some people wouldn't know a good joke if it mugged them in an alley.
- lisbbb 10mo agoThat's because most devs are so overwhelmed with having to keep up with XYZ that the joke isn't even funny.
- jasonjmcghee 10mo agoIt's hard to tell these days. Anyone can now say "what if..." And have an agent build something that either looks a lot like (or is) that thing.
- sixtyj 10mo agoOn the Internet, nobody knows you're a dog. The same can be applied to jokes. Almost no one recognizes them :) So authors had to write it at the bottom of the page.
- moron4hire 10mo agoYou can't make jokes like this! Someone is going to take you seriously! Just like what happened with TailwindCSS in the first place!
- lisbbb 10mo agoI 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.
- wmichelin 10mo agoGraphQL and SQL are not comparable or competing technologies. GraphQL is more analogous to a REST API. GraphQL can use SQL under the hood, or you can even hand serve the bytes (tongue in cheek here). It's just an over-the-network protocol to serve data. a Node.JS server might use SQL directly or call out to a GraphQL API, but I literally don't think it's possible to let client-side JavaScript (safely) call a SQL database server directly.
- Yokohiii 10mo agoSo you have no idea about web dev?
- ardacinar 10mo agoGraphQL and SQL are about as related as Java and Javascript
- divan 10mo agoNo LLM Prompts support in className? Useless.
- Starlevel004 10mo agoIt's not really very fun when these joke projects are built by AI.
- bdangubic 10mo agowhy?
- linhns 10mo agoLooks nice but is it vulnerable to injection attacks?
- nine_k 10mo agoIt'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 %)
- victorbjorklund 10mo agoWe have strayed far from God. /jk. Cool project even if I wouldn’t touch this with a pole.
- deleted 10mo ago[deleted]
- hayavuk 10mo agoToo real. Can't laugh.
- maddmann 10mo agoI love how utterly insane this idea is. Sometimes thinking outside the box like this can yield results.
- stanfordkid 10mo agoJust 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?
- morcus 10mo agoI strongly believe it's just a joke > For fun only - don't use in production!
- JodieBenitez 10mo agoIt's the circle of life© https://www.spip.net/en_article2042.html https://www.spip.net/en_article2042.html
- pjmlp 10mo agoLike Tailwind isn't really a sales pitch for many of us.
- _the_inflator 10mo agoI 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.