High-level/scripting languages learning thread

Hi all,
In recent weeks i have looked into many of the high-level/scripting languages.  All of them easy enough to get into quickly. My problem though is not learning them actually, but that i don't actually have much use now. Sure, from time to time i need a little script for something (and sometimes i then translate that script to lots of languages just for the heck of it like here), but that doesn't amount to much. However on the other hand i'm neither in some job regarding IT/programming nor do i study anything with respect to programming, and i also am not interested in more programming as in compiled languages, system programming or things like that. (At the very least not yet). So i'm doing this just for fun and learning (two of my lifegoals). I am aware of for example Project Euler, however i'm not mathematically interested enough for that.
So, the purpose of this thread are two things.
a) I'm asking for suggestions for interesting things i could do with high-level/scripting languages, maybe someone knows of something Project Euler like but for more mundane things and not maths.
b) So as to give this thread another purpose and not make it only about me, maybe people who have some problem writing a script for something can ask for help. I know of the other thread (the long one, "commandline utilites/scripts"), but that one seems to be more of the sort where someone posts a script he/she uses and then maybe someone posts an answer to that. So for this thread here people should be able to ask for help while creating the script, or even "Where to start". This could serve both the people with the problem and the people wanting to learn more about some language but not finding a way to apply the learning.
Ogion

a) I'm asking for suggestions for interesting things i could do with high-level/scripting languages, maybe someone knows of something Project Euler like but for more mundane things and not maths.
To me, this sounds like the Python Challenge: http://www.pythonchallenge.com/
Also, if you're not interested in math, maybe you might still find yourself engaged by something like natural language processing, games, or simulations? I personally find the "Natural Language Toolkit" for Python to be a lot of fun.

