Space Invaders! Hi guys, hope you can help!
I'm trying to create Space Invaders using video ROMs. I'm creating a
hardware schematic to be used on the XESS XS40 development board that
contains an embedded 8031 microcontroller and a Xilinx 4010 series
deivce. Im downloading it onto that board and running it using a C
program. If anyone can provide any tips/hints or web resources on
schmatic design or operation it will be greatly appreicated.
You should check out the following:
I've downloaded a few files from there but haven't really done much with
"outsideedge" <firstname.lastname@example.org> wrote in message
> Hi guys, hope you can help!
> I'm trying to create Space Invaders using video ROMs. I'm creating a
> hardware schematic to be used on the XESS XS40 development board that
> contains an embedded 8031 microcontroller and a Xilinx 4010 series
> deivce. Im downloading it onto that board and running it using a C
> program. If anyone can provide any tips/hints or web resources on
> schmatic design or operation
passing a space I have a template that searches for and replaces found instances of
strings in other strings and replaces them with yet another string.
These strings are passed to the template as parameters, not
surprisingly. It so happens at the moment that I need to replace
instances of spaces with a plus sign. Unfortunately, I don't know how
to pass a space effectively, the template just doesn't get it.
Any thoughts re how to fix this would be appreciated!
You are not saying how you pass the parameters... Are you passing them
from a call-template instruction?
In that case I do not see the difficulty with that, just enclose the
space in apostrophes if you put that in the select attribute.
<xsl:with-param name="p" select="' '"/>
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> Are you passing them from a call-template instruction?
Yes, that's how they're being passed but when I use this syntax,
space complexity I don't quite understand about space complexity. For example, given a
with 3 nested loops, then the time complexity should be O(n^3). But
space complexity? In time complexity, we use BIG O to represent the
value. But how about space complexity? So basically for each program
it can have both space and time complexity?
please advise. thanks!!
"Matt" <email@example.com> wrote:
> please advise. thanks!!
Here's a brief, non-technical personal anecdote that
About thirty years ago, I sped up an algorithm that
was costing $12,000 per..., for uses after
the setup step, by precomputing some huge fraction
of the cases, and storing the precomputed results in
a table. Of necessity, that table grows hugely in
size, though, so this is only effective if it is
going to be used _lots_ of times, for the cost of
precomputing it and loading it for use.
In my case, I was using the table hundreds of
millions of times in a single run, so it was an
effective trade of space for time, the table
precomputation had to be done only once, though
the large code image load time occurred for every
Similar trade-offs exist in lots of other ways
HDD Space ; wrote:
> My 40GB HDD is reported as follows:
> so that's a total of about 32GB, ok so maybe it's SIGB so 32GB =
> 34.35973837GDSI, that still leaves 5.6 GB un-accounted for, is it lost to
> the partitioning?
Probably yes. fdisk will tell you if you have unpartitioned space. Note
also that maybe df is showing space in 1K block (1024 bytes) instead of
1000 bytes block (or the other way around).
Linux: Fast Pane Relief
-- From a Slashdot.org post
Steven Hook wrote:
> My 40GB HDD is reported as follows:
> root@mail:~ # df -h
> Filesystem... yet.
It could also possibly depend on what format you use on the partitions, some
space is always gobbled up by formatting information. The df is reporting
total available space, not the size of the partition. Partition tables etc.
take up space, and the bigger the disk, the more information is needed to
index the disk, therefore you loose a larger chunk of your disk - but
percentage wise should be similar. A 1GB disk has much less space to index
than a 40GB disk, which in turn has less than a 120GB etc. Different file
systems will have different overheads, different performance
Out of space I was asked by a friend to help resolve a problem with his company's
sendmail. The system admin was deployed to Iraq and no one there knows what
to do. I am not familiar with their system (including unix) at all, but I
can follow directions well.
Here is the information I have gathered:
They are using sendmail 8.9.3 on an RS6000. They use Outlook Express to
read/send mail. They get a message indicating they are out of space and can
not send or receive email.
I am able to get into their system using telnet and I have the super user
login and password.
The mail directories appear to be /usr/spool/mail and usr/spool/mqueue.
What do I have to do to free up space? What application or command is used?
What files can go, what can not?
Thank you in advance for any information you can provide.
> I was asked by a friend to help resolve a problem with his company's
> sendmail. The system admin was deployed to Iraq and no one there knows what
> to do. I am not familiar with their system (including unix) at all, but I
> can follow directions well.
> Here is the information I have gathered:
> They are using sendmail 8.9.3
Space character v. word space. I have pored over pages in the TeXBook but I cannot find an answer. We
know that the word space is given a beginning value of 1000. The magic
of nonfrenchspacing is worked using this base value as a starting
Now here is my question: is that interword space dimension that is
given the value of 1000 equal to the width of the space character in
that particular font? I assumed that it was a bit smaller. But I may
Education is requested.
Le 19/02/2011 19:11, wexfordpress a �crit :
> I have pored over pages in the TeXBook but I cannot find an answer. We
> know that the word space is given a beginning value of 1000. The magic
> of nonfrenchspacing is worked using this base value as a starting
> Now here is my question: is that interword space dimension that is
> given the value of 1000 equal to the width of the space character in
> that particular font? I assumed that it was a bit smaller. But I may
> assume wrongly.
> Education is requested.
> John Culleton
In fact, 1000 is the space _factor_ which is thousand times the
scale factor for the stretch componant
Disk space and swap space (10.3.3) Does 'df -k' have some magic that keeps it from
counting swapfiles? I sometimes get GUI alerts
warning me that I am dangerously low on disk space
when 'df' says there is 100-500 megabytes. Sometimes
it even says "you better quit some applications fast!"
But often, that does NOT happen with the same space showing.
And note that both (warnings and no warnings) happen on
both ends of the 100-500 MB free scale.
Also, is there something out there somewhere that can
detect a sudden _major_ change in free space and pop up
an alert on _which_ directory and/or file changed?
I have on three occasions noticed a sudden reduction of
200-300 MB freespace with nothing (AFAICT) in the user's
actions to explain it.
I recently upgraded to 10.3.3 I cannot remember whether
the first occurrence of these was before or after the upgrade.
Genealogical Lookups: http://groleau.freeshell.org/ref/lookups.html
Wes Groleau <firstname.lastname@example.org> wrote:
> Does 'df -k' have some magic that keeps it from
> counting swapfiles? I sometimes get GUI alerts
> warning me that I am dangerously low on disk space
Free Space/Used Space = 0
Ok, I just got home from work and I am being asked to work on my moms
computer. The PC starts loading windows XP and then restarting(it just
gets to the windows XP screen). When i connect the drive to my PC to
scan it, it says done right away. The hard drive is showing that there
is 0 bytes free, and 0 bytes used will I pull up the properties.
My first thought is that the drive is completely corrupted and and all
the data is lost. However it is showing XP loading up and then
crashing, so some information is being accessed.
For now I am just going to order her a new drive and
Window space to world space with matrices Hi all!
I'm writing an editor in which user can pan and zoom in/out a 2D view
of a scene with mouse, and select items with Left MB. Panning and
zooming works fine with my matrices.
I'm having problems converting cursor position from window space (that
is, 0-clientarea_width, 0-clientarea_height) to 'world' space. I store
current view position (float tx, ty) and scale/zoom (float scale), and
use them to construct a matrix for drawing and window-to-world space
I'm using following code, but it only works when scale is 1.0 (ie. 1:1
void C2DView::OnLButtonDown(UINT nFlags, CPoint point)
M.m = scale;
M.m = scale;
M.m = 1; // Z not used
M.m = tx;
M.m = ty;
pt = M.TransformPoint(point);
// pt.x and pt.y should now contain the cursor
// position in world coordinates.
Is there something else that needs to be done?
Dr. Proton <email@example.com> wrote:
> I'm writing an editor in which user can pan and zoom in/out a 2D view
> of a scene
That's a 2D scene then, I take it?
> I'm using following code, but it only works when scale is 1.0 (ie. 1:1
mmap() and address space reservation the kernel
implements overcommit, these are 400 megabytes less in swap space.
-- It shows badly in tools such as "top".
-- If my RAM consumption grows and then shrinks, the accessed but now
unused pages will not be reclaimed by the OS.
What I really need is a way to tell the kernel that a specific range
of addresses is "reserved": the kernel should refrain from using those
addresses for mmap() calls, unless MAP_FIXED is specified. Thus, my
allocator may call mmap() and munmap() when growing and shrinking,
without interfering with the mappings used by malloc() and other...(), may occur in the same process.
> Right now, I can do it with a mmap() (with MAP_ANON): I reserve my
> 400 megabytes, and the VM allocates the pages when I access them.
> This has the following drawbacks:
> -- The whole 400 megabytes are "promised" to me: unless the kernel
> implements overcommit, these are 400 megabytes less in swap space.
> -- It shows badly in tools such as "top".
> -- If my RAM consumption grows and then shrinks, the accessed but now
> unused pages will not be reclaimed by the OS.
> What I really need is a way to tell