Category: Miscellaneous Apps and Services

Appfuse – width of web page

By Tom CTO, February 15, 2010 3:48 AM

Ok this took a ton of time to figure out.
Problem: I don’t like 800×600 pages. I have widescreen LCDs and many other people do too. I will check the stats which is a developer type site, and here which is more general and based on 32,000+ sites.

Edit the files:
./tree/src/main/webapp/styles/simplicity/layout-1col.css and change line 8 to 924 (1024 – 100 which is what it was set to initially). This will set the login.jsp menu to this width. Continue reading 'Appfuse – width of web page'»

  • Share/Bookmark

Appfuse – Test failure

By Tom CTO, February 14, 2010 7:44 PM

Sometimes the tests will fail because you have generated your classes in an order that does not support the tests.
For example, I have a Base class that is included as an attribute of another class. However, I had made a change in the base class and regenerated the code. This causes the file in ./tree/src/test/resources/sample-data.xml to generate the data in the wrong order. So what happens is that there are zero base class records in the table when the other class runs its test. This second class is, due to me regenerating the base class, now first in the sample data and first to be tested.

The fix:
To fix this, just move the data around in the sample-data.xml file. Poof no more Constraint problem.

Example pseduocode:
Class Communications {
Long uid;
Email email;
{ . . . methods . . . }
}
This Communications class is first in the sample-data.xml file because the Email class was generated second
Class Email {
Long uid;
String emailAddr;
{ . . . methods . . .}
}
So initially I had autogenerated the Email class first. Then made an addition to the email class’s attributes. Then regenerated it with
mvn appfuse:gen -Dentity=Email ; mvn appfuse:install -Dentity=Email
Did my fixup of the ./tree/src/main/webapp/WEB-INF/applicationContext.xml
Finally mvn test
So before the mvn test fix the sample-data.xml file and you’ll be fine.

  • Share/Bookmark

Appfuse – Extending your classes

By Tom CTO, February 14, 2010 2:45 AM

I had extended my Event class to include references to other objects. I also created @OneToOne annotations of them.
All of a sudden the tests wouldn’t run.
Well the problem lay in the sample data that is loaded into the table during the tests. I was referencing the appfuse User class. During the autogeneration of my Event class, it autogenerates three records into ./tree/src/test/resources/sample-data.xml . However, the original Appfuse where you did the quickstart from the main site, only outputs two User records.
So I added a third User record and everything fell into place and started working again.

Peace out.

  • Share/Bookmark

Appfuse – the next step

By Tom CTO, February 14, 2010 12:18 AM

Appfuse – personalizing the app
2/13/2010

Purpose:
Which files to edit in order to personalize the existing app for my company.

Remember:
App name is: tree
Company is: joroto.com
Source is in: Continue reading 'Appfuse – the next step'»

  • Share/Bookmark

Appfuse – quick start guide for newbies.

By Tom CTO, February 13, 2010 2:03 AM

Appfuse

Add classes to initial project creation

2/12/2010

Overview:

You have done the QuickStart to see if you can get everything to work. This article assumes you DID indeed get the initial project working. You’re excited and want to “add something” to that project and begin working on your own. You need to read through this with a clear head because there is a gotcha once you get past adding ONE java class file. Not sure why but there is a fix.

Ok here’s the scoop.

Use the videos for the tutorial. They’re up to date. The other tutorials never worked for me.

Continue reading 'Appfuse – quick start guide for newbies.'»

  • Share/Bookmark

Pasting text sends e-mail in Outlook

By John Boukis, February 2, 2010 12:50 AM

This happened to me using TPX remoting into an IBM 3390 mainframe and MS Outlook 2000.  I was usng <ctrl-c> in the green screen session and pasting into an e-mail in Outlook 2000.  The process must have capture additional keystrokes from the TPX session.  When I selected <ctrl-p> to paste in an e-mail, the e-mail was sent.  So, how to handle this?

1) Do not put in an e-mail address until you are ready to send.

2) Copy text from the problem application(s) and try pasting in notepad first, then copying and pasting again into Outlook.

3) Try using any available built-in copy function in the problem application, in my case it was TPX.  TPX has a “COPY” function that captures pure text, versus <CTRL><C> which does more of a screen capture from TPX.

Our business has since migrated to a different e-mail client.  I am not sure but it does not seem to be sensitive to this problem.

  • Share/Bookmark

