Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register
  • Want to remove ads? Register an account and login to see fewer ads, and become a Supporting Member to remove almost all ads.
  • The final cut of TMC Podcast #27 is available now with topics time-stamped. We discussed: Consolidation in LiDAR manufacturers; Volvo EX90 shipping with LiDAR; FSD Beta Full Release in N.A.; FSD detecting autopilot cheats, Gwen Shotwell directly overseeing SpaceX Starship; and more. You can watch it now on YouTube. We should have it published to podcast networks shortly.

Nerd humor

ecarfan

Well-Known Member
Moderator
\s in a regular expression matches any white space.
Okay thanks. Could you please use non-programming words to explain “\sX” to me?

Does “X” stand for “SpaceX”?

If so, does “\sX” translate to “Everything is about SpaceX” or something similar?

While I’m not a programmer, I can still enjoy things like xkcd.com but I’m not grasping Bruce’s intended meaning of “\sX”.
 
Last edited:

bmah

Moderator, Supercharger Hunter
Global Moderator
Mar 17, 2015
5,188
11,339
Lafayette, CA, USA
While I’m not a programmer, I can still enjoy things like xkcd.com but I’m not grasping Bruce’s intended meaning of “\sX”.

You could pronounce "\sX" as "space X" (although a couple of other people upthread suggested regular expressions that might be a better fit).

It wasn't my joke for the record....came from one of my coworkers who is a SpaceX enthusiast.

Bruce.
 

ecarfan

Well-Known Member
Moderator
You could pronounce "\sX" as "space X"
Okay...I guess I need to Google what a “regex puzzle” is so I can get the joke...
I've been doing a lot of regex puzzles lately and watching space stuff. Was thinking about having a "\sX" shirt made.
So I went to Regex Crossword and now have to try doing a puzzle tonight.
 

wdolson

Well-Known Member
Jul 24, 2015
9,066
18,630
Clark Co, WA
Okay thanks. Could you please use non-programming words to explain “\sX” to me?

Does “X” stand for “SpaceX”?

If so, does “\sX” translate to “Everything is about SpaceX” or something similar?

While I’m not a programmer, I can still enjoy things like xkcd.com but I’m not grasping Bruce’s intended meaning of “\sX”.

The programming language C and Unix (Linux is essentially a clone of Unix) evolved together and both use regular expressions. You might use something like \s when searching for any white space character (tab, space, etc.) in a string. \sX would technically translate to "white space X", but could translate to SpaceX too. @thecloud above did SpaceX in ASCII (in hexadecimal using C and C++ format).
 

bxr140

Active Member
Nov 18, 2014
3,301
5,608
Bay Area
Not related to the subject post in anything but spirit, this gave me a chuckle yesterday. Comes from a rando buzzfeed.

73319551-CAAC-4E63-9055-7CF76DC8D98C.jpeg
 

adiggs

Well-Known Member
Sep 25, 2012
5,908
21,280
Portland, OR
  • Funny
Reactions: wdolson and bxr140

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top