Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
Light bulb sockets are the same all over. RJ-45 Ethernet, USB-C, Bluetooth, WiFi, TCP, HTTP, HTML, CSS.
While light bulb sockets don't change much from region to region, they definitely aren't all the same. For the bulbs (not the bars), there's two large categories: Edison screws and bi-pin. Edison screws also come in a lot of sizes. When compact fluorescents were rolling out, they got a new bi-pin connector from the USA: GU24. My whole home has GU24 fixtures (not by my own choice), but my lamps are Edison screws.
Thank you for teaching me how to replace my porch light (ONLY MY PORCH LIGHT?!?!) that's been out for over a year. I tried to pull the bulb out and it shattered in my hands. I was like WTF is this shit? Haven't touched it since.
GU24 is wack, especially for home lighting. I think they aren't made much anymore.
It was a pain to find gu24, I had to order them online for two rooms
Include car cigarette lighter power ports
Gonna have to disagree with you there. Try using a USB-C data cable to charge a device. Now try figuring out which cable out of five is the charge cable.
Those aren't different standards, they're just different USB-C cables. It's like saying light bulb sockets aren't a unifying standard because there's different bulbs with different wattages. The fact that all those cables work over the same standard is an example of how ubiquitous the standard is. That said they should be labeled better, like how USB3 was color coded blue; each cable could have a color strip to distinguish it.
Shouldn't being able to identify which cable is used for which application be part of a standard?
You brought up light bulbs- imagine if they didn't tell you the wattage? But they do. They print it right on the bulb.
I agree with you, but I don't think that makes it a poor example; those different cables aren't competing standards, they're different types of USB-C cables. They should absolutely label the cables though, big oversight on the standard there.
It seems a lot of sites these days are actively hostile towards the HTML-CSS combo.
What do you mean? Do you have any examples?
Not really. I guess Google search requires JavaScript now.
HTML CSS and JavaScript each having different syntax is stupid and I will die on that hill.
Just use React or something, you can use a single syntax for all three. It makes total sense why the syntax is different if you think about when and why they were made. We had HTML for years before CSS, and it was longer still until we got JavaScript. Each language has a different purpose, so naturally a different syntax makes sense. Your hill is poorly defended.
In that case on general programming language should have taken over instead of trying to merge all three. Especially CSS, which in its infinite intelligence decided to use the minus operator instead of underscore, is completely out of place. Everything is jank and you can tell it has been patched together with duct tape.
Idk, I like CSS, but I come from a web development background. Modern JS (ES4+) is fully capable of replacing CSS using the style property.
JSX is sort of like a singular language to do all three.
HTML isn't perfect, but I can't think of a better language for writing documents. TEX is unintuitive, PDF is opaque, markdown is just HTML shorthand.