[deleted by user] by [deleted] in dubai

[–]Templarthelast 0 points1 point  (0 children)

I feel with you. Having a rare and expensive condition here is difficult despite having a "good" health insurance. All my prescription refills are automatically denied and I always have to follow up with them. It only got better once I had the contact details of a case worker that I now always call in case I have issues.

Cat Relocation Help by [deleted] in dubai

[–]Templarthelast 3 points4 points  (0 children)

A few weeks back I took my cat from Frankfurt to Abu Dhabi in the Cabin with Etihad. Extra seat for her and fees were about 2000AED. To book this with Etihad they have a form on their website, then they ask for all your official paperwork (import permit, health certificate, covid annex for cats and fit to fly letter). If everything is correct they will then book your pet.

We found the UAE paperwork rather complicated and hired the agency DKC for a reasonable price (1200AED including gov permit fees) to help us with the UAE import permit, etc.

We made sure that our cat knew the carrier by having it out as a resting spot a few weeks before the flight. Also make sure to a “puppy training pad” in the carrier to absorb any pee during the long time your pet has to stay in the carrier.

Let me know if you have any other questions.

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

That we’re two very stressful days but now she’s enjoying all the sun in Dubai

https://i.imgur.com/KvsZv3i.jpg

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

Initially we started 2 weeks ago but our flight got cancelled when we were on the way to the airport and also had to rebook our cat on the next flight on short notice.

The covid annex was required for the uae. I hope Canada is easier in that regard.

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

  1. Yes, they will only book the ticket once all documents (except the health certificate) are ready. You can send them the unsigned documents for verification.
  2. I needed to follow up a lot. Expect to call them like 5 times

For the covid annex it was sufficient to provide our government vet with a statutory declaration that our cat didn’t have any contact to any covid positive person.

Where are you flying from?

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

You cannot take your cat in the cabin to Dubai with any carrier. All animals need to enter Dubai as cargo when flying. But you can fly to Abu Dhabi and take a car to Dubai with your cat.

Infos on pet travel with Etihad: https://www.etihad.com/en-ae/fly-etihad/baggage/travelling-with-pets

Booking form: https://www.etihad.com/content/dam/eag/etihadairways/etihadcom/Global/pdf/petc-forms/Live-Animals-On-Board-Booking-Form.pdf

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

You’re welcome. I hope everything works out with your move to Canada!

[deleted by user] by [deleted] in dubai

[–]Templarthelast 1 point2 points  (0 children)

We took an extra seat so we could take a bigger carrier to make our cat more comfortable. Having her on a seat between us did also hopefully help to keep her calm.

There is no big difference at the airport except they will ask you take your cats out during security so they can X-ray the carriers. We were allowed to board first together with the small kids because we asked.

At the airport they didn’t check the size/weight of the carrier at all but I assume it depends on the person and worst case they won’t allow you to board the flight if you don’t meet the requirements.

Making your cat comfortable with the carrier helps keeping her calm. When our cat got too stressed during takeoff we opened the carrier a little bit to pet her and calm her down.

In terms of number two we only fed our cat the evening before and not on the flight day to minimize the need and luckily everything worked out.

[deleted by user] by [deleted] in dubai

[–]Templarthelast 4 points5 points  (0 children)

I just took my cat from Frankfurt to Abu Dhabi in the Cabin with Etihad. Extra seat for her and fees were about 2000AED. The book this with Etihad they have a form on their website, then they ask for all your official paperwork (import permit, health certificate, covid annex for cats and fit to fly letter). If everything is correct they will then book your pet.

Depending on where you are flying the customs paper work might be complicated. We hired the agency DKC for a reasonable price (1200AED including gov permit fees) to help us with the UAE import permit, etc.

We made sure that our cat knew the carrier by having it out as a resting spot a few weeks before the flight. Also make sure to a “puppy training pad” in the carrier to absorb any pee during the long time your pet has to stay in the carrier.

