Data Layer Validation with Entity Framework 4.1+

This is a helpful series for when you need to start doing any sort of validations on your entities. I need to dig more into OData and how it integrates nicely with NG and friends using .NET. Personal notes follow.
Continue reading “Data Layer Validation with Entity Framework 4.1+”

Entity Framework 4.1 – DbContext Data Access

Entity Framework 4.1 – DbContext Data Access covers the DbContext object. It is important. The lecture explains why it is important. It might seem abstract if you haven’t touched any of this stuff before. That is OK. You will recall it when you need it.
Personal notes follow.
Continue reading “Entity Framework 4.1 – DbContext Data Access”

Entity Framework 4.1 – Code First

Entity Framework 4.1 – Code First is a good next-step from this. Guessing that all of the courses referenced in the latter are going to be good next steps, so I will watch all of them. My neighbor at work asked me why I’m using PluralSight instead of just reading all of the EF material.
Normally I read all of the literature on a topic, in depth, at least a couple of times. Every time I’ve done that before, there has been a lot of energy and desire surrounding the pursuit. Learning EF though I feel like I am late to the game. That means that people aren’t really excited about sharing their experiences with EF anymore, so I can’t draw from their energy at all regarding EF, and, I want that. That is why I want to use PluralSight here.
Lerman is sharing 3 things here: facts, values and personal preference. That is exactly what you get interacting with your professional peers. For an experienced programmer, this is the sweet spot for learning new things. Yes my peers are totally up for sharing those things, too, just not 10 hours of it! This is where courses like this are valuable.
The fact that Lerman is vouching for EF means a lot, and sharing her values and beliefs about how to do EF is energizing, and that makes it fun. Lerman’s courses on PluralSight provide a very pleasant learning experience in a very short time-span.
My personal notes on EF follow.
Continue reading “Entity Framework 4.1 – Code First”

Getting Started with Entity Framework 5

Julie Lerman’s PluralSight training is as almost as good as her books. Perhaps it is not a fair comparison? She has a great writing style, and her books are a joy to read. You might expect the same experience with her training videos, and that is probably unfair. You are all about fairness, right? Entity Framework is quite mature at this point. For those of us returning to .NET, this video is quite perfect. It covers just enough. If you’ve built systems before, you will get so, so much out of her series.

Hydra, a new Emacs package to fall in love with

A few weeks ago a really nice post appeared. It explained how to use set-transient-map. Is is nice for all the same reasons that all keymaps are nice, and additionally, their transience. The example of managing text size is perfect. Everyone has that in their Emacs config. When we define a goal like “we want to adjust the text size”, we are virtually “in the zone” of performing that task. We just want to hit a couple of keys to make the font bigger or smaller and this approach makes that really easy. That idea, and post, quickly blossomed into a package and many new cool features.

That “zone thinking” is how most modes and features work, whether the authors and the users are conscious of this or not. Hydra makes you very conscious of this. Watch how quickly examples evolved into re-recreating most of what someone needed of ViM. Cool!

The user-interface feature of displaying available commands (while in that “Hydra”) in the mode-line really piques my interest about using Hydras to provide a very “user friendly” suite of features for new users. Granted, after you use the same features a lot your quit using visual helpers, but for new users, this could be really interesting.

This package has all of the earmarks of a game-changer. That is my gut feeling; it will be a major facilitator for expressing all sorts of creative approaches for creative expression in Emacs (or ALEC in my case).

For the last few months I’ve had a thought visit me more than a few times: “What would it take to implement ViM, in Emacs, without taking one peek at evil-mode”. That question was just in the collective conscious I believe. Very, very delightful to see it get answered in this delightful new package, Hydra.

Thank you Oleh!

Narrow your view on multiple-cursor marks

The discussion in the comments of this post is great. It reveals a couple of ways to narrow your view, in a few frameworks. In particular it reveals that in multiple-cursors, all it takes is a call to mc-hide-unmatched-lines-mode.

(mc-hide-unmatched-lines-mode &optional ARG)
Minor mode when enabled hides all lines where no cursors (and
also hum/lines-to-expand below and above) To make use of this
mode press “C-‘” while multiple-cursor-mode is active. You can
still edit lines while you are in mc-hide-unmatched-lines
mode. To leave this mode press or “C-g”

Just be sure to exit this mode before closing Emacs as it is a little confusing to return to nothing.

Easily browsing the kill-ring

Ever wish you could just look through everything you’ve killed recently to find out if you killed that piece of text that you think you killed, but you’re not quite sure?

I haven’t, but kind of wish I did, because this package looks interesting.
Wondering if my workflow obviates the need for it, or, I’m just “doing it wrong”.

Elmacro Shows Keyboard Macros or Latest Interactive Commands As Emacs Lisp

elmacro shows keyboard macros or latest interactive commands as emacs lisp.
This package might pique your curiosity. Surely everyone has wondered how to do something like this, especially if you use the macro recorder a lot.
While I don’t have an immediate need for it, I look forward to being able to address it with this package.