6 ms·
Clearly they should have optimized this by stripping the @mail.mcgill.ca on the server side before serving the list.
by Zikes 13y ago
Clearly they should have optimized this by stripping the @mail.mcgill.ca on the server side before serving the list.
- mmariani 13y agoClearly you must be joking. They should've kept the emails on the server-side the entire time. Then would be a matter of validating the request by searching the email in let's say SQLite. Would it be done? Probably not. But at least it'd be a lot stronger than sending sensitive data to clients every damn request.
- banachtarski 13y agoYou're missing the sarcasm :P
- mmariani 13y agoUnless it's clearly stated sarcasm gets garbled over the wire. So in the hope of helping those who don't get it I decided to do the right thing just to be on the safe side. ;)
- PakG1 13y agoOh come on, then sarcasm loses its humor. Anyone who didn't get it the first time probably falls into the same category of developer that is being criticized here. :P
- biot 13y agoFrom now on, when you see a post taking the form "Clearly [obviously bad idea]", please read it out loud in The Simpson's Comic Book Guy voice and place extra emphasis on the irony. This ensures you will get the correct intent 99% of the time.
- saiko-chriskun 13y agowooooow
- taspeotis 13y ago> mmariani 41 minutes ago | link > Clearly you must be joking No shit.
- ArbitraryLimits 13y agoYou know, for all the ridiculousness of this code, at least it actually performed its function correctly, i.e. it would correctly identify all McGill email addresses. From the title I was expecting another multi-page regexp.
- pavel_lishin 13y agoUnless a new user was added after that page was loaded.
- deleted 13y ago[deleted]