Paul "Pablo" Croubalian

7 years ago · 5 min. reading time · 0 ·

Blogging
>
Paul blog
>
Fun, Games, and Caffeine in Start-Up Land, Part Deux

Fun, Games, and Caffeine in Start-Up Land, Part Deux

Vr

 

Blog Poets

About the Author

I'm a ghost but not the kind that's to pottery
wheels I'm the wnting kind

Toften wonder if Im a tech-savvy writer or a
writing-savvy technologist Maybe I'm both. As
one CMO put it, "Paul makes tech my bitch!
That might be going a hittle too far

QbeBee *04:17 GMT-5, (Montreal): I snap to full wakefulness from sound sleep. I can feel the adrenaline coursing through my veins. My heart is pumping hard. It's oxygenating muscles getting them ready for action. My senses are sharpened. I've sharpened down to a pinpoint focus. I'm in full-blown fight or flight mode. 

My natural inclination leans towards Fight. 

I reach under my bed for my anti-burglar kit. First, I get my billy club. It's an 18-inch long, 1.5-inch thick dowel of hardened maple (Canadian, of course) with a strong elastic affixed to the base. 

I slip my left hand through the elastic and force it up to within a few inches of the other end. It takes effort. That elastic is strong!

Loosening my grip will shoot the billy club forward with great force. I've dented sheet metal with that thing. The billy is painted dark grey. It's hard to see in dim light.

A hunting knife with a razor-sharp 8-inch blade slips into my right hand. I hold it blade down, edge out. I press the blade's back firmly against my forearm. The business end can snap out from invisibility with a flick of the wrist.

A seeming missed punch delivers extreme consequence. 

Surprise is my friend. Let the burglar deal with the unexpected as best he can. Hey, I didn't ask the guy to break in. Tough luck for him.

Lest you think I'm some sort of wild man, let me assure you I am not. Over the years, I have had 3 burglaries while I was home. I also had 1 attempted home invasion.

They were all scary.

The first was scarier for me than the burglar. The rest got more than they bargained for. 

The way I figure it, if someone breaks in while the homeowners are home, they're ready for trouble. 

It's better to be equally ready. 

It's even better to be more ready.

I slip out of bed and pad slowly, softly, quietly through the dark house. Turning on lights is counter-productive. 

I'm familiar with this battle ground. He is not. That's to my advantage. It may be my only one. Turning on lights negates that advantage.

One eye is closed to protect against possible sudden bright light. Abdominals are flexed to protect against a sudden blow.

I'm listening more than looking. 

I hear nothing. 

I see nothing.

I complete my round. Nothing.

Now, I turn the lights on. There's no sign of a break-in attempt. The house is secure. 

So, what the Hell woke me up? Was it just a nightmare?

No, that would be a different kind of sudden wake-up.

That's when it hit me! It was a different kind of nightmare! 

It was Time-Zones!

The Subconscious is a Strange Place

I have beta testers on every continent except Australia. I don't have anything against Oz. Nobody from there volunteered is all. 

As it now stands, my testers are in 11 different time zones.

Many web apps solve the time zone issue by just working on UTC. That's server-talk for Greenwich Mean Time (GMT). So, if I want to schedule something at 10:00 I have to tell it to schedule at 15:00. 

That simplifies coding by transferring complexity to the user. That sucks. That's a coder's solution, not a marketer's. 

I'm both.

My App is written in PHP, working with mySQL, and a liberal sprinkling of JavaScript, Ajax, and Curl functions all served up with HTML5. CSS provides "hair and makeup." 

PHP has a way of changing the time zone of record on the fly.

We implemented it. We tested it. It works fine.

Gary Sharpe (GMT) schedules a 10:00 tweet as 10:00. Gloria Ochoa (GMT -7) also schedules a 10:00 tweet as 10:00.

The same script handles both cases.

So, what was my effing subconscious bitching about?

It hit me as I was crawling back into bed.

Scheduling the friggin tweets is only half the issue. They need to be tweeted at the time they were scheduled to tweet. (duhh!)

The server that does the actual tweeting runs on Montreal time (GMT -5).

Crap! 

I hate it when my subconscious is right nearly as much as I hate it when my wife is right.

In retrospect, this issue is obvious and really should have been addressed. Mea culpa.

In my defence, I'm adjusting existing, well-proven scripts for public consumption. Time-zones were never an issue. I was the only user. 

This issue only bubbled to the surface because we are going live (server-hot) on Monday, July 18th, 2016.

I got me some codin' to do.

While looking at the time zones I found something else. 

PHP has over 200 time zone codes. I thought that was waaay too many. I took the most populous cities in each time zone as representatives.

That works. But it has its drawbacks.

Minnesotan, Aaron Skogen's time zone was "AMERICA-Mexico City." That's accurate, (GMT -6). 

That's also...well...just weird. 

I added "AMERICA-Chicago" (also GMT -6) to the list and changed Aaron's profile. I'll probably have to add more going forward. No biggie.

Fixing the Other Time Zone Issue is NOT so Easy.

All I really need to do is adjust the tweet time before writing it to the database. Easily said.

Not so easily done, but not insurmountable either.

