Hacker Newsnew | past | comments | ask | show | jobs | submit | commotionfever's commentslogin

this isn't how Tailwind is supposed to be used. you abstract at the level of components, not class names. <Button /> instead of <button class="btn">

then, inside your Button, you get a small bit of markup and your class names. makes it easy to see which markup gets which styles

that's also why the other discourage use of @apply, and why "ugly HTML" is rarely am issue. at least not in my experience

---

that said, if you're using Tailwind in an environment where there's no components, fragments, partials, whatever - then this might make sense


> why "ugly HTML" is rarely am issue. at least not in my experience

Fascinating, 5/5 Tailwind projects I have ever used, from YC companies to multibillion dollar private companies have had "ugly HTML". Not every single HTML element is a component, and top levels of components still need to by styled using tailwind's long lists of classes.


since you mention Picard and wanting contribute to MusicBrainz. I'm working on a new fast tagger[1] in the spirit of Picard or beets. Just a little different and more scriptable

It makes it's best attempt to match with MusicBrainz, but if there's no match it it offers links to pre-seed MusicBrainz with tools like Harmony

https://github.com/sentriz/wrtag


Harmony (https://harmony.pulsewidth.org.uk/) is amazing, and completely changed my relationship with MusicBrainz.

What are you using for tag reading/writing in Go? Robust, complete options are non-existent in JavaScript land (Deno, Bun, Node, etc.), so I ended up creating a Wasm version of TagLib with a TypeScript API.


haha that's funny! I made a WASM TagLib for Go

https://github.com/sentriz/go-taglib


Cooool, I love that you arrived at the same conclusion! Mine's not ready for its ShowHN, but as an enthusiast, I'm super-excited to dig into yours. Very nice work!


Hi all, I've been working on a new suite of tools for music managment. I've you've used beets.io or Picard, you get the idea. They are great tools but for me were not fast enough and hard to grasp. wrtag is fast enough that the filesystem can be the source of truth, so no need for a sidecar database which can get out of sync

it also includes a web interface to manage imports from external sources.

Hope you like it


Hi all,

I've been working on a new suite of tools for music managment. I've you've used beets.io or Picard, you get the idea. They are great tools but for me were not fast enough and hard to grasp. wrtag is fast enough that the filesystem can be the source of truth, so no need for a sidecar database which can get out of sync

it also includes a web interface to manage imports from external sources.

Hope you like it


maybe they are encouraging users to ask the same questions, in order to increase cache hits and reduce load on their systems


This was my thinking as well. Also if they have metrics that show the top suggestion is picked 90% of the time after x characters (or even user based metrics like Bob always picks the top suggestion after 10 characters), then they can preemptively generate the response to the top suggestion leading to near instant feeling responses.


Looks like that app may have a backdoor https://x.com/d0tslash/status/1878959715033694492


The backdoor named "backdoor", the l33t h4ck3rs strike again.


If it's for spying on Chinese people inside Chinese territory, there wouldn't be any need to hide it.


Nah, I don't buy it. Chinese as plenty of programmers who can read code as well as you. This dude is literally dumping symbols. There's no proof that it's actually a backdoor.


And those Chinese programmers can't talk to anybody about what they find.


It has been under heavy scrutiny by the security community for years, it would have already been found had it existed.


Running strings for “backdoor” isn’t quite top-notch technical analysis.


Quite plausible. To what extent can a backdoor escape Android/iOS sandboxing?


> To what extent can a backdoor escape Android/iOS sandboxing?

Chances of that happening are close to 0.


it should do. on Linux it uses GTK which supports Wayland these days


jquery isn't on that list


Technically, when you use Vanilla JS these days, it is mostly like jQuery since most if not all things have been migrated from jQuery to Vanilla JS :)


I agree. I made a tool for this which can do x2y where x or y can be any of json, yaml, toml, ini, xml, html, csv, tsv

it's great for converting nearly any format to json for querying or transforming with jq

https://github.com/sentriz/rsl/



Good, but it doesn't really feature the technique described in the original comment.


you're right, i just really like this track :~)


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

Search: