Categories
Geek food General

Great, yet frustrating…

[Update: All the links were broken… they’re fixed now.]


I saw a link to a flash “page/site” by Microsoft around their new slogan “Your Potential. Our passion“…. (Via Alex Barnett‘s blog entry “Microsoft Does Flash RIGHT!” – he got it from Flex-MX blog)


Its a really cool flash “ad”, and shows a lot of the technologies that I’d really love to have the cash to play with.  But its also frustrating in two ways:



  1. It takes forever to download each flash file – I’d love to save them to my hard drive, but my brief attempts at finding the SWF to download turned up pretty empty.
  2. I now KNOW that soon some rich yuppie near me with no real appreciation for the technologies will buy a Tablet PC, only to 1/2 use its potential but still WOW’ing people with their supposed “technological knowledge/abilities”… Ok, so I’ll admit it…. I’ll be 100% jealous… I’d LOVE to get my hands on one of them, I just KNOW it would help out my wife at her work, and me with my attempts at starting my own business some time in the future. (if anyone out there is feeling really generous and has a good few thousand rand to spare, feel free to buy me one :D)

 

Categories
Geek food General

Pet Peeve…

Look, I love the fact that we do get some of these over here… but really… I just saw a link to where you can order the VS 2005 Beta and Express Edition Product Betas on CD. (via LarkWare New’s entry “The Daily Grind 413“)

So I quickly click on it only to find that in the list of 96 countries, South Africa is not listed. 

Sometimes I don’t get the logic…  The USA can order or download (and they have the bandwidth to do it), but SA can’t order, and the downloads aren’t that viable an option either.  So the score is USA 2, SA 0.  Lovely. ๐Ÿ™

Is there anyone in SA who has downloaded them and is prepared to write them to CD? ๐Ÿ˜‰

Categories
Geek food General Internet/Links

GMail

And we break our regular transmissions to bring you this news:


I got an invite to GMail a week ago, and I now have 4 invitations to give away.  Anyone interested?  Leave me a comment on the blog.


So far I must say that I’m VERY impressed with it… its not like any other web mail that I’ve seen.  Its very fast, highly user friendly, and quite a nice way to handle e-mails.


[Update: All the invites are now gone… I’ll post more as I get more (if i get more?)]

Categories
.Net Stuff Development Geek food

Portals

Well, I’ve been busy over the past few days playing with DotNetNuke.  I downloaded v2.0.4 on Friday, installed it on my work pc, spent about 30 minutes copying and pasting stuff from my company’s website into DNN and wowed my boss with what it could do.  On Monday they released v2.1.1, so I got that down and installed it on my website.

Now I just need to learn how to make a custom component(desktop module), and how to skin it.  I HATE “making pretty”.  Ok, maybe HATE is a strong word… My graphical abilities are definately not my strongest skill, and for me to spend 5 hours making something that a more skilled person could do better in 5 minutes seems pointless.  I know there are some sites out there with “premade” skins, and skins for sale… I went to one last night (DNNSkins) but that’s not only running DNN v1.0.10, but it also seemed to have no skins in its store. (its like its database is blank)… I tried looking at SnowCovered, but its UI kinda sucks, so I haven’t really found much.  DIYWebsite (which seems to be an alternative front for Salaro) has a much nicer UI – you actually get to see samples of the site quite quickly so instead of choosing between 5 descriptions, you can choose between 5 looks.  I’d love to use TemplateMonster (cool UI and plenty of skins), but they don’t do DNN templates. ๐Ÿ™

Anyway, I’m gonna keep on looking for sites with cool skins – if anyone knows of any, let me know.

Categories
Geek food Internet/Links

Syntax Highlighting…

Just a quicky – check out squishySyntaxHighlighter – a syntax highlighter for .Net code, written in .Net.  It produces HTML formatted code that’s nicely colorized. (found via Matt Hawley’s blog)

Very cool – next time I post an article to SADeveloper.Net I’ll use this for my code formatting. (assuming they haven’t implemented it since my last submission)

Categories
.Net Stuff Geek food

DevDays 2004

Well, the day was definately more detailed (higher tech level – 200-300) than last year’s dev days which was great.  But unfortunately most of what was covered would really suite a small ISV, and not necessarily work in the environment I work in.  (Not that my environment is out of the ordinary.)  At work, we’re building a large framework for the rest of our developers to use so we don’t really use many of the automated/built in data access wonders of VS.Net.


So let me run through what I got out of the sessions (hrm, I was going to insert a table here, but BlogJet doesn’t have any GUI way to do that, so I’ll have to do it manually):


