keep copy of an array?
Say I have an array
myArray = [1,2,5,4];
and then to get an order of events I use
var count = myArray.pop()
so the order is 4, then 5, then 2 and finally 1 and of course myArray
is then empty.
Is there a way to keep a copy of the original myArray?
Geoff Cox wrote:
> Say I have an array
> myArray = [1,2,5,4];
> and then to get an order of events I use
> var count = myArray.pop()
> so the order is 4, then 5, then 2 and finally 1 and of course myArray
> is then empty.
> Is there a way to keep a copy of the original ...Common problem: "My Ubuntu keeps freezing"
Linux just w...
On 2008-12-14, DFS <nospam@dfs_.com> wrote:
> Linux just w...
It's nice to run an OS where the detractors have to find things
to complain about via the web. It's not like that other OS where
detractors have their own personal travails to complain about.
....as if the ability to run Cubase ever made or broke a platform.
...ListBox.AddItems wants TObject but have Variant
ListBox.AddItems wants TObject but I have Variant's.
Seems to force me to create container objects - but where to store them and not loose mixup/memleak ...
How do I best handle this.
Is it possible to derive a class from 2 base classes in Pascal...?
"robert" <firstname.lastname@example.org> wrote in message
> ListBox.AddItems wants TObject but I have Variant's.
> Seems to force me to create container objects - but where to store
> them and not loose mixup/memleak ...
> How do I best handle this...Help Wanted: Ruby Weather Monitoring System
I have started a Ruby based Weather Monitoring System project. Please see
http://wxmonitor.sourceforge.net for details. If anyone would like to get
involved, please contact me.
...Trouble saving of record
I've constructed a database that handles data concerning the "flow" of
tooling in a factory. The problem is in receiving back the concerned tools
and storing this data in a table tbl_In. Entry is done via a form that opens
already prefilled with the tool number and a txt field that contains the
current date/time. When clicking the OK button this data should be stored
into the table. However, it doesn't. When I create an extra field in both
the table and the form in which a manual input is done the records saves
flawless. I've put code on the OK button like:
DoCm...getElementsBName and <table>'s
I have a <table name="xxx"> and I try to a
I don't seem to get the <table> returned in the NodeList returned by
If I do a
nl = document.getElementsByTagName("table")
I can iterate through the resultant NodeList and find node with
nl[i].name = "xxx"
Do <table>'s just not work with getElementsByName ?
"Mike Berger" <mbergerREMOVETHIS@skypoint.com> wrote in message
news:email@example.com...Trimming margins/deleting area (Acrobat V6)
I want to delete a certain area of ALL pages of an pdf-file.
Unfortunately with trimming the margins that doesn't work,
because the content is only hidden and so still existing.
Is there any way to achieve that?
Thanks and greetings
> I want to delete a certain area of ALL pages of an pdf-file.
> Unfortunately with trimming the margins that doesn't work,
> because the content is only hidden and so still existing.
> Is there any way to achieve that?
> Thanks and greetings
Do you mean something like Mask-It?
h...(",) Do You Want To Know For Sure You Are Going To Heaven? #2
http://www.want-to-be-sure.blogspot.com << Click On Link
...Checking hash tables values in multithread environment
i'm trying to create a system where i have a producer-consumer paradigm
but with threads. Now i already created a mutex.
My mainly problem is that the producer get output from many hosts and i
have to store and check if i have, for each host, the same number of
values collected. Now i think to use an Hash where i have ip_address as
key and as value the array of values collected by Producer.
If the number of values for an host is reached, the consumer have to do
This check work with a simple array but for multiple host, i dont know
how to do it.
Ki...Library help wanted...
So I've got this compiler.
It's the ACK, a BSD-licensed multitarget, multiplatform compiler suite dating
from a few years ago, that I'm slowly knocking into shape. It's small, it's
fast, it's got its own libraries, and while it doesn't generate the best code
in the world it's more than adequate for most purposes.
Modula-2 is one of the many languages that it supports. I got the compiler
working, and then learnt enough of the language to write a demo program and
make it go. However, I am fundamentally not a Modula-2 prog...How to prevent deleting a file
Is there any VC++ function that I can use to prevent deletion of a
Do I need to change the security flags of the file?
1. On NTFS you may alter the file permissions
2. In general you could try either of:
* write a file system filter driver to prevent a given file name's deletion
* open the file exclusively and keep it open
"pada" <firstname.lastname@example.org> wrote in message
> Is there any VC++ function that I can use to prevent deletion of a
> ...Wrong glue records entered.
Are glue records supposed to be returned with the MX records?
The problem that we are having is that someone will create the following MX
records for their domain.
@ 10800 IN MX 40 smtp.secureserver.net.
But then some one else will create the domain "secureserver.net" in our system
and point the A record for "smtp" to another IP.
Now "secureserver.net" is not pointing to our name servers (at the root name
server level) so our servers should never be asked for it. But they are by
some resolvers and it is poisoning everything.
...Re: proc sql outer join with more than two tables #2
On Sat, 10 Jan 2009 14:43:05 -0500, Phil Spence <linux70@COMCAST.NET> wrote:
>Could someone do me a huge favor and post some code that shows a left outer
>join with more that two tables. All the examples and documentation show
>examples with just two tables. I need to join 4 tables with an outer join
>between on just one of the tables. Possible?
* Sampe data ;
proc sql feedback _method ;
create table class as
create table weight as
where name let 'O...Separated the noise
dear who considering
i write my simple code under my simple information of matlab function
and post the code in order to benefit other beginner
I have a problem and I hope any help for me
how to separated the original signal from its noise.
I have a wave(.wav)
I blend it with noise.
my listing program :
% generate and mix the noise.
On Dec 25, 11:13=A0pm, "Muhammad " <fahrudin_fis...@yahoo.com> wrote:
> dear who considering
&...Keep running out of memory
I am doing audio simulations using Finite Difference Time Domain methods. This requires 4 very large arrays. So far I have been utilizing 10cm grid spacings in regualr sized rooms which require arrays with about 100,000 points. But I want to use smaller grid spacings like 1cm which would require arrays of 100,000,000 points.
My desktop runs out of memory at about 14,000,000 after upping my virtual memory to 20gigs. I can't imagine I should keep upping my virtual memory so is there another way around my "out of memory" problem ?
"Ryan Matheson" <ryan.j.matheson@gma...I want to be convinced; convince me.
Several people I know like Macs. A lot. I use Windows. I don't like it a
lot. (Parse that either way -- both work.) I want to want to move to a
Mac, but I'm having trouble convincing myself to do it. Today I visited an
Apple store for the 2nd or 3rd time to talk about getting a mini to add to
my Windows network, and for the 2nd or 3rd time I came away with less
enthusiasm for the Mac than before I went there. However, I worry that the
people who work there aren't terribly well versed in the products they
sell, because they often can't answer my questions. I'm hoping...vector, hash table, etc. library in C? I am abandoning C++
Hello, I regret to say that C++ sucks big rocks.
I used it until recently because of its container libraries and for no
In a nutshell concurrency, interruptions, exceptions are ingredients
which when mixed according to a C++ recipe produce a disaster.
Today I searched for a pure C implementations of vector, dictionary,
and other data structures on the net but the results contained so much
C++ noise that it's like looking for a needle in a haystack. Can
anybody please point me to such a true and tried C library?
email@example.com wrot...Wanted: Computer Gaming World issues 2.2, 2.4, 4.1
I am looking for the following issues of Computer Gaming World magazine:
2.2, 2.4 (1982)
I'm willing to purchase or trade... thanks for your help!
The Computer Gaming World Museum
...python GUIs comparison (want)
Now i began to learn GUI programming. There are so many
choices of GUI in the python world, wxPython, pyGTK, PyQT,
Tkinter, .etc, it's difficult for a novice to decide, however.
Can you draw a comparison among them on easy coding, pythonish design,
beautiful and generous looking, powerful development toolkit, and
sufficient documentation, .etc.
It's helpful for a GUI beginner.
:)Sorry for my poor english.
> Now i began to learn GUI programming. There are so many
> choices of GUI in the python world, wxPython, pyGTK, PyQT,
> Tkinter...Need help deleting file with bad filename
I don't know how it happened, but I have a file on the Windows 2000
Professional machine that has a colon in the name itself. Nothing I've
tried with Windows Explorer will touch the file. I tried a few
wildcard tricks from the command line, but couldn't get that to work
Any ideas on how to delete the file?
"Tom Bates" <firstname.lastname@example.org> wrote in message
> I don't know how it happened, but I have a file on the Windows 2000
> Professional machine that has a colon in the nam...Looking for SQL (Delete Query) that will delete records in table1 that are in table2
I have in table1 ten records:
In table2 I have 6 records.
I want to delete the records from table1 that are in table2.
So after the Delete Query runs I want table 1 to have records:
What is the Delete query (SQL) that will accomplish this?
Hi, found this answer in another post:
DELETE table1.ID FROM table1 WHERE (((table1.ID) In (SELECT ID FROM [table2];)));
On Saturday, 27 September 2014 07:10:55 UTC-6, Barry wrote:
> I have in table1 ten records:
&...I want to share with you one of my prefered songs...
I want to share with you one of my prefered songs...
Here is the Boney M Greatest Hits Non Stop:
Amine Moulay Ramdne.
On 5/7/2014 8:16 PM, email@example.com wrote:
> On Thursday, 8 May 2014 03:20:36 UTC+10, aminer wrote:
>> I want to share with you one of my prefered songs...
>> Here is the Boney M Greatest Hits Non Stop:
>> Amine Moulay Ramdne.
> This nonsense is completely irrel...Business partner wanted
I'm looking for a Business Partner for my Mid-Michigan Shop to grow and
take to the next level.
Here's what I have to offer.
I have over 20 years as a Journeyman Tool and Die Maker. Last 10 years
as the owner of my own business. I design, build and run injection
molds. I have experience with stamping dies, fixtures and gages.
Product developement, CAD, CAM, CNC, EDM and custom machining.
The shop is well equipt 2400 sq/ft with 600 sq./ft office space located
at the end of a quite street visible from US-10 hwy. Area is well known
in the thermoforming industry.
The equipment is Haas ...Can I EXPORT tables to a backup DB and delete them from my production server?
I have a database file approximately 30GB in size which creates 3 data
tables daily. I need to reduce the size of the DB due to disk size
limitations. Could I EXPORT some tables, let us say over thirty days
old, to something like DB_Name_Archieve and them delete them from the
production DB to reduce the size? I also need the ability to
reference/read them at a later time as needed.
As a side note, could SQL Server use data on a redirected drive i.e.
NET Used. This would allow me to move the old tables to the redirected
drive and reference them as needed.
As always, thanks in advance.
Pe...Regarding 3-D lookup table
I want to create 3-D lookup table. Here i have 3 input with different dimensions.
Ex: a=[1 2 3]; b=[2 3 4] and c=[1 4]. output z contains 18 elements. How can give the output data for 3 -d lookup table.
On 12/12/10 6:04 AM, kamalakar wrote:
> I want to create 3-D lookup table. Here i have 3 input with different
> Ex: a=[1 2 3]; b=[2 3 4] and c=[1 4]. output z contains 18 elements. How
> can give the output data for 3 -d lookup table.
ismember() against the allowed inputs to determine the indices; use the
indices to index in t...