|
|
|
|
 Thursday, January 13, 2005
|
MVP Patrick MacKay down in Chile has finally gotten his Spanish primer on encryption up on the MSDN site. Check it out here: Desmitificando la Encriptación (Parte I). Not to boast or to brag, but I drew the little face that's used to show off the cipher modes :).
|
|
Security
|
Thursday, January 13, 2005 5:53:55 PM UTC
|
Trackback
|
 Wednesday, January 12, 2005
A while back, we were looking for some training courses on BizTalk and Commerce Server. We emailed the local New Horizons training centre, asking for info. They offered us:
“Bistalk Server, y otra en comerse Server 2000.“
Bistalk? comerse Server? Oh joy. We responded asking for prices, and explaining the correct spelling. Their response:
Dear Mr. XXX delay of its news, If has left it is possible that it can send its data to me of I telephone to be able to communicate with its person and power to me to have a direct contact but. until soon.
To this day, I'm not quite sure exactly what he meant.
|
|
Guatemala | Humour
|
Wednesday, January 12, 2005 8:20:24 PM UTC
|
Trackback
|
|
I was configuring my router (my all-purpose Linux machine) to use both of my Internet connections, specifically to route my data and voice over separate connections, so I don't have to deal with QoS issues.
I tested both lines, and noticed the Convergence line seemed to have a bit less latency, so decided to go with that. But, I also noticed that there seemed to be some packet loss, moving around between 3% and 8%. So I phoned Convergence and explained I have a problem. I was asked how fast my downloads were, but told the tech that the issue was there was a lot of packet loss: 5% I said. “And the problem is?” He insisted that 5% is very acceptable and good.
After pushing him for a bit, he says that they have up to 8%, and they consider that to be fine. He went on to explain that cable is just like that. I don't know what these guys are smoking, but this is the stupidest thing I've ever heard. When Convergence bought Cybernet, I think they didn't realise what a horrible infraestructure they had. But it's been years now, plenty of time to fix things.
I'm going to play with the modem and see if I can increase it's power or something that will reduce loss. It's an old 1997 Zenith modem -- anyone know anything else about these kinds of issues?
|
|
Guatemala
|
Wednesday, January 12, 2005 8:14:31 PM UTC
|
Trackback
|
 Saturday, January 08, 2005
|
You know you're gonna have a fun time trying to figure out configuration settings when the user manual for your phone start off with this:
Congratulations on your purchase of the product. Please read the manual carefully to ensure your phone work in best status.
Security and Notes:
◆ Don’t use it in chemical plant、gas station or near the exploder place.
I have to say, I was really disheartened when I read that. I was really looking forward to using my phone near the exploder place! I guess I'll have to find some equipment that IS safe to use in the exploder place.
|
|
Humour
|
Saturday, January 08, 2005 1:21:15 AM UTC
|
Trackback
|
 Thursday, December 30, 2004
