Profile

Cover photo
Lauri Kotilainen
136 followers|293,679 views
AboutPostsPhotosVideos

Stream

Lauri Kotilainen

Shared publicly  - 
 
This is relevant to my interests.
1
Add a comment...

Lauri Kotilainen

Discussion / Questions  - 
 
I'm looking for a way to control the scope of assemblies loaded into a #powershell  session -- something along the lines of firing up a new AppDomain that would inherit everything from its parent, but everything I load there would be discarded when I close it.

I thought runspaces might be the thing, but based on initial experimentation, I can open up a new runspace from a console session and have it load assemblies for me. What it doesn't do, however, is get rid of the assemblies when I close it, so I guess it's not in a separate AppDomain after all.

The reason I'm doing this is that I'm working on a module that downloads .NET libraries using NuGet and then imports them to the current session -- the idea being that sometimes it would be nice to try out the features of some library or another, but downloading and importing it to the session are somewhat tedious. Pointers would be most welcome.
1
Hal Rottenberg's profile photoLauri Kotilainen's profile photo
2 comments
 
Strictly speaking, I can make do without it; there's nothing that says I have to unload the assemblies -- but it would be nice to have.
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
Cool!
1
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
 
"I would imagine that most British gamers my age would be considered "software pirates". We might not do it now, but we almost certainly will have done it in the past. When I had a Commodore 64, most of my games were compilations on c-60 tapes, and we swapped those things in playgrounds. At birthdays and Christmas, sure, we'd get some actual games bought for us. And we'd save up our pocket money for Mastertronic stuff. But every other day? When we were skinto? We taped and copied and shared those games. We shared them and loved them. Software companies closed down and many of them blamed us.

"The Amiga was the same. We all had our own X-Copy disks, right? Watching those little 0s fill up, praying for no errors, as some brilliant game slid illegally onto our blank disk. Trips down to the local market to choose games from a big file folder, which would then be copied for us on the spot. Not a penny to the magicians who made those games. It was just what we did. We wanted games. We wanted all the games, and only Elton John could possibly afford to buy all the games, so we did what we had to do. We did what came naturally to us as human beings. And software companies closed down, with many of them blaming us."
1
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
Ei huono idea, ei lainkaan.
 
S-ryhmä on K-ketjun tavoin merkittävä tekijä kaavoituksen korruptiossa, mikä mm. nostaa ruoan hintoja. Lupaan siksi julkaista jokaisen käsiini saamani asiakirjan ja tiedon, jonka salaamiselle ei ole vedenpitäviä perusteita.
 ·  Translate
1
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
Code: the gift that keeps on giving. This time, in our series of WTFs, we meet a piece of code that exists to facilitate concurrent access to a resource. Ironically, although not very surprisingly, there are at least three obvious, glaring concurrency bugs in the implementation.
1
Lauri Kotilainen's profile photo
 
"computational demonology adds a new and unwelcome meaning to terms like “memory leak” and “debugger.”"
Add a comment...
 
I was really enthusiastic about Azure Media Services. I still am, but it's a bit dampened by complete lack of access management features. :(

While the Blobs that make up your media stream can be accessed with SAS URLs, streams can only be accessed with Locators, and the upper bound for Locators is ... 5! In practice, this means that the only viable access management option is, for now, PlayReady... 

... that, or set up a VM that hosts IIS Media Services and bolt your own access management on top of it. Bummer.
I've been reading up on Locators in Media Services, and I was sort of surprised that there was an upper limit on the number of Locators -- a rather small one, at that. I expected that I'd be able to d...
1
Add a comment...
 
I've recently completed a project on Azure, and wrote down some of the stuff I learned about using Windows Azure Active Directory for identity management. Intending to cover a bunch of stuff on Media Services next. :)
I have written (and expect to write in the future) on topics that don't comfortably fit in a single post. This page contains summaries of those topics with links to the posts. Identity Management wit...
2
Ryan Hayes's profile photo
 
Awesome!  I've been wanting to start looking into AD but haven't had a chance yet so this'll definitely help me out.
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
Uusi yritys toteuttaa crowdfundingia Suomessa. Toteutuminen on enää parista sadasta kiinni.
 ·  Translate
1
Tuukka Uskali's profile photo
 
Ja verottajan asiantuntemuksesta. Hienoa! 
 ·  Translate
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
 
Varjokampanja Tavallisia.fi -sivustolle!

Päätöksenteossa aika pienet asiat ja teot riittävät ihmeen pitkälle - jos niitä vain halutaan tehdä.
 ·  Translate
Ihan tavallisia päätöksiä nuorten syrjäytymisestä- jos niitä halutaan tehdä.
1
Add a comment...

Lauri Kotilainen

Shared publicly  - 
 
Better act fast...
[UPDATE 2/22/2012] It is important to note that disabling Web History in your Google account will not prevent Google from gathering and storing this information and using it for internal purposes. Mor...
1
Add a comment...
Story
Introduction
Husband to a lovely wife, provider for two silly cats, co-founder of Offbeat Solutions.
Links
Contributor to
Basic Information
Gender
Male