Category: Life

Every other post.

  • Vegan Cinnamon Roll Tortillas

    Vegan Cinnamon Roll Tortillas

    IMG_20130629_113933Vegan Cinnamon Roll Tortillas

    Makes 4 portions. About 250 calories per portion.

    Tortilla shell ingredients

    • 3/4 Cup + 2 Tbsp Flour
    • 1 Tsp Baking Powder
    • Dash Salt
    • 1/4 Cup Hot Water
    • 2 Tbsp Vegan Butter (eg. Earth Balance)

    Filling ingredients

    • 1/4 Cup Sugar
    • 2 Tsp Cinnamon
    • 2 Tsp Vegan Butter

    Instructions

    1. Mix the flour, baking powder, salt together in a bowl.
    2. Add in the butter, and mix it in until it forms coarse crumbs.
    3. Make a well in the center and add in the hot water.
    4. Knead the dough until a smooth ball is formed; about 3 minutes.
    5. Cover the bowl and let rest for 15 minutes.
    6. Turn on the oven, set it to 350 F.
    7. Cut the ball of dough into 4 equal parts.
    8. Roll out the dough to make tortilla shells. Or use a tortilla shell press. I have no idea why I have one of these, but hey.
    9. Spread butter over the surface of the tortillas.
    10. Mix the cinnamon and sugar together. Sprinkle on the surface of the tortillas.
    11. Roll up the tortillas, and bake in the oven for 12 minutes.
    12. Pull out, let cool, and enjoy!

    Verdict

    Not half bad. I plagiarized the idea of tortilla cinnamon rolls from my last trip to Mucho Burrito. The recipe for the tortilla shells came from here, though I didn’t follow through the final step of putting the shells on a skillet. The texture after they were baked was pretty similar, however.

    They’re not as savoury as real cinnamon rolls, the doughnuts I make, or pies… but they’re still pleasant.

  • My Ideal Visual Programming Environment, Part Two

    My Ideal Visual Programming Environment, Part Two

    Introduction

    So I’ve been mulling the idea for creating a visual programming environment for quite some time. I’m a firm believer that creating simple applications should be no more complicated than getting a handle on Excel or Access. That you could really reduce wasted time if there was an ability for individuals to automate.

    This continues and mildly revises my previous post on the subject.

    GUI Driven Development

    Graphical User Interfaces (GUIs) encapsulate in a very quick and approachable way the basic gist of what your program does. More or less unless there’s a button for it, your application won’t do it.

    I argue that in this visual programming environment, the GUI would be what you put together first. And that the complexity of putting it together, as a baseline, should be no more than that of putting mockups together with tools such as Balsamiq, pictured below.

    Balsamiq GUI Mockup

    And then it would be from that that your program logic would be dictated. Kind of something like pictured below.

    interface

    I think it’s important to keep in mind that when people who aren’t that familiar with programming visualize programs, what they’re thinking of isn’t the logic behind the scene that will make it happen. They think of how it will look. How it will behave emanates from that.

    I think that that pattern of thinking should be reflected in the environment they use.

    Maintaining Relevancy

    Keeping on the theme of GUI Driven Development would be to let users create the interfaces that are in keeping with the software they actually use. That means allowing for some of the design patterns we see in mobile apps – flicking panes, for instance – in addition to the standard repository of widgets.

    You want people to be able to create applications that look like the “real” software they use. None of this standard input/output on the command-line. The command-line interface is extremely valuable, but it’s also not what the target audience for this programming environment would want to put together.

    Code as a First Class Citizen

    After having seen someone use visual programming to carry a rather big project into production, it became clear that using visual elements to dictate program logic was at times really unwieldy.

    There was a few problems. One, the issue of clutter. Big programs became a wire diagram so complicated that reading and interpreting the code would have been easier to understand.

    That can solved by grouping blocks into hierarchies and traversing them through these hierarchies using an infinite canvas, ideas I spoke of in my previous post. But I think also by really supporting the inclusion of code. I had also mentioned the support for integrating code before as well, and had drawn up this kind of concept:

    flowchart7

    I think what has changed is the idea that this ought to be a first class citizen in this programming environment, such that it wouldn’t be an impairment as compared to dictating logic using visual block elements. That means really reducing the boiler plate involved in the example provided by the picture above, as well.

    Forgetting Performance

    I had spoken of parallelism in the previous post. I think concurrency is inherent to a visual programming environment like this, parallelism less so. And I think I would drop some concepts I had the last time, like explicitly passing arrays from block to block.

    This model for the construction of software would likely yield worse performance than any other solution out there. That’s okay, because unless you’re talking about processing data, that hit isn’t usually noticeable to a user. Furthermore, the end goal is to create a means of developing software that is easy to use. And in that context, performance isn’t the prime consideration.

    Collaboration

    In the previous post I talked about integrating code revisioning into the programming environment. Such that you could, with the aid of a slider, view how code changed over each of a branch’s revisions. Then you could create a new branch from any one point.

    But I also think that a page should be taken out of the likes of GitHub in terms of how to collaborate with code. I would introduce the ability to graphically annotate blocks for code reviews, and enable discussions.

    comment

    Conclusion

    Writing the back-end to make this all happen is quite straight forward. I can put together an interpreter and debugger rather quickly. What’s really challenging is actually creating the user interface: the front-end.

    There’s nothing out there that seems like a good match for what I’m trying to achieve. I’ve been playing around with QtQuick, which is great for presenting items and handling user interaction. However, it’s not designed to cope with custom shapes like those I’d need to generate a dynamic flow chart.

    So what I’m looking at now is something like jsPlumb to implement the flowchart with a WebKit-powered HTML5 front-end. The back-end would then handle compiling the code, and the two would talk to each other using web sockets. I want to ditch all the ideas like an infinite canvas to get the idea at its most basic running – and then I’ll worry about growing the project from there.

  • Ten years of Marriage Equality

    Ten years of Marriage Equality

    On June 10th 2003, the first legal same-sex marriage was performed in Ontario. Two years later, it would be legal across the country.

    It was an important milestone as it very visibly undermined one of the many ways that queers were being othered. But if you were to listen to the discussion around queer issues today, and around this ten year mark in particular, you’d swear that everything is now peachy Canada. If you listen to the political parties, if you listen to various gay organizations even, what they’re talking about are marriage and discrimination abroad. The home front is seen as a done deal.

    Granted, there is some talk about issues over here – but that talk only finds a supportive note if it’s around the only form of queerdom that’s attained social acceptability: same-sex attraction. So that’s what the media attention revolves around: incidences of rural homophobia, bullying, and suicides of gay youth.

    These issues absolutely merit attention, and are not isolated incidents but reflective of entrenched prejudices that are so normalized as to become invisible. My beef isn’t that there is coverage of these issues, it’s that all other narratives – queer narratives – are denied space.

    But that’s how marginalization works. For other issues to be perceived as legitimate, the people themselves have to be seen as legitimate – and that’s not the case in Canada.

    Take the plight of trans folks. In the last Ontario election, a major political party was able to distribute vitriolic literature that called this segment of the population a threat to children. In federal politics a few months ago, MPs were saying that trans women existed to prey on women.

    This is not the exception. This is the norm. The environment we have is toxic. Street harassment is extremely common. Suicide and homelessness rates for trans folk are far higher than gay folk, bashings are too common, but you’ll almost never hear about any of that. Meanwhile even protections on gender expression are thought to be so out there that MPs removed it from an anti-discrimination bill.

    Our society only thinks it’s tolerant because it views the perspective of everyone it doesn’t tolerate as illegitimate. We are far from accepting.

    And I guess I’m most bothered that events on “LGBT rights” that are more or less just occasions to have people say how things are nice now for the average urban white cis-gendered middle-class working-age able-bodied gay person. There’s no recognition of how dismal things are for other queers – even other gays.

    Where do you hear about how retirement homes can be so bad that gay seniors have to go back in the closet? Where is the solidarity with Ontario students in Catholic schools, which distribute bigoted literature calling them intrinsically disordered? Where is the anger that sex education in Ontario is being silenced because it’s daring to acknowledge the existence of non-heterosexuals? It’s the perfect venue to talk about it, but no one does.

    And I think it’s because lots of gay folk, in particular those middle-class urban gays who have come to occupy the rights discourse, believe in the same system of oppression that once viewed their existence as a problem. They’re the type that think Pride would be better if there weren’t those icky leather men there, the type that view poly families with contempt, the type that view gender non-conforming individuals with disgust.

    Meanwhile, they’ve eviscerated the agents of change that created the space they now inhabit. Pride in the major cities is more or less just a commercial event now, with decisions made to remove any political element as its objectionable. Because affirming your own self in a world that seeks to police you from existence is objectionable.

    Ten years. Lots has changed. More hasn’t.

  • Taking out the Earphones

    Taking out the Earphones

    So I’ve talked before about little changes that helped improve my quality of life. Like no longer wearing a watch and not depending on an alarm clock to wake up (though university time demands no longer make that latter one possible.)

    There’s another ‘lifehack’ I’d like to add to the mix: unplugging. When I’m spending all that time transiting each day, I make a conscious effort to avoid engaging in distractions. Whether that’s reading, listening to podcasts, watching videos on my phone, etc.

    I’ll just turn it all off. Instead, I’ll look out the window. And I’ll think. Or I won’t. That’s good too. But I find some time to just let my mind breathe.

    My days are already otherwise consumed between shifting between different states of distraction. It’s good, I find, just to be free of that – if only for a bus ride.

  • Vegan Cheesecake Cookies

    Vegan Cheesecake Cookies

    So the other day, I was doodling on a piece of paper this idea for a dessert I had. It was going to be a miniature cheesecake on a shortbread cookie base. I went at it, and after a few attempts, I’ve finally got a recipe!

    Vegan Cheesecake Cookies

    Makes six large cookies. About 450 calories per cookie.

    Shortbread Cookie Base

    • 1/2 Cup Cornstarch
    • 1/2 Cup Icing Sugar
    • 1 Cup Flour
    • 3/4 Cup Vegan Butter (eg. Earth Balance)
    1. Set the oven to 300F.
    2. Mix the dry ingredients together.
    3. Add in the softened butter until a dough forms.
    4. Roll out a sheet of wax paper and place on working surface.
    5. Take out a big ball of dough and place on the wax sheet. Then lay a second sheet of wax paper on top of the dough.
    6. Roll over the dough and sheets with a rolling pin. You want the dough to be a centimeter thick.
    7. Cut out the dough in a circle (you can use an upside down glass), and place on cookie sheet.
    8. Put another ball of dough on the wax paper. Lay the second sheet of wax paper on top, and roll over it again – just like before. Also just like before, you want it to be a centimeter thick, and you want to cut out the cookie shape.
    9. With this second cookie, you’re going to cut out a smaller circle in its center. So now you have two circles. Take the outer one, and lay it on top of your cookie on the baking sheet – making a rim for the “crust”.
    10. Repeat steps 5 to 9 until no more dough remains.
    11. Bake for ten minutes. Prepare the topping during this baking time.

    Cheesecake Topping

    • 1/2 Container Vegan Cream Cheese (eg. Tofutti)
    • 3 Tbsp Sugar
    • 2 Tbsp Water
    • 1 Tsp Vanilla
    • Pinch Salt
    1. Set the oven to 350F.
    2. Use a mixer or whatnot to blend cream cheese until softened.
    3. Add in sugar, vanilla, salt, and water.
    4. Blend thoroughly.
    5. Pour with a spoon in the center of the cookies.
    6. Bake for 30 minutes, until topping becomes golden brown.
    7. Let cool. Then refrigerate if they aren’t going to be served immediately.

    Garnish

    • Vegan Whipping Cream (eg. Soy Whip)
    1. Once the cookies are cool, add the whipping cream.

    My Thoughts

    I did half the quantity of topping, and it was still tons! I think next time I might even go for half that. But otherwise, this was a real success. I kind of wish there was a greater filling to cookie ratio, but I’m not too sure how I’d go pulling that off without having it crumble under its own weight or be unwieldy. Nevertheless – delicious.