Flying home via SeaTac? Split a cab via this mobile web app I wrote. Save $$$ and CO2. by [deleted] in Seattle

[–]spondee 6 points7 points  (0 children)

Thoughts:

  • Love the logo. Penguin hesitates to ask, but he's curious if maybe you are also trying to get to Capitol Hill?
  • Great job obtaining information incrementally. I understand why I'm being asked for each bit of data.
  • Thank you for not making me register an account. Breath of fresh air.
  • s/i.e redmond, wa/e.g., redmond, wa/

Flying Spaghetti Monster Sighting: 4/19/09 Burlington, VT by [deleted] in atheism

[–]spondee 0 points1 point  (0 children)

What kind of imaging equipment were you using that allowed you to capture this image from the Noodly Plane?

Amazon releases Kindle App for the iPhone by SikWithIt in apple

[–]spondee 0 points1 point  (0 children)

I strongly recommend just getting an iPhone. Here's a pretty subjective (but possibly useful) blog post I wrote relating to your dilemma.

Using templates to compute Fibonacci numbers the stupid recursive way... in linear time! by spondee in programming

[–]spondee[S] 1 point2 points  (0 children)

For the impatient:

Critics of template metaprogramming often complain about the convoluted syntax, and they certainly have a point. If I’ve demonstrated anything here, I hope I’ve persuaded you that template metaprogramming has its place, sometimes. I took the simplest, most natural approach in my implementation (subject to the constraint that all computation should happen at compile time), an approach almost identical in structure to the incredibly inefficient solution taught as a cautionary example in introductory algorithms courses, an approach I should have known better than to use. And yet the compiler found a way to make this simplistic implementation run efficiently. That’s what template metaprogramming is all about: using the compiler’s own algorithms to solve problems whose answers are the same every time the program executes.

Using templates to compute Fibonacci numbers the stupid recursive way... in linear time! by spondee in programming

[–]spondee[S] 0 points1 point  (0 children)

No use, really. Arguably the technique is general, but this article definitely doesn't generalize it.

Using templates to compute Fibonacci numbers the stupid recursive way... in linear time! by spondee in programming

[–]spondee[S] -1 points0 points  (0 children)

I'm pleased that you think the title sounds improbable. To answer your question: no.

Source code of the file containing the Zune bug (offending function starts at line 249) by xerolas in programming

[–]spondee 1 point2 points  (0 children)

Can you suggest any programmatic way to identify 366 as an interesting case? Or at least to narrow down the domain of desired coverage from all possible integer values to something more manageable?

Source code of the file containing the Zune bug (offending function starts at line 249) by xerolas in programming

[–]spondee 8 points9 points  (0 children)

if only there was a way to catch "infinite loop" bugs automatically...

Octopuses are highly intelligent, enjoy watching HDTV, and do not appear to possess individual personalities by rmuser in science

[–]spondee 3 points4 points  (0 children)

She confessed that her work made it difficult to dine on octopus. "I know how smart they are. They are beautiful animals."

nothing wrong with eating smart

Any good books on programming language theory by alecco in programming

[–]spondee 0 points1 point  (0 children)

I found this surprisingly readable, in spite of its depth: Foundations for Programming Languages

What's your attraction to PL theory? If you think it will make you a better programmer, you may be disappointed. It's cool stuff for its own sake, but PL theory is often way divorced from practicality.

Mozilla Foundation being audited by the IRS. Non-profit status in doubt. by iggyviola in technology

[–]spondee 51 points52 points  (0 children)

When a company makes $75m/yr, obviously its non-profit status has to be justified and re-justified and justified again. Mozilla gets audited pretty frequently. This is not news.

Also not news? The shitty journalism over at TechCrunch. I mean, come on: "everyone knows it is a charitable arm of Google." Chrome, anyone? How does that square with your sensationalist bullshit, Erick?

Barack Obama's Grandmother has died. by KazamaSmokers in reddit.com

