This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - nitacku
1
« on: October 05, 2013, 06:46:48 pm »
I was looking at the post on the front page thinking: "oh yea, I remember those games... Uncle worm, paper plane, phoenix, ... What's that last one? I remember seeing that from somewhere... OH, wait... is it? *facepalm*... "
Well I'm humbled that my modu10 game is considered a classic game that you enjoy playing many times! It was based on a flash game I found online a few years ago. According to a few reports, modu10 is only functional on older calcs. Newer versions aren't compatible with xLIB (probably bc of the firmware/os). It also only works with xLIB afaik. DoorsCS had trouble rendering the shapes last I knew.
BTW, additional levels are unlocked when you complete the first 49! (just a little easter egg)
Now, concerning this contest, I might have some free time to create something. I'd have to re-learn how Axe works. A good puzzle game would be fun...
2
« on: April 05, 2013, 12:09:39 am »
Maybe they'll do another Endless 8... But yea, I'd definitely watch a 3rd season if there was one. Btw, the novels were a great read. They've been picked up by an licensing company, but you can still find them online if you know where to look.
On a side note, Chuunibyou was a pretty good (Kyoto's submission last fall season)
3
« on: January 10, 2013, 09:50:49 pm »
This reminds me of an old DOS game called Word Rescue: btw, the youtube tags don't like https links...
4
« on: September 26, 2012, 10:43:31 pm »
AT&T (not my choice personally... the entire apartment complex is serviced by them) I even upgraded to "Max" speed, w/e that means... At least now I can stream video (srsly, it was too slow before) Edit: Faster dl speed, yay!
5
« on: August 10, 2012, 09:24:18 pm »
So, electronic music... Some of you may have heard my music already, but here are my most recent tracks! Enjoy! 1. Loki Stole My Headphones 2. Purple Fuzzy 3. I didn't say Stop... I'll see if I can upload to the music topic... (4096KB not enough unless I re-sample @ 96kbps) Download from SoundCloud! Follow me on SoundCloud: ----> http://soundcloud.com/nitacku <----HD has better audio quality btw
6
« on: August 01, 2012, 08:55:18 pm »
Gah! The image broke! >_<
I'll attach it instead.
7
« on: August 01, 2012, 08:38:57 pm »
May I ask what you mean by Touhou illustrations??
Touhou character illustrations. There's quite a fan base actually! <Image Reference> EDIT: link was broken somehow... See post below!
8
« on: August 01, 2012, 01:21:23 am »
That's fantastic! Did you use any other similar illustration for reference?
I instantly knew it was Angel Beats. >_> maybe I spend too much time on the internet...
Put that shit up on Pixiv yo. You'll gather quite a following with this level of talent!
EDIT: nitacku would be ecstatic if you did Touhou illustrations, bc it's awesome >_<
9
« on: August 01, 2012, 12:58:10 am »
When I create music, I don't worry about music theory. I only focus on how it sounds. (I do happen to know music theory though ) I can offer some tips for creating music with software: 1: Create a 16 measure loop (Assuming you're using 4x4 time, 16 measures will create a complete phrase) 2: Create your bass chord progression with single notes. Think Pachelbel's Canon. The opening does exactly this. 3: Insert a new instrument. Add notes to chord progression. This would be the harp & violin you hear in the beginning of Pachelbel's Canon. 4: Flush out the chords if you want. 5: Be creative! Copy that 16 loop and tweak with the note lengths. Eventually you will have 16 measures that you're satisfied with. This should be your chorus. The entire song focuses around this 16 measure loop. You also know what instruments you're going to use now. You can create an intro and ending by layering instruments for example: A-> A&B -> A&B&C -> A&C -> C I hope this helps. This is roughly the process I use when creating music. Also, if you're not having fun, you're doing it wrong EDIT: Pachelbel's Canon for reference
10
« on: June 26, 2012, 09:13:20 pm »
nitacku you need to reduce the amount entered and left with put together
I think the solution in that case is to bring nothing. The reason: There is never 100% probability that you eliminate what you brought. Even if it was 100% probable that you would use what you brought, it would simply cancel itself. For example: If you bring one penny, 80% of the time it is used. This means that your average number of coins is 1 + (4.7 - 0.8). You see? 1 - 0.8 > 0, which means bringing anything defeats the purpose.
11
« on: June 26, 2012, 08:50:53 pm »
I wrote a C program to brute force the result since I'm lazy #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include "SFMT.c"
typedef struct ChangeStruct { int penny; int nickel; int dime; int quarter; } Change;
Change min_change(int value);
int main() { Change carry; Change purchase; Change exchange; Change best_change; int transactions = 10000000; double best_result = 5; double average;
int penny = 4; for (; penny >= 0; penny--) { int nickel = 1; for (; nickel >= 0; nickel--) { int dime = 2; for (; dime >= 0; dime--) { int quarter = 3; for (; quarter >= 0; quarter --) { int total_coins = 0; int x = 0; carry.penny = penny; carry.nickel = nickel; carry.dime = dime; carry.quarter = quarter; init_gen_rand(time(NULL)); for (; x<transactions; x++) { purchase = min_change(gen_rand32()%100); exchange.penny = abs(purchase.penny - carry.penny); exchange.nickel = abs(purchase.nickel - carry.nickel); exchange.dime = abs(purchase.dime - carry.dime); exchange.quarter = abs(purchase.quarter - carry.quarter); total_coins += exchange.penny + exchange.nickel + exchange.dime + exchange.quarter; } average = (double)total_coins/transactions; printf("Pennies: %d Nickels: %d Dimes: %d Quarters: %d\n", penny, nickel, dime, quarter); printf("Average coins per transaction: %f\n\n", average); if (average < best_result) { best_result = average; best_change = carry; } } } } } printf("Best Result: %f\n", best_result); printf("Pennies: %d Nickels: %d Dimes: %d Quarters: %d\n", best_change.penny, best_change.nickel, best_change.dime, best_change.quarter); return 0; }
Change min_change(int value) { Change min_change; min_change.penny = 0; min_change.nickel = 0; min_change.dime = 0; min_change.quarter = 0; while (value) { if (value >= 25) { value -= 25; min_change.quarter++; } else { if (value >= 10) { value -= 10; min_change.dime++; } else { if (value >=5) { value -= 5; min_change.nickel++; } else { value -= 1; min_change.penny++; } } } } return min_change; }
If you want to compile it you will also need the SIMD-oriented Fast Mersenne Twister library: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/So the results the program generated: Best Result: 3.198689 Pennies: 2 Nickels: 0 Dimes: 1 Quarters: 1It's averaged over 10,000,000 transactions per combination. Should be enough for statistical evidence. EDIT: Best Result is the average number of coins leftover. EDIT2: I should probably clarify, this isn't quite the answer the problem is looking for, but it is the answer to "What change should I carry to minimize my change received". But now that I think about it, even this isn't quite an answer, simply because 37 cents isn't enough to cover 38 cents, which means you'd have to pull out a $1 for that 1 cent which then makes your dollar 99 cents. This answer is merely the best combination of coins that matches average transactions the most.
12
« on: June 26, 2012, 02:38:07 am »
Well based on the probability of receiving a particular coin: 4 pennies and 1 quarter.
You wouldn't choose 5 pennies since that would be less efficient (aka nickel) The quarter being the next most probable coin is then selected.
EDIT: I think I follow what you're saying now Builderboy. You can't choose more than 4.7 coins since that is the average received. Choosing more would be a less-than-optimal solution than just carrying none.
The solution may be more difficult than this, but right now I think 4 pennies is the optimal solution.
13
« on: June 26, 2012, 02:30:17 am »
Ah, you're correct. It isn't exact change, but an exact subset of the change needed. In some cases it will be exact, in others too much or too little.
EDIT: The question is: How do you carry 4.7 coins? You can't. But you can carry 5 coins. And carrying 4 coins means more often than not you wont have enough. Knowing this, simply choosing the most probably occurring coins will yield the best result.
14
« on: June 26, 2012, 02:24:27 am »
For the sake of argument, lets suppose you carried with you the exact change you needed:
Carrying 4 coins means you will have 0.7 coins too little. Carrying 5 coins means you will have 0.3 coins too much.
Since you're trying to minimize both sides, the smallest value is the one to select.
15
« on: June 26, 2012, 02:14:15 am »
Yes you are indeed correct Builderboy. However, 4.7 coins is not an integer amount. So carrying 5 coins is still the optimal solution.
Here's my thoughts: You know you will get 4.7 coins back on average, which is 5 coins when viewed as an integer amount. To minimize your change, you need to predict what 5 coins those will be on average.
|