Categories
Notes In 9

ummm can anyone help me with WordPress please?

So a little while ago I got some notification that my notesin9.com WordPress site was hacked.  I reached out to my host – dreamhost about it and just got back an automated message.  Rather disappointing to be honest.  The fact is I don’t know WordPress much at all.  I went to dreamhost because of their “easy 1 step install”.  Sure I could learn more I guess but I just don’t have the time.  I’m happy to be able to post and embed videos quite honestly.

I did ftp into my site and deleted the files highlighted below because they were clearly not supposed to be there, but I don’t know if that’s enough or what I should do to prevent this in the future.

I’d appreciate any help or advice on this!  Feel free to comment, email, skype, twit, facebook, call, smoke signal or whatever….

Thank you!

P.S. Big thanks to Stephanie for reminding me about this problem!!! I had kinda forgot about it due to the speed of life going on.

 

hacked

 

hacked2

Categories
Bluemix Podcast XPages

NotesIn9 186: XPages and IBM Bluemix Part 3

In this show IBM Champion Oliver Busse concludes his 3 part series on getting started with XPages inside IBM Bluemix.

Categories
Bluemix Podcast XPages

NotesIn9 185: XPages and IBM Bluemix Part 2

In this show IBM Champion Oliver Busse returns to talk more about using XPages inside IBM Bluemix.

 

Categories
Mobile XPages

Turn off Phone number Detection in iOS

Today I had a problem where iOS on an iPad was thinking some numbers where phone numbers when they really weren’t.  Normally that’s not the end of the world but in this case it converted the number to a blue link, and I was expecting it to be white on a dark background.  The blue made it difficult to read.

I quickly found these 2 links :

https://developer.apple.com/library/safari/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html#//apple_ref/doc/uid/TP40007899-CH6-SW1

https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193-SW5

Which detail the solution of adding a meta tag to the XPage.  But where do you add the meta tag in XPages?

There’s a couple ways to do it I think.  I don’t really do much with themes but I chose to go that route so it’s once and done for the application.  I found this blog post :

XPages – Theme – Add Meta Tag

which gave me all the information I needed to do this :

 

<resources>
 <metaData>
 <name>format-detection</name>
 <content>telephone=no</content>
 </metaData>
</resources>

Problem solved!  Thanks Ferhat for the blog post.  I tried to leave a comment while signed in as twitter and it didn’t work, so I figured I’d thank him here.

 

Categories
Bluemix Notes In 9 Podcast XPages

NotesIn9 184: XPages and Bluemix Part1

In this show, IBM Champion and all around awesome person, Oliver Busse returns to kick off a three part series on using XPages with IBM Bluemix.

Categories
Notes In 9 XPages

If you still believe in IBM’s “Backward Compatibility” you’re nuts.

Yes that’s a shocking title.  I almost NEVER do that.  But I wanted to get your attention so sue me.

I’ve seen a couple of remarks here and there about XPages and poor “backward compatibility” like we’re used to having with the Notes Client.

First thing to know.  In the Web / XPages world “Backward compatibility” guarantees are a thing of the past.  They’re done.  Get over it.

Second thing, and this is very important.  This is NOT IBM’s fault at all.

(Ok, well maybe on rare occasion it’s 5% their fault because some things would be nice if they knew ahead of time – cough iOS and Dojo)

If you want to stay in the Notes client then yeah ok, you could probably expect good backward compatibility.  But if you go into XPages and stuff forget about it.  It’s not going to happen.  There’s just too many moving parts.  dojo, ckeditor, different web browsers, different operating systems.  This is not IBM’s fault.  This is just a different world then the closed box Notes Client.

Case in point today.  I got news that my file upload system stopped processing pictures from iPads running on 9.0.2.  Well crap that sounds bad and gives me flashbacks of the last XPages / iOS issue.

After a full team press on this we discovered the problem. Then Declan found this post.

In iOS 9.0.2 if you upload from the iPad photo library the file type is “jpeg”.  This is a CHANGE from Apple.  Stupidly, if you upload direct from the camera the picture comes through as “jpg”.

So guess what idiot had this line of code :

