} ;
ARTICLE: "furnace.auth.providers.couchdb" "CouchDB Authentication Provider"
- { $nl } "The " { $vocab-link "furnace.auth.providers.couchdb" } " vocabulary implements an authentication provider "
+ "The " { $vocab-link "furnace.auth.providers.couchdb" } " vocabulary implements an authentication provider "
"which looks up authentication requests in a CouchDB. It is necessary to create a view "
"associating usernames with user documents before using this vocabulary; see documentation "
"for " { $link couchdb-auth-provider } "."
- { $nl }
+ $nl
"Although this implementation guarantees that users with duplicate IDs/emails"
" cannot be created in a single CouchDB database, it provides so such guarentee if you are clustering "
"multiple DBs. In this case, you are responsible for ensuring the uniqueness of users across "
"databases."
- { $nl }
+ $nl
"Password hashes are base64 encoded."
;
-ABOUT: "furnace.auth.providers.couchdb"
\ No newline at end of file
+ABOUT: "furnace.auth.providers.couchdb"
} ;
ARTICLE: "math-vectors-simd-logic" "Componentwise logic with SIMD vectors"
-"Processor SIMD units supported by the " { $vocab-link "math.vectors.simd" } " vocabulary represent boolean values as bitmasks, where a true result's binary representation is all ones and a false representation is all zeroes. This is the format in which results from comparison words such as " { $link v= } " return their results and in which logic and test words such as " { $link vand } " and " { $link vall? } " take their inputs when working with SIMD types. For a float vector, false will manifest itself as " { $snippet "0.0" } " and true as a " { $link POSTPONE: NAN: } " literal with a string of set bits in its payload:"
+"Processor SIMD units supported by the " { $vocab-link "math.vectors.simd" } " vocabulary represent boolean values as bitmasks, where a true result's binary representation is all ones and a false representation is all zeroes. This is the format in which results from comparison words such as " { $link v= } " return their results and in which logic and test words such as " { $link vand } " and " { $link vall? } " take their inputs when working with SIMD types. For a float vector, false will manifest itself as " { $snippet "0.0" } " and true as a " { $link POSTPONE: NAN: } " literal with a string of on bits in its payload:"
{ $example
"""USING: math.vectors math.vectors.simd prettyprint ;
M: object v?
[ vand ] [ vandn ] bi-curry* bi vor ; inline
-:: vif ( mask true-quot: ( -- x ) false-quot: ( -- x ) -- result )
+:: vif ( mask true-quot: ( -- vector ) false-quot: ( -- vector ) -- result )
{
{ [ mask vall? ] [ true-quot call ] }
{ [ mask vnone? ] [ false-quot call ] }