På Nansen tror vi starkt på kompetensutveckling för att vara kompetitiva, med bland annat konferenser och kurser. Ett sätt att få det på papper är certifieringar. Idag fick vi ytterligare två nya MCPD certifierade utvecklare på Nansen. Robert Linde och Kalle Hoppe. Nu är vi 9 MCPD och 1 Azure certifierade utvecklare. Det tar oss några steg närmare målet, att alla .NET utvecklare ska nå MCPD certifieringsnivå.
Friday, November 25, 2011
Wednesday, November 23, 2011
Radiotjänst.se äntligen lanserad på riktigt
Så då kan vi äntligen säga att nya radiotjänst.se är lanserad på riktigt.
jQuery 1.7 disabled selector update
I just reacently uppdated the current project to jQuery 1.7. The main reason for this was to get rid of the "event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future." error, but when running my Jasmine tests I encountered one small but important difference in the new versions way of using selectors with the disabled keyword.
Up to jQuery version 1.6.4 you could write a selector to get all elements that where not disabled like this:
$('#someId input[disabled=false]')
That selector would return a list of all input elements that where not disabled. If you do the same in jQuery version 1.7 you will get an empty array as a result. This corresponds more with how the HTML spec is defined the keyword ether is there or not, it has no other values attached to it. Many browsers have, and still support the erroneous syntax of disabled="disabled" or some times disabled="true".
Another way of doing the same selection, one that is more correct and works in both older and the new 1.7 version is:
$('#someId input:not(disabled)')
This is the preffered and correct way of doing the selection if you still want to get all the elements that are not disabled.
Tuesday, November 22, 2011
EPiMail user synchronization
Today I had some problems with synchronization of users from standard sqlmembership provider to the EPiMail user database.
EPiMail has its own tables with users and roles, and when you make a request to your site it synchronizes the user and its current roles to the EPiMail user database.
When I added new roles for my user today I noticed that the user roles wasn’t synchronized to the EPiMail database. After reading the documentation (reflection) I noticed that each time a synchronize is done, EPiMail saves a cookie that says that the user is synchronized. As long as the cookie is there it will not synchronize the user again. After deleting the cookie the users roles where updated. A good thing to know if you wonder why your user changes doesnt replicate to the EPiMail database.
Thursday, November 17, 2011
Windows context menu keyboard shortcut
There are loads of keyboard shortcuts for both windows and visual studio. Knowing them can give you some speed. For some time I’ve had an itch about not being able to bring up the context menu in windws, and today I finally got and found it. It’s not the most obvious or user friendly, it’s Shift + F10. Here is a link for all current windows shortcuts http://support.microsoft.com/kb/126449
Wednesday, November 16, 2011
ScriptResource.axd 404
From time to time in different projects you can still get an error when the .NET AJAX framework fails to load it's script files, it can look something like this:
http://mySite.localhost/Page-missing/?404;http://mySite.localhost:80/ScriptResource.axd?d=cX-HxJNNFFwiICal1e9E3Fltyiuue3KJiBAKoFQ2em7CnJSOyiZ3kqEwPAe3s3jFu-pwCNTI4A-GcF4jKuNyshBul05bL4FvWIGJwsE2JnB5FrGfSImgZUrdemyV5ODBNtHvYiUtxb1ZSZunFsb8UDs8Y4Mdu_fdnhJw6VNkv1oIqasV0&t=5c2f384e 404 (Not Found)
Uncaught Error: ASP.NET Ajax client-side framework failed to load.
If you are, then you are probably missing a handler setting in your web.config file
It should look like this in IIS7 (and above)
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode" />
The ScriptResource.axd is used by the Microsoft .NET AJAX framework to render helper scripts for it's UpdatePanel controls.
Wednesday, November 9, 2011
Innebandyn går som på räls
Skeppsbron Penguins 10 8 1 1 73 - 41 25
Vinprovningsgruppen 10 7 2 1 82 - 47 23
---------------------------------------------------------
Team Isotop Team 7 4 1 2 43 - 36 13
Concrete IT 8 3 1 4 52 - 44 10
Grant Thorton Athletics 6 2 0 4 11 - 23 6
---------------------------------------------------------
Babyland 8 1 0 7 38 - 68 3
KBG 7 0 1 6 26 - 66 1

Friday, November 4, 2011
Just nu i huvudet på gränssnittsprogrammeraren
Sitter och arbetar med gränssnittet för en stor svensk morgontidning och jag känner mig jublande glad över att det numera är fritt fram att omsluta block element med en a-tagg. Detta om man använder html5 doctypen så klart.
Förstår inte alls kritiken jag hört mot detta, att det skulle vara ful kod. Jag tycker det känns hur användbart och snyggt som helst! Tänk startsida på valfri webbplats, ofta finns det så kallade puffar som ska fungera som genvägar djupare in i flödet för användaren. Dessa puffar innehåller vanligtvis en bild, en rubrik, en ingress och kanske en läs mer länk. Art Directorn och Interaktions Designer är rörande överens om att hela rasket ska vara klickbart. Då är det knappast snyggare kod att ha fyra separata a-taggar, (en per html element). Det känns inte heller klockrent att omsluta dem med en div och sen sätta ett click event med Javascript på den diven (imo).
Nej hurra för att man får omsluta block element med en a-tagg säger jag, tack för mig!
Ledningskonferensa sig lite
Strategi |
Tidsstyrning |
Kunskapsöverföring |
Eldsjälar |
Noggrannhet |
Alla ska med! |
Överblick |
Ärlighet |
Agilitet, rörlighet, flexibelitet |
Mobilitet |