Archive

Archive for the ‘C/C++’ Category

DOOM: Bill Gates introduces DirectX in 1995.

November 17th, 2010 No comments

Here’s something you wouldn’t see every day. Bill Gates introducing the world to DirectX in 1995.

httpv://www.youtube.com/watch?v=_JokM_fExpI

Don’t interrupt him! My how things have changed.

{lang: 'en-GB'}
Share

Multi-tasking in style on the Android Platform

May 2nd, 2010 No comments

An interesting article posted on the Android Developer Blog from Dianne Hackborn (born to hack!) who discusses the way multi-tasking works on Android. Recommended reading as it goes beyond how it works (and why!) and offers some suggestions on how to make the most of it!

{lang: 'en-GB'}
Share

Visual Studio 2010 & Resharper 5 hit the interwebs.

April 13th, 2010 No comments

A little late on this one, but MSFT have released the long awaited Visual Studio 2010 release and JetBrains have also released ReSharper 5.

A full breakdown of Visual Studios are also available, not a huge fan of all these different SKUs to be honest. You can download a copy from your MSDN subscriptions now, or download the trial version (direct download), buy an upgrade from VS2008 or just download the .NET 4.0 runtime (48Mb).

I’ve spent the past 3 hours downloading from MSDN and its been crawling.

MUST.HAVE.PLINQ.FIX.

{lang: 'en-GB'}
Share

Google shows the power of HTML 5, ports Quake II to run in browser!

April 3rd, 2010 No comments

The title says it all. Using the Jake2 port of Quake II (to Java) the bright sparks at Google have used GWT to bring Quake II to HTML 5.

We started with the existing Jake2 Java port of the Quake II engine, then used the Google Web Toolkit (along with WebGL, WebSockets, and a lot of refactoring) to cross-compile it into Javascript. You can see the results in the video above — we were honestly a bit surprised when we saw it pushing over 30 frames per second on our laptops (your mileage may vary)!

At first I thought it was an April fools joke, but as cruel as that may be, it wasn’t. Download the source and give it ago, I nearly fell of my chair.

At the moment you have to build from source and mess about a bit, but fear not, I followed the guide on OSNews by Kroc on our MacBook Pro and it worked quite well, yet to try it on Linux.

{lang: 'en-GB'}
Share

Welcome to 2010 & Evict.nl is updated & ZScreen 3.25!

January 5th, 2010 No comments

5 days into 2010, its already feeling a bit awkward as 99 doesnt feel that long ago.

My good buddy Edwin Vermeer has finally got his WordPress blog setup and he’s also included many of his code as open-source. Of particular interest is the assembly SVGA library he wrote (!!!) 20 years ago and various projects I remember talking with him about over the years.