Opening Keynote: Realizing Your Potential
What I learned for me: Even Microsoft can have hardware problems, so you’d better make sure that you check your presentations and equipment well before you get up to present, run through what the procedure is if something goes wrong, and keep communicating – have a back up plan so that you don’t look quite so stumped, and can gracefully recover without saying “Its a hardware problem” and cutting the talk short.
What I learned for my company: (same as above)


Session 1: Best Practices for Designing and Building Smart Client Applications
What I learned for me: I’d better start reading some of those pattern’s and practices that I keep promising myself to read. They could really help me if I’m doing development myself for “freelance” work.
What I learned for my company: Not much – we use similar things to the “Observer” & “Command” patterns, but they do a lot more in some places and lack a little bit of the functionality in others. Perhaps we could implement the “Command” pattern a bit better… But then I must say that we’ve done all that without reading or knowing about the patterns. (We have a clever guy here that did that work)


Session 2: The Ins and Outs of Secure Data Access
What I learned for me: I need to get me some of that… ๐Ÿ™‚  Specifically the DPAPI library.
What I learned for my company: I think this could be useful as we’re serializing (scuze the american spelling, but most developers would look confused if they saw the UK spelling) some objects, which contain connection strings… Of course they didn’t touch on areas of security that we really need, but then I guess if DevDays was to solve every company’s most difficult problems, then they’d be way better attended, would cost an arm and a few legs, and would just generally be entirely impossible to host.


Session 3: Developing Secure Smart Client Applications
What I learned for me: I can’t really remember this session too well.  I think Ahmed took it, but I’m a bit stumped as to what he spoke on. (I’ll update this later when I remember)
What I learned for my company: (see above)


Session 4: Deploying and Maintaining Smart Client Applications
What I learned for me: Very cool, and definately a must – I loved the Application Updater component, and was pleased to have the limitations and benefits of the various “code download” deployment methods re-iterated.
What I learned for my company: Some of the Application Updater stuff maybe could be useful, but other than that… nothing.


Closing Keynote: The Future of Microsoft Development Tools
What I learned for me: Oh boy, oh boy do I love Microsoft’s new tools… of course it does leave me wondering how long it will be before trained monkeys will take over our jobs. I think I should go start my own company doing .Net development on Whidbey as soon as it comes out, so that I can get a head start on the rest of the masses. ๐Ÿ™‚
What I learned for my company: WOW, geez.  So much that will help us, and so much that will just replace a lot of the work we’ve done already.


Overall it was a great day – I got on a Caffeine buzz way too early for any “sane” persion, loved the presentations, can’t wait for the tools coming down the track next year.


And best of all, I got to actually meet one or two of the bloggers… Armand (who probably thinks I’m really rude – I kinda didn’t hear what he was saying to me as I was leaving (in a rush)… so till I see you in person, please accept this apology for my rudeness), Kevin (who I didn’t exactly meet, but who I watched winning too many prizes during the day, and sat on the other end of the table from him at the Blueberry Grill), Simon (who seems to organise most of the SA Developer things, and seems to be one of the “well connected” developers in SA), Thea, Iwan, and a few others who I can’t remember off hand. (Either coz I didn’t link them easily to their blog, or coz I haven’t read too many SA Dev posts from them (maybe coz I haven’t read too many posts on SA Dev recently), or because I simply forgot)


Anyway, it was a cool day on the whole… and for those who are interested, Simon posted this morning to where you can download IssueVision (the app that they worked through in the Smart Client Track, which has some pretty cool components)


I just checked, and the link Simon gave takes you to Barry Gervin’s blog where he says you can download the actual file from Microsoft over here.

Categories
Geek food

A Geek’s valentines card