|
It appears as if Microsoft's Windows Media DRM protection sucks in yet another way. Some evil people are using Windows Media files to open popups, which then try to confuse users into installing spyware and so on. I can imagine that perhaps this is even by design (when you try play protected media, it wants to send you to a website so you can purchase a license).
Some companies are now trying to trick users into downloading these files, and then take advantage of the extra confusion since the Windows open from WMP (”What the... I have to click this? Huh? Must be related to this new Windows Media Player...”).
While this “hole“ isn't *that bad*, since, AFAIK, all it does is fire up a browser (ok, that can be pretty risky, depending on the circumstance, and perhaps it can easily be used to escalate?), why is this even happening in the first place?
1: Microsoft builds DRM into it's media system, even though no users are asking for it. 2: Microsoft then turns ON these features by default -- features that connect to arbitrary sites without the user doing any action remotely related to Internet access. 3: User gets burned, and some crafty devil-developers are happy.
How is this good? If MS would just wake the hell up and do what's right, instead of continuing to cater to media executives, we'd all be a lot better off.
|
|
Security
|
Thursday, December 30, 2004 10:55:54 PM UTC
|
Trackback
|
|
I use a Fedora Core 2 machine for a lot of my development work (well, mainly compiling and running, since I develop, when possible, with VS 2005). I've found the desktop to be generally usable, if perhaps a bit unstable (I'd say Gnome on FC2 hangs just as much as IE does on XP, which is pretty often).
Sometimes I use IRC. I've realised that mIRC *really sucks*. Especially when I try to get it working with Korean input. Pretty much everything makes it hang (full CPU usage). Apart from that, it's just not that nice. However, mIRC combined with AppLocale is the only IRC client I've been able to work with Hangeul input and display.
At any rate, I've been using X-Chat for a while on my FC2 machine. It seems far better. Today I wanted to go into a Korean chat room. Hmm, shouldn't be hard right? Somewhere I should be able to click something and get a Korean IME... right?
So I searched. And asked. And read lists. And downloaded and installed a lot of RPMs. And I'm still no closer to getting any CJK support at all. Apparently whoever develops this stuff didn't think that 'foreign' language input should be that easy. The closest I came to getting any decent info was some Japanese guy basically saying that the Gnome/FC2 people are dumbasses for not getting this working right and easy.
Maybe it's just me. Maybe I just really don't know how to use computers and figure things out. At any rate, it's just nice to see such solid reminders of why MS shouldn't give a damn about “Linux on the desktop” coming to steal their users away.
For what it's worth, getting pretty much ANY input method installed on Windows XP is this simple: Start -> Control Panel -> Regional and Language Options -> Details -> Add. That's it. Maybe you'll have to insert the CD and reboot. After this, you'll get the Language Bar, and can flip between IMEs till your heart's content. Considering this isn't anything so revolutionary or new, but a simple, “boring“ core functionality item, you'd think that the desktop linux people would have it down solid by now eh?
|
|
Korean | Misc. Technology
|
Thursday, December 30, 2004 12:09:02 PM UTC
|
Trackback
|
|
Well, I guess my cross-platform development bliss had to come to an end sooner or later, right? I started work on a new app for Asterisk, and found that ASP.NET would come in handy.
Visual Studio 2003 requires IIS to work with web projects. Maybe I can trick it into using XSP, but I'm really, very, happy with VS 2005, and I don't want to go back. So, what are the problems with 2005? ASP.NET's new drug-induced compilation model.
Before, I could build my app with codebehind, compile, and go on my merry way. The DLLs are loaded at runtime, things are good, and most importantly, they work with Mono/XSP. Now, I've got several problems. First, it doesn't seem like the ASP.NET 2 support is in Mono. That's fine, I'll stay away from master pages (even though it hurts), and other new stuff. My biggest goal is to use VS 2005.
Then comes the real problems: There is no more “compile“ option in VS 2005 for web projects. Nope. Seems like the ASP/VBS and PHP whiners got their way and wanted things more like a scripting language. Some huge advancements were made (no more stupid IIS screwups). But I can no longer work as before. Which means I can't deploy as before. There's a precompilation system, but it's not what I want.
I can't even do it with runtime compilation either, because of this partial class and “compiles with“ nonsense. So it appears as if I'm screwed. Anyone have any suggestions?
|
|
Code
|
Thursday, December 30, 2004 12:30:26 AM UTC
|
Trackback
|
 Saturday, December 25, 2004
|
Well, I'm heading off to my parents' place, and my in-laws. And of course, what better way to celebrate than with kilos of powder! This year has surpassed every other in terms of aerial payloads. For less than $8, one can buy rockets with about 1kg of gunpowder. Some people have been launching these every day for the past week or so. They set off car alarms blocks away, and the diameter of the burst is probably about 20 metres? I suck at estimating sizes and weights, so maybe it's 50m. Or perhaps 5 cm. At any rate, it's big.
Last year we set someone's roof on fire in our fire-induced bliss. But to be fair, it was their fault since they never clean their roof, and it had lots of dry, dry, pine needles on it.
I bought a “Christmas Basket” for our security guards here. I'm not sure what gift baskets in other countries have, but here it contained this:
- 1 litre of rum - 1 can of “Vienna” hot dogs - 1 bag of large marshmellows - 1 box of crackers - 1 box of brie cheese - 1 can of SPAM
I'm not sure what the continuity is here, but they seem to sell quite well.
Anyways, happy times to all, and if I don't blog for a few weeks, it'll be because my brother wasn't joking when he said he wanted to launch a shell horizontally. That, or I was attacked by a drunk with a can of SPAM.
|
|
Guatemala | Personal
|
Saturday, December 25, 2004 2:07:06 AM UTC
|
Trackback
|
 Wednesday, December 22, 2004
 Monday, December 13, 2004
