跳到主要内容

71 篇博文 含有标签「日记」

查看所有标签

gcloud run deploy CLOUD_RUN_SERVICE_NAME --image="us-central1-docker.pkg.dev/talent-marketplace-dev-558f/talent-marketplace/backend:d59cc53da67b" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f


gcloud run deploy espv2-service-talent-marketplace-dev-uc --image="us-central1-docker.pkg.dev/talent-marketplace-dev-558f/talent-marketplace/backend:d59cc53da67b" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f

gcloud run deploy espv2-service-talent-marketplace-dev-uc --image="gcr.io/cloudrun/hello" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f




To make this the default region, run `gcloud config set run/region us-central1`.

Deploying container to Cloud Run service [espv2-service-talent-marketplace-dev-uc] in project [talent-marketplace-dev-558f] region [us-central1]
Deploying... Done.
Creating Revision...
Routing traffic...
Setting IAM Policy...
Done.
Service [espv2-service-talent-marketplace-dev-uc] revision [espv2-service-talent-marketplace-dev-uc-00002-h4w] has been deployed and is serving 100 percent of traffic.
Service URL: https://espv2-service-talent-marketplace-dev-uc-1047666599239.us-central1.run.app
swagger: '2.0'
info:
title: Cloud Endpoints + Cloud Run
description: Sample API on Cloud Endpoints with a Cloud Run backend
version: 1.0.0
host: espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog
schemes:
- https
produces:
- application/json
x-google-backend:
address: https://talent-marketplace-backend-dev-973f0ea-1047666599239.us-central1.run.app
protocol: h2
paths:
/hello:
get:
summary: Greet a user
operationId: hello
responses:
'200':
description: A successful response
schema:
type: string

gcloud endpoints services deploy /Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/openapi-run.yaml --project=talent-marketplace-dev-558f

gcloud endpoints services deploy /Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/openapi-run.yaml --project=talent-marketplace-dev-558f
Waiting for async operation operations/services.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog-0 to complete...
Waiting for async operation operations/serviceConfigs.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:902716f1-5c5d-45ab-8d3d-46b76fbffe7d to complete...
Operation finished successfully. The following command can describe the Operation details:
gcloud endpoints operations describe operations/serviceConfigs.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:902716f1-5c5d-45ab-8d3d-46b76fbffe7d

Waiting for async operation operations/rollouts.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:6bb5029a-210f-4af1-a503-723095211b7f to complete...
Operation finished successfully. The following command can describe the Operation details:
gcloud endpoints operations describe operations/rollouts.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:6bb5029a-210f-4af1-a503-723095211b7f

Enabling service [espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog] on project [talent-marketplace-dev-558f]...
Operation "operations/acat.p2-1047666599239-b20087ea-4250-42f5-ab18-b898cd877dfc" finished successfully.


Service Configuration [2025-07-08r0] uploaded for service [espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog]

To manage your API, go to: https://console.cloud.google.com/endpoints/api/espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog/overview?project=talent-marketplace-dev-558f
(base) jiexu:~/ $

gcloud services enable servicemanagement.googleapis.com
gcloud services enable servicecontrol.googleapis.com
https://github.com/GoogleCloudPlatform/esp-v2/tree/master/docker/serverless/gcloud_build_image


chmod +x gcloud_build_image
/Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/gcloud_build_image.sh -s espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog -c 2025-07-08r3 -p talent-marketplace-dev-558f
curl --fail -o service.json -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://servicemanagement.googleapis.com/v1/services/espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog/configs/2025-07-08r0?view=FULL"
const buildEspv2Image = new local.Command("buildEspv2Image", {
create: pulumi.all([endpointsService.configId]).apply(configId => `
bash gcloud_build_image.sh -s my-service.endpoints.my-project.cloud.goog -c ${configId} -p my-project
`),
});

(base) jiexu:~/ $ gcloud projects get-iam-policy talent-marketplace-dev-558f \                                                                 [19:08:05]
--filter="bindings.members:jie.xu@thoughtworks.com" \
--flatten="bindings[].members" \
--format="table(bindings.role)"
ROLE
roles/owner
roles/servicemanagement.admin
roles/servicemanagement.serviceController

gcloud projects get-iam-policy talent-marketplace-dev-558f \                                                                 [19:08:05]
--filter="bindings.members:jie.xu@thoughtworks.com" \
--flatten="bindings[].members" \
--format="table(bindings.role)"
ROLE
roles/owner
roles/servicemanagement.admin
roles/servicemanagement.serviceController
(base) jiexu:~/ $ gcloud projects describe talent-marketplace-dev-558f --format="value(projectNumber)" [19:08:29]
1047666599239


gcloud run services add-iam-policy-binding talent-marketplace-backend-dev \
--member=serviceAccount:service-1047666599239@gcp-sa-endpoints.iam.gserviceaccount.com \
--role=roles/run.invoker \
--project=talent-marketplace-dev-558f \
--region=us-central1


gcloud run services add-iam-policy-binding talent-marketplace-backend-dev-973f0e \
--member=serviceAccount:service-1047666599239@gcp-sa-endpoints.iam.gserviceaccount.com \
--role=roles/run.invoker \
--project=talent-marketplace-dev-558f \
--region=us-central1


日记

AC1 Direct, Simple Commands

  • Help me postpone the start dates of all dev roles by one week. ✅

AC2, Indirect Commands

  • Help me copy all the staffing requests for the opportunity 'CPQ Campus Training' ✅

AC3, Thinking process

AC4, Unified Preview & User's Final Confirmation

AC5, Clear Communication & Error Handling