the server did not provide a certificate during the session e-mail error

By John Boukis, January 21, 2010 9:41 PM

This is written for a user of The Bat! Adjust accordingly if your e-mail client is stating that your provider is not providing a certificate.

1) Go to the SSL link at your Internet Provider. If you are using secure e-mail, this is the POP3/SMTP link in your e-mail configuration.
example: http://host271.hostmonster.com/

2) Click on the “lock” icon in the web browser, or choose SAFETY/SECURITY REPORT, or figure it out for your browser. Continue reading 'the server did not provide a certificate during the session e-mail error'»

  • Share/Bookmark

Rhapsody stops playing in XP

By John Boukis, December 25, 2009 9:50 AM

[This article refers to Rhapsody software for Windows version 4.0 Build 5.209]

I have the latest Rhapsody software and Windows XP. Periodically Rhapsody stops playing music. I click on the song, and no indicator appears to indicate it is attempting to play. I think this is triggered by Windows XP going into standby mode, but I am not positive.

I wrote Real support and the brainless wonder response I got was to shut off all XP power saving features. I lambasted them but have not heard back, and do not think I will hear back in this lifetime.

I found a temporary fix:

1) CTRL-ALT-DEL
2) Shut down the process RHAPHPLR.EXE
3) Restart Rhapsody

At least it brings back the music pretty easily.

  • Share/Bookmark

Add a custom symbol to a field in Excel

By John Boukis, August 26, 2009 5:58 PM

I came across this method when attempting to add a percent (%) sign to my data without Excel multiplying all of the numbers by one hundred, as it does when formatting as a percent. I could find no way to just append a symbol to my data, except, for some reason only Bill Gates knows, there is a feature to add a custom currency sign to Excel. So these instructions add a custom dollar sign to the sheet, as though you are entering currency numbers from a country that does not use the dollar sign. However, the symbol can be any symbol you choose. Again, I will add a percent sign, because that was my mission for my customer.

I am working in Excel 2000. Hey, why upgrade? Any feedback on the options in later versions of Excel is certainly welcome.

INSTRUCTIONS:

1) Right click the field(s)

2) Select FORMAT CELLS

3) Select CUSTOM.

4) In the TYPE field, type this: ##.#[$%]

* Use your symbol of choice in place of the percent sign.

The pound signs represent the numbers in your data, so adjust the number of them before or after the decimal as necessary. The period is a decimal, of course. The bracketed expression is telling Excel that “In this country, we use a percent sign rather than a dollar sign.”

Now you can enter data, or paste number values (PASTE/SPECIAL/VALUES) from another sheet into these newly formatted cells, and
this:                          3.19
will appear like this:  3.19%
  • Share/Bookmark

The Matrix for the rest of us – Virtualization for the masses

By Tom CTO, August 7, 2009 10:21 PM

Ok I got one of those stinkin locked down Corporate PCs. Yep one of dem.
I wanted to put CentOS and my other Linux PC’s image (The one I used until the Corporate Execs caught me. Jack booted thugs).
Anyway I thought (stupidly of course) let’s give Microsoft’s Virtual PC a try. Nope. Choked and then spit it out. Not what a geek wants from his trusted minion.
Next up let’s try Sun Microsystems’ Virtual Box. Ahhhh bliss. A free solution to the “You’ll run what WE want whether you like it or not you cubitized pond scum”. LOL I now run Linux “underneath” the corporate package. Network is connected, I’m even sending to the corporate printers. Way cool. I thumb my nose at those dweebs.
Props for VMWare. I use it at home and it is truly seamless. I don’t run it on the corp PCs so that the suits won’t have even more cause to, umm, flush me. You can see by an other post that they work us hard. Some of us need not work as hard because we’re 10 times more productive than the other 100 mediocre programmers. So we skate and the manager’s lick our boots and think we ARE gods! Mwhwhahahaahahahaaaaaa

  • Share/Bookmark

udev is your friend

By Tom CTO, July 23, 2009 9:33 PM

I was solving yet another problem with deployment where we replace a printer with one interface (a parallel port /dev/lp0) with the same printer with a different interface (a usb port /dev/usb/lp0). Continue reading 'udev is your friend'»

  • Share/Bookmark

How to backup your Wordpress Blog

By John Boukis, July 11, 2009 3:13 AM