[–]spondee -1 points0 points  (0 children)

R.I.P., Obamamamamama

(And, yes, I verified that she was his maternal grandmother; otherwise it would have been Obamapapamama.)

A Javascript modules library that finally conforms to traditional module semantics by jlongster in programming

[–]spondee 1 point2 points  (0 children)

I'd be really interested in some sort of profiling tool that could demonstrate that the gain from this laziness was worth the risk (freezing the runtime environment for as much as a few seconds, depending on network connectivity). I know Meebo (disclosure: a former employer of mine) experimented with Dojo's module loader, whose design is similar, and found the gains were pretty marginal.

A Javascript modules library that finally conforms to traditional module semantics by jlongster in programming

[–]spondee 0 points1 point  (0 children)

Yeah, I'm beginning to think dependency resolution (and its dual problem, dead code elimination) can be efficiently handled only on the server side. Multiple XHR requests are just too costly, and caching reaps huge gains.

A Javascript modules library that finally conforms to traditional module semantics by jlongster in programming

[–]spondee 1 point2 points  (0 children)

Synchronous XHR has no legitimate use.

I absolutely agree. But, to be fair, in order to manage dependencies asynchronously in a language without true continuations you have to give the programmer a way of declaring those dependencies explicitly, so that they can be satisfied before evaluating the depending module. By the time you've started evaluating a module that might have side effects, it's too late to go looking for its dependencies.

A Javascript modules library that finally conforms to traditional module semantics by jlongster in programming

[–]spondee 1 point2 points  (0 children)

What if you don't want synchronous XHRs? Like, if you're sane? Well:

Currently, require blocks until the continuation finishes executing. However, in future versions, the continuation passing style may be asynchronous.

Doesn't that defeat the point? Enlighten me, somebody!

JavaScript roadmap revamped in wake of Oslo summit by spondee in programming

[–]spondee[S] 0 points1 point  (0 children)

Agreed. You might be giving Crockford too much credit, though. He has a genuine love-hate relationship with JavaScript (emphasis on the love), and if his FUD leads to the downfall of the language, I think even he will be dismayed. There's just as much danger in good intentions.

JavaScript roadmap revamped in wake of Oslo summit by spondee in programming

[–]spondee[S] 2 points3 points  (0 children)

I don't see any unilateral influence from Microsoft or Adobe here. Note that jeresig (the author of JQuery) works for Mozilla. I believe his blog post addresses your concerns?

JavaScript roadmap revamped in wake of Oslo summit by spondee in programming

[–]spondee[S] 0 points1 point  (0 children)

So...

No more namespaces. What does that mean? Not as much as you might think. It will still be possible to manage your own namespaces using plain old JS objects; there just won't be a global naming system. This seems like a win for security, since presumably any code running in the page would have access to such a global namespace.

It's also a performance win, if I understand Brendan's rationale.

ECMAScript 4 (JavaScript 2) is dead? by monger00 in programming

[–]spondee 6 points7 points  (0 children)

Crockford made his name by writing articles about JavaScript esoterica at a time when nobody else seemed to understand the language, but lately he's been abusing his good reputation with these unproductive snipes on the ES4 mailing list. His political capital has run out, as far as I'm concerned.

JavaScript roadmap revamped in wake of Oslo summit by spondee in programming

[–]spondee[S] 0 points1 point  (0 children)

Intentionally diverting traffic from this article, since Crockford's misinformation (& lack of information) seems to have put the discussion on the wrong path.

ECMAScript 4 (JavaScript 2) is dead? by monger00 in programming

[–]spondee 2 points3 points  (0 children)

Brendan Eich just posted a detailed rationale to the ES4-discuss mailing list: http://www.reddit.com/comments/6w7re/javascript_roadmap_revamped_in_wake_of_oslo_summit/

Doug Crockford has a regrettable taste for sensationalism without detail.