End If


    End Sub
End ClassOne couple. One week. Seven meals.
Who’s the cook at your house? It depends – Lucrezia usually takes the lead in the kitchen with John’s help, but John does all the grilling.
What are your go-to meals? Pasta with tomato sauce, rotini (pasta) with tomatoes and feta – basically quick meals that we can make on a weeknight, with ingredients that we typically have in the house. In the summer, it’s anything on the grill with a summer salad (like watermelon salad with tomatoes and feta).
What’s your ideal meal? Generally it’s something that’s relatively easy/quick to prepare, includes fresh ingredients, and makes good leftovers. We’re always looking for recipes that fit well with our busy schedules.
How has your relationship influenced the way you eat? Lucrezia – Before we moved in together I would often eat a light snack for dinner instead of taking the time to prepare a whole meal for myself. Living with John, I’m much more likely to eat a complete meal for dinner. Also, I eat more meat than I used to; John – I eat more pasta since we’ve been living together.
What are your guilty pleasures? Lucrezia – I have a thing for super sweet kids’ cereals. I try to avoid them as much as possible, but in a moment of weakness I’ve been known to treat myself to some Cinnamon Toast Crunch; John – Pistachios – I can go through a one pound bag in one sitting.
Any food highlights from the week? We tried out a new recipe for sauteed shrimp which was definitely a hit. It was delicious and easy, and will definitely be making a repeat appearance on our dinner table. The recipe is here. Also, we made a visit to our favorite restaurant, Tomasso, a local Italian spot that never disappoints.
You can find more profiles at A week with….the archives. If you’d like to be featured on A Week With…, contact me here.
This entry was posted in A week with... and tagged A week with, John, Lucrezia, Massachusetts on November 12, 2013 by Donata.
How often do you eat together? We eat dinner together almost every night, and we usually eat brunch together on the weekends.
Who’s the cook at your house? Pat is the fried egg & grill expert. Maia takes care of everything else.
What’s your ideal meal? Maia – it definitely involves lots of tasting and sharing, and some good friends. A tapas style spread with warm olives, a couple of good cheeses, some cured meats, grilled flank steak, roasted peppers, an arugula salad and some good crusty French bread would do it; Pat – steak.
How has your relationship influenced the way you eat? Maia – When I was living alone, it wasn’t uncommon for dinner to be made up of a couple of types of cheese, a couple of slices of that crusty baguette I’m obviously craving and a glass of red wine. In the last year and a half, we have had a grand total of one meatless dinner. And Pat limits his intake of refined carbs so the baguette is out too. We eat more meat than I did before, and probably more salads as well. We eat fewer sweets (not counting the ones I sneak in at the office), almost no bread, pastries, rice or potatoes, and almost never go out during the week. But we can blame our puppy for that last one – we hate to leave her alone at night after being at work all day; Pat – I eat significantly better than when I was by myself, and I find myself much more interested in food and trying a wider variety of foods.
What surprised you about each other’s eating habits after you moved in together? Maia – I had no idea that Pat was so disciplined!; Pat – I had no idea that Maia had such strong feelings about bread!
What are your guilty pleasures? Maia – I sneak in most of my “bad” eating at the office. If Pat didn’t see me eat those three Ferrero Rochers, they don’t count, right?; Pat – If I’m stressed, I can eat large quantities of food, and it isn’t always good for me. I can go through half a box of girl scout cookies if it’s a stressful time.
Any dietary restrictions? If so, how does it impact your meals? Maia – Pat avoids all the tasty starches: bread, rice, potatoes, anything with flour in it, etc. We pretty much don’t keep that stuff in the house and substitute with more vegetables, fruit and meat. Full disclosure though – I’ll indulge when we are out; Pat – I agree, Maia is much more moderate than me and does a good job of trying to keep up with my diet. If I’m around it, I’ll eat it and she is pretty considerate about not putting “it” in front of me.
This entry was posted in A week with... and tagged A week with, Cincinnati, couple, Maia, Pat, salad, steak on October 24, 2013 by Donata.
How long? We just (officially) moved in together two months ago!
What surprised you about each other’s eating habits after you moved in together? Ben – Alex never mixes her foods when eating.
What are your guilty pleasures? Alex – chips and raw cookie dough are my weakness; Ben – I love both salty and sweet which makes snacking quite an adventure since I need to satisfy both types of cravings. Oreo cookies and Lucky Charms never get old either.
What’s one thing you can’t agree on? Alex – Ben thinks I’m afraid of salt, and I think he goes overboard with it.
What’s the best meal you ever shared? Both – We loved everything about dinner at Volt Restaurant in Frederick, MD – the presentation, the service, the flavors. We liked it so much that we’ve made it an annual event!
Let’s see what was on their table last week.
This entry was posted in A week with... and tagged Alex, Ben, DC, Lucky Charms, Oreo, pizza, Washington on May 12, 2013 by Donata.<gh_stars>1-10
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */
package org.jsmpp.bean;


/**
 * This is simple DataCoding. Only contains Alphabet (DEFAULT and 8-bit) and
 * Message Class.
 * 
 * @author uudashr
 * 
 */
public class SimpleDataCoding implements DataCoding {
    
    private final Alphabet alphabet;
    private final MessageClass messageClass;

    /**
     * Construct Data Coding using default Alphabet and
     * {@link MessageClass#CLASS1} Message Class.
     */
    public SimpleDataCoding() {
        this(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS1);
    }

    /**
     * Construct Data Coding using specified Alphabet and Message Class.
     *  
     * @param alphabet is the alphabet. Only support
     *        {@link Alphabet#ALPHA_DEFAULT} and {@link Alphabet#ALPHA_8_BIT}.
     * @param messageClass
     * @throws IllegalArgumentException if alphabet is <tt>null</tt> or using
     *         non {@link Alphabet#ALPHA_DEFAULT} and
     *         {@link Alphabet#ALPHA_8_BIT} alphabet or
     *         <code>messageClass</code> is null.
     */
    public SimpleDataCoding(Alphabet alphabet, MessageClass messageClass) throws IllegalArgumentException {
        if (alphabet == null) {
            throw new IllegalArgumentException(
                    "Alphabet is mandatory, can't be null");
        }
        if (alphabet.equals(Alphabet.ALPHA_UCS2)
                || alphabet.isReserved()) {
            throw new IllegalArgumentException(
                    "Supported alphabet for SimpleDataCoding does not include "
                            + Alphabet.ALPHA_UCS2 + " or "
                            + "reserved alphabet codes. Current alphabet is " + alphabet);
        }
        if (messageClass == null) {
            throw new IllegalArgumentException(
                    "MessageClass is mandatory, can't be null");
        }
        this.alphabet = alphabet;
        this.messageClass = messageClass;
    }
    
    public Alphabet getAlphabet() {
        return alphabet;
    }
    
    public MessageClass getMessageClass() {
        return messageClass;
    }
    
    public byte toByte() {
        // base byte is 11110xxx or 0xf0, others