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 A framework that makes things worse on purpose
I remember it!
chromatic··on Laziness Impatience Hubris
Without consulting Stack Overflow, describe the “...” operator in Perl.

Does it count as a trick question if I implemented it?

chromatic··on Perl 7 is going to be Perl 5.32, mostly
The 2016 edition covers most of what's in 5.32; if I were to do an update for Perl 5.32, I'd include postfix dereferencing and the built-in function signature mechanisms now that they're very stable and supported.
chromatic··on Why does OpenBSD still include Perl in its base installation?
I'm curious why it's not available in physical copy from Pragmatic?

I believe it is:

https://pragprog.com/cart/add/skus?sku_id=821_820

I'm not confident about the correct "buy" link to use to properly support the book.

It's more valuable to me if you share and enjoy. I give away electronic versions so that it's useful, not to make money from the time I spent writing it.

I found a code-typo on the CPAN website

Is this the page you were reading?

https://cpan.metacpan.org/modules/INSTALL.html

It's not explained on that page, but the distribution App::cpanminus installs a program called cpanm, not cpanminus (as one would expect).

chromatic··on Why does OpenBSD still include Perl in its base installation?
You might find it amusing that "JavaScript: The Good Parts" directly inspired the "Modern Perl" book.
chromatic··on Rust 1.42
If it is carefully designed, it should prove to be useful just like it has in Raku.

I don't see how it can be designed well enough. The fundamental problem is that Perl operators are monomorphic and variables are polymorphic. This was the same problem for things like keys and each on references, for example.

chromatic··on The story of Henry Ford's $5 a day wages: not what you think (2012)
It just doesn't make sense to pay your employees more in hopes that they will spend more and you'll get the revenue back.

Not even if their marginal propensity to consume is high?

chromatic··on Perl Master Plan
Comments like this is what makes people not want to participate in your community.

I think that's a mistake; it's important to call out bad actions and bad actors.

Another person made an important point elsewhere. If someone had posted a similar manifesto for the Apache Software Foundation -- without doing any community work or collaboration -- then the ASF would respond quickly and definitively.

chromatic··on Richard M. Stallman resigns
I'm saying the amount of good he did for this country far outweighs his wrongs.

I'm just certain sure his slaves felt the same way. Especially Ona Judge.

chromatic··on Go 1.13 Release Notes
perl, which does that with cpan

CPAN doesn't do that, because CPAN is a series of mirrors that neither collect nor report aggregate download numbers.

chromatic··on Is Perl 6 Being Renamed?
These two individuals are quite knowledgeable programmers, so I'm inclined to agree with them.

They're both extremely knowledgeable, but neither of them can work with other people, so their forks seem motivated by the desire to do what they want without question, rather than any purely technical concerns.

chromatic··on Is Perl 6 Being Renamed?
Explanation for others

How odd then that ~90% of the discussions about ditching Parrot were primarily complaining about the deprecation policy and first-class Rakudo support, not speed.

I suppose you would know better though, being objectively smarter than everyone else who ever made a decision about the project. How unfortunate that we can't take your word for it; we can only read all of the public discussion about it.

chromatic··on Is Perl 6 Being Renamed?
It is the simpliest explanation.

It's the laziest explanation.

Did you ever ask yourself why, for example, all of the calling convention code paths were consolidated into a single code path? It wasn't to make a single, inefficient code path as you claim.

It was to provide a gradual transition for clients to a better designed calling convention system which could then be optimized for actual client uses.

The goal was never to create the fastest possible VM at every single point in time. That's where I think you never understood the goal of the project, and that's where I think you've never understood the goal of p5p.

The goal was to make something that works, continues to work, and can be improved while continuing to work. That's why you're no longer welcome in p5p -- because your goals and your actions are incompatible with that.

I wish you understood this. You're very smart and very talented and you have a lot to offer, if you can get out of your own way and accept that people who don't share your exact goals in the exact same way aren't irredeemably stupid.

chromatic··on Is Perl 6 Being Renamed?
I think no one was more surprised than Simon himself that his April Fools joke turned out to be the plan.
chromatic··on Is Perl 6 Being Renamed?
As parrot maintainer I could explain what caused the downfall: Stupid people.

Reini, it seems like you think everyone who disagrees with you is stupid. This isn't an explanation for anything.

We were boxed in for two really good not-primarily-technical reasons:

* we had users we didn't want to abandon or cause churn * we had architectural decisions we had to improve

Now I know I'm not as smart or as experienced or as knowledgeable as you are, but that doesn't mean I'm a drooling buffoon, and it certainly doesn't mean I don't have good reasons. Sometimes it means I make mistakes. Sometimes they're not even mistakes; sometimes they're just differences of opinion.

chromatic··on Is Perl 6 Being Renamed?
Initially, a lot of Parrot's purpose in reality was to be a VM for Perl 6, but Parrot also had a goal of being a good general VM for dynamic languages.

This was, initially, for two reasons:

* allow Perl 5 code to run in process with Perl 6 code (without linking in libperl) * provide a unified VM on which Perl 5.12 could become Perl 6

chromatic··on WiringPi – deprecated
What kind of a license doesn't have to be observed by one of the parties to the license?

That's every license. You might be thinking of a contract, which is a binding agreement between two parties.

Think of a license as a grant of certain rights to the licensee. There's no binding agreement upon the licenser.

(Not an HN lawyer.)

