Anyone for poplog?

It is the language developed allot at Sussex Uni,
If you wan't to get it working I can post a howto about how I bashed it together.
Does AI and stuff like that as well as being able to do a factorial of 1000 instantly and more importantly very accurately.
See http://www.cs.bham.ac.uk/research/poplo … oplog.html

SortedMap (such as TreeMap) orders by keys, not values.
You can make any collection and call Collections.sort() on it to sort it, but your object need to be Comparable for it to work. You can make a key-value object that implements Comparable and the compareTo method responds to the value. Then, make the equals method respond to the key, so when you call get(key), you'll get back the correct object. It may be a little tricky, but I think it could work.
-JBoeing

Similar Messages

  • I cannot share photos with anyone ,for i select someone i get error code 400.

    I cannot share photoss with anyone for when ii try to select someone i get a error code 400.

    Version  9
    "domnic.rj23" <[email protected]> wrote:
    domnic.rj23 http://forums.adobe.com/people/domnic.rj23 created the discussion
    "Re: I cannot share photos with anyone ,for i select someone i get error code 400."
    To view the discussion, visit: http://forums.adobe.com/message/5781697#5781697

  • How do I get my money refunded?  I am not getting what I want from this, cannot email anyone for help, cannot get someone on the phone I can understand, and keep getting disconnected.  I just want my money back.

    How do I get my money refunded?  I am not getting what I want from this, cannot email anyone for help, cannot get someone on the phone I can understand, and keep getting disconnected.  I just want my money back.

    "this" being what?  You posted in the Workspaces.acrobat.com forum, which is a free service.
    If you subscribed to any of the paid services see Cancel your membership or subscription | Acrobat.com online services

  • Since upgrading to 10.7.2 to use iCloud, i keep getting a message with ubd wants to use the login keychain, anyone for help to how to get rid of this...

    since upgrading to 10.7.2 to use iCloud, i keep getting a window message with ubd wants to use the login keychain, i put the right password but it keeps coming back, anyone for help to how to get rid of this...

    This is what I did and it seems to have worked so far. While that little annoying box is up you need to open the Keychain access by:
    going to applications -> open utilities folder -> click to open Keychain Access
    Now here is the stupid part, you have to continue to press the cancel button on the "ubd wants to use login keychain" box for the kaychain window to open. Once you have keychain access open go to:
    the top of your monitor and select "Keychain Access" right next to the little apple logo -> click preferences in the options panel-> the preference box will open now -> click "Reset My Default Keychain" -> another box will pop up that says "Please enter your login password. This password will be used to create your new keychain" (of course this is assuming that you use a login password to access your mac) -> enter your login password and a box shows up that says "created a new empty 'Login' keychain"
    After that you should be good to go. This new keychain you created with your login password overides the old keychain. The old keychain is still available in the Keychain's folder but is not being used and therefor can be deleted. All you have to do now is press ok, and your good. If the "ubd wants to use login keychain" box is still there after you reset your keychains just hit cancel and it should be gone for good or you can enter your login password.
    Is this a fixall that will work forever? I have no idea but doing this has allowed me to access my network at work and all the servers I need to get to.
    Oh and one more thing. You may need to press cancel on the ubd box throughout this entire process, I just gon in the habit of clicking a button hitting cancel on the ubd box and the new window would pop up.
    I hope this helps you! Sorry if it's long, I was trying to be as detailed as possible to make it  easier. Let me know how it goes.

  • [CS3, AS] Anyone for tag?

    A few weeks ago, I happily wrote a little script to split a multi-column text frame into separate frames. I found it straightforward to do and an encouraging first foray into InDesign scripting.
    Yesterday I was informed that I need to add a new feature to this script. For accounting purposes, every element on our pages has to be tagged.
    Obviously my naive and innocent little newly-created text frames are untagged. I thought it would a straightforward matter to add the tagging bit on to my script.To do so seemed compulsory.
    Is there any scripter around who would put up a little message at the end of their script saying "Now open the tags panel and tag all your nice new text frames"?
    So I looked into the Scripting Guide and found it's to do with XML, a subject about which I know very little and as I read on I felt I was knowing even less; just growing in confusion.
    So  I skipped to the sample scripts and high up in the list was one entitled "Untag Element". Strangely enough, I found this encouraging and scanned eagerly downward for the one entitled "Tag Element". No such luck.
    I also opened and read quite a few scripts with vaguely promising titles. None helped.
    This is a subject about which I neither want nor need to know too much, although I assure you I have spent some hours in fruitless research. I am simply trying to meet someone else's need.
    Can anyone out there please put me out of my misery by providing me with what I suspect will be a childishly simple line to add the required tags to my text frames?

    I hate it when someone else points out something like that. OTOH, if I noticed it myself, well, never too shy to pat myself on the shoulder for being smart.
    Perhaps not needed anymore, but the magic command to tag a frame is not "Tag" (that would be too easy, wouldndnit), but it's called "markup". I'd have to look up how to actually use it, though.

  • I thought you could call anyone for free so long a...

    Thought you could call anyone on Skype for free when they had skype also?

    some Skype services such as Skype-to-Skype calls, conference calls, chat and group chat, 1-on-1 video calls are indeed free of charge. However, some services such as Skype-to-mobile/landline number, group video calls, voicemail, SMS, online number, etc requires credits or subscriptions.
    The support/user guide section offers a mode detailed descriptions - https://support.skype.com/en/
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Anyone for Data Structures ?

    Hi,
    Can anyone think of a datastrucute where by I can store like an array of integers (which I can increment easily) and a linked key (a string) that will move with its value when I sort it in order fo the integer value? similar to a hashTable but you cant sort this > ???
    I know you cant get arrays of arrays of two different types can you ?
    Ideas ?
    cheers.

    SortedMap (such as TreeMap) orders by keys, not values.
    You can make any collection and call Collections.sort() on it to sort it, but your object need to be Comparable for it to work. You can make a key-value object that implements Comparable and the compareTo method responds to the value. Then, make the equals method respond to the key, so when you call get(key), you'll get back the correct object. It may be a little tricky, but I think it could work.
    -JBoeing

  • Anyone for Perl programming??

    hi, can you help me about the use of hash function to calculate this :
    @rawgrades = (1stgrade*0.25) + (2ndgrade*0.25) + (3rdgrade*0.25) + (4thgrade*0.3)
    for the following code?
    it reads the data normally into an array structure, but I tried to hash it, either it gave single value per key or another type of errors. How can I add this "hash" function to apply the above formula to the values per key?
    #perl code
    #!/usr/local/bin/perl -w
    use Fcntl ':flock';
    $file = "data.txt";
    open(INFILE, $file) or die "File Not Found";
    flock(INFILE, LOCK_EX);
    while (<INFILE>) {
    @grades = (split(/ /, $_));
    push @students, [@grades];
    %keys = @students;
    flock(INFILE, LOCK_UN);
    for($x = 0; $x <= 15; $x++){
    for($y = 0; $y <= 4; $y++){
    print $students[$x][$y], " " ;
    print "\n";
    close(INFILE);
    my data
    Frank 89 90 76 88
    Chris 70 95 90 100
    Raji 60 80 89 90
    Moe 90 90 67 56
    Pam 100 50 85 50
    Denis 50 10 78 34
    Sam 23 90 80 75
    Rick 100 67 89 88
    Sal 98 90 80 75
    Adam 90 90 67 56
    Jim 89 89 89 10
    Rich 99 67 89 67
    Dan 78 100 87 67
    Sally 39 80 90 98
    Hugh 78 85 100 100
    Alan 99 15 54 87
    thank you so much!

    Thanks for the comments and help, I thought the code tag would work only for java code, anyway now I`m putting the code between those tags:
    I wrote the code using subs, the 1st one did it ok , it read the file but the 2nd one my logic is a bit off, I guess..Since I`m new to this language, I`m trying to use analogies between other languages, anyway this is the logic:
    open file
    read file
    for each line
    store the name as a key, calculate the grade as the value of a hash
    formula:
    (1st grade * 20%) + (2nd grade * 25%) + (3rd Grade * 25%) + (4th Grade * 30%)
    print out to file
    sort keys in hash
    for each key
    calculate the curve
    formula:
    ( sqrt ( orig_grade ) * 10 ) - orig_grade, This should then be added to the grades, to get the new final grade.
    if name begins with 'S' subtract 2 from curve
    if name begins with 'R' and ends with 'k' add 3
    write out key, grade, and curve grade
    close files
    Example input file:
    Theadore 50 10 78 34
    Simon 23 90 80 75
    Alvin 90 90 67 56
    Example output file
    Alvin 74.05 86.05
    Simon 69.6 81.43
    Theadore 42.2 64.96
    The below code that I wrote is with my insructor`s comments, I think he`s mad at me.. I wish it was in Java
    #!/usr/local/bin/perl -w
    # Name:       curves.pl                          *
    # Authors:    edeita2*
    # Medium: Perl                                   *
    # Created: 3/5/04                                *
    # Purpose: To read the file containg the students*
    #          names and their grades.Calculate the  *
    #          curves for each student and treating  *
    #          some of them in different manner as   *
    #          far as calculation goes, those whose  *
    #          names match the given characters will *
    #          get the deserved treatment            *
    use strict;
    use Fcntl  ':flock';
    #Variables                                       *
    my $dataFile = "";
    my $rawgrade = "";
    #********************Main*************************
    if($#ARGV == 0) {
      $dataFile = fileReader($ARGV[0]);   #sub1
      $rawgrade = calcgrades($dataFile);  #sub2
      # You weren't passing '$rawgrade' down, you need it
      # presumably...
      printList($dataFile, $rawgrade);    #sub3 
    else {
      print "Usage: -- ./curves.pl filename\n";
    #*********************Subroutines*****************
    sub fileReader {
      my $dataFile = "";
      my ($file) = @_;
      open(INFILE, $file) or die "File Not Found";
      flock(INFILE, LOCK_EX);
      while (<INFILE>) {
        $dataFile = $dataFile . $_;
      flock(INFILE, LOCK_UN);
      close(INFILE);
      return $dataFile;
    sub calcgrades {
      # you are not actually accepting the value you are
      # passing down, you can't do anything with it
      # if it is not here...
      my $dataFile = "";
      my ($datafile) = @_;
      my @rawgrades;
      # I don't know why this is here...
      # my $dataFile = shift;
      my %students;
      for( split/\n/,$dataFile){
        my $s;
        ($s,@rawgrades) = split;
        $students{$s}=[@rawgrades];
      my @keys = keys(%students);
      foreach my $key ( sort @keys ){
        @rawgrades = @{$students{$key}};
        print "@rawgrades\n";
        my $rawgrade = $rawgrades[0]*0.2 + $rawgrades[1]*0.25 + $rawgrades[2]*0.25 +$rawgrades[3]*0.3;
        print "$key\t$rawgrade"\n\n";
      # you are returning $rawgrade, which in this case would be
      # the very last thing you calculate, I don't
      # think that is what you want to do?  If anything you should
      # be returning an array or something....
      return $rawgrade;
    sub printList {
       my($dataFile, $rawgrade) = @_;
       print"\n---------------------\n"; 
       print"     Student Data\n";
       print"\n----------------------\n"; 
       print "$dataFile\n\n";

  • Anyone for Arden Fair?

    Anybody here going to Arden Fair Mall Sacramento, CA on the 24th? Maybe even the Roseville Galleria?

    ya i dont think i will be going to the arden one. id rather go to the roseville one. but im worried about going really really early and someone there saying we cant line up or which door to even line up at. the apple store there didnt have any good information on what to do for the launch day. im going to call them again to see if someone else will give some better advice.

  • Anyone for hire? This form is beyond my skills.

    I'm a VERY basic web designer. (I hesitate to even call
    myself that.) I can do only basic Dreamweaver stuff. I have a site
    up for a client, but he wants a page where the user enters some
    information, clicks a "next" button, and a page comes up that shows
    the values he's entered. This gives him the chance to say "yes,
    this is correct", or "no, I need to go back and fix it". A second
    part that this involves is using secure web page, something else
    I've never done.
    I've spent hours researching, trying to see if this is easy
    to do, and I've come to the point where I'll just pay someone else
    to do this. It's beyond my scope of knowledge. And I doubt I'll
    need to do this in the future, so while I don't mind learning, I
    don't necessarily need to in this case. Are we allowed to ask for
    paid help in this forum?
    He uses Godaddy for hosting, has purchased ssl certificates
    (but I have no idea what to do with them), and the form is using
    asp.
    Help...please, I'm desperate.
    Lisa

    Contact me offlist - forums at great-web-sights.com
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "macnut4" <[email protected]> wrote in
    message
    news:fr23lp$kbd$[email protected]..
    > I'm a VERY basic web designer. (I hesitate to even call
    myself that.) I
    > can do
    > only basic Dreamweaver stuff. I have a site up for a
    client, but he wants
    > a
    > page where the user enters some information, clicks a
    "next" button, and a
    > page
    > comes up that shows the values he's entered. This gives
    him the chance to
    > say
    > "yes, this is correct", or "no, I need to go back and
    fix it". A second
    > part
    > that this involves is using secure web page, something
    else I've never
    > done.
    >
    > I've spent hours researching, trying to see if this is
    easy to do, and
    > I've
    > come to the point where I'll just pay someone else to do
    this. It's beyond
    > my
    > scope of knowledge. And I doubt I'll need to do this in
    the future, so
    > while I
    > don't mind learning, I don't necessarily need to in this
    case. Are we
    > allowed
    > to ask for paid help in this forum?
    >
    > He uses Godaddy for hosting, has purchased ssl
    certificates (but I have no
    > idea what to do with them), and the form is using asp.
    >
    > Help...please, I'm desperate.
    >
    > Lisa
    >

  • Anyone for BB listening?

    Hiya do you guys have an estimated release date for desktop software to sync with office 2010? Love the office package, love the BB's more though happy to sit in 2007 just be good to get a heads-up please.
    All best.
    J-H

    This is a user to user community support forum, RIM personal aren't known to scour the forums to to post release dates.
    No one knows.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Cannot message hubby or FaceTime him..he cannot message anyone for months now. Hoped this last update would fix problem but it didn't. What's up.

    For months my husband has not been able to message or FaceTime. Several article I read stated the next update would fix the problem...it didn't. Any ideas?

    1. Make sure software is up to date
    2. Make sure FaceTime is enabled; Settings>FaceTime
    3. Make sure Date and Time is correctly set; Settings>General>Date and Time>Set Automatically>On
    4. Make sure Push Notification is enabled
    5. Make sure phone number or email address is correct
    6. Hold the Sleep and Home button down (together) until you see the Apple Logo

  • Help anyone for 30 missing songs on my itunes

    hey all last year my ipod and laptop got stolen and now i have brought a new laptop but i seem to be missing all the songs i purchaced  i tried the reedeem and purchace route but they are not there so im missing 30 songs , i checked the purchaces and it is on the system that i brought them but i cannot download them ?? help

    Hello gamecubemike123,
    The article linked below details how to download purchases you've made in the past from the iTunes Store.
    Download past purchases
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • Anyone for some chiza?

    http://kotaku.com/kfc-turns-pizza-crust-into-chicken-1717432646?utm_campaign=Socialflow_Kotaku_Twitter&utm_source=Kotaku_Twitter&utm_medium=Socialflow
    Best of both worlds if you can't decide between chicken or pizza.

    hayzink wrote:
    TheStill wrote:
    Don't think i could eat any of those and i can't imagine the amount of fat that would come off of them either.
    our tastes are a bit more refined hence the reason these things never see the light of day in the uk
    Says the man from the land of deep-fried battered creme eggs.

  • A suggestion for anyone with discoloration on the rist area!

    I just want to let people know the Marware MacBook protection package is great for the wrist area of your MacBook.
    I had my cover replaced for discoloration 3 times and that was one to many times!
    So...
    I was in the Apple store today and I saw the Marware wrist cover and decided to buy it. It's the best product that I have boughten for my MacBook. It feels great to know that I am not going to have to worry about discoloration ever again!!
    I recommend this to anyone, not only does it protect your case of your MacBook but it also provides comfort!
    Here's the link if you wanna check it out:
    http://www.marware.com/cgi-bin/WebObjects/Marware.woa/3/wa/selectedCategory?cata logCatID=224&wosid=UiEJWBwXATKaAX5cXTO1S0
    It's only $19.95
    It's awesome and if you are getting a MacBook for someone this Christmas then I also suggest this cover for there MacBook. They sell these at Apple stores.
    Just thought I would give me insight on this awesome product and sorry if I upset anyone for this post, I just had to let people know about this cover.
    Merry Christmas!
    Sam
    Macbook   Mac OS X (10.4.8)   MacBook
    Macbook   Mac OS X (10.4.8)   MacBook

    Thanks for the reply.
    Have tried repairing via pcc, also done a factory reset, disabled some apps and cleared the cache on a few other apps.
    Also, tried using different browsers like opera, dolphin and all not being able to play flash properly mainly on youtube.
    The only time a youtube vid played properly through the desktop site was when I set the quality of the video to the lowest possible (something like 350p) ?

Maybe you are looking for

  • Windows 7 (& Vista) + Intellipoint + lazer mice = scrollwheel issues on most applications

    Well I've posted on several places on the web about this, but thought it would be a good idea to start a detailed topic explaining this issue and asking (begging really) for some help from anyone who would be so kind. I have a Microsoft Ergonomic Las

  • IPod wont stop updating when ipod is connected, wont update on itunes 7!

    What is honestly wrong, every time i update my ipod now with itunes 7, it wont stop updating and it says its updating but it isnt, why is it doing this with itunes 7???

  • Alternative reconciliation account

    Hi, we have a following requirement from the client: The business process is the following: approx.10.000 Retail beer customers in dist. channel X and Y. We would like to invoice a so-called rent fee with sundry invoicing for the equipments they use.

  • Solution Manager - System Monitoring

    Hi Basis associates, This is a open discussion for SAP Basis experts to discuss what the pain points are when it comes to SAP System Monitoring on 1. Solution Manager 2. Third party Monitoring tools for any SAP Application (ABAP, ABAP+Java, Java only

  • Applet DB Exception

    I have tried to connect to Microsoft SQL server 7.0 on my server using Java applet, rather it threw an exception as stated below java.security.AccessControlException:accessdenied(java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc) can any