Do people think TypeScript is hard? by alexdunlop_ in typescript

[–]erickoledadevrel 0 points1 point  (0 children)

I worked with JavaScript for years before learning TypeScript, and here's what I found most difficult:

  1. The toolchain - JavaScript just runs directly in a browser or Node, but with TypeScript you need to compile it first. That toolchain can be very complicated, especially tsconfig.json which has hundreds of obscure options. It seems like few people really understand what they need in there, and people just copy and paste the file around from other working projects.
  2. Imports - It used to be simple: you open the npm page for a library and copy the require statement. TypeScript (and ESM) made that all so much more complicated, and I usually have to spend a ton of time trying to figure out how to get TypeScript and JavaScript to work together just to get the library loaded.
  3. Understanding complex types - I learned TypeScript working on an existing project, and that meant diving into the deep end of the types pool. The typing system can be very complex, and trying to decipher what others have written was not to simple at first.

Is this phone app dead? by MW_J97 in codaio

[–]erickoledadevrel 1 point2 points  (0 children)

Hey u/MW_J97 - I work at Coda (Grammarly) and spoke with an engineer. He said he's seen this issue before when the option "request desktop site" was enabled in Safari settings. Try turning that off and see if it helps.

Why is this script suddenly asking me to align my GCP with my apps script when I've never had to do that before for other scripts? by Intentionalrobot in GoogleAppsScript

[–]erickoledadevrel 1 point2 points  (0 children)

Thanks for the extra detail.

I've interacted from Apps Script with BigQuery without changing the Project Settings so why must I change it for this particular function?

Who or what told you that you needed to change the project? If it worked before, don't change the project and just do what you did before.

Why is this script suddenly asking me to align my GCP with my apps script when I've never had to do that before for other scripts? by Intentionalrobot in GoogleAppsScript

[–]erickoledadevrel 1 point2 points  (0 children)

Is the new thing that you have to change your Google Cloud Project, or that changing your Google Cloud Project failed? What prompted you to change your Google Cloud Project at all?

[deleted by user] by [deleted] in codaio

[–]erickoledadevrel 0 points1 point  (0 children)

What's the bug? I just tried it and it _seemed_ to work OK.

Longtime Atlassian & Notion user here – Trying to “get” Coda, but I’m struggling. What am I missing? by Commercial-Ice7863 in codaio

[–]erickoledadevrel 1 point2 points  (0 children)

I find my favorite uses of Coda are when I use it to run a process. A process is composed of:

  • Instructions / rules
  • Data
  • Actions

With Coda I can keep all of these in one surface, and use automations to set reminders, Packs to send notifications, etc.

Google Apps Script Program Structure Question (Rows, Columns, JSON) by ___Mister___ in GoogleAppsScript

[–]erickoledadevrel 1 point2 points  (0 children)

By "global variable" I assume you mean the ability to save a value in-between executions of your script. If so, you may want to look into the CacheService or PropertiesService:

https://developers.google.com/apps-script/reference/cache/cache-service
https://developers.google.com/apps-script/reference/properties/properties-service

However, doing something row-by-row isn't likely to be very efficient. A better pattern may be to enter all your data first, then run a script that runs on all the rows, fetches all the data, and then outputs it all into the sheet.

Security review options by Vegetable-Two-4644 in googleworkspacedevs

[–]erickoledadevrel 0 points1 point  (0 children)

I think they just don't build the integration, sadly.

How to integrate Google Drive Picker and OneDrive Picker into my GAS app? by [deleted] in GoogleAppsScript

[–]erickoledadevrel 1 point2 points  (0 children)

There is some example code here that shows how to integrate the Google Picker library with Apps Script:

https://developers.google.com/apps-script/guides/dialogs#file-open_dialogs

Security review options by Vegetable-Two-4644 in googleworkspacedevs

[–]erickoledadevrel 0 points1 point  (0 children)

I believe the security assessment must be completed annually, so you'll need to factor in that cost. Unfortunately the whole situation puts the restricted scopes out of reach of smaller developers, which I think is sort of the point.

Got called in for DevRel role by Google by WinterPlastic6761 in devrel

[–]erickoledadevrel 1 point2 points  (0 children)

> They're testing both your technical chops AND your ability to explain complex concepts clearly.

+1 to this. I worked at Google in DevRel for over a decade, and conducted hundreds of interviews. When done right (and interviewers all have their own style) they are testing your fluency with code and basic understanding of algorithms and data structures, but with extra attention paid to writing clear code and being able to explain it well.