Let's take Gary's case. If he schedules a tweet at 10:00, the system just needs to write it as 05:00. Easy-peasy, right? Not really. 

What if he schedules at 04:00? If I just back the hour by 5 that makes it -01:00. Huh? It should be the <scheduled date> minus 1 day at 23:00.

It's not a major issue. I'll fix it in less than an hour. Then, I'll need a few more hours to test it. Coding is a great example of how the Butterfly Effect can bite the coder on the ass.

I like my ass as it is, thank you. Testing it is!!

The other thing is that the dashboard lists scheduled tweets. That means I have to convert back to the user's time zone before listing them. Same function but run backwards, no big deal.

Yup, I've got me some codin' to do.

While I'm at it I'll also implement an extra level of security. Twitter user-names are public. Twitter Id numbers aren't as public, but still fairly easy to get. We use both.

We already protect against brute-force and injection attacks. 

We already protect passwords with heavy encryption. Even I can't see them.

I'm adding one more security layer.

I'll implement a checksum function to block session cookie hijacking attacks. The checksum will be changed every day. It will be checked on every applicable page load. 

That means users will need to re-login every day (not every page load). "Remember me" browser scripts probably won't work.

Sorry, guys, but better safe than sorry.

UPDATE on upcoming functions

Gary Sharpe wrote about using RSS feeds for automation and cross-platform posting. I'll be honest and say I never considered RSS as anything more than an archaic, vestigial remnant of the early web. 

Still, when the Digital Sherpa speaks, I listen. 

I'm glad I did. I think you will be too.

