Thursday, November 7, 2013

Beyerdynamic DT770 Pro VS PSB M4U-1

It was extremely hard to choose between DT770 Pro and M4U-1. For those interested in comparing these two great headphones – here are my thoughts, categorized into different aspects.

Aesthetics

The DT770 is designed like a professional studio gear – round and black plastic cups with velour earpads, though looked professional, they are certainly not designed to match your fashion apparel.

The M4U-1, on the other hand, sports different colors to choose from – among them are black, gray, white and red, all in glossy finishing with leather earpads. You could certainly get a hint of Beats as far as design is concerned, but with far superior sound quality, which will be discussed later. In a nutshell, it is designed to look trendy.

As far as looks is concerned, M4U-1 wins.

Accessories

The DT770 Pro comes with a 6.3 mm jack screw-on adapter; while our friends from PSB packed a lot more – cleaning micro-fibre cloth, extra pair of earpads, airline adapter, cable with inline mic for iPod and Blackberry, and a hard case to boot, aside from a 6.3 mm jack adapter.

Accessories wise, M4U-1 wins hands down.

Comfort

DT770 Pro has larger ear cups than M4U-1, which logically provides a better comfort. In reality, yes, DT770 Pro is much comfortable than M4U-1.

I felt the M4U-1’s earpads are a bit too small for my ears as my ears felt squished. Not very uncomfortable, but definitely not comfortable.

DT770 Pro wins this round.

Sound Quality – Highs

Both headphones are really well designed as far as sound quality is concerned. The highs are extends very well and very fine for both, except M4U-1 sounds a tad bit brighter than DT770, which might give a tiny problem when playing noisy rock tracks (e.g. Sister’s Noise by fripSide).

DT770 Pro gives a bit of an edge here.

Sound Quality – Mids (Vocals)

This is when it gets really interesting. DT770 Pro, has a bit of coloring in the mids. Though the mids are considered pretty well (the coloring is much lower than Sony MDR-1R), it gives off a very very subtle plastic-y sound. (resonance at around 2 kHz)

Mids in M4U-1 is engaging, it is almost “penetrating”. The album “Best Audiophile Voices III” and “Eternal Singing Endless Love”, or any vocal track, are best enjoyed with the M4U-1.

M4U-1 completely squashed DT770 in vocals.

Sound Quality – Lows

Though DT770 has a noticeable mid-bass hump, the lows in DT770 have a very nice timbre, felt completely natural and envelops the ears very nicely. Personally I feel the bass in DT770 Pro is a tiny bit too much, some might prefer a lighter bass,

The M4U-1, however, has more of an IEM styled bass – though equally as deep, they are highly controlled and dry. I guess the lack of adequately sized cavity didn’t allow the bass to give a nice and natural bass reverb on the ears.

New age music such as ones from the album “The Sound of Illusion” (by NuSound, the album a different name in different regions) felt very dry on the M4U-1 compared to DT770.

DT770 dominates M4U-1 here, no doubt.

Conclusions

It’s really, really hard to choose between DT770 Pro and M4U-1.

The M4U-1 while delivering impressive vocals, feels more like an IEM more than a pair of full-size headphones in the bass department.

The DT770 Pro’s only major drawback (though not very major if you don’t do ABX comparison) is the mids.

A tie, perhaps?

Tuesday, October 15, 2013

Windows 8 Network Profile Manager

Starting from Windows Vista, Microsoft has implemented Network Location Awareness (NLA) into Windows. To put it in simple terms, Windows will automatically identify and name the networks it joins.

The feature however is prone to create silly network names, especially if you tend to change network adapters often, such as MyHomeNetwork 2, MyHomeNetwork 3 … MyHomeNetwork 13.

To top that off, since Windows 8, Microsoft has removed the option to manage, that includes merging and renaming, of networks – users are forced to stick with the stupid names Windows give (e.g. Network, Network 65535 etc.)

Thankfully, it is still possible to rename the network names, but only through hacking your way into the Windows Registry.

Windows 8 Network Profile Manager

Enter Windows 8 Network Profile Manager (Win8NetMan). Win8NetMan is a small application written to manage the network profiles created by Windows in a intuitive way by abstracting all the Registry complications.