|
Microsoft finally has a decent desktop search: http://toolbar.msn.com/desktop/results.aspx?FORM=PCHP
First impression: Why MSN? Why oh why? I really dislike MSN. They insist on sticking their damn butterfly all over the place, and feel the need to add tons of links to useless content I don't want to see (while still no equivalent of Google Groups, as far as I can tell). I don't wanna see a damn butterfly and links to dating inside of Outlook! I hope this just a temporary fix until Windows/Office get their search fixed up. And, the place you'd really expect and hope for integration is not there: Searching IM history. Duh.
Microsoft's using the usual tactic to promote their lame offerings by forcing them along with something you actually want. I won't say it's wrong. It's probably good for business. But I sure as hell hate it. But, I guess that's the price you pay when another division cleans up for someone else.
Oh yea, they ignore guidelines, and put a bloody shortcut on your desktop without permission. I guess they thought that even with having it automatically added everywhere else, you might *still* have problems starting it. Sigh. Even MS can't listen to MS guidelines. Oh wait, this is MSN, nevermind.
The deskbar is a nice idea, but unfortunately, having another band on my desktop really sucks (since it takes the full verticle space, wasting lots of precious taskbar space). And, unfortunately, the hotkey to start search doesn't work if the band is closed. Sucky.
A workaround is to simply disable the MSN Toolbar (lameness incorporated), Outlook integration, and deskbar. Then, go into your start menu, right click the MSN Desktop Search, and assign a shortcut. Enjoy searching without cluttering up your apps.
Apart from MSN's spam-like tendencies, it's a good solid offering. MSN shows some of it's MS-ness here:
- Awesome UI. The deskbar is really cool. Not worth the space loss, but almost. The search results go right the program -- no browser nonsense.
- Network indexing!!! YEA. Now I can search the source on my Linux development machine easily.
- Outlook-integrated search (right where I need it).
I'm really happy with it. What I really want is Office and Windows to integrate this into their products, rather than having it be a big MSN orgy.
At any rate, I've already said goodbye to Google Desktop. Yey!
|
|
Misc. Technology
|
Monday, December 13, 2004 6:27:43 PM UTC
|
Trackback
|
|
Christmas is quite a bit of fun down here. Contrary to what some believe, it does get somewhat cold here, since we're at an elevation of around 2000 metres. However, what makes it *cold* is that the idea of insulation is a foreign concept to most houses. Thus, even though it's only “rather cold“ out, you can feel the coldness right through the house. I've got a little electric heater in my computer room (2 Pentium IVs and four routers aren't enough) to keep my hands from freezing.
Apparently there is a legal issue with selling real trees (”Pinabete” -- Fir or Spruce I'm guessing), some kind of ban. But that doesn't stop people from selling them. Instead, to get around the law, they cut up the tree, and then staple the branches to a piece of wood to get around the law (since they're no longer selling a “tree”). It's done quite well, and besides the fact that they get a bit dry after a while (even so, we had ours up for 4+ months last year), you'd never notice.
Some people are surprised to find that fireworks are used (almost exclusively) during the Christmas season. Christmas Eve, at exactly midnight (well, then it's be Christmas Day) everyone lights off tons of firecrackers and fireworks of all sizes. Then the do the same thing 12 hours later. The amount of firepower you can buy for pennies is quite impressive. Seriously, with a few cents, you can buy something big enough to blow a hole in a block wall. For about a dollar, you can get a pack of whistlers: small (8cm?) hollow plastic tubes filled with gunpowder that scream off as mini-rockets -- or blow up in your hand. Fun for the whole family.
This year, it seems as if a lot more people are buying aerial shells, the kinds you'd expect to see at a “serious” firework display. I've bought them every year I've been here. Playing with that kinda firepower is so much fun, since getting ahold of that stuff in u.s. or Canada is a bit of a challenge (well, if you come from any decent state :P). At any rate, pretty much every night we've been treated to some fantastic aerial display by some neighbours. Some of them are really quite huge, and I've heard more than a few car alarms go off because of the explosions.
With all this commotion, some people might think that Christmas would be quite a bit different, and surely it is. It's certainly a much more festive affair than in other places. However, the fireworks aren't as distracting as they might sound like at first. Indeed, hearing the deep sounds of the shells going off, the whistlers and firecrackers in the streets just reminds you that there's a lot more people around you, celebrating too.
|
|
Guatemala
|
Monday, December 13, 2004 1:33:17 AM UTC
|
Trackback
|
 Saturday, December 11, 2004
|
Sometimes people talk of diversity as if striving for the utmost diversity is somehow going to bring a huge benefit. Somehow, the “higher” the diversity, the “better” things get. Sure, there's obviously some value into having different points of view, different methods, etc. And perhaps, more times than not, valuable information is not discovered because of too closed a point of view. OTOH, extreme diversity is not a boon. It's incompatibility.
Every now and then, I'll read about how Guatemala is so culturally rich because there's 20+ dialects of the Mayan language. I've seen a lot of people say this is a beautiful, positive thing. Yes, some people actually try to justify 20+ mutually intelligible dialects in a small country as a GOOD thing. Of course, most of the times they don't actually know any of the languages.
In fact, it gets taken even further. The government down here pushes “bilingual” education. At first, I thought that was great -- teach the kids Spanish and English so they'll have valuable skills. Nope. Instead, they're teaching math in Mayan. Thus, they'll have a hard time finding better jobs, working with society, etc. In fact, some of the indigenous people in the villages where my parents work think that their kids are being taught this on purpose to keep them back. I.e., they *want* to learn in Spanish (and other popular languages), since they know it'll help them. So, this kind of thinking does indeed limit them from getting ahead. I suppose proponents will take pride in noting that their “culturally rich”. Sigh.
|
|
Guatemala
|
Saturday, December 11, 2004 5:39:28 AM UTC
|
Trackback
|
 Friday, December 10, 2004
|
Bill writes about his bad experience with Activision. So, Activision loses a customer. Not only that, but they turn their real (and anti-piracy) customer to “illegal” methods of cracking their games. So, basically they're telling Bill that he's not valuable enough to offer a decent experience to, and that again, the pirates and cracking groups (always portrayed as evil thieves) are the only ones who can help him.
|
|
Misc. Technology
|
Friday, December 10, 2004 1:24:45 PM UTC
|
Trackback
|
 Thursday, December 09, 2004
|
I'm putting XSP into production this week (yey, right on time for Mono 1.0.5). For those who don't know, XSP is a lightweight ASP.NET webserver for Mono (.NET). I have a few webservices that need to run on Linux, and XSP seemed like the easiest way to do it.
One of the things I ran across was how to start up XSP automatically. I'm not that familiar with Linux yet, so I wasn't sure how to go about it. The only site I found with anything on it is here, but it didn't work correctly (shutdown) for me. So after playing around with other scripts made for mod_mono (didn't work), I decided to figure out how init.d scripts work. After a bit of learning and lots of copy and paste from the other init.d files, I came up with the following. I'm pretty sure it's not that great, so please correct me.
Steps: 1 - Create /etc/init.d/xsp and paste the contents in (from below). Be sure the permissions are right (chmod 755 /etc/init.d/xsp). 2 - Create /etc/xsp.conf and add the command-line args. Example: --port 8080 --root /path/to/site/ 3 - Run chkconfig --add chkconfig 4 - service xsp start
/etc/init.d/xsp: #!/bin/bash # # Startup script for xsp server # # chkconfig: 3 84 16 # description: xsp is a asp.net server # ARGS=`cat /etc/xsp.conf | grep -v \# `
. /etc/init.d/functions
start() { echo -n $"Starting xsp: " # Check PID/existence pid="" if [ -f /var/run/xsp.pid ] ; then read pid < /var/run/xsp.pid if [ -n "$pid" ]; then rm /var/run/xsp.pid else echo -n $"xsp is already running." failure echo return 1 fi fi
mono /usr/bin/xsp.exe --nonstop $ARGS > /dev/null & RETVAL=$? if [ $RETVAL != 0 ]; then failure echo return $RETVAL fi PID=$! echo $PID > /var/run/xsp.pid success echo return 0 }
stop() { echo -n $"Shutting down xsp: "
if [ ! -f /var/run/xsp.pid ]; then echo -n $"xsp not running" failure echo return 1 fi
kill -15 `cat /var/run/xsp.pid` RETVAL=$?
if [ $RETVAL = 0 ]; then rm /var/run/xsp.pid success echo return 0 else failure echo return $RETVAL fi }
restart() { stop start }
case "$1" in start) start ;; stop) stop ;; restart) restart ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac
exit $?
|
|
Code
|
Thursday, December 09, 2004 6:33:30 AM UTC
|
Trackback
|
 Wednesday, December 08, 2004
|
MVP Valery just wrote a cool little utility to assist people running as non-admin. A little key icon that sits in your notification area, and allows you to escalate your privs. Similar (in some ways) to how Gnome handles running admin things. Very nice.
|
|
Security
|
Wednesday, December 08, 2004 12:19:10 PM UTC
|
Trackback
|
|
|