Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:09 06 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Sore elbow

Author Message
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 05:03pm 29 Dec 2016
Copy link to clipboard 
Print this post

I'm about half way through porting a Classic ASP based intranet system to PHP. The system was written by me over the last 10 years or so, its a web based business/workshop management application used by a few of my business clients.

I'm porting it to PHP to make it more future proof, and PHP will let me add a lot of extra features and functions. There are about 550 pages, each with from 100 and 2500 lines of code. Porting to PHP basically involves editing each line, from a BASIC like language to a Java/C like language.

Been at it for about 6 weeks. I guess I'm about half way through, got a bit of pressure to get it operational in a few weeks.

Problem is, my right elbow ( the mouse elbow ) is bloody sore! Normally I can only do about 4 or so hours a day working on code, but this port needs 8 plus hours a day, and I cant afford to take any days off.

Just wondering if any other coders have any tips on keeping the old organic bits functioning? Are heat packs or cold packs any help?

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 05:27pm 29 Dec 2016
Copy link to clipboard 
Print this post

Learning as many shortcuts in your favorite editor can help.
Instead of moving back and forth between keyboard and mouse you only use the keyboard.
As a fulltime programmer for the last 40 years that made the greatest impact.
Having a good chair that can support your arms on the right height also helps.

I am curious why you made the choice for PHP? I am about to embark on a similar task as i also need to port a website. My choice is ASP.NET/SQL Server (I am pretty good at C#) because it has the best integration with IIS and Windows Server.
.

Microblocks. Build with logic.
 
astroboy
Regular Member

Joined: 28/12/2014
Location: Australia
Posts: 41
Posted: 06:15pm 29 Dec 2016
Copy link to clipboard 
Print this post

Hi Glenn

I'm not really a programmer but I had trouble with my (right) mouse hand/wrist/arm a few years ago and tried switching to left hand for mouse. I thought it would be difficult but it wasn't at all. I suspect part of the problem was that the arm is further out away from the keyboard because of the number pad.

I agree with MicroBlocks about keyboard shortcuts.

John
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 07:22pm 29 Dec 2016
Copy link to clipboard 
Print this post

Using a mix of keyboard shortcuts and mouse. Using text replace where useful. Editor of choice is dreamweaver. I have tried swapping the mouse to the other hand in the past, while it worked, the speed was way down. I'm happy with my techniques, its just the quantity of code that needs editing thats the problem.

I was out earlier and picked up a cold pack, will give it a go tonight to see if it helps.

I've looked into Asp.net a few times, but I never bonded with it, seamed like a lot of extra code and less flexibility than I was used to. Classic ASP was dead easy to develop code in, and its popularity is still strong 15 years after Microsoft wanted us to stop using it. This forum uses Classic ASP. But its a old language, and lacks new features. Ruby was tempting as an alternative, but in the end I wanted to use a language with a strong community support, and cross platform compatible, and could be written in a style I was used to, ie, messy code.

So I'm migrating to PHP and MySQL. I've written a few sites using that combination, and am very happy with how easily it works on different systems. I can develop on my windows PC using IIS and MySQL, then upload to a linux server and it just works first time. Even functions like file uploading and image manipulation work without fuss cross platform. In fact I find php interacts with the Microsoft file system and Microsoft documents better than ASP does. Plus the PHP help community is great, lots of examples to work with.

So I made the decision to go with PHP and MySQL. No doubt there are other combinations that work as well, but this is my choice, and learning a new language needs a commitment.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 07:35pm 29 Dec 2016
Copy link to clipboard 
Print this post

Hi Glenn,

Having no idea what the conversion entails, is it possible to do global find and replace of sections of the code?

Kind Regards,

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 07:53pm 29 Dec 2016
Copy link to clipboard 
Print this post

Not really Mick. You can do a few simple one's like replace "response.write" with "echo", etc. But most of the chunks of code are specific to the task they need to do. And most of the commands in PHP look very different to ASP, eg

"for a=1 to 100" in ASP is "for($a=1;$a<=100;$a++){ " in php.

PHP does have a shorthand like format, but its harder to follow so I've decided to use vanilla PHP.

In some commands, ASP is easier, in other's its PHP.

Glenn

The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 229
Posted: 08:38pm 29 Dec 2016
Copy link to clipboard 
Print this post

Glenn,

How about trying PEMF (Pulsed Electro Magnetic Field) therapy. Look it up at http://www.pemft.org/ etc. or search PEMF on YouTube.

It can work very well on the sort of pain you have. I have a PEMF unit just going into production (with Zonker's help) using the MicroMite 170 chip. Zonker's wife is using one and likes it !!

Shoot me an email if you're interested.

I hope all Shed'ers had a Merry Christmas and a Happy New Year.

Lou
Edited by Gizmo 2016-12-31
Microcontrollers - the other white meat
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 11:08pm 29 Dec 2016
Copy link to clipboard 
Print this post

Lou removed the political comment in your post. Quickest way to alienate half the forum members is to let them know who you voted for.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2949
Posted: 11:19pm 29 Dec 2016
Copy link to clipboard 
Print this post

  Gizmo said   Quickest way to alienate half the forum members is to let them know who you voted for.
Glenn


What about Football teams?

Go the BOMBERS

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
ajkw
Senior Member

Joined: 29/06/2011
Location: Australia
Posts: 290
Posted: 12:16am 30 Dec 2016
Copy link to clipboard 
Print this post

Western Bulldogs for me thanks Mick.

A fine year it was.

And lets not forget about Footscray in the VFL either.




Apologies for getting off topic. Sorry I can't help with PHP.Edited by ajkw 2016-12-31
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 01:43am 30 Dec 2016
Copy link to clipboard 
Print this post

Yeah sports is fine, its friendly. Politics, like other sensitive topics, isnt.

Never heard of the BOMBERS? Is that a netball team?
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
n8mdl
Newbie

Joined: 11/08/2011
Location: United States
Posts: 11
Posted: 05:38am 30 Dec 2016
Copy link to clipboard 
Print this post

Aleve - it is the elixir of youth.

When that fails - vodka.

Happy New Year all!

Gary
 
bigfix
Senior Member

Joined: 20/02/2014
Location: Austria
Posts: 129
Posted: 06:04am 30 Dec 2016
Copy link to clipboard 
Print this post

Have a look at this page
Tennisarm page

I think it is the same problem with a "mouse-elbow"

rather simple exercises where you twist/stretch the arm in a certain way
It is in german with self explaining pictures - maybe google xlate helps

I had the problem years ago and it worked for me
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 09:58am 30 Dec 2016
Copy link to clipboard 
Print this post

When I started having a similar elbow/arm problem I took a board and placed it on my knees.
The mouse was used on the board which now has my forearm going downwards instead of up when the mouse was on the desk.

That helped a lot but I eventually went to the doctor who didn't help much.
I went to the physio who told me it was the shoulder and my shoulder joint was loose.
Lots of exercises, increasing in complexity over time and I have been able to put of a shoulder reconstruction for a while (hopefully a long while).

I can now use the mouse on the desk again.

Look up RSI

Jim


VK7JH
MMedit
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:16am 01 Jan 2017
Copy link to clipboard 
Print this post

Out of curiosity i picked up one of those home ultra sound units from the chemists a few years back. Very impressed at the ailments it relieves.

$40 from memory. Not wonder cure but it does work on some stuff.
 
greybeard
Senior Member

Joined: 04/01/2010
Location: Australia
Posts: 172
Posted: 02:54pm 01 Jan 2017
Copy link to clipboard 
Print this post

I've found that using the mouse right handed and holding my beer in my left hand sort of balances things out. It does kind of prevent me from getting in an entire 8 hours a day though
 
busa
Regular Member

Joined: 12/02/2015
Location: Australia
Posts: 81
Posted: 02:59pm 01 Jan 2017
Copy link to clipboard 
Print this post

  greybeard said   I've found that using the mouse right handed and holding my beer in my left hand sort of balances things out. It does kind of prevent me from getting in an entire 8 hours a day though


That would make both elbows sore wouldn't it??
 
Tim_the_bloke

Senior Member

Joined: 15/11/2009
Location: Australia
Posts: 105
Posted: 04:59pm 01 Jan 2017
Copy link to clipboard 
Print this post

Go see your GP doctor, then maybe have some imaging such as an ultrasoud, and maybe visit a physiotherapist. Treatment without diagnosis is like editing code you do not understand.
There are probably exercises to strengthen specific muscles in your wrist which could help.
I think of pain as an error message. Treating the pain may be just masking the error. Panadol is like On Error Resume Next. Pain is often like microsoft error messages, confirming there is an error but telling you the wrong cause. For example, a bad hip can cause pain in the knee.
Sometimes microsoft error message do give useful information, but I really like PHP because its error message usually accurately describe the cause.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025