robeaux

- friends
239 link karma
321 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

Dear redditors, what's the most common error that foreigners do cooking your country dishes? by MrGestorein Cooking

[–]robeaux 2 points3 points ago

Smothering food with black pepper does not make it Cajun food... Almost all Cajun food starts with the Holy Trinity and/or a roux.

Recipe Flowchart (Chocolate Chip) by caught_thoughtin recipes

[–]robeaux 0 points1 point ago

Have you ever checked out Cooking for Engineers? The guy that does the site came up with a pretty neat way of condensing recipes, and can probably fit most onto an index card.

Here's an example of one of the more complicated recipes: Buffalo Chicken Chili. The summary I'm talking about is at the bottom.

Can someone explain Chandoo.com's example of "linear normalization"? by icameforthemusicin excel

[–]robeaux 0 points1 point ago

This example is just trying to convert the actual monthly sales value into some other scale, in this case some value up to 9. If you divide a set of numbers by the highest number, then you will get a set that will all be less than or equal to 1 (highest number / highest number = 1, not the highest number / highest number < 1). You can then multiply the entire set again to have the highest number be according to your scale (in this case 9). You can have any scale you want, e.g. up to 10, keep it at 1, or up to 100, etc.

The formula you have will give you the new, scaled value, for the january sales number (jan_sales).

The ROUND function will just round the number to the number of decimals given in the second field, in this case 0 (in other words, a whole number). So you will get a scaled, whole number as your answer. So if January is the highest sales month, the new value will be 9. But you can have any other whole number as an answer.

The next part is your scaling (jan_sales/MAX(all_sales)).

And then the multiply by 9 will give you a scale up to 9.

An important thing to note is that I never said zero to 9, it is always up to 9. This is because you may not get a zero value, and if you have a negative number in your original data set, you will still have a negative number. Because of this, this method is typically seen as being a poor choice for normalization, but it is very quick and easy, and sometimes good enough.

WTW when someone abuses their power/trust for personal gain by robeauxin whatstheword

[–]robeaux[S] 0 points1 point ago

Hm... This seems to be the closest, but it just doesn't seem right. I may be crazy, but I could have sworn there was another word for this. Something like "breech of trust", but all one fancy, lawyer-ese word.

WTW for a pet name, but in a friendly/non-romantic context? by hamsalesmanin whatstheword

[–]robeaux 0 points1 point ago

It's ok. They are very similar subreddits =).

WTW for a pet name, but in a friendly/non-romantic context? by hamsalesmanin whatstheword

[–]robeaux 0 points1 point ago

WTW doesn't use a script like TOMT (as far as I can tell), so using SOLVED isn't exactly necessary. But, indicating that the word was found would help prevent others from trying to find the answer.

Do you actually use programming? by readytofallin AskEngineers

[–]robeaux 1 point2 points ago

It depends on what you do. In the Aerospace field, there are a ton of programs that were written in Fortran and are still used (my company has many that were written in Fortran77, even). I've even had the pleasure of trying to convert some of them into Matlab scripts. Our GN&C engineers use Fortran daily, because that's what our (proprietary) code is written in. The cost to convert and verify the historical codes are prohibitive, so it doesn't get done. I read an article somewhere that if the government wanted to convert all of the old NASA/JANNAF Fortran codes to a modern language, it would take something on the order of several billion dollars.

That being said, I use Matlab daily, and avoid Fortran like the plague...

Help with psedu-code to solution of two questions by xxdohxxin matlab

[–]robeaux 0 points1 point ago

As someone who has some French ancestry, I agree with this statement.

How is this done? [xpost from r/pics] by captumluxin photoshop

[–]robeaux 1 point2 points ago

This picture actually wasn't done in photoshop. It was all in the photo shoot, itself. Link to the closest I could get on photographer's website. And here's the front page of his website.

Stumped on an error by fiafia127in matlab

[–]robeaux 4 points5 points ago

Check the source of your error. There will usually be a file name and line number. Likely, your function 'tsp_fuzz' has an error in it.

