I Hate Dialysis Message Board
Welcome, Guest. Please login or register.
November 24, 2024, 01:48:28 PM

Login with username, password and session length
Search:     Advanced search
532606 Posts in 33561 Topics by 12678 Members
Latest Member: astrobridge
* Home Help Search Login Register
+  I Hate Dialysis Message Board
|-+  Dialysis Discussion
| |-+  Dialysis: Spouses and Caregivers
| | |-+  How? How do we do this? How?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: How? How do we do this? How?  (Read 9922 times)
Cupcake
Full Member
***
Offline Offline

Gender: Female
Posts: 233

a good year for Chevys

« Reply #25 on: April 30, 2018, 07:02:20 PM »

SD did a course on Python? I thought that must be Monty Python. I guess I'm a ka-niggit!
Logged

PD for 2 years then living donor transplant October 2018.
Paul
Elite Member
*****
Offline Offline

Gender: Male
Posts: 1087


That's another fine TARDIS you got me into Stanley

« Reply #26 on: May 01, 2018, 12:57:46 AM »

SD did a course on Python? I thought that must be Monty Python. I guess I'm a ka-niggit!

 :rofl;

Python is on my list, after PHP (don't like PHP, much prefer Perl, but so much web software is written in PHP that I am beginning to feel I need to know how to program in that language).
Logged

Whoever said "God does not make mistakes" has obviously never seen the complete bog up he made of my kidneys!
Simon Dog
Administrator/Owner
Elite Member
*****
Offline Offline

Gender: Male
Posts: 3460


« Reply #27 on: May 01, 2018, 06:59:58 AM »

Python is on my list, after PHP (don't like PHP, much prefer Perl, but so much web software is written in PHP that I am beginning to feel I need to know how to program in that language).
The Udemy course I am taking (Python Bible at udemy.com) is taught by an Englishman, and cost all of $10.99.    Once you get past the first few lessons (which go very very slowly), the pace picks up and the course is pretty good.

PHP is more suited to web work than Perl - particularly the ability display errors and interleave plain HTML.    It won't take much time to learn one if you know the other.   This forum is written in PHP plus MySQL.  If you are going to learn PHP for webwork, its worth learning MySQL as well.
« Last Edit: May 01, 2018, 07:02:51 AM by Simon Dog » Logged
Paul
Elite Member
*****
Offline Offline

Gender: Male
Posts: 1087


That's another fine TARDIS you got me into Stanley

« Reply #28 on: May 01, 2018, 07:36:07 AM »

If you are going to learn PHP for webwork, its worth learning MySQL as well.

I'm struggling with MySQL at the moment (to use with Perl, as I already know that) I can speak a couple of computer languages, and I was even able to program directly in machine code, way back on older machines (ones that only spoke BASIC and machine code), but I am finding MySQL really hard to cope with. And because it is not really a language, it is so hard to debug if you make a mistake. Seriously want to go back to flat pack databases!
Logged

Whoever said "God does not make mistakes" has obviously never seen the complete bog up he made of my kidneys!
Paul
Elite Member
*****
Offline Offline

Gender: Male
Posts: 1087


That's another fine TARDIS you got me into Stanley

« Reply #29 on: May 01, 2018, 07:55:34 AM »

PHP is more suited to web work than Perl - particularly the ability display errors and interleave plain HTML.

Yeah but PHP is so much slower and resource hungry. Not a problem on small scripts but on big scripts (such as forums) it is a nightmare (take, for example, the script used on this forum - look at the online manual and see the list of things they advise you to "switch off" if you aren't using a server as big as the Earth Simulator). Perl is quicker, shorter, and uses less processor time for similar tasks (if programmed correctly).

Plus, Perl is more maths orientated, and the majority of tasks I have needed have required mostly maths (or it might conceivably be that because my brain is more maths orientated, it tends to come to mathematical solutions rather than other means).
Logged

Whoever said "God does not make mistakes" has obviously never seen the complete bog up he made of my kidneys!
Simon Dog
Administrator/Owner
Elite Member
*****
Offline Offline

Gender: Male
Posts: 3460


« Reply #30 on: May 01, 2018, 10:10:21 AM »

Python seems to be replacing Perl as the go-to scripting language, particularly for anything involving math.  The Python math library is extensive, and its data structures are very convenient.   It is hard to get used to indentation, rather than {} or if/endif to bracket loops and conditionals.

I've found PHP + MySQL to be very effective, and fast, in dealing with databii with millions of records and thousands of users a day.

Spend $12 for the class (price went up) and you can learn Python in a few dialysis sessions.

Quote
I am finding MySQL really hard to cope with. And because it is not really a language, it is so hard to debug if you make a mistake.
Not really.   Test your queries stand-alone before putting them in your code.    One of my apps has a bunch of 6 way JOINs and the MySQL queries do a lot of the work that would have to be done in code.  And then, there are the MySQL stored procedures if you really want a language.
« Last Edit: May 01, 2018, 10:12:29 AM by Simon Dog » Logged
Paul
Elite Member
*****
Offline Offline

Gender: Male
Posts: 1087


That's another fine TARDIS you got me into Stanley

« Reply #31 on: May 01, 2018, 11:13:36 AM »

Quote
I am finding MySQL really hard to cope with. And because it is not really a language, it is so hard to debug if you make a mistake.
Not really.

Yes, really. You are talking to someone who once wrote ten lines of database instructions, then spent three days trying to find the mistake that stopped them from executing!
Logged

Whoever said "God does not make mistakes" has obviously never seen the complete bog up he made of my kidneys!
aniawoman
Newbie
*
Offline Offline

Posts: 9

« Reply #32 on: June 09, 2018, 01:44:23 PM »

I totally understand what you are going through. While some people may find that positive thinking helps, I find that sometimes a person just has to have his or her pain and depression acknowledged.  I think that is is OK to feel discouraged some of the time.  A long time ago, a friend of mine told me that when she was depressed, she had a good cry and a cup of tea.  The important thing, she said, was to allow yourself to have the good cry. The tea alone didn't do anything. The moral of this story is that accepting that it is OK to mourn the loss of your dreams may help you reach a state of peace and a belief that there can be some good times, too.  And remember that others on this site are here for you and can give you support and encouragement when you need it. 
Logged
Pages: 1 [2] Go Up Print 
« previous next »
 

Powered by MySQL Powered by PHP SMF 2.0.17 | SMF © 2019, Simple Machines | Terms and Policies Valid XHTML 1.0! Valid CSS!