3d sphere inflating and deflating
I am trying to build a simple VI which when given a duration, will display a sphere increasing in size/scale and then decreasing in size/scale for the same duration.
Imagine this to be like a baloon that is inflating and deflating continuously. The inflatrion shuld start from 0.5 scale to 1 and then it should deflate in equal number of steps from1 down to 0.5
I have tried to implement this using simple logic but the 3d display doesnt work correctly . Not sure if my logic is right.
Also, I have only managed to do a 0 to 1 scale increase instead of a 0.5 to 1
Code attached.
Attachments:
3d display.vi 18 KB
Hi Jaspal,
I attached a version of your VI in 8.6 that does what I think you'd like.
There were 2 problems with your VI that I saw, the first was you wired "N" from the loop instead of "i". So you were always comparing 20>9 and never getting to your other case.
The other is it looks like you were splitting the 3D Picture Control reference and expecting it to treat all of your 3D Picture Controls independently. With a reference any rotations/scales/translations will apply to the scene on that reference and all controls wired to it.
Attachments:
3d display.vi 14 KB
Similar Messages
-
File inflate and deflate problem
i have a code that deflates a file "first.txt".But when run it is not printing the proper message written after deflating code.However the deflated file is generated "first.txt.dfl"
import java.io.*;
import java.util.zip.*;
public class DirectDeflector
public final static String DEFLATE_SUFFIX=".dfl";
public static void main(String args[])
Deflater def=new Deflater();
byte[] input=new byte[1024];
byte[] output=new byte[1024];
try
FileInputStream fin=new FileInputStream("first.txt");
FileOutputStream fout=new FileOutputStream("first.txt"+DEFLATE_SUFFIX);
while(true)
int numRead=fin.read(input);
if(numRead==-1)
def.finish();
while(!def.finished())
int numCompressedBytes=def.deflate(output,0,output.length);
if(numCompressedBytes>0)
fout.write(output,0,numRead);
break;
else
def.setInput(input,0,numRead);
while(!def.needsInput())
int numCompressedBytes=def.deflate(output,0,output.length);
if(numCompressedBytes>0)
fout.write(output,0,numCompressedBytes);
fin.close();
fout.flush();
fout.close();
def.reset();
System.out.println("File deflated!!");
}catch(Exception e )
System.out.println(e.getMessage());
**But instead of printing "File deflated!!",it is printing null.
Again when i inflate the and write it to another file it is not working..Here is the code..
import java.io.*;
import java.util.zip.*;
public class DirectInflator
public static void main(String args[])
Inflater inf=new Inflater();
byte[] input=new byte[1024];
byte[] output=new byte[1024];
try
FileInputStream fin=new FileInputStream("first.txt.dfl");
FileOutputStream fout=new FileOutputStream("firstread.txt");
while(true)
int numRead=fin.read(input);
if(numRead!=-1)
inf.setInput(input,0,numRead);
int numDecompressed=0;
while((numDecompressed=inf.inflate(output,0,output.length))!=0)
fout.write(output,0,numDecompressed);
if(inf.finished())
break;
else if(inf.needsDictionary())
System.err.println("Dictionary required!!");
break;
else if(inf.needsInput())
continue;
fin.close();
fout.flush();
fout.close();
inf.reset();
System.out.print("Inflation successful!!");
}catch(DataFormatException e)
e.getMessage();
catch(IOException e)
e.getMessage();
catch(Exception e)
e.getMessage();
**plz helpint numRead=fin.read(input);
if(numRead==-1)
def.finish();Seems to be an 'else' missing here.
int numCompressedBytes=def.deflate(output,0,output.length);int numCompressedBytes=def.deflate(output,0,numRead);
if(numCompressedBytes>0)
fout.write(output,0,numRead);
fout.write(output,0,numCompressedBytes);
elseWhat is supposed to be happening in the following block I have no idea. -
Can I stop and deflate show before it stops downloading?
Can I stop and deflate show before it stops downloading?
Did you choose one of the secure erase options? If so, you can stop the process but if you want to do a secure erase, the next time you try it, it will start all over again overwriting every accessible sector on the HD & take just as long.
-
Ibook screen being inflated and fuzzy!! :s
HELP!!!
i turned on my ibook and the screen is sort of "zoomed in" and all the writting and pictures and things are fuzzy!! help wats gowing on, i tried to restard it but it did nothing, wat can i doopressing command + option + "+" or "-" causes the screen to zoom in, which makes it seem at a lower resolution, maybe you pressed this shortcut by accident.
-
Inflater/Deflater Question
Hi
I was lookign into the java.util.zip package utilities - Inflator and Deflator apis and I am bit confused abt their usage - Lets take the scenario where I want to compress a byte[] of data - Ideally I would expect an API to like
public byte[] compress(byte[] dataToCompress)
Strangely enough the Deflator api does not have this - instead it has - setInput(byte[] dataToCompress) and then int deflate(byte[] buffer) - How on the world I will know the buffer size if I dont know what the compressed data size will be?? .
If anyone has really used Deflater - pls let me know how they have got around this problem. OR If there is any other better way to do that pls let me know.
TIA
AnamitraDisclaimer: I have never used the Deflator class and this is meant to be a hand-waving example, it is not meant to be 'good' code. By no means should you use this code for anything important. You need to understand the class before you actually use it. I am just showing you the basic idea. From looking at the API there is clearly much more than this needed to use the class correctly. I haven't even tried to compile this.
Do something to the effect of:
ArrayList bufferList = new ArrayList;
byte[] input = getInput();
Deflator deflator = new Deflator();
int bytesReturned;
deflator.setInput(input);
do {
byte[] buffer = new byte[1000]
bytesReturned = deflator.deflate(buffer);
bufferList.add(buffer);
} while (bytesReturned == 1000) -
Remove flate compression from pdf
Hi, i have a pdf file generated by a MicroStrategy tool
The pdf file has flate compression in it
When i open this file in wordpad i see this text:
/Filter /FlateDecode
The receiver cannot accept pdf files that has the above compression
How can i remove Flate compression from this pdf file?
Also, what is Flate, Inflate and Deflate with respect to pdf compression?
If this is not the right forum for this question, please guide me to the right forum
Thanks
-srinivasYou may try a forum for the MicroStrategy tool. It isn't a Adobe product.
-
LZW algorithm for data compression with partial clearing
hello,
i want to implement zip utility and in that i have to develop LWZ algorithm with partial clearing i.e unshrinking method in JAVA
i am not getting information anout unshrinking on net.
please anyone can help me.LZW had patent issues, so was replaced. I assume you don't want patent issues.
The new algorithm is already programmed for you via the Inflater and Deflater classes in java.util.zip. Unfortunately the doc is nearly incomprehensible. Fortunately for you several of us have worked together and got it to work. Go to Advanced Language Topics and search for topics on Inflater. I've posted code there that is dead simple to use and would be a good foundation for any zip-like utilities. -
Hello,
the following class can inflate and deflate files. The in/deflated file overrides the old one. But I've encountered a problem. This class first writes a file into a byteArray. Next it is being in/deflated and written to the disk. But with large files(>30mb on my computer), I get a memory overload. Does anyone have any suggestions?
Thanks in advance,
Wouter
This is the code:
package koepelFileCompressor;
import java.io.*;
import java.util.zip.*;
public class koepelFileHandler {
static final int BUFFER = 4096;
public koepelFileHandler(){
//lege constructor
public byte[] makeByteArray(File file){
byte data[] = new byte[BUFFER];
try{
BufferedInputStream fileNaarByte = null;
FileInputStream fi = new FileInputStream(file);
fileNaarByte = new BufferedInputStream(fi, BUFFER);
ByteArrayOutputStream out = new ByteArrayOutputStream();
int count;
while((count = fileNaarByte.read(data, 0, BUFFER)) != -1) {
out.write(data, 0, count);
fileNaarByte.close();
return out.toByteArray();
catch(Exception e){
e.printStackTrace();
return data;
public void pakIn(String fileName){
try{
Deflater compressor = new Deflater();
compressor.setLevel(Deflater.BEST_COMPRESSION);
compressor.setInput(makeByteArray(new File(fileName)));
BufferedOutputStream inflateTo = new BufferedOutputStream(new FileOutputStream(new File(fileName)));
compressor.finish();
byte[] buf = new byte[BUFFER];
while (!compressor.finished()) {
int countIt = compressor.deflate(buf);
inflateTo.write(buf, 0, countIt);
inflateTo.close();
catch(Exception e){
e.printStackTrace();
public void pakUit(String fileName){
try {
Inflater decompressor = new Inflater();
decompressor.setInput(makeByteArray(new File(fileName)));
BufferedOutputStream deflateTo = new BufferedOutputStream(new FileOutputStream(new File(fileName)));
byte[] buf = new byte[BUFFER];
while (!decompressor.finished()) {
int count = decompressor.inflate(buf);
deflateTo.write(buf, 0, count);
deflateTo.close();
catch(Exception e) {
e.printStackTrace();
}One option is to increase the Java heap size by doing
java -XmxBIGGERNUMBER yourRunnableClassName
Also, you could analyze your code to see if you can set to null some large data structures
after you're done using them, before you build some other large data structures. Call System.gc() a few times in succession after you've set the structure(s) to null, and it will clean up the memory soon afterwards. Though this will slow down the performance of the program somewhat.
Hope this helps,
Corrine
Hello,
the following class can inflate and deflate files. The
in/deflated file overrides the old one. But I've
encountered a problem. This class first writes a file
into a byteArray. Next it is being in/deflated and
written to the disk. But with large files(>30mb on my
computer), I get a memory overload. Does anyone have
any suggestions?
Thanks in advance,
Wouter
This is the code:
package koepelFileCompressor;
import java.io.*;
import java.util.zip.*;
public class koepelFileHandler {
static final int BUFFER = 4096;
public koepelFileHandler(){
//lege constructor
public byte[] makeByteArray(File file){
byte data[] = new byte[BUFFER];
try{
BufferedInputStream fileNaarByte = null;
FileInputStream fi = new FileInputStream(file);
fileNaarByte = new BufferedInputStream(fi,
i, BUFFER);
ByteArrayOutputStream out = new
ew ByteArrayOutputStream();
int count;
while((count = fileNaarByte.read(data, 0, BUFFER))
)) != -1) {
out.write(data, 0, count);
fileNaarByte.close();
return out.toByteArray();
catch(Exception e){
e.printStackTrace();
return data;
public void pakIn(String fileName){
try{
Deflater compressor = new Deflater();
compressor.setLevel(Deflater.BEST_COMPRESSION);
compressor.setInput(makeByteArray(new
ew File(fileName)));
BufferedOutputStream inflateTo = new
ew BufferedOutputStream(new FileOutputStream(new
File(fileName)));
compressor.finish();
byte[] buf = new byte[BUFFER];
while (!compressor.finished()) {
int countIt = compressor.deflate(buf);
inflateTo.write(buf, 0, countIt);
inflateTo.close();
catch(Exception e){
e.printStackTrace();
public void pakUit(String fileName){
try {
Inflater decompressor = new Inflater();
decompressor.setInput(makeByteArray(new
y(new File(fileName)));
BufferedOutputStream deflateTo = new
= new BufferedOutputStream(new FileOutputStream(new
File(fileName)));
byte[] buf = new byte[BUFFER];
while (!decompressor.finished()) {
int count = decompressor.inflate(buf);
deflateTo.write(buf, 0, count);
deflateTo.close();
catch(Exception e) {
e.printStackTrace(); -
How do I compress an image object?
I need it to be fast, as I want to send it over the network using socket.
I have already tried GZIP but got the error "Not in GZIP format".When I use GZIP the code runs for a while and then gives the error I stated above.
I have also used Inflater and Deflater. It reduces the size of my image object but I did not get any improvement in speed.It is basically a code for bandwidth utilization.
I need some help a.s.a.p.
Thanks.bandwidth is not an issue now. I am actually doing a
project on thin client and for my demo i need
improvement in speed.1) If bandwidth not the issue, then don't use compression, since you don't need it (yet)
2) I bet there are at least five other, more critical performance bottlenecks in your code
3) Maybe you should think about your design. Why not give the processed data to the client and have it draw the image itself, instead of having the server creating the image and sending it to a client?
Or are you trying to create some Citrix-Metaframe-like terminal? -
Tips for shaving a few bytes off a byte array?
Hi, before you give me the standard solution using Inflator and Deflator, Im doing this on a J2ME device (of which there is no solution already implemented for both compression and decompression).
I have a few byte arrays of length 150-300 bytes and just want to squeeze things all tighter if possible. The header information for decoding them should be stored in the resulting byte[] array also.
I know storing a huffman tree would probably be too large for this so I just want suggestions for any tiny things that can be done (ie looking for repetitions of bytes or nibbles in the array)
Thanks in advance!how large a header would I have to store in the byte
array? The arrays are very small and this header data
must be included in them!No header at all -
[iPhone] - Memory Warnings, available RAM and development
Hello-
I keep receiving memory warnings, and occasional 101 exits from my iPhone app. According to Instruments, the RAM usage never goes above about 13MB. From what I have seen this should be well below the RAM available to apps, which I have read should be around 20-30 MB. We usually only see this after the phone has been on for a long time, with repeated builds and test sessions.
The question is, if we alloc memory during a testing phase, and then exit the app in a non-standard way (Xcode stop button), could we be leaving memory allocated, taking away the available RAM for the next build? Also, when does applicationDidReceiveMemoryWarning get called? When a certain percentage is left, a certain byte count?Memory warnings are triggered when the OS is low on available memory - it might have nothing to do with your app. Something else happening on the device - an incoming text message, phone call, notification of some kind etc. all can cause memory warnings. With that said, you have to free up unused memory or you run the risk of your app being force quit by the OS.
There's some things you can do to help reduce your memory overhead. Only cache items you need cached, alloc and release objects as you use them rather than adding them to the autorelease pool. Auto released objects use memory until the pool is cleaned. For example creating an autoreleased NSString with
NSString* a = [NSString stringWithString:@"a"];
will get added to the autorelease pool and freed eventually. Instead, create it, use it and release it straight away.
NSString* a = [[NSString alloc] initWithString:@"a"];
// do something
[a release];
This way the memory is only allocated for the time it is in use. If you're going to use auto release pools, create them and drain them close together. I keep an autorelease pool around even though I am allocing and releasing most of my objects and then I drain the pool on a memory warning which frees up some memory.
I hope this helps, I seem to remember that the SQLite books sample code had some examples on inflating objects on demand and deflating them on receipt of a memory warning. Good luck.
Mike -
Problems setting up an Apache PHP and MySQL server(slvd)
I folowed this guide: http://wiki.archlinux.org/index.php/LAMP and I did everything it says and everything is working well... but when I try to install any CMS that uses MySQL, it says that mysql is not running... Even with Nmap, it only shows that apache is running... anyone knows why ?
when I'm installing Xoops, it prints this error:
Fatal error:
mysql extension not loaded in /home/httpd/html/xoops-2.2.3a-final-xpr/html/class/database/mysqldatabase.php on line 74
But, phpMyAdmin runs without any errors... this is so strange...
Can anyone help me ?
Thanks in advanceI don't have any extension=mysql.dll in my php.ini.... I just have extension=mysql.so...
Here's my <?
phpinfo();
?>
This is Arch Linux, running PHP.
PHP Logo
PHP Version 5.1.1
System Linux localhost 2.6.15 #4 PREEMPT Mon Jan 9 13:16:27 CAT 2006 i686
Build Date Dec 5 2005 11:31:11
Configure Command './configure' '--with-apxs2' '--prefix=/usr' '--sysconfdir=/etc' '--with-layout=PHP' '--with-ttf' '--enable-mailparse' '--with-config-file-scan-dir=/etc' '--enable-bcmath=shared' '--enable-calendar=shared' '--enable-ftp=shared' '--enable-gd-native-ttf' '--enable-magic-quotes' '--enable-posix=shared' '--enable-session' '--enable-shared' '--enable-shmop=shared' '--enable-pdo=shared' '--enable-sqlite-utf8' '--enable-sockets=shared' '--enable-xml' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-sysvmsg=shared' '--enable-track-vars' '--enable-trans-sid' '--enable-safe-mode' '--with-imap' '--with-imap-ssl' '--with-ncurses' '--with-readline' '--with-bz2=shared' '--with-curl' '--with-mime-magic' '--with-freetype-dir=/usr' '--with-gd=shared' '--enable-exif' '--with-jpeg-dir=/usr' '--enable-dba' '--without-db2' '--without-db3' '--with-inifile' '--with-flatfile' '--with-gdbm' '--with-ldap=shared' '--with-openssl' '--with-gettext' '--with-unixODBC=shared,/usr' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-mysqli=shared' '--with-mysql-sock=/tmp/mysql.sock' '--with-pdo-mysql=shared,/usr' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-pgsql-sock=/tmp/pgsql.sock' '--with-pdo-pgsql=shared,/usr' '--with-sqlite=shared' '--with-pdo-sqlite=shared,/usr' '--with-pear=/usr/share/pear' '--with-dom' '--with-dom-xslt' '--with-xsl' '--with-png-dir=/usr' '--with-regex=php' '--with-zlib' '--enable-mbstring=all' '--enable-mbregex'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib
Scan this dir for additional .ini files /etc
additional .ini files parsed /etc/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib, https, ftps, compress.bzip2
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, convert.iconv.*, zlib.*, bzip2.*
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir /usr/lib/php/extensions/php /usr/lib/php/extensions/php
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear .:/usr/share/pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from [email protected] [email protected]
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
apache2handler
Apache Version Apache
Apache API Version 20020903
Server Administrator [email protected]
Hostname:Port laptop-do-joao.net:0
User/Group nobody(99)/99
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server No
Server Root /usr
Loaded Modules core prefork http_core mod_so mod_access mod_actions mod_alias mod_asis mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_autoindex mod_cgi mod_dav mod_dav_fs mod_dir mod_env mod_expires mod_ext_filter mod_headers mod_imap mod_include mod_info mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_speling mod_ssl mod_status mod_userdir mod_vhost_alias mod_php5
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
HTTP_HOST laptop-do-joao.net
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060104 Firefox/1.5
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
PATH /bin:/usr/bin:/sbin:/usr/sbin
SERVER_SIGNATURE <address>Apache Server at laptop-do-joao.net Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME laptop-do-joao.net
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /home/httpd/html
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /home/httpd/html/test.php
REMOTE_PORT 33973
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /test.php
SCRIPT_NAME /test.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /test.php HTTP/1.1
Host laptop-do-joao.net
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060104 Firefox/1.5
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
HTTP Response Headers
X-Powered-By PHP/5.1.1
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html; charset=ISO-8859-1
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.3, 15-Feb-2005
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.15.0 OpenSSL/0.9.7h zlib/1.2.3
date
date/time support enabled
Timezone Database Version 2005.14
Timezone Database internal
Default timezone Africa/Khartoum
Directive Local Value Master Value
date.timezone no value no value
dba
DBA support enabled
Supported handlers gdbm cdb cdb_make inifile flatfile
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.22
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.2 2005/10/10 06:09:25 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
ftp
FTP support enabled
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.5
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
imap
IMAP c-Client Version 2004
SSL Support enabled
libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value
mime_magic
mime_magic support enabled
Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /etc/httpd/conf/magic /etc/httpd/conf/magic
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7h 11 Oct 2005
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005
posix
Revision $Revision: 1.70.2.1 $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
shmop
shmop support enabled
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.7 $
Schema support enabled
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SimpleXMLIterator, SplFileObject, SplObjectStorage, UnderflowException, UnexpectedValueException
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.83 90.83
date.sunset_zenith 90.83 90.83
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22
xsl
XSL enabled
libxslt Version 1.1.15
libxslt compiled against libxml Version 2.6.21
EXSLT enabled
libexslt Version 1.1.15
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
sysvsem
sysvshm
Environment
Variable Value
CONSOLE /dev/console
TERM linux
LD_LIBRARY_PATH /usr/lib:
INIT_VERSION sysvinit-2.86
PATH /bin:/usr/bin:/sbin:/usr/sbin
RUNLEVEL 5
PWD /
PREVLEVEL N
SHLVL 3
HOME /
BOOT_IMAGE Arch-2.6.15
_ /usr/sbin/httpd
PHP Variables
Variable Value
_SERVER["HTTP_HOST"] laptop-do-joao.net
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060104 Firefox/1.5
_SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] /bin:/usr/bin:/sbin:/usr/sbin
_SERVER["SERVER_SIGNATURE"] <address>Apache Server at laptop-do-joao.net Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache
_SERVER["SERVER_NAME"] laptop-do-joao.net
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] /home/httpd/html
_SERVER["SERVER_ADMIN"] [email protected]
_SERVER["SCRIPT_FILENAME"] /home/httpd/html/test.php
_SERVER["REMOTE_PORT"] 33973
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1137274380
_SERVER["argv"]
Array
_SERVER["argc"] 0
_ENV["CONSOLE"] /dev/console
_ENV["TERM"] linux
_ENV["LD_LIBRARY_PATH"] /usr/lib:
_ENV["INIT_VERSION"] sysvinit-2.86
_ENV["PATH"] /bin:/usr/bin:/sbin:/usr/sbin
_ENV["RUNLEVEL"] 5
_ENV["PWD"] /
_ENV["PREVLEVEL"] N
_ENV["SHLVL"] 3
_ENV["HOME"] /
_ENV["BOOT_IMAGE"] Arch-2.6.15
_ENV["_"] /usr/sbin/httpd
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected]. -
text inflation as a desktop-to-mobile-view conversion doesn't work, and can never be fixed.
it will always either fail to make important parts of websites readable, or completely unhinge them.
opera mini, opera mobile(now classic) and opera for android show how well "text reflow" works for desktop pages on mobile devices.
before the opera mobile EOL I never needed mobile versions of pages.
firefox for android already has a text reflow feature, but it is hidden away and unusable because of 2 easily fixable problems.
1. "text inflation", it's completely unnecessary to require enlarged text in order to reflow but with this feature disabled(text to smallest size) there is no reflow.
2. "fixed zoom", currently double-tap zooming will always put the text fullscreen(which on a desktop layout is still too small)
a "fixed zoom" option that always zooms a set % regardless of where you double-tap should allow zooming in to a level where text is readable and should force "text reflow" to reflow text to screen-width.
so why are we still stuck with either messy or unreadable text on desktop pages?you seem to have missed the point of my post.
firefox has 2 methods to make desktop pages readable on phones, "text reflow" and "text inflation".
text reflow is disabled by default and doesn't work properly because of a few unchangeable settings, even though it is proven to be a very effective and reliable method to make desktop pages work on phones by opera's browsers.
and text inflation is broken because it can never accurately determine what can and can't be inflated.
and my question is why we're still stuck with using text inflation when text reflow is a much better option? -
Intracompany sale and purchase of material
Hi All
I would like to know how can intracompany sale and purchase be carried out in SAP?
Details of problem:
There are 2 LOBs under one company code which are represented by 2 diff plants, valaution area and profit centre.
When 1 LOB requires component "A" (trading component), then LOB 2 sells this item to LOB1 with profit margin.
How can this scenario be mapped in SAP so that my material inventory doesnt inflate and at the same time there is sale shown in LOB 2 and purchase in LOB1. Also corresponding entries of internal sale and internal purchase are shown in resp profit centre.
Request you to please help me out.
Regards
RakeshHi gj,
SAP's answer to the requirement was already mentined above. SAP foresees to use a parallel profit center valuation where the internal sales would be represented.
from the help docu:
Company A sells a product to Company B, thereby realizing a profit that must be shown in its balance sheet (corporate and tax balance sheets). Because Company A and Company B both belong to a group, this sale is merely as an internal stock transfer when looked at from the point of view of the group. Thus no group (internal) profits can be realized as a result of this transfer. Such internal profits can also arise when the exchange is between two profit centers instead of two independent companies of the group.
[http://help.sap.com/saphelp_erp60_sp/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm]
best regards,
Udo -
I'm presently new to Java 3D, so I hope someone can help me out.
I've created a sphere object and I've noticed that there is a distinct line along the z-axis of the sphere. The shading on the opposide sides of the line is also very different.
After using a picktool, and picking the closest coordinates from both sides of the line, I've discovered that the z-coordinates for for the Point3d picked are different even though they lie on the same points.
I need to obtain a smoothly shaded sphere, so I passed the sphere through a GeometryInfo object and reset those coordinates and normals to the same values.
Question:
-Is this an inherent bug in Java3D?
-Are there any better ways to do this?Im not sure I understand your problem but I suggest you to look at the source code of the Sphere class (its available).
Maybe you are looking for
-
Service desk---not able to assign employee and user to a position
As i click on employee or user one popup comes and doesn't open. Therefore i am not able to assign a employee or user to a position. Friends please help me out. regards Rajneesh
-
Hard Drives not sleeping SystemUIServer Hangs
I have been having problems with SystemUIServer “Hanging” when I used either my scanner or digital card reader which are both connected via FireWire. USB devices didn’t do this. You could see that it was Hanging in the Activity Monitor window. I was
-
Help me explain the need for RAM? Please???
Hi, I work on a G5 in my new job as a 'Mac operator' (I'm in pre-press). At first I thought this has to be one of the original G5's that had issues, because it is pretty slow for a G5. So I decided to check the profiler and see just what my little Ma
-
How do I file email into folders?
Hi, How do I create and file emails into folders? I've created a "Smart Mailbox" (whatever that is, lol) and tried to drag emails into that folder but it doesn't work. When I click on the email and want to move it, nothing shows up to move it to: inc
-
How do I turn off list formatting in Notes app?
I want the Notes app to function as a plain text editor. But I was experimenting with formatting & selected "Insert Numbered List" from the "Format" menu. Now I can't turn it off! E.g. any time I enter "1) " as the begining of a line, Notes indents &