Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Mat Fergusson

@Mat Fergusson
About
Posts
28
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Ikea, why do it
    M Mat Fergusson

    That's what she said

    The Lounge tools question

  • There is supposed to be a Microsoft event today about Windows 9....
    M Mat Fergusson

    Its definitely not going to be broadcast. There's about 50 journalists been invited to see it. Best bet is to find out who they are and keep an eye on what they tweet/publish shortly after the event.

    The Lounge question com

  • If a CPU cycle took one second, how long would it take to get a record from the database?
    M Mat Fergusson

    I read something like this on the web recently but I cannot for the life of me find it again. Does anyone here remember such a piece? Do you happen to have the URL to hand? Massive thanks in advance to the winner.

    The Lounge database question

  • Just be done with them ... airplanes reclining seats!!!!
    M Mat Fergusson

    Yes. Unfortunately it isn't PC to ask a fat person to pay extra due to the amount of extra food they chose to eat. It is perfectly fine however to charge a tall person extra because they were born with a genetic predisposition to have long leg bones. At 180cm (6'4") my femurs don't fit between most airline seats even when the seats are upright.

    The Lounge css question

  • TDD vs. just being careful
    M Mat Fergusson

    Perhaps I can introduce a scuba diving style "beer fine" for each time my buddy check finds a problem. BTW. Don't drink and dive people. The beer is drunk AFTER the dive, (and before the coding).

    The Lounge testing question visual-studio ai-testing beta-testing

  • TDD vs. just being careful
    M Mat Fergusson

    Admittedly, a few end-to end integration tests is about as far as I've ever gotten with testing in the past. We customise a behemoth system that dates back to before automated testing was a real thing. This means that everything is tied to the live database, even code. I suspect that it is possible to break apart some units but so far its proving hard, especially given the timescales we work to. For now I shall keep on with the integration tests and aim for more in the future. Perhaps I'll be able to demonstrate a regression being found by a test one day soon.

    The Lounge testing question visual-studio ai-testing beta-testing

  • TDD vs. just being careful
    M Mat Fergusson

    You hear a lot these days about how Test Driven Development frees you from having to sweat the small stuff and just get on with adding new features. In its purest form the proponents seem to suggest you can avoid thinking too hard and as long as you make it pass the next test you're a real developer. More loosely I guess you don't have think too hard about regression because as long as the tests still pass then the code still does what the tests are testing for. That means you can go ahead and implement something else real quickly and know that you haven't broken anything that has a test. But what about the bits that aren't/can't be tested? You still have to keep an eye on them and making a test for everything in the real world is hard-verging on impossible. What is so wrong with actually thinking hard about what it is you are being asked to do, working out the best way to achieve it and then carefully implementing it properly? Background - I've been arguing for more automated testing in our organisation for a little while and I keep on getting responses about how not using the crutch of automated testing encourages doing it right the first time. I hate to admit it but that argument does make some sense. Right? I mean, it worked ok in the punch-card days. So what do people out there think?

    The Lounge testing question visual-studio ai-testing beta-testing

  • Biggest War of Football (Soccer) is just knocking the door..
    M Mat Fergusson

    I am going to support my own country's economy and get some work done. (I don't like soccer-ball)

    The Lounge com question

  • I liked Windows 8 before it was 8.1
    M Mat Fergusson

    If only I could. I have tried to find the option, but alas it is no longer the Microsoft way to give you a choice.

    The Lounge

  • I liked Windows 8 before it was 8.1
    M Mat Fergusson

    I find that it can be suitable for business users but it is especially good for power users who can put in the time to get used to the "different" ways of doing things. The improved task manager and smaller OS footprint alone are worth it. Not to mention improved Hyper-V and profile syncing for MS Account users. Like Mycroft Holmes said, I'm going to have to change my motor habits. The problem is I'm having to do it again. I'd gotten used to it and then because the h8ters demanded a title bar its now different again.

    The Lounge

  • I liked Windows 8 before it was 8.1
    M Mat Fergusson

    I'm not saying it was the best thing ever, but it wasn't as bad as its reputation made out. - I liked having an extra icon's worth of space on the task bar instead of the windows button. - I liked having the Windows Store/Fullscreen/Metro apps hidden from the desktop. - I like the start screen. If you make all the icons smallest then you can get a whole lot of shortcuts onto it. But today I can honestly say that I definitely preferred it BEFORE they added a title bar and a close button to the fullscreen apps... I have been helping my Mum to print using the fantastic TeamViewer Touch and as I go to close a window on her laptop, I graze the top of the screen, the title bar slides down and now I've clicked the close button for TeamViewer instead of her browser window. Great! I'm no longer connected and I have to go through all the fuss of reconnecting. It happened 4 times!!!! I'm very upset.

    The Lounge

  • MtGox have FOUND 200,000 bitcoins
    M Mat Fergusson

    They found $116m worth of bitcoins in a digital wallet from 2011 [behind the sofa][^] I once found £200 in my dinner jacket pocket that I'd hidden there for safekeeping and subsequently forgot about. That was a happy day. But $116m - wow. Just WOW!

    The Lounge announcement

  • 10 Reasons Why Handheld Devices Should Be Banned for Children Under the Age of 12
    M Mat Fergusson

    Your description reminds me of my dad when I was growing up. (Mum too). I don't have kids yet, but I hope to be available like that when I do.

    The Lounge html com

  • Finally IE issue
    M Mat Fergusson

    It turns out that my own ranting skills might be rusty. I'm far too used to having to bite my tongue and then explain everything to the client. I blame my colleagues. Apparently its company policy to be helpful. Anyway. Agent sniffing is just not reliable. The ubiquity of the "Mozilla" prefix and the less popular but still prolific "like Gecko" suffix exist because agent sniffing wasn't helping the actual users. It hasn't been reliable for donkey's years and it does lead to just the kind of problem the OP ran into. Friends don't let other friends read the user agent string. My big issue with agent sniffing is that as a regular user of Internet Explorer, (Lumia 920 and Surface RT as well as good old desktop IE), it seems like almost every day I face a page that renders wrongly because someone wrote a website, either (still!!!) assuming that a browser identifying itself as "MSIE" is going to use the old IE6 box model; or perhaps they didn't check anything at all and just assumed that all browsers on a touch screen device are going to include JavaScript features only available to iPads. I also still have a Nexus-One for travelling with. That bad boy uses the "Android Browser" and it has almost no "modern" features despite it also having "Mozilla/5.0" at the beginning of its agent string. I do agree though that a reboot shouldn't have been required. It is vicious cruelty on the part of the web server vendor. Is that better? I'm a little worried, like I might have gone too far. I don't like to get overexcited like this. Right now I want to go and punch one of those gym punching bag things and then write a strongly worded letter to the local council about the state of some of the footpaths in my area.

    The Lounge help sysadmin windows-admin agentic-ai question

  • Finally IE issue
    M Mat Fergusson

    Unfortunately, the "Mozilla" part of the user agent string has very little to with the modern work of the Mozilla foundation and more to do with legacy web servers not service up frames (remember frames?) back in like 1995. Since then, just in case a webserver is really really out of date pretty much all browsers' agent strings start with "Mozilla". So unfortunately, using the user agent to assume a set of features has been just plain unreliable for years now (http://learn.jquery.com/code-organization/feature-browser-detection/[^]). If you really want to know what the JavaScript engine is capable of you need to be doing feature detection within your JavaScript.

    The Lounge help sysadmin windows-admin agentic-ai question

  • Tasty...
    M Mat Fergusson

    feeling hungry now

    The Lounge com

  • Wikipedia + file sharing
    M Mat Fergusson

    Here here!

    The Lounge database testing tools json tutorial

  • Windows 8 WTF of the day!?!?!?
    M Mat Fergusson

    I have 2 laptops, one with a UK keyboard and one with a US one. I set the keyboard to US on the US laptop and my MS account syncs that up to the cloud. Next time I come to use the UK laptop the keyboard is set to US. Its relatively deterministic, although quite annoying.

    The Lounge com help question announcement

  • Windows 8 and MS Accounts
    M Mat Fergusson

    Yup. Somehow the Windows Phone Marketplace and the Windows 8 Store seem to use the same underlying customer database as xbox live!!!. I first came across the issue 4 years ago when I got my xbox but then when I got a WinPhone 7 I needed to buy apps so I went though "the process". Typically of MS, since they had already had a way to change the xbox live account, using an xbox, they figured that their job was already done. - Obviously a web-version of the form isn't necessary right? BTW Their official advice for those people without an xbox - Ask a friend if you can borrow theirs.

    The Lounge com help question

  • Microsoft just don't seem to want my money.
    M Mat Fergusson

    That's one of 2 reasons why I was trying to buy in the UK. I've seen the price of SD cards here (as well as the $3 or more for a 600ml bottle of Coke) and so I knew it would be cheaper in the UK. However, I do have a special VPN labelled "Watch Dr Who", (its slower than 1997 to browse the web but I persevered), and behold this amazing result - 32BG without cover on the AUS site is $559.00 That's £359.43 at todays rate according to Google. On the UK site it will cost £399.00 10% cheaper in Aus 32BG with cover is $679.00 (£436.59) in Australia Or £479.00 in the UK 9% cheaper 64BG with cover $789 (£506.82) in Australia £559.00 in the UK 10% cheaper again Surprised the h*** out of me. Now for that reason #2. All I need is an address in Australia to have it shipped to.

    The Lounge help question mobile com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups