Java script on Remote Device? Piece of Cake!
Posted in the company, Coding, Blogs on June 25, 2010 at 3:09 pm
Long time no blog - I’ve been hugely busy as there was a competition to write an app for a new hand held thingy - I guess they see it as an iphone competitor so they want lots of Apps as selling point. How to get lots of Apps, cheaply and quickly ? Offer us daft muggins-iz a prize if we write one - sorry guys it was a closed competition otherwise I’d have invited you all in.
As this was on my time but I could use a bit of “slack” (joke) work time I’ve been up to my eyes day & night. It’s a shame that has left me too busy to write up what I’ve been doing because it has been quite interesting.
Most of the app is in Java Script which I have done a couple of dozen lines of before. Google for Java Script advice is like asking an Eskimo about snow - you get lots and lots but none of it simple enough to understand. It was quite fun really because it took me back to the bad old days.
To start with I don’t know the language, there isn’t any auto complete which I have got used to on stuff I don’t know - type class.m and MS Visual Studio C++ (or in VB / VBA) it will suggest all the methods starting “m” for that class, and show the parameter types - which helps if you are guessing what methods there might be. Also an F12 will take you to a class definition where you can read what methods there are - with maybe a comment about what they do!
Given I don’t know the language a bit of syntax checking could help - “error line 10 class doesn’t have that method” etc. Oh no, I’m back to type it, run it and if it doesn’t like it you get a blank browser! My tactic was to comment off lines until the error went away and then figure out what was wrong. Actually it was worse than that because with some errors the code would run up to that line and then skip out of the method - leaving bits of code un-executed but not telling you which ones!
Finally debugging - no debugger. Well not without installing a load of junk I didn’t want. So no break points, no examining variables, no tracing through executing code. I’ve worked that way before, you need a lot of patience and output debug strings. No out put debug strings - not without installing a load of junk I didn’t want. I ended up using an on screen text box to display debug messages.
Still, it all worked (by hook, crook or bodge) and is submitted so now I’ve got time to blog (between catching up on work and life) but not such interesting things to blog about!
Tab Napping Scam?
Posted in In the news, the web, Security, e-commerce on June 11, 2010 at 12:40 pm
I’ve been told that hackers can redirect a tab that has been left open so that although you navigate to a valid page, if you then switch tabs for a while and then go back and enter (say) your bank details the page is no longer the valid one and you’ve been scammed.
Sounds a bit far fetched but I haven’t seen any “it’s a hoax” information either - not on here or on snopes which is my usual first port of call when “I don’t believe it!”
Do your own search or check out http://www.techwatch.co.uk/2010/06/10/tab-napping-the-new-kind-of-phishing/
Getting all your Mail
Posted in Home, Blogs on at 9:30 am
I have a few different email accounts and collect them from several machines. I get a bit confused setting up outlook, live mail, outlook express, …
One thing I used to do was collect the mail for all names at my freeserve address -
dave@myaccount.fsnetco.uk, davef@myaccount.fsnetco.uk, tat@myaccount.fsnet.co.uk .
That way the kids could give out their own names and all the mail turned up in the one account, I could fill in web forms with an address and then see if I got spam from it and easily set up rules to bin it and any typos from friends did reach me -
dave.f@myaccount.fsnetco.uk / save@myaccount.fsnetco.uk / d*ckhead@myaccount.fsnetco.uk (I think the last one was a typo, don’t see quite how they did that though…)
However, at one stage I must have re-set up machines and forgotten to do that - in fact I remember being aware I was missing some mail and not being able to figure out how to get it. Yesterday I did figured it out, set up the server account name as myaccount.fsnetco.uk not dave@myaccount.fsnetco.uk - I just picked up 3000 mails to various typos, dummy names, spammers random addresses…. Which included the comment notifications to this blog - I did wonder where they had gone (sorry about my slow response to comments but you can see why now!)
If you do do this you should be warned that your spam volume will increase!
In any case it doesn’t seem to work with all servers, my other mail server doesn’t let me log in without specifying a full email address. As ever, advice is always appreciated
Cheap Weddings
Posted in Blogs, Facebook on June 7, 2010 at 9:06 am
I am horrified at the money people spend on weddings. Call me an old Scrooge if you will but it seems such a waste, and more importantly such a pressure on newly marrieds. Sex, money and relatives are supposed to be major topics for dispute in a marriage and a “big” wedding certainly covers two of those (”money” and “relatives” or you are doing something wrong).
I get spammed by lovemoney and it is a worrying thought that I actually responded to some of their spam - I clicked a link in an email, they’ll know it’s me and send more & more
However, a blog on how to have cheap but lovely wedding seemed a good idea.
http://www.lovemoney.com/blog/mybigfatfrugalwedding/how-to-have-a-cheap-but-lovely-wedding-3191.aspx?source=1000461
If it’s any encouragement to other “Scrooges” , our wedding was certainly on the cheap side but we have stayed married for the last 28 years which is more important than whether the invites were on hand pulped paper :Q
I’m not sure how IT can help with this but ideas are welcome. And no I don’t think an on line wedding would be a good option - though a web cast for guests who can’t make it would be OK!
Sexist ads
Posted in Games, Funny, media, language, Men and Women, e-commerce on June 2, 2010 at 10:37 am
I’m always ready to moan about PC - whether that’s Personal Computer or Political Correctness.
However before we had PC we had to deal our own cards at solitaire and had adverts (and attitudes) like this
http://www.icanhasinternets.com/2010/05/25-horribly-sexist-vintage-ads/
Tag cloud
Archives
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
Most commented posts
Highest Rated Blog Posts
- PC Advance Required (100%)
- No excuse - it's free to encrypt! (100%)
- Virtualization's Dark Side - or stating the obvious for beginners (100%)
- Tabs - I might change my mind? (100%)
- Which Linux do you drink? (100%)
- Sat Nag (100%)
- How to be a Guitar Hero (100%)
- Home working - a tale of freedom, loneliness and slippers (100%)
- Vertigo (100%)
- Is your back door open? (90%)

