Compiled language with similar feel to php?

I have written several utilities for my album program in php,
but this means
that if I give them to anyone else they have to install php
before they can use
them on their own computers.
I have never used C++, but the philosophy behind php seems to
be very similar to
that behind it (as I remember it from one or two lectures
about 40 years ago),
so I thought Visual C++ might be the way to go. However the
discussions on
several of the C++ newsgroups I have looked at recently seem
to be coming from
another planet.
Can anybody suggest which language would be most suitable for
this purpose? The
last high-level language I was recently proficient in was
Fortran.
Clancy

Clancy wrote:
> I have written several utilities for my album program in
php, but this means
> that if I give them to anyone else they have to install
php before they can use
> them on their own computers.
The same would be true for most compiled languages. If you
used Java,
for instance, they would need to install the JVM.
> Can anybody suggest which language would be most
suitable for this purpose? The
> last high-level language I was recently proficient in
was Fortran.
If you want to display images, you might want to investigate
ActionScript 3.0, the language used by Flash, Flex, and AIR
(Adobe
Integrated Runtime):
http://labs.adobe.com/technologies/air/
ActionScript 3.0 is an object-oriented language, which is
compiled into
bytecode, and runs in the Flash Player or AIR. Of course, it
means that
your friends would need to install the Flash Player or AIR,
but both are
easy to install (basically, click and you're done).
Learning ActionScript 3.0 to display a photo gallery might
seem like
overkill, but I get the impression that you're more
interested in
building your own application, rather than using an
off-the-shelf
product. I have been using ActionScript 1.0 and 2.0 for
several years
(even written books about it), but ActionScript 3.0 is
completely
different. It contains a huge number of built-in classes, so
can feel
overwhelming to start with. However, the syntax is very easy,
as
everything is written in plain English, and it uses the same
looping and
conditional structures as PHP.
The best way to work with ActionScript is with Flex Builder
(a new
version, Flex Builder 3, is due out later this year, but you
can try it
out as a 30-day free trial to see if it appeals to you). The
best way to
learn ActionScript 3.0 is with "Essential ActionScript 3.0"
by Colin
Moock. It has just been published by O'Reilly. I'm reading
it, and it's
excellent.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Latvian Language support for generated PDF's with FPDF module for PHP

    Hello !
    I have a problem with Adobe Reader for Android. I am working with online PDF creation with PHP module named FPDF.
    With FPDF module for PHP you can create PDF's online.
    The problem is that - when generated PDF appears on phone it doesn't show Latvian language ( cp1257 or  ISO-8859-13 for example ). For example - "ŗķļņž" and "ŖĶĻŅŽ" is shown with other symbols.
    However opening the same file with standart app "Polaris Office" - the text is show as it used to be, without problem.
    Strange bug, that i can't fix from PHP ( Tried a lot of decodes and encodes ). Also i have saved PHP file with different encodings - nothing helped.

    You might ask about this in the regular forum. There are several form experts there that may be able to help you.

  • [ SOLVED ] Compile Error with Java Fonts & IntelliJ

    Hi All
    I have now got a new problem when i compile a flex project.  Yesterday inorder to get the IJ Interface font smoothing sorted, i had to add this line to my ~/.bashrc file
    _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
    But now when i go to run a flex project, i get the following error message
    Information:Using built-in compiler shell, up to 4 parallel threads
    See compiler settings at File | Settings | Compiler | Flex Compiler page
    Information:Starting Flex compiler:
    /opt/java/jre/bin/java -Dapplication.home=/home/julian/SDK/flex_sdk_4.5.0.17855 -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=en -Xmx1024m -classpath /opt/idea-IU-98.311/plugins/flex/lib/flex-compiler.jar:/home/julian/SDK/flex_sdk_4.5.0.17855/lib/flex-compiler-oem.jar com.intellij.flex.compiler.FlexCompiler 48936
    Information:Compilation completed with 2 errors and 0 warnings
    Information:2 errors
    Information:0 warnings
    Error:Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
    Error:java.net.SocketException: Socket closed
    Error:java.net.ConnectException: Connection refused
    Error:     at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:218)
         at com.intellij.flex.compiler.FlexCompiler.openSocket(FlexCompiler.java:35)
         at com.intellij.flex.compiler.FlexCompiler.main(FlexCompiler.java:70)
    Any suggestions, besides disabling the _JAVA_OPTION again ?
    Many Thanks
    Last edited by whitetimer (2010-11-14 17:24:11)

    -Dawt.useSystemAAFontSettings=on needs to be added to the end of file
    idea.vmoptions

  • Oracle Forms 9i and C language with UNIX-HP

    Hi,
    I'm having problems with user-exits written in C language with oracle 9i in UNIX_HP environment. From the URL with a form without user exits it is ok, but if I start with a form with user-exits I have the message FRM-40800.
    With oracle forms 4.5 it is ok, but it is different the way to run the form.
    With forms 4.5 I used a shell script like below:
    #!/bin/ksh
    export .....something...
    exec $HOME/BIN/exerunmx MODULE=$HOME/BIN/exeop_monitor ....some parameters set....
    where exerunmx is f90webm renamed and compiled with make file below:
    ALTRELIBS = `cat $(ORACLE_HOME)/lib32/sysliblist`
    .SUFFIXES: .o .c .pc
    OBJS=acuopiapxtb.o acuiicf0.o acuopol0.o acuopmsg.o acusiin0.o
    TARGET = $(HOME)/BIN/exerunmx
    all: INIT $(TARGET) EXIT
    # Include le definizioni comuni a tutti i processi
    include $(HOME)/SRC/acvardef
    include $(HOME)/SRC/acFileDerivati
    $(TARGET): $(OBJS) $(ADAS_LIBS32)
    -rm -f $(TARGET)
    make -f $(ORACLE_HOME)/forms90/lib/ins_forms.mk f90webmx \
    EXITS="$(OBJS) $(ADAS_LIBS32) " \
    CLIBS="$(ALTRELIBS) $(BCL_LIBS) -lV3 "
    -mv f90webmx $(TARGET)
    CINC1=-I$(HOME)/INC -I$(AC_HOME)/INC -I/product/app/oracle/product/9.2.0/rdbms/d
    emo -I/product/app/oracle/product/9.2.0/rdbms/public
    CFLAGS32=$(CINC1) $(cc_Defs) -O -Aa -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_POSIX_SOUR
    CE DA1.0 DS1.1 ESsfc ESlit
    .pc.c:
    $(PROC) $(PCCFLAGS) iname=$*.pc
    .c.o:
    $(CC) $(CFLAGS32) -c $(@F:.o=.c)
    # Dipendenze
    acuiicf0.c: acuiicf0.pc
    acuopol0.c: acuopol0.pc
    acuopmsg.c: acuopmsg.pc
    acusiin0.c: acusiin0.pc
    acuiicf0.o: $(HOME)/INC/acufbxx0.h $(HOME)/INC/acufbmsg.h $(HOME)/INC/acuopxx0.h
    acuopol0.o: $(HOME)/INC/acufbxx0.h $(HOME)/INC/acufbmsg.h $(HOME)/INC/acuopxx0.h
    acuopmsg.o: $(HOME)/INC/acufbxx0.h $(HOME)/INC/acufbmsg.h $(HOME)/INC/acuopxx0.h
    acusiin0.o: $(HOME)/INC/acufbxx0.h $(HOME)/INC/acufbmsg.h $(HOME)/INC/acuopxx0.h
    Could you help me please? or tell me where I might find something, on the Oracle forum noone was able to help me.
    Thank you in advance
    Antonio

    Have you put the name of the DLL into FORMS90_USEREXITS registry variable ?

  • [solved] unable to compile mame with gcc 4.7.2

    I tried to compile mame :
    http://mamedev.org/downloader.php?file= … e0147s.zip
    but it doesn't work, it fails with gcc 4.7.2 :
    Compiling src/emu/cpu/tms32051/tms32051.c...
    Generating TMS57002 source file...
    obj/sdl/build/tmsmake src/emu/cpu/tms57002/tmsinstr.lst obj/sdl/emu/cpu/tms57002/tms57002.inc
    Compiling src/emu/cpu/tms57002/tms57002.c...
    {entrée standard}: Messages de l'assembleur:
    {entrée standard}:3066: Avertissement: fin du fichier n'est pas à la fin de la ligne; nouvelle ligne insérée
    {entrée standard}: Erreur: ouverture CFI à la fin du fichier; directive .cfi_endproc manquante
    gcc: erreur interne du compilateur: Processus arrêté (program cc1plus)
    Veuillez soumettre un rapport complet d'anomalies,
    avec le source pré-traité si nécessaire.
    Consultez <https://bugs.archlinux.org/> pour plus de détail.
    make: *** [obj/sdl/emu/cpu/tms57002/tms57002.o] Erreur 4
    I want to know how the official packager ( Sergej Pupykin ) succeeded to compile mame ? ( sdlmame package ) :
    https://www.archlinux.org/packages/comm … 6/sdlmame/
    Do I need an older version of gcc ?
    Last edited by Potomac (2012-12-21 20:07:28)

    I found a solution by installing an older version of gcc ( 4.4.5 ) and I can compile now mame,
    it's a known problem about gcc and mame, the source code is not compatible with gcc 4.7.2 ( and even with some older releases ) :
    http://forums.gentoo.org/viewtopic-t-84 … 0473b82412
    check the first comment here ( padremayi ), same error :
    https://aur.archlinux.org/packages/sdlm … setlang=fr
    the solution is to use gcc 4.4.5 version,
    you need also to patch one file in gcc 4.4.5 :
    --- gcc/config/i386/linux-unwind.h 2009-04-10 01:23:07.000000000 +0200
    +++ gcc/config/i386/linux-unwind.h 2012-12-21 03:10:27.000000000 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    edit : the solution was to increase ram memory in virtualbox, with gcc 4.7.2 and 1.5 Gb ram I can compile mame without errors, but with 1 Gb ram the error occurs
    maybe it's a bug in gcc 4.7.2 ( because with gcc 4.4.5 I don't need to increase ram )
    Last edited by Potomac (2012-12-25 12:09:52)

  • [SOLVED] Error when compiling conky with audacious support

    Edit: See post #8 for solution
    Hello.
    When trying to compile conky with the --enable-audacious option, I get the following error.
    checking for Audacious... configure: error: Package requirements (audacious >= 1.4.0 audclient dbus-glib-1 glib-2.0 gobject-2.0) were not met:
    No package 'audclient' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables Audacious_CFLAGS
    and Audacious_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGBUILD is the one in the repos, with the addition of an --enable-audacious line. See below:
    # $Id: PKGBUILD 205494 2014-02-06 05:24:01Z bisson $
    # Maintainer: Gaetan Bisson <[email protected]>
    # Contributor: Giovanni Scafora <[email protected]>
    # Contributor: James Rayner <[email protected]>
    # Contributor: Partha Chowdhury <[email protected]>
    pkgname=conky
    pkgver=1.9.0
    pkgrel=4
    pkgdesc='Lightweight system monitor for X'
    url='http://conky.sourceforge.net/'
    license=('BSD' 'GPL')
    arch=('i686' 'x86_64')
    makedepends=('docbook2x')
    depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
    source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
    sha1sums=('a8d26d002370c9b877ae77ad3a3bbd2566b38e5d')
    backup=('etc/conky/'conky{,_no_x11}.conf)
    options=('!emptydirs')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-ibm \
    --enable-curl \
    --enable-rss \
    --enable-weather-xoap \
    --enable-imlib2 \
    --enable-wlan \
    --enable-audacious \
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
    install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
    Note: While similar, I don't think this problem is the same as this one.
    Last edited by Sudowoodo (2014-06-29 10:07:02)

    drcouzelis wrote:Remove the "\" from the end of "--enable-audacious". Does it work now?
    No, it's exactly the same.
    drcouzelis wrote:EDIT: Also, there's already a package for conky-audacious in the AUR.
    I tried it, that doesn't compile either, and its orphan & outdated.
    For the record, its PKGBUILD is
    Edit: Remove unnecessary text. See post #8 for solution.
    and the error is the same:
    Edit: Remove unnecessary text. See post #8 for solution.
    Have you been able to reproduce the problem? I'm using an amd64 processor and trying to build with "makepkg -s". Thank you for replying.
    Last edited by Sudowoodo (2014-06-28 12:13:28)

  • Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?

    I am working through Adobe Dreamweaver CS3 with ASP
    coldfusion and PHP with the intent of creating a data base site
    that primarily requires a search engine on the index page. The
    search page in the book uses specific search criteria ensuring that
    there will always be a match to the data base but I need to create
    an input text field search engine. My Q, if there is no data within
    the data base that match the variable, will it return with an error
    requiring an argument in the code to respond to no matching data.
    Hopefully there are comprehensive online recourses for these search
    engines as they are so common. I am a complete newby to all aspects
    of web development and code so it will need to be a thorough
    explanation, an idiots guide. ANY HELP GREATLY APPRECIATED

    Rob,
    Let me try to answer your questions, understanding that my
    answers are laced with my experience and therefore my bias.
    1. For the most part the SQL that you write for Access, MS
    SQL or MySQL is going to be the same. I won't make that claim about
    Oracle or PostgreSQL because I have limited or no experience in
    those areas. To be sure when you head down the road with any DBMS
    there are finer points on 'value added' features (to over simplify
    things like MS SQL's Transact SQL), but for the most part when you
    are pulling out, inserting or deleting records the SQL that you
    write will be the same. In fact, I don't think I had to make any of
    the SQL in the book different to deal with the back end db.
    2. As for your host steering you away from MySQL, I don't
    know why that would be. It is MUCH more stable and robust than
    Access for web development. My research showed that you can use
    MySQL just fine with ASP though that clearly wouldn't be
    Microsoft's first choice.
    3. A quick aside, the fact that you are building ASP on a Mac
    would seem to indicate that you are developing on your production
    server. That's never a good idea. Go local if you can. If you have
    a newer Intel Mac you can use VM Fusion, Parallels or even Boot
    Camp to run Windows in a virtual environment and develop there,
    only moving your code to production when you are happy with it.
    There is of course the fact that they two environments would not be
    identical and you may need to change a few references, but it is
    still a better practice than developing on your live site. Some web
    hosts give you the ability to set up a subdomain. If yours does,
    you could set one up with a duplicate of your site and develop
    there.
    4. Let me try to pull your 'rant-let' apart into two issue. I
    begin with a question. I'm not sure what the Mac part has to do
    with it. The primary language I work in at my day job is
    ColdFusion. The majority of the most serious developers I know in
    the CF world work on Macs. I am forced into the PC world because of
    a cultural bias at the business school where I work. Having said
    that, the only time I have felt there was ANY difference in the
    tools, resources, choices I had was in any way affected by platform
    was when Adobe still had not released Flex Builder 2 for the Mac.
    Now that is behind us as well. This reaction of mine may be based
    on the fact that Access never comes into play in the work that I
    do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
    Manager, the MS tool of choice to talk to MS SQL is Windows only,
    but I only use that at the day job. But even there you can find
    cross-platform, free tools like Aqua Data Studio to talk from a Mac
    to MS SQL.) If I'm missing your point on the Mac, please let me
    know. Since the advent of the Intel Mac I think it is hands-down
    the best choice for a web developer. You can have Mac, Windows and
    Unix all on one machine. It doesn't get any better (providing you
    have the RAM :-)).
    As for the security question, it is somewhat analogous to the
    war on viruses and spyware. As the defenses get better, so do the
    attacks. Most languages have developed functions for vetting user
    input variables and best practices for building these things. It is
    mainly a user education issue. When I took over the book you are
    working out of, the one thing Jeffrey told me it needed was more
    security. I did my best to put more in under the constraints of the
    publisher. They didn't want the book to be any longer than the
    previous version. I did my best to modify the code used to include
    "string safe" functions and to add verbiage about the importance of
    security. It was clear that I could not add as much as was needed
    and I said so in the book. Much more is needed for a serious
    treatment of the subject and not acknowledging that would have been
    a disservice to the readers. I've been working as a developer for
    over a decade and I don't know all there is to know about it. It's
    a constantly changing field, just like all of web development. In
    fact next week I'm going through a 2-day SANS Web Application
    Security workshop in hopes of learning more. So at the risk of
    sounding like an industry apologist, I don't think it's a
    shortcoming of the development community. It is, as they say, "a
    developing situation".
    HTH,
    Bob
    http://bobflynn.info/

  • Compilation error with RWTValDlist T find() method

    This code used to compile fine with SC 4.x C++ compiler. We are migrating to "Sun WorkShop 6 update 2 C++ 5.3 2001/05/15" and it is now generating the following compilation error:
    ===============================
    cd generic/src; make -f generic.mk
    /opt/SUNWspro/bin/CC -c -PIC -compat -library=rwtools7 -O2 -I. -I. -I../include -I/home/jm/sunos5.8/ib_service_3.4.3/include -I/opt/local/megen/include -I/opt/SUNWspro/WS6U2/include/CC -I../../interface/include -I../include -I. -I/home/jm/sunos5.8/acell_4.1/include -I/opt/local/access/home/include -I/home/jm/sunos5.8/acell_4.1/include/packetcpp -I/home/jm/sunos5.8/acell_4.1/include/ecl -I/home/jm/sunos5.8/acell_4.1/include/gels -I/home/jm/sunos5.8/acell_4.1/src/security/include -I/home/jm/sunos5.8/acell_4.1/include/sequencer -I/home/jm/sunos5.8/acell_4.1/include/gen -I/home/jm/sunos5.8/acell_4.1/include/recipeMgr -I/home/jm/sunos5.8/acell_4.1/include/EFEFeature -I/home/jm/sunos5.8/ib_service_3.4.3/include -I/opt/local/megen/include -I/opt/local/rv/include -I/opt/local/etk/include -I/opt/local/etk/include/tdl -DTCPIP=1 -D__SYSVR4 -DSHOP=1 -D_SOLARIS=1 -I/opt/local/std_comp/include ACEAlarmClock.C
    "ACEAlarmClock.C", line 479: Error: Could not find a match for RWTValDlist<ACEObject*>::find(int(const ACEObject*&,void*), void**, ACEObject*).
    1 Error(s) detected.
    *** Error code 1
    make: Fatal error: Command failed for target `ACEAlarmClock.o'
    ===============================
    The header file in question is:
    #include <rw/tvdlist.h>
    class ACEAlarmClock : public ACEObject
    // The public interface.
    public:
    ACEAlarmClock();
    // Default constructor.
    private:
    static void alarmCallback(void *passAheadRef, ib_alarmid alarmId);
    static RWTValDlist<ACEObject *> AlarmClocks;
    and the source file in question is:
    void
    ACEAlarmClock::alarmCallback(void *passAheadRef, ib_alarmid alarmId)
    ACEObject *object = 0;                        // returned by find()
    if (AlarmClocks.find(findAlarmId, &alarmId, object))
    ACEAlarmClock alarmClock = (ACEAlarmClock )object;
    if (alarmClock)
    AlarmClocks.remove(alarmClock);
    alarmClock->isActive_ = FALSE;
    alarmClock->onAlarm(passAheadRef, alarmId);
    return;
    Any help is highly appreciated. Thanks.
    Cesar Saavedra
    [email protected]

    The C++ Migration Guide that comes with the compiler explains in detail everything you to need to know about migrating from C++ 4.2 to C++ 5.3.
    Use the "-compat" option on every CC command, compiling and linking. Any code that worked with C++ 4.2 will work the same way with C++ 5.3 in compat mode.
    -compat=4 sets language and binary compatibility to that of the 4.x compilers. -compat=5 sets language and binary compatibility to ANSI/ISO standard mode. If the -compat option is not specified, -compat=5 is assumed.
    - Rose

  • Is java a compiled language - part 2

    yamm_v6.6_6 said
    Again, I think you are confusing the compilation process and the interpretation process with the meaning of "compiled language" and "interpreted language", mr. jschell. Compilation process and interpretation process have definitions very well established in the Computer Science, as you said, and I agree with you. There are no controversies in those definitions. On the other hand, the meaning of "compiled language" and "interpreted language" might vary, because in this case there are controversiesNo.
    Compilers are one of the most well studied and well defined aspects of computer science more so than any other part of computer science.
    And the Dragon book is now, and has been for at least 20 years, the recognized authoratative source of that part of computer science.
    And there is nothing in there that supports your conclusion nor nothing that supports your term definitions.
    A language in of itself is never compiled nor interpreted. That book specifically defines the process under which a language must be processed to become either compiled and/or interpreted.
    If you wish to disagree with that then state something from that book or first demonstrate that that book is no longer the authorative source.
    Finally note that in terms of computer science none of the java documents (specifications or otherwise) are suitable authoratative sources. The java specifications although adequate are far from precise in the adherence to definitions in computer science, or even in the definition of java itself.

    Wow! I was just googling, and then look at what I found! This thread! Thanks, mr jschell, for your replies. I really appreciate them.
    jschell wrote:
    Finally note that in terms of computer science none of the java documents (specifications or otherwise) are suitable authoratative sources. The java specifications although adequate are far from precise in the adherence to definitions in computer science, or even in the definition of java itself.Well, do you want authoritative sources, right? How about this:
    [_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc[_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
    +The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
    [_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
    +Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
    [_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
    +Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
    [_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
    +One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
    [_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
    +Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
    [_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
    +Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+

  • HELP! --with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared

    I have oracle instant client installed on C:\oracle\instantclient_11_2 and the environment variable for path set to C:\oracle\instantclient_11_2 on my windows VPS server. When I install PHP version 5.3.6 with the OCI8 extension it installs correctly. I run a php script with phpinfo(); and I see...
    "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared"
    But no OCI8 extension info is listed. So that tells me it's not installed and I can't do any oci functions.
    I don't have a D:\php-sdk\oracle\instantclient10\sdk directory on that server and I have no idea on how to change the default compiled directory. If I run the php.exe I get an error saying that it can't locate the oci.dll...
    How do I get this instant client path fixed?
    I am at the end of my rope so who ever answers this post. THANK YOU!!!

    This is a dup of this :
    HELP! "--with-oci8=D:\php-sdk\oracle\instantclient11\sdk,shared"

  • [solved] Error compiling wpa_supplicant with broadcom_wl support

    Hello friends.
    I'm using the broadcom_wl driver for my bcm4312 card in my Dell XPS m1530 laptop. Unsecured wifi is tested and works fine.
    I need to use wpa_supplicant to connect to my university's wifi. The core package for wpa_supplicant is not compiled with broadcom support. I tried using the generic wext option, but I get
    Trying to associate with 00:11:92:90:de:e1 (SSID='restricted.utexas.edu' freq=2462 MHz)
    ioctl[SIOCSIWAP]: Device or resource busy
    Association request to the driver failed
    It looks like the generic wext option doesn't work for the bcm4312.
    So I tried to compile wpa_supplicant with broadcom support using ABS with this package: http://aur.archlinux.org/packages.php?ID=18511 from AUR. I enabled broadcom support in the config file and pointed it toward my local copy of wlioctl.h.
    Unfortunately, build() dies with
    In file included from /var/abs/local/broadcom/src/src/include/proto/802.11.h:39,
    from /var/abs/local/broadcom/src/src/include/wlioctl.h:38,
    from ../src/drivers/driver_broadcom.c:34:
    /var/abs/local/broadcom/src/src/include/proto/wpa.h:109:1: warning: this is the location of the previous definition
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_event_receive':
    ../src/drivers/driver_broadcom.c:229: error: 'wl_wpa_header_t' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:229: error: (Each undeclared identifier is reported only once
    ../src/drivers/driver_broadcom.c:229: error: for each function it appears in.)
    ../src/drivers/driver_broadcom.c:229: error: 'wwh' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:240: error: expected expression before ')' token
    ../src/drivers/driver_broadcom.c:242: error: 'WL_WPA_ETHER_TYPE' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:244: error: 'wl_wpa_snap_template' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:250: error: 'WLC_ASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:251: error: 'WL_WPA_HEADER_LEN' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:271: error: 'WLC_DISASSOC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:275: error: 'WLC_PTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:280: error: 'WLC_GTK_MIC_MSG' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_get_scan_results':
    ../src/drivers/driver_broadcom.c:465: error: 'wl_bss_info_t' has no member named 'channel'
    ../src/drivers/driver_broadcom.c: In function 'wpa_driver_broadcom_associate':
    ../src/drivers/driver_broadcom.c:573: error: 'WLC_GET_WEP' undeclared (first use in this function)
    ../src/drivers/driver_broadcom.c:576: error: 'WLC_SET_WEP' undeclared (first use in this function)
    make: *** [../src/drivers/driver_broadcom.o] Error 1
    ==> ERROR: Build Failed.
    I don't know c. Can someone decipher this error for me?
    Thanks in advance.
    EDIT: There are multiple versions of wlioctl.h floating around. I eventually got this to work with the version included with the wrt54g tarball. BUT, wpa_supplicant still had driver problems when being run with the -D broadcom option.
    I eventually got this working with ndiswrapper and instructions found here: https://help.ubuntu.com/community/WifiD … y_No-Fluff
    Pay special attention to the instruction:
    "This Chipset/PCI ID is the correct/reliable way to identify the device: Any other labels can be misleading (e.g., notice that both the '14e4:4311 (rev 02)' and '14e4:4319 (rev 02)' call themselves a "BCM4311 (Rev 02)", even though they are different devices)."
    Download the driver that matches the output of
    lspci -n | grep '14e4:43'
    Anyway, wpa_supplicant still gave me driver troubles when using the -D ndiswrapper option. However, it works well with -D wext.
    Tldr;
    -Your bcm4312 may actually be a BCM4310 (rev 01).
    -Use ndiswrapper with this driver: http://myspamb8.googlepages.com/R174291-pruned.zip
    -use wpa_supplicant with the -D wext option.
    Last edited by BurtHawk101 (2008-11-05 06:28:04)

    falconindy wrote:
    mkinitcpio needs to refuse to run without /dev mounted to avoid errors like this.
    mount -t devtmpfs devtmpfs /dev
    Thanks falconindy, works great now.

  • The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers

    The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and
    PHP by David Powers:
    Would this book help me learn about Spry and Ajax and how
    applications can be made with them, if I my e-commerce site runs on
    a compiled C code shopping cart (ShopSite) but supports PHP
    server-side scripts or is it only for shopping carts based on PHP
    itself (like X-Cart)?
    I am not sure. Someone please let me know so I can purchase
    this book. Thanks.

    ahsenabro wrote:
    > 1. Do I have to be a developer/programmer in order to
    learn from this book or
    > can a tech-savvy entrepreneur can also get some gems out
    of it and direct his
    > programmer?
    You don't need any prior knowledge of Ajax or PHP, but you do
    need to
    know the basics of HTML and CSS. As I say in the
    introduction, "You
    don't need to be an expert, but you do need to have an
    inquiring mind.
    It doesn't teach the basics of web design, nor does it
    attempt to list
    every single feature in Dreamweaver CS3. There are plenty of
    other books
    to fill that gap. However, by working through this book,
    you'll gain an
    in-depth knowledge of the most important features of
    Dreamweaver."
    > 2. I am interested in purchasing this book mainly to
    implement cool Ajax/Spry
    > stuff on my e-commerce site. I am asking about PHP
    because the book's content
    > mentions making a PHP site. Now I realize this book is
    not about shopping
    > carts, but the Ajax/Spry stuff can be implemented on
    e-commerce sites, right?
    The book provides detailed coverage of the Spry 1.4 features
    in
    Dreamweaver CS3, which can be applied to any site. With minor
    adaptation, you can also use Spry 1.6. It's important to
    realize,
    though, that the Spry/Ajax features in Dreamweaver CS3 do
    *not* cover
    asynchronous requests to the server. The ability to
    communicate
    asynchronously with the server was added in Spry 1.6. If it's
    asynchronous server calls and responses that you're after,
    your
    programmer will need to dig around in the Spry 1.6
    documentation on the
    Adobe Labs site, and hand-code it.
    The Spry features covered in the book are Spry Effects, Spry
    UI widgets
    (menu, accordion, tabbed panels, and collapsible panels),
    Spry
    Validation Widgets, and Spry XML Data Sets.
    > I just want to know if I can learn and implement
    Ajax/Spry apps on my
    > simple HTML/CSS-based pages, on a server which allows
    server-side PHP scripts
    > but the pages themselves are not with .php extension. Is
    this book still going
    > to be applicable?
    Yes. All the Spry techniques can be used on any web page. It
    doesn't
    need to be a PHP one.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • I created several pdfs & saved them in adobe acrobat pro.  I want to start all over & want to delete these pdfs so I am not confused with more than one document with similar titles.  How do I delete the document

    I am working on a big project & creating everything in word.  I then am turning the documents into PDF format so they will be easy for everyone to open.  I have several PDFs that are not the way I want them & want to delete them so I don't have so many documents with similar names.  Is there a way to delete a pdf from my saved document??  This is probably very simple & I am over thinking it, but appreciate any help.

    I was able to figure it out, & just as I thought way to simple!  UGH!

  • Itunes 10.6.3 - Just update to the new Itunes and the album artwork is not sticking anymore... I upload the artwork and when I change songs and go back the art is gone. Anyone with similar issue ?

    Itunes 10.6.3 - Just update to the new Itunes and the album artwork is not sticking anymore... I upload the artwork and when I change songs and go back the art is gone. Anyone with similar issue ?

    I have this issue.  Album artwork was totally fine before.  After this update, it is all messed up and even got messed up when transferred to my iphone.
    iTunes doesn't have the artwork anymore, but then iPhone has it but shows wrong artwork with wrong albums.
    Please fix!

  • How to increase your battery health - anyone with similar experiences?

    this is my very own self made instruction of "how to increase your battery health"
    it is the procedure how i have done it serverall times on my powerbook g4 12".
    my stats: 374 cycles, health 86% (3790 of 4400mAh)
    age of my mac: 57month (battery bit newer)
    **if you to try this: it is on your own risk!**
    **this may not be suitable for mac newbies**
    **be sure to read this twice before you do it once!**
    you will need:
    -a pocket lamp or comparable light (to see anything on your sreen when it is dark --> light from the back through apple logo)
    -coconutbattery (coconut-flavour.com/coconutbattery) or comparable programm to track your battery information in realtime
    -activity monitor
    -cool enviroment (to ensure your fans don't have to work that much)
    -some time and patience
    the intructions:
    step1: load your mac until the orange light turns green
    step2: disconnect the power adapter
    step3: use your mac until 15-25% battery life (track this information in your menu bar)
    step4: slow down your activities. the order of the following actions depend on your usage of your mac:
    __close programms that use lots of cpu/gpu to ensure the fans slow down to 0rpm (!!)
    __turn off everything that needs battery power: airport / bluetooth / speakers / etc.
    __eject dvd or cd
    __close all programms with important data
    __eject idisk / .dmg files in your finder (this is not only a matter of data security)
    __dissonnected from peripherals such as ethernet / internet / mouse / keyboard
    __use lower brightness level
    __open activity monitor to ensure that your hard drive activity is very low, may be you need to close more active programms, close activity monitor when hard drive activity is very low
    __open system preferences >> energy saver preferences >> choose longest battery life
    when your are ready with those actions go on and ensure you are able to connect to power adapter with your mac quickly (be able to charge - don't do it yet!)
    step5: be patient. now it should take some time until your battery level goes down to 3-5%
    now there should be no programm running.
    do not open any programm now!
    do not have a look at your dashboard!
    now your mac should be really quiet:
    -no fans (0rpm!)
    -nearly no hard drive activity!!
    -->> if this not the case break go on with step 11&12, try again in a week or two
    -->> if you are ready go on with step6
    step6: open coconutbattery und use the lowest brightness level
    play with your trackpad to ensure your screensaver won't start. waste time until you are at 1-2% battery life.
    step7: take your lamp and spot through the transperent apple logo, position your coconut battery window somehow that you can see the current battery charge und the maxium battery charge in the spot of your lamp through the apple logo.
    step8: go from the lowest brightness level to the level under the lowest brightness level (a dark screen)
    step9: watch your current battery charge carefully und keep on playing with your trackpad to ensure your screensaver won't start.
    step10: there is kind of battery buffer made of approximately 1% (once when my "current battery charge" was 3624mAh and this kind of buffer was at 36mAh)
    to empty this kind of battery buffer takes much longer as you might expect!
    when your current battery charge turns under this kind of battery buffer, your maximum battery charge should change. hopefully it is higher or stays the same. when it is lower now: i'm sorry - i have warned you. may be you have to go through this 'how to' more carefully!?
    step11: plug in your power adapter before the battery is cero!
    step12: load until the orange light turns green
    step13: if it was helpful do not repeat it more than once a week, better once a month
    -->webcal://www.apple.com/batteries/images/notebook_icalreminder.ics
    (via: http://www.apple.com/batteries/notebooks.html)
    anyone with similar experiences about increasing battery health!?
    (yes, i'm sorry for my poor english, i've tried my best)

    Me too! My battery lasts for 10 minutes. It is awful and I am on my 4th power adapter since they keep breaking too.
    From coconut battery: Maximum battery charge 310mah, original 4400, age of mac 45 months, 140 cycles.
    From system profile:
    Battery Installed: Yes
    First low level warning: No
    Full Charge Capacity (mAh): 310
    Remaining Capacity (mAh): 213
    Amperage (mA): -1205
    Voltage (mV): 11557
    Cycle Count: 140
    I went to an apple authorized retailer and they said nothing I can do if it is out of warranty.. is this true?

Maybe you are looking for

  • How to use credit on my itunes account?

    I show $26.09 credit on my account but when I try to purchase, it never deducts from this amount, it wants me to use credit card of gift/itune card? How do I use this credit to purchase?

  • How to run a stored procedure in TOAD 9.0

    Dear Friends, I am using TOAD 9.0 . Running a procedure but getting the error .. create or replace PROCEDURE UPD_TBL(I_table_name IN VARCHAR2) IS CURSOR c_columns is select column_name from ALL_TAB_COLUMNS where TABLE_NAME = I_table_name; BEGIN FOR r

  • Populate enddate after change in user status in OIM 11g ?

    Hello experts, We have a requirement whenever a user is getting 'Disabled' end-date needs to be set to the current system date and When the user is enabled end-date need to be reset to some predefined date We are planning to go with custom adapter fo

  • Epub file for ibooks

    Is it possible to upload the epub file which was made by other software program. For example, I had samsung computer, then i made epub file with eBook stylist 1.0 Beta. and tranfer it to Mac Book Pro and upload it using iTunes producer?? Is there any

  • White space around Videos

    Hello, I am embedding videos into an HTML page and they show up with a big white space around the player. Is there a way I can get rid of this white space so the videos are neatly contained in only the space of the actual video and controls? Thanks F