News for hackers. Stuff that matters.

nothingmuch

Re:Violins "go to sleep" if not played for a long time ... on Sunday November 22, 2009 @10:56AM (#955823)
A vibrator has a pretty good form factor for insertion into a loaf of bread =)
Re:Violins "go to sleep" if not played for a long time ... on Sunday November 22, 2009 @07:55AM (#955687)
.oO( a breadbox with speakers inside it to keep bread fresh )
Re:Functional programming and unreasonable expectations on Thursday November 19, 2009 @01:06PM (#950696)
Exactly.

It's funny how commenters keep clinging to Erlang as if I said it was purely functional, when I'm actually talking about writing purely functional Perl (and to the extent that it's possible, C).

Oh well.

Re:Poll: Erlang Innards Better? on Thursday August 20, 2009 @08:25PM (#776715)
plz delete
Re:Poll: Erlang Innards Better? on Thursday August 20, 2009 @08:25PM (#776713)
I MEAN ERLANG HAHA LOL:

my website: http://www.erlang.ewebsite.com/page/erlang

Re:Poll: Erlang Innards Better? on Thursday August 20, 2009 @08:25PM (#776712)
ERLAGN!
Re:Perl Cannot Be Parsed: A Formal Proof on Thursday August 13, 2009 @08:26PM (#762074)
Interestingly, C suffers from a somewhat similar ambiguity, where not the results of runtime-at-compile-time but rather type definitions affect the parsing.

http://calculist.blogspot.com/2009/02/c-typedef-parsing-prob...

Re:Perl Cannot Be Parsed: A Formal Proof on Thursday August 13, 2009 @08:22PM (#762067)
There's nothing preventing symbol table modifications done by Perl modules at compile time to be reified into some sort of linkage unit, with which a parser could then statically parse the code.

Similarly it's possible to prove that a certain block of code does nothing but link in such deterministic units, removing the nondeterminism of function prototypes.

Most of the source code out there can be parsed statically without resorting to anything drastic. The semantics of this hypothetical Perl 5 variant do differ, but as a strict subset it will still properly most of the useful code out there.

Re:Delimited Continuations for Perl on Thursday August 13, 2009 @03:34PM (#761522)
the delimitation is not for data (that is closed over like any normal closure), it's for control.

when you apply a reified delimited continuation as a function it returns a value to that call site, to do the same with a traditional continuation you need to apply the reified continuation using call-cc, and it needs to know what to do with this continuation.

Re:Perl Cannot Be Parsed: A Formal Proof on Thursday August 13, 2009 @02:43PM (#761432)
can you please point to a real example of code like this?

just because a pathological case is possible, doesn't mean that it's actually common, or even existent.

Re:Confess HN: Share your Immoral Hacks, Codes or Tweaks on Friday July 31, 2009 @07:03AM (#734144)
this is solved ore cleanly with escape continuation/exceptions.

Perl also provides 'last LABEL', which is handy (lets you break out of any level of nesting).

I guess in a language like C where you can have neither and function calls are slow so the 'return' escape continuation is also unusable there is a reason to use goto for this.

Re:GPL FUD round N+1 on Friday July 31, 2009 @06:09AM (#734107)
DIE IN A FIRE RTARD
Clearly you've neverheard of Common Lisp
Re:Why I don't use CouchDB. on Saturday May 16, 2009 @10:12AM (#612164)
If the business logic is implemented in couchdb or implemented in serverside code, it's still business logic protecting the data.

It could be just as flawed, or even worse (e.g. sql injection allows malicious users to run database operations with no restrictions at all. If there were db level restrictions they could only destroy their own data).

This ALWAYS NEVER EVER type of mentality demonstrates exactly why CouchDB is simultaneously overhyped and condemned.

Re:Why I don't use CouchDB. on Friday May 15, 2009 @02:22PM (#611060)
If you had actually read my criticism you'd see that I do get what it does. I'm not faulting the design, I like it a lot, it's just that the implementation has issues that caused me to favour other schema free backends.
Re:Why I don't use CouchDB. on Friday May 15, 2009 @09:54AM (#610555)
dude you totally made my day =D
Re:Why I don't use CouchDB. on Friday May 15, 2009 @05:02AM (#610279)
"... but it does show plenty of promise."

"Personally I would much rather see feature completeness first"