[TOMT] [website] by illiter-itin tipofmytongue

[–]robeaux 0 points1 point ago

/r/boardgames Hot 10 - What boardgames are we playing? by nolemonpleasein boardgames

[–]robeaux 2 points3 points ago

Red November

Help with the "locker problem" by umdterp595in matlab

[–]robeaux 0 points1 point ago

This i true. I just thought the problem sounded neat, and decided to try it myself =).

Help with the "locker problem" by umdterp595in matlab

[–]robeaux 0 points1 point ago*

Just for fun, here's a slightly faster way to do it using logical indexing.

clear
clc

n = 100;
num_lockers = 100;

lockers = (1 : 100)';
locker_state = zeros(num_lockers, 1);
switch_count = zeros(size(locker_state));

for k = 1 : n

    locker_state(k:k:end) = ~locker_state(k:k:end);
    switch_count(k:k:end) =  switch_count(k:k:end) + 1;

end

max_switches = lockers(switch_count == max(switch_count));
five_switches = lockers(switch_count == 5);

disp('Locker State Switches')
disp([lockers locker_state switch_count])
disp([num2str(sum(locker_state)) ' Open Lockers'])
disp(['The maximum number of switches is ' num2str(max(switch_count))])
disp([num2str(length(max_switches)) ' lockers were switched the maximum number of times, these were:'])
disp(max_switches)
disp([num2str(length(five_switches)) ' lockers were switched five times, these were:'])
disp(five_switches)

EDIT: Didn't read the part about max switches properly.

Binary array to decimal string? by drcrossin matlab

[–]robeaux 0 points1 point ago

If you have the Communication Systems Toolbox, you can just use the command bi2de (why it is here, and not a general command, I have no idea...). More info here: http://www.mathworks.com/help/toolbox/comm/ref/bi2de.html

Otherwise, others have replied with good answers.

I just made Korean dukbokkie (떡볶이) for the first time, can't believe how easy it is! by beartoastin asianeats

[–]robeaux 0 points1 point ago

I'm totally going to have to try that next time... Looks tasty.

I just made Korean dukbokkie (떡볶이) for the first time, can't believe how easy it is! by beartoastin asianeats

[–]robeaux 0 points1 point ago

Same here =). Although, some of Maangchi's music choices in her earlier videos were... interesting.

Love Pandemic? Try Flash Point: Fire Rescue. Hate Pandemic? Try Flash Point: Fire Rescue. by TheCyborganizerin boardgames

[–]robeaux 2 points3 points ago

Flash Point sounds a lot like Red November, except with a little less fantastical of a theme. Also, there is no victory condition except to survive until the end =). But the randomness of the incidents is very similar. Red November is about a band of gnomes in a submarine, basically trying to survive until they get to the surface. But the entire time, mayhem happens in the cabin (and outside). The dangers include flooding, fire, pressure, and of course a Kraken.

Problem with SUMIF/SUMPRODUCT by Fronterrain excel

[–]robeaux 0 points1 point ago

Agree 100% with the SUMIFS. If you don't have Office 2007 or later, though, this will also work.

=SUM(IF(JE!A2=Data!$B$3:$B$3000,IF(JE!B2=Data!$C$3:$C$3000,Data!$D$3:$D$3000)))

It's an array formula, so you'll have to do the ctrl+shift+enter thing.

Ninja Edit: Not doing the entire column will greatly reduce the computational time required for this formula.

I'm a chef and this is my go to meal by [deleted]in food

[–]robeaux 33 points34 points ago

Purple Drank

I want to make a several course meal of tiny food, so my girl friend can feel like a giant, but have run out of ideas. Can you help? by narcolepticnucin Cooking

[–]robeaux 25 points26 points ago

These are King Hawaiian rolls (and are delicious). They're sweeter than standard dinner rolls. You can also get the King Hawaiian bread in a large round loaf, similar in shape to a sourdough loaf.

view more: next