I post this, not because there are not a million other web sites that tell how to do this, but because they all tell me to go to “manage” and I do not see a “manage” function in Wordpress. Here is how to backup your Wordpress content:

1) Go to the ADMIN Panel – http://www.YOURBLOG.com/wp-admin Continue reading 'How to backup your Wordpress Blog'»

  • Share/Bookmark

Cannot login to LinkedIn after changing password

By John Boukis, July 5, 2009 4:10 PM

At LinkedIn’s login page I requested a password reset. I immediately received a secure URL to a password change page where I created a new password. Subsequently I could not sign in using this new password. After trying every e-mail address I have thinking I had screwed up, no dice. I actually found my original password. With theory in mind, I requested a password reset. I then Continue reading 'Cannot login to LinkedIn after changing password'»

  • Share/Bookmark

Monster.com going bye-bye?

By John Boukis, June 28, 2009 4:48 PM

BusinessWeek wrote about Monster.com’s competition and loss of business:

Recruiting: Enough to Make a Monster Tremble

A clear sign that a formerly super-successful dot com with a spectacular profit margin has turned into a typical Fortune 500 Company run by a myopic big city businessman: The CEO eliminated paper cups in the break rooms.

Newsflash:  Just like Monster.com replaced the newspaper, Monster better think completely out of the box in order to gain some new, currently unknown, advantage over its online competitors.

As I have worked for major corporations that have gone the same route, here is some advice Mr. Iannuzzi: Put the paper cups back. Not only is your business revenue hurting badly, but you just made all of your employees resentful.  These are the people whom you will rely on for innovation and superior service.

Mr. Iannuzzi, I have an idea for you to steal a very cool niche in recruiting. Contact us if you are interested.

JB

  • Share/Bookmark

Internet Pricing Exposed – Time for a personal domain?

By John Boukis, June 19, 2009 11:08 PM

Yet another sour deal:  In 2007 I was offered high speed DSL from AT&T Yahoo! for $24.99. At the time I said, “That is too low, they are going to raise the price in a year.” I was a little bit off. Almost two years later, and sure enough they raised the price five dollars. Of course I am not sure about the price because the phone company consolidates all costs (hides them) in one grand total on the bill. They must have gotten that idea from congress.

Just after seeing the price increase I was notified that AT&T will be dropping Usenet. Tom said this is a decision made solely to gain bandwidth. He is right (only because he is always right…just ask him.)

I feel like I am back in 1999 with Internet companies raising prices and dropping services.  (At least the constant, unexplained communication outages are not still a problem for me.)  Anticipating AT&T pulling another stunt in two or four days, I must look at my options. The only big problem with switching providers is changing my e-mail address. Whoop! Time to register a personal domain, select a permanent e-mail address, and update all of my contacts for the final time. I wonder if “tomslesserbusinesspartner” is taken? In any case, a personal domain can stay with a person forever. This is something I should have done ten years ago.

Registering a domain name is in the ten dollar range. Additionally, if one is already hosting a web site (joroto.com for example), they may be able to use the same hosting service for the new domain (tomslesserbusinesspartner.com). That means the additonal domain’s yearly cost is limisted to the registration fee, which is quite a bargain.

If you are not tech savvy, you should be warned that there is more effort associated with managing your own domain.  This is only moderately difficult, but if I can do it, you can do it faster and better.

Now  I am seriously considering the personal domain option.  Once I have an e-mail address established on my own registered domain, I can switch to any Internet provider, at any time, without having to worry about updating all of my contacts (hi mom!)

Just a thought for the day for the millions of you who just got jacked by AT&T.

Time to surf for a good responsive newsgroup server before AT&T cuts off Usenet on July 15th.  Ideas?

JB

  • Share/Bookmark

How to Edit Your Wordpress Blog with Adobe Contribute

By John Boukis, June 13, 2009 11:43 AM

As usual, this should be a process that a newbie could execute. In other words, open Contribute, point to your web site, type your login, and go. Of course, Contribute returns generic errors stating that it cannot connect, and so you (I) try every password in your password file. Well, here is the skinny on setting this up, and let me know if I missed anything.

This setup assumes you are hosting your own Wordpress blog, which does support xml-rpc. Edit the url or settings appropriately if you are using Wordpress.com or another protocol.

1) Turn on XML-RPC in Wordpress Continue reading 'How to Edit Your Wordpress Blog with Adobe Contribute'»

  • Share/Bookmark

Panorama Theme by Themocracy