On a side note, I almost forgot to mention that ZScreen was updated on Christmas eve to 3.25 thanks to Santa. For those who haven’t tried ZScreen its a screen capture tool (open source and written in C#) that is chocko-block full of things that will make your life helluvah lot easier – especially when it comes to taking screenies for blog posts. Check it out, it goes beyond WindowClippings which used to be my screen-shot application.

Let the good times roll… Wishing everyone who stumbles apon this post all the best for 2010.

{lang: 'en-GB'}
Share

DailyWTF: WHAT.THE.FOR LOOP STOOGE.

December 3rd, 2009 No comments

There’s no way to explain this apart from WTF!

I’m speechless.

{lang: 'en-GB'}
Share

Time flies: VirtualBox 3.0 final is out!

July 1st, 2009 No comments

It only feels like last week that I mentioned the beta release of VirtualBox 3.0, Sun has released the final version of the much anticipated v3.0!

As mentioned earlier, this release is super exciting for the simple fact that it has SMP support – a maximum of 32 virtual CPUs (but relax, you shouldn’t assign more than what you can afford – or the number of cores you have!). VMWare still only supports a maximum of 2 virtual-cpus (this _may_ change in VMWare 7.0!), another feat is the hardware 3D (Direct3D/OpenGL)  support for guests.

This version is a major update. The following major new features were added:

  • Guest SMP with up to 32 virtual CPUs (VT-x and AMD-V only; see chapter 3.7.2.2 of the user manual)
  • Windows guests: ability to use Direct3D 8/9 applications / games (experimental; see chapter 4.8 of the user manual)
  • Support for OpenGL 2.0 for Windows, Linux and Solaris guests

In addition, the following items were ?xed and/or added:

  • Solaris hosts: allow suspend/resume on the host when a VM is running (bug #3826)
  • Solaris hosts: loosen the restriction for contiguous physical memory under certain conditions
  • Mac OS X hosts: ?xed guest PAE
  • Linux hosts: kernel module compile ?xes for 2.6.31 (bug #4264)
  • VMM: ?xed occasional guru meditation when loading a saved state (VT-x only)
  • VMM: eliminated IO-APIC overhead with 32 bits guests (VT-x only, some Intel CPUs don’t support this feature (most do); bug #638)
  • VMM: ?xed 64 bits CentOS guest hangs during early boot (AMD-V only; bug #3927)
  • VMM: performance improvements for certain PAE guests (e.g. Linux 2.6.29+ kernels)
  • VMM: some Windows guests detected a completely wrong CPU frequency (bug #2227)
  • VMM: ?xed hanging and unkillable VM processes (bug #4040)
  • VMM: ?xed random infrequent guest crashes due to XMM state corruption (Win64 hosts only)
  • VMM: performance improvements for network I/O (VT-x/AMD-V only)
  • GUI: added mini toolbar for fullscreen and seamless mode (Thanks to Huihong Luo)
  • GUI: redesigned settings dialogs
  • GUI: allow to create/remove more than one host-only network adapters (non Windows hosts)
  • GUI: display estimated time for long running operations (e.g. OVF import/export)
  • GUI: ?xed rare hangs when open the OVF import/export wizards (bug #4157)
  • 3D support: ?xed VM crashes for client applications using incorrect OpenGL states
  • 3D support: ?xed memory corruption when querying for supported texture compression formats
  • 3D support: ?xed incorrect rendering of glDrawRangeElements
  • 3D support: ?xed memory leak when using VBOs
  • 3D support: ?xed glew library detection
  • 3D support: ?xed random textures corruption
  • VRDP: support Windows 7 RDP client
  • Networking: ?xed another problem with TX checksum of?oading with Linux kernels up to version 2.6.18
  • NAT: ?xed “open ports on virtual router 10.0.2.2 – 513, 514” (forum)
  • NAT: allow to con?gure socket and internal parameters
  • NAT: allow to bind sockets to speci?c interface
  • PXE boot: signi?cant performance increase (VT-x/AMD-V only)
  • VHD: properly write empty sectors when cloning of VHD images (bug #4080)
  • VHD: ?xed crash when discarding snapshots of a VHD image
  • VHD: ?xed access beyond the block bitmap which could lead to arbitrary crashes
  • VBoxManage: ?xed incorrect partition table processing when creating VMDK ?les giving raw partition access (bug #3510)
  • VBoxManage: support cloning to existing image ?le
  • OVF: several OVF 1.0 compatibility ?xes
  • OVF: ?xed exporting of disk images when multiple virtual machines are exported at once
  • Virtual mouse device: eliminated micro-movements of the virtual mouse which were confusing some applications (bug #3782)
  • Shared Folders: sometimes a ?le was created using the wrong permissions (2.2.0 regression; bug #3785)
  • Shared Folders: allow to change ?le attributes from Linux guests and use the correct ?le mode when creating ?les
  • Shared Folders: some content was incorrectly written under certain conditions (bug #1187)
  • Shared Folders: ?xed incorrect ?le timestamps, when using Windows guest on a Linux host (bug #3404)
  • X11 clipboard: ?x duplicate end of lines (bug #4270)
  • X11 guests: a number of shared clipboard ?xes
  • Linux guests: Guest Additions support for SUSE Linux Enterprise Desktop 11
  • Linux guests: new daemon vboxadd-service to handle time synchronization and guest property lookup
  • Linux guests: implemented guest properties (OS info, logged in users, basic network information)
  • Windows host installer: VirtualBox Python API can now be installed automatically (requires Python and Win32 Extensions installed)
  • USB: Support for high-speed isochronous endpoints has been added. In addition, read-ahead buffering is performed for input endpoints (currently Linux hosts only). This should allow additional devices to work, notably webcams (bug #242).
  • USB: ?xed error handling for some USB dongles
  • Web service: ?xed inability to handle NULL pointers for object arguments, which are valid values for a lot of APIs, in both the raw and the object-oriented web service.
  • Web service: object-oriented bindings for JAX-WS did not exhibit interface inheritance correctly, ?xed
  • Web service: added support for IDisplay and IGuest interfaces, which were previously unavailable
  • Registration dialog uses Sun Online accounts now

Why keep reading, upgrade dammit!

  • VirtualBox 3.0.0 for Windows hosts x86/amd64
  • VirtualBox 3.0.0 for Solaris and OpenSolaris hosts x86/amd64
  • VirtualBox 3.0.0 Software Developer Kit (SDK) All platforms (registration required)

Enjoy, see the manual online too!

{lang: 'en-GB'}
Share

Hot Booty: Visual Studio 2010 Beta Launches!

May 19th, 2009 No comments

Quick note from Somasegars blog that Visual Studio 2010 Beta 1 along with .NET Framework 4.0 Beta 1 is shipping. Take a look at the Visual Studio 2010 Home Page for more information or if you have MSDN grab it from your subscriber downloads.


{lang: 'en-GB'}
Share

Windows 7 Release Candidate Is Available From Microsoft

May 1st, 2009 1 comment

More information on PressPass as mentioned earlier.

Windows 7 RC Reflects New Advancements

New to the Windows 7 RC are advancements such as Remote Media Streaming, Windows XP Mode (beta) and the upcoming beta of the Windows 7 Upgrade Advisor:

Remote Media Streaming. Enables highly secure, remote Internet access to home-based digital media libraries from another Windows 7-based PC outside the home.
Windows XP Mode. Utilizing Windows Virtual PC, Windows XP Mode allows Windows 7 users to run many Windows XP productivity applications, launched right from the Windows 7 desktop. Windows XP Mode will be available to Windows 7 Professional and Windows 7 Ultimate customers via download or, for the best experience, pre-installed directly on new PCs. As part of today’s announcement, Microsoft is releasing the beta of Windows XP Mode and Windows Virtual PC. For larger businesses where management is important to reduce the total cost of ownership, Microsoft Enterprise Desktop Virtualization (MED-V) within MDOP adds management to Windows Virtual PC including centralized policy, administration experience and deployment.
Windows 7 Upgrade Advisor. To help enable a smooth transition, Windows 7 Upgrade Advisor will help people analyze their PCs in preparation for a Windows 7 upgrade. Available soon, Windows 7 Upgrade Advisor will be a downloadable tool that will help people determine their ability to upgrade from their Windows XP-based or Windows Vista-based PC to Windows 7.

In addition, a number of enhancements were made to existing features based on feedback from beta testers, including the following:

Refined navigation. Several enhancements to the Windows taskbar, JumpLists and search make navigation and finding exactly what you want much easier.
Internet Explorer 8. InPrivate browsing in Internet Explorer 8 prevents browsing history, temporary Internet files, form data, cookies, and usernames and passwords from being retained by the browser. With Windows 7, you can start an InPrivate session straight from the JumpList. You can also open a new tab from the JumpList.
Windows Touch. Controlling the computer by touching a touch-enabled screen or monitor is a core Windows 7 user experience. Improvements in the RC include several Windows Touch updates, including the ability to drag, drop and select items with touch, even inside Web sites that scroll both horizontally and vertically.

System Requirements for Windows 7

With the RC, Microsoft is also providing guidance on the minimum system requirements for Windows 7, showing that Windows 7 will work on a broader array of hardware than any other release of Windows at launch:

1GHz or faster 32-bit (x86) or 64-bit (x64) processor
1 GB of RAM (32-bit)/2 GB of RAM (64-bit)
16 GB of available disk space (32-bit)/20 GB (64-bit)
DirectX 9 graphics device with Windows Display Driver Model 1.0 or higher driver

Enjoy!

{lang: 'en-GB'}
Share

Microsoft discusses Windows XP mode in Windows 7

April 30th, 2009 1 comment

REDMOND, Wash. April 28, 2009 — As part of the upcoming Windows 7 Release Candidate milestone, Microsoft will release a beta version of Windows XP Mode, which allows users of Windows 7 Professional and above to launch many older Windows XP productivity applications directly from their Windows 7 desktop. The Windows XP Mode stand-alone feature is specifically designed to help small businesses that are using Windows XP applications move to Windows 7. For larger businesses, Microsoft Enterprise Desktop Virtualization (MED-V) MED-V 2.0 builds on top of Windows Virtual PC and provides centralized management of Windows XP Mode. MED-V 2.0 will be available in beta within 90 days of general availability of Windows 7.

PressPass spoke with Scott Woodgate, director of Desktop Virtualization and Microsoft Desktop Optimization Pack (MDOP) at Microsoft, to find out how this new advancement is helping ensure a smooth transition for customers planning to migrate to Windows 7.

Read the entire interview on Windows 7 Professional and Windows XP Mode. Personally, I think the ‘XP Mode’ on Windows 7 is a great thing, unfortunately some people dont (and for some of the authors points I strongly disagree with). Whilst its not included in the ‘out-of-the-box functionality’ (phrase around the office these days) you will be able to download the bits –  VirtualPC engine & a Windows XP SP3 Licensed copy if you have Windows 7 Professional, Windows 7 Enterprise, or Windows 7 Ultimate.

The crudge of this is that, the virtualised version wont include the same security model as Windows 7, so you’ll have to have two anti-virus’s installed, but it will function much like Parallels and VMWare Fusion does on Mac.

Dont take peoples word for it, try it with the Windows 7 RC.

{lang: 'en-GB'}
Share