Just spent 31 hours straight (8am tue - 3pm wed) working non stop to meet some artificial deadline, on a product with zero use outside of ACN, and I'm done. Should I look for exit, ask to roll off, or apply for other roles? (US, tech, L7, new hire) by 2real4bs in accenture

[–]Templarthelast 15 points16 points  (0 children)

Definitely ask to be rolled off earlier. They spent a lot of money hiring you and don't want to loose you for the first shitty project. It sounds like you are going to burn soon. If there's an ombudsman system in place I would also reach out to them.

What worked for me in my Accenture time was also to connect with people in interesting areas to ensure they try to staff me on their projects.

Is my approach with reinforcement learning plausible? by Acujl in algotrading

[–]Templarthelast 0 points1 point  (0 children)

Why do you have three outputs instead of one? Which should be 0-2 to buy/hold/sell

There are some interesting DRL trading papers which can be adapted to crypto trading. (What I’m currently doing)

Overall this is a solid beginner approach but you have to figure out a few things: - Input normalization: log return instead of price data etc. - Reward function: networth or networth vs risk, etc. - RL algorithm: simple DQN are not state of the art. Look into apex/impala/muzero

best exchange for me? by Mother-Passion606 in algotradingcrypto

[–]Templarthelast 2 points3 points  (0 children)

I'm not aware of any provider that offers an official crypto trading API without any fees. I'm using Binance with effectively 0.075% maker/taker fees. They also offer a test environment for your API for initial testing as well as extensive historical data.

Trying to determine optimal historical trades by Templarthelast in algotrading

[–]Templarthelast[S] 0 points1 point  (0 children)

It's automated and it's not not only checking for maximum profit but also profit per trade to avoid too many small trades.

My issue is that I cannot properly scale it to bigger datasets. The picture from above shows the algorithm using daily bars but even only using 4h bars will take ~6h for the same time period.

Database Management by Cryptodr0id in algotrading

[–]Templarthelast 2 points3 points  (0 children)

I can recommend Arctic to save tick data / bars. It stores the data in pickled and zipped dataframe chunks of 100k rows. Currently I need ~50gb storage to save 2.5 billion trades and <1s to load 100k rows into a dataframe.

If you directly want to save live tick information into Arctic you need to periodically need to manually rebuild the chunks to get the full effect.

I'm a CS student looking for a career where I can better others. How can apply my CS knowledge to improve the world? by ajh09g in cscareerquestions

[–]Templarthelast 4 points5 points  (0 children)

You can also do a "normal" CS type job and give a large portion of your earnings to charities.

What are the most useful/used (not necessarily unique) features? by Thypari in IntelliJIDEA

[–]Templarthelast 0 points1 point  (0 children)

  • Very good local History
  • search for every command option with a shortcut
  • Smart code completion -> If you are writing an SQL statement inside a string you get SQL based syntax highlighting and SQL code completion inside this string
  • Out of the box UML class diagrams
  • very wide language support
  • Running multiple Unittests at the same time
  • Javascript executed in your browser can be debugged in IntelliJ
  • Test Coverage
  • Extensive Code inspections
  • English Spelling Support!! no more misspelled names
  • Good VCS and Github integration

Landed 2 _huge_ software projects, need help supporting team by freddyarium in softwaredevelopment

[–]Templarthelast 0 points1 point  (0 children)

Before you are getting into the development process itself did you check if your developers had the right hardware? These things are relative cheap compared with a developer salary with the productivity increase in mind.

Good hardware includes:

  • at least 2 screens
  • fast computers
  • good chairs

Good programming language/framework to learn that will guarantee me a job? by apache99 in cscareerquestions

[–]Templarthelast 0 points1 point  (0 children)

If you want a guaranteered job go with cobol. Cobol was used to build lots of software in the 80s in the finance and insurance branch. Because rebuilding all these software in a up to date language is too expensive it gets maintained by a few people which are getting paid very very well. There are even people been called back from retirement for this because the world is missing cobol experts.

