Mostly when I code, I use java,c# or sometimes php. But now and then I use python. Today I wanted to download some podcasts that I hadn’t listen to in a while. (Read the other posts to know why) So I wanted to do a bulk download, the mp3z were named like xxx010.mp and I wanted to download up to 30 or so.
I gave the pyhton commandline an go (been a while). How could I forget such a nice feature.
for x range(20):
copy paste it into a textfile and wget -i thefile.txt
Yesterday I was building a small webapplication for a client. The user had to enter a code to retrieve some data. So I added a Label, a TextBox and a Button. I wrote my code tested it and it worked. I wanted to show it to the customer and suddenly it didn’t work??
Hmmm strange, I tried it a couple of times, still the same. Then I did it step by step. I filled in the code, pressed the button and voila there was the desired effect?
What was the problem? Well it seems that in the internet explorer version I had, when I filled the TextBox and pressed the enter button instead of clicking on the mouse button, the event of the login button pressed didn’t get fired. Firefox on the other hand tends to do press the submit button if you do the same actions. So you are on a textfield, enter some data and then hit the enter button. It will press the real form button, if there are more than one (like you have in asp.net appz) you have to take notice that the right ones backend action gets submit.
How did I fixed this, simple just hooked op the OnTextChange event with the same EventHandler of the ButtonPressed.
So if you do asp.net dev, please do check your browsers and don’t only trust the debugging sessions with your iexploder.
Also if haven’t heared about it yet, you should really checkout the firebug beta plugin for firefox (It wasn’t available on my ubuntu using apt-get, so you should install it from the xpi!)
First off sorry if the title has spelling errors, English is not my mother tongue
I’ve got my new car radio installed and I can again listen to my precious podcasts. I can even connect a usb stick with podcasts on it \o/.
Yesterday I was listen to a binrev show. They were discussing security aspects and offshoaring. They were talking about an offshoaring to china that wen’t horribly wrong. A well known US car builder wanted to offshoar the assembly line to China. They contacted a Chinese company to handle this. They sent all the data for building the shops. The chinese company took the data and created there own assembly line and started producing their own cars, they were almost an exact copy of the cars they were building in the US, because the didn’t have to do any research they had cut a lot of costs. Combine that fact with the low wages and you can imagine why the car was incredibly cheap.
They tried to sue the Chinese company but the (Chinese) judge ruled in favor of the Chinese company (what would you expect).
Maybe call me narrowminded, but I see this as another good reason not to do offshoaring (or do it,but don’t move everything). If I’m not mistaken more and more companies are offshoaring their it development to other countries. I’ve got no problem with that, but if you do, make sure that you know what you are doing. If you offshoar everything those companies know exactly how your company works. If they manage your email systems, I bet they have almost enough data to create an exact copy of your local company and produce all the products you produce. They didn’t even have to do any research. Ok, if they did it theirselves you would know. But what if one of their employees has a usb stick of 10 gig and they take the data and sell it to a small competitor over there. You can be sure that some big supermarket in the western world will notice and start importing it.
I haven’t noticed the offshoaring of IT development that much. But I know some companies are doing it, offcourse it’s cheaper. But did they ever think about what impact this could have? Just imagine that google had offshoared the actual writting of their search engine to a Chinese company? Would they still be in the position they are in at the moment? I really doubt it!
In short, think before you do something (as always)