Re: Is there a term for this?
by Fletch (Bishop) on Oct 16, 2019 at 14:49 UTC
|
Don't know of a name for it (other than maybe, "Eww; my sympathies"). Top Seven (Bad) Reasons Not To Use Modules and Yes, even you can use CPAN come to mind but those are how to work around the situation.
(Related aside: one time at $jobs[-2] or so I had to write something to write a configuration file. Problem was the target environment was still shipping only perl 4 long into maybe perl 5.0.8 times (not to name names, but this was a large TLA corporation's management product which rhymes with mivoli). Wound up writing (in perl 5) a code generator that wrote the perl 4 script to run in the end environment. Never underestimate the power of over engineering and hacky kludges . . .)
The cake is a lie.
The cake is a lie.
The cake is a lie.
| [reply] [Watch: Dir/Any] [d/l] |
|
.. but that Mivoli had a hardened Perl4 version! :)
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by hippo (Bishop) on Oct 16, 2019 at 14:40 UTC
|
You have my sympathy. When I have encountered such environments/situations in the past I have referred to them as adminstrative fascism as a nod to the venerable Know your System Administrator by Stephan Zielinski.
If your target box has no compiler and you have no suitable cross-compilation available elsewhere then any non-PP module such as XML::LibXML is going to prove tricky at the very least. PP modules should still be feasible even if it is a bind installing and deleting them over and over, not that I am a user of such a PP XML module. Hopefully the reward of your work is worth the drudgery.
| [reply] [Watch: Dir/Any] |
|
Financial institutions. Interesting environment. They say they are risk-averse, but what they really are is blame-averse. They want everything change-managed, version controlled, box-ticked, signed off, audited, and what have you. I am the drokking sysadmin on these boxes, and I have to ask for root. It's not that you couldn't work around it. I have on occasion added to my projects the .pms of CPAN modules I really could not be bothered to rewrite, skirting the definition of "installed".
Administrative fascist is a little too aggressive for my taste. But thank you for that link, I could use the giggles. LibXML is just an example. Obstacle course maybe?
Oh well... let's see if there is something fun in the ticket queue.
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] |
|
Know your system administrator
Nice link. What are all these references to xtrek? Google it and of course instantly pops up and so now 7 minutes of my life subtracted to explore the text based x rated Star Trek Enterprise of 1995. Who makes a game from next generation.. lame :)
| [reply] [Watch: Dir/Any] |
|
This is a bit of history for me; perhaps someone who has actually seen it can chime in.
There were a number of Star Trek themed computer war games with basically the same concept: fly the Enterprise around blowing up Klingons and other enemies of the Federation. If I understand correctly, xtrek was somewhat different — a multiplayer space combat game set in Star Trek with factions from that setting and using X11 for display, thus the "x" in the name. I believe that Xpilot is a similar game that should be less obscure.
Administrators, of course, sometimes considered such things wastes of "valuable computing resources" and did what would be expected, leading to a cat-and-mouse metagame of playing the game without getting caught by the system operators. :-)
| [reply] [Watch: Dir/Any] |
|
|
|
|
alias PP='Pure Perl'
f4uIoX9fKg4
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by marto (Cardinal) on Oct 16, 2019 at 16:03 UTC
|
| [reply] [Watch: Dir/Any] |
|
I concur with Marto. Ideally you can have a modern version of Perl running with all relevant packages. Barring that packaging the code that you want would help. Hopefully, all of these servers are running Redhat 6 or 7 or the equivalent. Otherwise, you might not be able to just package your code.
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by FreeBeerReekingMonk (Deacon) on Oct 16, 2019 at 23:04 UTC
|
Hello mw. You are not alone! I use(d) "Perl Core Only" (tm) too!
You are not re-inventing the wheel, in fact, you are building a boat. And you can get a mast for free, but your boat is inside a bottle, and that mast just does not fit through the neck.
And really, everything to build that boat has to go through that neck, your bottleneck!
You pass tools using uuencode get a file out of the bottle, onto a modern system, just to be able to edit it with vim instead of vi and commit it to a versioning system, then push it back in, improved.
So nay, do not weep! Build that ship (until you can play with speedboats: fast, but they hold no cargo)
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by TieUpYourCamel (Scribe) on Oct 16, 2019 at 14:50 UTC
|
You may want to look at Perlbrew. It allows you to install your own Perl, and use it instead of system Perl, and install CPAN packages to your heart's content. | [reply] [Watch: Dir/Any] |
|
Note that there's a limit for perlbrew: For CPAN libraries which are just interfaces to "standard" libraries, like in the case of XML::LibXML which is based on libxml2, and if libxml2 is not available, then there's nothing perlbrew can do for you unless you also take the trouble to compile libxml2.
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by daxim (Curate) on Oct 17, 2019 at 08:16 UTC
|
The root (huehuehue) problem is that you have a job title/description (sysadmin) but are not imbued with the power that goes along with it.
is there a concise term for this kind of situation
This is called dysfunctional, and in my personal moral system you are a victim of injustice. You seem to take it lightly, but there are enough who would be stressed out so much under those circumstances they risk mental harm. I'm not kidding. If you have a cow orker, you must speak up and change the policies.
There is no good technical reason why you should not be able to add a computer to your organisation that's managed according to principles that are normal for this decade. All the time you frittered away in work-arounds and being blocked from getting things done is already orders of magnitude more expensive than the potential harm that comes with just purchasing a computer and setting it up apart from the legacy systems. There's your business case. https://workplace.stackexchange.com/ can help further. | [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] |
|
you must speak up and change the policies
LOL
add a computer ... just purchasing a computer and setting it up apart from the legacy systems
LOL
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by Anonymous Monk on Oct 16, 2019 at 18:30 UTC
|
| [reply] [Watch: Dir/Any] |
Re: Is there a term for this?
by karlgoethebier (Abbot) on Oct 17, 2019 at 12:04 UTC
|
"...a term..."
Crap. I guess what they actually want is a statically linked binary. Using Perl you can‘t provide this. And i doubt that they are willing to change their policy. You could try it with another language. XML as well as command line processing should be relatively comfortable. Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
| [reply] [Watch: Dir/Any] [d/l] |
|
a statically linked binary. Using Perl you can‘t provide this.
I want to solve. What is staticperl?
| [reply] [Watch: Dir/Any] |
|
| [reply] [Watch: Dir/Any] [d/l] |
|
A reply falls below the community's threshold of quality. You may see it by logging in. |