Archive

Archive for July, 2013

Geekish Garrulous Grumblings blogs › Twenty years of Marriage

July 31st, 2013 Comments off
freedom joke

A woman awakes during the night to find that her husband was not in their bed. She puts on her robe and goes downstairs to look for him.

She finds him sitting at the kitchen table with a hot cup of coffee in front of him. He appears to be in deep thought, just staring at the wall. She watches as he wiped a tear from his eye and takes a sip of his coffee.

"What's the matter, dear?" she whispers as she steps into the room, "Why are you down here at this time of night?"

The husband looks up from is coffee  "Do you remember 20 years ago when we were dating, and you were only 16?" he asks solemnly.

The wife is touched to tears thinking that her husband is so caring and  sensitive. "Yes of course I do" she replies.

The husband paused. The words were not  coming easily. "Do you remember when your father caught us in the back seat of my car making love?"
 
"Yes, I remember" said the wife, lowering herself  into a chair beside him.


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › Stop spam users from registering drupal accounts

July 31st, 2013 Comments off

If you have a Drupal website then you will be well aware of the near daily battle with annoying spam trying to get a free ride of your sites visitors.

Obviously, I'm not talking about the delicious pinkish world war two meaty thing made of Pork, water, sugar and some starchy stuff... but instead, I'm referring to those annoying little people submitting links to their porn, holiday, credit card and dating websites.

I've tried Mollom, CAPTCHA, ReCaptcha, AntiSpam and just about every spam module out there over the years... but I do believe I have now found the right balance.

So if you're using Drupal then what modules do you need to download?

Mollom 7.x-2.7 Automatically moderates user-submitted content and protects your site from spam and profanity.

Mollom is an "intelligent" content moderation web service. By monitoring content activity on all sites in the Mollom network, Mollom is in a unique position to determine if a post is potentially spam; not only based on the posted content, but also on the past activity and reputation of the poster. In short, Mollom handles incoming posts intelligently, in much the same way a human moderator decides what posts are acceptable.


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › Is this it? Did Boris finally die?

July 25th, 2013 Comments off

An excruciating new chapter in the Book of Boris (no relation to The Book of Mormon)

Land Rover being TowedDriving to a client office today all hell broke loose on the dashboard... every warning light blinking, alarms sounding, star-trek doors whooshing open and closed and phasers set to KILL! Engine computer was reporting suspension failure, HDC failure, break failure, *everything* failure... after swearing loudly I managed to quickly pull into a Shell Station which was conveniently only a hundred yards down the road.

Boris quietly pulled up to a pump.. before spluttering and dying.

Insert Key and absolutely nothing happens.

Pop open bonnet (which is a hood to you Americans) and only a faint whiff of electrical burning smell. *gulp*

I'm typing this after it was towed off to a local garage for investigation.

*sigh*

If I had started numbering my vehicle breakdowns over the last two years I wonder if this one would have put me into treble digits?

 


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › CKEDITOR and JQUERY mismatch between versions

July 25th, 2013 Comments off

This week I have been mainly using ERPAL.

If you have no point of reference with 'The Fast Show' then just ignore this and read on...

So, I've been playing with Drupal and the wonderful ERPAL Project Management module this week - I found an annoying problem where I thought I was caught between a rock and hard place. It seems that CKEDITOR 4.x needs JQuery 1.5 to work properly. But JQuery 1.5 gives me problems with some older browsers that my client is using (IE7/8) so I switch to JQUERY1.8 and the site looks good in IE but suddenly CKEDITOR it not working. Aaaargh...

