gwilliams's comments

gwilliams | 6 years ago | on: The vast but little-known fund of the Mormon Church

That could hardly be farther from the truth.

The church does have extrabiblical volumes of scripture, which also testify of Christ and go into more depth, but every doctrine of the church is in harmony with the Old and New Testaments. Members believe it is only by faith in Christ and by good works that they can be saved.

gwilliams | 6 years ago | on: Screen Art: Wargames (2010)

From IMDB:

"The computer name WOPR used in the movie was a joke based on a real computer once used to predict war strategies at NORAD which was called "BRGR". The Burger King "Whopper" is a "Burger"."

gwilliams | 7 years ago | on: Ask HN: What's your favorite elegant/beautiful algorithm?

icgrep (http://www.icgrep.com) has a clever approach to searching text for arbitrary sets of characters in a parallel manner. If 128-bit registers are available and we're processing 8-bit characters (for example), the next 128 characters from a file are first loaded into 8 SIMD registers. Then a bitwise transposition is performed so that r0 contains bit 0 of each input character, r1 contains bit 1, etc., up to r7. Then with a series of logic operations across those registers (imagine the sum-of-product result of a k-map of characters of interest), searches for any arbitrary subset of characters can be performed in parallel, leaving 1s in the corresponding position of the result register for each match and 0s elsewhere. icgrep supports full regex patterns and Unicode (using 21 registers instead of 8), but what interests me are the elegant transpose and logic steps.

gwilliams | 15 years ago | on: How To Make Any 3rd Grader Love Math

This would be a bit more fun with word problems involving the time turner, potions, etc.

"Fluffy has three heads, and each head can eat two bowls in a sitting...how many bowls should Hermione fill to satisfy him?"

page 1