HNHacker News
TopNewBestAskShowJobs

chromatic

1,665 karma · joined April 22, 2009

chromatic at wgz dot org

http://wgz.org/chromatic

I made: https://trendshare.org/

I edit: http://outspeaking.com/

I hack: https://github.com/chromatic/

submissionscomments
chromatic··on Silicon Valley’s acquisition fever is bad for innovation
Perhaps a more specific question is: what's the valuation in a real currency such as USD, not the monopoly money of FB RSUs?
chromatic··on Silicon Valley’s acquisition fever is bad for innovation
Valuation by which criteria? The asking price of an acquisition, paid in RSU with their value measured in the potential asking price for an acquisition? This seems a little circular.
chromatic··on Silicon Valley’s acquisition fever is bad for innovation
Acquisitions are a way that investors get their money back, so they encourage investors to invest in startups, and by its nature that encourages innovation. Perhaps not as much as random $100K grants given out on the street corner would, but it does encourage company formation and execution. IPOs do the same thing.

I have trouble understanding this paragraph. It seems to argue that acquisitions encourage company formation and execution. So far so good--but what's the definition of innovation in this discussion anyhow?

Perhaps the most confusing idea to me is suggesting that investing in startups does encourage innovation, but not as much as randomly giving out grants would. Is it possible to compare the efficacy of the VC, M&A, IPO ecosystem to those targeted grants or even a guaranteed wage? To me, that is worth exploring.

Instead I fear we get SV press releases heralding innovation in something--anything--other than yet another example of cashing out for the established network of moneyed interests.

chromatic··on Silicon Valley’s acquisition fever is bad for innovation
You're absolutely right, but in the same way that the financial industry spends its resources coming up with ever more exotic financial derivatives from which it can skim rent, the VC industry spends its resources comes up with ever more exotic ways to scale free userbases to extract money from IAP, ads, or data mining. That only gets called "innovation" in press releases because the word doesn't sound completely cynical yet.
chromatic··on Silicon Valley’s acquisition fever is bad for innovation
Redefine "innovation" as "generate money for VCs". Then anything which lets you sell eyeballs to advertisers (or metadata about eyeballs to advertisers) becomes innovative, if you do it at the right scale.
chromatic··on List of possible changes, updates, additions for PHP 6
But from close-up, it's the think-tank and test-bed of potential Perl 5 upgrades.

I question this claim. Perhaps it's true of some syntactic features (`say` comes to mind as do some proposals for function signatures), but the semantics rarely translate over well (consider smartmatch). If you squint and tilt your head you can claim that Moose is an example of a feature designed in one language and implemented in another, but Moose is more an exercise in language/feature syncretism than it is porting something complete in implementation or design to Perl 5.

chromatic··on An experiment-driven guide to Perl
I'll admit that this is baffling.

The inner parentheses force evaluation of the two inner comma operators in the scalar context provided by the function prototype. `1` and `3` get evaluated in void context and discarded, leaving `2` and `4` as the two arguments to the function. (I had to look up `+` in prototypes, however.)

Without a working understanding of lists and context, this example is undoubtedly baffling, but that's why the documentation exists.

chromatic··on An experiment-driven guide to Perl
The core documentation is not always clear about the difference between lists and arrays--and much credit to the author for identifying the comma operator as an operator--but this is really confused:

By default, the arguments to a procedure are in the array context, which means that the comma operator expects both of its operands to be arrays. It promotes them to single-element arrays if they are scalars. In Perl, comma (,) can mean cons, append, flatten all at once.

I wrote an explanation of context in Perl which is hopefully clearer:

http://modernperlbooks.com/books/modern_perl/chapter_01.html...

chromatic··on Dots and Perl
It may be less pretty but it works...

The primary goal of the `...` feature was to make example code compile safely. (I implemented the feature in Perl 5.)

chromatic··on Why Are There So Many Pythons?
And the production version still makes ridiculous legacy distinctions like...

You're ignoring context, which is a fundamental design decision in Perl. That's like criticizing C for having pointers while ignoring the design decision to expose memory as a flat space.

chromatic··on Ditching a Language
Is it different outside science?

Yes--people who have practical experience writing and maintaining code that has to be maintained tend to write maintainable code.