chromatic··on WebAssembly Interface Types: Interoperate with All the Things
Different programming languages exist for many reasons, only one of which is syntax. Many of these reasons relate to data structures and runtime control flow. WASM won't be able to "solve" these issue any better than the JVM, Parrot, or CLR did. (Spoiler: they didn't, and WASM won't.)

I endorse this point of view, from hard-won experience.

(Also: memory model. Always memory model.)

chromatic··on Myths about Perl 6
Imo the issue of a time line (estimated or actual) is immaterial to the original point made up thread (the role of tests in determining a compiler's compliance to a language specification).

The issue is whether P6 advocates are honest in their advocacy. Pretending that the goal was always to create a sister language or that the intent from the start was always to take 15+ years to release a stable version or that the intent was always to define P6 as a specification and test suite or that a cross-platform VM wasn't a goal from the start is dishonest.

chromatic··on Myths about Perl 6
Quoting Larry Wall from 2000

If you're going to quote Larry Wall from 2000, be honest and also quote him as saying he wanted to release a beta by TPC 2001 and get the final version out by 2002. Don't mislead people by cherry-picking quotes out of context to gaslight them.

That is, assuming you want to be an honest, good faith advocate.

chromatic··on Go proposal: Leave “if err != nil” alone?
I'm not going to count eval(...) as exception handling as a language feature in Perl 5. :)

You should. It's a perfectly valid exception handling mechanism. It's unfortunate that the name "eval" is overloaded for two separate behaviors:

  * catch exceptions thrown as strings or objects

  * compile and execute code from a string
Other than the name, they're different behaviors.
chromatic··on Problem solving with Unix commands
> There is more than one version, and I know the first version was made freely available online

Good news! Every version is freely available online. Here's the most recent:

http://modernperlbooks.com/books/modern_perl_2016/index.html

chromatic··on A Python Interpreter Written in Rust
> Wasn't Perl 6's Parrot kind of meant to fulfil that role?

Yes, that was an original project goal. You can see this as far back as Larry's State of the Onion 2003:

https://www.perl.com/pub/2003/07/16/soto2003.html/

... the "Parrot: Some Assembly Required" article written by Simon Cozens in September 2001:

https://www.perl.com/pub/2001/09/18/parrot.html/

... or, if you trust Git commits rather than articles which could have been edited in the meantime, the same article revised as introductory docs in the Parrot repository in December 2001:

https://github.com/parrot/parrot/blob/9bc8687beb5180e4cc8971...

chromatic··on Why Isn't Debugging Treated as a First-Class Activity?
That's an interesting reading of that chapter.
chromatic··on A README maturity model
Specifically, he shows that one of the examples in the documentation for the CGI.pm module had an exploitable vulnerability.

I think that's overstating things. He reported a "vulnerability" in Bugzilla which wasn't a security problem in Bugzilla because Bugzilla uses taint, which didn't do any database injection like he claimed, and which is unrelated to CGI.pm becaues Bugzilla doesn't use CGI.pm:

https://bugzilla.mozilla.org/show_bug.cgi?id=1230932

Furthermore, the examples in his presentation don't actually work, he relies on ignorance of lists and Perl data structures, and the one potentially interesting point he makes about calling functions in list context in hash initializers has been documented well understood as a potential mishap in web applications since 2000:

https://events.ccc.de/congress/2014/Fahrplan/system/attachme...

His presentation may have some value to someone spending their first week with Perl in a web context, but that person would have to wade through a lot of nonsense to get at that value.

chromatic··on Tax Plan Punts on a Loophole for the Wealthy
Productive investments are good for the economy.

Are they? Or are you defining "productive" circularly here?

If I'm wealthy and I invest in derivatives or complicated tranches, is that "productive" because it's enabling further circulation of money, or is it "productive" because I can gain more capital on it?

Given that there's an infinite supply of ever more derived tranches, I suspect that my definition of "productive" different from yours here.

chromatic··on To Understand Rising Inequality, Consider Janitors
Why buy Disney today when you can buy Disney and Ford tomorrow?

As a shareholder, because that money could be put to productive use today, rather than waiting for a future which may not come. To my mind, that's why the pressure for Apple to pay a dividend finally built up to the point that Apple now pays dividends.

chromatic··on To Understand Rising Inequality, Consider Janitors
Thus Apple hoards cash because it believes the bubble will burst? Is that the Austrian explanation for Apple's behavior?

(Still an honest question. I've never understood this about the Austrian school.)

chromatic··on To Understand Rising Inequality, Consider Janitors
That said, the banks + federal oversight encourage money to be created out of thin air, which makes it easy to spend money, and makes it impossible to incentivize deferred consumption. So, everyone spends money, no limits on it, and we all get to ride the waves between economic booms and economic crashes.

Honest question -- how does the Austrian school reconcile the slow growth of the US economy during and immediately after QE with enormous corporate warchests such as Apple's cash stockpile?

I'll accept that some of this is tax shenanigans to defer US repatriation... but only some of it.

chromatic··on To Understand Rising Inequality, Consider Janitors
It seems equally intuitive that investment drives the economy.

The economic principle you're looking for is "velocity of money". If you think of a GDP in terms of a multiplier in how often/fast money circulates, then you can analyze whether investment or spending is more important.

The second economic principle to look into after that is "marginal propensity to consume".

← PreviousPage 2 of 29Next →