Page 1 of 3

Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 1:55 pm
by simon.schvartzman
BEFOREAFTER.jpg
BEFOREAFTER.jpg (28.81 KiB) Viewed 4963 times
Stay safe and programming!

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 2:06 pm
by bogs
BWWAAAAhahahahah, good one :D

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 5:34 pm
by jacque
:) My husband and I were just talking about this. My life hasn't changed much at all.

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 5:56 pm
by richmond62
What it means for me is that I'll spend my life talking to "little twonkums" on Zoom and what-have-ye for my EFL classes, and because
my school has been shutdown I won't be able to split my day up into School versus Home-and-Programming.

This is not going to be easy. 8)

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 6:41 pm
by FourthWorld
This moment in history may present us with a significant opportunity to help:

Many of us have daily work routines largely unaffected by the pandemic, and as software developers we can contribute collaboration tools that fill in niche gaps that help business transition to telecommuting.

As an example in just one corner of this, now that we have a good WebDAV library in our community I'm looking into ways LC can provide an excellent user experience for vertical SMB markets with Nextcloud as the back end.

As we all look around at the landscape of vertical niches, the ways we can help many types of businesses stay open are nearly limitless.

In the long run when all this is over, we may even see a transition to telecommuting as a norm, saving office space, transportation costs, infrastructure impact, commuting stress, and more, across industries that hadn't seriously considered it before.

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 7:50 pm
by richmond62
We are ALL going to get fat if we are not careful: the lack of physical exercise boxed up for 2-4 months
may do almost as much damage to us at the virus.

Re: Quarantine in the life of a LC programmer

Posted: Mon Mar 23, 2020 8:43 pm
by bogs
richmond62 wrote:
Mon Mar 23, 2020 7:50 pm
We are ALL going to get fat if we are not careful...
For some of us, it is far too late already... Image

Re: Quarantine in the life of a LC programmer

Posted: Tue Mar 24, 2020 12:21 am
by SparkOut
FourthWorld wrote:
Mon Mar 23, 2020 6:41 pm
telecommuting as a norm
"telecommuting as mainstream", and I'll give you that.

Re: Quarantine in the life of a LC programmer

Posted: Tue Mar 24, 2020 5:45 pm
by jacque
richmond62 wrote:
Mon Mar 23, 2020 5:56 pm
What it means for me is that I'll spend my life talking to "little twonkums" on Zoom and what-have-ye for my EFL classes, and because
my school has been shutdown I won't be able to split my day up into School versus Home-and-Programming.

This is not going to be easy. 8)
I had to figure this out years ago and it isn't hard once you get used to it. It's critical to have a work space separate from the rest of the house. It doesn't have to be fancy, a corner will do, the important part is that this space is for working and nothing else, much as your school building is. Family members must agree not to disturb you when you are there. Set specific hours for work and, as much as possible, leave the area when work is done.

That's the main idea. Adjust it to fit your circumstances.

Re: Quarantine in the life of a LC programmer

Posted: Tue Mar 24, 2020 6:33 pm
by richmond62
Thanks for that advice jacque. :D

Re: Quarantine in the life of a LC programmer

Posted: Tue Mar 24, 2020 7:24 pm
by bogs
For Richmond, maybe we should specify 'Roof' or 'Basement' (or 'Dungeon', now that I think of it....) :twisted:

Re: Quarantine in the life of a LC programmer

Posted: Wed Mar 25, 2020 7:58 pm
by mwieder
Here's a quick script-only stack library I threw together to access up-to-date worldwide covid-19 information from Johns Hopkins.
Stay safe out there.

Re: Quarantine in the life of a LC programmer

Posted: Wed Mar 25, 2020 8:09 pm
by bogs
Very nice, Mark!

Re: Quarantine in the life of a LC programmer

Posted: Sat Apr 04, 2020 11:32 am
by marksmithhfx
mwieder wrote:
Wed Mar 25, 2020 7:58 pm
Here's a quick script-only stack library I threw together to access up-to-date worldwide covid-19 information from Johns Hopkins.
Stay safe out there.
Hi Mark, nice API. I hadn't used a script-only stack before so I tried the simplest API call I could find (I think) which was covid19.countries(). As you know, it returns a ton of text which one can wrangle into some sort of human readable form. But before I attempt that, I thought I would just check to make sure I am not missing something obvious. The first line of the text appears to contain a template documenting the rest of the file. In this case,

[{"Country":"","Slug":"","Provinces":[""]}

My question, can that template be used in some way to "prettify" the remainder of the document or is this down to lots of basic string manipulation commands.

Cheers, and thanks. I am using your API to get my hand back into LC, and also into script-only stacks (this being the first one I've worked with).

Mark

Re: Quarantine in the life of a LC programmer

Posted: Sat Apr 04, 2020 8:42 pm
by mwieder
Mark-

I'm not seeing that header. What I get back from the Covid19.countries function starts with

Code: Select all

[{"Country":"Portugal","Slug":"portugal","ISO2":"PT"}
...and yeah, you're basically on your own to prettify the output. I'd try grabbing the easyjson or fastjson libraries from github, use the library to convert the JSON object to a LiveCode array, and work from that.

Code: Select all

https://github.com/luxlogica/easyjson

Code: Select all

https://github.com/bhall2001/fastjson