In many cases, scientific research takes you into totally new areas
of knowledge, never before explored by others. This means the
computational work you need to do may be totally new as well. Although
typically such code development still happens in C or FORTRAN, Python
is growing in popularity. This is especially true in physics.
Pythonistas are eager to extol
the lovely virtues of our language. Most beginning Python
programmers are invited to run import
this from the interpreter right after the canonical
world. One of the favorite quips from running that
command is: more>>
It has a tremendously large user base, and countless libraries have been written in it.
Surely it is the perfect language with no flaws at all! Unfortunately,
that is simply not the case. more>>
Previously, I erroneously titled my column as "SIGALRM Timers and
Stdin Analysis". It turned out that by the time I'd finished writing
it, I had spent a lot of time talking about SIGALRM and how to set up
timers to avoid scripts that hang forever, but I never actually got to
the topic of stdin analysis. more>>
I received an interesting message from Angela Kahealani with a challenge:
"Here's what I'd like to see in Work the Shell: a full-blown shell script
template. It should comply with all standards applicable to CLI programs. more>>
Please send information about releases of Linux-related products to firstname.lastname@example.org or New Products c/o Linux Journal, PO Box 980985, Houston, TX 77098. Submissions are edited for length and content.
Many of my previous articles have looked at software packages
that do scientific calculations and generate scientific results. But,
columns of numbers are nearly impossible to make sense of—at least, by
regular human beings. So what can you do? The answer is visualization. more>>
For Linux users, the command line is a celebrated part of our entire
experience. Unlike other popular operating systems, where the command
line is a scary proposition for all but the most experienced veterans, in
the Linux community, command-line use is encouraged. more>>
Many programming languages include libraries to do more complicated
math. You can do statistics, numerical analysis or handle big
numbers. One topic many programming languages have difficulty with is
symbolic math. If you use Python though, you have access to sympy, the symbolic
math library. more>>
As with many of the challenges we tackle, the latest project has sprawled across more articles than I ever expected when I first received the query from a reader. The question seems reasonably simple: given a month, day number and day of the week, calculate the most recent year that matches those criteria. more>>
For those of you playing along at home, you'll recall that our intrepid
hero is working on a shell script that can tell you the most recent year
that a specific date occurred on a specified day of the week—for example,
the most recent year when Christmas occurred on a Thursday.
Have projects in development that need help? Have a great development operation in place that can ALWAYS be better? Regardless of where you are in your DevOps process, Linux Journal can help!
With deep focus on Collaborative Development, Continuous Testing and Release & Deployment, we offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, advice & help from the experts, plus a host of other books, videos, podcasts and more. All free with a quick, one-time registration. Start browsing now...