Once the live Twitter connection is running smoothly, I will add RSS integration to the Web App. The scripts are written but not tested yet.

  • You will be able to automatically schedule any number of tweets for any new addition to any RSS feed. That will handle the first day's promotion.
  • You will also be able to import from any RSS feed for further scheduling inside your App. (We really need to come up with a name for this beast. I'm open to suggestions.)

The implications are far-reaching. 

  • If you control multiple accounts, they can promote each other automatically. 
  • You can use your own RSS feed (or any other one for that matter) to import posts right into the App. Those posts can come from anywhere. It can come from beBee, LinkedIn, your blog... anywhere.
  • You can link to a friend's RSS feed for supportive retweets
  • You can link to a favorite "influencer's" RSS feed and populate a controlled retweet program.
  • You can link to your Company RSS feed.
  • Most major platforms, including Facebook Instant Articles, support RSS posting/updating. They don't support future scheduling. We'll take care of that.

Contact Gary Sharpe if you want him to create your RSS feeds for you. 


In this series, I chronicle the joys and pitfalls I face in my latest start-up. At least, I hope there will be some joys along the path.
The as yet unnamed startup is a public implementation of the Twitter/Cross-Platform Management and Scheduling system that I have used with great succes for myself and clients under writing contract. In some ways, this one will be even more powerful. If you like, you can join the beta testers here

f40fe967.png
""
Comments

Paul "Pablo" Croubalian

7 years ago #26

The ability to link multiple accounts so that you don't have to log out and back in every time is now in effect. The scheduling scripts will now be adjusted to allow easy switching between up to 50 linked accounts

Paul "Pablo" Croubalian

7 years ago #25

#30
Messaged you

Lisa Gallagher

7 years ago #24

#29
Questions already- my name: Do I use my real name or my twitter handle? Website: I have one but have not posted to it in ages, do I use that or can I use my beBee profile? I know you explained, but I'm still not quite sure what the callback URL is? Sorry for all the questions but thanks in advance Paul \

Paul "Pablo" Croubalian

7 years ago #23

#28
I saw that, welcome

Lisa Gallagher

7 years ago #22

#27
Thanks Paul \, heading over to it now!

Paul "Pablo" Croubalian

7 years ago #21

#26
Thanks, Lisa. In a comment on another post, you said you had trouble with my Google Sheet to build Click-to-Tweet links with images. The web app started simply as an easier, cleaner way to do that. You can try it at www.PaulTheGhost.com/Scheduler/JoinUs.php

Lisa Gallagher

7 years ago #20

#25
You rock & so does Gary Sharpe.

Paul "Pablo" Croubalian

7 years ago #19

#24
LOL, wait until the RSS modules kick in... Then you'll go nuts! It will take a day or so to get the kinks worked out on the posting scripts now that we're server-hot. Then I'll get on those... the will blow your mind I think.

Gloria (Glo) Ochoa

7 years ago #18

This app ROCKS! So many cool options! #Paul \

Paul "Pablo" Croubalian

7 years ago #17

#21
I can't really blame the news networks much. How much of a viewership would they get by saying, "Nothing crappy happened today. Everybody is blowing rainbows outta their asses!". As long as, "If it bleeds, it leads, " is the order of the day, they will continue. When nothing bad happens they spin something so-so into something horrible. They are very quickly losing credibility.

Paul "Pablo" Croubalian

7 years ago #16

#20
thank you, Erroll -EL- Warner

Lisa Gallagher

7 years ago #15

#18
I still stand by my philosophy that the 24/7 news cycle SHOWS in the US have added to increased violence in US Paul \. When people are hateful and they hear hate news spewed constantly, including our politics that are more about how bad our country is versus what values we have and need to build on, well.. the climate created is a very dangerous climate. Some will disagree with me but I really feel there is a correlation. Ok, back to tech talk!

Paul "Pablo" Croubalian

7 years ago #14

#14
#15 It isn't really. The incidents were over a 37 year period. The burglars were all in their late-teens. Just kids being asses. (that's why I don't ever advocate lethal force) We did have a series of home invasions abut 12 years back when some idiot American news team went on an on about how much cash and valuables home invaders were raking in.

Paul "Pablo" Croubalian

7 years ago #13

#12
Not the greatest idea up here, Brian. The inept home invaders were caught while one of them was getting 19 stitches in his bicep. I avoided the inner arm since there's an artery there. There was enough of a mess. I had to describe what happened to a judge who said, "Well done," and closed the case.

Paul "Pablo" Croubalian

7 years ago #12

#14
heheheh... actually at first it was going to be about increasing security in the web app. Posts often take on a life of their own.

Lisa Gallagher

7 years ago #11

#14
I had the same thought Dean Owen, no clue Canada (Montreal in particular) had to worry about home invasions like we do in the US. Your last sentence, priceless Dean... still laughing!

Dean Owen

7 years ago #10

#13
Yes, I had no idea Canada was that dangerous. I was all ready to start into a burglaries are almost unheard of in Asia comment and then the plot twisted into Twitter automation! It was like pouring a bucket of ice water on a horny gentleman!

Lisa Gallagher

7 years ago #9

My heart was pounding as I read this until I came to the techy part Paul \! That's where my husband comes in handy. As for your past experiences with burglars and a home invasion, holy shi*! I think your mind is possibly in overdrive and hyper-vigilant due to your past experiences and errr... brain is always in motion! What you do is admirable though, seriously.

Paul "Pablo" Croubalian

7 years ago #8

#10
come join our merry band of testers if you like, Donna-Luisa Eversley

Paul "Pablo" Croubalian

7 years ago #7

Due to popular demand, I changed the way Monthly Scheduled Tweets work (see, I borrowed a page from Javier C\u00e1mara Rica. I'm listening) Now you can schedule at a specific time on specific dates of a month, up to 2 years in advance. We now have 9 scheduling methods, with RSS tie-in to follow this week.

Paul "Pablo" Croubalian

7 years ago #6

attn: Beta-Testers, The fixes seem good to go and are stable. You can go ahead and schedule. Take it easy, though. I haven't run through all the permutations. I'll test more tomorrow, but go ahead and schedule stuff if you like.

Paul "Pablo" Croubalian

7 years ago #5

#6
Thanks, David. The extra security has been coded. The time zone fix has been roughly coded. I'm not happy with it. It needs to be leaner, meaner, and faster before I deploy it.

David B. Grinberg

7 years ago #4

Paul \ thanks so much for sharing such terrific technical advice about maximizing Twitter to achieve the best results. Great post, Paul!

Paul "Pablo" Croubalian

7 years ago #3

#3
not that I am aware, Dean (at least the current one)

Dean Owen

7 years ago #2

Is your wife ever wrong Paul-sensei?

Paul "Pablo" Croubalian

7 years ago #1

Gary Sharpe are mentioned in this article.

Articles from Paul "Pablo" Croubalian

View blog
5 years ago · 3 min. reading time

I sort of hijacked Nicole Chardenet's "Adventures · in Mid-Life Dating," · series. · You know what t ...

5 years ago · 4 min. reading time

I think my re-entry · into the dating world would make a good sitcom. Or maybe it would make a bette ...

5 years ago · 6 min. reading time

Many of you · are curious about what happened · between · Coco and I. I'm somewhat surprised, frankl ...

Related professionals

You may be interested in these jobs

  • 2440537 Ontario Inc.

    baker

    Found in: Talent CA 2 C2 - 3 days ago


    2440537 Ontario Inc. Mississauga, Canada

    Education: · Expérience: · Education · College/CEGEP · Work setting · Bake shop · In shop · Large volume bakery · Tasks · Prepare dough for pies, bread, rolls and sweet goods, batters for muffins, cookies and cakes and icings and frostings according to recipes or special custom ...

  • Béton Provincial

    superviseur de production

    Found in: Talent CA C2 - 1 day ago


    Béton Provincial Montreal, Canada

    DESCRIPTION DES FONCTIONS · Responsabilités du poste · Sous la supervision du Directeur de Production et d'Entretien Fixe, le titulaire du poste doit : · Gérer une enveloppe budgétaire annuelle de près d'un million de dollars, relative aux dépenses de production et d'entretien ...

  • Boston Pizza International Inc.

    Cook

    Found in: Talent CA C2 - 2 weeks ago


    Boston Pizza International Inc. Wasaga Beach, Canada Part time

    Reference # Location Wasaga Beach Date posted 02/04/2024 Address Wasaga Beach - 311 Main Street Wasaga Beach, Ontario L9Z 0B6 Canada Description: · Boston Pizza Cooks are the engine of the entire restaurant They are responsible for creating our delicious menu items perfectly eve ...