HN user

Oxryly

240 karma
Posts4
Comments147
View on HN

Very cool. I don't have many Haskell coders where I spend my time, so it is nice to watch how someone with more experience tackles fairly basic programming tasks. The guard window and quickcheck in particular were eye-opening.

It's not so simple. Any language (that is actually implemented) is always designed with regular specific consideration for implementation strategies. In fact I would go so far as to say the implementation is the design in practice.

For example choice of boxing or unboxing values is an integral part of language design and has profound impact on the implementation's performance both for speed and memory usage.

You had me until "somewhat write-only." Sounds like you are poisoning your code-base with square functional pegs in round C++ holes...

Can anyone describe the types of people who bid+pay 5 and 10 thousand dollars for these projects? I can't imagine devoting that much money to a playdate at PAHQ or to hang out for the day with the designer of the OUYA. It doesn't seem like real money at that point but I know these peoples' credit cards will be charged. I don't get it...

Totally sour grapes, but I sure get tweaked when I see people doing cool things with toys that are ostensibly available but that I can't buy yet because...

> With the way things are going, it's almost guaranteed that religious power will be a thing of the past as soon as we can prove other life/civilizations exist besides the one here on Earth.

I'm not so sure about that. Buddhism in particular goes to great length to emphasize it's teachings apply to all sentient beings in all universes past and present. We may be hard pressed to escape it's presumption.

I believe most faiths take a similar approach even if they aren't quite as explicit about it.

More than that, the experience surrounding the purchase decision for the $6 coffee is packed with seemingly reliable indicators of quality. From the neighborhood of the coffee shop to all of the design and decor of the physical place to the menu makeup to the people working there... there is a continual onslaught of conscious and subconscious information that guides one's final purchase decision.

The same is actually true with app purchase, unfortunately much of it negative (people charging real money for buggy crapware and fart apps, apps being poorly designed or full of distracting advertising, the list goes on.)

What chance do you have to bring to bear that same firehose of positive experience as the coffee shop to request $6 from your customer?

Is it possible (and effective) to enlist the services of a debt collection agency in these cases?

Yeah, the registers will only be faster than manipulating some sort of bool array. Reading the original string (with associated cache stalls) will certainly be necessary.

Early termination is the biggest advantage of the array version. The 32-bit mask is probably the fastest possibility since it will reside in a register.

Even faster is to fill a 32-bit mask with "seen" characters for each string. AND them together and compare result to the mask from the second string.