Giter Site home page Giter Site logo

March 4 about blog HOT 1 OPEN

cubxxw avatar cubxxw commented on September 28, 2024
March 4

from blog.

Comments (1)

kubbot avatar kubbot commented on September 28, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


today

expired

  • Learn go-rod and complete the practice (February 24)
  • Complete the optimization part of config (February 24)
  • Continue to complete the pre-testing tasks of Kubernetes (February 24)
  • Continue to complete the OpenIM data flow diagram (February 24)
  • Continue to learn GPT diagrams (February 24)
  • Complete the cluster environment verification, testing, and inspection of the copy (February 23, 16:00 - February 25, 16:30)
    • Investigate how excellent open source projects achieve optimal cluster selection (IM project)
    • Configure a cluster environment
    • Set up a high-availability deployment strategy for OpenIM in a clustered environment
    • Including single-node deployment methods
    • Including how cluster services are deployed
  • Modification and configuration of PB (February 23, 16:00 - February 25, 16:30)
    • Research previous PB strategies, as well as corresponding code and documentation
    • Set PB repair strategy, document and code modifications, and issue issues
    • Completed repair of PB
  • Processing and optimization of hash in API (February 23, 18:00 - February 25, 18:30)
  • Complete SoraEase's basic documentation and CICD construction (February 25)
    • Completed CICD construction of Chinese prompt words
    • Completed CICD construction of English prompt words
    • Complete the structural improvement of the Chinese README
    • Complete the structured English README
  • Thoughts on ways to attract community members (February 25)
    Draining people from various communities:
  • developer
  • Sora users

Sora has not released the traffic diversion plan for each group of people:

  • developer
  • Sora users
  • Publicity (February 25)
    We need certain articles/videos to attract traffic to our project and increase the number of Stars
    See the promotion method in detail ~
    • Project introduction article (February 25)
      For our projects, give corresponding project introductions, function introductions, advantages, etc., and make publicity
    • Project promotional video (February 25)
      For our projects, give corresponding project introductions, function introductions, advantages, etc., and make publicity
    • Multi-platform promotion (February 25)
      Publish videos and columns on multiple different platforms such as Twitter, Douyin, Bilibili, etc. to promote our projects to interested people.
  • A website dedicated to making videos using sora (February 25)
    https://sora-videos.co/
  • awesome-sora repository (February 25)
    awesome-sora provides a collection of awesome awesome projects from sora
  • Lack of manpower and production capacity (February 25)
    We currently have a serious shortage of manpower and action in our projects, which needs to be resolved as soon as possible.
  • Making Sora Community (February 25)
    soraease.com is our community domain name
    • Developer Module (February 25)
    • Short video creator
  • Need to learn automated testing (February 24 - February 25)
    Need to write and learn automated tests, and then practice them in projects
  • Complete the design of openim's data flow diagram (February 23 - February 25)
  • Learn the hackers and painters of geek time and summarize the notes (February 23 - February 25)
  • Complete the sora-prompt construction of the SoraEase warehouse (February 25 - February 27)
    Reference https://github.com/f/awesome-chatgpt-prompts
    Publish a Chinese version of the warehouse (sora-prompt-zh) and an English version of the warehouse (sora-prompt)

Chinese prompt word warehouse reference: https://github.com/PlexPt/awesome-chatgpt-prompts-zh

UI development platform: https://app.appsmith.com/app/soraease-next-web/page1-65d9ae8ee22d663e2f9686b3

Just implement the basic components and prepare the UI in the early stage

Maybe you can use low code and ChatGpt and learn the front-end part while doing it.

  • Implement the basic capabilities of SoraEase’s Douyin and Kuaishou (February 25 - February 28)
    Video upload shortcut channel, open (API/SDK)

If bilibili does not have an API, you can refer to the implementation of some open source projects.

Or crawler implementation

  • Complete the graduation project and follow Gezida (February 25, 18:00 - February 29, 18:30)
  • OpenIM's Readme needs to be updated and can be updated together with the data flow diagram (February 26 - February 29)
  • Solve the problem of git cherry-pick (March 2)
    git cherry-pick

This error occurs when trying to apply commits to a protected branch via the git cherry-pick command and push to GitHub. GitHub's protected branch policy prevents direct pushes and requires all changes to be made through a Pull Request (PR). This is a common practice used to ensure the stability of a branch, especially in projects where multiple people are collaborating.

The specific error message is as follows:

remote: error: GH006: Protected branch update failed for refs/heads/release-v3.5.
remote: error: Changes must be made through a pull request.

This indicates that you tried to push directly to the release-v3.5 branch, but this branch is protected and GitHub does not allow this. The solution is usually to create a new branch, apply the changes to this new branch, and then merge the changes into the target branch by creating a new Pull Request. Here is a simplified process:

  1. Create and switch to a new branch:

    git checkout -b new-branch-name
  2. Apply your changes (for example, using git cherry-pick).

  3. Push the new branch to the remote warehouse:

    git push origin new-branch-name
  4. Create a new Pull Request on GitHub and merge your new branch into the release-v3.5 branch.

This approach follows GitHub's best practices and ensures that all changes are reviewed and passed through the CI/CD pipeline, increasing code quality and project stability.