0011T00002Xqx7GQAR,HDFC Life Insurance,HDFC Life Virtual Office,006Hs00001FgdH3IAJ,116 0013800001IuybBAAR,PEXA,PEXA - EXPANDED DELIVERY AUG24-JUL25/SOW9 - AUS/IND,006Hs00001BNP5MIAX,104 0015000000Yh4DTAAZ,National Grid,GTIS Re-architecture - RFP,006Hs00001DEMhgIAH,54 0015000000KcUQNAA3,McKinsey and Company - US - NY,Periscope 2024-2026,006UZ000003EzwLYAS,48

AC6, AI should not be able to change the data that the user cannot change mannually

  • "help me delete all the Developer of this opportunity"

AC7, continue talk

AC8, Quick prompt

日记

例行事项

  • agent学习了吗
  • 剪辑学习了吗
  • 自媒体是否行动了

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 工作

    • 完善上线 API 调用: 1h
    • 看卡,开卡: 2h
    • [ ]
  • 活儿

    • 准备链条数据 1.5
  • 自媒体

    • 视频剪辑学习

    • python99.com

    • chengxuyuancd.com

    • gin1995.top

    • xd1997.com

    • 公众号

      • python99
      • 包哥软件
      • 包哥实战讲软件编程
    • 小红书

    • 抖音

    • B站

    • 快手

    • 百度视频

    • 微博

今日记录

时间事情备注

反思

日记

例行事项

  • agent学习了吗
  • 剪辑学习了吗
  • 自媒体是否行动了

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 工作

    • 完善上线 API 调用: 1h
    • DC: 30min
    • 看卡: 1h
    • api Gateway: 20min -> 1h
    • bug数据查找:1h
    • Linqiao bug: 1h
    • biao error: 1h
  • 活儿

    • 准备链条数据 1.5
  • 自媒体

    • 视频剪辑学习

    • python99.com

    • chengxuyuancd.com

    • gin1995.top

    • xd1997.com

    • 公众号

      • python99
      • 包哥软件
      • 包哥实战讲软件编程
    • 小红书

    • 抖音

    • B站

    • 快手

    • 百度视频

    • 微博

今日记录

时间事情备注

反思

日记

例行事项

  • 前端学习了吗?
  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 查找 opportunity 无法 sync 的原因
  • 继续 aifei 的卡
  • 完善上线 API 调用
  • 有时间的话问下 xinjun 有没有需要帮助的地方
  • 自媒体
    • chengxuyuancd.com
    • Gin1995.top
    • gin1995.top

今日记录

反思

日记

例行事项

  • 前端学习了吗?
  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 和 linqiao 交接好卡的内容
  • 完善上线 API 调用
  • siqi 的卡看是否需要合作
  • aifei 休假,继续他的卡做

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

1h+

  • 完成本地知识库的文档编写

0.5h+

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

1h+

  • 完成本地知识库的文档编写

0.5h+

  • 10 点前列出需要和客户对的问题清单
客户对的问题清单
  1. 升降台打开的信号是如何发送给系统?
  2. 看起来都在室外,工控机或者主机有网线,wifi 可以连接吗
  3. 如果可以联网,为什么 15 套不能用一台机器
  4. 这个栏杆或者链条看起来是固定的,好像没有什么场景会打开,为什么会有这种需求呢?链条打开的状态就是不连接,栏杆打开是什么状态?
  5. 需不需要一个监控屏幕,用来管理
  6. 夜晚情况下需不需要考虑?夜晚有没有灯光?
  7. 如果可以的话,可以录一个一镜到底视频(从外侧到这个下坡的位置)

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

工作上需要完成的事

今日记录

反思

SELECT
status,
COUNT(*) AS count,
COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS percentage
FROM
assessment.assessment
WHERE
assessment_profile_id = 685
GROUP BY
status;


select * from assessment.assessment left join assessment_profile.assessment_profile_version
on assessment.assessment_profile_id = assessment_profile.assessment_profile_version.id
where health_facet_id = 1

select
status,
COUNT(*) AS count,
COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS percentage

from assessment.assessment left join assessment_profile.assessment_profile
on assessment.assessment_profile_id = assessment_profile.assessment_profile.id
where health_facet_id = 1
and assessment.created_at > '2024-01-01' and assessment.created_at < '2025-01-01'

GROUP BY
assessment.assessment.status;


日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

工作上需要完成的事

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

工作上需要完成的事

  1. ✅ serving layer

  2. ✅ mart layer

  3. ✅ serving layer historical data

  4. cube building

  5. connect with sathi

  6. damo 数据查看 预计 1h

  7. pipeline 03-09 错误问题的找出 预计 30min

  8. 查看DX 怎么使用 getdx.com https://drive.google.com/drive/folders/10RMJcCBfJ5nkQUQ4eghlK8kkI0jb4sbP

  9. 尝试写 Intellij 的插件

  10. 翻译书籍准备工作

今日记录

反思

我非常不愿意去尝试做探索性的事

比如今日工作中需要去看 DX的优点和缺点

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

工作上需要完成的事

  1. ✅ serving layer

  2. ✅ mart layer

  3. ✅ serving layer historical data

  4. cube building

  5. connect with sathi

  6. damo 数据查看 预计 1h

  7. pipeline 03-09 错误问题的找出 预计 30min

  8. 查看DX 怎么使用 getdx.com https://drive.google.com/drive/folders/10RMJcCBfJ5nkQUQ4eghlK8kkI0jb4sbP

  9. 尝试写 Intellij 的插件

  10. 翻译书籍准备工作

今日记录

日记