What with my wedding only 4 more sleeps away, I’ve not posted yet this week… but I couldn’t resist posting this SQL code… Open up Query Analyser, copy and paste this code into it, press CTRL+T (to make the output show in Text mode (as opposed to Grid/File), and run the query…

Taken from Suresh’s blog posting “Love vs SQL” – he’s a Microsoft MVP in India.

/*
Author: Steve Kass, Drew University
Hosted by: http://vyaskn.tripod.com
Script works on SQL Server 7.0 and 2000
*/
USE tempdb
GO
SET NOCOUNT ON
CREATE TABLE [seqA1740E61-1E21-11D6-B831-E02C0D466A26] (nbr int IDENTITY)
DECLARE @i int
SET @i = 0
WHILE @i < 25
BEGIN
 INSERT INTO [seqA1740E61-1E21-11D6-B831-E02C0D466A26] DEFAULT VALUES
 SET @i = @i + 1
END
DECLARE @heart binary(264)
SET @heart =
  0x010b0e12220b0108100e25
+ 0x080105120a280501031406
+ 0x2a03010215042b02010116
+ 0x022c010100160201000100
+ 0x1602010001000100010001
+ 0x0001000100010101002c01
+ 0x010201002b020104010029
+ 0x0401060100270601080100
+ 0x2508010a0100230a010c01
+ 0x00210c010e01001f0e0110
+ 0x01001d10011201001b1201
+ 0x1401001914011601001716

SELECT
  STUFF(STUFF(STUFF(
      R,A/256,A%256,SPACE(A%256)),
        B/256,B%256,SPACE(B%256)),
        C/256,C%256,SPACE(C%256))
AS N’I love you/Eu te amo/Ti amo/Je t”aime/Ya vas lyublyu/Ich liebe Dich!!!’
FROM (
  SELECT Nbr AS L, SUBSTRING(S,Nbr,2*L) AS R FROM (
    SELECT
      LEN(S+’*’) AS L,
      REPLICATE(S+’*’,4) AS S
    FROM (
      SELECT ‘Happy-Valentine”s-Day’ AS S
    ) X
  ) V CROSS JOIN [seqA1740E61-1E21-11D6-B831-E02C0D466A26]
  WHERE Nbr BETWEEN 1 AND L
) W JOIN (
  SELECT
    Nbr,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-5,2)) AS A,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-3,2)) AS B,
    CONVERT(int,SUBSTRING(@heart,6*Nbr-1,2)) AS C
  FROM [seqA1740E61-1E21-11D6-B831-E02C0D466A26]
  WHERE Nbr BETWEEN 1 AND 24
) X
ON L = Nbr
GO
DROP TABLE [seqA1740E61-1E21-11D6-B831-E02C0D466A26]

Categories
Geek food

Sad news

I just found out that Webmonkey has had its plug pulled.  Check out the Wired News articleWebmonkey is how I learned JavaScript, Frames, bits of CSS, XML, and HTML.  I read its PHP, ASP, and Photoshop tutorials, and I passed on the links to many friends between 1997 and 2003. (while I was in varsity, and afterwards while I was in web development)

They were the coolest site, and really saved my butt (and the butt’s of other’s) a few times when we were expected to quickly learn a “new technology” or try out something that we’d not done before.

Reading the people’s comments in the Wired article, I can agree.  I LOVED the frames tutorial(!!), and I’ll miss Webmonkey.

R.I.P.

Categories
Geek food

Of joyfull installations, and time wasted

Yesterday I wasted time at work trying to install a product.  I installed over the old version (took about 40 minutes), but then found conflicts, so I uninstalled both versions (about 30 minutes each), then I re-installed the new version (40 minutes again).  Only, I then realised that it had left a whole bunch of files behind in the GAC (Global Assembly Cache – for the non .Net people), and in the “Program FilesCommon Files” folder… which proceeded to cause more hassles… so I uninstalled the new version again (another 30 minutes), and manually removed everything that was left (45 mins – the GAC can be a very unfriendly beast at times), and re-installed the new version (yet another 40 minutes)

Now contrast that with the install of DotNetNuke.  You simply copy the files into your web folder, point it to your database, and start using it.  It picks up for itself that you’ve not installed it before, and does all that it needs to do without asking you anything. (including setting up the database)  So a copy, a text change, and an e-mail later it was up and working.  Now I just need to make the portal look nice, find the .Text module for it, and a nice image gallery module, and I’ll be ready to have my entire site managed by it. (Including a secure section where people from my home cell could go to get the latest cell contact list)  I’ll even be able to put up an event’s calendar for cell, and one for my personal stuff. And lots more… ๐Ÿ™‚

Categories
.Net Stuff Development Geek food Humour

Code access security…

Jim Blizzard makes some interesting comments about code access security in .Net relating it to the “superbowl half time event ‘scandal'” where Justin Timberlake & Janet Jackson did a duet, but part way through the event Janet’s topย “malfunctioned” (i.e. thats aparently how she described it… but in every day terms her top “fell” off)

Anyway, Jim was making a comment on how in life when people want to do something wrong, they’re not going to ask permission before they do it.ย  In the same way, in computers a malicious program isn’t going to ask you if it can please erase your entire hard drive before it does it.ย  But with the .Net framework’s code access security, the programs are only allowed to do what they’re explicitly given permissions to do.ย  So you don’t have to worry (unless you give all code full trust on your machine)

Check out his blog entryย “Breasts and code access security…” for more info.