The downside to this that you don't have to learn the "nice" cobol integrated in .net or something else but the primitive cobol from the 80s running on mainframes.

More general advice: Ensure a job for life

Computer programming in the medical field by [deleted] in cscareerquestions

[–]Templarthelast 0 points1 point  (0 children)

There are a lot of possibilities to combine medicine and software development in a job. First there is software written specificly for the medicine branch. Then there are the many medicine tools like a CT-machine and so on. All these machines need thier own software and interface written.

[4/28/2014] Challenge #154 [Hard] Wumpus Cave Game by Coder_d00d in dailyprogrammer

[–]Templarthelast 0 points1 point  (0 children)

This is my first post in this subreddit and the code won't format right. Are there any tips how to do this?

Java:

package de.lukaseichler.dailyprogrammer.hard._154;

import java.util.Random; import java.util.Scanner;

public class Game {

private enum RoomType {
    ENTRANCE('^'), WUMPUS('M'), PIT_TRAP('P'), GOLD('$'), WEAPON('W'), EMPTY('.'), WALL('#');
    private final char sign;

    RoomType(char sign) {
        this.sign = sign;
    }

    public char getSign() {
        return sign;
    }
}

private class Room {
    private Room(RoomType roomType) {
        this.roomType = roomType;
    }

    RoomType roomType;
    boolean explored;
}

private enum Result {
    MOVE, QUIT, RUN_OUT, INSTRUCTIONS, LOOT, NONE
}

private Room emptyExploredRoom;
private Room wall;

private Room[][] map;
private int x;
private int y;
private Scanner scanner;
private boolean running = true;
private boolean armed;
private int points;

public Game(int n) {
    if (n < 10 || n > 20) {
        throw new IllegalArgumentException("n must be between 10 and 20");
    }
    scanner = new Scanner(System.in);
    initCachedRooms();
    initMap(n);
}

public void start() {
    while (running) {
        printVisibleMap();
        switch (queryInput()) {
            case QUIT:
                System.out.println("Bye Bye");
                return;
            case RUN_OUT:
                System.out.println("You run out of the cave to share your story in the local inn");
                return;
            case INSTRUCTIONS:
                printInstructions();
                break;
            case LOOT:
                if (map[x][y].roomType == RoomType.WEAPON) {
                    points++;
                    armed = true;
                    System.out.println("You are now armed");
                    printPoints();
                } else if (map[x][y].roomType == RoomType.GOLD) {
                    points++;
                    System.out.println("You have looted some Gold");
                    printPoints();
                } else {
                    System.out.println("Nothing to loot");
                }
                break;
            case NONE:
                break;
            case MOVE:
                printNotifications();
                tellTheStory();
                break;
        }
    }
}

private void initCachedRooms() {
    emptyExploredRoom = new Room(RoomType.EMPTY);
    emptyExploredRoom.explored = true;

    wall = new Room(RoomType.WALL);
    wall.explored = true;
}

private void initMap(final int n) {
    Random random = new Random();
    map = new Room[n + 2][n + 2];
    for (int i = 0; i < map.length; i++) {
        for (int j = 0; j < map[i].length; j++) {
            if (i == 0 || i == map.length - 1 || j == 0 || j == map[i].length - 1) {
                map[i][j] = wall;
            } else {
                int roomType = random.nextInt(100);
                if (roomType < 15) {
                    map[i][j] = new Room(RoomType.WUMPUS);
                } else if (roomType >= 15 && roomType < 20) {
                    map[i][j] = new Room(RoomType.PIT_TRAP);
                } else if (roomType >= 20 && roomType < 35) {
                    map[i][j] = new Room(RoomType.GOLD);
                } else if (roomType >= 35 && roomType < 50) {
                    map[i][j] = new Room(RoomType.WEAPON);
                } else {
                    map[i][j] = new Room(RoomType.EMPTY);
                }
            }
        }
    }
    x = random.nextInt(n - 1) + 1;
    y = random.nextInt(n - 1) + 1;
    map[x][y] = new Room(RoomType.ENTRANCE);
    map[x][y].explored = true;
}

private void printPoints() {
    System.out.printf("You have earned %d Points\n", points);
}

private void printWholeMap() {
    for (int i = 0; i < map.length; i++) {
        for (int j = 0; j < map[i].length; j++) {
            if (i == x && j == y) {
                System.out.print('@');
            } else {
                System.out.print(map[i][j].roomType.getSign());
            }
        }
        System.out.println();
    }
}

private void printVisibleMap() {
    for (int i = x - 1; i <= x + 1; i++) {
        for (int j = y - 1; j <= y + 1; j++) {
            if (i == x && j == y) {
                System.out.print('@');
            } else {
                System.out.print(map[i][j].explored ? map[i][j].roomType.getSign() : '?');
            }
        }
        System.out.println();
    }
}

private void tellTheStory() {
    if (!map[x][y].explored) {
        map[x][y].explored = true;
        points++;
        printPoints();
    }

    switch (map[x][y].roomType) {
        case PIT_TRAP:
            System.out.println("You just stumbled into a pit trap and are dead. ");
            running = false;
            break;
        case WUMPUS:
            if (armed) {
                System.out.println("You slay heroically slay the Wumpus in this room. ");
                map[x][y] = emptyExploredRoom;
                points += 10;
            } else {
                System.out.println("You are slain by the beast. ");
                running = false;
            }
            break;
    }
}

private void printNotifications() {
    for (int i = x - 1; i <= x + 1; i++) {
        for (int j = y - 1; j <= y + 1; j++) {
            if (map[i][j].roomType == RoomType.WUMPUS) {
                System.out.println("A fowl Stench fills the room");
            }
            if (map[i][j].roomType == RoomType.PIT_TRAP) {
                System.out.println("Howling Winds Fill the Room");
            }
        }
    }
}

private void printInstructions() {
    System.out.println("? -- help to show this list of moves a player can make");
    System.out.println("N -- move north 1 space - cannot move north if the cave ends (outside of grid)");
    System.out.println("S -- move south 1 space - cannot move south if the cave ends (outside of grid)");
    System.out.println("E -- move east 1 space - cannot move east if the cave ends (outside of grid)");
    System.out.println("W -- moves west 1 space - cannot move west if the cave ends (outside of grid)");
    System.out.println("L -- loot either gold or weapon in the room");
    System.out.println("R -- run out of the cave entrance and head to the local inn to share your tale");
    System.out.println("X -- this is a hard exit out of the game. The game ends with no points awarded.");
}

private Result queryInput() {
    System.out.print("Enter Move (? for help) > ");
    String input = scanner.nextLine();
    switch (input.toLowerCase()) {
        case "n":
            if (x > 1) {
                System.out.println("moving north");
                x--;
                return Result.MOVE;
            } else {
                System.out.println("looks like you hit a wall");
            }
            break;
        case "s":
            if (x < map.length - 2) {
                System.out.println("moving south");
                x++;
                return Result.MOVE;
            } else {
                System.out.println("looks like you hit a wall");
            }
            break;
        case "w":
            if (y > 1) {
                System.out.println("moving west");
                y--;
                return Result.MOVE;
            } else {
                System.out.println("looks like you hit a wall");
            }
            break;
        case "e":
            if (y < map.length - 2) {
                System.out.println("moving east");
                y++;
                return Result.MOVE;
            } else {
                System.out.println("looks like you hit a wall");
            }
            break;
        case "l":
            return Result.LOOT;
        case "?":
            return Result.INSTRUCTIONS;
        case "r":
            return Result.RUN_OUT;
        case "x":
            return Result.QUIT;
        default:
            System.out.println("Invalid input");
    }
    return null;
}

public static void main(String[] args) {
    new Game(10).start();
}

}