Sponsored Content
The Lounge What is on Your Mind? Ravinder Singh Just Earned His Green Web Dev Ops Badge Post 303028286 by wisecracker on Thursday 3rd of January 2019 01:12:34 PM
Old 01-03-2019
Congratulations.
Well done matey...
Another one under your belt...

It is really nice to be recognised and I thank all who have recognised our input.

From experience take one piece of advice mate. Take your projects and learning one step at a time.
(I have done lots of projects for differing platforms and many are here on this site, mainly for OSX. Also proper apps, biased towards measuring/test gear.)

Initially what you intend to do seems quick and easy and version changes are slick and fast, until, you start adding subtleties, features and upgrades.
After a longish period one gets feature creep and application fatigue sets in...
An OS is always your biggest obstacle - Apple have done me NO favours from version 10.7.1 to current... The amount of times I have had to change
the Applescript inside AudioScope is unreal. If you are unlucky like me then minor alterations to the OS can cause headaches when your code breaks.
Dependencies are your next biggest bugbear. 'xterm' was near de-facto in 2012 in just about every consumer *NIX-like install; NOT any more.
A vrigin OSX 10.7.x to present comes with Python 2.7.x AND scipy, scipy.io, numpy and etc as part of its install; it does NOT have sox.
Many Linux flavours OTOH has sox but NOT scipy and scipy.io.
CygWin didn't have hexdump, bc or dc a couple of years ago, dunno about today...
So what starts a a functional item ends up with feature creep, OS headaches and finally application fatigue...

One HAS to take one's mind off of one's main project and do smaller things until the mental urge sets that compassion again to go back to the main project.

You are one eager and compassionate guy and do hope for your sake that you don't lose that compassion because it's guys like you that come out with brilliant
ideas that produce the next step in our evolution, physical, mental, practical and technical...

And finally again, superb and well done you deserve it and I am glad to be a witness of it...

Bazza...

Last edited by wisecracker; 01-03-2019 at 02:49 PM.. Reason: Spelling etc...
This User Gave Thanks to wisecracker For This Post:
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OS X & Web Dev

Could someone recommend a good book? Regarding Unix and Mac os X? I know the OS is new, but Unix ain't. I would like to know more about setting up the webserver on my machine. All the HTML works fine, it's just when i try to execute a cgi, php or a pl script.. :( I have tried and tried to... (2 Replies)
Discussion started by: Chojin
2 Replies

2. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

3. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

4. What is on Your Mind?

Please Welcome Ravinder Singh to the Moderation Team

On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons: Ravinder Loves UNIX.COM Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category. Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies

5. Web Development

Notes with Ravinder on Badging System Development Part II

Part II: Current PHP file Beta 73 Not Optimized: <?php $version = 73; $query = "SELECT * FROM " . TABLE_PREFIX . "user WHERE userid='" . $uid . "'"; $usertable = $db->query_read_slave($query); $modaluser = $db->fetch_array($usertable); $modaluser = gmdate("d F Y", $modaluser); $modaluser... (48 Replies)
Discussion started by: Neo
48 Replies

6. What is on Your Mind?

Moderators of the Year 2019 - Ravinder Singh and Victor Berridge

Today, I am very pleased to announce that the Moderator of the Year Award, 2019 has two very deserving winners. Ravinder Singh (RavinderSingh13) and Victor Berridge (vbe) Victor (vbe) has been a member of unix.com close to 15 years (first joined the site in 2005) and has been moderating... (5 Replies)
Discussion started by: Neo
5 Replies
CARTON-FAQ(1p)						User Contributed Perl Documentation					    CARTON-FAQ(1p)

NAME
carton-faq - Frequently Asked Questions QUESTIONS
It looks useful, but what is the use case of this tool? The particular problem that carton is trying to address is this: You develop a Perl web application with dozens of CPAN module dependencies. You install these modules on your development machine, and describe these dependencies in your Makefile.PL or some other text format. Now you get a produciton environment on Cloud PaaS provider or some VPS, you install the dependencies using "cpanm --installdeps ." and it will pull all the latest releases from CPAN as of today and everything just works. A few weeks later, your application becomes more popular, and you think you need another machine to serve more requests. You set up another machine with vanilla perl installation and install the dependencies the same way. That will pull the latest releases from CPAN on that date, rather than the same as what you have today. And that is the problem. It's not likely that everything just breaks one day, but there's always a chance that one of the dependencies breaks an API compatibility, or just uploaded a buggy version to CPAN on that particular day. Carton allows you to lock these dependencies into a version controlled system, so that every time you deploy from a checkout, it is guaranteed that all the same versions are installed into the local environment. How is this different from DPAN or CPAN::Mini::Inject? First of all, if you currently use DPAN, CPAN::Mini::Inject, Shipwright or any other similar tools successfully, then that's totally fine. You don't need to switch to carton. If you experience difficulties with these tools, or are interested in what could be better in carton, keep on reading. carton definitely shares the goal with these private CPAN repository management tool: o Manage the dependencies tree locally o Take snapshots/lock the versions o Inject private modules into the repository Existing tools are designed to work with existing CPAN clients such as CPAN or CPANPLUS, and have accomplished that by working around the CPAN mirror structure. carton internally does the same thing, but its user interface is centerd around the installer, by implementing a wrapper for cpanm, so you can use the same commands in the development mode and deployment mode. Carton automatically maintains the carton.lock file, which is meant to be version controlled, inside your application directory. You don't need a separate database or a directory to maintain tarballs outside your application. The carton.lock file can always be generated out of the local library path, and carton can reproduce the tree using the lock file on other machines. I'm already using perlbrew and local::lib. Can I use carton with this? If you're using local::lib already with perlbrew perl, possibly with the new "perlbrew lib" command, that's great! There are multiple benefits over using perlbrew and local::lib for development and use Carton for deployment. The best practice and workflow to get your perl environment as clean as possible with lots of modules installed for quick development would be this: o Install fresh perl using perlbrew. The version should be the same against the version you'll run on the production environment (if any). o Once the installation is done, use "perlbrew lib" command to create a new local lib environment (let's call it devel) and always use the library as a default environment. Install as many modules as you would like into the devel library path. This ensures to have a vanilla "perl" library path as clean as possible. o When you build a new project that you want to manage dependencies via Carton, turn off the devel local::lib and create a new one, like carton. Install Carton and all of its dependencies to the carton local::lib path. Then run "carton install" like you normally do. Because devel and carton are isolated, the modules you installed into devel doesn't affect the process when carton builds the dependency tree for your new project at all. This could often be critical when you have a conditional dependency in your tree, like Any::Moose. perl v5.14.2 2012-05-18 CARTON-FAQ(1p)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy