Quarantine in the life of a LC programmer

Want to talk about something that isn't covered by another category?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

simon.schvartzman
Posts: 466
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Quarantine in the life of a LC programmer

Post by simon.schvartzman » Mon Mar 23, 2020 1:55 pm

BEFOREAFTER.jpg
BEFOREAFTER.jpg (28.81 KiB) Viewed 4962 times
Stay safe and programming!
Simon
________________________________________
To ";" or not to ";" that is the question

bogs
Posts: 5120
Joined: Sat Feb 25, 2017 10:45 pm

Re: Quarantine in the life of a LC programmer

Post by bogs » Mon Mar 23, 2020 2:06 pm

BWWAAAAhahahahah, good one :D
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5849
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Quarantine in the life of a LC programmer

Post by jacque » Mon Mar 23, 2020 5:34 pm

:) My husband and I were just talking about this. My life hasn't changed much at all.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5399
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Quarantine in the life of a LC programmer

Post by richmond62 » 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)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 8430
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Quarantine in the life of a LC programmer

Post by FourthWorld » Mon Mar 23, 2020 6:41 pm

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.
Richard Gaskin
LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5399
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Quarantine in the life of a LC programmer

Post by richmond62 » Mon Mar 23, 2020 7:50 pm

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.

bogs
Posts: 5120
Joined: Sat Feb 25, 2017 10:45 pm

Re: Quarantine in the life of a LC programmer

Post by bogs » Mon Mar 23, 2020 8:43 pm

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
Image

SparkOut
Posts: 2408
Joined: Sun Sep 23, 2007 4:58 pm

Re: Quarantine in the life of a LC programmer

Post by SparkOut » Tue Mar 24, 2020 12:21 am

FourthWorld wrote:
Mon Mar 23, 2020 6:41 pm
telecommuting as a norm
"telecommuting as mainstream", and I'll give you that.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5849
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Quarantine in the life of a LC programmer

Post by jacque » Tue Mar 24, 2020 5:45 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5399
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Quarantine in the life of a LC programmer

Post by richmond62 » Tue Mar 24, 2020 6:33 pm

Thanks for that advice jacque. :D

bogs
Posts: 5120
Joined: Sat Feb 25, 2017 10:45 pm

Re: Quarantine in the life of a LC programmer

Post by bogs » Tue Mar 24, 2020 7:24 pm

For Richmond, maybe we should specify 'Roof' or 'Basement' (or 'Dungeon', now that I think of it....) :twisted:
Image

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3211
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Quarantine in the life of a LC programmer

Post by mwieder » 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.
Attachments
libCovidApi.livecodescript.zip
covid19 api library
(1.66 KiB) Downloaded 121 times

bogs
Posts: 5120
Joined: Sat Feb 25, 2017 10:45 pm

Re: Quarantine in the life of a LC programmer

Post by bogs » Wed Mar 25, 2020 8:09 pm

Very nice, Mark!
Image

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 655
Joined: Thu Nov 13, 2008 6:48 am
Location: London, UK

Re: Quarantine in the life of a LC programmer

Post by marksmithhfx » Sat Apr 04, 2020 11:32 am

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
macOS 10.15.7, Xcode 11.5, LC 9.6.1, iOS 13.6.1
Targets: Mac, iOS

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3211
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Quarantine in the life of a LC programmer

Post by mwieder » Sat Apr 04, 2020 8:42 pm

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

Post Reply

Return to “Off-Topic”