if (this.smallType.equalsIgnoreCase(“JPG”)) {

yeah that would be me…

Changing it to :

if (this.smallType.equalsIgnoreCase(“JPG”)  || this.smallType.equalsIgnoreCase(“jpeg”)) {

Solved the immediate problem.

Now overall my code is not very robust.  It was a rush job originally and the amazing Devin Olson is currently doing the next version much better.

But we as developers need to learn how to test better. And we need to test more often.  And not just when a new version of Domino or a new version of the Ext. Library comes out.  But you need to test when mobile OS’s get updated.. desktop OS’s, etc…

And in addition to testing if you’re going to be running Web / XPages applications you MUST be able to stay on more current versions.  Everything else is changing around your app.  Your best chance really is ALWAYS run the latest and greatest. If your company isn’t willing to do that then they’re nuts! Gone are the days when you say “Works best with Internet Explorer 6”.

I do not know how to do automated testing.  There was  NotesIn9 #40 on Selenium  but I’m not sure that’s still valid.  I hear Selenium has problems if the id’s change as XPages is known to do.

If anyone has good testing strategies I’d sure be interested in hearing about it.

Categories
Notes In 9 Podcast XPages

NotesIn9 183: Thinking Different In XPages

Ok, this show is a little different. Well..  a LOT different.

In case you didn’t know, David Navarre runs an EXCELLENT blog at lostinxpages.com. He recently made a post that I thought was rather interesting :

Writing and speaking about your code might actually make it better

It should come as no surprise that I 100% believe in the title of the post. In that post David talks about a coding challenge that he recently had to deal with.

I began to comment on his post and once I realized it was going to get a little “long winded” I figured I’d just make a show out of it.  Lot less typos that way!  🙂

Anyway this show doesn’t really have a true “demo”, but I discuss his post and solution to his problem and then talk a little bit about a possible alternate solution and why you might want to consider that.

Big thanks to David for not only running a great blog and videoing sessions at MWLug but also being a really good guy!

Categories
Uncategorized

XPages Developers – are you allowed to use the OpenNTF Domino API project? Please answer.

I’ve been doing a lot of shows on NotesIn9 that deal with Java. I will be doing many more.  I’ve been doing this for 2 reasons.

1 – This is how I work these days.  It’s not the only way to make XPages applications but I personally believe it’s the best practice way.

2 – I’ve actually had a lot of people asking me for more Java content.  Either at shows like MWLug or via email.

Here’s the issue though.  When I do Java, I’m using the OpenNTF Domino API project.  This project is a BRILLIANT piece of work that makes life a LOT easier for development.  So far I’ve used this in all my shows.

BUT BUT BUT I am also hearing that not everyone is able to use the OpenNTF Domino API.  Let’s face it – you do need an Admin to get it on the server the first time. (By the way there are paid support options for that project in case you didn’t know – contact Red Pill Now or Intec Solutions).

So here’s my questions. And PLEASE comment as I really want to know.  And yes I mean you “lurkers” out there as well. 🙂

In your environment are you allowed to :

  1. Use the OpenNTF Domino Api?
    1. If not PLEASE tell me why?
  2. Use the latest XPages Extension Library from OpenNTF?

 

If you could answer and give me any details I’d really appreciate it.

P.S. This isn’t just for Developers.  If you are an Admin or consultant I’d like to hear your experience as well.

 

Categories
Uncategorized

NotesIn9 hits 63 hours of Free Video tutorials

I’m in the process of moving all my hosted video files to YouTube and updating the blog posts. Let me tell you this is a PAIN IN THE BUTT! But when it’s all said and done I should be able to cancel my video host account and save around $20 per month.

A little while ago, without my even asking, 2 people reached out to me to offer generic help. This was unexpected and meant a great deal to me as my websites and information is a mess and I’m just overwhelmed. Sadly I’ve been so busy and disorganized I barely have time to give them things to do.

However I recently did get some very key help from Tim Briley who gave me a key jumpstart in some video organizing needs. Thanks Tim! I can’t tell you how much I appreciate the assistance. Tim is helping maintain a database of show information. With his help I’ve now migrated the first 100 episodes to YouTube and updated, I believe, all the corresponding blog posts. The rest will be rather slow going as I’ve got to upload maybe 50 shows to YouTube.

But tonight I was looking at my completed master show list which has all the show times. So I thought I’d get them into a spreadsheet and see where we stand.

Assuming my math is accurate then NotesIn9 has now produced 221,760 seconds of shows or to shorten it 63 hours of videos!

Wow! 🙂

Big thanks to all the contributors who helped make this possible!!!

P.S. Once I get all this clean up done I hope to actually get back to producing more show! Oh to dream. haha

Categories
Community

IBM Champion thoughts – How to thank someone

It’s that time year again where you can nominate someone to be an IBM Champion. I’ve talked about this before on the blog.

You can find out about the program here. And you can go to this page to nominate someone.

Note: The nomination form is a little “daunting” to say the least. Just fill in what you know. You don’t need to fill in everything.

You’re supposed to nominate people based on their contributions for the last 12 months, NOT their “life time” contributions. For this and other reasons I always try to first nominate someone that has never been an IBM Champion. We have such a great community that there always seems to be new blood showing up and every group needs new people.

This year I’ve identified 2 people that, to me, have done some significant contributions over the last year. I believe that both, like me, are simply customers. That’s cool to me. They are:
@szavocki
Steve Zavocki – USA – @szavockihttp://notesspeak.blogspot.com
Johnny Oldenburger – Netherlands – @JOldenburgerhttp://xpagesandmore.blogspot.com

I’m not going to go into why I think they deserve their nominations as I think that’s up to you to decide on your own. I’ll just say that I’ve enjoyed their efforts and want to thank them for their time.

If you’ve benefitted from any community contribution in the last year, please consider nominating that person to be an IBM Champion.

Thanks

P.S. I don’t broadcast it much but I’m currently an IBM Champion as well. I was honored with that when the initial group was announced at conference in Las Vegas. So I’ve had a good run. I’m NOT here asking you to nominate me. NotesIn9 will continue regardless. Please first nominate a few other people before you even consider nominating me.