News for hackers. Stuff that matters.

Oxryly

I mentally cross out the "not" and the "un" or "in"; then it reads correctly.

e.g.:

  "not uncommon" becomes
  "      common"
Re:Haskell Live: A Live Coding Adventure on Tuesday July 31, 2012 @12:03PM (#4317922)
Seconded. Devote a short episode to tools, but don't mix the tools and programming too much.
Re:Haskell Live: A Live Coding Adventure on Tuesday July 31, 2012 @12:02PM (#4317917)
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.
Re:Are functional languages inherently slow? on Thursday July 26, 2012 @12:55PM (#4297051)
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.

Re:Even experts get it wrong on Tuesday July 24, 2012 @10:13AM (#4285750)
IANAL, so isn't one of the counterparts to intent in law negligence?
Well good on you taking a reasoned but unpopular position. I agree that the description of the events seems to leave out a bit, particularly the emotional content of the interactions. The rig does look intimidating and I'm not sure how I'd react in person.
Re:The Functor Pattern in C++ on Monday July 16, 2012 @08:23PM (#4253447)
You had me until "somewhat write-only." Sounds like you are poisoning your code-base with square functional pegs in round C++ holes...
Re:Penny Arcade Sells Out on Tuesday July 10, 2012 @09:46PM (#4227294)
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...
Re:2012 Submarine Cable Map on Monday July 09, 2012 @09:01PM (#4221434)
I'll bet those tires were purchased brand new...
It took me awhile to figure out what this is. Jeff Wofford has cloned IGN's article and made small but important changes as way of giving IGN some of the medicine they are recommending for others.
Re:A Raspberry Pi (VAX) Cluster on Monday June 11, 2012 @06:55PM (#4097530)
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...
Re:A Codewalk for Arc3's first-class(runtime) macros on Tuesday May 29, 2012 @07:07PM (#4040467)
One difference is that macros (whether run-time or compile-time) use a call-by-name evaluation strategy. Hence they are a form of lazy evaluation. Functions (in scheme and lisp) are call-by-value IIRC.
Re:The frequent fliers who flew too much on Monday May 07, 2012 @05:36PM (#3941076)
Nordstrom offers unlimited and lifetime exchanges for cash. It appears to work well (overall) for them.
Not to mention the Pop Chips bags...
Re:Parents: Read the damn box on Monday April 16, 2012 @02:24PM (#3848598)
> 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.

Hopefully it'll eventually become a computer with no screen or keyboard, just a big red button which turns the thing off. I'd buy that.
I doubt it's too gory... its probably just that "hitting pause" would pause whatever is deciding to put the block of text up so it would never go away...
Anyone else feel that there's an overwhelming sense of entitlement to the fruits of the pharmaceutical companies efforts?
Re:Anatomy of a Crushing on Wednesday March 09, 2011 @02:31PM (#2306029)
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?

Re:HH Dalai Lama: Countering Stress and Depression on Thursday January 13, 2011 @07:39PM (#2101989)
I don't know much about it, but I believe it is called lojong (http://en.wikipedia.org/wiki/Lojong).
Re:Begging for Your Pay on Thursday December 16, 2010 @06:23PM (#2014338)
Is it possible (and effective) to enlist the services of a debt collection agency in these cases?
I was one month away from starting college, and a month away from discovering that there were computers in the world that were permanently connected across vast distances (didn't require modems and dialing up over phone lines). That first instant telnet to a system 500 miles away = blown mind.
> "It certainly would not be a detonation that would level a neighborhood," Newman said.

Oh those words would be terrible indeed to rue...

Re:A Google Interviewing Story on Sunday November 21, 2010 @07:46PM (#1928360)
If you're marking used letters in a mask, why sort first?
Re:A Google Interviewing Story on Sunday November 21, 2010 @07:44PM (#1928356)
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.
Re:A Google Interviewing Story on Friday November 19, 2010 @08:40PM (#1923558)
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.
Re:A Google Interviewing Story on Friday November 19, 2010 @08:37PM (#1923544)
I was assuming a 26 letter alphabet. At that point the shifting, anding and comparing would take place in registers.
Re:A Google Interviewing Story on Friday November 19, 2010 @07:45PM (#1923427)
Yeah, I don't get the interest in this answer. It's neat-but-useless.
Re:A Google Interviewing Story on Friday November 19, 2010 @07:34PM (#1923394)
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.

Older »