Similar Messages

  • High Level language Interprete​r in labVIEW?

    This is a question of curiously: is anyone aware of any high level language interpreters written in LabVIEW?  
    I recently wrote my own BASIC like language interpreter as part of a custom LabVIEW test suite to allow scripting without needed to edit the LabVIEW source code and it got me wondering if anyone has done anything similar?
    It could be BASIC, Pascal, C, etc.
    I did find this one site that lists a tiny BASIC interpreter that has been ported to a lot of different languages (but not labVIEW):
    https://sites.google.com/site/smallbasicinterprete​rs/source-code
    so there seems to be a lot of interest out there.
    My only google search hits for LabVIEW interpreters are for CNC G code.

    I've never used it personally but I think LabPython might be what you are looking for.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Learning Adobe Scripts Language

    Dear Friends,
    I would like to learn adobe scripting language. So I don't have exact root to learn.
    Please advise me which l can be start at the basic things and what is the language used in adobe script.
    Please let me know if some one have answer..
    Thanks in advance..
    Regards
    Ganesh

    You should take a look at this post in the Illustrator general forum…
    http://forums.adobe.com/thread/771637?tstart=30
    Much depends on what it is you want to script and your OS can make an impact too.

  • How text data is formated in post script language level 2

    Hi all,
       In post script language level 3 files text data is converted to hexadesimal format and kept in between xshow commands. But in postscript language level 2 files, text data is converted to some other format.
      Can you please inform me, to which format text data is converted.
    Thanks,
    Sateesh.

    PostScript: Level 2

  • High Level Thread Implementation Questions

    Hi,
    Before I take the plunge and program my software using threads, I have a few high-level questions.
    I plan on having a simulation class that intantiates software agents, each with different parameters. There is an agent class, with constructor, methods etc. Each agent has a sequence to go through. Once completed, the iteration number is increased and the sequence is repeated. That's simple enough to do.
    The question is, is it worth executing each agent on a different thread?
    If there is around 500 - 1000 lines of code (crude measurement, I know) how many can I expect to thread efficiently?
    One parameter allows an agent to execute n cycles for each global iteration. (i.e. in one iteration, agent A runs once, agent B runs 5 times). Could this be a problem? Should this be controlled outside the agent, or inside it?
    Can I write the code without having to worry about threading, or do I have to design the agent code with threading in mind?
    Will they really run in parallel? It is important that there is no bias to the execution order. I can solve this messily without using threads by randomising the execution order - but that is a messy work around - and why I'm looking at threads.
    Can threaded objects interact easily with non threaded one when execution order is important?
    Are there any other points that I should consider?
    Thanks in advance - any information before I enter this unchartered territory will be truly appreciated!!

    I think you are better off running this all in a single thread.
    Threads make no guarantee as to scheduling. Threads do not increase efficiency (unless your agents block on i/o, or sleep). Threads come with an overhead cost.
    Threads don't guarantee no bias to execution order.
    Threads require synchronization to ensure safe interaction between each other. This is a bit of extra work, and can be a bitch if you're not familiar with it.
    Yes, threads run in parallel. If you have multiple processors then they can truly run in parallel, otherwise they run in time slices.

  • High level language

    when a language will be called high level language ?
    is it true if the language support graphics then it is high level ?
    or what are the characteristics should a language posses to be called high level ?
    Fortran ? is it high level ?
    in fact i dont know on what basis or features i will call a language high level ? do u know the answer ?
    thank you

    Hi..
    I just asked about this from Albet Instine (Not sure about spelling) you know the guy with the weird hair.
    NAd he said that is is relative.
    Ex :-
    Compaired to Assembly Fortran is high level. compaired to c c++ is high level and c is also higi level compaired to Assembly.
    But if you talking about generations of languages then there are well defined boundires.
    For example
    1GL - Meshine code (1010101010101010101010)
    2GL - Language will have corresponding code to each executable code that processor understand (Assembly). So the compiling is one-to-one translation of codes.
    3GL - Eache language code will result in multiple processor instructions once compiled.
    4GL - Eache language code will result in multiple processor instructions once compiled. and lots of coding and debuging tools are available (IDEs).
    Note: a 3GL language can later become a 4GL language Ex:- C
    Some experts argue that Object orianted languages are also belong to 4th generation but some says Object oriantation is the 5th Genaration
    5GL - Object Orianted languages Java,C++
    6GL - (Provided that the 5th is the OOP) "Natural Like languages" where the code can be written in a flexible manner
    Correct me if I am wrong.

  • Scripting Languages are for Insane People!!!!

    Hope you brought your flamethrowers because I am feeling a bit chilled.
    Sooo I am knee deep in some heavy javascript(Nodejs) and while fighting to populate an array with the results of a sqlite query
    (somehow my array is getting nuked nodejs or nodejs-sqlite3 bug? )
    I am left scratching my head saying to my self WTF!! This would have taken me like 5 sec in Qt C++. So I wrote up the same example
    in Ruby, Python, Java, Lua and Perl. And in every case my Qt C++ example was not only cleaner, shorter but easier to write/understand.
    Granted scripting languages are not only valuable but necessary in CERTAIN cases, but the way people use them today is just INSANE.
    My primary scripting language is javascript but that is only because my work requires it. But ill take lua over any scripting language any day.
    I am going to go sink my teeth in Django see if that pisses me off any less!
    Sooo whats your opinion.
    Last edited by zester (2011-09-13 05:19:18)

    satanselbow wrote:
    ethail wrote:
    keenerd wrote:But Lua is a scripting language.  Maybe I missed the joke?
    I think he could be pointing that of the many scripting languajes he has used, seems that only LUA satisfies him, and it's not widely used as he would like. That's what it seemed to me.
    Somewhat ironically (within this threads context) - one of Lua's biggest selling points is it's simple integration with other languages, both scripting and higher level.
    Good point!
    Lua is insanely <-- Word of the day (Pee-Wee Herman Play House AHHHHHHHHHH) easy
    to embed and bind.
    Little examples I wrote a couple of years ago sooooo it is what it is.
    If using C++
    extern "C" {
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    How to call a C Function from Lua
    luaavg.c
    #include <stdio.h>
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luaavg luaavg.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    /* the Lua interpreter */
    lua_State* L;
    static int average(lua_State *L)
    /* get number of arguments */
    int n = lua_gettop(L);
    double sum = 0;
    int i;
    /* loop through each argument */
    for (i = 1; i <= n; i++)
    /* total the arguments */
    sum += lua_tonumber(L, i);
    /* push the average */
    lua_pushnumber(L, sum / n);
    /* push the sum */
    lua_pushnumber(L, sum);
    /* return the number of results */
    return 2;
    int main ( int argc, char *argv[] )
    /* initialize Lua */
    L = lua_open();
    /* load Lua base libraries */
    luaL_openlibs(L);
    /* register our function */
    lua_register(L, "average", average);
    /* run the script */
    luaL_dofile(L, "avg.lua");
    /* cleanup Lua */
    lua_close(L);
    /* print */
    printf( "Press enter to exit..." );
    getchar();
    return 0;
    -- call a C function
    avg, sum = average(10, 20, 30, 40, 50)
    print("The average is ", avg)
    print("The sum is ", sum)
    avg, sum = average(1, 2, 3, 4, 5)
    print("The average is ", avg)
    print("The sum is ", sum)
    --- How to call a Lua Function from C
    #include <stdio.h>
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luadd luadd.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    /* the Lua interpreter */
    lua_State* L;
    int luaadd ( int x, int y )
    int sum;
    /* the function name */
    lua_getglobal(L, "add");
    /* the first argument */
    lua_pushnumber(L, x);
    /* the second argument */
    lua_pushnumber(L, y);
    /* call the function with 2 arguments, return 1 result */
    lua_call(L, 2, 1);
    /* get the result */
    sum = (int)lua_tointeger(L, -1);
    lua_pop(L, 1);
    return sum;
    int main ( int argc, char *argv[] )
    int sum;
    /* initialize Lua */
    L = lua_open();
    /* load Lua base libraries */
    luaL_openlibs(L);
    /* load the script */
    luaL_dofile(L, "add.lua");
    /* call the add function */
    sum = luaadd( 10, 15 );
    /* print the result */
    printf( "The sum is %d\n", sum );
    /* cleanup Lua */
    lua_close(L);
    /* pause */
    printf( "Press enter to exit..." );
    getchar();
    return 0;
    -- add two numbers
    function add ( x, y )
    return x + y
    end
    --- How to load and call a lua function from c
    //last.cc
    # extern "C" {
    # #include "lua.h"
    # #include "lualib.h"
    # #include "lauxlib.h"
    int main()
    double z;
    lua_State *L = lua_open();
    luaL_openlibs(L);
    if (luaL_loadfile(L, "last.lua") || lua_pcall(L, 0, 0, 0)) {
    printf("error: %s", lua_tostring(L, -1));
    return -1;
    lua_getglobal(L, "f");
    if(!lua_isfunction(L,-1))
    lua_pop(L,1);
    return -1;
    lua_pushnumber(L, 21); /* push 1st argument */
    lua_pushnumber(L, 31); /* push 2nd argument */
    /* do the call (2 arguments, 1 result) */
    if (lua_pcall(L, 2, 1, 0) != 0) {
    printf("error running function `f': %s\n",lua_tostring(L, -1));
    return -1;
    /* retrieve result */
    if (!lua_isnumber(L, -1)) {
    printf("function `f' must return a number\n");
    return -1;
    z = lua_tonumber(L, -1);
    printf("Result: %f\n",z);
    lua_pop(L, 1);
    lua_close(L);
    return 0;
    function f (x, y)
    return (x^2 * math.sin(y))/(1 - x)
    end
    ---- How to execute a Lua Script from C.
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luatest luatest.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    int main()
    int s=0;
    lua_State *L = lua_open();
    // load the libs
    luaL_openlibs(L);
    //run a Lua scrip here
    luaL_dofile(L,"foo.lua");
    printf("\nAllright we are back in C.\n");
    lua_close(L);
    return 0;
    io.write("Please enter your name: ")
    name = io.read() -- read input from user
    print ("Hi " .. name .. ", did you know we are in lua right now?")
    ---- How to get a Variable value from Lua to C.
    #include <stdio.h>
    #include <lua.h>
    #include <lualib.h>
    #include <lauxlib.h>
    #include <string.h>
    /* gcc -o test test.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    int main()
    lua_State *L = lua_open();
    if(luaL_loadfile(L,"settings.lua") || lua_pcall(L,0,0,0))
    printf("Error failed to load %s",lua_tostring(L,-1));
    else
    lua_getglobal(L,"screenWidth");
    const int screenWidth = lua_tonumber(L,-1);
    printf("Screen Width = %d \n", screenWidth);
    lua_getglobal(L,"appName");
    const char *appName = luaL_checkstring(L, -1);
    printf("Screen Name = %s \n", appName);
    lua_close(L);
    /* If we got this far, everything worked */
    printf("Success!\n");
    return 0;
    appName = "Firefox"
    screenWidth = 400
    ------ How to write a lua binding in C.
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    #include <string.h>
    /* gcc zstring.c -Wall -shared -o zstring.so */
    static int zst_strlen(lua_State *L)
    size_t len;
    len = strlen(lua_tostring(L, 1));
    lua_pushnumber(L, len);
    return 1;
    int luaopen_zstring(lua_State *L)
    lua_register(L,"zst_strlen", zst_strlen);
    return 0;
    require "zstring"
    print(zst_strlen("Hello, World"))
    ----- Another Binding Example
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    #include <unistd.h>
    #include <sys/stat.h>
    #include <stdlib.h>
    /* gcc general.c -Wall -shared -o general.so */
    /* system */
    static int zst_exec(lua_State *L)
    int status;
    status = system(lua_tostring(L, 1));
    lua_pushnumber(L, status);
    return 1;
    /* mkdir */
    static int zst_mkdir(lua_State *L)
    int status;
    mode_t mode = lua_tonumber(L, 2);
    status = mkdir(lua_tostring(L, 1), mode);
    lua_pushnumber(L, status);
    return 1;
    /* symlink */
    static int zst_symlink(lua_State *L)
    int status;
    const char *old = lua_tostring(L, 1);
    const char *new = lua_tostring(L, 2);
    status = symlink(old, new);
    lua_pushnumber(L, status);
    return 1;
    /* rmdir */
    static int zst_rmdir(lua_State *L)
    int status;
    status = rmdir(lua_tostring(L, 1));
    lua_pushnumber(L, status);
    return 1;
    /* rename */
    static int zst_rename(lua_State *L)
    int status;
    const char *old = lua_tostring(L, 1);
    const char *new = lua_tostring(L, 2);
    status = rename(old, new);
    lua_pushnumber(L, status);
    return 1;
    /* remove */
    static int zst_remove(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    status = remove(filename);
    lua_pushnumber(L, status);
    return 1;
    /* chown */
    static int zst_chown(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    uid_t owner = lua_tonumber(L, 2);
    gid_t group = lua_tonumber(L, 3);
    status = chown(filename, owner, group);
    lua_pushnumber(L, status);
    return 1;
    /* chmod */
    static int zst_chmod(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    mode_t mode = lua_tonumber(L, 2);
    status = chmod(filename, mode);
    lua_pushnumber(L, status);
    return 1;
    /* get_current_dir_name */
    static int zst_getcwd(lua_State *L)
    char *dir;
    dir = get_current_dir_name();
    lua_pushstring(L, dir);
    return 1;
    int luaopen_general(lua_State *L)
    lua_register(L,"zst_exec", zst_exec);
    lua_register(L,"zst_mkdir", zst_mkdir);
    lua_register(L,"zst_symlink", zst_symlink);
    lua_register(L,"zst_rmdir", zst_rmdir);
    lua_register(L,"zst_rename", zst_rename);
    lua_register(L,"zst_remove", zst_remove);
    lua_register(L,"zst_chown", zst_chown);
    lua_register(L,"zst_chmod", zst_chmod);
    lua_register(L,"zst_getcwd", zst_getcwd);
    return 0;
    Ugggg lost all the formating in that.
    If you cant make heads or tails of the above you can view it on my google code wiki http://code.google.com/p/zester/wiki/Lua_C
    Last edited by zester (2011-09-13 18:20:07)

  • Where can I find various high level examples of workflows being used

    I am about to start a project with TCS 3.5 and have been participating in the Adobe webinars to help learn components and specific techniques but what I am lacking is an understanding of various workflows I can model my project after or take bits from various sources. Why start with Framemaker in this workflow versus RoboHelp or even Word? Questions like this I think come from experience with the process and I am thinking that what I am getting myself into is a chessgame with all these pieces and don't want to paint myself into a corner by traveling down one route. I have seen this graphic:
    And this one:
    And this one:
    But they are too generic and do not contain enough information to really understand the descision making process one must go through on various projects.
    Can we have a series of webinars made, all with the underlining theme of defining a working process or workflow, by having guests describe how they have or are using this suite in real life on their own projects? One that might include a graphic showing the routes taken through the suite with reasons why?
    My project hopes to make a single source internal site that will tie together various 3D portable industrial coordinate metrology systems (hardware and software). It would be used as a dispersal site for help, communications between users and SME, OEM information, QA requirements, established processes, scripting snipet downloads, statistics, and training (including SOJT). Portable industrial metrology has 8 different softwares that are used and right now about 8 different instruments. These include laser trackers and radars, articulated arms, scanners, structered white and blue light to name a few. The softwares include Spatial Analyzer, Veriserf, CompIT, eMscon, AXYZ to a few there as well. I want to be able to participate and add content to an internal Sharpoint site, push content to users for stand-alone workstations, ePub, capture knowledge leaving the company through attrition, develop easy graphic rich job aid sheets, and aid in evaluations of emergent software and hardware. I would also like to leave the option open to use the finished product as a rosetta stone like translator between the software packages; doing this is the equivelent of doing this in these other software pacages for example.

    PDF is definately a format I want to include, to collaborate with other divisions and SME for one reason, but also for the ease in including 3D interactive target models with in it and portability. I plan on being able to provide individual PDFs that are very specific in their topics and to also use them to disperse user guides, cheat sheets or job aids... something the user may want to laminate on their own and keep with them for reference, printed out. Discussion in these sheets would be drasticly reduced to only the elements, relying heavely on bullet points or steps, usfull graphs, charts and tables... and of course illustrative images. I am thinking that these should be downloadable buttons to print on each topic section, not in a general apendix or such. They would hopefully be limited to one page, double sided 8x10.
    The cheet sheet would have a simplistic flow chart of how or where this specific topic fits in the bigger picture,
    The basic steps,
    Illustrations, equipment, setup
    Software settings for various situations in a table or chart,
    Typical result graph to judge with,
    Applicable QA, FAA regulation settings or concerns,
    Troubleshooting table,
    Topic SME contact info
    On the back, a screen shot infographic of software process
    The trouble here is that I have read that FM has a problem sometimes in succesfully transfering highly structured or formatted material to RoboHelp. Does this then mean that I would take it from FM straight to PDF?
    Our OEM material is very high level stuff... basicly for engineers and not shop floor users... but that is not to say they don't have some good material that could be useful. Our internal content is spread out across many different divisions and continents, with various ways of saying the same thing. This leads QA to interpret the information differently depending where the systems are put to work. We also have FAA requirements that need to be addressed and reminded to the user.
    Our company is starting to also see an exodus of the most knowledagble of the users through retirement. Capturing the knowledge and soft skill packages they have developed working here for 20-30 years is something I am really struggling with. I have only come up with two ideas so far:
    Internal User Web based Forum
    Interviews (some SMEs do not want to make the effort in transfering knowledge by participating in anything if it requires an effort they don't see of benefit to themseleves), to get video, audio or transcription records

  • RFC: Proposing a high level iteration facility based on Collections

    I am requesting for comments for an experimental package I developed providing a high level facility for iteration on Java 2 Collections.
    You can browse the javadoc at http://www.cacs.louisiana.edu/~cxg9789/javautils/ and the code is available for download from http://www.cacs.louisiana.edu/~cxg9789.
    Basically, the package provides an interface Task that has a single method job() which is called for every element in a given collection. There are some static methods for using this kind of scheme and iterating over collections. An example would be: Iteration.loop(collection, new Task() {
              public void job(Object o) {
                // do something on o here
            });Now you may wonder what is the use of going into this much trouble when I can just get an iterator and do the same thing? Well, creating a class that represents the whole iteration opens a number of new possibilities. You can now have methods and variables exclusive for the specific iteration and reuse it. You can even subclass it for variants. This proved very useful in my application especially when I developed the StringTask class that is available in the same package.
    Nevertheless, you can see it for yourself that we've got rid of the iterator and the condition checking that appears in conventional loop constructs. For details you can look at the Iteration at http://www.cacs.louisiana.edu/~cxg9789/javautils/edu/ull/cgunay/utils/Iteration.html and StringTask at http://www.cacs.louisiana.edu/~cxg9789/javautils/edu/ull/cgunay/utils/StringTask.html
    I was wondering if you Java developers would find such a scheme useful. Thanks for your interest..

    Heh... now I need to remember back...
    No I don't, the internet comes to the rescue :-) I
    was wrong, apply is the simple "function apply"
    function, the list function of interest was (is)
    called map.
    http://www.cse.unsw.edu.au/~paull/cs1011/hof.html
    This was very helpful. Now I know what you're saying. Actually this may very well be the hidden influence that lead to this system. The map operation also exists in Lisp and Scheme. I remember really liking it when I first learned about it.
    My approach isn't exactly the same as neither of map, fold or filter. But I think I can create subclasses of Task which act the same way with these. I will try to do this in the near future.
    Just as a comment on the design, I would have
    maneuvered the list of getSomeResult() into an object
    that knows how to render itself as a String. That may
    well be using your Iteration feature over the internal
    list, or other feature as the developer sees fit.This point is well taken. Actually my program uses this kind of approach in many places, however I wanted to give a less confusing example here.
    Your iteration is a perfectly valid pattern to iterate
    over a collection, and one that could be
    applied in many places in my code. I'm unsure I
    will migrate to use it, because it tends
    towards a large number of small objects to perform its
    function... which sometimes can be a simplification,
    but in this case can obscure multi-threading issues...
    spreading a loop over a collection across multiple
    classes makes it less obvious what is happening to the
    contents, or what synchronization is required, what
    locks have been acquired, or what concurrent
    modifications are possible.On the other hand, it might be more secure to have operations on collections in a place as an Iteration class to keep them together. Maybe you already mentioned it in your message. I can understand your concern in using the system, though.
    To keep this information in one place, you could use
    an anonymous inner class, but then you have lost the
    reusability and succinctness of the iteration, which
    are two of its largest benefits (Being a high-level
    function using centralised, tested code being the
    third, and probably the largest)I started using small inner classes very extensively. Maybe this can alleviate the problem, since they're not anonymous and can be reused. However, there is still a problem using (subclassing) them from outside of the class. I found a way to do this, too. It only works in special situations, though.
    Assume you have an inner class:
    public class Outer {
      class Inner { ... }
    }You can extend this inner class if you have another class extending the Outer:
    class NewOuter extends Outer {
      class Inner extends Outer.Inner { ... }
    Thinking about it, your iteration is at a higher level
    than foreach... and would benefit from using it
    if were ever supported by the JVM. They are slightly
    orthogonal approaches to looping abstraction, foreach
    being syntactic and your pattern being heuristic.We're in tune here, I'd be interested to use the foreach operator and the Iterable interface as primitives in my system if they will ever be provided in Java. Currently, they are not offering me anything extra, since the Collection interface provides me with what I need.

  • A More Universal Scripting Language Than Applescript or Automator?

    I want to learn a scripting language to automate events or actions on a schedule or by using shortcuts, and maybe a little more eventually (like web apps for example). I am looking for something that is not a program with a GUI like Automator, iKey, Quickeys, Maestro...  I would rather learn a more "universal" language than Applescript.  I've read a little bit about Javascript, Python, Ruby on Rails, PHP, Perl, C+, C++, and others, but I really don't know. I would prefer a language that can be used to program simple things in a simple way, but with a high learning curve.  Does anyone have any suggestion(s)?  Please let me know if you need any more details.  Thanks

    Another possibly better forum to ask this would be
    https://discussions.apple.com/community/mac_os/mac_os_x_technologies

  • Table_comparison - how to compare data at a high level

    Hi,
    I have to do data validation at a high level between two tables that I am loading.
    I am trying to use table_comparion transform but the problem is that my target table is at a much lower level than at which I want to compare data. So it has many more columns (both key and data fields) than what I want to compare.
    Does the output of query transform ( which I am using as input into table_comparion) be in the exact same format as comparion table? If not, then can somebody suggest me something else.
    Or how can I compare output of two query transforms ?
    Thanks,
    Saurabh Bansal

    Dear Saurabh,
    Not sure if you have already got the solution to this. If yes please close the thread.
    If not, i would suggest you can use the validation rule to compare the two tables and then based on the PASS or FAIL result can check what needs to be done on the output.
    Do post back if you have got the solution or you need any furthur help or else close the question.
    regards,
    Den

  • Looking for a more universal scripting language than AppleScript or Automator

    I want to learn a cross-platform/web scripting language to automate tasks, write scripts and with the potential to create programs and web apps.
    I am looking for something that:
    - is not a program with a GUI like Automator, iKey, Quickeys, Maestro... 
    - is more "universal" than Applescript, cross-platform
    - can be used to automate simple tasks in a simple way
    - can also be used to create more complex scripts, web apps and maybe, eventually, programs (with GUI)
    I've read about Javascript, Python, Ruby, PHP, Perl, C+, C++, Java and others, but I really don't know.
    - Java sounds pretty cool, Python too.
    - I'm not crazy about PHP or Perl, with Javascript, but some people swear by it
    - I don't know anything about C+, C++
    Does anyone have any suggestion(s)?  Please let me know if you need any more details.  Thank you.

    C, C++, Objective-C are nor scripting languages and will not help you do web pages. (Don;t know what C+ is).
    Forget Java it has lots of security problems and more and more users are disabling Java in their web browsers because of this. Developing in Java would be, in my opinion, a mistake.
    If you are doing any web works at all you will need to know some Javascript, no way around that.  But Javascript is actually not a bad language
    Note Java and Javascript are two totally separate languages that have nothing in common  but the first 4 letters of their names.
    So you are left with PHP, Perl, Python and Ruby.
    Dismissing PHP and Perl out of hand is a big mistake, They are both major players and you will run into them just about everywhere. If you are looking to do this for possible employment you will need to be familiar with them at least.
    Python and Ruby are both strong languages as well. I don't have a lot of experience with either so I can;t speak to their strengths  but  learnign either would not be a mistake.
    Knowing what your reasons are for asking this, personal use or for employment, might help refine the list some.
    regards
    Message was edited by: Frank Caggiano - Perl is also included in OS X by default. Not sure about PHP but I believe it also is. I agree TextWrangler would be a good editor for this type of work.

  • Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of '

    When I deploy the cube which is sitting on my PC (local) the following 4 errors come up:
    Error 1 The datasource , 'AdventureWorksDW', contains an ImpersonationMode that that is not supported for processing operations.  0 0 
    Error 2 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'AdventureWorksDW'.  0 0 
    Error 3 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Customer', Name of 'Customer' was being processed.  0 0 
    Error 4 Errors in the OLAP storage engine: An error occurred while the 'Customer Alternate Key' attribute of the 'Customer' dimension from the 'Analysis Services Tutorial' database was being processed.  0 0 

    Sorry hit the wrong button there. That is not entire solution and setting it to default would work when using a single box and not in a distributed application solution. If you are creating the analysis database manually or using the wizard then you can
    set the impersonation to your heart content as long as the right permission has been set on the analysis server.
    In my case I was using MS Project Server 2010 to create the database in the OLAP configuration section. The situation is that the underlying build script has been configured to use the default setting which is the SQL Service account and this account does
    not have permission in Project Server I believe.
    Changing the account to match the Project service account allowed for a successful build \ creation of the database. My verdict is that this is a bug in Project Server because it needs to include the option to choose impersonation when creating the Database
    this way it will not use the default which led to my error in the first place. I do not think there is a one fix for all in relations to this problem it is an environment by environment issue and should be resolved as such. But the idea around fixing it is
    if you are using the SQL Analysis server service account as the account creating the database and cubes then default or service account is fine. If you are using a custom account then set that custom account in the impersonation details after you have granted
    it SQL analysis administrator role. You can remove that role after the DB is created and harden it by creating a role with administrative permissions.
    Hope this helps.

  • HU03 going to short dump for handling unit which has higher level handling

    Hi,
    I am ABAPer, i working on issue, HU03 is gong to short dump. i dubug the t code and find out that particular handling unit has higher level handling unit. I checked another handling unit which won't had higher level handling unit, that time it's not giving dump.
    Note: in HU03 T CODE, function module V51P_HU_CONTENS is fetching values. when ever handling unit has higher level handling unit, it's not fetching further values.
    venkey

    Hi,
    Goto NACE transaction code , there you select the application area then  it will give you the list  of output types then select specific output click processing routines then you will see the program name and  script used.
    Or esle goto SPRO tcode then you can find the functional tab there also you can get the details.
    Thanks,
    Aditya

  • High-level interrupt handler

    Why can I decide to support a high-level interrupt or not? Under what condition does the Solaris kernel will map my hw interrupt (INTA from PCI bus) to a high-level interrupt? When should I refuse to support a high-level interrupt? Why? Can I force my hw interrupt to be a high- level interrupt?
    Also think about that, most hw interrupts indicate something important such as the case buffers are full. If they are assigned below the scheduler's, it really does not make sense.
    Is it possible to block any hw interrupts? Or I'd put it this way can I prioritize hw interrupts in Solaris?
    Thanks
    tyh

    Hi,
    On x86 each IRQ has a software priority assigned to it implicitly by the bus driver, although I think you could override it in the driver.conf. Unlike SPARC, the processor doesn't support a PIL so software priorities are implemented by masking all lower-priority IRQs and re-enabling interrupts.
    High priority interrupts, above dispatcher level, run in the context of the current thread on the cpu, normal level interrupts are handled by interrupt threads.
    The interrupt threads are the highest priority threads on the system, so will preempt any other running threads. In addition mutexes in Solaris use priority inheritance, so the interrupt threads will get to run.
    In general, high level interrupts are allocated to devices with small buffers such as serial or floppy, so that their buffers get serviced in the fastest possible time. Others can afford to wait for just a bit.
    Your driver should check to see if its device has been allocated a high level interrupt. If this is the case, the high level handler should clear the interrupt and save the data/status (in the driver state structure perhaps) and trigger your soft level interrupt handler (which will run as a thread).
    Blocking of interrupts is done for you when you acquire a spin mutex (ie initialised with an iblock cookie). Such a mutex is required to synchronise access to data shared with a high level handler in your driver.
    Please take a look at the Intel Driver writers orientation at:
    http://soldc.sun.com/developer/support/driver/docs/Solaris_driver_models/index.html
    Hope that helps,
    Ralph
    SUN DTS

Maybe you are looking for

  • Pix web filtering using Websense

    Hello, I have recently come across to need to troubleshoot why https (port 443) traffic going to facebook.com is not being redirected to the Websense server as http (port 80) traffic is.  I have configured a command to filter https traffic but our te

  • Is there a way to trade in old ipods and get the correct value for them?

    I have a 30gig video which i bought only 2 years ago for about 400 bucks, and its still in great condition(works perfectly, only has a couple scratches which arent even on the screen) what should i do to get the around $200 it's still worth, because

  • Moving itunes to a media pc

    I have used the home share option to copy my iTunes from my basic PC to my new media PC. Can I delete the 293 GB of music and films from my basic PC without it affecting the media PC? Do I turn home share off first and select all the files in my basi

  • STP vs. Sound Soap?

    Has anyone compared the sound reduction capabilities of STP vs. Sound Soap from Bias? And in a situation where STP's Set Noise Print / Reduce Noise function doesn't help make the voice all that much clearer, would Sound Soap possibly be better equipp

  • Tree Control - Performance

    Hi, Am using a tree control in our web application created using class - CL_GUI_LIST_TREE with checkbox items. When a user 'checks' the item , it went to hourglass for 2 to 3 mins. Can you please let me know, is there any fine tuning is required at c