date format #2
Is there any way I can change the date format from '970625' to
'19970625' in IDL?
On 9/9/10 6:51 PM, mahesh wrote:
> Is there any way I can change the date format from '970625' to
> '19970625' in IDL?
I hesitate to give the easy answer, but what the heck. IDL can do
string math so the following works a treat.
dateString = '970625'
newDateString = '19' + dateString
But if you really need to do date math then you need to split the string
into a 2-digit-yea...US-Io: PRICE HL Analyst, PRICE HL, Business Case Analysis, Life Cycle Cost Analy (45331514400)
US-Io: PRICE HL Analyst, PRICE HL, Business Case Analysis, Life Cycle Cost Analy (45331514400)
Position: PRICE HL Analyst
Skills: PRICE HL, Business Case Analysis, Life Cycle Cost Analysis
Scope: Work with developers and clients to perform Life cycle cost
analysis for clients. Considerable travel may be involved or
a optionally may live in Iowa.
Please send your current resume in conf...Copy Structure
I get a COMIX/8101 error after the command Copy Structure.
I can open this empty DBF file "Exp_9259.DBF" with same viewer or Editor like CDBF without problem.
Why do I get this error with with DbUseArea?
if Lastkey() = K_RETURN .or. LastKey() = K_PGDN
vDbfExp := "Exp_"+AllTrim(Str(LIEFER->LS_NR))
Copy Structure to &vDbfExp
if DbUseArea(.t.,"COMIX",vDbfExp,vDbfExp,.f.) //<--- Error COMIX
index on _FIELD->ART_NR + _FIELD->BEST_NR tag &vDbfExp
Error COMIX/8101 Corruption ...Sysreq? #2
I just got an old PowerMac 7100/66av (with a 20" CRT, lucky me!). Will
this support at least a text install of linux? I know fedora core 4 has
a powerpc option. I have an outboard scsi drive, so I'm not uptight
Registered Linux User #386711
...Function __generic_file_aio_read( ) in kernel 2.6.x
I need to get the major and minor numbers from the struct "struct file
in the function __generic_file_aio_read(..) of the file filemap.c for
the kernel 2.6.xx.
My stub code is as follows:
__generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
unsigned long nr_segs, loff_t *ppos)
struct file *filp = iocb->ki_filp;
printk("before major:%d\n", imajor(filp->f_mapping->host));
printk("before minor:%d\n", iminor(filp->f_mapping->host));
}...Re: Easy question, please help to run a function n times #2
I would use a FOR loop and collect the generated points in a preallocated
T = Range;
For[i=1, i<=10000, i++,
myMean = Mean[T];
However, this is very much a procedural programming approach. I'm sure the
Mathematica experts helping on this list can provide a more efficient
On Fri, May 7, 2010 at 6:28 AM, Kevin <email@example.com> wrote:
> I am trying to run the function t= M/(R/n), where R is a random number
> generated between 15 and 25. Wh...newbie need help on python-2.3.2 installation
I was trying to install python on solaris 9 and failed:
root@system:~/Python-2.3.2:) make install
../install-sh -c python /usr/local/bin/python2.3
if test -f libpython2.3.so; then \
if test ".so" = .dll; then \
./install-sh -c -m 555 libpython2.3.so /usr/local/bin; \
../install-sh -c -m 555 libpython2.3.so /usr/local/lib/libpython2.3.so; \
(cd /usr/local/lib; ln -sf libpython2.3.so libpython2.3.so); \
else true; \
ln: cannot create libpython2.3.so: File exists
make: *** [altbininstall] Error 2
...Re: Excel to SQL Server #2
I got a few interesting answers offlist. Here is what I am sending our end
users. It assumes an existing DSN definition. Comments and suggestions
You can run Excel, and open the Workflow.dsn we created in C:\Program
Files\Common Files\ODBC\Data Sources. From the Select Table dialog, choose
an appropriate table. This will return the headers and whatever data there
is, for viewing.
From the Data pull down menu, choose Import External Data > and from its
submenus, choose Edit Query... Choose [Next > ] until you get to the last
dialog. Choose the (o) View Data or ed...What c++ doesn't show error
I've a class
void foo(A a)
_mem = 0;
_a.mem = 0;//not showing access viloation error
In the above function I'm accessing object a's private member by
a._mem. Why c++ is not restricting private member access inside a
even if the object is different?
Is there any specific reason for this?
On 12 nov, 09:08, Faisal <faisal...@gmail.com> wrote:
> I've a class
> class A
> =A0 =A0 =A0 =A0 int _mem;
> =A0 =A0 =A0 =A0 void foo(A a)
> =A0 =A0 =...[wxX11-2.5.2] wxList broken?
I've download and compiled wxX11-2.5.2 (since 2.5.1 and documentation
have disappeared. Any way to still get a hold of those? They're
still useful, to me at least). It appears things are rather broken,
but I can't believe that people haven't been up in arms more if they
were broken for everyone.
I compile and start the minimal sample. Click a menu. Segmentation fault.
Fire up gdb. Poke around. Here are some interesting bits:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1284239232 (LWP 30561)]
0xb3bbb7c0 in wxNod...2 questions
1. Does strdup preserve the '\0' when supplying a string literal like
"string". I'm asking this because if that's the case, i can easily
write a pointer like that out as fwrite(buffer,strlen(buffer),1,fp).
Sorry if you don't get the relevance, i will post a more explaining
post later with example code. I need to test some things out first
2. when supplying a pointer to a string function like strcpy, does it
'work' like strdup but with a more flexible interface (supplying size
etc.). Does it malloc the size i give in strncpy to the dest stri...Amarok 2: disappointing
I have to say that the new release of Amarok is turning out to be very disappointing. The sad thing is that
what makes it disappointing isn't even a bug but the intended design. Although the collection tab appears to
show some polish when comparing to the previous release, all the other bits that made amarok great are
missing or at least mangled to the point of being useless. The playlist is a pain in the neck to manage and
mangles all information, now there is this middle panel that is not only useless but also sports an
unpolished, underwhelming design and editing the id3 info of a ...Camera Raw plugin #2
Can the Camera Raw plugin be applied on raw files from a film scanner?
i dont think so, only the cameras of the list
<firstname.lastname@example.org> escribi� en el mensaje
> Can the Camera Raw plugin be applied on raw files from a film scanner?
Can you tell us where this 'List' is please?
"RBB" <RICHARD_BURCH@terra.es> wrote in message
> i dont think so, only the cameras of the list
> <email@example.com> escribi� en el mens...Symbol undefined? Linker error!
I am a total novice. And granted this probably is a very simple
question, it still stops me from finishing my thesis. Thanks in
advance for any postings.
I am using a library routine and apparently I have all the necessar�
files to compile properly. But my compiler comes up with the following
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
Error 42: Symbol Undefined ?free_vector@@YAXPAMJJ@Z (void cdecl
at *,long ,long ))
Error 42: Symbol Undef...FAQ 2.8 Where can I get information on Perl? #31
This is an excerpt from the latest version perlfaq2.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .
2.8: Where can I get information on Perl?
The complete Perl documentation is available with the Perl distribution.
If you have Perl installed locally, you probably have the documentation
installed as well: type ...Facts about 3D Ultrasound #2
To produce reflections of sound waves transmitted 3D ultrasound at
different angles and are combined to produce a 3D image. 4D ultrasound
can be produced when three-dimensional images created in a rapid
transition to give a 3D motion of the fetus.
...Re: select column from different dataset #2
Does the following approximate what you have and are hoping to achieve?
input quarter balance;
input quarter balance;
set one (rename=(balance=balance1));
set two (rename=(balance=balance2));
On Tue, 12 May 2009 21:50:03 -0400, Stanley Luo <shanminglo@GMAIL.COM>
>I have 12 datasets from Jan. to Dec. and each have the column "balance".
>Now I would like collect the 12 "balance"s into one column in one dataset.
>...2 computers, 2 NICs each, 2 LANs
What happens if you have 2 (or more) computers, with 2 NICs each and assign
different IP addresses/ranges to corresponding NICs? For example:
NIC 1: 192.168.1.2 Netmask: 255.255.255.0
NIC 2: 192.168.100.2 Netmask: 255.255.255.0
NIC 1:192.168.1.3 Netmask: 255.255.255.0
NIC 2:192.168.100.3 Netmask: 255.255.255.0
The computers would be connected by one or two routers. If two routers, one
for the 192.168.1.xxx NICs, and one for the 192.168.100.xxx NICs (would it
matter if 1 or 2?)
Or, would be connected by two crossover cables - one on 192.168.1.xxx NICs,
one on 19...Type/rank mismatch and syntax error in argument
Dear all ;
I use FUNCTION qromb ( from numerical recipes )in my program which
calls polint subroutine.
USE nrtype; USE nrutil, ONLY : assert_eq,iminloc,nrerror
REAL(SP), DIMENSION(:), INTENT(IN) :: xa,ya
REAL(SP), INTENT(IN) :: x
REAL(SP), INTENT(OUT) :: y,dy
!Given arrays xa and ya of length N, and given a value x, this
routine returns a value y,
!and an error estimate dy. If P(x) is the polynomial of degree N
- 1 such that P(xai) =
!ya...Lotus Version 2.2
Does anyone know if the older versions of Lotus like version 2.2 Dos
based will ever become freeware, as I have found no spreadsheets
available except for the ones found on the Emule network but they were
written in spanish?
>Does anyone know if the older versions of Lotus like version 2.2 Dos
>based will ever become freeware, as I have found no spreadsheets
>available except for the ones found on the Emule network but they were
>written in spanish?
Unlikely. Your best bet would be hunting for old copies of either
VP-Planner or Mosaic...SW: Status of eCS 2.2....
++ From the VOICE OS/2-eCS News Service http://www.os2voice.org ++
Last week we released a new eCS 2.2 demo CD beta 5 (you can not access your hard disc partitions with this CD)..
You can download via this URL:
Primary reason to release this beta is to get the latest versions of the following drivers tested:
I expect to have a new eCS 2.2 install beta DVD first week of January.
We are still performing more testing on disc geometry bugs that ...TERMINAL PROGRAM NEEDED #2
I'm looking for a terminal emulator which will allow me to input
"ATDT" and about 3,500-5,000 numbers. I want all of the numbers to
immediately dial after the ATDT command.
Please let me know where I can get a simplE program like this.
...[ANN] VersyPDF Library Releases Its Version 2.2 #2
VersyPDF Library Releases Its Version 2.2
New version of the library for creating PDF documents on the fly was
Our company released new version of the VersyPDF Library.
Versions for C/C++(Windows, Solaris, MacOS, AIX, HP-UX), Delphi, .NET,
[!]Appended AES ( Advanced encryption security )
[-] Fixed some little bugs
VersyPDF is a set of the high-quality, industry-strength PDF libraries
different progremming languages meeting the requirements of the most
demanding and diverse applications. Using VersyPDF libraries you can
stand-alone, cross-platform ...rndc and views #2
I use rndc to update records for my zones currently not using any
views. I'm going to be creating two different views(perhaps more) with
the same zones declared each. How does rndc work w/ views? Can you
edit records in a zone in a specific view only? Delete a record in a
zone in all views?
Any tips or links will help.
...Query help #2 #2
I have a query where I want to retrieve
"YES" if tableName.replacement = 1 and
"NO" if tableName.replacement = 0 and
"DONT KNOW" if tableName.replacement = 2.
How do I do this in SQL? I know in ORACLE SQL*PLUS I would use the decode
function. Is there something similar in Access?
There is no SQL statement to do this (AFAIK).
But in VBA you have Choose (which works to base 1).
MyChoice = Choose(tableName.replacement+1, "No", "Yes", "Don't Know")
Mom2B previously wrote:
> I have a query where I wan...