More specifically — assuming the rules were the same as for the first such workshop, linked in the article — "women were automatically allowed to apply for a spot, while men were allowed to apply if they knew a woman who was going to attend."
I do dislike people calling that expression a "regex", because it isn't: regular expressions cannot contain backreferences, and must be computable in linear time, whereas primality tests are polynomial.
I agree more with philh's response that there is no alternative term for the true meaning of "regular expression" — a regular language, as suggested by _delirium, is not the same thing.
I suppose I could accept "regex" as not being a regular expression as such, but the two are used so interchangeably that maintaining a distinction isn't very realistic. I'd personally rather a regular expression described a regular language, and "PCRE" (or so) used for the Turing-complete expressions with a similar syntax.
I'm not a big fan of your explanation. To be more precise, true "regular expressions" are computationally equivalent to deterministic finite automata, which indeed can test an n-character string in O(n) time.
It's PCRE (Perl Compatible Regular Expressions) which is one of the most popular dialects of regex. But AFAIK there's isn't a hard and fast RegEx standard.
"the Kindle still lacks hyphenation but yet insists upon full-justified text. Full justification without hyphenation inevitably results in unsightly gaps between words on a few lines each page."
On my Kindle, at least, words seem to be separated at most 1 em, and any more and they go 'ragged right' instead of hyphenating — which I actually found far more pleasant than even Liang's LaTeX hyphenation algorithm in terms of readability.
Looking at my Kindle Keyboard, I have one book (Moonwalking with Einstein) that is ragged-right and another (On Intelligence) that is full justified. Perhaps it's the formatting of the e-book and not the device?
I think it's an option that the publisher can control if they wish. In theory this is good, in reality it probably means it gets turned on or off randomly depending on which intern converted books today.
In the ebook's HTML, you can specify the text-align CSS attribute. If not specified, I believe the Kindle defaults to justify, and the Nook defaults to left-align. So books you read on the Kindle that are left-aligned (ragged right) probably have specified that in their CSS.
The second of those is interesting. Most of the lines are right-justified, and just a few aren't. It looks to me as if it's right-justified the lines except for when it can't do so without introducing an unbearable amount of whitespace, in which case it's fallen back to ragged-right.
(You can see it isn't just ragged-right where most of the lines happen to end in the same place; compare the spacing on, e.g., the first two lines.)
I don't think I've ever seen anything typeset that way before.
I think the reason you've not seen anything typeset that way before is because it's ridiculous to do it that way! You end up with an awful mix of fully justified and ragged-right... to my eye this makes me expect new paragraphs where there are none, for example.
It's such a shame that Amazon just doesn't seem to care about good typesetting practice. It's maybe just not something Amazon views as a "barrier to sale", but as Gruber says, the Kindle only has to do one thing well, so why shouldn't it do it fantastically well?
The justification in On Intelligence is what I'm talking about wrt words being "separated at most 1 em." Contrary to what Gruber says, there are no "unsightly gaps between words" because there is a maximum distance of 1 em between words, after which it favours ragged right.
Sorry for the nitpick, but that's not really "base 1".
It is "unary", which is completely different encoding than the "positional notations" such as decimal, octal, binary, etc. The positional notation doesn't work with base 1, as in that notation there would be only 0, and 0, 00, 000, etc., which all mean the same number: zero.
To dig in a little further, when we say base N, we mean that we are expressing an integer as a sum of the values N^i (for i being every nonnegative integer), each multiplied by a weight that is an integer between 0 and N-1 inclusive.
Why do we do this? Because every integer has exactly one unique representation in this system. We could have picked any values we wanted for the places (rather than N^i) but unless we pick carefully, either some numbers aren't representable, or some numbers have multiple representations.
Base one has a problem right from the start, which is that 1^i = 1 for any value of i - when all places have the same place value, numbers aren't going to have a unique representation. The other problem is that the only number you can write in base one is zero, because the only possible weight (the only integer between 0 and N-1) is 0.
When you write 1111 = 4 you are sneakily using the length of the number on the page to encode the value. The length of the number on the page isn't supposed to matter. In base 10, 17 = 017 = 0017 = 00017.
"When you write 1111 = 4 you are sneakily using the length of the number on the page to encode the value. The length of the number on the page isn't supposed to matter. In base 10, 17 = 017 = 0017 = 00017."
I couldn't find a rigorous definition of a base system offhand. If you require that number N prepended with additive identity I, so IN = N, I agree with you. But every number in the system I described certainly has a unique representation. Also, this is incorrect:
"The other problem is that the only number you can write in base one is zero, because the only possible weight (the only integer between 0 and N-1) is 0." Try taking a look at:
http://en.wikipedia.org/wiki/Peano_arithmetic
I think it would be much more inviting if you could at least search for people without having made an account. As it stands I have no idea what kind of people I could talk to, so I have no idea if it would be worth giving up my email address.
Edit: Interesting idea, though. With social networks like Facebook you really need to have met in order to befriend — it doesn't encourage random meetings. When I was younger I would find likeminded people by chance on odd websites; I think that's become harder as I've grown older.
Yes, I understand your point. I didn't want to share the user profiles with non-users. I also haven't looked into how easy it would be to harvest profile pictures and profile data. Any thoughts on this?
"I didn't want to share the user profiles with non-users."
And yet, if someone wants to harvest profiles, they'll just sign up with a fake/throwaway email address, while legitimate users have to give up real information to do the same.
Perhaps you could only share a limited amount of information to non-users, like the topics they'd like to talk about, and an "about you" or something. Just enough to catch one's interest.
Interesting idea. If one doesn't want to leak any profile information, one could only show the number of results to non-users but not the actual profiles.
Of course, it's very hard to prevent any malicious use of the profile data.
These are all completely obvious — idea 2, though, only in retrospect. For a long while I've wondered about how to combine path editing with hyperlinks. Numerous browser extensions have tried various methods: mode toggling, modifier keys, the direction whence came focus, and so on.
The OP's approach is perfect: always navigate to wherever the caret is placed. I would personally drop the ugly gradients in favour of hyperlink-style underlines, but seriously, thanks for an elegant solution to a simple problem.