Archive for 2013
Posted by jpluimers on 2013/06/11
Today my router had an IP-address change, but didn’t update the DynDNS.org information in my My Host Services | My Dyn Account. Which meant I could not “phone home”, as I didn’t know the new IP-address**.
Lesson re-learned:
During initial router configuration, watch the router logs, as you might have accidentally updated the DynDNS.org by hand, not by your router
Had this in the ASUS Wireless Router RT-N66U – General Log:
Jun 11 08:01:53 notify_rc : restart_ddns
Jun 11 08:01:53 ddns: clear ddns cache file for server setting change
Jun 11 08:01:53 ddns update: connected to members.dyndns.org (204.13.248.111) on port 80.
Jun 11 08:01:53 ddns update: server output: HTTP/1.1 200 OK^M Date: Tue, 11 Jun 2013 06:01:53 GMT^M Server: Apache^M X-UpdateCode: X^M Content-Length: 7^M Connection: close^M ^M notfqdn
Jun 11 08:01:53 ddns update: malformed hostname: myhostname
The problem: hostname should not only be the name of the host, but the FQDN of the host. Read the rest of this entry »
Posted in ASUS RT-N66U, Network-and-equipment, openSuSE, Power User, SuSE Linux | Tagged: computer, ddns, ip address change, software, technology | 2 Comments »
Posted by jpluimers on 2013/06/11
A while ago, I needed to export pure ASCII text from a .NET app.
An important step there is to convert the diacritics to “normal” ASCII characters. That turned out to be enough for this case.
This is the code I used which is based on Extension Methods and this trick from Blair Conrad:
The approach uses String.Normalize to split the input string into constituent glyphs (basically separating the “base” characters from the diacritics) and then scans the result and retains only the base characters. It’s just a little complicated, but really you’re looking at a complicated problem.
Example code:
using System;
using System.Text;
using System.Globalization;
namespace StringToAsciiConsoleApplication
{
class Program
{
static void Main(string[] args)
{
string unicode = "áìôüç";
string ascii = unicode.ToAscii();
Console.WriteLine("Unicode\t{0}", unicode);
Console.WriteLine("ASCII\t{0}", ascii);
}
}
public static class StringExtensions
{
public static string ToAscii(this string value)
{
return RemoveDiacritics(value);
}
// http://stackoverflow.com/questions/249087/how-do-i-remove-diacritics-accents-from-a-string-in-net
private static string RemoveDiacritics(this string value)
{
string valueFormD = value.Normalize(NormalizationForm.FormD);
StringBuilder stringBuilder = new StringBuilder();
foreach (System.Char item in valueFormD)
{
UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(item);
if (unicodeCategory != UnicodeCategory.NonSpacingMark)
{
stringBuilder.Append(item);
}
}
return (stringBuilder.ToString().Normalize(NormalizationForm.FormC));
}
}
}
–jeroen
Posted in .NET, .NET 3.5, .NET 4.0, .NET 4.5, ASCII, C#, C# 3.0, C# 4.0, C# 5.0, Development, Encoding, Software Development, Unicode | Leave a Comment »
Posted by jpluimers on 2013/06/10
(note: part of this post is unfinished, but I wanted to make sure all the links are publicly accessible, so I posted earlier and incomplete)
I already did a few ESXi5 postings (they apply to 5.1 as well) of which the most important are:
Time to finish up some additional installation steps (with a big thanks to Matthijs ter Woord):
Read the rest of this entry »
Posted in BIOS, Boot, ESXi5, ESXi5.1, Hardware, HP XW6600, Keyboards and Keyboard Shortcuts, Power User, PowerCLI, Virtualization, VMware, VMware ESXi, Wake-on-LAN (WoL), Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2013/06/07
As a follow-up on my question cpu usage – Windows 8 Task Manager: how to enable the “CPU Time” column in the Processes tab? – Super User:
You can show the *CPU time* column in the Windows 8 Task Manager, it just well hidden.
These steps and screenshots show how:
- Start the Task Manager, then click on More Details
- You end up in the Processes tab, now click on the Details tab
- In the Details tab, you see there is no CPU time column, only a CPU column
- Right click on the header of the Details tab, in the the pop-up menu choose Select columns
- In the dialog, put a check-mark in front of CPU time
- then press the OK button
- Now you have the CPU time column in the Details tab
Read the rest of this entry »
Posted in Power User, Windows, Windows 8 | Leave a Comment »
Posted by jpluimers on 2013/06/07
From the FON tech support pages:
Why is the MAC address online different than the one found on my router?
Philippe
posted this on March 08, 2011 09:29
If you look at your router information in your user area at fon.com, you will notice that the MAC ID is different than the one found at the bottom of the Fonera.
This is nothing to be worried about. Both MAC IDs are associated with the same Fonera. The MAC ID in the user area is associated with the FON_ signal.
The MAC ID found at the bottom of the Fonera refers to the LAN port.
Specifically for the FON2100A, there are 2 MAC addresses based on the sticker on the bottom of your FON:
- MAC address on the sticker = MAC for WAN,
for instance 00:18:84:XX:YY:f6
- MAC address for FON_FREE_INTERNET WiFi = sticker+1,
for instance 00:18:84:XX:YY:f7
- MAC address for MyPlace WiFi = sticker+2,
for instance 00:18:84:XX:YY:f8
001884 is the OUI for Fon Technology S.L.
You can find that for instance at MAC Address / WWN / Vendor Lookup – WintelGuy.com –.
–jeroen
via: Why is the MAC address online different than the one found on my router? : Fon Support.
Posted in Network-and-equipment, Power User | Leave a Comment »
Posted by jpluimers on 2013/06/07
A while ago (actually, almost two years ago <g>), Chinese Sausage wrote the below answer; it’s on my research list to see if I can stream out my audio library:
Re: Best format to encode into?
« Reply #2 on: 2011-08-14, 14:50:18 »
When space drive IS a concern, then ogg (aoTuV version) is the best format quality-wise (to these ears), as it is more true to the original music source, and it leaves less noticeable noise artifacts than the other encoders. However, aac is almost just as good and also more compatible with mobile phones, iPod’s and other external players, so it is probably a better choice if you want to share your music files with anybody who is not computer savvy. The main thing I do not like about aac (at least HE-AAC) is that it does not support gapless playback, which is particularly annoying if you listen to live albums, or other music which has continuous playback.
At 64kbps though, there is none better than ogg aoTuV. Here is a link to the latest version, in case you want it.
Just replace the ogg.dll and vorbis.dll files to the existing ones in your encoding program (I use MediaMonkey to encode files to ogg).
Hope this helps!
--jeroen
via: Best format to encode into?.
Posted in BASS.NET, Development, Media Streaming, Power User, Software Development, Un4seen BASS Audio Library | Tagged: 2 | Leave a Comment »
Posted by jpluimers on 2013/06/06
About 3 years old (it was at Devoxx 2009), but still a great talk at Parleys.com: Craftsmanship and Policy Presentation by Robert C. Martin.
It was announced as:
Is management ready for the tsunami of professionalism that’s on the horizon?
Enjoy this inspiring and enthusiastic Devoxx keynote by Uncle Bob.
–jeroen
Posted in Development, Software Development | Leave a Comment »