Nika Xmas Shark
Posted by jake | Filed under Nika Land Shark
Seared Salmon With Golden Beet Chutney And Greens
Posted by jake | Filed under Culinary Adventures
Salmon Marinade:
Ponzu Sauce
Soy Sauce
Whiskey
Olive Oil
Mix marinade ingredients and place salmon fillet in a zip-top bag with marinade and refrigerate for 2-4 hours. The citrus-based ponzu sauce will begin to cook the salmon.
Golden Beet and Pineapple Chutney:
Cut raw beets in half, place in pan with 1/2 inch of water and cover with tin foil. Roast beets at 400 degrees for 40-60 mins or until tender. The skin should be ready to fall off. Peel skin off and dice.
Dice some fresh pineapple and combine with the diced beets. Add a bit of apple cider vinegar, salt and pepper.
Drain the juice from the pineapple/beet chutney into a skillet and add minced garlic and ginger and a little olive oil. Sauté garlic and ginger and then add minced onion. Once the onion is no longer raw add the diced pineapple and beets and cook for a moment on low heat.
Wash the beet greens and strip and discard the stems. Sauté some more minced garlic in olive oil and then add the beet greens. Sauté the greens until soft, adding splashes of soy sauce, apple cider vinegar, and pinches of salt, black pepper and onion powder. Remove from pan and sprinkle with sesame seeds.
Place the salmon fillet in a baking pan with the marinade. Spoon some chutney in around it and bake at 450 degrees for 4 minutes. Remove the fillet from the oven and rub with cane sugar. Place face down in a frying pan on high heat to crystalize the sugar and sear the salmon.
Roasted Eggplant and Goat Cheese Sandwiches
Posted by jake | Filed under Culinary Adventures
For roasting sauce mix olive oil, soy sauce, apple cide vinegar, maple syrup, salt and black pepper. Slice an eggplant lengthwise, place in roasting pan and coat with sauce. Roast in oven at 400 degrees for about 20-25 mins (until soft).
Remove from oven and brown on high heat in frying pan for one minute per side.
Toast some crusty rolls and combine eggplant with some fresh goat cheese, sliced onion and sliced tomato.
Soba Noodles with Dipping Sauce
Posted by jake | Filed under Culinary Adventures
Thanksgiving Sushi Bonanza
Posted by jake | Filed under Culinary Adventures
Ingredients from Nijiya Market:
- Sashimi Salmon
- Sashimi Red Snapper
- Sashimi Maguro Tuna
- Pickled Ginger
- Sushi Nori
- Hiyashi Wakame (Seaweed Salad)
- Nishiki Sushi Rice
- Avocado, Carrot and Cucumber
Project Euler - Solution 6
Posted by jake | Filed under Programming Ducks
-module(problem6). -export([solution/0]). solution() -> square_of_sums(100) - sum_of_squares(100). square_of_sums(Max) -> square_of_sums(1, 0, Max). square_of_sums(Num, Acc, Max) when Num > Max -> Acc * Acc; square_of_sums(Num, Acc, Max) -> square_of_sums(Num+1, Acc+Num, Max). sum_of_squares(Max) -> sum_of_squares(1, 0, Max). sum_of_squares(Num, Acc, Max) when Num > Max -> Acc; sum_of_squares(Num, Acc, Max) -> sum_of_squares(Num+1, (Num*Num)+Acc, Max).
Project Euler - Solution 5
Posted by jake | Filed under Programming Ducks
-module(problem5).
-export([solution/0]).
-define(Set, [20,19,18,17,16,15,14,13,12,11]).
solution() -> run(1).
run(Count) ->
case is_divisible(Count, ?Set) of
true -> Count;
false -> run(Count+1)
end.
is_divisible(_, []) -> true;
is_divisible(Num, [First|Tail]) when (Num rem First =:= 0) -> is_divisible(Num, Tail);
is_divisible(_, _) -> false.
Project Euler - Solutions 3 & 4
Posted by jake | Filed under Programming Ducks
Solution 3:
-module(problem3).
-export([solution/0]).
-define(Target, 600851475143).
%% What is the largest prime factor of the number 600851475143?
solution() -> pfac(1, 1, ?Target, math:sqrt(?Target)).
pfac(Count, Prime, _Target, Cutoff) when Count > Cutoff -> Prime;
pfac(Count, Prime, Target, Cutoff) when Target rem Count =:= 0 ->
Factor =
case is_prime(Target div Count) of
0 ->
case is_prime(Count) of
0 -> Prime;
_ -> Count
end;
Prime1 -> Prime1
end,
pfac(Count+1, Factor, Target, Cutoff);
pfac(Count, Prime, Target, Cutoff) ->
pfac(Count+1, Prime, Target, Cutoff).
is_prime(Num) -> is_prime(2, Num, math:sqrt(Num)).
is_prime(Count, Target, Cutoff) when Count > Cutoff -> Target;
is_prime(Count, Target, _Cutoff) when Target rem Count =:= 0 -> 0;
is_prime(Count, Target, Cutoff) -> is_prime(Count+1, Target, Cutoff).
Solution 4:
-module(problem4).
-compile(export_all).
-define(Start, 100).
-define(Stop, 1000).
%% Find the largest palindrome made from the product of two 3-digit numbers.
solution() -> outer(?Start, 0).
outer(?Stop, Val) -> Val;
outer(Num1, Val) ->
outer(Num1+1, inner(Num1, ?Start, Val)).
inner(_, ?Stop, Val) -> Val;
inner(Num1, Num2, Val) ->
inner(Num1, Num2+1, pal(Num1, Num2, Val)).
pal(Num1, Num2, Val) ->
Num3 = Num1 * Num2,
case is_palindrome(Num3) of
true when (Num3 > Val) -> Num3;
_ -> Val
end.
is_palindrome(Num) ->
List = integer_to_list(Num),
case lists:reverse(List) of
List -> true;
_ -> false
end.
Project Euler - Solutions 1 & 2
Posted by jake | Filed under Programming Ducks
Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.
Solution 1:
-module(problem1).
-export([solution/0]).
solution() -> sum(0, 3).
sum(Sum, 1000) -> Sum;
sum(Sum, Counter) ->
Sum1 =
case ((Counter rem 5) * (Counter rem 3)) of
0 -> Sum + Counter;
_ -> Sum
end,
sum(Sum1, Counter+1).
Solution 2:
-module(problem2).
-export([solution/0]).
solution() -> fib(1, 2, 0, 4000000).
fib(A, B, Sum, Cutoff) when B < Cutoff ->
Sum1 =
case B rem 2 of
0 -> Sum + B;
_ -> Sum
end,
fib(B, A+B, Sum1, Cutoff);
fib(_, _, Sum, _) -> Sum.
Japanese Style Buffalo Tofu
Posted by jake | Filed under Culinary Adventures
This is a tasty vegetarian alternative to buffalo wings that still qualifies as junk food.
Ingredients:
- 1 block of extra firm tofu (about 14 oz.)
- 1 egg
- 1/2 teaspoon salt
- 1/2 teaspoon paprika
- 1/4 teaspoon black pepper
- 1 tbsp butter, melted
- 4 tbsp hot sauce (like Frank’s Redhot)
- Flour
- Panko Japanese style bread crumbs (aka tempura flakes)
Instructions:
- Press one block of extra firm tofu to remove as much moisture as possible.
- Slice into triangles and fry on high heat until both sides are slightly browned. Olive oil, canola oil and vegetable oil all work fine.
- Beat one egg and combine with 2-3 tbsp water and 1/2 teaspoon of salt.
- Coat each tofu triangle in flour, then dip in egg mixture and roll in panko breadcrumbs.
- Fry on high heat again until both sides are crisp and browned.
- Combine paprika, black pepper, melted butter and hot sauce.
- Dip each triangle in buffalo sauce, serve with blue cheese dipping sauce and ENJOY!




