For the cake: Preheat the oven to 350 degrees F. Grease two 9-inch cake pans with the butter.
In a large bowl, add the granulated sugar, oil, brown sugar and eggs and mix together. Add the flour, carrots, coconut, walnuts, cinnamon, almond extract, baking powder, salt and pineapple and fold the ingredients together.
Pour the batter into the prepared pans and place the pans on a baking sheet. Bake until a toothpick inserted into the centers comes out clean, about 40 minutes. Place the cakes on a cooling rack until completely cooled, about an hour.
For the frosting: Meanwhile, in a stand mixer fitted with a paddle attachment, add the cream cheese, confectioners' sugar, butter and pineapple juice. Mix until smooth and incorporated.
To frost the cake: Carefully remove the cooled cakes from the pans. Using an offset spatula, place a dollop of the frosting on the cake stand and spread to create a sticky base. Place one layer on the frosting on the cake stand. Thickly frost the entire top of the cake and place the other layer atop the now frosted one. Beginning with the top of the new layer, frost generously. Place a large dollop of frosting on the side of the cake and spin the cake to evenly frost the sides. Garnish with the remaining walnuts.