tag:blogger.com,1999:blog-3185710566617725438.post1028924639185899822..comments2023-06-27T08:48:55.252-07:00Comments on NPEREZ's Perl Musings: DarkPAN SchmarkPAN -- STOP THE MEMENPEREZhttp://www.blogger.com/profile/07774396754686720265noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-3185710566617725438.post-64316409712602610682009-07-09T22:40:51.039-07:002009-07-09T22:40:51.039-07:00Breaking things that people depend on without warn...Breaking things that people depend on without warning is indefensible. Breaking things that people depend on, with or without warning, increases the cost of upgrading. Test suites allow some of the cost to be avoided but an unavoidable cost will remain. It is not fear that makes one wish to avoid this unavoidable cost but common sense in the face of limited resources.<br /><br />The DarkPAN contributes to the acceptance of Perl, even if those who maintain it don't contribute code to Perl directly.Ianhttps://www.blogger.com/profile/11071498130330741906noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-35218510626428825112009-07-09T00:04:32.496-07:002009-07-09T00:04:32.496-07:00@AdamK a propos "analyse our codebase in adva...@AdamK a propos "analyse our codebase in advance for expressions that might be changing or causing problems" - something like <a href="http://perlalchemy.blogspot.com/2009/07/deprecated-code-analyzer-for.html" rel="nofollow">deprecated code analyzer</a>?zbyhttps://www.blogger.com/profile/04636763782334128869noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-15017163922024586122009-07-03T04:46:13.223-07:002009-07-03T04:46:13.223-07:00I started to reply and then realized my reply is t...I started to reply and then realized my reply is too long winded for comments. See my reply in this blog post: <a href="http://perl-toddr.blogspot.com/2009/07/how-we-should-address-darkpan-problem.html" rel="nofollow">How we should address the DarkPan Problem</a>Anonymoushttps://www.blogger.com/profile/03685965086573071892noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-38955818360256955012009-07-02T08:30:40.094-07:002009-07-02T08:30:40.094-07:00Breaking things that people depend on without warn...Breaking things that people depend on without warning is a drag, sure. But, when is there not warning?<br /><br />Don't all the Perl releases go through a long development process where any organization is free to pull down the latest changes for their internal testing?<br /><br />If you depend on the Perl that is shipped with an OS release, then you might need to work with the OS Vendor to determine their upcoming plans wrt versions so you can test appropriately.<br /><br />I note that Oracle on HP/UX ships with a Perl that is used for management scripts. That's an alternative; support your own Perl. Perl is NOT hard to install. I understand that you want to be able to get Perl support from Red Hat or Sun, though, but no decision like this doesn't have some costs.Jordan Hendersonhttps://www.blogger.com/profile/06586821482992546930noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-37278149602167554642009-07-01T20:42:12.600-07:002009-07-01T20:42:12.600-07:00@AdamK So, I have to ask, how good are your test s...@AdamK So, I have to ask, how good are your test scripts? I have found that the level of fear is inversely proportional to the quality of the organizations test suite.<br /><br />@NPEREZ As opposed to yelling at people for fearing change, we should be showing people how to write good, automated test suites that will reassure them that nothing bad will happen to them, or where the bad things are if they exist.Chas. Owenshttps://www.blogger.com/profile/11716389363199045015noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-35267565900698694372009-06-30T17:13:39.486-07:002009-06-30T17:13:39.486-07:00We don't use 5.10.0. In fact, we don't rea...We don't use 5.10.0. In fact, we don't really get to choose the Perl we use.<br /><br />Unless there is an absolutely critical reason we need it, we have to use a supported Perl. And that means, for us, whatever Perl comes with RedHat.<br /><br />We've got a lot more freedom about which CPAN modules we use, but we don't abuse Perl the language enough (and we don't burn enough CPU) to justify rolling our own Perl.<br /><br />Support is more important than language features.<br /><br />That said, when the core language changes, it's absolutely going to impact us. Every CPAN module that breaks because of a change adds to the likelyhood something we depend on will break. And who knows if in a codebase this large whether or not there's some language thing we use.<br /><br />What we need, really, is some way to make it possible (and easy) for us to analyse our codebase in advance for expressions that might be changing or causing problems.<br /><br />Change is tolerable, but change that requires us to hand-audit the entire codebase is extremely problematic, and change that doesn't have a quick (preferably automated) method for upgrading our current code is also problematic.Unknownhttps://www.blogger.com/profile/16880485256236829010noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-65390329258230782712009-06-30T11:59:34.591-07:002009-06-30T11:59:34.591-07:00If the change in core perl is that suddently the s...If the change in core perl is that suddently the sigils start to be invariant as will happen with Perl 6 then this certainly not good news to companies like the one AdamK is working for.<br /><br />If the change is that suddenly there is a new say() or class {} keyword in the language then it might break things but if the in-house developers pay a bit attention to what's going on with perl then it can be easily avoided or fixed.<br /><br />If the problem is that 5.12 suddenly has "use strict" enabled by default and your code was not working under use strict then you will be indeed in trouble. But frankly, in that case you are already in trouble.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-54389032556666870772009-06-30T09:24:13.136-07:002009-06-30T09:24:13.136-07:00@AdamK: It sounds more like you are dealing with C...@AdamK: It sounds more like you are dealing with CPAN breakages rather than changes in the core interpreter. It's a lot to track. Sounds like you do a great job of doing it too. And I empathize when things change behavior without warning. <br /><br />But how does any of that affect new, major, releases of perl including new semantics by default? Are the deltas not delta-y enough? <br /><br />Do you use 5.10.0? Do you have the new features enabled? If you don't use 5.10.0, or if you do and don't have the new features enabled, why bother with the upgrade if it buys you nothing (except a slow down with a common my ($foo) = @_; idiom)?NPEREZhttps://www.blogger.com/profile/07774396754686720265noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-45807015233905140702009-06-30T09:09:24.850-07:002009-06-30T09:09:24.850-07:00Hi. I am the DarkPAN.
We have 250k lines of Perl ...Hi. I am the DarkPAN.<br /><br />We have 250k lines of Perl code supporting a billion dollars worth of ordering and logistics, which delivers everything from the Google swag in your closet to hospital drug order forms, and the national emergency body bag supply contract for major emergencies.<br /><br /> We hire 7 full time Perl developers, at good salaries, including 2 (soon to be 3) CPAN authors. We even have an open source policy, sponsor local conferences. At least 5-10 CPAN modules exist primarily because we allow spin offs from work originally done to support our business. And those recent releases to the Perl SAP connector that remove all the memory leaks? We funded those.<br /><br />And yes, we care when some module we critically depend on arbitrarily breaks (we depend on 85 CPAN modules directly).<br /><br />We care when anything just changes behaviour with no warning, like when sudo changed a security setting and broke a few pieces of our infrastructure.<br /><br />We run an offline CPAN mirror, so your breakages are buffered and don't hurt us immediately, sure.<br /><br />But when you make big changes, they absolutely cost us time and money, and slow down our release schedule.<br /><br />And we can tolerate some motion from time to time, but for a select few modules we'll have 20k or 50k lines piled on top, and it's no obvious from your perspective which ones those are.<br /><br />But let me confirm that we absolutely do appreciate the stability and back-compatibility of Perl, and the CPAN.<br /><br />It helps us stay bespoke and productive, helps justify Perl as a language, and helps us resist suggestions that we throw the whole thing away and rebuild everything in SAP or WebSphere or something else painful.<br /><br />Genuinely, but unofficially, yours.<br /><br />Adam K<br /><br />(Comments do not represent the official position of the company etc etc)Unknownhttps://www.blogger.com/profile/16880485256236829010noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-8126504642713382292009-06-30T08:13:50.871-07:002009-06-30T08:13:50.871-07:00Let me summarize here. This summary is the result ...Let me summarize here. This summary is the result of talking to lots of folks at YAPC, ranging from corporate perl users (darkpan victims) to core developers.<br /><br />*Fuck DarkPAN*<br /><br />As a developer, if you don't talk to me, I really can't be overly concerned with your needs. well, unless you're paying me gobs of cash to be concerned.<br /><br />So, let me say this again so my thoughts on the matter aren't misunderstood.<br /><br />Fuck DarkPAN.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-39579521061764688812009-06-30T08:08:38.504-07:002009-06-30T08:08:38.504-07:00I think it's a deeper problem. Retesting/cert...I think it's a deeper problem. Retesting/certifying software for new versions and platforms is a normal part of IT. Certainly some companies are slower to adopt new versions, but for the core, supported bits there is a process in place for upgraded to newer version of Linux, updates to J2EE, newer versions of Spring, etc.<br /><br />For some reason Perl doesn't get on this track. This points to a reluctance and a deep apathy toward supporting Perl at all levels in many companies. This is way it's acceptable for many companies to simple order IT to continue using a 7-10 year old version of Perl (or worse) because there is some vague plan to get rid of all the Perl apps someday, which never happens because Perl is so useful.<br /><br />So Perl lives in this sort of perpetual twilight, the dark and semi abandoned child of corporate IT.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-80486338529223859052009-06-30T08:06:52.077-07:002009-06-30T08:06:52.077-07:00"Anything that increased the cost of upgradin..."Anything that increased the cost of upgrading decreases the likelihood of a corporation upgrading."<br /><br />And that is fine. There is nothing wrong with that. It fits their business model. More power to them for making the choice that benefits them the most.<br /><br />So with that said, how does that affect continuing development of new, exciting features by default in newer perls? It shouldn't. 5.10.0 should have had all of the magic stuff turned on by default, but it didn't. And that is horribly broken. <br /><br />"Remember, DarkPAN is usually maintained by organizations, not individuals."<br /><br />And those organizations can appoint someone to speak for them. They do it all the time for representatives in various consortia. But if they don't have anyone advocate for them or contribute back to the community in a meaningful way, then they shouldn't get this implicit say in what is default for Perl because it might break their undertested code, especially if they aren't going to upgrade /anyway/.<br /><br />We should not indefinitely leave out the good features from the default because it might upset some curmudgeon code. The previous versions of perl will always exist and will always remain free. Those organizations that have anchored themselves to a particular version because of business decisions should not affect Perl going forward.NPEREZhttps://www.blogger.com/profile/07774396754686720265noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-82294986860267277172009-06-30T07:51:05.313-07:002009-06-30T07:51:05.313-07:00Some of the people at YAPC NA worked for companies...Some of the people at YAPC NA worked for companies that are part of the DarkPAN. I know I have worked for those sort of companies before (and I was there). Remember, DarkPAN is usually maintained by organizations, not individuals. Anything that increased the cost of upgrading decreases the likelyhood of a corporation upgrading. For instance, Abigail's company is still using 5.8.3 because the cost to retest the code with 5.8.9 is too high. The answer here is to encourage people to write more tests for their own code and Perl. Better tests means less fear of upgrading.Chas. Owenshttps://www.blogger.com/profile/11716389363199045015noreply@blogger.comtag:blogger.com,1999:blog-3185710566617725438.post-80917527046635971972009-06-30T07:26:37.913-07:002009-06-30T07:26:37.913-07:00Amen brother.Amen brother.Anonymousnoreply@blogger.com