Here are the features in a glance:

  • Display and changing of simple network profile properties (e.g. name, description) and advanced properties (e.g. default gateway MAC address, DNS suffix etc)
  • Deletion of individual network profiles (e.g. for old network devices that are no longer used)
  • Bulk deletion of all network profiles

Note: Changes may require reconnecting to the network to be applied.

If you like the application, please donate to support further development of useful applications!

 

 

Download (Hosted by 4Shared.com)

Tuesday, August 6, 2013

デフコン

This afternoon the Internet at my workplace went down. Since the rest of the network infrastructure was running fine, I thought it was one of those random pesky Unifi downtimes that happens once in a blue moon.

After a couple of hours I couldn’t take it anymore and decided to investigate and observed the primary gateway is slowly chugging along. Well, a quick hard reboot should fix it…

… Not.

Then I noticed my secondary gateway has high CPU usage as well – so a soft-reboot should do the trick…

… Nope.

Tried to run PING to Google (el classico!) and the response was quite odd – on-and-off responses.

I thought something was definitely wrong with the network, and boy I was pretty damn right.

A quick peek at the network monitoring tool shows 5 MBps activities on my network servers, it’s a magic number just enough to drown the Unifi link. Something is hogging the network.

So I disconnected my IP masquerade from the network – and Internet access (on the server) immediately restored.

Time to find the bad boy – DARKSTAT to the rescue. In a few seconds, the wolf among the sheep is found (more like a zombie, that fella was happily flooding the network with RDP requests). First thing that came across my mind is to immediately configure the firewall to drop all packets coming from the machine.

Yep, this time it fully restored the Internet access in our network.

ZENMAP showed our target as a Windows 2003 Server SP2 machine with a handful of opened ports. From the outside it doesn’t seem vulnerable.

… From the outside that is…

I saw RDP was opened so the most logical thing to do is to try to remote access that sonnovabeech with the most powerful account available and the most stupid password known on Earth.

Jackpot – Administrator privileges granted on the first try itself. As expected, I was greeted with loads of suspicious looking processes and a very nicely placed backdoor (LogMeIn) upon firing up the task manager.

Let’s kill this beach before it lays eggs.

Next time I’m going to audit each !@#$ server that is going to be placed on the network.

Wednesday, June 12, 2013

とある物語3

Imagine you are going to conduct a full day technical training to government officers. Imagine you have suited up with your best professional appearance.

Imagine you arrived on site on time. You took out a large box containing 21 pieces of equipment from your boot, your 5 kilo working backpack, your water bottle from the car.

Locked the car and proceed walking towards the traffic light junction between the car park and the government building.

Everything is cool and smooth. You felt your pants pockets and…

Shit happened - your car ignition key is missing (imagine the key is not kept together with the remote for security reasons).

You looked frantically around you and the key is no where in sight. You have to deliver the equipment on-time, there are issues requiring your on-time support, and top it all off it is your turn to present soon. You are afraid if the key is picked up by someone else. You are afraid you will not able to go home today.

You’re sweating profusely, your shirt is all wet, after all that trouble you took to look good. Time is ticking, make your choice.

This is not fiction.

I chose to deliver the equipment to my colleague (the current presenter) and fulfill my commitment to support the technician in the Personalization Centre. Apparently there was some unknown (to the technician, at least) error during personalization of test cards, and the issue was very urgent.

I requested the technician to open up the PIN file, but watching the clueless technician staring blankly at the monitor is excruciatingly difficult. Clock is ticking. Calm down, don’t let the personal stuff affect work.

After a good 5 minutes or so he gave up and asked if I could locate it. He should have done so in the first place. I made an educated guess and found the file I’m looking for. Looks like someone was lying, the machine is clearly not pre-configured for test card personalization.

After a few trips back-and-forth the meeting room (where my notebook was) and Personalization Centre, I found out the culprit was just a mistyped SAM PIN. Awesome.

Went back to the meeting room (where the training session was held) and troubleshooted a few participants’ code.

Finally got the chance to continue the search for the key after things have pretty much calmed down.

After searching the grasses, the pavement, the tar roads, under cars, in the boot, on the seat constantly rewinding my memory trying to recall the most possible place the key could have misplaced or dropped, hope was gradually lost. I was going to give up, the search area big and full of obstacles for such a small key.