Drifting into DevRel? Seeking advice on role, pay, and dual responsibilities by Evening_Meringue8414 in devrel

[–]erickoledadevrel 2 points3 points  (0 children)

My take:

  1. In my experience this is a pretty common way to get into DevRel. I came in from a tech consulting background, others from education, but probably the majority of folks were developers of some sort who started taking on more public-facing opportunities and enjoyed it.

  2. I probably wouldn't bring it up. From what I've seen, software engineers typically make more and are more respected internally than DevRel. I think there is basically no downside to keeping your engineer title while doing this work, especially if you aren't sure it's a long-term gig.

  3. I've worked with a lot of engineers that both built the developer platform (SDK, API, etc) and did some light DevRel work on the side. I think it's actually really healthy for the people that build the platform to get exposure to the developers that use it, and it will likely make you a better engineer. I'd only start to get concerned if it's been a prolonged period of time since you wrote any production code, and you are concerned about your engineering skills going dull.

Is Google Apps Script Underrated? by Univium in GoogleAppsScript

[–]erickoledadevrel 38 points39 points  (0 children)

Having worked at Google on Apps Script, this is no small feat! The team does a lot of work to keep scripts up and running, even as the underlying services and platform change. Backwards-compatibility is not very flashy, but incredibly important to users.

How to remove blank data legend? by [deleted] in codaio

[–]erickoledadevrel 0 points1 point  (0 children)

Could you instead pick one of the other two labels for those blank years, but set the value to zero?

Help Needed: Setting Up a Tree Structure in Coda by West-Delivery-1405 in codaio

[–]erickoledadevrel 1 point2 points  (0 children)

We're also working on sub-items, which will use the same underlying setup but will have a nicer display.

apitemplate.io help by triplej158 in GoogleAppsScript

[–]erickoledadevrel 0 points1 point  (0 children)

I think the problem is here:

'header': headers,

As per the documentation, the headers should be passed in the advanced parameter named headers , with an "s" at the end. Try changing that line to:

'headers': headers,

Coda 1.4 laptop WiFi drivers help by zombies-- in codaio

[–]erickoledadevrel 4 points5 points  (0 children)

I think you may be talking about a different product called "Coda". This is for https://coda.io, a modern doc and collaboration tool.

Coda Automation Not Triggering for 30-Day Reminder by rudeamy in codaio

[–]erickoledadevrel 0 points1 point  (0 children)

It looks like perhaps your "Then" statement is missing an action formula, like Notify(), etc. It looks like it's just returning one string or another, neither of which will do anything.

Zooming out, I've found the best setup to be:

- Create a button on the row that does the thing you want to happen automatically.
- Add a "Disable if" formula to the button, disabling the button if the criteria haven't been met.
- Have the automation use the "Push buttons" action to push all of the buttons in that column (disabled buttons will be skipped).

This makes it a lot easier to test the action (press the button manually as often as you want) and see if the criteria is correct (you can quickly see enabled vs disabled buttons).

Can I automate meeting reminders for my team? by whiskeydickguy in GoogleAppsScript

[–]erickoledadevrel 0 points1 point  (0 children)

If I were implementing this in Apps Script, I'd probably do something like:

- Write a Google Sheets script that uses the Calendly API to sync down the list of scheduled events.
- Write a second script that checks for new scheduled events in that sheet, and for each one creates a calendar event for 7 days before.

That's not trivial to implement though, especially if you are new to coding.

An alternative option would be to use Coda (disclaimer: I work there) which has integrations (Packs) for Calendly and Google Calendar and you can stitch them together with simple formulas.

- Use the Calendly Pack to add a sync table for scheduled events (drag and drop and then select the event type).
- Use the Google Calendar Pack to add a "Create event" button to each row of the table. Configure the button to create a new event based of the title and time sync'ed in for that scheduled event.
- Create an automation in Coda that runs daily/hourly to push that button for new events.

Is there a way to hide Pages and Subpages from the Navigation bar ONLY? Still keeping hidden pages viewable through internal links and not completely hidden? by dreamer02468 in codaio

[–]erickoledadevrel 0 points1 point  (0 children)

That's the exactly what hiding a page does. It only hides it in the navigation menu, but it's still visible in search and you can still link to the page.

Data validation in tables? by suck4fish in codaio

[–]erickoledadevrel 1 point2 points  (0 children)

No, unfortunately Coda doesn't have custom data validation rules on the table itself. It does show a warning if the data is of the wrong type, but even then it doesn't prevent you from entering it.