Scientists (and, in my experience, especially bioinformaticians) tend to make horrible, awful messes no matter how maintainable you think a language is. (You can hand them Inform 7 and it'll still end up looking like Fortran ate the csh manual and vomited all over an APL keyboard.)

chromatic··on Taking PHP Seriously
It isn't.
chromatic··on About Python 3
You're right that back then the expectations were a lot higher, but I don't think anyone even then expected it to replace Perl 5 that fast.

The goal was to run existing Perl code in the same process, so that you could gradually adopt new features or use existing libraries with new code. If that had worked out, there'd have been less of the Python 2/3 gap.

Then again, the idea that Perl and P6 are different languages is something that's come up after the fact, after it became obvious that P6 wouldn't be ready for general use any time soon.

chromatic··on About Python 3
But has the goal of Perl 6 as a project remained static?

The idea that it would be a series of incremental improvements to Perl 5 ended around 2001, and certainly by 2002 at the latest:

http://www.perl.com/pub/2000/11/perl6rfc.html

The grand unification of runtimes (Ponie) had failed long before the announcement of its demise in 2006:

http://www.nntp.perl.org/group/perl.ponie.dev/2006/08/msg487...

I suspect but can't entirely prove that the appearance, rapid ascent, and even more rapid burnout of Pugs made a lot of people realize that this would be a long slog. Even so, if you look back at mailing list messages or conference talks or blog posts in 2006, 2007, 2008, whenever, you'll see that the party line has always been "It's only a year or two away."

chromatic··on About Python 3
Its an exceptionally ambitiously project which they are in no hurry in finishing. And that is for a good reason.

Way back in the early days, the goal was to release a usable 6.0 in a couple of years. The "there's no hurry" line is a post hoc justification from around 2006 or so.

chromatic··on About Python 3
Rakudo was started around the same time as Rust

That's moving the goalposts a bit! What's currently called "Rakudo" is at least the sixth or seventh attempt at an implementation, not counting Pugs, viv, v6, or Niecza.

chromatic··on We plan on not breaking code after Rust 1.0, except for gated features
there's nothing that's laying fallow in an increasingly-desperate way while they work on Rust.

Oh, don't worry. There's plenty of activity in Perl and the CPAN that's not waiting on Rakudo.

chromatic··on The danger of "language" in programming (2009)
Maybe so, but some programming languages have case insensitive keywords or identifiers, or take into account only the first several letters of a keyword or identifier. Distinctness is nuanced too.
chromatic··on The danger of "language" in programming (2009)
I don't want nuance in my programming languages.

Does your programming language distinguish between period, semicolon, and colon? Are = and == separate operators? Is whitespace sometimes insignificant and other times significant?

chromatic··on Is Ruby Dying?
See the CPAN module Moops.
chromatic··on Ask HN: Is Perl making a comeback?
That was true until about 5.12. Since 2011, Perl's been much more aggressive about fixing warts and breaking backwards compatibility in intelligent ways (where it's getting in the way of something better or actively harmful).
chromatic··on Ask HN: Is Perl making a comeback?
The average thread on PerlMonks (at least when I was a heavy reader) eventually turns to code golf.

The voting system of PerlMonks rewards this.

Trying to force that culture of expression and code gymnastics to write a maintainable codebase just isn't worth it in my opinion.

Don't adopt a voting system like that of PerlMonks in your business, I guess. Or else hire responsible adults. That seems straightforward enough.

chromatic··on Operators and Meta-operators in Perl 6
Yeah, a silly criticism of Python versus Perl. Perl borrowed Python's mediocre object system and made the syntax a little worse. Fortunately Moose made both the object system and the syntax a lot better (but Perl 5 was out for a decade before Moose arrived).
chromatic··on Ask HN: Is Perl making a comeback?
The largest problem is that it's largely unreadable, a write-only language.

The problem with the English language is that it allows writers like James Joyce to get their work done just as it does E. B. White.

chromatic··on Operators and Meta-operators in Perl 6
CPAN, Unicode, testing, and long term maintainability of the code (Seriously; I can tell the difference between good Perl and bad Perl at a skim. Good Python and bad Python tend to look the same. Truly awful Python is immediately obvious, but that's not an interesting case to consider.)
chromatic··on Perl is 26 Today
Why count on the mapping from boolean to int being false = 0, true = 1? Pretty much everything other language that has such a mapping does false = 0, true != 0.

I can't wrap my mind around this complaint. "Why should you count on Perl treating booleans the way Perl treats booleans? Other languages don't treat booleans the way Perl treats booleans, so obviously you shouldn't rely on Perl treating booleans the way Perl treats booleans."

It's almost as if there were some democratic notion of boolean semantics where every language you know gets one vote.

chromatic··on Perl is 26 Today
Are there any new Perl jobs in 2014?

Yes!

we don't see or hear about any new start-ups using Perl

The world is a lot bigger than just startups, but see:

http://www.builtinperl.com/

chromatic··on Perl is 26 Today
See CPAN Testers:

http://www.cpantesters.org/

chromatic··on The Lemon Market of Programming Language Adoption
Maybe it's the difference between programmers who have little motivation to try anything new and programmers who try new things on the side.

I've been fortunate to work in circumstances where it's allowed and expected to spend time experimenting with new ideas or technologies to see if they'd fit with the project--so it's not a distinction between people who put in their eight hours and go home and people who work twelve or fourteen hours a day, seven days a week.

chromatic··on Can One Write Readable and Maintainable Perl?
I suppose that if I had stuck with it long enough, I would have internalized the idioms and been productive with it.

Yes, and that's my gravest concern about most Perl tutorials. Perl's theoretical basics are sufficiently different from other Algol family languages that they should be taught explicitly. Expecting people to intuit them over time leads people to conclude that Perl is "a poorly integrated collection of features."

The language does have its warts, but it's much easier to work with when you understand its underpinnings and work with them rather than against them.

(I apologize for the late reply.)

← PreviousPage 7 of 29Next →