I texted my family members saying I have lost my keys and might need to tow my car later.

“The Law of Attraction”, I recalled the words someone told me. It’s too early to give up. Kept my cool and restarted the search from my car, searching beneath nearby cars, under the scorching sun.

Underneath one black car a few lots away from my car, there was my key. And then I was like “ZOMG IT’S A MIRACLE I’M SAVEDZZZZ”

Started my car with that key just to double confirm.

End of story.

Friday, May 17, 2013

仕事の日々#3: VB.NET anonymous methods

What we lazy coders do in C# when dealing with a non-STA WinForm on another thread is usually:

Invoke((MethodInvoker) delegate
{
    txtSomeLabel.Text = "Foobar!";
});

Today I had to deal with a piece of code written in VB.NET, and here’s how it’s done:

Invoke(
   Sub()
      txtSomeLabel.Text = "Foobar!"
   End Sub
)

No casting is required as BASIC is not a strongly typed language.

It also works with anonymous methods with parameters, you just have to use Function in place of Sub.

Tuesday, May 14, 2013

仕事の日々#2: C# byte & Java byte

Although C# could be said a rip off from Java, I would understand why Microsoft made the choice to be different from Sun – because it’s downright confusing when doing low level processing if it’s done the Java way.

Aside from String/string, boolean/bool, endianness etc. beginner coders migrating from C# to Java or vice versa would most definitely make this mistake – C# byte and Java byte

In C#, a byte is an 8-bit unsigned integer (unsigned char for you C/C++ dinosaurs out there), while a byte in Java is an 8-bit signed integer (signed char).

What does that mean?

Well, it meant you’ll screw up your code if you ignore this difference.

C#

for(byte i = 10; --i >= 0; )
   Console.WriteLine("foo");

Java

for(byte i = 10; --i >= 0; )
   System.out.println("foo");

For a more hidden problem:

C#

short i = 0xFF;
byte j = (byte) 0xFF; // (byte) is optional
if(i == j) Console.WriteLine("Yay!");
else Console.WriteLine("Nay!");

Java

short i = 0xFF;
byte j = (byte) 0xFF; // (byte) is mandatory
if(i == j) System.out.println("Yay!");
else System.out.println("Nay!");

If you’re not aware of this problem, your program will most probably compile, probably pass all your tests but randomly fails after live deployment.

Captain Obvious says:
“The samples above behave differently for C# and Java.”

Oh, to make things worse, there’s no “unsigned” keyword in Java. Great. Static casting like a magus.

仕事の日々#1: OIC & ORACLE_HOME

Here’s the scenario: I’m writing a setup deployment (installer wizard) project that uses Oracle on a 64-bit system.

Naturally, the installed Oracle Client on the target system is 64-bit. Because Microsoft Installer Executive (MSIEXEC) by default runs in 32-bit mode, and building a dedicated 64-bit project is rather tedious, I’ve resorted to including the Oracle Instant Client into my setup project file.

During setup the wizard will invoke sqlplus to run various database installation scripts. When testing my freshly baked project on the test bed, sqlplus execution ended with code 1.

Well, the problem is: my scripts are configured to exit with code -1 if errors occur during execution. Out of sheer programmer instinct I inspected my setup logs and extracted the specific failed command line out to run it on the console.

The command worked fine.

For a few hours I’ve tried to find out the culprit – changing PATH, altering the script to use “connect”, changing executing user… It just wouldn’t work.

Then I tried redirecting the standard output and error streams (which are originally hidden) from the process into my log file as well.

Sqlplus said:

Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

The error message was very helpful, thank you.

I then checked my default environment variables using “echo %ORACLE_HOME%” – the values looked okay.

So what went wrong?

Apparently some bloody smart component written by a bloody smarty pants changed the ORACLE_HOME environment variable to the current execution directory, which is obviously not ORACLE_HOME.

I did not touch environment variables in my code – so that leaves Oracle Instant Client as the culprit.

Once I changed ORACLE_HOME to the values I find in registry right before launching sqlplus, everything worked like a charm. Bloody Oracle developers.

Yes, this affects imp.exe too.