Having a Voip-conference later in the day, I searched through my older hardware I still had lying around and dug up my Sennheiser headset.
It didn’t came with any drivers, so just plugging it into the USB port should be enough.
No such luck :S
I got a Windows driver error: This device cannot start. (Code 10). After a bit of googling it appeared that the device was not compatible with Windows Vista and Windows 7.
Not giving up, I finally found a firmware upgrade for the PC35 USB headset itself. Although there is no information about it, the update is only compatible with 32bit versions of Windows.
Firing up my trusty Acer One, I upgraded the Sennheiser, plugged it back into my Windows 7 64bit and now it works like a charm.
My trusty PS3 became not so trusty anymore.
When I was playing a game, the game just hung. First I thought it was the game or the operating system that faulted. However after rebooting my PS3 no longer wanted to read any disks, not games, not blueray movies, not plain old DVDs.
Since I like my PS3 and I only upgraded the harddisk from a 40GB to a 500GB, I wasn’t ready to give up on it.
First trying the non evasive ways of fixing it. Cold booting, going into the diagostics,… nothing helped.
Time to open it up.
I followed a few “guidelines” online for cleaning the drive and the lens. Reassembling it again… nothing.
Digging a little further, I moved the laser assembly manually and I turned the PS3 on while it was all open. In a normal drive the laser will position itself to the start position, reflect some light to see if a disk is present and then spin up the motor. But after turning the PS3 on, nothing happened.
So my current conclusion, the laser assembly positioning motor is broken. I’ve ordered a new one for € 11 (delivery included). It should be here in a few days. Let’s see how that goes.
Windows 7 doesn’t have a Recycle Bin in My computer and if you like to keep you desktop clean (and fail) by removing it from as a desktop icon, it can be hard to get to the bin altogether.
A small registry hack can solve this.
Create a new Key with {645FF040-5081-101B-9F08-00AA002F954E} as its name under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace.
Refresh and voila, a recycle bin under My Computer.
The problem was the following.
I’m creating a report in SSRS (Microsoft SQL Server Reporting Services). In this report I need to display a table with assets. These assets have an N-N relationship with another table, through a link-table. This creates a 3 dimensional table, but I can only display 2 dimensions on paper of course.
As a result the 3rd dimension has to be reduces to a column of the assets table.
Here is the resulting query:
SELECT DISTINCT assets.assetid, assets.name, REPLACE(temp.CProcedures, ',', Char(10)+Char(13))
FROM Filtered_asset AS assets
LEFT OUTER JOIN (
SELECT Linker.assetid, Left(Linker.CProcedures, Len(Linker.CProcedures)-1) AS CProcedures
FROM (
SELECT distinct ST2.assetid,
(SELECT ST1.name + ',' AS [text()]
FROM (
SELECT Filtered_calibrationprocedure.name, Filtered_asset_calibrationprocedure.assetid
FROM Filtered_asset_calibrationprocedure
LEFT OUTER JOIN Filteredcalibrationprocedure ON Filtered_asset_calibrationprocedure.calibrationprocedureid = Filtered_calibrationprocedure.calibrationprocedureid) ST1
WHERE ST1.assetid = ST2.assetid
for XML PATH ('')) [CProcedures]
FROM (
SELECT Filtered_calibrationprocedure.name, Filtered_asset_calibrationprocedure.assetid
FROM Filtered_asset_calibrationprocedure
LEFT OUTER JOIN Filtered_calibrationprocedure ON Filtered_asset_calibrationprocedure.calibrationprocedureid = Filtered_calibrationprocedure.calibrationprocedureid) ST2
) AS Linker) AS temp on temp.assetid = assets.assetid
One of the oldest professions has been on the internet since it was first made public.
Now it looks like one of the oldest crimes (since there was currency & banks) is competing online with it’s offline counterpart. In 2009 it seems, there were almost the same amount online thefts than there were bank robberies.
Expect online theft to take the upper hand in a year or two.
Leading up to the announcement of the iPad, I was looking very much forward to a new device from Apple. It would no doubt be revolutionary, breathtakingly beautiful, very usable and loaded with the latest tech and goodies.
Once I saw the keynote, I was disappointed. Apple had let me down. They had the potential to make a great product, but instead they made a tables that doesn’t support multitasking (which is a step back of about 15 years), no USB or other external storage capability, locked in applications only served by Apple’s approved AppStore, …
Now almost 2 weeks after the announcement and reading other people’s thoughts too, I’ve come to a conclusion. I was looking at the iPad from my perspective, with my wishes for a tables in mind. With that view, the iPad has failed. However this is not its target audience. The iPad is more for the casual computer user that uses it for e-mail, surfing, facebook, …
For those the iPad is perfect! Now I only hope they make a similar device (the form factor that is) for power users/developers as well.
Recently I needed to go over a lot of files located inside a directory and its subfolders. This is a fairly easy something to implement and without much thinking I wrote some code to loop through the directory, compare the files found with a criteria and if it matched, copy the file.
Afterwards I was wondering if there maybe was a faster way of doing this Read/Write action I was doing.
Another option was loop through the folders comparing and remembering the files I needed to copy. Then at the end loop through the matching files and copy them.
What the test showed was a ReadAll / WriteAll action is notably faster, especially if the number if matches is low. Read the rest of "Read/Write action vs ReadAll/WriteAll" »