Finally, the action log shows an automated script (possibly a GitHub Action) trying to comment PR #1833 when the action failed, a common feedback mechanism in automated CI/CD processes to notify participants of a problem.

  • Completed the Singapore online meeting exchange with Ms. Guan (March 2)
    • AI entrepreneurship related
  • Combined with her psychological counseling
  • Thinking about some future AI development directions

In order to better understand the latest situation of Ms. Kwan's entrepreneurship, skilled immigration requirements and employment environment in Singapore, I suggest setting up a draft meeting to focus on the following key areas:
image

Conference Topic: Exploring Entrepreneurship and Skilled Immigration Opportunities in Singapore

Agenda:

  1. Welcome Speech (5 minutes)

    • The host makes a brief opening to introduce the purpose of the meeting and participants.
  2. Ms. Guan’s entrepreneurial experience sharing (15 minutes)

    • Ms. Kwan shares her experience of starting a business in Singapore, including challenges, success stories and learning experiences.
  3. Singapore Skilled Migration Requirements Update (20 minutes)

    • An introduction to the latest skilled immigration policies, procedures and requirements by skilled immigration experts.
    • Discuss the possible impact of skilled immigration on entrepreneurs.
    • Advantages of locals
    • Various identities
  4. Current Situation of Singapore’s Job Market (20 minutes)

    • Job market analysts provide the latest trends, demand areas and challenges in the Singapore job market.
    • Analyze how to leverage existing market trends for personal and business growth.
    • What is the entrepreneurial atmosphere in Singapore?
  5. Open Discussion: Seizing Entrepreneurship and Employment Opportunities in Singapore (30 minutes)

    • Participants discussed how to combine the advantages of entrepreneurship and skilled immigration to find and create opportunities in Singapore.
    • Explore potential collaboration opportunities and resource sharing.
  6. Meeting summary and next action plan (10 minutes)

    • Summarize the main points of the meeting and the results of the discussion.
    • Plan next action steps, including possible follow-up meetings or working groups.

Meeting notes:

  • All participants are requested to join the meeting 10 minutes in advance to ensure that the technical equipment is correct.
  • Please keep your microphone muted during the meeting unless speaking.
  • After the meeting, minutes and an action plan will be provided.

Contact information:

  • [Organizer’s email]
  • [organizer’s phone number]
  • Implementing Sealos deployment of OpenIM (February 28, 16:00 - March 3, 16:30)

today

  • Complete a core module of graduation project code writing (March 4, 09:00 - 12:00)
  • Organize existing graduation project materials and codes (March 4, 09:00 - 12:00)
  • Start developing the core functions of the graduation project (March 4, 14:00 - 17:00)
  • Start writing the introduction of the paper (March 4, 19:00 - 21:00)
  • Thinking, DIDA automatically syncs to github issue (March 4)

Developer center, management background: https://developer.dida365.com/manage

Client ID

C2ZsxRj5zxR902RXyv

Client Secret

6N5KtC2Gvozudm9d+@J3(#gfV_5_8hGG
  • Complete and optimize OpenKF projects (March 4, 16:00 - March 7, 16:30)
    https://github.com/openimsdk/openkf
  • Complete the preliminary development of graduation project and writing of thesis draft (March 4 - March 6)

Habit

  • [Checked in] Morning Run (March 4)

completed

  • Read and learn the documentation of Prometheus (February 24)
    https://yunlzheng.gitbook.io/
  • Think about how recommendation systems work (February 24)
    Principle of recommendation system: https://zhuanlan.zhihu.com/p/451418761
  • Check and fix known code issues (March 4, 14:00 - 17:00)
  • Daily Record (March 4th)
    Today is the first day back. The two things I want to do today are:
  • Remove gosimple, errcheck
  • Complete error handling of make lint
  • Quickly complete some wrong packages and complete the merge of PR

The rhythm of work today is very good. All tasks are completed. I just want to prepare for tomorrow's work with all my strength ~

  • Completed OpenIM error code processing (March 4)
    Several steps are required to complete OpenIM error code processing:
  1. Solve the problem that Tim has no error return value
  2. Solve some errors in OpenIM
  3. The process of upgrading error handling to OpenIM

ChatGpt prompt word:
| Help me optimize OpenIM code style and error handling, and add English comments to appropriate key sections.
In terms of error handling, I hope that if the error is generated by the function itself, then it can be wrapped with Wrap, using:

errs.Wrap(err, "prometheus start err", httpServer.Addr)

Wrapped in a way and appropriately carry the context variable information
The Wrap function in the self-defined errs.Wrap is:

func Wrap(err error, msg ...string) error {
if err == nil {
return nil
}
if len(msg) == 0 {
return errors.WithStack(err)
}
return errors.Wrap(err, strings.Join(msg, ", "))
}

If the error is not caused by yourself, if it is caused by calling a third-party package, and the third-party package does not have good wrapping processing, then you must also wrap it when you call this package.
If the third-party package has Wrap processing, or you are calling the bottom function of your own warehouse, then use Wrap directly in the bottom function, and you can directly use return err to return.
For functions, if the function needs to do error handling, but there is no error handling and no error is returned, you need to optimize the function and supplement error handling and return. I'll give you the original code
Please reply with the core code and steps as much as possible.

From the tick list:
www.dida365.com

from blog.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.