Luckily, by an act of extremely good timing, the latest DEV version of JQUERY UPDATE adds the ability to switch between JQUERY versions when in normal and administration modes. So, by downloading and installing the dev version from 2013-May-02 (http://ftp.drupal.org/files/projects/jquery_update-7.x-2.x-dev.tar.gz) this lets me specify a version for the main site and a older version when in ADMIN mode.

Once you installed the Update goto http://your-site.com/admin/config/development/jquery_update


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Alan Seiden Consulting: PHP and IBM i Expertise › High-performance PHP on IBM i this Tuesday (July 30, 2013)

July 24th, 2013 Comments off

For the first time, I’m teaching how to Let Your PHP applications fly on IBM i, including how to configure Zend Server for performance, diagnose bottlenecks, leverage unique IBM i performance tools, optimize DB2 and the IBM i toolkit, and improve performance of front-end javascript, style sheets, and the like. You’ll come away with knowledge that you can use immediately to improve your application’s performance.

I’ll be there to answer your questions. What’s more, the presentation will be archived for 60 days so you can review the material afterward.

What: PHP on IBM i performance eLearning event
When: Tuesday, July 30, 2013: three one-hour segments with two one-hour breaks, starting 11AM and ending 4PM (ET).
Where: Online
Cost: $150 (group registrations available)

Details and registration: http://iprodeveloper.com/let-your-php-apps-fly-ibm-i-high-performance-php

Questions: Get in touch with Alan

Other upcoming events from Alan:

August 22, 2013: At NESTU (user group in Fairfield, N.J.): “At ease! Relax your neck-back-shoulders at the keyboard”: A special presentation from Alan to help computer workers (such as all of us) avoid repetitive strain injury and stay poised at work. Fun and unusual.

September 9-11, 2013: COMMON Fall 2013 Conference and Expo in St. Louis, Missouri. The Premier IBM i event. I’m presenting 5 talks on PHP and web performance.

October 7, 2013: Full-day, in-depth PHP on IBM i Performance Workshop, 9:30-4PM (PT) at  ZendCon (the PHP conference). Register for both parts of this tutorial (room 6) for Oct. 7, and the full conference, which goes till Oct. 10, in Santa Clara, California. I’m presenting several talks on PHP for IBM i in addition to the full-day performance tutorial.

Alan’s event page: http://www.alanseiden.com/presentations/upcoming/

 


Read the original at Alan Seiden Consulting: PHP and IBM i Expertise.

Geekish Garrulous Grumblings blogs › bloody nails

July 18th, 2013 Comments off

Driving home and suddenly the dashboard lights up with warning lights telling me about a suspension failure!

"Oh No" I think "Not that bloody air suspension stuff I had replaced last year"

The lights continue to blink with various warnings to 'slow to 30 mph' and 'grip the steering wheel as tight as possible in case I explode into flame and roll down the road like they do in the movies' (not really... I made that one up... the one about 30 mph). But, anyway, when i had a chance to pull over and investiage I discovered things werent quite as bad as expected and the very clever engine computer had detected that it had suddenly lost air pressure in the rear drivers side tire. Blame this on one big fat nail:

oh dear

So, things aren't as bad as they could be and its time to spend an hour with Litten Junior and teach him how to change a tire on a Landrover   :0


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › Less haste and more speed

July 16th, 2013 Comments off

It's not often I blog about somebody elses blog... is that Blogging2?

But this morning I read this excellent article by John Donahoe, CEO of Ebay. Titled 'To Beat the Chaos, Take a Thinking Day', John explains that modern business often moves at such a pace, we find ourselves washed along in the frenzy of the tide. Taking time to step back, and review the global picture of what we are working on and what we have scheduled ahead might bring fresh insights.

I for one, am sometimes guilty of diving into the technical nitty-gritty of a project and hitting a wall at a later point. Often times, these walls could have been avoided if I had just stepped back and looked ahead on the 'virtual map of whats coming up'.

I really enjoyed reading this - smart advice:

One of the most under-discussed elements of effective leadership is how fast a leader must learn to stay at peak performance. Most successful leaders never stop learning. In fact, they are voracious learners who are always trying to find ways to improve and enhance their own performance and that of those around them.


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › SQLRPGLE getting a count with variable file name

July 12th, 2013 Comments off

Been having fun with SQL and RPGLE this afternoon... the question was "how do I find out if and how many Policy numbers exist in one of the Policy files at any given time?" So, this meant using a variable file name in the RPG code, with a variable policy number. Took some playing but it looks like this:

A Dynamic SQL statement with a variable file name in RPGLE

/free

wSelectStatmnt = 'Select Count(*) '
 + 'From ' + %Trim(wInpFileName)
 + cBlank
 + ' Where LsPol# = '
 + cSqlQuote
 + %Trim(IwPol#)
 + cSqlQuote;

exec sql prepare stmt from :wSelectStatmnt ;

exec sql declare C1 cursor with return to client for stmt;

exec sql open C1;

exec sql fetch C1 into :wNumClaims ;

Dsply wNumClaims;  

exec sql Close C1;

/end-free


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:

Steve Pitcher › Busy, Busy and Busy Still

July 10th, 2013 Comments off
It's been a while since I blogged anything.  I've been quite busy with a VOIP implementation and implementing IBM Connections on IBM i in my day job over the last few months.  Plus baseball season has started so I'm coaching two nights a week.  Prepping content for some fall conferences too. 

Most things I've written recently have come in the form of articles at MC Press Online so I'll point you there.  Just released today is an analysis of new features in IBM Notes 9.  Enjoy.

IBM Notes 9 is a Major League Release

DB2 BLU Acceleration: Who Wants to Go Fast?

IBM PureFlex Solution for IBM i Casts a Wider Net

Installing IBM Web Content Manager and Portal on IBM i

IBM i 7.1 Technology Refresh 6 Packs on More Muscle

PTFs: How to Manage Them and Why You Need To







Read the original at Steve Pitcher.

Categories: Blogs Tags:

Geekish Garrulous Grumblings blogs › Tweaking WDSC7 to run faster

July 9th, 2013 Comments off

WDSC7 is the coolest (free) editor for RPG/CL programmers on the IBM i operating system. We know that right? But it's still annoyingly clunky to use at times, Unless you free it up to use some more memory and let it run free... like a gazelle... even if its a little bit of a parky gazelle...

Increase WDSC memory allocation is as simple as this: Edit the configuration file at C:\Program Files\IBM\SDP70\eclipse.ini and increase the XX:MaxPermSize in eclipse.ini from 512M to something bigger... 1024M? 1512M? 2048M? I use 1512M and it works great so make your INI file look like this:

-vm

C:\Program Files\IBM\SDP70\jdk\jre\bin\javaw.exe

-vmargs

-Xquickstart

-Xms40m

-Xmx768m

-Xgcpolicy:gencon

-Xscmx96m

-Xshareclasses:singleJVM,keep

-Xnolinenumbers

-XX:MaxPermSize=1512M

 


Read the original at Geekish Garrulous Grumblings blogs.

Categories: Blogs Tags:
css.php