Sam Warfel Posted November 18, 2021 Share Posted November 18, 2021 So some time ago I noticed this forum has a very cool feature whereby it detects common space weather-related acronyms in text (CH HSS), and underlines them and when you hover over them, it shows what they mean (Coronal Hole High-Speed Stream). This is a super useful feature for making this jargon-filled discipline more accessible! However, I noticed two acronyms that aren't in the filter, and maybe should be. One is CIR, or Co-rotating Interaction Region. There was some talk about this when one hit Earth the other day, and I noticed the code did not include this as one of the acronyms with names. I thought this was too bad, because I had forgotten what CIR stood for and wanted to find out, so I had to google it instead of the handy little name. It seems like this would be a good acronym to add because it's about space weather, and it's a little more unusual, increasing the odds someone might not know what it meant. The second is just SWL, our own SpaceWeatherLive. I noticed SWPC for example is in the filter, but SWL is not. I have used the acronym myself a number of times, and thought it would be nice if it had the little pop-up name. Just my two cents. 1 Link to comment Share on other sites More sharing options...
Solution Vancanneyt Sander Posted November 18, 2021 Solution Share Posted November 18, 2021 Thanks for the suggestions! We’ve added the two acronyms ☺️👍 3 Link to comment Share on other sites More sharing options...
Sam Warfel Posted November 20, 2021 Author Share Posted November 20, 2021 @Vancanneyt Sander I noticed in that recent post about L1 spacecraft that STEREO doesn’t have an explanation, although all the other ones do. 1 Link to comment Share on other sites More sharing options...
Vancanneyt Sander Posted November 20, 2021 Share Posted November 20, 2021 STEREO has been added ☺️ 1 1 1 Link to comment Share on other sites More sharing options...
Sam Warfel Posted January 18, 2022 Author Share Posted January 18, 2022 Although SC is a recognized acronym, when merged with a number without a space (as I think we often do) it does not recognize it. As in SC25, etc. Worth fixing? Link to comment Share on other sites More sharing options...
Drax Spacex Posted January 18, 2022 Share Posted January 18, 2022 With the regular expression wildcard match you could do this, but would you really want to (or need to)? If you search for AR2929 would you expect to get a match to Active Region? If you search for -CH44 Would you expect to get a match for Coronal Hole? Probably not. If a person types in SC25 and doesn't get a match they could reasonably reduce the search to just SC. And then they can deduce, presumably, that SC25 refers to Solar Cycle 25. When there is a question whether the computer should be presumed to be smarter than the person or vice versa, I would side with the person being smarter. Link to comment Share on other sites More sharing options...
Sam Warfel Posted January 18, 2022 Author Share Posted January 18, 2022 3 minutes ago, Drax Spacex said: With the regular expression wildcard match you could do this, but would you really want to (or need to)? If you search for AR2929 would you expect to get a match to Active Region? If you search for -CH44 Would you expect to get a match for Coronal Hole? Probably not. If a person types in SC25 and doesn't get a match they could reasonably reduce the search to just SC. And then they can deduce, presumably, that SC25 refers to Solar Cycle 25. When there is a question whether the computer should be presumed to be smarter than the person or vice versa, I would side with the person being smarter. Fair enough. Link to comment Share on other sites More sharing options...
Drax Spacex Posted January 18, 2022 Share Posted January 18, 2022 That said it, if the purpose of adding SC25 is to provide a "hook" that would bring web searches of SC25 to spaceweatherlive, that might be a good reason to add it to the acronym list. My knee-jerk response was based on the point of view of a programmer to avoid special cases which could create spaghetti code and make software maintenance down the road more difficult. Whatever Mr. Sander wants to do - I believe he's the one who's doing the programming and has been for decades. He is what we used to call a "Hero Programmer" back in the day. Link to comment Share on other sites More sharing options...
Vancanneyt Sander Posted January 18, 2022 Share Posted January 18, 2022 4 uren geleden, Drax Spacex zei: Whatever Mr. Sander wants to do - I believe he's the one who's doing the programming and has been for decades. He is what we used to call a "Hero Programmer" back in the day. woohoo i'm a hero SC24 SC25 or SC26 3 Link to comment Share on other sites More sharing options...
farm24 Posted January 18, 2022 Share Posted January 18, 2022 also i noticed that if someone uses an acronym that wasn't added when they used it but then it was added, it doesn't get highlighted like normal. like when Orneno said 11 hours ago, Orneno said: As in SC25, etc. but now when i quoted it it got highlighted Link to comment Share on other sites More sharing options...
Vancanneyt Sander Posted January 18, 2022 Share Posted January 18, 2022 1 uur terug, farm24 zei: also i noticed that if someone uses an acronym that wasn't added when they used it but then it was added, it doesn't get highlighted like normal. like when Orneno said but now when i quoted it it got highlighted That would require a rebuild of all posted topics and reactions. Link to comment Share on other sites More sharing options...
Solarflaretracker200 Posted January 18, 2022 Share Posted January 18, 2022 2 minutes ago, Vancanneyt Sander said: That would require a rebuild of all posted topics and reactions. I bet that would take an eternity to get back (not actually but you get the point Lol) Link to comment Share on other sites More sharing options...
farm24 Posted January 18, 2022 Share Posted January 18, 2022 4 minutes ago, Vancanneyt Sander said: That would require a rebuild of all posted topics and reactions. i assume its because it marks and highlights it when you submit your comment and if it is that way they you would basically have to delete and submit all comments again Link to comment Share on other sites More sharing options...
Sam Warfel Posted January 18, 2022 Author Share Posted January 18, 2022 4 hours ago, Vancanneyt Sander said: woohoo i'm a hero SC24 SC25 or SC26 Thanks Mr. programming hero! Link to comment Share on other sites More sharing options...
Vancanneyt Sander Posted January 18, 2022 Share Posted January 18, 2022 1 uur terug, farm24 zei: i assume its because it marks and highlights it when you submit your comment and if it is that way they you would basically have to delete and submit all comments again Yes, if we would do it on every page load, it would make the site slower to replace all words. That’s why it’s only done when submitting content. We like to keep things speedy 😇 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now