Forgot your password?

typodupeerror
Data Storage Software

Distributing In-House Engineering Code? 49

Posted by Cliff
from the internal-engineering-grapevines dept.
caswelmo asks: "My company has recently moved from Solaris workstations to Windows workstations (Ohhh, the humanity). As an engineering focused company, we use our computers to run many in-house (command line) codes to analyze and design our products. We currently use NAS storage to store everything and use batch files and init scripts to run the correct codes over the network. This makes sure everyone is running the latest version. This also stinks. I know this isn't an original problem, so what are some other solutions for rolling out lots of simple codes like this?"
This discussion has been archived. No new comments can be posted.

Distributing In-House Engineering Code?

Comments Filter:
  • cygwin (Score:5, Informative)

    by blackcoot (124938) on Sunday December 05, 2004 @01:17AM (#10999957)
    step 1: move all that stuff into cvs / source control system of your choice.

    step 2: install cygwin on all the machines (http://sources.redhat.com/ [redhat.com])

    alternately: use ms's unix system services (go digging on the m$ website) theoretically this will give you a "real unix" running inside windows.

    at least this way you don't have to spend as much effort porting your old tools.
  • by chris_mahan (256577) <chris.mahan@gmail.com> on Sunday December 05, 2004 @02:43AM (#11000191) Homepage
    Make python executable (with py2exe) on shared drive, linked from win desktops as shortcut and launch on startup.

    said script has dedicated local directory like: c:\ourscripts\
    and synchs everything from the network at launch. Script remains running and checks via xml-rpc for updates and will throughout the day get updates to particular files. If you do the xml-rpc check every minute, you'll have near-realtime distribution of cli scripts to windows clients.

    I am assuming you have less than 1k people to do that with in your org. One server could easily handle it.

    by the way, redhat autoupdate uses xml-rpc.

    This has the advantage not to need any local machine deployments of software packages.

    Let me know privately if you need this sort of solution built. Or ask the python mailing list.
  • by imsmith (239784) on Sunday December 05, 2004 @02:46AM (#11000199)
    just put all your scripts and whatnot into cvs, then write a nice little webservice interface to your cvs server and have your windows admin write a group policy to reference the URI of the script as a desktop icon via the Windows .NET framework and Active Desktop. The current/stable version is always called when the icon is executed and the user gets all the in-house widgets they need as part of the login process. All you have to do is manage your Active Directory and group membership.
  • by blackcoot (124938) on Sunday December 05, 2004 @05:21AM (#11000508)
    i'm pretty sure he means caned. there was a pretty famous case a couple years back where an american kid (micheal something or other) littered and was sentenced to a caning. huge american indignation followed
  • by Anonymous Coward on Sunday December 05, 2004 @07:46AM (#11000731)
    Actually, that indicates that it is really an engineering company. Among people whose first interest is science and programming is only a tool to solve scientific problems, it is common to refer to programs and libraries that solve specific problems as "codes". It is also a good bet that if it's called "a code", it's written in FORTRAN. And due to their science education, the authors were probably oblivious about principles of good software engineering.
  • by the eric conspiracy (20178) on Sunday December 05, 2004 @10:32AM (#11001084)
    That's all ok except for the CVS part. Use subversion and you will have it right.

  • by sql*kitten (1359) * on Sunday December 05, 2004 @11:26AM (#11001289)
    ...he/she refers to source code as "codes".

    Old-school FORTRAN types often refer to single-purpose batch programs, like FEA jobs, as "codes". If you look in engineering magazines, HPC vendors often promise to run your "codes" faster than ever, etc.
  • Re:cygwin (Score:5, Informative)

    by foote (441858) on Sunday December 05, 2004 @01:11PM (#11001719)

    Simon Peyton Jones, a Microsoft researcher in England who does a lot of work on Haskell (for Microsoft?), has a cheat sheet that "summarises all the things I do to make my Win2k machine more useful to me."

    www.research.microsoft.com/~simonpj/win32-cheat.ht ml [microsoft.com]

    It's rather funny, as much of what he does is make the system more like Unix, with tools like:

    • Emacs, ispell for Emacs, Emacs tags tables
    • Latex
    • A good Telnet client
    • Cygwin
    • Services for Unix
    • CVS
    • GHC (Glasgow Haskell Compiler)

    He describes how to set things up so he can:

    • Export Postscript from a Word, Excel, or Powerpoint document
    • Include LaTeX equations in Powerpoint slides
    • Draw a Powerpoint/Visio picture and include it in a LaTeX document
    • Convert between Word and LaTeX
    • Include typeset material from Postscript into a Powerpoint slide
    • Include mathematical symbols in Word documents

    And more. Useful stuff in general for when you're forced to work on Win machines.

  • by SagSaw (219314) <[slashdot] [at] [mmoss.org]> on Sunday December 05, 2004 @01:51PM (#11001948)
    I've seen the words 'codes' used quite frequently to refer to multipel variants of a given algorithm. This is especially the case with FEA analysis where there might there might be different versions of an algorithm depending on what type(s) of symmentry are exploited to simplify the problem and whether or not the analysis requires the use of complex numbers.
  • by sysadmn (29788) <sysadmn.gmail@com> on Sunday December 05, 2004 @02:02PM (#11002020) Homepage
    Sorry to burst your bubble, but referring to engineering programs as "codes" dates back at least to Fortran 66. It's still pretty common in the HPC world, and pretty much anywhere the focus is on getting engineering tasks done, and not on programming.

If you give Congress a chance to vote on both sides of an issue, it will always do it. -- Les Aspin, D., Wisconsin

Working...